Frame 1
function cargaSound() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicamenu");
}
function tocarMusicaMenu() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicamenu");
mysoundobj.start(0, 50);
}
function pararMusicaMenu() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicamenu");
mysoundobj.stop();
}
function cambiarCursor(movieclip) {
_root.attachMovie(movieclip, "customCursor", 5000);
_root.customCursor.startDrag(true, "-1400", "-2000", "1400", "1400");
}
stop();
_root.contenedor1.attachMovie("fotoMenu", "fom", 0);
_root.contenedor1.attachMovie("efectoPelicula", "efe", 1);
_root.contenedor1.attachMovie("menu", "me", 2);
this.onEnterFrame = function () {
b = Math.round(getBytesLoaded() / 1000) + " Kb";
c = (getBytesLoaded() / getBytesTotal()) * 100;
_root.porcentaje = Math.round(c) + "%";
_root.barraload._xscale = c;
if (getBytesLoaded() >= getBytesTotal()) {
this.onEnterFrame = null;
gotoAndPlay (5);
}
};
cargaSound();
_root.tocarMusicaMenu();
_root.saltarIntro = false;
cambiarCursor("alfa");
_root.arma = 10;
Mouse.hide();
Frame 5
play();
Frame 7
stop();
mc2 = 5;
maxR1 = 600;
maxR2 = 600;
maxR3 = 0;
hitMuereTank = 3;
AviTotal = 5;
_quality = "low";
_root.ext2.botes.gotoAndStop(1);
_root.comenzando = false;
_root.bajanamericanos = false;
meVen = false;
_root.tramo = "intro";
_root.lugar = "marAdentro";
_root.cogeLlave = false;
_root.varPress = 0;
_root.ext1._x = 2310;
_root.ext2._x = 1260;
_root.ext1._y = 85;
_root.ext2._y = 110;
_root.ext1._xscale = 131;
_root.ext1._yscale = 131;
_root.ext2._xscale = 136;
_root.ext2._yscale = 136;
_root.muertos = 1;
_root.tirosHechos = 1;
_root.vecesMuerto = 0;
_root.shotAmi = 0;
_root.bajas = 0;
_root.km = 0;
_root.muertosCasa2 = 0;
_root.muertosTierra = 0;
_root.hitTanque = 0;
_root.aviDerr = 0;
_root.cogeTraje = false;
_root.mision1Cumplida = false;
_root.exibiendoArma = true;
_root.cajonMedi1Abierto = false;
_root.cajonMedi2Abierto = false;
_root.cajonMedi3Abierto = false;
_root.cajonMedi4Abierto = false;
_root.conseguidaMuni1 = false;
_root.conseguidaMuni2 = false;
_root.conseguidaMuni3 = false;
_root.conseguidoTraje = false;
_root.terminaSalirAle1 = false;
_root.terminaSalirAle2 = false;
_root.terminaSalirAle3 = false;
_root.terminaSalirAle4 = false;
_root.conseguidoDocumento = false;
_root.alarmaRota = false;
_root.muertoGuardia = false;
_root.conseguidaMisionCasa1 = false;
_root.llaveEnPanel = false;
_root.heSubidoAlCamion = false;
_root.girarRuedas = false;
_root.pararRuedas = false;
_root.heBajadoDelCamion = false;
_root.tanqueVivo = true;
_root.muertoAleFinal = false;
_root.adios = false;
_root.dispara = false;
_root.suenaAlarma = false;
_root.suenaCarabina = false;
_root.terminaronCreditos = false;
_root.pausado = false;
_root.exibiendoTexto1 = false;
_root.recargar = false;
_root.llaveRecibida = false;
_root.llegadesembarco = false;
_root.casa2Visitada = false;
_root.exibiendoTexto = false;
_root.mostrar1 = (_root.mostrar2 = (_root.mostrar3 = (_root.mostrar4 = (_root.mostrar5 = true))));
_root.posicion = "inicio";
_root.accTanque = false;
_root.documentoEnPanel = false;
_root.tpoTexto = 0;
_root.tpoTexto2 = 0;
_root.despedida = false;
_root.recuperaVida = false;
_root.perdiendoVida = false;
function tocarOlas() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("olas");
mysoundobj.start(0, 100);
}
function pararOlas() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("olas");
mysoundobj.stop();
}
function tocarMusExito() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicaExito");
mysoundobj.start(0, 50);
}
function pararMusExito() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicaExito");
mysoundobj.stop();
}
function tocarMusFalla() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicaFallada");
mysoundobj.start(0, 5);
}
function pararMusFalla() {
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicaFallada");
mysoundobj.stop();
}
function tocarGaviotas() {
idgavi = setInterval(tocargavi, 5000 + random(10000));
}
function tocargavi() {
_root.sonidoGaviotas.start();
}
function pararGaviotas() {
clearInterval(idgavi);
}
function tocarLoopGritos() {
idg1 = setInterval(tocarg1, 5000 + random(10000));
idg2 = setInterval(tocarg2, 5000 + random(10000));
idg3 = setInterval(tocarg3, 5000 + random(10000));
}
function tocarg1() {
_root.sonidoAtaquen.start();
}
function tocarg2() {
_root.sonidoCubreme.start();
}
function tocarg3() {
_root.sonidoAbranFuego.start();
}
function pararLoopGritos() {
clearInterval(idg1);
clearInterval(idg2);
clearInterval(idg3);
}
function playBucle(sonido) {
soundobject = new Sound();
soundobject.attachSound(sonido);
soundobject.start(0, 10);
_root.suenaCarabina = true;
}
function pareSound(soncar) {
soundobject = new Sound();
soundobject.attachSound(soncar);
soundobject.stop("soniCarabina");
_root.suenaCarabina = false;
}
function cambiarArma(movieclip) {
_root.attachMovie(movieclip, "customCursor", 5000);
_root.customCursor.startDrag(true, "-1400", "95", "1400", "1400");
}
function destacarArmita() {
if (_root.arma == 1) {
_root.contenedor1.ta.armita1._alpha = 100;
_root.contenedor1.ta.armita2._alpha = 20;
_root.contenedor1.ta.armita0._alpha = 20;
_root.contenedor1.ta.armita3._alpha = 20;
} else if (_root.arma == 2) {
_root.contenedor1.ta.armita2._alpha = 100;
_root.contenedor1.ta.armita1._alpha = 20;
_root.contenedor1.ta.armita0._alpha = 20;
_root.contenedor1.ta.armita3._alpha = 20;
} else if (_root.arma == 3) {
_root.contenedor1.ta.armita3._alpha = 100;
_root.contenedor1.ta.armita0._alpha = 20;
_root.contenedor1.ta.armita1._alpha = 20;
_root.contenedor1.ta.armita2._alpha = 20;
} else if (_root.arma == 0) {
_root.contenedor1.ta.armita0._alpha = 100;
_root.contenedor1.ta.armita2._alpha = 20;
_root.contenedor1.ta.armita1._alpha = 20;
_root.contenedor1.ta.armita3._alpha = 20;
}
}
function cargarMunicion() {
_root.contenedor1.ta.documento._visible = false;
_root.contenedor1.ta.muertos = _root.muertos;
_root.contenedor1.ta.tirosHechos = 0;
_root.contenedor1.ta.muni1 = 20;
_root.contenedor1.ta.r1 = _root.maxR1;
_root.cargada1 = true;
_root.contenedor1.ta.muni2 = 20;
_root.contenedor1.ta.r2 = _root.maxR2;
_root.muni3 = _root.maxR3;
}
function cargarArmaActual() {
if (_root.armaActual == 1) {
_root.cambiarArma("sniper");
_root.arma = 1;
} else if (_root.armaActual == 2) {
_root.cambiarArma("carabina");
_root.arma = 2;
} else if (_root.armaActual == 3) {
_root.cambiarCursor("bazooka");
_root.arma = 3;
} else if (_root.armaActual == 4) {
_root.cambiarCursor("cursorDocumento");
_root.arma = 4;
} else if (_root.armaActual == 5) {
_root.cambiarCursor("cursorCasco");
_root.arma = 5;
} else if (_root.armaActual == 6) {
_root.cambiarCursor("cursorLlave");
_root.arma = 6;
} else if (_root.armaActual == 7) {
_root.cambiarCursor("cursorMedicina");
_root.arma = 7;
} else if (_root.armaActual == 8) {
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
} else if (_root.armaActual == 0) {
if ((_root.tramo == "casa1") || (_root.tramo == "casa1")) {
_root.cambiarArma("carabina");
_root.arma = 2;
} else {
_root.cambiarCursor("mano");
_root.arma = 0;
}
}
}
function chock() {
if (meVen) {
_root.contenedor1.ta.vida._xscale = _root.contenedor1.ta.vida._xscale - qv;
_root.shotAmi++;
id0 = setInterval(iniciarChock, 250);
}
}
function chockFatal() {
if (meVen) {
_root.contenedor1.ta.vida._xscale = _root.contenedor1.ta.vida._xscale - 25;
id0 = setInterval(iniciarChock, 250);
}
}
function iniciarChock() {
contenedor1.attachMovie("mancha", "co", 2);
contenedor1.attachMovie("sonidoShock", "so", 3);
clearInterval(id0);
if (_root.lugar == "exterior") {
id1 = setInterval(temblar, 20);
}
}
function temblar() {
veces++;
rt = random(8);
ext1._y = 85 + rt;
ext2._y = 110 + rt;
if (veces >= 10) {
clearInterval(id1);
veces = 0;
ext1._y = 85;
ext2._y = 110;
}
}
function recuperaVida() {
_root.dialogo2._y = 300;
_root.exibiendoTexto2 = false;
_root.tpoTexto2 = 0;
this.onEnterFrame = function () {
_root.contenedor1.ta.vida._xscale++;
if (_root.contenedor1.ta.vida._xscale >= 100) {
this.onEnterFrame = null;
_root.vidaFull = true;
}
};
}
function pierdeVida() {
this.onEnterFrame = function () {
_root.contenedor1.ta.vida._xscale = _root.contenedor1.ta.vida._xscale - 50;
if (_root.contenedor1.ta.vida._xscale <= 0) {
this.onEnterFrame = null;
_root.vidaFull = false;
}
};
}
function exibirDialogo(cadena2) {
if (exibiendoTexto1 == false) {
_root.texto2 = cadena2;
_root.dialogo2._y = 163;
_root.tpoTexto2 = 0;
_root.exibiendoTexto2 = true;
sacarDialogo();
}
}
function sacarDialogo() {
this.onEnterFrame = function () {
if (_root.exibiendoTexto2) {
_root.tpoTexto2++;
if (_root.tpoTexto2 > 200) {
_root.dialogo2._y = 300;
_root.tpoTexto2 = 0;
this.onEnterFrame = null;
}
}
};
}
function exibirTexto(xp, yp, cadena) {
_root.exibiendoTexto1 = true;
_root.tpoTexto = 0;
_root.dialogo.texto = cadena;
longitud = length(_root.dialogo.texto);
_root.dialogo._x = xp;
_root.dialogo._y = yp;
if (longitud <= 40) {
_root.dialogo.fondoTexto._width = 3.5 * longitud;
_root.dialogo.fondoTexto._height = 10;
} else {
_root.dialogo.fondoTexto._width = 150;
_root.dialogo.fondoTexto._height = 20;
}
}
function soldadosInactivos() {
ext2.clipAme1.gotoAndStop(1);
ext2.clipAme2.gotoAndStop(1);
ext2.aleBunker.gotoAndStop(1);
ext2.clipA.gotoAndStop(1);
ext2.clip1.gotoAndStop(1);
ext2.clip3.gotoAndStop(1);
ext2.clip4.gotoAndStop(1);
pararLoopGritos();
_root.contenedor1.ca1.casona.clip1Casa1.gotoAndStop(1);
_root.contenedor1.ca1.casona.clip2Casa1.gotoAndStop(1);
_root.contenedor1.ca1.casona.clip3Casa1.gotoAndStop(1);
_root.contenedor1.ca1.casona.clip4Casa1.gotoAndStop(1);
_root.contenedor1.ca2.casona2.clip1Casa2.gotoAndStop(1);
_root.contenedor1.ca2.casona2.clip2Casa2.gotoAndStop(1);
_root.contenedor1.ca2.casona2.clip3Casa2.gotoAndStop(1);
_root.contenedor1.ca2.casona2.clip4Casa2.gotoAndStop(1);
_root.ext1.clipGuardia.gotoAndStop(1);
_root.contenedor1.pra.plano2.clipParacaidas.gotoAndStop(1);
_root.contenedor1.pra.plano2.clipAleFinal.gotoAndStop(1);
}
function SoldadosEnGuerra() {
ext2.clipAme1.gotoAndStop(5);
ext2.aleBunker.gotoAndStop(5);
ext2.clipA.gotoAndStop(5);
ext2.clip1.gotoAndStop(5);
ext2.clip3.gotoAndStop(5);
ext2.clip4.gotoAndStop(5);
}
function activarSoldados() {
_root.tramo = _root.tramoActual;
if (_root.tramo == "bunker") {
SoldadosEnGuerra();
ext2.clipAme2.gotoAndPlay(5);
_root.lugar = "exterior";
loopGritos();
_root.controlTramo.checkBunker();
} else if (_root.tramo == "camino") {
SoldadosEnGuerra();
_root.lugar = "exterior";
loopGritos();
_root.controlTramo.checkCamino();
} else if (_root.tramo == "cementerio") {
SoldadosEnGuerra();
_root.lugar = "exterior";
loopGritos();
_root.controlTramo.checkCementerio();
} else if (_root.tramo == "rejas") {
SoldadosEnGuerra();
_root.lugar = "exterior";
loopGritos();
_root.controlTramo.checkRejas();
} else if (_root.tramo == "entradaCasa1") {
ext2.clipAme1.gotoAndStop(5);
_root.lugar = "exterior";
_root.controlTramo.checkEntradaCasa1();
} else if (_root.tramo == "casa1") {
_root.contenedor1.ca1.casona.clip1Casa1.gotoAndStop(5);
_root.contenedor1.ca1.casona.clip2Casa1.gotoAndStop(5);
_root.contenedor1.ca1.casona.clip3Casa1.gotoAndStop(5);
_root.contenedor1.ca1.casona.clip4Casa1.gotoAndStop(5);
_root.conseguidaMisionCasa1 = false;
_root.controlTramo.checkCasa1();
} else if (_root.tramo == "infiltracion") {
_root.lugar = "interior1";
_root.controlTramo.checkInfiltracion();
} else if (_root.tramo == "exibirArma") {
_root.lugar = "exterior";
_root.ext1.clipGuardia.gotoAndPlay(5);
_root.ext1._x = -230;
_root.ext2._x = -10;
_root.meVen = false;
_root.controlTramo.checkExibirArma();
} else if (_root.tramo == "guardia") {
_root.lugar = "exterior";
_root.ext1.clipGuardia.gotoAndPlay(5);
_root.ext1._x = -230;
_root.ext2._x = -10;
_root.meVen = false;
_root.exibiendoArma = false;
_root.controlTramo.checkGuardia();
} else if (_root.tramo == "casa2") {
_root.lugar = "casa2";
_root.contenedor1.ca2.casona2.clip1Casa2.gotoAndStop(5);
_root.contenedor1.ca2.casona2.clip2Casa2.gotoAndStop(5);
_root.contenedor1.ca2.casona2.clip3Casa2.gotoAndStop(5);
_root.contenedor1.ca2.casona2.clip4Casa2.gotoAndStop(5);
if (_root.alarmaRota) {
_root.terminaSalirAle1 = true;
_root.terminaSalirAle2 = true;
_root.terminaSalirAle3 = true;
_root.terminaSalirAle4 = true;
}
_root.conseguidaMisionCasa2 = false;
_root.controlTramo.checkCasa2();
} else if (_root.tramo == "afuera") {
_root.lugar = "exterior";
_root.ext1.clipGuardia.gotoAndPlay(5);
_root.controlTramo.checkAfuera();
} else if (_root.tramo == "balacera") {
_root.lugar = "exterior";
_root.ext2.clipame2.gotoAndStop(5);
_root.ext2.clipA.ataca.gotoAndStop(5);
_root.ext2.clip1.aleman.gotoAndStop(5);
_root.ext2.clip3.aleman.gotoAndStop(5);
_root.controlTramo.checkBalacera();
} else if (_root.tramo == "camion") {
_root.lugar = "exterior";
_root.ext2.clipAme2.gotoAndPlay(5);
_root.controlTramo.checkCamion();
} else if (_root.tramo == "moviendoCamion") {
_root.lugar = "movPelicula";
_root.controlTramo.checkMoviendoCamion();
} else if (_root.tramo == "bombardeo") {
_root.lugar = "exterior";
_root.controlTramo.checkBombardeo();
} else if (_root.tramo == "pradera") {
_root.lugar = "prado";
_root.controlTramo.checkPradera();
} else if (_root.tramo == "tanque") {
_root.lugar = "prado";
_root.controlTramo.checkTanque();
} else if (_root.tramo == "paracaida") {
_root.lugar = "prado";
_root.tramo = "paracaida";
_root.contenedor1.pra.plano2.clipParacaidas.gotoAndPlay(5);
_root.controlTramo.checkParacaidas();
} else if (_root.tramo == "final") {
_root.lugar = "prado";
_root.contenedor1.pra.plano2.clipParacaidas.gotoAndPlay(5);
_root.controlTramo.checkFinal();
} else if (_root.tramo == "alemanFinal") {
_root.lugar = "prado";
_root.controlTramo.checkAlemanFinal();
} else if (_root.tramo == "concluye") {
_root.lugar = "adios";
_root.controlTramo.checkConcluye();
}
}
function calcularEficiencia() {
m = (_root.muertos + _root.muertosCasa2) + (5 * _root.aviDerr);
e2 = Math.round(((_root.vecesMuerto * 5) + _root.shotAmi) + _root.bajas);
e1 = Math.round((m / _root.tirosHechos) * 100) + m;
_root.eficiencia = (e1 - e2) + 10;
_root.contenedor1.ta.eficiencia = _root.eficiencia;
}
mysoundobj = new Sound(this);
mysoundobj.attachSound("olas");
mysoundobj = new Sound(this);
mysoundobj.attachSound("musicaExito");
sonidoGaviotas = new Sound(this);
sonidoGaviotas.attachSound("gaviotas");
sonidoD1 = new Sound(this);
sonidoD1.attachSound("d1");
sonidoD2 = new Sound(this);
sonidoD2.attachSound("d2");
sonidoD3 = new Sound(this);
sonidoD3.attachSound("d3");
sonidoD4 = new Sound(this);
sonidoD4.attachSound("d4");
sonidoG2 = new Sound(this);
sonidoG2.attachSound("g2");
sonidoSumbido = new Sound(this);
sonidoSumbido.attachSound("sumbi");
sonidoGouGou = new Sound(this);
sonidoGouGou.attachSound("gouGou");
sonidoAtaquen = new Sound(this);
sonidoAtaquen.attachSound("Ataquen");
sonidoCubreme = new Sound(this);
sonidoCubreme.attachSound("cubreme");
sonidoAbranFuego = new Sound(this);
sonidoAbranFuego.attachSound("abranFuego");
sonidoVamos = new Sound(this);
sonidoVamos.attachSound("letGou");
sonidoAccionIni = new Sound(this);
sonidoAccionIni.attachSound("accionInicio");
_root.createEmptyMovieClip("polvo", 2);
polvo._x = 100;
polvo._y = 100;
polvo.onMouseDown = function () {
if ((_root.arma == 1) && (_root.cargada1)) {
this.attachMovie("polvora", "po", 0);
} else if ((_root.arma == 2) && (_root.cargada2)) {
this.attachMovie("polvora", "po", 0);
}
};
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
_root.salidaAtaca = 1;
_root.salidaBunker = 1;
_root.salidaClip1 = 1;
_root.salidaClip3 = 1;
_root.salidaClip4 = 1;
_root.salidaC1C2 = 1;
_root.salidaC2C2 = 1;
_root.salidaC3C2 = 1;
_root.salidaC3C2 = 1;
_root.salidaC4C2 = 1;
_root.salidaC4C2 = 1;
ext2.clipAme2.gotoAndStop(5);
ext2.clipAme1.gotoAndStop(5);
ext2.aleBunker.gotoAndPlay(5);
ext2.clipA.gotoAndPlay(5);
ext2.clip1.gotoAndPlay(5);
ext2.clip3.gotoAndPlay(5);
ext2.clip4.gotoAndPlay(5);
dialogo2._y = 500;
Instance of Symbol 1029 MovieClip "dialogo" in Frame 10
onClipEvent (enterFrame) {
if (_root.exibiendoTexto1) {
_root.tpoTexto++;
if (_root.tpoTexto < 100) {
this._alpha = 100;
}
if (_root.tpoTexto >= 100) {
this._alpha--;
}
if (_root.tpoTexto == 190) {
_y = 300;
_alpha = 100;
_root.exibiendoTexto1 = false;
_root.tpoTexto = 0;
}
}
}
Instance of Symbol 1032 MovieClip in Frame 10
onClipEvent (load) {
function panorama() {
tt = 0;
_root.tocarOlas();
_root.tocarGaviotas();
_root.contenedor1.attachMovie("traslapeNegro", "tran", 2);
this.onEnterFrame = function () {
tt++;
if (tt == 130) {
_root.contenedor1.attachMovie("instrucciones", "i", 0);
} else if (tt == 170) {
_root.ext2.avionIntro.gotoAndPlay(5);
} else if (tt > 200) {
this.onEnterFrame = null;
panoramaIzq();
}
};
}
function panoramaIzq() {
_root.ext2.clipame.gotoAndStop(10);
this.onEnterFrame = function () {
if (_root.xPosExt2 < 2250) {
_root.ext2._x = _root.ext2._x + 1;
_root.ext1._x = _root.ext1._x + 2;
} else {
this.onEnterFrame = null;
traslape();
}
};
}
function traslape() {
tt = 0;
_root.contenedor1.attachMovie("traslapeNegro", "tran", 2);
_root.pararOlas();
_root.pararGaviotas();
_root.sonidoAccionIni.start();
this.onEnterFrame = function () {
tt++;
if (tt > 130) {
this.onEnterFrame = null;
panoramaDer();
}
};
}
function panoramaDer() {
_root.contenedor1.attachMovie("tituloMision", "tm", 0);
_root.comenzando = true;
this.onEnterFrame = function () {
t++;
if (t == 10) {
_root.tocarMusExito();
}
if (_root.xPosExt2 > 1500) {
_root.ext2._x = _root.ext2._x - 1;
_root.ext1._x = _root.ext1._x - 2;
} else {
this.onEnterFrame = null;
iniciaGame();
}
};
}
function iniciaGame() {
_root.contenedor1.attachMovie("vacio", "va", 0);
_root.contenedor1.attachMovie("vacio", "va", 1);
_root.pararMusExito();
_root.tocarMusicaMenu();
_quality = "low";
_root.sonidoGouGou.start();
_root.sonidoAccionIni.start();
_root.tocarLoopGritos();
_root.contenedor1.attachMovie("tablero", "ta", 4);
_root.cambiarArma("sniper");
_root.arma = 1;
_root.destacarArmita();
_root.cargarMunicion();
}
_root.cambiarCursor("vacio");
_root.arma = 10;
if (_root.saltarIntro) {
iniciaGame();
} else {
panorama();
}
}
Instance of Symbol 1035 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
if (_root.lugar == "exterior") {
if (_root.xPosExt2 < 2250) {
_root.ext2._x = _root.ext2._x + 10;
_root.ext1._x = _root.ext1._x + 20;
}
} else if (_root.lugar == "interior1") {
if (_root.contenedor1.ca1.casona._x < 250) {
_root.contenedor1.ca1.casona._x = _root.contenedor1.ca1.casona._x + 10;
_root.contenedor1.ca1.cajones._x = _root.contenedor1.ca1.cajones._x + 14;
}
} else if (_root.lugar == "interior2") {
if (_root.contenedor1.ca2.casona2._x < 250) {
_root.contenedor1.ca2.casona2._x = _root.contenedor1.ca2.casona2._x + 10;
_root.contenedor1.ca2.paredes._x = _root.contenedor1.ca2.paredes._x + 14;
}
} else if (_root.lugar == "prado") {
if (_root.contenedor1.pra.plano2._x < 250) {
_root.contenedor1.pra.cielo._x = _root.contenedor1.pra.cielo._x + 5;
_root.contenedor1.pra.plano2._x = _root.contenedor1.pra.plano2._x + 10;
_root.contenedor1.pra.plano1._x = _root.contenedor1.pra.plano1._x + 14;
}
}
}
if (Key.isDown(68)) {
if (_root.lugar == "exterior") {
if (_root.xPosExt2 > -1930) {
_root.ext2._x = _root.ext2._x - 10;
_root.ext1._x = _root.ext1._x - 20;
}
} else if (_root.lugar == "interior1") {
if (_root.contenedor1.ca1.casona._x > -250) {
_root.contenedor1.ca1.casona._x = _root.contenedor1.ca1.casona._x - 10;
_root.contenedor1.ca1.cajones._x = _root.contenedor1.ca1.cajones._x - 14;
}
} else if (_root.lugar == "interior2") {
if (_root.contenedor1.ca2.casona2._x > -250) {
_root.contenedor1.ca2.casona2._x = _root.contenedor1.ca2.casona2._x - 10;
_root.contenedor1.ca2.paredes._x = _root.contenedor1.ca2.paredes._x - 14;
}
} else if (_root.lugar == "prado") {
if (_root.contenedor1.pra.plano2._x > -250) {
_root.contenedor1.pra.cielo._x = _root.contenedor1.pra.cielo._x - 5;
_root.contenedor1.pra.plano2._x = _root.contenedor1.pra.plano2._x - 10;
_root.contenedor1.pra.plano1._x = _root.contenedor1.pra.plano1._x - 14;
}
}
}
if (Key.isDown(87)) {
if (_root.lugar == "exterior") {
if (_root.yPosExt2 < 170) {
_root.ext2._y = _root.ext2._y + 6;
_root.ext1._y = _root.ext1._y + 5;
_root.clipext.cielo._y = _root.clipext.cielo._y + 7;
}
} else if (_root.lugar == "prado") {
if (_root.contenedor1.pra.plano2._y < 300) {
_root.contenedor1.pra.plano2._y = _root.contenedor1.pra.plano2._y + 6;
_root.contenedor1.pra.plano1._y = _root.contenedor1.pra.plano1._y + 4;
_root.contenedor1.pra.cielo._y = _root.contenedor1.pra.cielo._y + 1;
}
}
}
if (Key.isDown(83)) {
if (_root.lugar == "exterior") {
if (_root.yPosExt2 > 110) {
_root.ext2._y = _root.ext2._y - 6;
_root.ext1._y = _root.ext1._y - 5;
_root.clipext.cielo._y = _root.clipext.cielo._y - 7;
}
} else if (_root.lugar == "prado") {
if (_root.contenedor1.pra.plano2._y > 7) {
_root.contenedor1.pra.plano2._y = _root.contenedor1.pra.plano2._y - 6;
_root.contenedor1.pra.plano1._y = _root.contenedor1.pra.plano1._y - 4;
_root.contenedor1.pra.cielo._y = _root.contenedor1.pra.cielo._y - 1;
}
}
}
}
Instance of Symbol 1038 MovieClip "controlTramo" in Frame 10
onClipEvent (load) {
function checkDesembarco() {
this.onEnterFrame = function () {
if (!_root.bajanamericanos) {
_root.tramo = "Desembarco";
} else {
this.onEnterFrame = null;
checkBunker();
}
};
}
function checkBunker() {
_root.tramo = "bunker";
_root.lugar = "exterior";
_root.ext2.polvareda.gotoAndPlay(5);
this.onEnterFrame = function () {
if (_root.muertos < (e * 5)) {
if ((_root.Km > 1200) && (_root.Km < 1600)) {
_root.meVen = true;
} else {
_root.meVen = false;
}
} else {
this.onEnterFrame = null;
checkCamino();
}
};
}
function checkCamino() {
_root.tramo = "camino";
_root.lugar = "exterior";
tav = 0;
_root.ext2.clipAme2.gotoAndStop(1);
_root.ext2.polvareda.gotoAndStop(1);
this.onEnterFrame = function () {
if ((_root.muertos >= (e * 5)) && (_root.muertos < (e * 10))) {
if ((_root.Km > 870) && (_root.Km < 1150)) {
_root.meVen = true;
} else {
_root.meVen = false;
tav++;
if (tav == 250) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier!. You must advance, don't neglect your squad");
tav = 0;
}
}
} else {
this.onEnterFrame = null;
checkCementerio();
}
};
}
function checkCementerio() {
_root.tramo = "cementerio";
_root.lugar = "exterior";
tav = 0;
this.onEnterFrame = function () {
if ((_root.muertos >= (e * 10)) && (_root.muertos < (e * 14))) {
if ((_root.Km > 300) && (_root.Km < 900)) {
_root.meVen = true;
} else {
_root.meVen = false;
tav++;
if (tav == 250) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier!. You must advance, don't neglect your squad");
tav = 0;
}
}
} else {
this.onEnterFrame = null;
checkRejas();
}
};
}
function checkRejas() {
_root.tramo = "rejas";
_root.lugar = "exterior";
tav = 0;
this.onEnterFrame = function () {
if ((_root.muertos >= (e * 14)) && (_root.muertos < (e * 17))) {
if ((_root.Km > 100) && (_root.Km < 500)) {
_root.meVen = true;
} else {
_root.meVen = false;
tav++;
if (tav == 250) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier!. You must advance, don't neglect your squad");
tav = 0;
}
}
} else {
_root.sonidoAccionIni.start();
this.onEnterFrame = null;
checkEntradaCasa1();
}
};
}
function checkEntradaCasa1() {
_root.tramo = "entradaCasa1";
_root.lugar = "exterior";
tav = 0;
_root.pararLoopGritos();
_root.contenedor1.attachMovie("objetivoCompleto", "obj", 10);
this.onEnterFrame = function () {
if (_root.tramo == "entradaCasa1") {
if ((_root.Km > 0) && (_root.Km < 250)) {
_root.meVen = true;
tav++;
if (tav == 250) {
_root.sonidoVamos.start();
_root.exibirDialogo("To enter to the warehouse to get a German uniform and ammunitions");
} else if (tav >= 500) {
_root.sonidoVamos.start();
_root.exibirDialogo("to use hands (Key Space) to open doors and to get objects ");
tav = 0;
}
} else {
_root.meVen = false;
tav++;
if (tav >= 250) {
_root.exibirDialogo("You must go to the warehouse !. Come back soldier! ");
tav = 0;
}
}
} else if (_root.tramo == "casa1") {
this.onEnterFrame = null;
checkCasa1();
}
};
}
function checkCasa1() {
_root.tramo = "casa1";
_root.lugar = "interior1";
_root.sonidoG2.start();
this.onEnterFrame = function () {
if (_root.muertos >= (e * 21)) {
this.onEnterFrame = null;
checkInfiltracion();
}
};
}
function checkInfiltracion() {
_root.tramo = "infiltracion";
_root.lugar = "interior1";
toc = (tab = 0);
_root.sonidoAccionIni.start();
this.onEnterFrame = function () {
if (_root.tramo == "infiltracion") {
if ((_root.conseguidoTraje && (_root.conseguidaMuni1)) && (_root.conseguidaMuni2)) {
calcularEficiencia();
if (_root.eficiencia >= 50) {
toc++;
if (toc == 5) {
_root.sonidoAccionIni.start();
_root.contenedor1.attachMovie("successfulMission1", "sm1", 10);
} else if (toc == 300) {
_root.exibirDialogo("Congratulations!. You have carried out a good work.");
} else if (toc == 500) {
_root.contenedor1.attachMovie("traslapeNegro", "tran", 5);
} else if (toc == 630) {
_root.contenedor1.attachMovie("mision1Exitosa", "mi1e", 5);
_root.cambiarCursor("alfa");
_quality = "high";
_root.arma = 10;
_root.lugar = "eficiencia";
this.onEnterFrame = null;
}
} else {
toc++;
if (toc == 5) {
_root.sonidoAccionIni.start();
_root.contenedor1.attachMovie("objetivoCompleto", "obc", 10);
} else if (toc == 300) {
_root.exibirDialogo("Unfortunately!. the mission 1 is not successul, because your efficiency is lower ");
} else if (toc == 500) {
_root.contenedor1.attachMovie("traslapeNegro", "tran", 5);
} else if (toc == 630) {
_root.contenedor1.attachMovie("vacio", "VA", 4);
_root.contenedor1.attachMovie("misionFallada", "mif", 5);
_root.cambiarCursor("alfa");
_quality = "high";
_root.arma = 10;
_root.lugar = "eficiencia";
this.onEnterFrame = null;
}
}
} else {
tab++;
if (tab == 350) {
_root.sonidoVamos.start();
_root.exibirDialogo("to use hands to open box and get uniform ( Key Space )");
tab = 0;
}
}
}
};
}
function checkMision2() {
_root.sonidoAccionIni.start();
_root.tramo = "infiltracion";
_root.lugar = "interior1";
toc = 0;
_quality = "low";
_root.muertos = 1;
_root.muertosCasa2 = 0;
_root.tirosHechos = 1;
_root.vecesMuerto = 0;
_root.shotAmi = 0;
_root.bajas = 0;
_root.contenedor1.ta.muertosAmi = 0;
_root.contenedor1.ta.bajas = 0;
_root.contenedor1.ta.muertos = 0;
this.onEnterFrame = function () {
toc++;
if (toc >= 200) {
_root.exibirDialogo("leave from here. You must infiltrate the enemy territory.");
toc = 0;
}
if (_root.tramo == "exibirArma") {
_root.ext2.clipAme1.gotoAndPlay(5);
_root.ext1.clipGuardia.gotoAndPlay(5);
this.onEnterFrame = null;
checkExibirArma();
}
};
}
function checkExibirArma() {
_root.tramo = "exibirArma";
_root.lugar = "exterior";
_root.meVen = false;
tex = 0;
this.onEnterFrame = function () {
if (((_root.arma == 1) || (_root.arma == 2)) || (_root.arma == 3)) {
_root.exibiendoArma = true;
} else {
_root.exibiendoArma = false;
}
if (_root.km > -100) {
if (_root.exibiendoArma) {
_root.exibirDialogo("You are to show weappons!. You will be uncovered.");
} else {
tex++;
if (tex == 10) {
_root.exibirDialogo("you don't have to show the weapons; Otherwise you will be uncovered");
} else if (tex == 250) {
_root.exibirDialogo(" Remember you going uniformed of German .Infiltrate in the informations room. ");
} else if (tex >= 500) {
tex = 0;
}
}
} else {
this.onEnterFrame = null;
checkGuardia();
}
};
}
function checkGuardia() {
_root.tramo = "guardia";
_root.lugar = "exterior";
tin = 0;
this.onEnterFrame = function () {
if (((_root.arma == 1) || (_root.arma == 2)) || (_root.arma == 3)) {
_root.exibiendoArma = true;
} else {
_root.exibiendoArma = false;
}
if (_root.km < -100) {
if (_root.tramo == "guardia") {
if ((_root.km < -150) && (_root.km > -500)) {
_root.meVen = true;
} else {
_root.meVen = false;
}
if (_root.exibiendoArma) {
_root.exibirDialogo("You are to show weappons!. You will be uncovered.");
} else {
tin++;
if (tin == 5) {
_root.exibirDialogo("Infiltrate in the informations room.");
} else if (tin >= 350) {
tin = 0;
}
}
} else if (_root.tramo == "casa2") {
this.onEnterFrame = null;
checkCasa2();
}
} else {
this.onEnterFrame = null;
checkExibirArma();
}
};
}
function checkCasa2() {
_root.tramo = "casa2";
_root.lugar = "interior2";
tdoc = (tmc2 = (tmu3 = (tc2 = 0)));
mostrarDescubierto = false;
this.onEnterFrame = function () {
if (_root.tramo == "casa2") {
if (_root.conseguidoDocumento & (!mostrarDescubierto)) {
_root.contenedor1.attachMovie("hasSidoDescubierto", "des", 10);
mostrarDescubierto = true;
}
if (!_root.conseguidoDocumento) {
tdoc++;
if (tdoc == 300) {
_root.sonidoVamos.start();
_root.exibirDialogo("search the briefcase. Let's go!");
tdoc = 0;
}
} else if ((!_root.alarmaRota) && (_root.muertosCasa2 > _root.mc2)) {
tmc2++;
if (tmc2 == 5) {
_root.exibirDialogo("Destroy the alarm soldier !");
_root.sonidoVamos.start();
} else if (tmc2 == 300) {
_root.exibirDialogo("you will achieve to stop the entrance of enemies.");
} else if (tmc2 >= 600) {
tmc2 = 0;
}
} else if (((_root.terminaSalirAle1 && (_root.terminaSalirAle2)) && (_root.terminaSalirAle3)) && (_root.terminaSalirAle4)) {
if (!_root.conseguidaMuni3) {
tmu3++;
if (tmu3 == 300) {
_root.sonidoVamos.start();
_root.exibirDialogo("search ammunitions . Let's go!");
tmu3 = 0;
}
} else {
tc2++;
if (tc2 == 50) {
_root.contenedor1.attachMovie("objetivoCompleto", "ob2", 10);
} else if (tc2 == 400) {
_root.exibirDialogo("leave from here and kill all the enemies. ");
} else if (tc2 >= 650) {
tc2 = 350;
}
}
}
} else if (_root.tramo == "afuera") {
this.onEnterFrame = null;
_root.ext1.clipGuardia.gotoAndPlay(5);
_root.cambiarArma("sniper");
_root.arma = 1;
_root.sonidoG2.start();
checkAfuera();
}
};
}
function checkAfuera() {
_root.tramo = "afuera";
_root.lugar = "exterior";
this.onEnterFrame = function () {
if (_root.muertoGuardia) {
this.onEnterFrame = null;
checkBalacera();
}
};
}
function checkBalacera() {
_root.tramo = "balacera";
_root.lugar = "exterior";
tav = 0;
_root.ext2.clipAme2.gotoAndPlay(5);
_root.ext2.clipA.gotoAndPlay(5);
_root.ext2.clip1.gotoAndPlay(5);
_root.ext2.clip3.gotoAndPlay(5);
_root.ext2.clip4.gotoAndPlay(5);
this.onEnterFrame = function () {
if (_root.muertos < (e * 5)) {
if ((_root.Km > -140) && (_root.Km < 140)) {
_root.meVen = true;
} else {
_root.meVen = false;
tav++;
if (tav == 250) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier come back !.Don't neglect your squad");
tav = 0;
}
}
} else {
this.onEnterFrame = null;
checkEvaluarMision2();
}
};
}
function checkEvaluarMision2() {
_root.tramo = "camion";
_root.lugar = "exterior";
toc = 0;
calcularEficiencia();
this.onEnterFrame = function () {
if (_root.eficiencia >= 50) {
toc++;
if (toc == 5) {
_root.sonidoAccionIni.start();
_root.contenedor1.attachMovie("successfulMission2", "sm2", 10);
} else if (toc == 300) {
_root.exibirDialogo("Congratulations!. You have carried out a good work.");
} else if (toc == 500) {
_root.contenedor1.attachMovie("traslapeNegro", "tran", 5);
} else if (toc == 630) {
_root.contenedor1.attachMovie("mision2Exitosa", "mi2e", 5);
_root.cambiarCursor("alfa");
_quality = "high";
_root.arma = 10;
_root.lugar = "eficiencia";
this.onEnterFrame = null;
}
} else {
toc++;
if (toc == 5) {
_root.sonidoAccionIni.start();
_root.contenedor1.attachMovie("objetivoCompleto", "obc", 10);
} else if (toc == 300) {
_root.exibirDialogo("Unfortunately!. the mission 2 is not successul, because your efficiency is lower ");
} else if (toc == 500) {
_root.contenedor1.attachMovie("traslapeNegro", "tran", 5);
} else if (toc == 630) {
_root.contenedor1.attachMovie("vacio", "mi1f", 4);
_root.contenedor1.attachMovie("misionFallada", "mif", 5);
_root.cambiarCursor("alfa");
_quality = "high";
_root.arma = 10;
_root.lugar = "eficiencia";
this.onEnterFrame = null;
}
}
};
}
function checkMision3() {
_root.sonidoAccionIni.start();
_root.tramo = "balacera";
_root.lugar = "exterior";
toc = 0;
_quality = "low";
_root.muertos = 1;
_root.muertosCasa2 = 0;
_root.tirosHechos = 1;
_root.vecesMuerto = 0;
_root.shotAmi = 0;
_root.bajas = 0;
_root.contenedor1.ta.muertosAmi = 0;
_root.contenedor1.ta.bajas = 0;
_root.contenedor1.ta.muertos = 0;
checkCamion();
}
function checkCamion() {
_root.tramo = "camion";
_root.lugar = "exterior";
tsb = (tsc = (tsb = (tav = 0)));
_root.ext2.clipCamion.gotoAndStop(2);
_root.pararLoopGritos();
this.onEnterFrame = function () {
if ((_root.Km > -140) && (_root.Km < 140)) {
_root.meVen = true;
if (!_root.heSubidoAlCamion) {
tsb++;
if (tsb == 250) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier , to get a truck and it drives to Saint-L\u00F3. (use hands)");
tsb = 0;
}
} else if (_root.heSubidoAlCamion) {
tsc++;
if (tsc == 100) {
_root.ext2.clipAme2.gotoAndStop(1);
_root.cambiarArma("vacio");
_root.arma = 10;
} else if (tsc == 125) {
this.onEnterFrame = null;
checkMoviendoCamion();
}
}
} else {
_root.meVen = false;
tav++;
if (tav == 250) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier!. come back , don't neglect your squad");
tav = 0;
}
}
};
}
function checkMoviendoCamion() {
_root.tramo = "moviendoCamion";
_root.lugar = "movPelicula";
tmc = 0;
_root.pararMusicaMenu();
_root.tocarMusExito();
this.onEnterFrame = function () {
tmc++;
if (tmc > 50) {
_root.ext2.clipCamion._x = _root.ext2.clipCamion._x + 1.5;
_root.girarRuedas = true;
}
if ((tmc > 150) && (tmc < 300)) {
_root.ext2._x = _root.ext2._x - 5;
_root.ext1._x = _root.ext1._x - 10;
} else if ((tmc > 500) && (tmc < 650)) {
_root.ext2._x = _root.ext2._x - 5;
_root.ext1._x = _root.ext1._x - 10;
} else if (tmc > 850) {
_root.ext2._x = _root.ext2._x - 5;
_root.ext1._x = _root.ext1._x - 10;
}
if (_root.km < -1840) {
this.onEnterFrame = null;
_root.pararRuedas = true;
_root.ext2.expancion.play();
checkBombardeo();
}
};
}
function checkBombardeo() {
_root.tramo = "bombardeo";
_root.lugar = "movPelicula";
tbc = (tbs = 0);
_root.cambiarCursor("mano");
_root.pararMusExito();
this.onEnterFrame = function () {
if (!_root.heBajadoDelCamion) {
tbc++;
if (tbc == 1) {
_root.sonidoAccionIni.start();
} else if (tbc == 250) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier, they are Assault us, get off the truck and face the enemy.(use hans)");
tbc = 0;
}
} else if (_root.heBajadoDelCamion) {
tbs++;
if (tbs == 2) {
_root.tocarMusicaMenu();
_root.contenedor1.attachMovie("traslapeNegro", "tran", 5);
} else if (tbs == 130) {
_root.ext2.clipCamion.gotoAndStop(1);
_root.cambiarArma("bazooka");
_root.arma = 3;
this.onEnterFrame = null;
_root.contenedor1.attachMovie("pradoFinal", "pra", 0);
_root.gotoAndStop(15);
_root.ext2.expancion.gotoAndStop(1);
checkPradera();
}
}
};
}
function checkPradera() {
_root.tramo = "pradera";
_root.lugar = "prado";
tmb = 0;
_root.tocarLoopGritos();
this.onEnterFrame = function () {
tmb++;
if (tmb == 100) {
_root.contenedor1.pra.plano1.clipAmePrado.gotoAndPlay(5);
}
if (_root.contenedor1.ta.muni3 <= 0) {
if (tmb == 300) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Soldier, go in search of warheads to use the bazooka.(use hands).");
tmb = 105;
}
} else {
this.onEnterFrame = null;
checkTanque();
}
};
}
function checkTanque() {
_root.tramo == "tanque";
_root.lugar = "prado";
this.onEnterFrame = function () {
if (_root.tanqueVivo) {
ttv++;
if (ttv == 5) {
_root.chock();
} else if (ttv == 200) {
_root.sonidoGouGou.start();
_root.exibirDialogo("Destroy the tank soldier ! ");
ttv = 0;
}
} else {
this.onEnterFrame = null;
checkParacaidas();
}
};
}
function checkParacaidas() {
_root.tramo = "paracaida";
_root.lugar = "prado";
tpa = (tav = 0);
_root.qv = 2;
_root.sonidoAccionIni.start();
this.onEnterFrame = function () {
tpa++;
if (tpa == 150) {
_root.contenedor1.pra.plano2.clipParacaidas.gotoAndPlay(5);
_root.contenedor1.pra.plano2.aviones.gotoAndPlay(5);
} else if (tpa == 190) {
_root.sonidoAccionIni.start();
} else if (tpa == 200) {
_root.chock();
} else if (tpa == 300) {
tpa = 195;
}
if ((_root.contenedor1.ta.muni3 <= 0) && (_root.aviDerr < _root.AviTotal)) {
_root.sonidoGouGou.start();
tmu++;
if (tmu == 400) {
_root.exibirDialogo("Soldier, go in search of warheads to use the bazooka.(use hands).");
tmu = 0;
}
}
if (_root.aviDerr == 0) {
tav++;
if (tav == 1500) {
_root.exibirDialogo("destroy the planes!. Make sure that don't descend more parachutes.");
tav = 1200;
}
} else if (_root.aviDerr >= _root.AviTotal) {
this.onEnterFrame = null;
checkFinal();
}
};
}
function checkFinal() {
_root.tramo = "final";
_root.lugar = "prado";
_root.contenedor1.pra.plano2.clipParacaidas.gotoAndPlay(15);
tpa = 0;
this.onEnterFrame = function () {
tpa++;
if (tpa == 150) {
_root.sonidoAccionIni.start();
} else if (tpa == 200) {
_root.chock();
} else if (tpa == 400) {
tpa = 195;
}
if (_root.muertosTierra >= 8) {
this.onEnterFrame = null;
checkAlemanFinal();
}
};
}
function checkAlemanFinal() {
_root.tramo = "final";
_root.lugar = "prado";
tc = (tb = 0);
this.onEnterFrame = function () {
tc++;
if (tc == 50) {
_root.sonidoAccionIni.start();
} else if (tc == 150) {
_root.contenedor1.pra.plano2.clipAleFinal.gotoAndPlay(5);
} else if (tc == 200) {
_root.chock();
} else if (tc == 300) {
tc = 195;
}
if (_root.muertoAleFinal) {
_root.pararMusicaMenu();
tc = 350;
_root.contenedor1.ta.muni1 = 0;
_root.contenedor1.ta.muni2 = 0;
tb++;
if (tb >= 100) {
this.onEnterFrame = null;
checkConcluye();
}
}
};
}
function checkConcluye() {
_root.tramo = "concluye";
_root.lugar = "s/n";
tf = 0;
_root.lugar = "adios";
_root.pararLoopGritos();
_root.cambiarArma("vacio");
_root.arma = 4;
_root.contenedor1.attachMovie("vacio", "tra", 4);
_root.contenedor1.pra.plano2._y = 5.1;
_root.contenedor1.pra.plano1._y = 48.7;
_root.tocarMusExito();
this.onEnterFrame = function () {
_root.mostrar = tf;
tf++;
if (_root.contenedor1.pra.plano2._x < 0) {
_root.contenedor1.pra.cielo._x = _root.contenedor1.pra.cielo._x + 0.5;
_root.contenedor1.pra.plano2._x = _root.contenedor1.pra.plano2._x + 1;
_root.contenedor1.pra.plano1._x = _root.contenedor1.pra.plano1._x + 1.5;
} else if (_root.contenedor1.pra.plano2._x > 0) {
_root.contenedor1.pra.cielo._x = _root.contenedor1.pra.cielo._x - 0.5;
_root.contenedor1.pra.plano2._x = _root.contenedor1.pra.plano2._x - 1;
_root.contenedor1.pra.plano1._x = _root.contenedor1.pra.plano1._x - 1.5;
}
if (tf > 300) {
this.onEnterFrame = null;
checkEvaluarMision3();
}
};
}
function checkEvaluarMision3() {
_root.tramo = "concluye";
_root.lugar = "s/n";
tf = 0;
calcularEficiencia();
this.onEnterFrame = function () {
_root.mostrar = tf;
_root.mostrar2 = "pase";
if (_root.eficiencia >= 50) {
tf++;
if (tf == 5) {
_root.sonidoAccionIni.start();
_root.contenedor1.attachMovie("successfulMission3", "sm3", 10);
} else if (tf == 300) {
_root.exibirDialogo("Congratulations!. You have carried out a good work.");
_root.contenedor1.attachMovie("traslapeNegro", "tran", 4);
} else if (tf == 420) {
_root.contenedor1.attachMovie("misionExitosaTotal", "mie", 2);
_root.contenedor1.attachMovie("efectoPelicula", "tran", 5);
_root.adios = true;
} else if (tf == 500) {
_root.contenedor1.pra.plano1.camion.gotoAndPlay(2);
} else if (tf == 1200) {
_quality = "high";
_root.cambiarCursor("alfa");
_root.arma = 10;
_root.lugar = "eficiencia";
_root.contenedor1.attachMovie("misionFinalExitosa", "tran", 4);
this.onEnterFrame = null;
checkCreditos();
}
} else {
tf++;
if (tf == 5) {
_root.sonidoAccionIni.start();
_root.contenedor1.attachMovie("objetivoCompleto", "obc", 10);
} else if (tf == 300) {
_root.exibirDialogo("Unfortunately!. the mission 2 is not successul, because your efficiency is lower ");
} else if (tf == 500) {
_root.contenedor1.attachMovie("traslapeNegro", "tran", 5);
} else if (tf == 630) {
_root.contenedor1.attachMovie("vacio", "mi1f", 4);
_root.contenedor1.attachMovie("misionFallada", "mif", 5);
_root.cambiarCursor("alfa");
_quality = "high";
_root.arma = 10;
_root.lugar = "eficiencia";
this.onEnterFrame = null;
}
}
};
}
function checkCreditos() {
this.onEnterFrame = function () {
if (_root.terminaronCreditos) {
_root.cambiarCursor("alfa");
_root.contenedor1.attachMovie("botonesFinales", "boto", 4);
this.onEnterFrame = null;
}
};
}
function nada() {
_root.tramo = "ninguno";
this.onEnterFrame = null;
}
_root.t7 = true;
tav = 0;
e = _root.e;
checkDesembarco();
}
Instance of Symbol 1041 MovieClip in Frame 10
onClipEvent (load) {
Pre = 0;
}
on (keyPress "p") {
if (((_root.tramo != "moviendoCamion") && (_root.tramo != "concluye")) && (_root.tramo != "Desembarco")) {
Pre++;
if (Pre == 1) {
_root.contenedor1.attachMovie("mostrarPausa", "pa", 6);
_root.lugar = "pausa";
_root.pararMusicaMenu();
_root.tocarOlas();
_root.tocarGaviotas();
_root.tramoActual = _root.tramo;
_root.armaActual = _root.arma;
_root.lugarActual = _root.lugar;
_quality = "high";
_root.soldadosInactivos();
_root.cambiarCursor("vacio");
_root.arma = 4;
_root.controlTramo.nada();
} else {
_root.tramo = _root.tramoActual;
_root.lugar = _root.lugarActual;
_root.cargarArmaActual();
_root.activarSoldados();
_root.pararOlas();
_root.pararGaviotas();
_root.tocarMusicaMenu();
_root.sonidoAccionIni.start();
_quality = "low";
_root.contenedor1.attachMovie("vacio", "pa", 6);
Pre = 0;
}
}
}
on (keyPress "P") {
if (((_root.tramo != "moviendoCamion") && (_root.tramo != "concluye")) && (_root.tramo != "Desembarco")) {
Pre++;
if (Pre == 1) {
_root.contenedor1.attachMovie("mostrarPausa", "pa", 6);
_root.lugar = "pausa";
_root.pararMusicaMenu();
_root.tocarOlas();
_root.tocarGaviotas();
_root.tramoActual = _root.tramo;
_root.armaActual = _root.arma;
_root.lugarActual = _root.lugar;
_quality = "high";
_root.soldadosInactivos();
_root.cambiarCursor("vacio");
_root.arma = 4;
_root.controlTramo.nada();
} else {
_root.tramo = _root.tramoActual;
_root.lugar = _root.lugarActual;
_root.cargarArmaActual();
_root.activarSoldados();
_root.pararOlas();
_root.pararGaviotas();
_root.tocarMusicaMenu();
_root.sonidoAccionIni.start();
_quality = "low";
_root.contenedor1.attachMovie("vacio", "pa", 6);
Pre = 0;
}
}
}
Instance of Symbol 1047 MovieClip in Frame 10
onClipEvent (enterFrame) {
_root.calcularEficiencia();
_root.Km = (_root.xPosExt2 = _root.ext2._x);
_root.xPosExt1 = _root.ext1._x;
_root.yPosExt1 = _root.ext1._y;
_root.yPosExt2 = _root.ext2._y;
}
Instance of Symbol 1051 MovieClip in Frame 10
/* no clip actions */
Frame 15
stop();
Symbol 25 MovieClip Frame 12
play();
Symbol 25 MovieClip Frame 61
gotoAndPlay (12);
Symbol 25 MovieClip Frame 72
gotoAndPlay (12);
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
play();
Symbol 26 MovieClip Frame 3
stop();
_root.cambiarCursor("bazookadispara");
Instance of Symbol 25 MovieClip in Symbol 26 MovieClip Frame 3
/* no clip actions */
Symbol 26 MovieClip Frame 4
play();
Symbol 26 MovieClip Frame 5
stop();
Instance of Symbol 25 MovieClip in Symbol 26 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay (70);
}
Symbol 30 MovieClip [bazooka] Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 30 MovieClip [bazooka] Frame 1
onClipEvent (mouseDown) {
if (_root.contenedor1.ta.muni3 > 0) {
gotoAndPlay (2);
_root.contenedor1.ta.muni3--;
} else {
gotoAndPlay (4);
_parent.hitarea._x = 1500;
}
_root.tiroshechos++;
}
Symbol 33 MovieClip Frame 1
stop();
t = 0;
onEnterFrame = function () {
t++;
if (t == 4) {
duplicateMovieClip ("humo", "h0", 0);
} else if (t == 5) {
duplicateMovieClip ("humo", "h1", 1);
} else if (t == 7) {
duplicateMovieClip ("humo", "h2", 2);
this.onEnterFrame = null;
}
};
Instance of Symbol 32 MovieClip "humo" in Symbol 33 MovieClip Frame 1
onClipEvent (load) {
_xscale = 5;
_yscale = 5;
_alpha = 60;
}
onClipEvent (enterFrame) {
if (_alpha > -50) {
_alpha = (_alpha - 3);
_xscale = (_xscale + 8);
_yscale = (_yscale + 2);
} else {
_parent.gotoAndStop(2);
}
}
Symbol 33 MovieClip Frame 2
stop();
this._visible = 0;
Symbol 35 MovieClip Frame 1
play();
_root.contenedor1.pra.plano2.impactobazooka.gotoAndPlay(2);
_root.contenedor1.pra.plano2.impactobazooka._x = (_root._xmouse - _root.contenedor1.pra.plano2._x) - 173;
_root.contenedor1.pra.plano2.impactobazooka._y = ((_root._ymouse - (1.029 * _root.contenedor1.pra.plano2._y)) - 87) / 1.05;
Symbol 35 MovieClip Frame 30
stop();
_root.cambiarCursor("bazooka");
Symbol 36 MovieClip [bazookadispara] Frame 1
play();
Symbol 44 MovieClip [cursorDocumento] Frame 1
stop();
Symbol 49 MovieClip [cursorMuniLlave] Frame 1
stop();
Symbol 50 MovieClip [cursorLlave] Frame 1
stop();
Symbol 55 MovieClip [cursorMuni] Frame 1
stop();
Symbol 58 MovieClip [cursorMedicina] Frame 1
stop();
Symbol 61 MovieClip [mano] Frame 1
stop();
Symbol 79 MovieClip Frame 11
play();
Symbol 79 MovieClip Frame 44
gotoAndPlay (11);
Symbol 79 MovieClip Frame 45
play();
_root.playBucle("soniCarabina");
Symbol 79 MovieClip Frame 46
play();
if (!_root.suenaCarabina) {
_root.playBucle("soniCarabina");
}
Symbol 79 MovieClip Frame 51
if (_root.dispara) {
if (_root.contenedor1.ta.muni2 <= 0) {
gotoAndPlay (65);
}
if (_root.contenedor1.ta.muni2 > 0) {
gotoAndPlay (46);
}
} else {
gotoAndPlay (11);
_root.pareSound("soniCarabina");
}
Symbol 79 MovieClip Frame 65
_root.pareSound("sonicarabina");
play();
Symbol 79 MovieClip Frame 75
if (_root.dispara) {
gotoAndPlay (65);
} else {
gotoAndPlay (11);
}
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
play();
Symbol 80 MovieClip Frame 3
stop();
Instance of Symbol 79 MovieClip in Symbol 80 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay (45);
}
Symbol 80 MovieClip Frame 4
play();
Symbol 80 MovieClip Frame 5
stop();
Instance of Symbol 79 MovieClip in Symbol 80 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay (65);
}
Symbol 80 MovieClip Frame 6
play();
Symbol 80 MovieClip Frame 7
stop();
Instance of Symbol 79 MovieClip in Symbol 80 MovieClip Frame 7
onClipEvent (load) {
gotoAndPlay (76);
}
Symbol 82 MovieClip [carabina] Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 82 MovieClip [carabina] Frame 1
onClipEvent (mouseDown) {
gotoAndPlay (2);
_root.dispara = true;
if (_root.contenedor1.ta.muni2 > 0) {
gotoAndPlay (2);
_parent.hitarea._x = 0;
idc = setInterval(descontarMuni2, 500);
} else {
_root.cargada2 = false;
gotoAndPlay (4);
_parent.hitarea._x = 1500;
}
}
onClipEvent (load) {
function descontarMuni2() {
if (_root.dispara) {
_root.contenedor1.ta.muni2--;
_root.contenedor1.ta.tirosHechos++;
_root.tirosHechos++;
}
if (_root.contenedor1.ta.muni2 <= 0) {
_root.dispara = false;
clearInterval(idc);
}
}
}
onClipEvent (enterFrame) {
if (_root.contenedor1.ta.muni2 <= 0) {
tr++;
if (tr == 40) {
if (_root.contenedor1.ta.r2 > 0) {
_root.contenedor1.ta.muni2 = 30;
_root.contenedor1.ta.r2 = _root.contenedor1.ta.r2 - 30;
_root["se\u00F1al"].gotoAndStop(1);
_parent.gotoAndPlay(2);
}
}
}
}
onClipEvent (mouseUp) {
_root.dispara = false;
clearInterval(idc);
}
Instance of Symbol 80 MovieClip in Symbol 82 MovieClip [carabina] Frame 2
onClipEvent (load) {
gotoAndPlay (6);
}
Symbol 82 MovieClip [carabina] Frame 25
_root.recargar = false;
_root.cargada2 = true;
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip [mancha] Frame 1
onClipEvent (load) {
this._alpha = 50 + random(50);
this._x = (_root._xmouse - 50) - random(150);
this._y = 30 + random(40);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha--;
} else {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip [mancha] Frame 1
onClipEvent (load) {
this._alpha = 50 + random(50);
this._x = (_root._xmouse - 50) - random(150);
this._y = 30 + random(40);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha--;
} else {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip [mancha] Frame 1
onClipEvent (load) {
this._alpha = 50 + random(50);
this._x = (_root._xmouse - 50) - random(150);
this._y = 30 + random(40);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha--;
} else {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip [mancha] Frame 1
onClipEvent (load) {
this._alpha = 50 + random(50);
this._x = (_root._xmouse - 50) - random(150);
this._y = 30 + random(40);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha--;
} else {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip [mancha] Frame 1
onClipEvent (load) {
this._alpha = 50 + random(50);
this._x = (_root._xmouse - 50) - random(150);
this._y = 30 + random(40);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha--;
} else {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip [mancha] Frame 1
onClipEvent (load) {
this._alpha = 50 + random(50);
this._x = (_root._xmouse - 50) - random(150);
this._y = 30 + random(40);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha--;
} else {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip [mancha] Frame 1
onClipEvent (load) {
this._alpha = 50 + random(50);
this._x = (_root._xmouse - 50) - random(150);
this._y = 30 + random(40);
this.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha--;
} else {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 34 MovieClip in Symbol 87 MovieClip [polvora] Frame 1
onClipEvent (load) {
this._x = _root._xmouse - 100;
this._y = _root._ymouse - 100;
}
Symbol 104 MovieClip Frame 12
play();
Symbol 104 MovieClip Frame 52
gotoAndPlay (14);
Symbol 104 MovieClip Frame 56
play();
Symbol 104 MovieClip Frame 109
gotoAndPlay (12);
Symbol 104 MovieClip Frame 110
play();
Symbol 104 MovieClip Frame 126
gotoAndPlay (12);
Symbol 104 MovieClip Frame 127
play();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
play();
Symbol 105 MovieClip Frame 3
stop();
Instance of Symbol 104 MovieClip in Symbol 105 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay (53);
}
Symbol 105 MovieClip Frame 4
play();
Symbol 105 MovieClip Frame 5
stop();
Instance of Symbol 104 MovieClip in Symbol 105 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay (110);
}
Symbol 105 MovieClip Frame 6
play();
Symbol 105 MovieClip Frame 7
stop();
Instance of Symbol 104 MovieClip in Symbol 105 MovieClip Frame 7
onClipEvent (load) {
gotoAndPlay (127);
}
Symbol 107 MovieClip [sniper] Frame 1
stop();
Instance of Symbol 105 MovieClip "escopetin" in Symbol 107 MovieClip [sniper] Frame 1
onClipEvent (mouseDown) {
Mouse.hide();
if (_root.contenedor1.ta.muni1 > 0) {
gotoAndPlay (2);
_parent.hitarea._x = 0;
_root.contenedor1.ta.muni1--;
_root.contenedor1.ta.tirosHechos++;
_root.tirosHechos++;
} else {
gotoAndPlay (4);
_parent.hitarea._x = 1500;
_root.cargada1 = false;
}
}
onClipEvent (enterFrame) {
if ((_root.recargar == true) && (_root.contenedor1.ta.r1 > 0)) {
_parent.gotoAndPlay(2);
}
if (_root.contenedor1.ta.muni1 <= 0) {
tr++;
if (tr == 50) {
if (_root.contenedor1.ta.r1 > 0) {
recargue = 20 - _root.contenedor1.ta.muni1;
if (recargue <= _root.contenedor1.ta.r1) {
_root.contenedor1.ta.muni1 = 20;
_root.contenedor1.ta.r1 = _root.contenedor1.ta.r1 - recargue;
_parent.gotoAndPlay(2);
} else {
_root.contenedor1.ta.muni1 = _root.contenedor1.ta.muni1 + _root.contenedor1.ta.r1;
_root.contenedor1.ta.r1 = 0;
_parent.gotoAndPlay(2);
}
}
}
}
}
Instance of Symbol 105 MovieClip "escopetin" in Symbol 107 MovieClip [sniper] Frame 2
onClipEvent (load) {
gotoAndPlay (6);
}
Symbol 107 MovieClip [sniper] Frame 25
_root.recargar = false;
_root.cargada1 = true;
Instance of Symbol 105 MovieClip "escopetin" in Symbol 107 MovieClip [sniper] Frame 25
/* no clip actions */
Symbol 141 MovieClip [x] Frame 1
function entrarLengueta() {
t2 = 0;
pizarra.lengueta.onEnterFrame = function () {
pizarra.tapa._alpha = pizarra.tapa._alpha + 5;
if (pizarra.tapa._alpha > 100) {
t2++;
if (t2 < 10) {
this._x = this._x - 5;
} else {
pizarra.lengueta._visible = 0;
pizarra.lengueta.onEnterFrame = null;
fueraPizarra();
}
}
};
}
function fueraPizarra() {
t = 0;
pizarra.onEnterFrame = function () {
t++;
if (t < 10) {
this._xscale = this._xscale - 20;
} else {
pizarra._rotation = pizarra._rotation + 5;
this._x = this._x + 1;
}
if (t > 30) {
this._rotation = 0;
this._xscale = 150;
this._yscale = 75;
this._x = -10;
this._y = 100;
pizarra.onEnterFrame = null;
bajaPizarra();
}
};
}
function bajaPizarra() {
if (boton == "1") {
sys = " D- DAY IN NORMANDY \n\n";
sys = sys + "This is 1.944. Our next mission, will run next June 6. We'll be under the command\n";
sys = sys + "of the highest chief of all Allied Armies : Einsenhower. Jointly with our \n";
sys = sys + "allied armies we'll disembark in the beaches of Normandy. Opening a second front\n";
sys = sys + " of war. This so requested operation by Stalin jointly with the help of the French\n";
sys = sys + "resistance will allow us to establish a solid bridgehead in the mainland \n";
sys = sys + "for to liberate Normandy and the west of France. A second disembarkation is \n";
sys = sys + "planned for next August 15 in the coast of Provence. This will achieve that our \n";
sys = sys + "army, jointly with the French troops to displace the Germans toward the north.\n";
sys = sys + "For next august 15, we will have liberated Paris , and October first we\n";
sys = sys + "will have reached the German borders of Holland and Belgium.\n";
sys = sys + " good luck !";
} else if (boton == "2") {
sys = " OBJECTIVES mission 1\n";
sys = sys + " ______________________ \n";
sys = sys + "1.- To advance inside of enemy territory without neglecting your squad.\n";
sys = sys + "2.- To search the warehouse and to get a German uniform, and ammunitions.\n";
sys = sys + " OBJECTIVES mission 2\n";
sys = sys + " ______________________ \n";
sys = sys + "1.-To infiltrate in enemy territory and search the office of informations \n";
sys = sys + "2.-To get the briefcase with important documents. \n";
sys = sys + " OBJECTIVES mission 3\n";
sys = sys + " ______________________ \n";
sys = sys + "1.- To get a truck and it drives to Saint-L\u00F3.\n";
sys = sys + "2.- To Kill all enemies and get all your men to the exit zone.\n";
} else if (boton == "3") {
sys = "\n\n";
sys = sys + " CONTROLS \n";
sys = sys + " ___________ \n\n";
sys = sys + " MOVE.........................................KEY A-D-W-S \n";
sys = sys + " CYCLE WEAPONS .....................KEY SPACE \n";
sys = sys + " FIRE............................................MOUSE \n";
sys = sys + " AUTO RELOAD...........................ACTIVED \n";
sys = sys + " SPEAK TO SOLDIER................ CLICK WITH HAND TO SOLDIER \n";
sys = sys + " GET ON THE TRUCK ............... CLICK WITH HAND TO TRUCK.\n";
sys = sys + " PAUSE GAME............................KEY P";
}
pizarra.parrafo = sys;
t = 0;
pizarra.onEnterFrame = function () {
t++;
vel = vel + gravedad;
this._y = this._y + vel;
if (this._y > piso) {
this._y = piso;
vel = vel * (-bounce);
}
if (t > 60) {
pizarra.onEnterFrame = null;
salirCerrar();
}
};
}
function salirCerrar() {
pizarra.cerrar._visible = 1;
pizarra.cerrar._y = -230;
t = 0;
_root.sonidoSumbido.start();
pizarra.cerrar.onEnterFrame = function () {
t++;
if ((t < 10) && (t >= 0)) {
this._Y = this._Y + 5;
} else if (t > 10) {
pizarra.tapa._alpha = pizarra.tapa._alpha - 5;
if (pizarra.tapa._alpha < 0) {
pizarra.cerrar.onEnterFrame = null;
}
}
};
}
function entrarCerrar() {
t = 0;
pizarra.cerrar.onEnterFrame = function () {
t++;
if (t < 10) {
this._y = this._y - 5;
}
pizarra.tapa._alpha = pizarra.tapa._alpha + 5;
if (pizarra.tapa._alpha > 100) {
Pizarra.cerrar._visible = 0;
pizarra.lengueta._visible = 1;
pizarra.cerrar.onEnterFrame = null;
salirLengueta();
}
};
}
function salirLengueta() {
t = 0;
_root.sonidoSumbido.start();
pizarra.lengueta.onEnterFrame = function () {
t++;
if ((t >= 0) && (t < 10)) {
this._x = this._x + 5;
} else if (t > 10) {
pizarra.lengueta.onEnterFrame = null;
}
};
}
stop();
vel = 15;
gravedad = 1;
piso = 310;
bounce = 0.5;
pizarra._xscale = 150;
pizarra._yscale = 75;
pizarra._x = -10;
pizarra._y = 310;
Pizarra.cerrar._visible = 0;
pizarra.lengueta.b1.onRelease = function () {
boton = "1";
entrarLengueta();
};
pizarra.lengueta.b2.onRelease = function () {
boton = "2";
entrarLengueta();
};
pizarra.lengueta.b3.onRelease = function () {
boton = "3";
entrarLengueta();
};
pizarra.cerrar.b4.onPress = function () {
boton = "4";
entrarCerrar();
};
Symbol 144 MovieClip [menu] Frame 1
stop();
Instance of Symbol 146 MovieClip in Symbol 152 MovieClip [efectoPelicula] Frame 1
onClipEvent (enterFrame) {
_alpha = (random(50) + 20);
}
Instance of Symbol 148 MovieClip in Symbol 152 MovieClip [efectoPelicula] Frame 1
onClipEvent (enterFrame) {
_x = random(400);
}
Instance of Symbol 150 MovieClip in Symbol 152 MovieClip [efectoPelicula] Frame 1
onClipEvent (enterFrame) {
_x = random(500);
_xscale = random(50);
_rotation = random(360);
}
Symbol 191 MovieClip Frame 1
t = 0;
onEnterFrame = function () {
t++;
if (t == 4) {
duplicateMovieClip ("humo", "h0", 0);
}
if (t == 5) {
duplicateMovieClip ("humo", "h1", 1);
}
if (t == 7) {
duplicateMovieClip ("humo", "h2", 2);
}
if (t == 12) {
duplicateMovieClip ("humo", "h3", 3);
}
if (t == 18) {
duplicateMovieClip ("humo", "h4", 4);
}
if (t == 22) {
duplicateMovieClip ("humo", "h5", 5);
}
if (t == 30) {
duplicateMovieClip ("humo", "h6", 6);
}
if (t == 35) {
this.onEnterFrame = null;
}
};
Instance of Symbol 190 MovieClip "humo" in Symbol 191 MovieClip Frame 1
onClipEvent (load) {
_y = 200;
_x = 0;
_xscale = 10;
_yscale = 10;
_alpha = 40;
}
onClipEvent (enterFrame) {
_y = (_y - 4);
_x = (_x - 0);
_alpha = (_alpha - 1);
_xscale = (_xscale + 3);
if (_y < 50) {
_y = 200;
_x = 0;
_alpha = 40;
_xscale = 10;
_yscale = 10;
}
}
Symbol 201 MovieClip Frame 1
play();
Symbol 201 MovieClip Frame 8
Instance of Symbol 192 MovieClip in Symbol 201 MovieClip Frame 8
onClipEvent (load) {
}
Symbol 201 MovieClip Frame 20
stop();
_parent._parent.attachMovie("escondido", x, 0);
Symbol 237 MovieClip Frame 26
stop();
onEnterFrame = function () {
t++;
if (t < 10) {
if (r == 0) {
nextFrame();
} else if (r == 1) {
prevFrame();
} else {
stop();
}
} else {
r = random(4);
t = 0;
}
};
Symbol 237 MovieClip Frame 44
prevFrame();
Symbol 252 MovieClip Frame 1
play();
Symbol 252 MovieClip Frame 59
_parent._parent._parent.gotoAndPlay(5);
Symbol 294 MovieClip Frame 1
play();
Instance of Symbol 293 MovieClip in Symbol 294 MovieClip Frame 25
/* no clip actions */
Symbol 294 MovieClip Frame 67
_parent._parent._parent.gotoAndPlay(5);
Symbol 306 MovieClip Frame 1
play();
Symbol 306 MovieClip Frame 73
_parent._parent._parent.gotoAndPlay(5);
Symbol 308 MovieClip Frame 1
play();
Symbol 310 MovieClip Frame 1
play();
Symbol 310 MovieClip Frame 32
gotoAndPlay (1);
Symbol 315 MovieClip [boteLleno] Frame 1
Symbol 324 MovieClip [cajonSalud] Frame 1
stop();
Instance of Symbol 318 MovieClip in Symbol 324 MovieClip [cajonSalud] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.armaActual = _root.arma;
_root.cambiarCursor("mano");
_root.arma = 0;
_parent.gotoAndPlay(2);
}
}
Symbol 324 MovieClip [cajonSalud] Frame 2
play();
Instance of Symbol 57 MovieClip in Symbol 324 MovieClip [cajonSalud] Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeMediExt = true;
_root.cambiarCursor("cursorMedicina");
this._y = 2000;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMediExt) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMedicina)) {
if (!_root.vidaFull) {
_root.recuperaVida();
} else {
_y = 0;
_root.exibirDialogo("you not need medicine");
}
_root.cargarArmaActual();
_root.cogeMediExt = false;
} else {
_y = 0;
_root.cambiarCursor("mano");
_root.cogeMediExt = false;
}
}
}
Symbol 324 MovieClip [cajonSalud] Frame 49
stop();
Symbol 334 Button
on (press) {
_root.contenedor1.attachMovie("configuracion", "co", 2);
_root.gotoAndStop(8);
_root.contenedor1.attachMovie("vacio", "co", 3);
}
Instance of Symbol 340 MovieClip in Symbol 341 MovieClip [instrucciones] Frame 1
onClipEvent (load) {
_y = 150;
}
onClipEvent (enterFrame) {
_y = (_y - 0.35);
}
Symbol 348 MovieClip [tituloMision] Frame 1
stop();
titu._alpha = 0;
titu.onEnterFrame = function () {
t++;
if (t > 100) {
_x = random(2);
this._alpha++;
if (t > 400) {
this.onEnterFrame = null;
nextFrame();
}
}
};
Symbol 348 MovieClip [tituloMision] Frame 2
play();
Instance of Symbol 343 MovieClip in Symbol 348 MovieClip [tituloMision] Frame 2
/* no clip actions */
Instance of Symbol 347 MovieClip in Symbol 348 MovieClip [tituloMision] Frame 19
onClipEvent (enterFrame) {
t++;
if (t > 100) {
_alpha = (_alpha-1);
}
}
Symbol 348 MovieClip [tituloMision] Frame 51
stop();
Instance of Symbol 347 MovieClip in Symbol 348 MovieClip [tituloMision] Frame 51
onClipEvent (enterFrame) {
t++;
_x = (random(2) + 100);
_y = (random(2) - 20);
if (t > 300) {
_alpha = (_alpha-1);
}
}
Instance of Symbol 350 MovieClip in Symbol 351 MovieClip [americano] Frame 1
onClipEvent (load) {
function checkTramo() {
this.onEnterFrame = function () {
if (_root.tramo == "bunker") {
this.onEnterFrame = null;
salir(-400);
} else if (_root.tramo == "camino") {
this.onEnterFrame = null;
salir(700);
} else if (_root.tramo == "cementerio") {
this.onEnterFrame = null;
salir(1900);
} else if (_root.tramo == "rejas") {
this.onEnterFrame = null;
salir(2800);
} else if (((_root.tramo == "entradaCasa1") || (_root.tramo == "exibirArma")) || (_root.tramo == "guardia")) {
this.onEnterFrame = null;
esperando(4000);
}
};
}
function salir(posx) {
t1 = 0;
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 == 50) {
_x = posx;
this.attachMovie("correAme", "coa", 0);
velx = 8;
} else if (t1 >= r) {
if (r > 130) {
this.attachMovie("amedisparaAtras", "AD", 0);
} else {
this.attachMovie("rodillaAme", "rd", 0);
}
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t2 = 0;
this.onEnterFrame = function () {
t2++;
if (t2 >= (100 + r)) {
velx = 0;
this.attachMovie("muertoAme", "mua", 0);
this.onEnterFrame = null;
checkTramo();
}
};
}
function esperando(posx) {
t2 = 0;
velx2 = 4;
this.attachMovie("caminaAme", "caa", 0);
_x = posx;
this.onEnterFrame = function () {
this._x = this._x + velx2;
t2++;
if (t2 >= r) {
velx2 = -velx2;
this._xscale = -this._xscale;
t2 = 0;
}
};
}
velx = 8;
r = 100 + random(60);
checkTramo();
}
Symbol 372 MovieClip Frame 1
_root.contenedor1.ta.bajas++;
_root.bajas++;
Symbol 372 MovieClip Frame 57
stop();
Symbol 377 MovieClip [SonidoShock] Frame 1
play();
Symbol 377 MovieClip [SonidoShock] Frame 21
stop();
Symbol 414 MovieClip Frame 1
play();
Instance of Symbol 192 MovieClip in Symbol 414 MovieClip Frame 5
onClipEvent (load) {
}
Symbol 414 MovieClip Frame 29
gotoAndPlay (1);
Symbol 419 MovieClip [cajonMedCerrado] Frame 1
stop();
Symbol 419 MovieClip [cajonMedCerrado] Frame 2
play();
Instance of Symbol 57 MovieClip "medi1" in Symbol 419 MovieClip [cajonMedCerrado] Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeMedi1 = true;
_root.cambiarCursor("cursorMedicina");
this._y = 200;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMedi1) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMedicina)) {
if (!_root.vidaFull) {
_root.recuperaVida();
} else {
_y = 15;
_root.exibirDialogo("You not need medicina");
}
_root.cambiarArma("carabina");
_root.cogeMedi1 = false;
} else {
_y = 15;
if (!_root.conseguidoTraje) {
_root.cambiarCursor("mano");
_root.arma = 0;
} else {
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
}
_root.cogeMedi1 = false;
}
}
}
Symbol 419 MovieClip [cajonMedCerrado] Frame 15
stop();
Symbol 423 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 423 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 423 MovieClip Frame 2
stop();
Symbol 423 MovieClip Frame 5
play();
Symbol 423 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 423 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if ((_root.muertos >= (e * 17)) && (_root.muertos < (e * 21))) {
this.onEnterFrame = null;
salir();
} else {
this.onEnterFrame = null;
}
};
}
function salir() {
t1 = 0;
this.attachMovie("arranca", "ar2", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 >= rc3) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r3 = 20;
this.onEnterFrame = function () {
t3++;
if (t3 == r3) {
this.attachMovie("disparaIzq", "co2", 0);
r3 = 10 + random(30);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 20) {
td = 0;
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
}
}
};
}
velx = 3;
_parent._parent.clip3Casa1._x = -200;
_parent._parent.clip3Casa1._y = -50;
rc3 = 10 + random(5);
e = _root.e;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Symbol 424 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 424 MovieClip Frame 2
stop();
Symbol 424 MovieClip Frame 5
play();
Symbol 424 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 424 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if ((_root.muertos >= (e * 17)) && (_root.muertos < (e * 21))) {
this.onEnterFrame = null;
salir();
} else {
this.onEnterFrame = null;
}
};
}
function salir() {
t1 = 0;
this.attachMovie("arranca", "ar2", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 >= rc4) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r4 = 20;
td = 0;
this.onEnterFrame = function () {
t3++;
if (t3 == r4) {
this.attachMovie("disparaIzq", "co2", 0);
r4 = 10 + random(30);
if (r4 > 30) {
_root.chock();
}
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 20) {
td = 0;
this.attachMovie("muerto", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
}
}
};
}
velx = 3;
_parent._parent.clip4Casa1._x = 200;
_parent._parent.clip4Casa1._y = -50;
rc4 = 10 + random(5);
e = _root.e;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Symbol 436 MovieClip Frame 1
stop();
Instance of Symbol 430 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
_parent.gotoAndPlay(2);
}
}
onClipEvent (enterFrame) {
if (_root.arma == 2) {
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
_parent.gotoAndPlay(2);
}
}
}
Symbol 436 MovieClip Frame 68
stop();
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 2
play();
Instance of Symbol 57 MovieClip "medi2" in Symbol 439 MovieClip Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeMedi2 = true;
_root.cambiarCursor("cursorMedicina");
this._y = 200;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMedi2) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMedicina)) {
if (!_root.vidaFull) {
_root.recuperaVida();
} else {
_y = 15;
_root.exibirDialogo("You not need medicine");
}
_root.cambiarArma("carabina");
_root.cogeMedi2 = false;
} else {
_y = 15;
if (!_root.conseguidoTraje) {
_root.cambiarCursor("mano");
_root.arma = 0;
} else {
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
}
_root.cogeMedi2 = false;
}
}
}
Symbol 439 MovieClip Frame 15
stop();
Symbol 443 MovieClip Frame 1
stop();
Instance of Symbol 442 MovieClip in Symbol 443 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeTraje = true;
_root.cambiarCursor("cursorCasco");
_root.arma = 5;
this._y = -1000;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeTraje) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaCasco)) {
_root.contenedor1.ta["se\u00F1alUnifNazi"].gotoAndPlay(2);
_root.conseguidoTraje = true;
} else {
_y = 0;
}
if (_root.conseguidoTraje) {
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
_parent.nextFrame();
} else {
_root.cambiarCursor("mano");
_root.arma = 0;
_root.cogeTraje = false;
}
}
}
Symbol 443 MovieClip Frame 2
stop();
Instance of Symbol 452 MovieClip in Symbol 453 MovieClip Frame 1
onClipEvent (enterFrame) {
t++;
if (t == 2) {
_yscale = ((4 * random(50)) + 200);
_xscale = ((4 * random(20)) + 50);
t = 0;
}
}
Symbol 455 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 2
play();
Instance of Symbol 447 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
_alpha = random(100);
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 300) {
_y = (_y + 20);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 400) {
_y = (_y + 30);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 300) {
_y = (_y + 25);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 300) {
_y = (_y + 20);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 300) {
_y = (_y + 10);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 400) {
_y = (_y + 25);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 400) {
_y = (_y + 10);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 400) {
_y = (_y + 20);
} else {
_y = 100;
}
}
Instance of Symbol 449 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_y < 400) {
_y = (_y + 30);
} else {
_y = 100;
}
}
Symbol 455 MovieClip Frame 55
stop();
Symbol 459 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 459 MovieClip Frame 2
stop();
Symbol 459 MovieClip Frame 5
play();
Symbol 459 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 459 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if ((_root.muertos >= (e * 17)) && (_root.muertos < (e * 21))) {
this.onEnterFrame = null;
salir();
} else {
this.onEnterFrame = null;
}
};
}
function salir() {
t1 = 0;
this.attachMovie("arranca", "ar1", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x - velx);
if (t1 >= rc1) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r = 20;
this.onEnterFrame = function () {
t3++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 10 + random(30);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 10) {
td = 0;
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
}
}
};
}
velx = 3;
_parent._parent.clip1Casa1._x = 400;
_parent._parent.clip1Casa1._y = -60;
rc1 = 2 + random(25);
e = _root.e;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Symbol 460 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 460 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 460 MovieClip Frame 2
stop();
Symbol 460 MovieClip Frame 5
play();
Symbol 460 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 460 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if ((_root.muertos >= (e * 17)) && (_root.muertos < (e * 21))) {
this.onEnterFrame = null;
salir();
} else {
this.onEnterFrame = null;
}
};
}
function salir() {
t1 = 0;
this.attachMovie("arranca", "ar2", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 >= rc2) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r2 = 20;
this.onEnterFrame = function () {
t3++;
if (t3 == r2) {
this.attachMovie("disparaIzq", "co2", 0);
r2 = 10 + random(30);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 10) {
td = 0;
this.attachMovie("muerto", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
}
}
};
}
velx = 3;
_parent._parent.clip2Casa1._x = -200;
_parent._parent.clip2Casa1._y = -60;
rc2 = 2 + random(25);
e = _root.e;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
play();
Instance of Symbol 466 MovieClip "muni1" in Symbol 467 MovieClip Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeMuni1 = true;
_root.cambiarCursor("cursorMuni");
this._y = 200;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMuni1) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMuni)) {
_root.contenedor1.ta["se\u00F1alMuni1"].gotoAndPlay(2);
this.onEnterFrame = function () {
_root.contenedor1.ta.r1++;
if (_root.contenedor1.ta.r1 > _root.maxR1) {
this.onEnterFrame = null;
_root.conseguidaMuni1 = true;
_root.contenedor1.ta["se\u00F1alMuni1"].gotoAndStop(1);
}
};
} else {
_y = -25;
}
if (!_root.conseguidoTraje) {
_root.cambiarCursor("mano");
_root.arma = 0;
} else {
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
}
_root.cogeMuni1 = false;
}
}
Symbol 467 MovieClip Frame 17
stop();
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
play();
Instance of Symbol 466 MovieClip "muni1" in Symbol 469 MovieClip Frame 2
onClipEvent (load) {
if (_root.muni2enPanel == true) {
this._y = 200;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeMuni2 = true;
_root.cambiarCursor("cursorMuni");
this._y = 200;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMuni2) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMuni)) {
_root.contenedor1.ta["se\u00F1alMuni2"].gotoAndPlay(2);
this.onEnterFrame = function () {
_root.contenedor1.ta.r2++;
if (_root.contenedor1.ta.r2 > _root.maxR2) {
this.onEnterFrame = null;
_root.conseguidaMuni2 = true;
_root.contenedor1.ta["se\u00F1alMuni2"].gotoAndStop(1);
}
};
} else {
_y = -25;
}
if (!_root.conseguidoTraje) {
_root.cambiarCursor("mano");
_root.arma = 0;
} else {
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
}
_root.cogeMuni2 = false;
}
}
Symbol 469 MovieClip Frame 17
stop();
Instance of Symbol 423 MovieClip "clip3Casa1" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 300;
this._yscale = 200;
_y = 0;
}
Instance of Symbol 424 MovieClip "clip4Casa1" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this._xscale = -300;
this._yscale = 200;
_y = 0;
}
Instance of Symbol 419 MovieClip [cajonMedCerrado] "cajonMedi1" in Symbol 474 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea) && (!_root.cajonMedi2Abierto)) {
this.gotoAndPlay(2);
_root.cajonMedi1Abierto = true;
}
if (this.hitTest(_root.customCursor.hitarea2) && (!_root.cajonMedi2Abierto)) {
this.gotoAndPlay(2);
_root.cajonMedi1Abierto = true;
}
}
Instance of Symbol 439 MovieClip "cajonMedi2" in Symbol 474 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea) && (!_root.cajonMedi2Abierto)) {
this.gotoAndPlay(2);
_root.cajonMedi1Abierto = true;
}
if (this.hitTest(_root.customCursor.hitarea2) && (!_root.cajonMedi2Abierto)) {
this.gotoAndPlay(2);
_root.cajonMedi1Abierto = true;
}
}
Instance of Symbol 443 MovieClip "traje" in Symbol 474 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 455 MovieClip "bandera1" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 10) {
td = 0;
this.play();
this.onEnterFrame = null;
}
}
};
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
this.play();
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
};
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea2)) {
this.play();
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
};
}
Instance of Symbol 455 MovieClip "bandera2" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 10) {
td = 0;
this.play();
this.onEnterFrame = null;
}
}
};
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
this.play();
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
};
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea2)) {
this.play();
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
};
}
Instance of Symbol 458 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (mouseDown) {
if (_root.mision1Cumplida) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.ext1._y = 85;
_root.tramo = "exibirArma";
_root.lugar = "exterior";
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
_root.conseguidaMisionCasa1 = true;
_root.contenedor1.attachMovie("vacio", "ca1", 0);
}
}
}
Instance of Symbol 459 MovieClip "clip1Casa1" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 450;
this._yscale = 300;
_y = 0;
}
Instance of Symbol 460 MovieClip "clip2Casa1" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 450;
this._yscale = 300;
_y = 0;
}
Instance of Symbol 467 MovieClip "cajonMuni1" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
_root.cajonM1Abierto = false;
if (_root.cajonM1Abierto == true) {
gotoAndStop (17);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2) && (!_root.cajonM1Abierto)) {
this.gotoAndPlay(2);
_root.cajonM1Abierto = true;
}
}
Instance of Symbol 469 MovieClip "cajonmuni2" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
_root.cajonM2Abierto = false;
if (_root.cajonM2Abierto == true) {
gotoAndStop (17);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2) && (!_root.cajonM2Abierto)) {
this.gotoAndPlay(2);
_root.cajonM2Abierto = true;
}
}
Symbol 486 MovieClip Frame 1
stop();
Symbol 486 MovieClip Frame 2
play();
Symbol 486 MovieClip Frame 25
gotoAndPlay (2);
Symbol 489 MovieClip Frame 1
stop();
Instance of Symbol 488 MovieClip in Symbol 489 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 489 MovieClip Frame 2
play();
Instance of Symbol 488 MovieClip in Symbol 489 MovieClip Frame 2
onClipEvent (load) {
_visible = 100;
}
Symbol 489 MovieClip Frame 20
gotoAndPlay (2);
Instance of Symbol 489 MovieClip "señalMuni2" in Symbol 526 MovieClip [tablero] Frame 1
/* no clip actions */
Instance of Symbol 489 MovieClip "señalMuni1" in Symbol 526 MovieClip [tablero] Frame 1
/* no clip actions */
Instance of Symbol 494 MovieClip "armita1" in Symbol 526 MovieClip [tablero] Frame 1
/* no clip actions */
Instance of Symbol 508 MovieClip "vida" in Symbol 526 MovieClip [tablero] Frame 1
onClipEvent (load) {
function tocarLatido() {
objLatido = new Sound(this);
objLatido.attachSound("latido");
objLatido.start(0, 20);
}
function pararLatido() {
objLatido = new Sound(this);
objLatido.attachSound("latido");
objLatido.stop();
}
_parent.muertosAmi = 0;
_parent.bajas = 0;
_parent.muertos = 0;
_parent.manos = "Hands";
_parent.objetos = "Objets";
_parent.uniforme = "Uniform";
_parent.textbazooka = "bazooka";
this._xscale = 100;
_root.vidaFull = true;
tv = 0;
objLatido = new Sound(this);
soundLatido = false;
this.onEnterFrame = function () {
_parent.escala = this._xscale + "%";
if (this._xscale < 100) {
_root.vidaFull = false;
}
if ((this._xscale <= 30) && (!soundLatido)) {
tocarLatido();
soundLatido = true;
}
if ((this._xscale > 25) && (soundLatido)) {
pararLatido();
soundLatido = false;
}
if (this._xscale <= 0) {
_root.muniActual1 = 0;
_root.muniActual2 = 0;
_root.armaActual = _root.arma;
_root.tramoActual = _root.tramo;
_root.lugarActual = _root.lugar;
_root.pararMusicaMenu();
_root.tocarMusFalla();
_root.soldadosInactivos();
_root.cambiarCursor("vacio");
_root.arma = 4;
_root.lugar = "fallada";
_root.controlTramo.nada();
_root.contenedor1.attachMovie("tuEresDead", "ted", 5);
_root.vecesMuerto++;
this._xscale = 100;
_root.vidaFull = true;
_quality = "high";
}
};
}
Symbol 529 MovieClip [traslape] Frame 1
function aparecer() {
negro.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
gotoAndStop (5);
}
};
}
stop();
negro._alpha = 0;
negro.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 250) {
this.onEnterFrame = null;
aparecer();
}
};
Symbol 529 MovieClip [traslape] Frame 5
stop();
Symbol 539 MovieClip [tuEresDead] Frame 1
function aparecerFoto() {
foto.onEnterFrame = function () {
this._alpha = this._alpha + 2;
if (this._alpha > 100) {
_root.calcularEficiencia();
muertos = _root.muertos;
bajas = _root.bajas;
tirosHechos = _root.tirosHechos;
vecesMuerto = _root.vecesMuerto;
eficiencia = _root.eficiencia + " %";
_root.cambiarCursor("alfa");
_root.arma = 4;
this.onEnterFrame = null;
}
};
}
function desaparecer() {
muertos = "";
bajas = "";
tirosHechos = "";
vecesMuerto = "";
eficiencia = "";
foto.onEnterFrame = function () {
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor1.attachMovie("vacio", va, 5);
}
};
rojo.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
}
};
}
stop();
muertos = "";
bajas = "";
tirosHechos = "";
vecesMuerto = "";
eficiencia = "";
rojo._alpha = 0;
foto._alpha = 0;
rojo.onEnterFrame = function () {
this._alpha = this._alpha + 2;
if (this._alpha >= 50) {
this.onEnterFrame = null;
aparecerFoto();
}
};
btc.onPress = function () {
desaparecer();
_root.cargarArmaActual();
_root.activarSoldados();
_root.pararMusFalla();
_root.tocarMusicaMenu();
_root.sonidoAccionIni.start();
_quality = "low";
};
Symbol 542 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 542 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 542 MovieClip Frame 2
stop();
Symbol 542 MovieClip Frame 5
play();
Symbol 542 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 542 MovieClip Frame 10
onClipEvent (load) {
function aleman1Camina() {
t2 = 0;
velx2 = 0.5;
this.attachMovie("camina", "cag", 0);
this.onEnterFrame = function () {
if (!_root.conseguidoDocumento) {
this._x = this._x + velx2;
t2++;
if (t2 >= 250) {
velx2 = -velx2;
this._xscale = -this._xscale;
t2 = 0;
}
} else if (_root.conseguidoDocumento) {
this.onEnterFrame = null;
chekearTramo();
}
};
}
function chekearTramo() {
this.onEnterFrame = function () {
if (!_root.alarmaRota) {
this.onEnterFrame = null;
salir();
} else {
this.onEnterFrame = null;
}
};
}
function salir() {
if (_root.salidaC1C2 == 1) {
this._x = 27;
_root.salidaC1C2 = 2;
} else if (_root.salidaC1C2 == 2) {
this._x = 125;
_root.salidaC1C2 = 1;
}
t1 = 0;
this.attachMovie("arranca", "ar1", 0);
this.onEnterFrame = function () {
t1++;
this._x = this._x - velx;
if (t1 >= rc1) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r = 20;
this.onEnterFrame = function () {
t3++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 10 + random(30);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 10) {
td = 0;
this.attachMovie("muerto3", "mu", 0);
_root.muertosCasa2++;
_root.contenedor1.ta.muertos++;
if (_root.alarmaRota) {
_root.terminaSalirAle1 = true;
}
this.onEnterFrame = null;
}
}
};
}
velx = 1;
probar = true;
_parent._parent.clip1Casa2._x = 275;
_parent._parent.clip1Casa2._y = -60;
rc1 = 25;
e = _root.e;
aleman1Camina();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto3", "mu", 0);
_root.muertosCasa2++;
_root.contenedor1.ta.muertos++;
if (_root.alarmaRota) {
_root.terminaSalirAle1 = true;
}
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Symbol 543 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 543 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 543 MovieClip Frame 2
stop();
Symbol 543 MovieClip Frame 5
play();
Symbol 543 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 543 MovieClip Frame 10
onClipEvent (load) {
function aleman2Camina() {
t2 = 0;
velx2 = 0.5;
this.attachMovie("camina", "cag", 0);
this.onEnterFrame = function () {
if (!_root.conseguidoDocumento) {
this._x = this._x + velx2;
t2++;
if (t2 >= 250) {
velx2 = -velx2;
this._xscale = -this._xscale;
t2 = 0;
}
} else if (_root.conseguidoDocumento) {
this.onEnterFrame = null;
chekearTramo();
}
};
}
function chekearTramo() {
this.onEnterFrame = function () {
if (!_root.alarmaRota) {
this.onEnterFrame = null;
salir();
} else {
this.onEnterFrame = null;
}
};
}
function salir() {
if (_root.salidaC2C2 == 1) {
this._x = 15;
_root.salidaC2C2 = 2;
} else if (_root.salidaC2C2 == 2) {
this._x = 100;
_root.salidaC2C2 = 1;
}
t1 = 0;
this.attachMovie("arranca", "ar1", 0);
this.onEnterFrame = function () {
t1++;
this._x = this._x - velx;
if (t1 >= r) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r4 = 20;
td = 0;
this.onEnterFrame = function () {
t3++;
if (t3 == r4) {
this.attachMovie("disparaIzq", "co2", 0);
r4 = 10 + random(30);
if (r4 > 30) {
_root.chock();
}
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 10) {
td = 0;
this.attachMovie("muerto2", "mu", 0);
_root.muertosCasa2++;
_root.contenedor1.ta.muertos++;
if (_root.alarmaRota) {
_root.terminaSalirAle2 = true;
}
this.onEnterFrame = null;
}
}
};
}
velx = 1;
prueba = true;
_parent._parent.clip2Casa2._x = 0;
_parent._parent.clip2Casa2._y = -60;
r = 10 + random(5);
aleman2Camina();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto2", "mu", 0);
_root.contenedor1.ta.muertos++;
_root.muertosCasa2++;
if (_root.alarmaRota) {
_root.terminaSalirAle2 = true;
}
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Symbol 564 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 5
stop();
Instance of Symbol 555 MovieClip "alarma" in Symbol 564 MovieClip Frame 5
onClipEvent (load) {
function checkDestruirAlarma() {
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 5) {
_root.alarmaRota = true;
_parent.gotoAndPlay(10);
this.onEnterFrame = null;
this.onMouseDown = null;
}
}
};
this.onEnterFrame = function () {
if (this.hitTest(_root.customCursor.hitarea)) {
if ((_root.arma == 2) && (_root.dispara)) {
_root.mostrar = ta;
ta++;
if (ta > 75) {
_root.alarmaRota = true;
_parent.gotoAndPlay(10);
this.onEnterFrame = null;
this.onMouseDown = null;
}
}
}
};
}
checkDestruirAlarma();
}
Instance of Symbol 557 MovieClip in Symbol 564 MovieClip Frame 5
onClipEvent (enterFrame) {
t++;
if (t == 1) {
_alpha = 80;
}
if (t == 20) {
_alpha = 20;
}
if (t == 40) {
t = 0;
}
}
Symbol 564 MovieClip Frame 9
stop();
Symbol 564 MovieClip Frame 10
play();
if (!_root.alarmaRota) {
_root.alarmaRota = true;
}
Instance of Symbol 557 MovieClip in Symbol 564 MovieClip Frame 10
onClipEvent (enterFrame) {
_alpha = random(100);
}
Symbol 564 MovieClip Frame 15
gotoAndPlay (10);
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 2
play();
Instance of Symbol 57 MovieClip "medi4" in Symbol 566 MovieClip Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeMedi4 = true;
_root.cambiarCursor("cursorMedicina");
_root.arma = 7;
this._y = 200;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMedi4) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMedicina)) {
if (!_root.vidaFull) {
_root.recuperaVida();
} else {
_y = 0;
_root.exibirDialogo("No necesitas medicamentos, regresa aqui cuando lo necesites");
}
_root.cambiarArma("carabina");
_root.arma = 2;
_root.cogeMedi4 = false;
} else {
_y = 0;
_root.cambiarCursor("mano");
_root.arma = 0;
_root.cogeMedi4 = false;
}
}
}
Symbol 566 MovieClip Frame 15
stop();
Symbol 567 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 2
play();
Instance of Symbol 57 MovieClip "medi3" in Symbol 567 MovieClip Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cogeMedi3 = true;
_root.cambiarCursor("cursorMedicina");
_root.arma = 7;
this._y = 200;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMedi3) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMedicina)) {
if (!_root.vidaFull) {
_root.recuperaVida();
} else {
_y = 0;
_root.exibirDialogo("No necesitas medicamentos, regresa aqui cuando lo necesites");
}
_root.cambiarArma("carabina");
_root.arma = 2;
_root.cogeMedi3 = false;
} else {
_y = 0;
_root.cambiarCursor("mano");
_root.arma = 0;
_root.cogeMedi3 = false;
}
}
}
Symbol 567 MovieClip Frame 15
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
play();
Instance of Symbol 466 MovieClip "muniCasa2" in Symbol 574 MovieClip Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitareallave) || (this.hitTest(_root.customCursor.hitarea2))) {
_root.cogeMuni3 = true;
_root.cambiarCursor("cursorMuniLlave");
_root.arma = 0;
this._y = -1000;
_root.exibirDialogo("arrastra hacia tu panel de armas");
}
}
onClipEvent (mouseUp) {
if (_root.cogeMuni3) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaMuni)) {
_root.contenedor1.ta["se\u00F1alMuni2"].gotoAndPlay(2);
this.onEnterFrame = function () {
_root.contenedor1.ta.r2++;
if (_root.contenedor1.ta.r2 > _root.maxR2) {
this.onEnterFrame = null;
_root.conseguidaMuni3 = true;
_root.contenedor1.ta["se\u00F1alMuni2"].gotoAndStop(1);
}
};
} else {
_y = 0;
}
_root.cambiarCursor("cursorLlave");
_root.arma = 0;
_root.cogeMuni3 = false;
}
}
Symbol 574 MovieClip Frame 25
stop();
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 2
play();
Symbol 575 MovieClip Frame 25
stop();
Symbol 578 MovieClip Frame 1
stop();
Symbol 578 MovieClip Frame 2
stop();
Symbol 578 MovieClip Frame 3
play();
Instance of Symbol 482 MovieClip "documento" in Symbol 578 MovieClip Frame 10
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitareaLlave)) {
_root.cogeDocumento = true;
_root.cambiarCursor("cursorDocumento");
_root.arma = 4;
this._y = -1000;
_root.exibirDialogo("Drag to the panel");
}
}
onClipEvent (mouseUp) {
if (_root.cogeDocumento) {
if (_root.contenedor1.ta.areaPanel.hitTest(_root.customCursor.hitareaDocumento)) {
_root.contenedor1.ta.documento._visible = true;
_root.conseguidoDocumento = true;
} else {
_y = 0;
}
if (_root.conseguidoDocumento) {
_root.cambiarArma("carabina");
_root.arma = 2;
_root.cogeLlave = false;
_root.sonidoG2.start();
_parent.nextFrame();
} else {
_root.cambiarCursor("cursorLlave");
_root.arma = 4;
_root.cogeLlave = true;
_root.cogeDocumento = false;
}
}
}
Symbol 578 MovieClip Frame 26
stop();
Symbol 578 MovieClip Frame 27
stop();
Symbol 579 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip "tapaDoble" in Symbol 579 MovieClip Frame 1
onClipEvent (load) {
cerrado = true;
}
onClipEvent (mouseDown) {
if (cerrado) {
if (this.hitTest(_root.customCursor.hitareallave) || (this.hitTest(_root.customCursor.hitarea2))) {
cerrado = false;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 575 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (load) {
cerrado = true;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitareallave) || (this.hitTest(_root.customCursor.hitarea2) && (cerrado))) {
cerrado = false;
this.gotoAndPlay(2);
}
}
Instance of Symbol 575 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (load) {
cerrado = true;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitareallave) || (this.hitTest(_root.customCursor.hitarea2) && (cerrado))) {
cerrado = false;
this.gotoAndPlay(2);
}
}
Instance of Symbol 578 MovieClip "tapaChica" in Symbol 579 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitareallave)) {
this.gotoAndPlay(3);
}
}
Symbol 580 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 580 MovieClip Frame 2
stop();
Symbol 580 MovieClip Frame 5
play();
Symbol 580 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 580 MovieClip Frame 10
onClipEvent (load) {
function chekearDoc() {
this.onEnterFrame = function () {
if (_root.conseguidoDocumento && (!_root.alarmaRota)) {
this.onEnterFrame = null;
salir();
}
};
}
function salir() {
if (_root.salidaC3C2 == 1) {
this._x = -100;
d = 25;
_root.salidaC3C2 = 2;
} else if (_root.salidaC3C2 == 2) {
this._x = 30;
d = 25;
_root.salidaC3C2 = 1;
}
t1 = 0;
this.attachMovie("arranca", "ar1", 0);
this.onEnterFrame = function () {
t1++;
this._x = this._x + velx;
if (t1 >= d) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r4 = 20;
td = 0;
this.onEnterFrame = function () {
t3++;
if (t3 == r4) {
this.attachMovie("disparaIzq", "co2", 0);
r4 = 10 + random(30);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 20) {
td = 0;
this.attachMovie("muerto2", "mu", 0);
_root.muertosCasa2++;
_root.contenedor1.ta.muertos++;
if (_root.alarmaRota) {
_root.terminaSalirAle3 = true;
}
this.onEnterFrame = null;
}
}
};
}
velx = 1;
prueba = true;
_parent._parent.clip3Casa2._x = 0;
_parent._parent.clip3Casa2._y = -55;
e = _root.e;
chekearDoc();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto2", "mu", 0);
_root.muertosCasa2++;
_root.contenedor1.ta.muertos++;
if (_root.alarmaRota) {
_root.terminaSalirAle3 = true;
}
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Symbol 581 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
}
Symbol 581 MovieClip Frame 2
stop();
Symbol 581 MovieClip Frame 5
play();
Symbol 581 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 581 MovieClip Frame 10
onClipEvent (load) {
function chekearDoc() {
this.onEnterFrame = function () {
if (_root.conseguidoDocumento && (!_root.alarmaRota)) {
this.onEnterFrame = null;
salir();
}
};
}
function salir() {
if (_root.salidaC4C2 == 1) {
this._x = 50;
d = 50;
_root.salidaC4C2 = 2;
} else if (_root.salidaC4C2 == 2) {
this._x = 30;
d = 30;
_root.salidaC4C2 = 1;
}
t1 = 0;
this.attachMovie("arranca", "ar1", 0);
this.onEnterFrame = function () {
t1++;
this._x = this._x - velx;
if (t1 >= d) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r4 = 20;
td = 0;
this.onEnterFrame = function () {
t3++;
if (t3 == r4) {
this.attachMovie("disparaIzq", "co2", 0);
r4 = 10 + random(30);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 5) {
td = 0;
this.attachMovie("muerto", "mu", 0);
_root.muertosCasa2++;
_root.contenedor1.ta.muertos++;
if (_root.alarmaRota) {
_root.terminaSalirAle4 = true;
}
this.onEnterFrame = null;
}
}
};
}
velx = 1;
prueba = true;
_parent._parent.clip4Casa2._x = 0;
_parent._parent.clip4Casa2._y = -55;
e = _root.e;
chekearDoc();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
hit++;
if (hit >= 3) {
this.attachMovie("muerto2", "mu", 0);
_root.muertosCasa2++;
_root.contenedor1.ta.muertos++;
if (_root.alarmaRota) {
_root.terminaSalirAle4 = true;
}
this.onMouseDown = null;
this.onEnterFrame = null;
hit = 0;
}
}
};
}
Instance of Symbol 542 MovieClip "clip1Casa2" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this._xscale = -300;
this._yscale = 200;
_y = 0;
}
Instance of Symbol 543 MovieClip "clip2Casa2" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this._xscale = -300;
this._yscale = 200;
_y = 0;
}
Instance of Symbol 551 MovieClip in Symbol 582 MovieClip Frame 1
onClipEvent (mouseDown) {
if (((_root.terminaSalirAle1 && (_root.terminaSalirAle2)) && (_root.terminaSalirAle3)) && (_root.terminaSalirAle4)) {
if ((_root.alarmaRota && (_root.conseguidoDocumento)) && (_root.conseguidaMuni3)) {
if (this.hitTest(_root.customCursor.hitarea2) || (this.hitTest(_root.customCursor.hitareallave))) {
_root.ext1._y = 85;
_root.ext2._y = 110;
_root.tramo = "afuera";
_root.lugar = "exterior";
_root.conseguidaMisionCasa2 = true;
_root.contenedor1.attachMovie("vacio", "va", 0);
}
}
}
}
Instance of Symbol 564 MovieClip "sirena" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
ta = 0;
this.onEnterFrame = function () {
if ((_root.tramo == "casa2") && (_root.conseguidoDocumento)) {
this.gotoAndPlay(5);
this.onEnterFrame = null;
}
};
}
Instance of Symbol 566 MovieClip "cajonMedi4" in Symbol 582 MovieClip Frame 1
onClipEvent (mouseDown) {
if ((this.hitTest(_root.customCursor.hitarea) || (this.hitTest(_root.customCursor.hitarea2))) || (this.hitTest(_root.customCursor.hitareallave))) {
if (!_root.cajonMedi4Abierto) {
this.gotoAndPlay(2);
_root.cajonMedi4Abierto = true;
}
}
}
Instance of Symbol 567 MovieClip "cajonMedi3" in Symbol 582 MovieClip Frame 1
onClipEvent (mouseDown) {
if ((this.hitTest(_root.customCursor.hitarea) || (this.hitTest(_root.customCursor.hitarea2))) || (this.hitTest(_root.customCursor.hitareallave))) {
if (!_root.cajonMedi3Abierto) {
this.gotoAndPlay(2);
_root.cajonMedi3Abierto = true;
}
}
}
Instance of Symbol 579 MovieClip "mueble" in Symbol 582 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 580 MovieClip "clip3Casa2" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this._xscale = -450;
this._yscale = 300;
_y = 0;
}
Instance of Symbol 581 MovieClip "clip4Casa2" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this._xscale = -450;
this._yscale = 300;
_y = 0;
}
Symbol 589 MovieClip [objetivo2Cumplido] Frame 1
function desaparecer() {
objetivo2.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor.attachMovie("vacio", va, 2);
}
};
}
stop();
objetivo2._alpha = 0;
objetivo2.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 250) {
this.onEnterFrame = null;
desaparecer();
}
};
Symbol 612 MovieClip Frame 1
play();
Instance of Symbol 602 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
if (_root.girarRuedas) {
this._rotation = this._rotation + 10;
}
if (_root.pararRuedas) {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 602 MovieClip in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
if (_root.girarRuedas) {
this._rotation = this._rotation + 10;
}
if (_root.pararRuedas) {
this.onEnterFrame = null;
}
};
}
Symbol 612 MovieClip Frame 45
play();
_root.estadoCamion = "detenido";
if (_root.cajonesArriba) {
_root.yoUpBueno = true;
}
Symbol 612 MovieClip Frame 65
gotoAndPlay (45);
Instance of Symbol 597 MovieClip "pelaos" in Symbol 613 MovieClip [camionPartiendo] Frame 1
onClipEvent (load) {
this._visible = false;
this.onEnterFrame = function () {
t++;
if (t > 100) {
this._visible = true;
this.onEnterFrame = null;
}
};
}
Symbol 614 MovieClip Frame 1
play();
Symbol 614 MovieClip Frame 23
gotoAndPlay (1);
Instance of Symbol 350 MovieClip in Symbol 616 MovieClip [americano2] Frame 1
onClipEvent (load) {
function checkTramo() {
this.onEnterFrame = function () {
if (_root.tramo == "bunker") {
this.onEnterFrame = null;
salir(-4500, 50);
} else if (_root.tramo == "balacera") {
this.onEnterFrame = null;
salir(-50, 0);
} else if (((_root.tramo == "pradera") || (_root.tramo == "paracaida")) || (_root.tramo == "final")) {
this.onEnterFrame = null;
salir(0, 0);
} else if ((_root.tramo == "camion") || (_root.tramo == "concluye")) {
this.onEnterFrame = null;
esperando();
}
};
}
function salir(posx, posy) {
t1 = 0;
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 == 50) {
_x = posx;
_y = posy;
this.attachMovie("correAme", "coa", 0);
velx = 8;
} else if (t1 >= r) {
this.attachMovie("amedisparaAtras", "ada", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t2 = 0;
this.onEnterFrame = function () {
t2++;
if (t2 >= (100 + r)) {
velx = 0;
this.attachMovie("muertoAme", "mua", 0);
this.onEnterFrame = null;
checkTramo();
}
};
}
function esperando() {
t2 = 0;
velx2 = 3;
this.attachMovie("caminaAme", "caa", 0);
this.onEnterFrame = function () {
this._x = this._x + velx2;
t2++;
if (t2 >= r) {
velx2 = -velx2;
this._xscale = -this._xscale;
t2 = 0;
}
};
}
velx = 8;
r = 100 + random(50);
checkTramo();
}
Symbol 631 MovieClip Frame 1
play();
Instance of Symbol 350 MovieClip "clipNa" in Symbol 631 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("tanqueDispara", "td", 0);
}
Symbol 631 MovieClip Frame 2
stop();
Instance of Symbol 350 MovieClip "clipCamion" in Symbol 631 MovieClip Frame 2
onClipEvent (load) {
this.attachMovie("tanqueDispara", "td", 0);
_y = 0;
this.onMouseDown = function () {
if (_root.arma == 3) {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.hitTanque++;
if (_root.hitTanque < _root.hitMuereTank) {
this.attachMovie("tanqueHerido", "th", 0);
} else {
this.attachMovie("tanqueMuere", "th", 0);
_root.tanqueVivo = false;
this.onMouseDown = null;
}
}
}
};
this.onEnterFrame = function () {
if (_root.adios) {
_parent.gotoAndStop(5);
this.onEnterFrame = null;
}
};
}
Symbol 631 MovieClip Frame 5
stop();
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 5
play();
Symbol 634 MovieClip Frame 10
stop();
Instance of Symbol 633 MovieClip in Symbol 634 MovieClip Frame 10
onClipEvent (load) {
i = 1;
while (i <= 20) {
this.attachMovie("paracaidistas", "para" + i, i, {_x:random(600) - 300, _y:-400, _xscale:5, _yscale:5});
i++;
}
}
Symbol 634 MovieClip Frame 15
stop();
Instance of Symbol 633 MovieClip in Symbol 634 MovieClip Frame 15
onClipEvent (load) {
i = 1;
while (i <= 10) {
this.attachMovie("ofensivaTierra", "para" + i, i, {_x:(50 * i) - 350, _y:random(25) - 110, _xscale:50, _yscale:50});
i++;
}
}
Symbol 635 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 635 MovieClip Frame 5
play();
Symbol 635 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 635 MovieClip Frame 10
onClipEvent (load) {
function disparando() {
ti = 0;
this.onEnterFrame = function () {
ti++;
if (ti == 2) {
this.attachMovie("disparaIzq", "di", 0);
} else if (ti > 30) {
ti = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
tc++;
_root.mostrar2 = tc;
if ((tc >= 5) & (tc < 10)) {
correIzq();
} else if ((tc >= 10) & (tc < 15)) {
correDer();
} else if (tc > 15) {
this.attachMovie("muerto3", "mu3", 0);
_root.muertos++;
_root.muertoAleFinal = true;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
}
}
};
}
function correIzq() {
r = -(100 + random(100));
this.attachMovie("arranca", "arr", 0);
this.onEnterFrame = function () {
_x = (_x - velx);
if (_x < r) {
this.attachMovie("disparaIzq", "di", 0);
this.onEnterFrame = null;
disparando();
}
};
}
function correDer() {
r = 100 + random(100);
this.attachMovie("arranca", "arr", 0);
this.onEnterFrame = function () {
_x = (_x + velx);
if (_x > r) {
this.attachMovie("disparaIzq", "di", 0);
this.onEnterFrame = null;
disparando();
}
};
}
if (_root.muertoAleFinal || (_root.tramo != "final")) {
_parent.gotoAndStop(1);
}
tc = 0;
hit = 0;
velx = 6;
disparando();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea)) {
hit++;
if (hit == 1) {
correIzq();
} else if (hit == 2) {
correDer();
} else if (hit == 3) {
correIzq();
} else if (hit == 4) {
correDer();
} else if (hit == 5) {
correIzq();
} else if (hit >= 6) {
this.attachMovie("muerto3", "mu3", 0);
_root.muertos++;
_root.muertoAleFinal = true;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
}
}
};
}
Symbol 636 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 636 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 636 MovieClip Frame 5
play();
Symbol 636 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 636 MovieClip Frame 10
onClipEvent (load) {
i = 1;
while (i <= 8) {
this.attachMovie("avion", "avi" + i, i, {_x:random(1000), _y:(i * 20) + 50, _xscale:150, _yscale:100});
i++;
}
}
Symbol 643 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 2
play();
Symbol 643 MovieClip Frame 58
stop();
Instance of Symbol 628 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "c1", 0);
}
Instance of Symbol 628 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "c1", 0);
}
Instance of Symbol 628 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "c1", 0);
}
Instance of Symbol 628 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "c1", 0);
}
Instance of Symbol 628 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "c1", 0);
}
Instance of Symbol 628 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "c1", 0);
}
Instance of Symbol 630 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cambiarCursor("bazooka");
_root.arma = 3;
_root.contenedor1.ta.muni3 = _root.contenedor1.ta.muni3 + 50;
this._y = 2000;
}
}
Instance of Symbol 630 MovieClip in Symbol 644 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.cambiarCursor("bazooka");
_root.arma = 3;
_root.contenedor1.ta.muni3 = _root.contenedor1.ta.muni3 + 50;
this._y = 2000;
}
}
Instance of Symbol 631 MovieClip "kaka" in Symbol 644 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 635 MovieClip "clipAleFinal" in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
this._x = 100;
this._y = 20;
this._xscale = -80;
this._yscale = 70;
}
Instance of Symbol 643 MovieClip "impactobazooka" in Symbol 644 MovieClip Frame 1
/* no clip actions */
Symbol 650 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 2
play();
Symbol 650 MovieClip Frame 536
stop();
Symbol 651 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 651 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 651 MovieClip Frame 5
play();
Symbol 651 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 651 MovieClip Frame 10
onClipEvent (load) {
i = 1;
while (i <= 4) {
this.attachMovie("americano2", "ame" + i, i, {_x:random(400), _y:-100, _xscale:70 + ((i * 20) / 4), _yscale:70 + ((i * 20) / 4)});
i++;
}
}
Instance of Symbol 650 MovieClip "camion" in Symbol 652 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 651 MovieClip "clipAmePrado" in Symbol 652 MovieClip Frame 1
onClipEvent (load) {
this._x = -2500;
this._y = 300;
this._xscale = 600;
this._yscale = 400;
}
Symbol 653 MovieClip [pradoFinal] Frame 1
stop();
Instance of Symbol 623 MovieClip in Symbol 653 MovieClip [pradoFinal] Frame 1
onClipEvent (enterFrame) {
_root.mostrar = _root.contenedor1.pra.plano2._x;
}
Symbol 659 MovieClip Frame 1
play();
Symbol 659 MovieClip Frame 79
gotoAndPlay (1);
Symbol 665 MovieClip Frame 1
play();
_root.playSound("explosion");
Symbol 665 MovieClip Frame 80
stop();
Symbol 667 MovieClip Frame 1
play();
Symbol 667 MovieClip Frame 54
stop();
Instance of Symbol 666 MovieClip in Symbol 667 MovieClip Frame 54
/* no clip actions */
Symbol 670 MovieClip Frame 1
play();
Symbol 670 MovieClip Frame 33
_parent._parent._parent.gotoAndPlay(1);
stop();
Symbol 680 MovieClip [paracaidistas] Frame 1
gotoAndStop (3);
Instance of Symbol 633 MovieClip in Symbol 680 MovieClip [paracaidistas] Frame 1
onClipEvent (load) {
}
Symbol 680 MovieClip [paracaidistas] Frame 3
r = random(500);
this.onEnterFrame = function () {
ts++;
if (ts >= r) {
gotoAndPlay (10);
this.onEnterFrame = null;
}
};
Symbol 680 MovieClip [paracaidistas] Frame 5
play();
Symbol 680 MovieClip [paracaidistas] Frame 10
stop();
Instance of Symbol 633 MovieClip in Symbol 680 MovieClip [paracaidistas] Frame 10
onClipEvent (load) {
function cayendo() {
this.onEnterFrame = function () {
vely = vely + 0.5;
if (_root.tramo == "paracaida") {
if (!hanSidoShot) {
if (this._y < 6000) {
this._y = this._y + vely;
this._xscale = this._xscale + 7;
this._yscale = this._yscale + 7;
} else {
this.onEnterFrame = null;
this.attachMovie("disparaIzq", "co2", 0);
intervaloDisparo();
}
} else if (hanSidoShot) {
if (this._y < 6000) {
this._y = this._y + (2 * vely);
this._xscale = this._xscale + 7;
this._yscale = this._yscale + 7;
} else {
this.onEnterFrame = null;
}
}
}
};
}
function intervaloDisparo() {
t3 = (tc = 0);
r = 50;
this.onEnterFrame = function () {
t3++;
tm++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 10 + random(40);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
tc++;
if (tc >= 15) {
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
morirAlAzar();
tc = 0;
}
}
if ((tm >= 200) && (_root.tramo == "paracaida")) {
_root.contenedor1.ta.muertosAmi = _root.contenedor1.ta.muertosAmi + 6;
this.onMouseDown = null;
this.onEnterFrame = null;
morirAlAzar();
}
};
}
function morirAlAzar() {
this.r = random(3);
hanSidoShot = true;
if (this.r == 0) {
this.attachMovie("muerto", "mu3", 0);
} else if (this.r == 1) {
this.attachMovie("muerto2", "mu3", 0);
} else {
this.attachMovie("muerto3", "mu3", 0);
}
}
this.attachMovie("alemanParacaida", "alep", 0);
this.r = random(2);
velx = 20;
vely = 1;
hanSidoShot = false;
cayendo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
morirAlAzar();
}
};
}
Symbol 684 MovieClip [misionExitosaTotal] Frame 1
function desaparecer() {
misionExito.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor.attachMovie("vacio", va, 2);
}
};
}
stop();
misionExito._alpha = 0;
misionExito.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 350) {
this.onEnterFrame = null;
desaparecer();
}
};
Symbol 687 MovieClip [traslapeNegro] Frame 1
function aparecer() {
negro.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
gotoAndStop (5);
}
};
}
stop();
negro._alpha = 0;
negro.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 100) {
this.onEnterFrame = null;
aparecer();
}
};
Symbol 687 MovieClip [traslapeNegro] Frame 5
stop();
Symbol 702 Button
on (release) {
_root.cambiarCursor("vacio");
_root.contenedor1.attachMovie("creditos", "tran", 4);
}
Symbol 723 MovieClip [misionFinalExitosa] Frame 1
_root.calcularEficiencia();
muertosTotal = (_root.muertos + _root.muertos1) + _root.muertos2;
bajasTotal = (_root.bajas + _root.bajas1) + _root.bajas2;
tirosHechosTotal = (_root.tirosHechos + _root.tirosHechos1) + _root.tirosHechos2;
vecesMuertoTotal = (_root.vecesMuerto + _root.vecesMuertos1) + _root.vecesMuertos2;
efiMisi1 = _root.ef1;
efiMisi2 = _root.ef2;
ef3 = _root.eficiencia;
efiMisi3 = _root.eficiencia + " %";
eficienciaTotal = Math.round(((efiMisi1 + efiMisi2) + ef3) / 3) + " %";
Instance of Symbol 728 MovieClip in Symbol 729 MovieClip [creditos] Frame 1
onClipEvent (load) {
_root.terminaronCreditos = false;
_y = 500;
this.onEnterFrame = function () {
if (_y > -580) {
_y = (_y - 1.5);
} else {
t++;
if (t >= 75) {
if (_alpha > 0) {
_alpha = (_alpha - 2);
} else {
_root.terminaronCreditos = true;
this.onEnterFrame = null;
}
}
}
};
}
Symbol 730 MovieClip [cursorCasco] Frame 1
stop();
Symbol 734 MovieClip [objetivoCompleto] Frame 1
function desaparecer() {
objetivo.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor.attachMovie("vacio", va, 2);
}
};
}
stop();
objetivo._alpha = 0;
objetivo.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 250) {
this.onEnterFrame = null;
desaparecer();
}
};
Symbol 749 MovieClip [hasSidoDescubierto] Frame 1
function desaparecer() {
objetivo.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor.attachMovie("vacio", va, 2);
}
};
}
stop();
objetivo._alpha = 0;
objetivo.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 250) {
this.onEnterFrame = null;
desaparecer();
}
};
Symbol 751 MovieClip [manoAlemana] Frame 1
stop();
Symbol 756 Button
on (release) {
getURL ("http://alfaflash.webcindario.com", "_blank");
}
Symbol 757 Button
on (release) {
_root.pararMusExito();
_root.tocarMusicaMenu();
_root.gotoAndStop(7);
_root.contenedor1.attachMovie("fotoMenu", "fom", 0);
_root.contenedor1.attachMovie("efectoPelicula", "efe", 1);
_root.contenedor1.attachMovie("menu", "me", 2);
_root.contenedor1.attachMovie("vacio", "tran", 5);
_root.contenedor1.attachMovie("vacio", "va", 4);
}
Symbol 760 Button
on (release) {
_root.terminaronCreditos = false;
_root.controlTramo.checkCreditos();
_root.cambiarCursor("vacio");
_root.contenedor1.attachMovie("creditos", "tran", 4);
}
Symbol 770 Button
on (release) {
gotoAndPlay (198);
_root.saltarIntro = true;
_root.cambiarCursor("vacio");
_root.arma = 10;
}
Symbol 781 MovieClip Frame 1
function deaparecer() {
an.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
nextFrame();
}
};
}
stop();
an._alpha = 0;
an.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 100) {
this.onEnterFrame = null;
deaparecer();
}
};
Symbol 781 MovieClip Frame 2
play();
Symbol 781 MovieClip Frame 198
function comenzamos() {
an2.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 100) {
this.onEnterFrame = null;
desaparecer();
}
};
}
function desaparecer() {
an2.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
aparecerAn3();
}
};
}
function aparecerAn3() {
an3.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 100) {
this.onEnterFrame = null;
desaparecerAn3();
}
};
}
function desaparecerAn3() {
an3.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
aparecerTitu();
}
};
}
function aparecerTitu() {
_root.pararMusicaMenu();
_root.sonidoAccionIni.start();
titu.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 100) {
this.onEnterFrame = null;
desaparecerTitu();
}
};
}
function desaparecerTitu() {
titu.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.gotoAndPlay(10);
}
};
}
stop();
an2._alpha = 0;
an3._alpha = 0;
titu._alpha = 0;
_root.tocarMusicaMenu();
if (_root.saltarIntro) {
_root.gotoAndPlay(10);
} else {
comenzamos();
}
Symbol 784 Button
on (press) {
_root.pararMusicaMenu();
_root.gotoAndStop(9);
_root.contenedor1.attachMovie("intro", "i", 0);
_root.tocarOlas();
_root.contenedor1.attachMovie("vacio", "v", 2);
}
Symbol 785 Button
on (press) {
_root.gotoAndStop(7);
_root.contenedor1.attachMovie("menu", "me", 2);
}
Symbol 802 MovieClip Frame 1
stop();
tic1._visible = 0;
tic2._visible = 1;
tic3._visible = 0;
_root.e = 5;
_root.qv = 5;
sys = "\n\n";
sys = sys + "Make the game easier or more difficult, default to medium.\n";
sys = sys + "Difficulty adjusts thing like damage dealt and taken, accuracy of shots and intelligence of enemies.";
texto1 = sys;
texto2 = "Please take a minute to read this important information.";
texto3 = "to show blood , affects gunpowder and environmental sound : All actived";
box1.onPress = function () {
if (tic1._visible == 0) {
tic1._visible = 1;
tic2._visible = 0;
tic3._visible = 0;
_root.e = 5;
_root.qv = 2;
} else {
tic1._visible = 0;
_root.e = 5;
_root.qv = 5;
}
};
box2.onPress = function () {
if (tic2._visible == 0) {
tic2._visible = 1;
tic1._visible = 0;
tic3._visible = 0;
_root.e = 5;
_root.qv = 5;
} else {
tic2._visible = 0;
_root.e = 5;
_root.qv = 5;
}
};
box3.onPress = function () {
if (tic3._visible == 0) {
tic3._visible = 1;
tic1._visible = 0;
tic2._visible = 0;
_root.e = 10;
_root.qv = 20;
} else {
tic1._visible = 0;
_root.e = 5;
_root.qv = 5;
}
};
box4.onPress = function () {
titulo = "Efficiency";
sys = "Your efficiency will be evaluated according at following:\n";
sys = sys + "1.- Rapidity Which you kill your enenmies.\n";
sys = sys + "2.- times you have died.\n";
sys = sys + "3.- Amount of loss of your Squad.\n";
sys = sys + "4.- Ammo Spent.\n";
sys = sys + "You would need at least 50% of efficiency.\n";
sys = sys + " to go on to the next mission.\n";
sys = sys + "If you failed in any mission will be returned to the beginning the game.\n";
sys = sys + "Anyway if you die, you will be put in action in the some place.";
texto1 = sys;
};
box4.onRollOut = function () {
titulo = "Difficulty";
sys = "\n\n";
sys = sys + "Make the game easier or more difficult, default to medium.\n";
sys = sys + "Difficulty adjusts thing like damage dealt and taken, accuracy of shots and intelligence of enemies.";
texto1 = sys;
};
Symbol 805 MovieClip [configuracion] Frame 1
stop();
Symbol 814 MovieClip Frame 1
stop();
Instance of Symbol 809 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
if (_root.arma == 3) {
_root.aviDerr++;
_parent.gotoAndPlay(2);
}
}
}
Instance of Symbol 814 MovieClip in Symbol 815 MovieClip [avion] Frame 1
onClipEvent (load) {
velx = 3 + random(3);
this.onEnterFrame = function () {
if (_root.aviDerr < _root.AviTotal) {
if (this._x > -2300) {
this._x = this._x - velx;
} else {
this._x = -500;
}
} else {
t++;
this._x = this._x - velx;
if (t > 500) {
this._y = 900;
this.onEnterFrame = null;
}
}
};
}
Symbol 827 Button
on (release) {
_root.pararMusExito();
_root.tocarMusicaMenu();
_root.controlTramo.checkMision2();
_root.contenedor1.attachMovie("traslapeNegro", "tran", 6);
desaparece();
}
Symbol 834 MovieClip [mision1Exitosa] Frame 1
function desaparece() {
this.onEnterFrame = function () {
_root.mostrar = t;
t++;
if (t == 130) {
_root.mision1Cumplida = true;
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
_root.contenedor1.attachMovie("vacio", "va", 5);
this.onEnterFrame = null;
}
};
}
_root.pararMusicaMenu();
_root.tocarMusExito();
_root.calcularEficiencia();
muertos = _root.muertos;
bajas = _root.bajas;
tirosHechos = _root.tirosHechos;
vecesMuerto = _root.vecesMuerto;
eficiencia = _root.eficiencia + " %";
_root.muertos1 = _root.muertos;
_root.bajas1 = _root.bajas;
_root.tirosHechos1 = _root.tirosHechos;
_root.vecesMuerto1 = _root.vecesMuerto;
_root.eficiencia1 = _root.eficiencia + " %";
_root.ef1 = _root.eficiencia;
Symbol 845 Button
on (release) {
_root.pararMusFalla();
_root.gotoAndStop(7);
_root.tocarMusicaMenu();
_root.contenedor1.attachMovie("fotoMenu", "fom", 0);
_root.contenedor1.attachMovie("efectoPelicula", "efe", 1);
_root.contenedor1.attachMovie("menu", "me", 2);
_root.contenedor1.attachMovie("vacio", "tran", 5);
_root.contenedor1.attachMovie("vacio", "va", 4);
}
Symbol 853 MovieClip [misionFallada] Frame 1
_root.pararMusicaMenu();
_root.tocarMusFalla();
_root.calcularEficiencia();
muertos = _root.muertos;
bajas = _root.bajas;
tirosHechos = _root.tirosHechos;
vecesMuerto = _root.vecesMuerto;
eficiencia = _root.eficiencia + " %";
Symbol 857 MovieClip [successfulMission1] Frame 1
function desaparecer() {
objetivo.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor.attachMovie("vacio", va, 2);
}
};
}
stop();
objetivo._alpha = 0;
objetivo.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 250) {
this.onEnterFrame = null;
desaparecer();
}
};
Symbol 868 Button
on (release) {
_root.pararMusExito();
_root.tocarMusicaMenu();
_root.controlTramo.checkMision3();
_root.contenedor1.attachMovie("traslapeNegro", "tran", 6);
desaparece();
}
Symbol 877 MovieClip [mision2Exitosa] Frame 1
function desaparece() {
this.onEnterFrame = function () {
_root.mostrar = t;
t++;
if (t == 130) {
_root.mision1Cumplida = true;
_root.cambiarCursor("mano");
_root.arma = 8;
_root.contenedor1.attachMovie("vacio", "va", 5);
this.onEnterFrame = null;
}
};
}
_root.pararMusicaMenu();
_root.tocarMusExito();
_root.calcularEficiencia();
muertos = _root.muertos + _root.muertosCasa2;
bajas = _root.bajas;
tirosHechos = _root.tirosHechos;
vecesMuerto = _root.vecesMuerto;
eficiencia = _root.eficiencia + " %";
_root.muertos2 = _root.muertos;
_root.bajas2 = _root.bajas;
_root.tirosHechos2 = _root.tirosHechos;
_root.vecesMuerto2 = _root.vecesMuerto;
_root.eficiencia2 = _root.eficiencia + " %";
_root.ef2 = _root.eficiencia;
Symbol 881 MovieClip [successfulMission2] Frame 1
function desaparecer() {
objetivo.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor.attachMovie("vacio", va, 2);
}
};
}
stop();
objetivo._alpha = 0;
objetivo.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 250) {
this.onEnterFrame = null;
desaparecer();
}
};
Symbol 882 MovieClip Frame 1
play();
Instance of Symbol 602 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
if (_root.girarRuedas) {
this._rotation = this._rotation + 10;
}
if (_root.pararRuedas) {
this.onEnterFrame = null;
}
};
}
Instance of Symbol 602 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
this.onEnterFrame = function () {
if (_root.girarRuedas) {
this._rotation = this._rotation + 10;
}
if (_root.pararRuedas) {
this.onEnterFrame = null;
}
};
}
Symbol 882 MovieClip Frame 21
stop();
Symbol 887 MovieClip [successfulMission3] Frame 1
function desaparecer() {
objetivo.onEnterFrame = function () {
this._alpha--;
if (this._alpha < 0) {
this.onEnterFrame = null;
_root.contenedor.attachMovie("vacio", va, 2);
}
};
}
stop();
objetivo._alpha = 0;
objetivo.onEnterFrame = function () {
this._alpha++;
if (this._alpha >= 250) {
this.onEnterFrame = null;
desaparecer();
}
};
Symbol 888 MovieClip [ofensivaTierra] Frame 1
gotoAndPlay (5);
Instance of Symbol 633 MovieClip in Symbol 888 MovieClip [ofensivaTierra] Frame 1
onClipEvent (load) {
}
Symbol 888 MovieClip [ofensivaTierra] Frame 3
Symbol 888 MovieClip [ofensivaTierra] Frame 5
if (_root.muertosTierra > 0) {
gotoAndStop (15);
} else {
play();
}
Symbol 888 MovieClip [ofensivaTierra] Frame 10
stop();
Instance of Symbol 633 MovieClip in Symbol 888 MovieClip [ofensivaTierra] Frame 10
onClipEvent (load) {
function intervaloDisparo() {
t3 = (tc = 0);
r = 50;
this.onEnterFrame = function () {
t3++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 10 + random(40);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
tc++;
if (tc >= 15) {
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
morirAlAzar();
tc = 0;
}
}
if (_root.muertosTierra >= 8) {
tm++;
if (tm >= 100) {
_root.contenedor1.ta.muertosAmi = _root.contenedor1.ta.muertosAmi + 6;
this.onMouseDown = null;
this.onEnterFrame = null;
morirAlAzar();
}
}
};
}
function morirAlAzar() {
_root.muertosTierra++;
this.r = random(3);
if (this.r == 0) {
this.attachMovie("muerto", "mu3", 0);
} else if (this.r == 1) {
this.attachMovie("muerto2", "mu3", 0);
} else {
this.attachMovie("muerto3", "mu3", 0);
}
}
this.attachMovie("disparaIzq", "co2", 0);
this._y = 0;
intervaloDisparo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea)) {
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
morirAlAzar();
}
};
}
Symbol 888 MovieClip [ofensivaTierra] Frame 15
stop();
Symbol 908 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 5
play();
Symbol 908 MovieClip Frame 10
stop();
Instance of Symbol 192 MovieClip in Symbol 908 MovieClip Frame 10
onClipEvent (load) {
this.onEnterFrame = function () {
tr++;
if (tr >= 20) {
this._x = random(100);
tr = 0;
}
};
}
Instance of Symbol 192 MovieClip in Symbol 908 MovieClip Frame 10
onClipEvent (load) {
this.onEnterFrame = function () {
tr++;
if (tr >= 30) {
this._x = random(100);
tr = 0;
}
};
}
Instance of Symbol 192 MovieClip in Symbol 908 MovieClip Frame 10
onClipEvent (load) {
this.onEnterFrame = function () {
tr++;
if (tr >= 10) {
this._x = random(100);
tr = 0;
}
};
}
Symbol 922 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 922 MovieClip Frame 5
play();
Symbol 922 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 922 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if (_root.tramo == "bunker") {
_parent._parent.aleBunker._x = -880;
_parent._parent.aleBunker._y = 11;
this.onEnterFrame = null;
posicion(0, 0, 25, 25, 70, -10, 50, 50);
}
};
}
function posicion(x1, y1, sx1, sy1, x2, y2, sx2, sy2) {
if (_root.salidaBunker == 0) {
this._x = x1;
this._y = y1;
this._xscale = sx1;
this._yscale = sy1;
_root.salidaBunker = 1;
velx = -0.5;
} else if (_root.salidaBunker == 1) {
this._x = x2;
this._y = y2;
this._xscale = sx2;
this._yscale = sy2;
_root.salidaBunker = 0;
velx = -1;
}
salir();
}
function salir() {
t1 = 0;
this.attachMovie("arranca", "arr", 0);
this.onEnterFrame = function () {
t1++;
tm++;
_x = (_x + velx);
if (t1 == 30) {
this.attachMovie("ataca", "co2", 0);
velx = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
tc++;
if (tc >= 50) {
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
tc = 0;
}
}
if (tm >= 150) {
this.attachMovie("muerto2", "mu3", 0);
_root.contenedor1.ta.muertosAmi = _root.contenedor1.ta.muertosAmi + 8;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea)) {
this.attachMovie("muerto2", "mu3", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
Symbol 940 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 940 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 940 MovieClip Frame 5
play();
Symbol 940 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 940 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if (_root.tramo == "bunker") {
_parent._parent.clip1._x = -760;
_parent._parent.clip1._y = 20;
this.onEnterFrame = null;
posicion(-95, -17, 20, 20, -105, -10, 25, 25, -50, 0, 30, 30, -55, 25, 55, 55);
} else if (_root.tramo == "camino") {
this.onEnterFrame = null;
posicion(250, 50, 100, 100, 280, 15, 60, 60, 190, -22, 30, 30, 225, -22, 30, 30, 260, 15, 60, 60);
} else if (_root.tramo == "cementerio") {
this.onEnterFrame = null;
posicion(515, -30, 30, 30, 670, -35, 35, 35, 705, 20, 60, 60, 705, 5, 45, 45);
} else if (_root.tramo == "rejas") {
this.onEnterFrame = null;
posicion(945, -10, 50, 50, 1010, -10, 50, 50, 970, 30, 65, 65, 820, 40, 70, 70);
} else if ((((_root.tramo == "casa1") || (_root.tramo == "infiltracion")) || (_root.tramo == "casa2")) || (_root.tramo == "camion")) {
this.gotoAndStop(1);
} else if (_root.tramo == "balacera") {
this.onEnterFrame = null;
posicion(1240, 25, 100, 100, 1200, -25, 50, 50, 1190, -45, 40, 40, 1160, -45, 40, 40);
}
};
}
function posicion(x1, y1, sx1, sy1, x2, y2, sx2, sy2, x3, y3, sx3, sy3, x4, y4, sx4, sy4) {
if (_root.salidaClip1 == 1) {
this._x = x1;
this._y = y1;
this._xscale = sx1;
this._yscale = sy1;
_root.salidaClip1 = 2;
} else if (_root.salidaClip1 == 2) {
this._x = x2;
this._y = y2;
this._xscale = sx2;
this._yscale = sy2;
_root.salidaClip1 = 3;
} else if (_root.salidaClip1 == 3) {
this._x = x3;
this._y = y3;
this._xscale = sx3;
this._yscale = sy3;
_root.salidaClip1 = 4;
} else if (_root.salidaClip1 == 4) {
this._x = x4;
this._y = y4;
this._xscale = sx4;
this._yscale = sy4;
_root.salidaClip1 = 1;
}
salir();
}
function salir() {
t1 = 0;
this.attachMovie("corre2", "co1", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 == 20) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
tm = 0;
r = 20;
this.onEnterFrame = function () {
t3++;
tm++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 10 + random(30);
if (r > 30) {
_root.chock();
}
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 50) {
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
td = 0;
}
}
if (tm >= 225) {
this.attachMovie("muerto2", "mu3", 0);
_root.contenedor1.ta.muertosAmi = _root.contenedor1.ta.muertosAmi + 8;
this.onEnterFrame = null;
}
};
}
velx = -2;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
this.attachMovie("muerto2", "mu3", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
Symbol 941 MovieClip Frame 1
stop();
Instance of Symbol 814 MovieClip in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
_parent._x = -600;
_parent._y = 900;
}
Symbol 941 MovieClip Frame 5
play();
Symbol 941 MovieClip Frame 10
stop();
Instance of Symbol 814 MovieClip in Symbol 941 MovieClip Frame 10
onClipEvent (load) {
_parent._x = -600;
_parent._y = -50;
this.onEnterFrame = function () {
t++;
_x = (_x - 3);
_y = (_y + (Math.sin(_x / 50) / 2));
if (t == 425) {
gotoAndPlay (2);
} else if (t > 525) {
_x = 50;
_y = 10;
t = 0;
}
if (_root.tramo == "bunker") {
_parent.gotoAndStop(1);
this.onEnterFrame = null;
}
};
}
Symbol 958 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 958 MovieClip Frame 5
play();
Symbol 958 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 958 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if (_root.tramo == "bunker") {
_parent._parent.clip3._x = -760;
_parent._parent.clip3._y = 20;
this.onEnterFrame = null;
posicion(80, 0, 60, 60, -60, 40, 60, 60, -100, 0, 30, 30, -50, 25, 50, 50);
} else if ((_root.tramo == "avance1") or (_root.tramo == "camino")) {
this.onEnterFrame = null;
posicion(200, 40, 80, 80, 250, 20, 60, 60, 320, 20, 60, 60, 203, -20, 35, 35);
} else if ((_root.tramo == "avance2") or (_root.tramo == "cementerio")) {
this.onEnterFrame = null;
posicion(540, -20, 40, 40, 600, -20, 40, 40, 760, -15, 45, 45, 680, 20, 60, 60);
} else if (_root.tramo == "rejas") {
this.onEnterFrame = null;
velx = 2;
posicion(720, -15, -45, 45, 740, 20, -55, 55, 830, -10, -50, 50, 860, 30, -60, 60);
} else if ((((_root.tramo == "casa1") or (_root.tramo == "infiltracion")) or (_root.tramo == "casa2")) or (_root.tramo == "camion")) {
this.gotoAndStop(1);
} else if (_root.tramo == "balacera") {
this.onEnterFrame = null;
posicion(1275, -20, 60, 60, 1120, -20, 60, 60, 1200, -20, 60, 60, 1150, -20, 60, 60);
}
};
}
function posicion(x1, y1, sx1, sy1, x2, y2, sx2, sy2, x3, y3, sx3, sy3, x4, y4, sx4, sy4) {
if (_root.salidaclip3 == 1) {
this._x = x1;
this._y = y1;
this._xscale = sx1;
this._yscale = sy1;
_root.salidaclip3 = 2;
} else if (_root.salidaclip3 == 2) {
this._x = x2;
this._y = y2;
this._xscale = sx2;
this._yscale = sy2;
_root.salidaclip3 = 3;
} else if (_root.salidaclip3 == 3) {
this._x = x3;
this._y = y3;
this._xscale = sx3;
this._yscale = sy3;
_root.salidaclip3 = 4;
} else if (_root.salidaclip3 == 4) {
this._x = x4;
this._y = y4;
this._xscale = sx4;
this._yscale = sy4;
_root.salidaclip3 = 1;
}
salir();
}
function salir() {
t1 = 0;
this.attachMovie("arranca", "arr", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 == 50) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r = 40;
this.onEnterFrame = function () {
t3++;
tm++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 5 + random(50);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
tc++;
if (tc >= 50) {
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
tc = 0;
}
}
if (tm >= 250) {
this.attachMovie("muerto3", "mu3", 0);
_root.contenedor1.ta.muertosAmi = _root.contenedor1.ta.muertosAmi + 6;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
velx = -2;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
this.attachMovie("muerto3", "mu3", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
Symbol 959 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 959 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 959 MovieClip Frame 5
play();
Symbol 959 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 959 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if (_root.tramo == "bunker") {
_parent._parent.clip4._x = -760;
_parent._parent.clip4._y = 20;
this.onEnterFrame = null;
posicion(-100, -5, 35, 35, -20, 0, 60, 60);
} else if ((_root.tramo == "avance1") or (_root.tramo == "camino")) {
this.onEnterFrame = null;
posicion(200, 5, 50, 50, 200, -18, 35, 35);
} else if ((_root.tramo == "avance2") or (_root.tramo == "cementerio")) {
this.onEnterFrame = null;
posicion(530, -37, 25, 25, 500, 20, 60, 60);
} else if (_root.tramo == "rejas") {
this.onEnterFrame = null;
velx = 2;
posicion(770, -10, -45, 45, 850, 0, -45, 45);
} else if ((((_root.tramo == "casa1") || (_root.tramo == "infiltracion")) || (_root.tramo == "casa2")) || (_root.tramo == "camion")) {
this.gotoAndStop(1);
} else if (_root.tramo == "balacera") {
this.onEnterFrame = null;
posicion(1100, 25, 80, 80, 1160, -20, 60, 60);
}
};
}
function posicion(x1, y1, sx1, sy1, x2, y2, sx2, sy2) {
if (_root.salidaClip4 == 1) {
this._x = x1;
this._y = y1;
this._xscale = sx1;
this._yscale = sy1;
_root.salidaClip4 = 2;
} else if (_root.salidaclip4 == 2) {
this._x = x2;
this._y = y2;
this._xscale = sx2;
this._yscale = sy2;
_root.salidaclip4 = 1;
}
salir();
}
function salir() {
t1 = 0;
this.attachMovie("corre2", "co1", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 == 10) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r = 40;
this.onEnterFrame = function () {
t3++;
tm++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 5 + random(50);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
tc++;
if (tc >= 50) {
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
tc = 0;
}
}
if (tm >= 200) {
this.attachMovie("muerto", "mu3", 0);
_root.contenedor1.ta.muertosAmi = _root.contenedor1.ta.muertosAmi + 5;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
velx = -3;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
this.attachMovie("muerto3", "mu3", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
Symbol 963 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 963 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("corre2", x, 0);
this._y = 900;
}
Symbol 963 MovieClip Frame 5
play();
Symbol 963 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 963 MovieClip Frame 10
onClipEvent (load) {
function chekearTramo() {
this.onEnterFrame = function () {
if ((_root.tramo == "desembarco") || (_root.tramo == "bunker")) {
_parent._parent.clipA._x = -650;
_parent._parent.clipA._y = 0;
this.onEnterFrame = null;
posicion(-415, 40, 50, 50, -410, 30, 40, 40, -220, 40, 90, 90, -320, 90, 90, 90);
} else if ((_root.tramo == "avance1") || (_root.tramo == "camino")) {
this.onEnterFrame = null;
posicion(120, 10, 50, 50, 300, 50, 80, 80, 200, 50, 80, 80, 120, 45, 70, 70);
} else if ((_root.tramo == "avance2") || (_root.tramo == "cementerio")) {
this.onEnterFrame = null;
posicion(690, 70, 90, 90, 920, 50, 90, 90, 900, 90, 110, 110, 625, -5, 50, 50);
} else if (_root.tramo == "rejas") {
this.onEnterFrame = null;
posicion(1160, 50, 80, 80, 1300, 90, 90, 90, 1060, 50, 80, 80, 1400, 50, 80, 80);
} else if ((((_root.tramo == "casa1") || (_root.tramo == "infiltracion")) || (_root.tramo == "casa2")) || (_root.tramo == "camion")) {
this.gotoAndStop(1);
} else if (_root.tramo == "balacera") {
this.onEnterFrame = null;
posicion(1820, 10, 90, 90, 1500, 10, 90, 90, 1820, 10, 90, 90, 1500, 10, 90, 90);
}
};
}
function posicion(x1, y1, sx1, sy1, x2, y2, sx2, sy2, x3, y3, sx3, sy3, x4, y4, sx4, sy4) {
if (_root.salidaAtaca == 1) {
this._x = x1;
this._y = y1;
this._xscale = sx1;
this._yscale = sy1;
_root.salidaAtaca = 2;
} else if (_root.salidaAtaca == 2) {
this._x = x2;
this._y = y2;
this._xscale = sx2;
this._yscale = sy2;
_root.salidaAtaca = 3;
} else if (_root.salidaAtaca == 3) {
this._x = x3;
this._y = y3;
this._xscale = sx3;
this._yscale = sy3;
_root.salidaAtaca = 4;
} else if (_root.salidaAtaca == 4) {
this._x = x4;
this._y = y4;
this._xscale = sx4;
this._yscale = sy4;
_root.salidaAtaca = 1;
}
salir();
}
function salir() {
t1 = 0;
this.attachMovie("corre2", "co1", 0);
this.onEnterFrame = function () {
t1++;
_x = (_x + velx);
if (t1 == 40) {
this.attachMovie("disparaIzq", "co2", 0);
this.onEnterFrame = null;
intervaloDisparo();
}
};
}
function intervaloDisparo() {
t3 = 0;
r = 20;
this.onEnterFrame = function () {
t3++;
tm++;
if (t3 == r) {
this.attachMovie("disparaIzq", "co2", 0);
r = 10 + random(30);
t3 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
tc++;
if (tc >= 50) {
this.attachMovie("muerto2", "mu", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onEnterFrame = null;
tc = 0;
}
}
if (tm >= 300) {
this.attachMovie("muerto", "mu3", 0);
_root.contenedor1.ta.muertosAmi = _root.contenedor1.ta.muertosAmi + 7;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
velx = -3;
chekearTramo();
this.onMouseDown = function () {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
this.attachMovie("muerto", "mu3", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
}
};
}
Symbol 966 MovieClip Frame 1
if (_root.tramo == "final") {
play();
} else {
stop();
_visible = 0;
}
Symbol 966 MovieClip Frame 5
stop();
Instance of Symbol 662 MovieClip in Symbol 966 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay (1);
_root.tiroatanque = 0;
_root.tanque = bueno;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea) and (_root.tanque == bueno)) {
if (_root.arma == 3) {
_root.tiroatanque++;
if (_root.tiroatanque >= 3) {
_parent.stop();
gotoAndPlay (2);
} else {
_parent.stop();
gotoAndPlay (156);
}
}
}
}
Symbol 976 MovieClip Frame 4
stop();
Symbol 976 MovieClip Frame 5
play();
Symbol 976 MovieClip Frame 100
gotoAndPlay (5);
Symbol 977 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 977 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("camionEstatico", "ce", 0);
_y = 0;
}
Symbol 977 MovieClip Frame 2
stop();
Instance of Symbol 350 MovieClip "clipCamion" in Symbol 977 MovieClip Frame 2
onClipEvent (load) {
function checkSubida() {
this.onMouseDown = function () {
if (_root.tramo == "camion") {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.heSubidoAlCamion = true;
this.onMouseDown = null;
subirAlCamion();
}
}
};
}
function subirAlCamion() {
this.attachMovie("camionPartiendo", "cp", 0);
checkBajada();
}
function checkBajada() {
this.onMouseDown = function () {
if (_root.tramo == "bombardeo") {
if (this.hitTest(_root.customCursor.hitarea2)) {
_root.heBajadoDelCamion = true;
this.attachMovie("camionBajando", "cb", 0);
this.onMouseDown = null;
}
}
};
}
this.attachMovie("camionEstatico", "ce", 0);
_y = 0;
checkSubida();
}
Symbol 978 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 978 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
this._y = 1000;
}
onClipEvent (enterFrame) {
if (_root.saltarIntro) {
_root.comenzando = true;
}
if (_root.comenzando) {
_parent.gotoAndPlay(10);
}
}
Symbol 978 MovieClip Frame 5
stop();
Symbol 978 MovieClip Frame 10
play();
Symbol 978 MovieClip Frame 15
stop();
Instance of Symbol 350 MovieClip in Symbol 978 MovieClip Frame 15
onClipEvent (load) {
if (_root.saltarIntro) {
velBotes = 200;
} else {
velBotes = 2;
}
i = 1;
while (i < 6) {
this.attachMovie("boteLleno", "bote" + i, i, {_x:random(300), _y:(i * 15) - 130, _xscale:30 + (i * 20), _yscale:30 + (i * 20)});
i++;
}
this.onEnterFrame = function () {
if ((!_root.bajanamericanos) && (_root.comenzando)) {
if (this._x < 2000) {
this._x = this._x + velBotes;
} else {
_root.llegadesembarco = true;
_root.bajanamericanos = true;
}
}
if (_root.tramo == "cementerio") {
this.onEnterFrame = null;
i = 1;
while (i < 6) {
this.attachMovie("boteVacio", "bote" + i, i, {_x:random(300), _y:(i * 15) - 130, _xscale:30 + (i * 20), _yscale:30 + (i * 20)});
i++;
}
}
};
}
Symbol 979 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 979 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 979 MovieClip Frame 5
play();
Symbol 979 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 979 MovieClip Frame 10
onClipEvent (load) {
i = 1;
while (i <= 6) {
this.attachMovie("americano", "ame" + i, i, {_x:random(300), _y:(i * 20) - 150, _xscale:70 + ((i * 20) / 2), _yscale:70 + ((i * 20) / 2)});
i++;
}
}
Symbol 980 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 980 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 980 MovieClip Frame 5
play();
Symbol 980 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 980 MovieClip Frame 10
onClipEvent (load) {
i = 1;
while (i <= 4) {
this.attachMovie("americano2", "ame" + i, i, {_x:random(300), _y:(i * 20) - 150, _xscale:70 + ((i * 20) / 4), _yscale:70 + ((i * 20) / 4)});
i++;
}
}
Instance of Symbol 906 MovieClip in Symbol 987 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon1", 0);
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 922 MovieClip "aleBunker" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
_xscale = 50;
_yscale = 50;
_y = 1000;
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 940 MovieClip "clip1" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 80;
this._yscale = 80;
_y = 1000;
}
Instance of Symbol 958 MovieClip "clip3" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 80;
this._yscale = 80;
_y = 1000;
}
Instance of Symbol 959 MovieClip "clip4" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 80;
this._yscale = 80;
_y = 1000;
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 963 MovieClip "clipA" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
_xscale = 50;
_yscale = 50;
_y = 1000;
}
Instance of Symbol 966 MovieClip "tanque" in Symbol 987 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 628 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Instance of Symbol 977 MovieClip "clipCamion" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 100;
this._yscale = 100;
_y = 0;
}
Instance of Symbol 978 MovieClip "botes" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
_x = -2400;
_y = 100;
}
Instance of Symbol 979 MovieClip "clipAme1" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
_x = -1000;
_y = 50;
}
Instance of Symbol 980 MovieClip "clipAme2" in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
this._x = -50;
this._y = 60;
this._xscale = 60;
this._yscale = 50;
}
Symbol 997 MovieClip Frame 1
stop();
Symbol 997 MovieClip Frame 2
play();
Symbol 997 MovieClip Frame 105
gotoAndPlay (1);
Instance of Symbol 997 MovieClip "puerta2" in Symbol 999 MovieClip Frame 1
onClipEvent (load) {
abiertaPuerta2 = false;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitareaLlave)) {
abiertaPuerta2 = true;
_root.ext1.casa2.fachada2.puerta2.gotoAndPlay(2);
_root.ext1.clipGuardia.gotoAndPlay(1);
} else if (this.hitTest(_root.customCursor.hitarea2)) {
_root.exibirDialogo("You need a key , talk to the guard's soldier");
}
}
onClipEvent (enterFrame) {
if (abiertaPuerta2 && (_root.ext1.casa2._xscale < 245)) {
_root.ext1.casa2._x = _root.ext1.casa2._x + 5;
_root.ext1.casa2._y = _root.ext1.casa2._y - 2;
_root.ext1.casa2._xscale = _root.ext1.casa2._xscale + 10;
_root.ext1.casa2._yscale = _root.ext1.casa2._yscale + 6;
if (_root.ext1.casa2._xscale > 240) {
_root.ext1.casa2._x = 939;
_root.ext1.casa2._y = 12;
_root.ext1.casa2._xscale = 69;
_root.ext1.casa2._yscale = 78;
_root.contenedor1.attachMovie("casa2", "ca2", 0);
_root.tramo = "casa2";
_root.lugar = "interior2";
_root.meVen = true;
_root.ext1._y = 900;
_root.ext2._y = 900;
abiertaPuerta2 = false;
_root.contenedor1.ca2.casona2.clip1Casa2.gotoAndStop(5);
_root.contenedor1.ca2.casona2.clip2Casa2.gotoAndStop(5);
_root.contenedor1.ca2.casona2.clip3Casa2.gotoAndStop(5);
_root.contenedor1.ca2.casona2.clip4Casa2.gotoAndStop(5);
_root.ext2.clipAme1.gotoAndStop(1);
}
}
}
Instance of Symbol 997 MovieClip "puerta1" in Symbol 1006 MovieClip Frame 1
onClipEvent (load) {
abiertaPuerta1 = false;
}
onClipEvent (mouseDown) {
if (_root.tramo == "entradaCasa1") {
if (this.hitTest(_root.customCursor.hitarea2) && (!_root.conseguidaMisionCasa1)) {
abiertaPuerta1 = true;
_root.ext1.casa1.fachada1.puerta1.gotoAndPlay(2);
}
}
}
onClipEvent (enterFrame) {
if (abiertaPuerta1 && (_root.ext1.casa1._xscale < 250)) {
_root.ext1.casa1._x = _root.ext1.casa1._x + 5;
_root.ext1.casa1._y = _root.ext1.casa1._y - 2;
_root.ext1.casa1._xscale = _root.ext1.casa1._xscale + 10;
_root.ext1.casa1._yscale = _root.ext1.casa1._yscale + 5;
_root.ext1.reja._visible = 0;
if (_root.ext1.casa1._xscale > 240) {
_root.ext1.casa1._x = 75;
_root.ext1.casa1._y = 17;
_root.ext1.casa1._xscale = 47;
_root.ext1.casa1._yscale = 48;
_root.ext1.reja._visible = 100;
_root.contenedor1.attachMovie("casa1", "ca1", 0);
_root.tramo = "casa1";
_root.lugar = "interior1";
_root.meVen = true;
_root.cambiarArma("carabina");
_root.arma = 2;
_root.ext1._y = 900;
abiertaPuerta1 = false;
_root.contenedor1.ca1.casona.clip1Casa1.gotoAndStop(5);
_root.contenedor1.ca1.casona.clip2Casa1.gotoAndStop(5);
_root.contenedor1.ca1.casona.clip3Casa1.gotoAndStop(5);
_root.contenedor1.ca1.casona.clip4Casa1.gotoAndStop(5);
_root.ext2.clipAme1.gotoAndStop(1);
}
}
}
Instance of Symbol 1006 MovieClip "fachada1" in Symbol 1012 MovieClip Frame 1
/* no clip actions */
Symbol 1013 MovieClip Frame 1
stop();
Instance of Symbol 350 MovieClip in Symbol 1013 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("vacio", x, 0);
_y = 900;
}
Symbol 1013 MovieClip Frame 5
play();
Symbol 1013 MovieClip Frame 10
stop();
Instance of Symbol 350 MovieClip in Symbol 1013 MovieClip Frame 10
onClipEvent (load) {
function guardiaCamina() {
t2 = 0;
this.attachMovie("camina", "cag", 0);
this.onEnterFrame = function () {
this._x = this._x + velx2;
t2++;
if (t2 >= 180) {
velx2 = -velx2;
this._xscale = -this._xscale;
t2 = 0;
}
if (_root.exibiendoArma & _root.meVen) {
t3++;
if (t3 == 20) {
_root.chockFatal();
this.attachMovie("disparaIzq", "co2", 0);
t3 = 0;
}
}
if (_root.tramo == "afuera") {
t4++;
if (t4 == 30) {
_root.chock();
this.attachMovie("disparaIzq", "co2", 0);
t4 = 0;
}
if (this.hitTest(_root.customCursor.hitarea) && (_root.dispara)) {
td++;
if (td >= 30) {
this.attachMovie("muerto2", "mu3", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
_root.muertoGuardia = true;
}
}
}
};
}
function dialogoGuardia() {
this.onEnterFrame = function () {
if (_root.exibiendoArma && (_root.meVen)) {
t5++;
if (t5 == 20) {
_root.chockFatal();
this.attachMovie("disparaIzq", "co2", 0);
t5 = 0;
}
}
};
this.onMouseDown = function () {
if (_root.tramo == "guardia") {
if (this.hitTest(_root.customCursor.hitarea2)) {
if (!_root.llaveEnPanel) {
hits++;
_root.mostrar = hits;
if (hits == 1) {
_root.exibirTexto(_root._xmouse, _root._ymouse - 40, " What do you want?");
_root.sonidoD1.start();
} else if (hits == 2) {
_root.exibirTexto(70, _root._ymouse + 25, "I've order , to enter to the roon of informations");
_root.sonidoD3.start();
} else if (hits == 3) {
_root.exibirTexto(_root._xmouse, _root._ymouse - 40, "You need the key . Is n't it ? ");
_root.sonidoD4.start();
} else if (hits == 4) {
_root.exibirTexto(70, _root._ymouse + 25, "Of course , give it to me, and later I will return it to hem");
_root.sonidoD2.start();
} else if (hits == 5) {
_root.exibirTexto(_root._xmouse, _root._ymouse - 40, "Very well , receive it . Don't delay a lot... ok?");
_root.sonidoD3.start();
_root.cambiarCursor("cursorLlave");
_root.arma = 6;
_root.cogeLlave = true;
_root.llaveRecibida = true;
this.onMouseDown = null;
this.onEnterFrame = null;
velx2 = actualVelx2;
guardiaCamina();
}
}
}
}
};
}
if (_root.muertoGuardia) {
this.onMouseDown = null;
this.onEnterFrame = null;
_parent.gotoAndStop(1);
}
_parent._parent.clipGuardia._x = 0;
_parent._parent.clipGuardia._y = 0;
this._x = 650;
this._y = 50;
this._xscale = 100;
this._yscale = 100;
velx2 = 1;
guardiaCamina();
this.onMouseDown = function () {
if (_root.tramo == "guardia") {
actualVelx2 = velx2;
if (this.hitTest(_root.customCursor.hitarea2)) {
this.onEnterFrame = null;
this.onMouseDown = null;
this.attachMovie("escondido", "cag", 0);
_root.exibirTexto(_root._xmouse, _root._ymouse - 40, " Heil Hithler!!. How are you soldier!!");
dialogoGuardia();
}
} else if (_root.tramo == "afuera") {
if (this.hitTest(_root.customCursor.hitarea) && (_root.arma == 1)) {
this.attachMovie("muerto2", "mu3", 0);
_root.muertos++;
_root.contenedor1.ta.muertos++;
this.onMouseDown = null;
this.onEnterFrame = null;
_root.muertoGuardia = true;
}
}
};
}
Instance of Symbol 628 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this.attachMovie("cajonSalud", "cajon2", 0);
}
Symbol 1023 Button
on (press) {
_root.contenedor1.attachMovie("configuracion", "co", 2);
_root.gotoAndStop(8);
}
Symbol 1044 Button
on (keyPress "<Space>") {
if (((!_root.cogeLlave) && (_root.arma != 10)) && (_root.lugar != "fallada")) {
varPress++;
if (varPress == 1) {
_root.cambiarArma("carabina");
_root.arma = 2;
destacarArmita();
_root.exibiendoArma = true;
} else if (varPress == 2) {
_root.cambiarCursor("bazooka");
_root.arma = 3;
destacarArmita();
_root.exibiendoArma = true;
} else if (varPress == 3) {
if (!_root.conseguidoTraje) {
_root.cambiarCursor("mano");
_root.arma = 0;
_root.exibiendoArma = false;
} else {
_root.cambiarCursor("manoAlemana");
_root.arma = 8;
_root.exibiendoArma = false;
}
destacarArmita();
} else if (varPress == 4) {
_root.cambiarArma("sniper");
_root.arma = 1;
destacarArmita();
_root.exibiendoArma = true;
varPress = 0;
}
}
}