Frame 1
duh = 0;
fscommand ("flashstudio.setdxres", "\"640\",\"480\",\"16\"");
Frame 2
_quality = "HIGH";
Frame 3
n = int((getBytesLoaded() / getBytesTotal()) * 100);
if (n >= 5) {
gotoAndPlay (5);
} else {
barra.gotoAndStop(n);
}
Frame 4
gotoAndPlay (3);
Frame 5
n = int((getBytesLoaded() / getBytesTotal()) * 100);
if (n >= 100) {
gotoAndPlay (70);
} else {
barra.gotoAndStop(n);
}
Frame 6
gotoAndPlay (5);
Frame 7
x = _root._url;
u = false;
Frame 9
if (x.indexOf("file:") == 0) {
u = true;
gotoAndPlay ("domainOK");
}
Frame 11
if ((((x.indexOf("http://www.dzarchive.com") != -1) || (x.indexOf("http://www.iragination.com") != -1)) || (x.indexOf("newgrounds") != -1)) || (x.indexOf("ungrounded") != -1)) {
u = true;
gotoAndPlay ("domainOK");
}
Frame 22
stop();
Frame 23
prevFrame();
Frame 33
delete u;
delete x;
Frame 70
fscommand ("showmenu", "false");
Instance of Symbol 84 MovieClip in Frame 70
onClipEvent (keyDown) {
this.play();
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIP1");
}
}
Frame 385
function defaultKeys() {
_root.ARRIBA = 38;
_root.DER = 39;
_root.IZQ = 37;
_root.SHOOT = 17;
_root.SLIDEKEY = 16;
_root.PAUSEKEY = 13;
}
function restoreKeys() {
_root.recorder.ARRIBA = (_root.controles.data.ARRIBA = (_root.ARRIBA = 38));
_root.recorder.DER = (_root.controles.data.DER = (_root.DER = 39));
_root.recorder.IZQ = (_root.controles.data.IZQ = (_root.IZQ = 37));
_root.recorder.SHOOT = (_root.controles.data.SHOOT = (_root.SHOOT = 17));
_root.recorder.SLIDEKEY = (_root.controles.data.SLIDEKEY = (_root.SLIDEKEY = 16));
_root.controles.flush();
}
function aleatorio(a, b) {
return(Math.floor(Math.random() * ((b - a) + 1)) + a);
}
function m2s(tiempo) {
var _local1 = Math.floor(tiempo / 60000);
var _local2 = Math.floor((tiempo % 60000) / 1000);
if (_local1 < 10) {
_local1 = "0" + String(_local1);
}
if (_local2 < 10) {
_local2 = "0" + String(_local2);
}
return((("00:" + String(_local1)) + ":") + String(_local2));
}
_quality = "HIGH";
if (nivel == undefined) {
nivel = 2;
}
if (nmd[0] == undefined) {
_global.actores = new Array(Barrel, Bird, FloatDude, Metool, MetoolFlyer1, MetoolFlyer2, Pirate, PirateFaller, Sapo, Turbina);
_global.nmd = new Array();
for (i in actores) {
nmd[i] = actores[i].MAXDAMAGE;
}
}
defaultKeys();
controles = SharedObject.getLocal("fiscontroles");
if (controles.data.ARRIBA != null) {
ARRIBA = controles.data.ARRIBA;
}
if (controles.data.DER != null) {
DER = controles.data.DER;
}
if (controles.data.IZQ != null) {
IZQ = controles.data.IZQ;
}
if (controles.data.SHOOT != null) {
SHOOT = controles.data.SHOOT;
}
if (controles.data.SLIDEKEY != null) {
SLIDEKEY = controles.data.SLIDEKEY;
}
stopAllSounds();
fscommand ("trapallkeys", "true");
delete posX;
delete posY;
play();
Frame 429
totalBTN = 3;
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = false;
i++;
}
cheat = "";
Frame 442
stop();
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = true;
i++;
}
Instance of Symbol 110 MovieClip "cheatReader" in Frame 442
onClipEvent (load) {
cheatlist = ["bosses", "onemorechance", "allmovies"];
if (_root.cheat == "") {
read = true;
s = new Sound();
s.attachSound("cheater");
} else {
read = false;
}
}
onClipEvent (keyDown) {
function parse(clave) {
for (i in cheatlist) {
if (clave == cheatlist[i]) {
read = false;
s.start();
}
}
}
if (read) {
_root.cheat = _root.cheat + String.fromCharCode(Key.getAscii());
parse(_root.cheat);
}
}
Instance of Symbol 111 MovieClip "controldeFoco" in Frame 442
onClipEvent (load) {
if (_root.totalBTN == undefined) {
total = 2;
} else {
total = _root.totalBTN;
}
rutafoco = Selection.getFocus();
if (typeof(rutafoco) == "string") {
rutafoco = rutafoco.substring(0, rutafoco.lastIndexOf(".") + 1);
} else {
rutafoco = "_root.";
}
able = true;
}
onClipEvent (keyDown) {
function quien() {
var _local1 = Selection.getFocus();
var _local2 = _local1.lastIndexOf(".");
return(_local1.charAt(_local1.length - 1));
}
function ponerFoco(desde, modo) {
if (Selection.getFocus() == null) {
Selection.setFocus(rutafoco + "btn1");
return(undefined);
}
desde = Number(desde);
if (modo == 0) {
((desde < total) ? (desde++) : (desde = 1));
Selection.setFocus((rutafoco + "btn") + desde);
return(undefined);
}
if (modo == 1) {
((desde > 1) ? (desde--) : (desde = total));
Selection.setFocus((rutafoco + "btn") + desde);
return(undefined);
}
}
if (Key.isDown(37) || (Key.isDown(39))) {
Selection.setFocus(Selection.getFocus());
}
if (Key.isDown(40)) {
ponerFoco(quien(), 0);
}
if (Key.isDown(38)) {
ponerFoco(quien(), 1);
}
}
Frame 443
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = false;
i++;
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 443
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Frame 458
stop();
Instance of Symbol 111 MovieClip in Frame 458
onClipEvent (keyDown) {
if (Key.isDown(40) || (Key.isDown(38))) {
Selection.setFocus("_root.btn0");
}
}
Frame 468
gotoAndPlay ("xoptionsback");
Frame 469
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = false;
i++;
}
Frame 484
stop();
Instance of Symbol 111 MovieClip in Frame 484
onClipEvent (keyDown) {
if (Key.isDown(40) || (Key.isDown(38))) {
Selection.setFocus("_root.btn0");
}
}
Frame 494
gotoAndPlay ("xmenu");
Frame 496
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = false;
i++;
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 496
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Frame 511
stop();
Instance of Symbol 111 MovieClip in Frame 511
onClipEvent (keyDown) {
if (Key.isDown(40) || (Key.isDown(38))) {
Selection.setFocus("_root.btn0");
}
}
Frame 521
gotoAndPlay ("xoptionsback");
Frame 523
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = false;
i++;
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 523
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Frame 538
stop();
Instance of Symbol 213 MovieClip "scoretable" in Frame 538
onClipEvent (load) {
function procesar() {
var temp;
_visible = ((loaded = true));
_root.msg.text = "";
exito.start();
var i = 0;
while (i <= 9) {
_root.scoretable["name" + i].text = this["NAME" + i];
_root.scoretable["score" + i].text = this["SCORE" + i];
if (eval ("this.SCORE" + i) != 0) {
temp = (18750 - eval ("this.SCORE" + i)) / 0.021;
_root.scoretable["time" + i].text = _root.m2s(temp);
} else {
_root.scoretable["time" + i].text = "Empty";
}
trace((_root.scoretable["name" + i].text + "\t") + _root.scoretable["score" + i].text);
i++;
}
}
_visible = false;
u = false;
variables = new LoadVars();
datos = new LoadVars();
datos.onLoad = procesar;
variables.filename = ("fis" + _root.nivel) + ".sco";
variables.scoresize = 10;
variables.action = "VIEW";
variables.viewtype = "FLASH";
variables.sendAndLoad("http://www.dzarchive.com/iragination/hiscotumay.php", datos, "GET");
mwait = getTimer() + 40000;
loaded = false;
failed = new Sound();
failed.attachSound("fhitted");
exito = new Sound();
exito.attachSound("cheater");
}
onClipEvent (enterFrame) {
if (((getTimer() >= mwait) && (!loaded)) && (!u)) {
_root.msg.text = "No data file found";
failed.start();
u = true;
this.nextFrame();
}
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 538
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Instance of Symbol 111 MovieClip in Frame 538
onClipEvent (keyDown) {
if (Key.isDown(40) || (Key.isDown(38))) {
Selection.setFocus("_root.btn0");
}
}
Frame 547
gotoAndPlay ("xoptionsback");
Frame 557
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = false;
i++;
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 557
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Frame 572
BTNpress = new Sound();
BTNpress.attachSound("BTNpress");
stop();
Instance of Symbol 110 MovieClip in Frame 572
onClipEvent (keyDown) {
_root.IZQ = Key.getCode();
_root.BTNpress.start();
_root.controles.data.IZQ = _root.IZQ;
_root.nextFrame();
}
Instance of Symbol 110 MovieClip in Frame 573
onClipEvent (keyDown) {
_root.DER = Key.getCode();
_root.BTNpress.start();
_root.controles.data.DER = _root.DER;
_root.nextFrame();
}
Instance of Symbol 110 MovieClip in Frame 574
onClipEvent (keyDown) {
_root.ARRIBA = Key.getCode();
_root.BTNpress.start();
_root.controles.data.ARRIBA = _root.ARRIBA;
_root.nextFrame();
}
Instance of Symbol 110 MovieClip in Frame 575
onClipEvent (keyDown) {
_root.SHOOT = Key.getCode();
_root.BTNpress.start();
_root.controles.data.SHOOT = _root.SHOOT;
_root.nextFrame();
}
Instance of Symbol 110 MovieClip in Frame 576
onClipEvent (keyDown) {
_root.SLIDEKEY = Key.getCode();
_root.BTNpress.start();
_root.controles.data.SLIDEKEY = _root.SLIDEKEY;
_root.play();
}
Frame 580
allowVscroll = false;
currentdamage = (windx = 0);
Instance of Symbol 232 MovieClip "mapa" in Frame 580
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 580
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (_visible) {
this.gotoAndStop(1);
if (((_x >= 256) || (_x <= 0)) || (impact)) {
if (!u) {
this.gotoAndStop("hit");
u = 1;
} else {
_x = 120;
_y = -1000;
this.gotoAndStop(1);
heroe.shooting = false;
_visible = false;
u = 0;
}
} else {
_x = (_x + (dx - heroe.scrollspeed));
_y = (_y - heroe.vscrollspeed);
}
} else {
impact = false;
}
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 580
onClipEvent (load) {
heroe = eval (_root.heroe);
yi = heroe._y - _y;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if (heroe.horizontal || (heroe.scrollspeed)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - yi);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - yi) - 6);
_visible = true;
return(undefined);
}
}
function scale() {
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
_xscale = heroe._xscale;
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - yi);
scale();
drawFrame();
} else {
_visible = false;
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 580
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Frame 583
stop();
Frame 587
gotoAndPlay ("xoptionsback");
Frame 599
i = 1;
while (i <= totalBTN) {
eval ("btn" + i).enabled = false;
i++;
}
Instance of Symbol 111 MovieClip in Frame 608
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
if (!v) {
n = n - 5;
}
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
v = true;
delete _root.loop;
}
}
Frame 632
delete i;
delete totalBTN;
delete BTNpress;
currentdamage = 0;
explo01 = new Sound();
explo01.attachSound("explo01");
hitted = new Sound();
hitted.attachSound("hitted");
fhitted = new Sound();
fhitted.attachSound("fhitted");
fdeath = new Sound();
fdeath.attachSound("explo10");
escudo = new Sound();
escudo.attachSound("escudo");
fscommand ("trapallkeys", "true");
stop();
Posy = 0;
estado = 0;
reveal = true;
if (cheat == "bosses") {
gotoAndPlay (1072);
} else {
gotoAndPlay (660);
}
if (cheat == "onemorechance") {
lives = 6;
} else {
lives = 2;
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 642
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Frame 649
stop();
totalBTN = 6;
Instance of Symbol 111 MovieClip "controldeFoco" in Frame 649
onClipEvent (load) {
if (_root.totalBTN == undefined) {
total = 2;
} else {
total = _root.totalBTN;
}
rutafoco = Selection.getFocus();
if (typeof(rutafoco) == "string") {
rutafoco = rutafoco.substring(0, rutafoco.lastIndexOf(".") + 1);
} else {
rutafoco = "_root.";
}
able = true;
}
onClipEvent (keyDown) {
function quien() {
var _local1 = Selection.getFocus();
var _local2 = _local1.lastIndexOf(".");
return(_local1.charAt(_local1.length - 1));
}
function ponerFoco(desde, modo) {
if (Selection.getFocus() == null) {
Selection.setFocus(rutafoco + "btn1");
return(undefined);
}
desde = Number(desde);
if (modo == 0) {
((desde < total) ? (desde++) : (desde = 1));
Selection.setFocus((rutafoco + "btn") + desde);
return(undefined);
}
if (modo == 1) {
((desde > 1) ? (desde--) : (desde = total));
Selection.setFocus((rutafoco + "btn") + desde);
return(undefined);
}
}
if (Key.isDown(37) || (Key.isDown(39))) {
Selection.setFocus(Selection.getFocus());
}
if (Key.isDown(40)) {
ponerFoco(quien(), 0);
}
if (Key.isDown(38)) {
ponerFoco(quien(), 1);
}
}
Instance of Symbol 110 MovieClip "levelSetter" in Frame 649
onClipEvent (load) {
function cambiarNivel(modo) {
if (modo == 1) {
((_root.nivel < 4) ? (_root.nivel++) : ((_root.nivel = 1)));
}
if (modo == -1) {
((_root.nivel > 1) ? (_root.nivel--) : ((_root.nivel = 4)));
}
_root.levelmc.gotoAndStop(_root.nivel);
switch (_root.nivel) {
case 1 :
factor = 0;
Freezeman.DAMAGE = 12;
Freezeman.SPEED = 10;
Freezeman.FLASHTIME = 70;
Tenguman.DAMAGE = 10;
Tenguman.FLASHTIME = 30;
break;
case 2 :
factor = 1;
Freezeman.DAMAGE = 4;
Freezeman.SPEED = 10;
Freezeman.FLASHTIME = 70;
Tenguman.DAMAGE = 2;
Tenguman.FLASHTIME = 30;
break;
case 3 :
factor = 2;
Freezeman.DAMAGE = 4;
Freezeman.SPEED = 10;
Freezeman.FLASHTIME = 75;
Tenguman.DAMAGE = 1.5;
Tenguman.FLASHTIME = 30;
break;
case 4 :
factor = 3;
Freezeman.DAMAGE = 4;
Freezeman.SPEED = 12;
Freezeman.FLASHTIME = 85;
Tenguman.DAMAGE = 1.5;
Tenguman.FLASHTIME = 50;
break;
default :
factor = 1;
Freezeman.DAMAGE = 4;
Freezeman.SPEED = 10;
Freezeman.FLASHTIME = 70;
Tenguman.DAMAGE = 2;
Tenguman.FLASHTIME = 30;
}
trace("Nivel: " + _root.nivel);
for (i in nmd) {
((factor == 0) ? ((actores[i].MAXDAMAGE = 1)) : ((actores[i].MAXDAMAGE = Math.ceil(nmd[i] * factor))));
trace((("damage " + i) + ": ") + actores[i].MAXDAMAGE);
}
}
}
onClipEvent (keyDown) {
if (Selection.getFocus().lastIndexOf("btn1") != -1) {
if (Key.isDown(39)) {
cambiarNivel(1);
}
if (Key.isDown(37)) {
cambiarNivel(-1);
}
}
}
Frame 654
gotoAndPlay ("xmenu");
Instance of Symbol 316 MovieClip in Frame 660
onClipEvent (keyDown) {
this.play();
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIPepisode1");
}
}
Frame 737
function aleatorio(a, b) {
return(Math.floor(Math.random() * ((b - a) + 1)) + a);
}
stopAllSounds();
_quality = "HIGH";
Instance of Symbol 316 MovieClip in Frame 737
onClipEvent (keyDown) {
if (Key.isDown(13)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIPMapaIntro");
}
}
Frame 786
stop();
Instance of Symbol 111 MovieClip in Frame 786
onClipEvent (keyUp) {
_root.nextFrame();
}
Instance of Symbol 111 MovieClip in Frame 788
onClipEvent (load) {
c = (i = 0);
xi = Math.abs(_x - _root.city._x);
}
onClipEvent (enterFrame) {
_x = (_root.city._x - xi);
c++;
if (c >= 2) {
c = 0;
i++;
if (i >= 10) {
i = 1;
}
initObj = {_x:_x + _root.aleatorio(-15, 15), _y:_y + _root.aleatorio(-50, 60)};
_root.exs.duplicateMovieClip("exs" + i, i, initObj);
}
}
Frame 789
play();
Frame 814
stop();
Instance of Symbol 111 MovieClip in Frame 814
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 817
play();
Frame 1017
_root.fader.duplicateMovieClip("fader300", 300);
Frame 1018
_root.fader300.play();
Instance of Symbol 111 MovieClip in Frame 1057
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
if (!v) {
n = n - 10;
}
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
v = true;
delete _root.loop;
}
}
Frame 1058
i = 1;
while (i <= 10) {
who = eval ("exs" + i);
who.removeMovieClip();
i++;
}
fader300.removeMovieClip();
delete i;
delete who;
ttotal = 0;
tmark = getTimer();
trace("Inicio:" + tmark);
if (cheat == "allmovies") {
gotoAndPlay (1485);
}
Frame 1072
duh = duh + _currentframe;
stopAllSounds();
if (cheat == "bosses") {
gotoAndStop ("F");
} else {
play();
}
Frame 1073
function aleatorio(a, b) {
return(Math.floor(Math.random() * ((b - a) + 1)) + a);
}
function defaultKeys() {
_root.ARRIBA = 38;
_root.DER = 39;
_root.IZQ = 37;
_root.SHOOT = 17;
_root.SLIDEKEY = 16;
_root.PAUSEKEY = 13;
}
checkpoint = _root._currentframe;
next = "B";
allowVscroll = false;
currentdamage = 0;
windx = 0;
fscommand ("trapallkeys", "true");
_quality = "LOW";
pausa = false;
nextOK = false;
stop();
Instance of Symbol 348 MovieClip "fade" in Frame 1073
onClipEvent (load) {
begin = (reveal = (hide = false));
DELAY = 40;
if (_root.reveal) {
this.gotoAndStop("reveal");
}
}
onClipEvent (enterFrame) {
if (begin) {
wait = true;
begin = false;
c = 0;
}
if (wait) {
c++;
if (c > DELAY) {
wait = false;
hide = true;
}
}
if (hide) {
play();
}
if (_root.reveal) {
this.gotoAndStop("reveal");
_root.reveal = false;
reveal = true;
}
if (reveal) {
play();
}
}
Instance of Symbol 349 MovieClip in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - (heroe.scrollspeed / 4));
_y = (_y - (heroe.vscrollspeed / 4));
}
Instance of Symbol 352 MovieClip in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - (heroe.scrollspeed / 3));
_y = (_y - (heroe.vscrollspeed / 3));
}
Instance of Symbol 352 MovieClip in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - (heroe.scrollspeed / 3));
_y = (_y - (heroe.vscrollspeed / 3));
}
Instance of Symbol 352 MovieClip in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - (heroe.scrollspeed / 3));
_y = (_y - (heroe.vscrollspeed / 3));
}
Instance of Symbol 354 MovieClip "scrollmask" in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 83 MovieClip in Frame 1073
onClipEvent (enterFrame) {
_x = (_x - _root.heroe.scrollspeed);
}
Instance of Symbol 356 MovieClip in Frame 1073
onClipEvent (enterFrame) {
_x = (_x - _root.heroe.scrollspeed);
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = false;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = false;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
diagonal = false;
}
Instance of Symbol 385 MovieClip "mapa" in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 417 MovieClip in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 419 MovieClip in Frame 1073
onClipEvent (load) {
heroe = _root.heroe;
u = false;
_visible = false;
_x = 1008;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - _root.heroe.vscrollspeed);
if (this.hitTest(heroe.sprite.hotzone) && (!u)) {
_root.nextOK = true;
u = true;
_root.posY = heroe._y;
_root.posX = heroe._x;
_root.nextFrame();
}
}
Instance of Symbol 83 MovieClip in Frame 1073
onClipEvent (enterFrame) {
_x = (_x - _root.heroe.scrollspeed);
}
Instance of Symbol 476 MovieClip [Sapo] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
}
Instance of Symbol 476 MovieClip [Sapo] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
}
Instance of Symbol 551 MovieClip [MetoolR&F] in Frame 1073
//component parameters
onClipEvent (construct) {
posX = 0;
posY = 0;
}
Instance of Symbol 552 MovieClip "topeizq" in Frame 1073
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 553 MovieClip "topeder" in Frame 1073
onClipEvent (load) {
_visible = false;
_x = 1024;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 552 MovieClip "topeabajo" in Frame 1073
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y - _root.heroe.vscrollspeed);
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1073
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1073
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if ((heroe.horizontal || (heroe.scrollspeed)) || (_root.windx)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function drawFrameWind() {
if (_root.windx && (!heroe.slide)) {
_visible = true;
}
}
function scale() {
_xscale = heroe._xscale;
if (_root.windx > 0) {
_xscale = (-1 * Math.abs(_xscale));
}
if (_root.windx < 0) {
_xscale = Math.abs(_xscale);
}
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
drawFrameWind();
} else {
_visible = false;
}
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1073
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 354 MovieClip "mascara" in Frame 1073
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1073
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
if (!cosas[i].pausa) {
cosas[i].ponerPausa();
}
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1073
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Instance of Symbol 111 MovieClip "music" in Frame 1073
onClipEvent (load) {
_root.intro = new Sound();
_root.intro.setVolume(100);
_root.intro.attachSound("MapaIntro");
_root.loop = new Sound();
_root.loop.attachSound("MapaLoop");
_root.loop.setVolume(100);
_root.intro.start();
}
onClipEvent (enterFrame) {
_root.intro.onSoundComplete = function () {
_root.loop.start(0, 99);
};
}
Frame 1074
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 595 MovieClip "trans" in Frame 1074
onClipEvent (load) {
dx = 8;
}
onClipEvent (enterFrame) {
if (_x > -256) {
_x = (_x - dx);
}
if (_x <= -256) {
_root.gotoAndStop(_root.next);
}
}
Frame 1092
heroe._x = heroe._x + 10;
heroe.doscroll = false;
allowVscroll = true;
windx = 0;
locks = 3;
next = "C";
unlocked = new Sound();
unlocked.attachSound("cheater");
stop();
Instance of Symbol 354 MovieClip "scrollmask" in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 178;
posY = 16;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 626;
posY = 64;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 1169;
posY = -400;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 467;
posY = -112;
diagonal = false;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 576;
posY = 64;
diagonal = false;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 1072;
posY = -400;
diagonal = false;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 657;
posY = -192;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 929;
posY = -48;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 994;
posY = -240;
diagonal = true;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 513;
posY = -192;
diagonal = false;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 753;
posY = -48;
diagonal = false;
}
Instance of Symbol 383 MovieClip [barrel] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 946;
posY = -240;
diagonal = false;
}
Instance of Symbol 598 MovieClip "mapa" in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 633 MovieClip "texturas" in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 636 MovieClip in Frame 1092
onClipEvent (load) {
heroe = _root.heroe;
u = false;
_x = 1264;
_y = 176;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
if ((this.hitTest(heroe.sprite.hotzone) && (!u)) && (_root.locks == 0)) {
_root.nextOK = true;
u = true;
_root.nextOK = true;
_root.posY = heroe._y;
_root.posX = heroe._x;
_root.posX2 = _root.texturas.lastblock._x;
_root.posY2 = _root.mapa._y;
_root.nextFrame();
}
}
Instance of Symbol 651 MovieClip in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
DAMAGE = 1;
MAXDAMAGE = 10;
currentdamage = 0;
myColor = new Color(this);
myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
death = false;
FLASHTIME = 10;
timerdamage = 0;
}
onClipEvent (enterFrame) {
if (!_root.pausa) {
render();
}
}
Instance of Symbol 651 MovieClip in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
_x = 1200;
_y = -288;
DAMAGE = 1;
MAXDAMAGE = 10;
currentdamage = 0;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
death = false;
FLASHTIME = 10;
timerdamage = 0;
}
onClipEvent (enterFrame) {
if (!_root.pausa) {
render();
}
}
Instance of Symbol 651 MovieClip in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
_x = 848;
_y = -48;
DAMAGE = 1;
MAXDAMAGE = 10;
currentdamage = 0;
myColor = new Color(this);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
death = false;
FLASHTIME = 10;
timerdamage = 0;
}
onClipEvent (enterFrame) {
if (!_root.pausa) {
render();
}
}
Instance of Symbol 476 MovieClip [Sapo] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 370;
posY = -143;
}
Instance of Symbol 476 MovieClip [Sapo] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 578;
posY = -207;
}
Instance of Symbol 476 MovieClip [Sapo] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 778;
posY = -207;
}
Instance of Symbol 551 MovieClip [MetoolR&F] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 1169;
posY = -288;
}
Instance of Symbol 551 MovieClip [MetoolR&F] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 1152;
posY = -32;
}
Instance of Symbol 551 MovieClip [MetoolR&F] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 929;
posY = 32;
}
Instance of Symbol 551 MovieClip [MetoolR&F] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 512;
posY = -16;
}
Instance of Symbol 551 MovieClip [MetoolR&F] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 817;
posY = -48;
}
Instance of Symbol 551 MovieClip [MetoolR&F] in Frame 1092
//component parameters
onClipEvent (construct) {
posX = 352;
posY = -224;
}
Instance of Symbol 552 MovieClip "topeizq" in Frame 1092
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 553 MovieClip "topeder" in Frame 1092
onClipEvent (load) {
_visible = false;
_x = 1280;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 552 MovieClip "topeabajo" in Frame 1092
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y - _root.heroe.vscrollspeed);
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1092
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1092
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if ((heroe.horizontal || (heroe.scrollspeed)) || (_root.windx)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function drawFrameWind() {
if (_root.windx && (!heroe.slide)) {
_visible = true;
}
}
function scale() {
_xscale = heroe._xscale;
if (_root.windx > 0) {
_xscale = (-1 * Math.abs(_xscale));
}
if (_root.windx < 0) {
_xscale = Math.abs(_xscale);
}
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
drawFrameWind();
} else {
_visible = false;
}
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 658 MovieClip in Frame 1092
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - (heroe.scrollspeed * 1.1));
_y = (_y - (heroe.vscrollspeed * 1.1));
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1092
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
cosas[i].ponerPausa();
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1092
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Instance of Symbol 661 MovieClip "msgbox" in Frame 1092
onClipEvent (load) {
yi = _y;
yf = 222;
c = 0;
lapse = 2;
DELAY = 60;
begin = false;
_visible = false;
}
onClipEvent (enterFrame) {
if (!_root.pausa) {
render();
}
}
Frame 1093
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 702 MovieClip "trans" in Frame 1093
onClipEvent (load) {
dx = 8;
_y = _root.posY2;
u = true;
door = _root.trans.door;
}
onClipEvent (enterFrame) {
if ((!door.pause) && (u)) {
if (_y < 224) {
dy = 1;
}
if (_y > 224) {
dy = -1;
}
_y = (_y + dy);
if (Math.abs(_y - 224) < 1) {
_y = 224;
u = false;
}
}
if ((_x > -256) && (!door.pause)) {
_x = (_x - dx);
}
if ((_x <= -256) && (!v)) {
door.pause = true;
door._x = 256;
door.gotoAndPlay("close");
v = true;
}
}
Frame 1112
checkpoint = _root._currentframe;
next = "D";
delete unlocked;
windx = 0;
Instance of Symbol 704 MovieClip "mapa" in Frame 1112
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 636 MovieClip in Frame 1112
onClipEvent (load) {
heroe = eval (_root.heroe);
u = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
if (this.hitTest(heroe.sprite.hotzone) && (!u)) {
u = true;
_root.nextOK = true;
_root.posY = heroe._y;
_root.posX = heroe._x;
_root.posX2 = _root.texturas.lastblock._x;
_root.posY2 = _root.mapa._y;
_root.pause = true;
_root.nextFrame();
}
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1112
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1112
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1112
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if ((heroe.horizontal || (heroe.scrollspeed)) || (_root.windx)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function drawFrameWind() {
if (_root.windx && (!heroe.slide)) {
_visible = true;
}
}
function scale() {
_xscale = heroe._xscale;
if (_root.windx > 0) {
_xscale = (-1 * Math.abs(_xscale));
}
if (_root.windx < 0) {
_xscale = Math.abs(_xscale);
}
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
drawFrameWind();
} else {
_visible = false;
}
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1112
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1112
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
cosas[i].ponerPausa();
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1112
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Frame 1113
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 708 MovieClip "trans" in Frame 1113
onClipEvent (load) {
dx = 8;
_y = _root.posY2;
door = _root.trans.door;
}
onClipEvent (enterFrame) {
u = false;
if ((_y < 224) && (!door.pause)) {
_y = (_y + 1);
u = true;
}
if ((_x > -256) && (!door.pause)) {
_x = (_x - dx);
}
if ((_x <= -256) && (!v)) {
door.pause = true;
door._x = 256;
door.gotoAndPlay("close");
v = true;
}
}
Frame 1132
locks = true;
next = "E";
windx = 0;
rumble.begin = true;
Instance of Symbol 709 MovieClip "rumble" in Frame 1132
onClipEvent (load) {
heroe = _root.heroe;
dy = 1;
DELAY = 20;
c = 0;
yi = _root._y;
}
onClipEvent (enterFrame) {
if (!_root.pausa) {
render();
}
}
Instance of Symbol 711 MovieClip in Frame 1132
onClipEvent (load) {
dy = 0.1;
MAX = 20;
c = 0;
DELAY = 495;
MIN = 0.5;
addMe = true;
pausa = false;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 711 MovieClip in Frame 1132
onClipEvent (load) {
dy = 0.1;
MAX = 20;
c = 0;
DELAY = 495;
MIN = 0.5;
addMe = true;
pausa = false;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 713 MovieClip "mapa" in Frame 1132
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 636 MovieClip in Frame 1132
onClipEvent (load) {
heroe = eval (_root.heroe);
u = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
if ((this.hitTest(heroe.sprite.hotzone) && (!u)) && (!_root.locks)) {
u = true;
_root.nextOK = true;
_root.posY = heroe._y;
_root.posX = heroe._x;
_root.posX2 = _root.texturas.lastblock._x;
_root.posY2 = _root.mapa._y;
_root.pause = true;
_root.nextFrame();
}
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1132
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1132
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1132
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if ((heroe.horizontal || (heroe.scrollspeed)) || (_root.windx)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function drawFrameWind() {
if (_root.windx && (!heroe.slide)) {
_visible = true;
}
}
function scale() {
_xscale = heroe._xscale;
if (_root.windx > 0) {
_xscale = (-1 * Math.abs(_xscale));
}
if (_root.windx < 0) {
_xscale = Math.abs(_xscale);
}
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
drawFrameWind();
} else {
_visible = false;
}
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1132
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1132
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
cosas[i].ponerPausa();
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1132
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Frame 1133
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 754 MovieClip "trans" in Frame 1133
onClipEvent (load) {
dx = 8;
_y = _root.posY2;
door = _root.trans.door;
}
onClipEvent (enterFrame) {
u = false;
if ((_y < 224) && (!door.pause)) {
_y = (_y + 1);
u = true;
}
if ((_x > -256) && (!door.pause)) {
_x = (_x - dx);
}
if ((_x <= -256) && (!v)) {
door.pause = true;
door._x = 256;
door.gotoAndPlay("close");
v = true;
}
}
Frame 1152
next = "F";
windx = 0;
allowVscroll = false;
Instance of Symbol 354 MovieClip "scrollmask" in Frame 1152
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 756 MovieClip "mapa" in Frame 1152
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 83 MovieClip in Frame 1152
onClipEvent (enterFrame) {
_x = (_x - _root.heroe.scrollspeed);
}
Instance of Symbol 83 MovieClip in Frame 1152
onClipEvent (enterFrame) {
_x = (_x - _root.heroe.scrollspeed);
}
Instance of Symbol 759 MovieClip in Frame 1152
onClipEvent (load) {
heroe = eval (_root.heroe);
u = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - _root.heroe.vscrollspeed);
if (this.hitTest(heroe.sprite.hotzone) && (!u)) {
u = true;
_root.nextOK = true;
_root.posY = heroe._y;
_root.posX = heroe._x;
_root.pause = true;
_root.nextFrame();
}
}
Instance of Symbol 636 MovieClip in Frame 1152
onClipEvent (load) {
heroe = _root.heroe;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 767 MovieClip in Frame 1152
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 552 MovieClip "topeizq" in Frame 1152
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 553 MovieClip "topeder" in Frame 1152
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 552 MovieClip "topeabajo" in Frame 1152
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y - _root.heroe.vscrollspeed);
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1152
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1152
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1152
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if ((heroe.horizontal || (heroe.scrollspeed)) || (_root.windx)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function drawFrameWind() {
if (_root.windx && (!heroe.slide)) {
_visible = true;
}
}
function scale() {
_xscale = heroe._xscale;
if (_root.windx > 0) {
_xscale = (-1 * Math.abs(_xscale));
}
if (_root.windx < 0) {
_xscale = Math.abs(_xscale);
}
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
drawFrameWind();
} else {
_visible = false;
}
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1152
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1152
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
cosas[i].ponerPausa();
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1152
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Frame 1153
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 869 MovieClip "trans" in Frame 1153
onClipEvent (load) {
dx = 8;
_y = _root.posY2;
door = _root.trans.door;
}
onClipEvent (enterFrame) {
if ((_x > -256) && (!door.pause)) {
_x = (_x - dx);
}
if ((_x <= -256) && (!v)) {
door.pause = true;
door._x = 256;
door.gotoAndPlay("close");
v = true;
}
}
Frame 1172
checkpoint = _root._currentframe;
windx = 0;
next = "G";
Instance of Symbol 871 MovieClip "mapa" in Frame 1172
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 759 MovieClip in Frame 1172
onClipEvent (load) {
heroe = eval (_root.heroe);
u = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
if (this.hitTest(heroe.sprite.hotzone) && (!u)) {
u = true;
_root.nextOK = true;
_root.posY = heroe._y;
_root.posX = heroe._x;
_root.pause = true;
_root.nextFrame();
}
}
Instance of Symbol 875 MovieClip in Frame 1172
onClipEvent (enterFrame) {
if (this.hitTest(_root.heroe.sprite.hotzone) && (!u)) {
_root.lives++;
u = true;
this.nextFrame();
}
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1172
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1172
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1172
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if (heroe.horizontal || (heroe.scrollspeed)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function scale() {
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
_xscale = heroe._xscale;
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
} else {
_visible = false;
}
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1172
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1172
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
cosas[i].ponerPausa();
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1172
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Frame 1173
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 882 MovieClip "trans" in Frame 1173
onClipEvent (load) {
dy = 8;
door = _root.trans.door;
}
onClipEvent (enterFrame) {
if ((_y > -224) && (!door.pause)) {
_y = (_y - dy);
}
if ((_y <= -224) && (!v)) {
door.pause = true;
door._x = 256;
door.gotoAndPlay("close");
v = true;
_root.posY = 0;
}
}
Instance of Symbol 111 MovieClip in Frame 1173
onClipEvent (load) {
n = 100;
who = _root.loop;
}
onClipEvent (enterFrame) {
n = n - 7;
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
delete _root.loop;
}
}
Frame 1192
stop();
windx = 0;
nextOK = false;
posY = 0;
allowVscroll = false;
hittedBIG = new Sound();
hittedBIG.attachSound("hittedBIG");
thunder1 = new Sound();
thunder1.attachSound("thunder1");
wind01 = new Sound(tenguman);
wind01.attachSound("wind01");
wind04 = new Sound(heroe);
wind04.attachSound("wind04");
Instance of Symbol 354 MovieClip "scrollmask" in Frame 1192
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 884 MovieClip "mapa" in Frame 1192
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 881 MovieClip in Frame 1192
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 893 MovieClip "tenguhz" in Frame 1192
onClipEvent (load) {
addMe = true;
pausa = false;
_visible = false;
start = false;
setxy = true;
flow = false;
tenguman = _root.tenguman;
mapa = _root.mapa;
heroe = _root.heroe;
SPEED = 30;
dx = 0;
}
Instance of Symbol 94 MovieClip in Frame 1192
onClipEvent (load) {
_visible = false;
heroe = _root.heroe;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
if (this.hitTest(heroe.sprite.hotzone)) {
heroe.tornado = true;
}
}
Instance of Symbol 94 MovieClip in Frame 1192
onClipEvent (load) {
_visible = false;
heroe = _root.heroe;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
if (this.hitTest(heroe.sprite.hotzone)) {
heroe.tornado = true;
}
}
Instance of Symbol 997 MovieClip in Frame 1192
onClipEvent (load) {
tenguman = eval (_root.tenguman);
heroe = eval (_root.heroe);
SPEED = 10;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 552 MovieClip "topeizq" in Frame 1192
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 553 MovieClip "topeder" in Frame 1192
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - _parent.heroe.scrollspeed);
}
Instance of Symbol 552 MovieClip "topeabajo" in Frame 1192
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_y = (_y - _root.heroe.vscrollspeed);
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1192
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1192
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1192
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if (heroe.horizontal || (heroe.scrollspeed)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function scale() {
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
_xscale = heroe._xscale;
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
} else {
_visible = false;
}
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1192
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1192
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
cosas[i].ponerPausa();
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1192
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Instance of Symbol 111 MovieClip "music" in Frame 1192
onClipEvent (load) {
_root.intro = new Sound();
_root.intro.setVolume(100);
_root.intro.attachSound("TenguIntro");
_root.loop = new Sound();
_root.loop.setVolume(100);
_root.loop.attachSound("TenguLoop");
_root.intro.start();
}
onClipEvent (enterFrame) {
_root.intro.onSoundComplete = function () {
_root.loop.start(0, 99);
};
}
Frame 1193
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 1006 MovieClip "mapa" in Frame 1193
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Frame 1197
checkpoint = _root._currentframe;
windx = 0;
currentdamage = 0;
stop();
delete posX;
delete posY;
hittedBIG = new Sound();
hittedBIG.attachSound("hittedBIG");
nextOK = false;
stop();
Instance of Symbol 709 MovieClip "rumble" in Frame 1197
onClipEvent (load) {
heroe = _root.heroe;
dy = 1;
DELAY = 10;
c = 0;
yi = _root._y;
}
onClipEvent (enterFrame) {
if (!_root.pausa) {
render();
}
}
Instance of Symbol 354 MovieClip "scrollmask" in Frame 1197
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 1010 MovieClip in Frame 1197
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 94 MovieClip in Frame 1197
onClipEvent (load) {
_visible = false;
heroe = _root.heroe;
shieldtimer = 0;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
if (this.hitTest(_root.shoot1) && (!us)) {
_root.shoot1.impact = true;
us = true;
_root.escudo.start();
shieldtimer = 3;
_root.frebote._x = _root.shoot1._x;
_root.frebote._y = _root.shoot1._y;
_root.frebote.gotoAndPlay(2);
}
if (shieldtimer > 0) {
shieldtimer--;
if (shieldtimer <= 0) {
us = false;
_root.shoot1.impact = false;
}
}
}
Instance of Symbol 94 MovieClip in Frame 1197
onClipEvent (load) {
_visible = false;
heroe = _root.heroe;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
if (this.hitTest(_root.shoot1) && (!us)) {
_root.shoot1.impact = true;
us = true;
_root.escudo.start();
shieldtimer = 3;
_root.frebote._x = _root.shoot1._x;
_root.frebote._y = _root.shoot1._y;
_root.frebote.gotoAndPlay(2);
}
if (shieldtimer > 0) {
shieldtimer--;
if (shieldtimer <= 0) {
us = false;
_root.shoot1.impact = false;
}
}
}
Instance of Symbol 1118 MovieClip "bala" in Frame 1197
onClipEvent (load) {
heroe = _root.heroe;
mapa = _root.mapa;
i = 0;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 1076 MovieClip "shineNOloop" in Frame 1197
onClipEvent (load) {
heroe = _root.heroe;
mapa = _root.mapa;
c = 5;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 1121 MovieClip "spark" in Frame 1197
onClipEvent (load) {
heroe = _root.heroe;
mapa = _root.mapa;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 1124 MovieClip "balas" in Frame 1197
onClipEvent (load) {
heroe = _root.heroe;
mapa = _root.mapa;
freeze = _root.freeze;
SPEED = 25;
u = true;
angulos = [0, 30, 30, 50, 50, 80, 80];
for (i in angulos) {
angulos[i] = angulos[i] * (Math.PI/180);
}
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 243 MovieClip "shoot1" in Frame 1197
onClipEvent (load) {
_x = 120;
_y = -1000;
heroe = eval (_root.heroe);
dx = 20;
_visible = false;
impact = false;
u = 0;
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 564 MovieClip "frebote" in Frame 1197
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 571 MovieClip "smoke" in Frame 1197
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1197
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if (heroe.horizontal || (heroe.scrollspeed)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function scale() {
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
_xscale = heroe._xscale;
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
} else {
_visible = false;
}
}
Instance of Symbol 579 MovieClip "pauser" in Frame 1197
onClipEvent (load) {
menuPausa = _root.menuPausa;
paused = false;
PAUSEKEY = _root.PAUSEKEY;
abletoPause = true;
cosas = new Array();
for (i in _root) {
if (typeof(_root[i]) == "movieclip") {
if (_root[i].addMe) {
cosas.push(_root[i]);
}
}
}
limpieza = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(PAUSEKEY) && (abletoPause)) && (!paused)) {
abletoPause = false;
for (i in cosas) {
cosas[i].ponerPausa();
}
paused = true;
menuPausa.gotoAndStop("show");
}
if (pauseAllFlag) {
pauseAllCNT--;
if (pauseAllCNT <= 0) {
pauseAllFlag = false;
for (i in cosas) {
cosas[i].quitarPausa();
}
}
}
}
Instance of Symbol 311 MovieClip "recorder" in Frame 1197
onClipEvent (load) {
modo = _root.modo;
cmd = new Array();
if (_root.ARRIBA == undefined) {
_root.defaultKeys();
}
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
x = "x=";
if (modo == "reproducir") {
cmd = _root.cmd;
} else {
delete _root.cmd;
}
i = -1;
}
onClipEvent (enterFrame) {
switch (modo) {
case "grabar" :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
x = x + ((((((((((cmd[i][0] ? "1" : "0") + " ") + (cmd[i][1] ? "1" : "0")) + " ") + (cmd[i][2] ? "1" : "0")) + " ") + (cmd[i][3] ? "1" : "0")) + " ") + (cmd[i][4] ? "1" : "0")) + ".");
break;
case "reproducir" :
i++;
break;
default :
cmd[i] = [Key.isDown(IZQ), Key.isDown(DER), Key.isDown(ARRIBA), Key.isDown(SHOOT), Key.isDown(SLIDEKEY)];
}
actual = cmd[i];
}
Instance of Symbol 111 MovieClip "music" in Frame 1197
onClipEvent (load) {
_root.intro = new Sound();
_root.intro.setVolume(100);
_root.intro.attachSound("FreezeIntro");
_root.loop = new Sound();
_root.loop.setVolume(100);
_root.loop.attachSound("FreezeLoop");
_root.intro.start();
}
onClipEvent (enterFrame) {
_root.intro.onSoundComplete = function () {
_root.loop.start(0, 99);
};
}
Frame 1198
if (!nextOK) {
prevFrame();
}
nextOK = false;
Instance of Symbol 111 MovieClip in Frame 1218
onClipEvent (load) {
n = 100;
who = _root.loop;
}
onClipEvent (enterFrame) {
n = n - 7;
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
delete _root.intro;
delete _root.loop;
}
}
Frame 1233
stopAllSounds();
lives--;
currentdamage = 0;
reveal = true;
died = true;
if (lives >= 0) {
_root.gotoAndStop(checkpoint);
} else {
gotoAndPlay (5276);
}
Frame 1242
gotoAndPlay (1280);
Frame 1252
gotoAndPlay (1485);
Frame 1262
gotoAndPlay (2430);
Frame 1273
gotoAndPlay (385);
Frame 1280
_quality = "LOW";
windx = 0;
stopAllSounds();
keys = false;
loop = new Sound();
loop.setVolume(100);
play();
allowVscroll = false;
delete keys;
Instance of Symbol 354 MovieClip "fade" in Frame 1280
onClipEvent (load) {
begin = (reveal = (hide = false));
DELAY = 40;
if (_root.reveal) {
this.gotoAndStop("reveal");
}
}
onClipEvent (enterFrame) {
if (begin) {
wait = true;
begin = false;
c = 0;
}
if (wait) {
c++;
if (c > DELAY) {
wait = false;
hide = true;
}
}
if (hide) {
play();
}
if (_root.reveal) {
this.gotoAndStop("reveal");
_root.reveal = false;
reveal = true;
}
if (reveal) {
play();
}
}
Instance of Symbol 884 MovieClip "mapa" in Frame 1280
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 881 MovieClip in Frame 1280
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 34 MovieClip [fhair] "zhair" in Frame 1280
onClipEvent (load) {
heroe = _root.heroe;
d = 24;
_visible = true;
}
onClipEvent (enterFrame) {
function drawFrame() {
if (heroe.horizontal == 0) {
_visible = true;
} else {
_visible = false;
}
if ((heroe.horizontal == 0) && (heroe.scrollspeed == 0)) {
this.gotoAndStop("stand");
}
if ((heroe.horizontal || (heroe.scrollspeed)) || (_root.windx)) {
this.gotoAndStop("move");
}
if (heroe.flashing) {
_visible = heroe._visible;
_y = (heroe._y - d);
if (heroe.doscroll) {
if ((heroe.horizontal < 0) || (heroe.scrollspeed < 0)) {
this.gotoAndStop("move");
}
if ((heroe.horizontal > 0) || (heroe.scrollspeed > 0)) {
this.gotoAndStop("move");
}
}
return(undefined);
}
if (heroe.rising || (heroe.falling)) {
_y = ((heroe._y - d) - 6);
_visible = true;
return(undefined);
}
}
function drawFrameWind() {
if (_root.windx && (!heroe.slide)) {
_visible = true;
}
}
function scale() {
_xscale = heroe._xscale;
if (_root.windx > 0) {
_xscale = (-1 * Math.abs(_xscale));
}
if (_root.windx < 0) {
_xscale = Math.abs(_xscale);
}
if (_xscale < 0) {
_x = (heroe._x + 1);
} else {
_x = heroe._x;
}
if (heroe.shooting) {
if ((_xscale > 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x + 2);
}
if ((_xscale < 0) && (!(heroe.rising || (heroe.falling)))) {
_x = (heroe._x - 2);
}
}
if (heroe.flashing) {
_xscale = (-1 * heroe._xscale);
}
return(undefined);
}
if (!heroe.death) {
_y = (heroe._y - d);
scale();
drawFrame();
drawFrameWind();
} else {
_visible = false;
}
}
Instance of Symbol 111 MovieClip in Frame 1469
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
n = n - 10;
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
delete _root.loop;
}
}
Frame 1484
next = "G2";
stopAllSounds();
gotoAndStop ("G2");
Frame 1485
_quality = "HIGH";
if (cheat == "bosses") {
gotoAndPlay (2262);
}
Instance of Symbol 316 MovieClip in Frame 1485
onClipEvent (keyDown) {
this.play();
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIPepisode2");
}
}
Frame 1562
stopAllSounds();
_quality = "HIGH";
delete thunder1;
delete wind01;
delete wind04;
Instance of Symbol 84 MovieClip in Frame 1562
onClipEvent (keyDown) {
if (Key.isDown(13)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIP2");
}
}
Frame 1622
stop();
Instance of Symbol 111 MovieClip in Frame 1622
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 1626
play();
Frame 1657
stop();
Instance of Symbol 111 MovieClip in Frame 1657
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 1658
play();
Frame 1957
stop();
Instance of Symbol 111 MovieClip in Frame 1957
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 1958
play();
Frame 2165
stop();
Instance of Symbol 111 MovieClip in Frame 2165
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 2173
play();
Frame 2210
stop();
Instance of Symbol 111 MovieClip in Frame 2210
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 2224
play();
currentdamage = 0;
Frame 2243
tmark = getTimer();
trace("Inicio2:" + tmark);
if (cheat == "allmovies") {
gotoAndPlay (2430);
}
Frame 2262
windx = 0;
_quality = "LOW";
currentdamage = 0;
keys = false;
loop = new Sound();
loop.setVolume(100);
play();
delete keys;
Instance of Symbol 354 MovieClip "fade" in Frame 2262
onClipEvent (load) {
begin = (reveal = (hide = false));
DELAY = 40;
if (_root.reveal) {
this.gotoAndStop("reveal");
}
}
onClipEvent (enterFrame) {
if (begin) {
wait = true;
begin = false;
c = 0;
}
if (wait) {
c++;
if (c > DELAY) {
wait = false;
hide = true;
}
}
if (hide) {
play();
}
if (_root.reveal) {
this.gotoAndStop("reveal");
_root.reveal = false;
reveal = true;
}
if (reveal) {
play();
}
}
Instance of Symbol 884 MovieClip "mapa" in Frame 2262
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 1010 MovieClip in Frame 2262
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 111 MovieClip in Frame 2413
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
n = n - 10;
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
delete _root.loop;
}
}
Frame 2429
next = "H";
stopAllSounds();
gotoAndStop ("H");
Frame 2430
function aleatorio(a, b) {
return(Math.floor(Math.random() * ((b - a) + 1)) + a);
}
windx = 0;
_quality = "LOW";
keys = false;
if (cheat == "bosses") {
gotoAndPlay (5276);
}
Instance of Symbol 354 MovieClip "fade" in Frame 2430
onClipEvent (load) {
begin = (reveal = (hide = false));
DELAY = 40;
if (_root.reveal) {
this.gotoAndStop("reveal");
}
}
onClipEvent (enterFrame) {
if (begin) {
wait = true;
begin = false;
c = 0;
}
if (wait) {
c++;
if (c > DELAY) {
wait = false;
hide = true;
}
}
if (hide) {
play();
}
if (_root.reveal) {
this.gotoAndStop("reveal");
_root.reveal = false;
reveal = true;
}
if (reveal) {
play();
}
}
Instance of Symbol 884 MovieClip "mapa" in Frame 2430
onClipEvent (load) {
heroe = eval (_root.heroe);
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 1010 MovieClip in Frame 2430
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Instance of Symbol 1019 MovieClip "freeze" in Frame 2430
/* no clip actions */
Frame 2431
delete keys;
delete explo01;
delete hitted;
delete fhitted;
delete fdeath;
delete escudo;
delete Posy;
delete estado;
delete checkpoint;
delete next;
delete died;
delete Posx;
delete locks;
delete Posx2;
delete Posy2;
delete pause;
delete hittedBIG;
delete reveal;
delete totalsparks;
Instance of Symbol 111 MovieClip in Frame 2431
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
n = n - 10;
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
delete _root.loop;
}
}
Instance of Symbol 316 MovieClip in Frame 2432
onClipEvent (keyDown) {
if (Key.isDown(13)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIPafter");
}
}
Frame 2463
loop = new Sound();
loop.setVolume(100);
Frame 2523
stop();
_quality = "HIGH";
Instance of Symbol 111 MovieClip in Frame 2523
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 2527
play();
_quality = "LOW";
Instance of Symbol 1260 MovieClip "freeze" in Frame 2565
/* no clip actions */
Frame 2590
rumble.begin = true;
Instance of Symbol 111 MovieClip "rumble" in Frame 2590
onClipEvent (load) {
dy = 2;
DELAY = 16;
c = 0;
yi = _root._y;
}
onClipEvent (enterFrame) {
if (begin) {
dorumble = true;
begin = false;
c = 0;
}
if (dorumble) {
dy = dy * -1;
_root._y = _root._y + dy;
_root._x = _root._x + (dy * 2);
c = c + 1;
if (c > DELAY) {
dorumble = false;
_root._y = yi;
}
}
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2590
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Frame 2624
rumble.begin = true;
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2624
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Frame 2649
rumble.begin = true;
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1116 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1113 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 18 MovieClip in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1124 MovieClip "balas" in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Instance of Symbol 1121 MovieClip "spark" in Frame 2649
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
}
onClipEvent (enterFrame) {
function suelo() {
return(_y > 224);
}
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
dy = 0;
_visible = false;
fall = false;
}
}
_x = (_x + dx);
_y = (_y + dy);
}
Frame 2666
windx = 5;
Instance of Symbol 1268 MovieClip "snow" in Frame 2666
onClipEvent (load) {
xi = _x;
}
onClipEvent (enterFrame) {
_visible = ((_x >= 0) && (_x <= 256));
if (mover) {
_x = (_x + dx);
_y = (_y + dy);
_x = (_x - _root.windx);
xi = xi - _root.windx;
if (_x <= 0) {
_x = (_x + 256);
xi = xi + 256;
}
if (Math.abs(_x - xi) >= xwide) {
dx = dx * -1;
}
if (_y >= 240) {
_x = ((xi = (_root.aleatorio(0, 15) + 1) * 16));
_y = -16;
}
}
}
Instance of Symbol 111 MovieClip "snowgen" in Frame 2666
onClipEvent (load) {
MAX = 50;
WAIT = 5;
i = (c = 0);
espera = true;
}
onClipEvent (enterFrame) {
if (espera) {
c++;
if ((c > WAIT) && (i < MAX)) {
espera = false;
generar = true;
i++;
c = 0;
}
}
if (generar) {
z = _root.aleatorio(10, 20);
init = {_x:(_root.aleatorio(0, 15) + 1) * 16, _xscale:z, _yscale:z, dx:_root.aleatorio(1.5, 2), dy:_root.aleatorio(0.5, 1.5), xwide:_root.aleatorio(10, 20), mover:true};
_root.snow.duplicateMovieClip("snow" + i, 100 + i, init);
generar = false;
espera = true;
}
}
Instance of Symbol 1279 MovieClip "heroe" in Frame 2667
onClipEvent (load) {
c = (i = 0);
}
onClipEvent (enterFrame) {
c++;
if (c >= 4) {
c = 0;
i++;
if (i >= 5) {
i = 1;
}
initObj = {_x:_x + _root.aleatorio(-15, 15), _y:(_y + _root.aleatorio(-10, 10)) - 16};
_root.smoke.duplicateMovieClip("smoke" + i, i, initObj);
}
}
Frame 2741
stop();
_quality = "HIGH";
Instance of Symbol 111 MovieClip in Frame 2741
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 2745
play();
_quality = "LOW";
Instance of Symbol 111 MovieClip in Frame 2777
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
if (!v) {
n = n - 10;
}
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
v = true;
delete _root.loop;
}
}
Instance of Symbol 111 MovieClip "music" in Frame 2804
onClipEvent (load) {
_root.intro = new Sound();
_root.intro.setVolume(100);
_root.intro.attachSound("rockIntro");
_root.loop = new Sound();
_root.loop.attachSound("rockLoop");
_root.loop.setVolume(100);
_root.intro.start();
}
onClipEvent (enterFrame) {
_root.intro.onSoundComplete = function () {
_root.loop.start(0, 99);
};
}
Frame 2838
stop();
windx++;
_quality = "HIGH";
Instance of Symbol 111 MovieClip in Frame 2838
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 2857
play();
windx++;
_quality = "LOW";
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who._xscale = who._xscale * 1.1;
who._yscale = who._yscale * 1.1;
i++;
}
Frame 2910
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who._xscale = who._xscale * 1.1;
who._yscale = who._yscale * 1.1;
i++;
}
Instance of Symbol 1340 MovieClip "freeze" in Frame 2911
/* no clip actions */
Frame 2964
windx++;
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who._xscale = who._xscale * 1.1;
who._yscale = who._yscale * 1.1;
i++;
}
Instance of Symbol 1352 MovieClip "freeze" in Frame 2964
/* no clip actions */
Instance of Symbol 1351 MovieClip "freeze" in Frame 2969
/* no clip actions */
Frame 3012
windx++;
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who._xscale = who._xscale * 1.1;
who._yscale = who._yscale * 1.1;
i++;
}
Frame 3035
windx++;
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who._xscale = who._xscale * 1.1;
who._yscale = who._yscale * 1.1;
i++;
}
Frame 3068
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who._xscale = who._xscale * 1.1;
who._yscale = who._yscale * 1.1;
i++;
}
Frame 3117
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who._xscale = who._xscale * 1.1;
who._yscale = who._yscale * 1.1;
i++;
}
Instance of Symbol 111 MovieClip in Frame 3117
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
if (!v) {
n = n - 5;
}
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
v = true;
delete _root.loop;
}
}
Frame 3137
_root.fader.duplicateMovieClip("fader300", 300);
Frame 3138
_root.fader300.play();
Frame 3170
_root.fader300.play();
Instance of Symbol 111 MovieClip in Frame 3170
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
if (!v) {
n = n - 15;
}
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
v = true;
delete _root.loop;
}
}
Frame 3171
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who.removeMovieClip();
i++;
}
i = 1;
while (i <= 4) {
who = eval ("smoke" + i);
who.removeMovieClip();
i++;
}
fader300.removeMovieClip();
delete who;
delete windx;
delete i;
Frame 3198
_quality = "HIGH";
stopAllSounds();
Instance of Symbol 316 MovieClip in Frame 3198
onClipEvent (keyDown) {
if (Key.isDown(13)) {
this.play();
}
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIPFireMega");
}
}
Frame 3257
stop();
Instance of Symbol 111 MovieClip in Frame 3257
onClipEvent (keyUp) {
_root.nextFrame();
}
Frame 3274
play();
Instance of Symbol 111 MovieClip in Frame 3348
onClipEvent (load) {
n = 100;
_root.loop = new Sound();
who = _root.loop;
}
onClipEvent (enterFrame) {
if (!v) {
n = n - 3;
}
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
v = true;
delete _root.loop;
}
}
Instance of Symbol 316 MovieClip in Frame 3403
onClipEvent (keyDown) {
this.play();
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIPSneak");
}
}
Frame 3737
barras.duplicateMovieClip("barras400", 400);
windx = 0;
Frame 3738
function aleatorio(a, b) {
return(Math.floor(Math.random() * ((b - a) + 1)) + a);
}
Instance of Symbol 1455 MovieClip "snow" in Frame 3738
onClipEvent (load) {
xi = _x;
}
onClipEvent (enterFrame) {
_visible = ((_x >= 0) && (_x <= 256));
if (mover) {
_x = (_x + dx);
_y = (_y + dy);
_x = (_x - _root.windx);
xi = xi - _root.windx;
if (_x <= 0) {
_x = (_x + 256);
xi = xi + 256;
}
if (Math.abs(_x - xi) >= xwide) {
dx = dx * -1;
}
if (_y >= 240) {
_x = ((xi = (_root.aleatorio(0, 15) + 1) * 16));
_y = -16;
}
}
}
Instance of Symbol 111 MovieClip "snowgen" in Frame 3738
onClipEvent (load) {
MAX = 50;
WAIT = 5;
i = (c = 0);
espera = true;
}
onClipEvent (enterFrame) {
if (espera) {
c++;
if ((c > WAIT) && (i < MAX)) {
espera = false;
generar = true;
i++;
c = 0;
}
}
if (generar) {
z = _root.aleatorio(10, 20);
init = {_x:(_root.aleatorio(0, 15) + 1) * 16, _xscale:z, _yscale:z, dx:_root.aleatorio(0.2, 0.6), dy:_root.aleatorio(0.5, 1), xwide:_root.aleatorio(10, 20), mover:true};
_root.snow.duplicateMovieClip("snow" + i, 100 + i, init);
generar = false;
espera = true;
}
}
Instance of Symbol 316 MovieClip in Frame 3763
onClipEvent (keyDown) {
this.play();
}
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("SKIPEND");
}
}
Instance of Symbol 1455 MovieClip "snow" in Frame 4065
onClipEvent (load) {
xi = _x;
}
onClipEvent (enterFrame) {
_visible = ((_x >= 0) && (_x <= 256));
if (mover) {
_x = (_x + dx);
_y = (_y + dy);
_x = (_x - _root.windx);
xi = xi - _root.windx;
if (_x <= 0) {
_x = (_x + 256);
xi = xi + 256;
}
if (Math.abs(_x - xi) >= xwide) {
dx = dx * -1;
}
if (_y >= 240) {
_x = ((xi = (_root.aleatorio(0, 15) + 1) * 16));
_y = -16;
}
}
}
Instance of Symbol 111 MovieClip "snowgen" in Frame 4065
onClipEvent (load) {
MAX = 50;
WAIT = 5;
i = (c = 0);
espera = true;
}
onClipEvent (enterFrame) {
if (espera) {
c++;
if ((c > WAIT) && (i < MAX)) {
espera = false;
generar = true;
i++;
c = 0;
}
}
if (generar) {
z = _root.aleatorio(10, 20);
init = {_x:(_root.aleatorio(0, 15) + 1) * 16, _xscale:z, _yscale:z, dx:_root.aleatorio(0.2, 0.6), dy:_root.aleatorio(0.5, 1), xwide:_root.aleatorio(10, 20), mover:true};
_root.snow.duplicateMovieClip("snow" + i, 100 + i, init);
generar = false;
espera = true;
}
}
Frame 5132
_root.fader.duplicateMovieClip("fader300", 300);
Frame 5133
_root.fader300.play();
Frame 5171
i = 1;
while (i <= 50) {
who = eval ("snow" + i);
who.removeMovieClip();
i++;
}
fader300.removeMovieClip();
barras400.removeMovieClip();
delete i;
delete who;
Frame 5178
if (((((cheat == "bosses") || (cheat == "allmovies")) || (!nextOK)) || (nivel <= 1)) || (!clearedOK)) {
gotoAndPlay (5276);
}
Frame 5182
_quality = "HIGH";
loop = new Sound();
loop.setVolume(100);
Frame 5186
function m2s(tiempo) {
var _local1 = Math.floor(tiempo / 60000);
var _local2 = Math.floor((tiempo % 60000) / 1000);
if (_local1 < 10) {
_local1 = "0" + String(_local1);
}
if (_local2 < 10) {
_local2 = "0" + String(_local2);
}
return((("00:" + String(_local1)) + ":") + String(_local2));
}
score = Math.floor(18750 - (0.021 * ttotal));
ttotal2 = m2s(ttotal);
Frame 5187
stop();
totalBTN = 3;
Selection.setFocus("c1");
selected = new Sound();
selected.attachSound("selected");
inputText = new Sound();
inputText.attachSound("inputText");
c1.onSetFocus = function () {
selected.start();
};
c1.onChanged = function () {
inputText.start();
};
c1.backgroundColor = 7829367 /* 0x777777 */;
again = false;
Instance of Symbol 111 MovieClip in Frame 5187
onClipEvent (keyDown) {
function ponerFoco(desde, modo) {
if (Selection.getFocus() == null) {
Selection.setFocus("_root.c1");
return(undefined);
}
desde = Number(desde);
if (modo == 0) {
((desde < total) ? (desde++) : (desde = 1));
Selection.setFocus("_root.c" + desde);
return(undefined);
}
if (modo == 1) {
((desde > 1) ? (desde--) : (desde = total));
Selection.setFocus("_root.c" + desde);
return(undefined);
}
}
total = _root.totalBTN;
if (Key.isDown(40)) {
ponerFoco(Selection.getFocus().substring(9), 0);
}
if (Key.isDown(38)) {
ponerFoco(Selection.getFocus().substring(9), 1);
}
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 5187
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Instance of Symbol 316 MovieClip "skiper" in Frame 5187
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("HSleave");
}
}
Frame 5197
stop();
btngo._visible = false;
Instance of Symbol 213 MovieClip "scoretable" in Frame 5197
onClipEvent (load) {
function procesar() {
_visible = ((loaded = true));
_root.msg.text = "";
exito.start();
_root.btnskip.enabled = false;
_root.btnskip._visible = false;
_root.btngo.enabled = true;
_root.btngo._visible = true;
var i = 0;
while (i <= 9) {
_root.scoretable["name" + i].text = this["NAME" + i];
_root.scoretable["score" + i].text = this["SCORE" + i];
if (eval ("this.SCORE" + i) != 0) {
temp = (18750 - this["SCORE" + i]) / 0.021;
_root.scoretable["time" + i].text = _root.m2s(temp);
} else {
_root.scoretable["time" + i].text = "Empty";
}
i++;
}
}
variables = new LoadVars();
datos = new LoadVars();
_visible = false;
u = false;
datos.onLoad = procesar;
variables.filename = ("fis" + _root.nivel) + ".sco";
variables.scoresize = 10;
variables.action = "PONERtumay";
variables.viewtype = "FLASH";
variables.winname = _root.name;
variables.winscore = _root.score;
if (!_root.again) {
variables.action = "PONERtumay";
} else {
variables.action = "VIEW";
}
variables.sendAndLoad("http://www.dzarchive.com/iragination/hiscotumay.php", datos, "GET");
mwait = getTimer() + 40000;
loaded = false;
failed = new Sound();
failed.attachSound("fhitted");
exito = new Sound();
exito.attachSound("cheater");
}
onClipEvent (enterFrame) {
if (((getTimer() >= mwait) && (!loaded)) && (!u)) {
_root.msg.text = "No data file found";
failed.start();
u = true;
_root.nextFrame();
}
}
Instance of Symbol 125 MovieClip "levelmc" in Frame 5197
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Instance of Symbol 111 MovieClip in Frame 5197
onClipEvent (keyDown) {
if (Key.isDown(40) || (Key.isDown(38))) {
if (_root.btnskip.enabled) {
Selection.setFocus("_root.btnskip");
}
}
if (_root.btngo.enabled) {
Selection.setFocus("_root.btngo");
}
}
Instance of Symbol 316 MovieClip "skiper" in Frame 5197
onClipEvent (enterFrame) {
if (this._currentframe == this._totalframes) {
_root.gotoAndPlay("HSleave");
}
}
Frame 5198
totalBTN = 2;
Instance of Symbol 111 MovieClip in Frame 5198
onClipEvent (keyDown) {
function ponerFoco(desde, modo) {
if (Selection.getFocus() == null) {
Selection.setFocus("_root.btn1");
return(undefined);
}
desde = Number(desde);
if (modo == 0) {
((desde < total) ? (desde++) : (desde = 1));
Selection.setFocus("_root.btn" + desde);
return(undefined);
}
if (modo == 1) {
((desde > 1) ? (desde--) : (desde = total));
Selection.setFocus("_root.btn" + desde);
return(undefined);
}
}
total = _root.totalBTN;
if (Key.isDown(40)) {
ponerFoco(Selection.getFocus().substring(11), 0);
}
if (Key.isDown(38)) {
ponerFoco(Selection.getFocus().substring(11), 1);
}
}
Instance of Symbol 111 MovieClip in Frame 5249
onClipEvent (load) {
n = 100;
who = _root.loop;
}
onClipEvent (enterFrame) {
if (!v) {
n = n - 5;
}
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
stopAllSounds();
n = 100;
v = true;
delete who;
delete _root.loop;
}
}
Frame 5265
delete ttotal;
delete ttotal2;
delete again;
delete totalBTN;
delete selected;
delete inputText;
delete score;
delete name;
Frame 5276
if (cheat == "bosses") {
stopAllSounds();
}
delete loop;
delete currentdamage;
delete currenthigh;
delete explo01;
delete hitted;
delete fhitted;
delete fdeath;
delete escudo;
delete posX;
delete posY;
delete reveal;
delete lives;
delete tmark;
delete checkpoint;
delete next;
delete windx;
delete died;
delete intro;
delete locks;
delete hittedBIG;
delete totalsparks;
delete duh;
delete n;
delete cheat;
delete estado;
delete clearOK;
Frame 5279
_quality = "HIGH";
Frame 5280
loop = new Sound();
loop.setVolume(100);
Frame 5281
music.nextFrame();
Frame 5356
gotoAndPlay (385);
Frame 5366
reveal = true;
died = true;
gotoAndStop(checkpoint +1072);
Symbol 6 MovieClip Frame 1
function render() {
_parent._visible = _parent.hitTest(_root.mascara);
if (_parent._visible) {
if (_parent.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = DAMAGE;
heroe.hitted = true;
}
_parent._x = _parent._x - dx;
_parent._y = _parent._y + dy;
} else {
_parent.removeMovieClip();
}
}
Instance of Symbol 6 MovieClip "control" in Symbol 7 MovieClip [bullet] Frame 1
onClipEvent (load) {
heroe = _root.heroe;
switch (_root.nivel) {
case 1 :
DAMAGE = 1;
break;
case 2 :
DAMAGE = 2;
break;
case 3 :
DAMAGE = 3;
break;
case 4 :
DAMAGE = 4;
break;
default :
DAMAGE = 2;
}
}
onClipEvent (enterFrame) {
if (!_parent._parent.pausa) {
render();
}
}
Symbol 18 MovieClip Frame 1
function render() {
_visible = this.hitTest(_root.mascara);
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
var _local4 = _root.pauser.cosas;
for (var _local5 in _local4) {
if (_local4[_local5] == this) {
delete _local4[_local5];
break;
}
}
dy = 0;
fall = false;
_parent.totalsparks--;
if (_parent.totalsparks <= 0) {
_parent.borrar = true;
}
}
}
_x = (_x + dx);
_y = (_y + dy);
}
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
function suelo() {
return(_y >= 224);
}
Symbol 34 MovieClip [fhair] Frame 1
stop();
Symbol 1508 MovieClip [__Packages.Pirate] Frame 0
class Pirate extends MovieClip
{
var heroe, xi, _x, myColor, onEnterFrame, _y, hitTest, _visible, sprite, _parent, gotoAndStop, _xscale;
function Pirate () {
super();
heroe = _root.heroe;
xi = _x;
myColor = new Color(this);
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
xi = xi - heroe.scrollspeed;
_x = _x - (dx + heroe.scrollspeed);
_y = _y - heroe.vscrollspeed;
if (Math.abs(_x - xi) >= delta) {
dx = dx * -1;
}
hitable = hitTest(_root.mascara);
if (hitable) {
_visible = true;
if (!death) {
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
}
if (death) {
_root.shoot1.impact = false;
dx = 0;
}
drawframe();
} else {
doexplode();
}
} else {
_visible = false;
if (death && (Math.abs(heroe._x - _x) >= 200)) {
dorespawn();
}
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = false;
dx = SPEED;
gotoAndStop("standing");
}
function drawframe() {
((dx < 0) ? ((_xscale = Math.abs(_xscale) * -1)) : ((_xscale = Math.abs(_xscale))));
}
var pausa = false;
var addMe = true;
static var SPEED = 2;
var dx = 2;
var delta = 60;
static var DAMAGE = 1;
static var MAXDAMAGE = 3;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
}
Symbol 1509 MovieClip [__Packages.Turbina] Frame 0
class Turbina extends MovieClip
{
var heroe, myColor, onEnterFrame, _x, _y, hitTest, _visible, sprite, _parent, v, gotoAndStop, c, change;
function Turbina () {
super();
heroe = _root.heroe;
myColor = new Color(this);
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
_x = _x - heroe.scrollspeed;
_y = _y - heroe.vscrollspeed;
hitable = hitTest(_root.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
}
if (death && (!v)) {
_root.shoot1.impact = false;
_root.windx = 0;
v = true;
}
if (!death) {
if (attack) {
gotoAndStop("attack");
attack = false;
attacking = true;
c = 0;
sentido = sentido * -1;
}
if (attacking) {
gotoAndStop("attack");
_root.windx = (heroe.hforce * 0.6) * sentido;
c = c + 1;
if (c >= attackTIME) {
attacking = false;
change = true;
c = 0;
_root.windx = 0;
}
}
if (change) {
gotoAndStop("change");
c = c + 1;
if (c >= 16) {
change = false;
attack = true;
}
}
} else {
doexplode();
}
} else {
_visible = false;
if (death && (Math.abs(heroe._x - _x) >= 200)) {
dorespawn();
}
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = false;
gotoAndStop("standing");
v = false;
}
var pausa = false;
var addMe = true;
static var DAMAGE = 1;
static var MAXDAMAGE = 5;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
static var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
static var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
var attack = true;
var attacking = false;
var sentido = 1;
static var attackTIME = 60;
}
Symbol 1510 MovieClip [__Packages.Metool] Frame 0
class Metool extends MovieClip
{
var heroe, mapa, posX, posY, _x, _y, onLoad, shoot, myColor, onEnterFrame, xi, _visible, hitTest, sprite, shield, deadflag, horizontal, attack, attacking, wake, prewalk, walk, suelo, wall, b1, b2, b3, attachMovie, _xscale, gotoAndStop, yi;
function Metool () {
super();
heroe = _root.heroe;
mapa = _root.mapa;
if (posX && (posY)) {
_x = posX;
_y = posY;
delete posX;
delete posY;
}
onLoad = function () {
this.xi = this._x;
this.yi = this.mapa._y - this._y;
};
shoot = new Sound();
shoot.attachSound("metoolshoot");
myColor = new Color(this);
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
xi = xi - heroe.scrollspeed;
_x = _x - heroe.scrollspeed;
_y = _y - heroe.vscrollspeed;
_visible = false;
hitable = hitTest(_root.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_root.shoot1) && (hitable)) {
_root.shoot1.impact = true;
if (!shield) {
hitted = true;
_root.hitted.start();
} else {
_root.escudo.start();
_root.frebote._x = _x;
_root.frebote._y = _root.shoot1._y + 4;
_root.frebote.gotoAndPlay(2);
}
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorNormal);
death = true;
delete shoot;
}
if (death && (!deadflag)) {
deadflag = true;
_root.shoot1.impact = false;
myColor.setTransform(myColorNormal);
doexplode();
}
}
if (!death) {
setScale();
if (hide) {
if (timer) {
timer--;
}
shield = true;
horizontal = 0;
if (((Math.abs(heroe._x - _x) <= 100) && (Math.abs(heroe._y - _y) <= 200)) && (!timer)) {
attack = (attacking = false);
hide = false;
wake = true;
shield = false;
timer = 10;
} else {
return(undefined);
}
}
if (wake) {
timer--;
if (!timer) {
wake = false;
attack = true;
timer = 5;
}
}
if (attack) {
timer--;
if (!timer) {
attack = false;
prewalk = true;
timer = 4;
disparo();
}
}
if (prewalk) {
timer--;
if (!timer) {
prewalk = false;
walk = true;
timer = WALKTIME;
}
}
if (walk) {
timer--;
horizontal = setSpeed();
Paredes();
hitPlatforms();
_x = _x + horizontal;
if (((!timer) || (!suelo)) || (wall)) {
horizontal = 0;
walk = false;
hide = true;
timer = DELAY;
}
}
} else if ((!_root.mascara.hitTest(_x, _y)) && (!((b1._visible || (b2._visible)) || (b3._visible)))) {
dorespawn();
}
drawframe();
}
function ponerPausa() {
pausa = true;
sprite.stop();
for (var _local3 in this) {
var _local2 = 1;
while (_local2 <= 3) {
if (this[_local3]._name == ("b" + _local2)) {
this[_local3].pausa = true;
}
_local2++;
}
}
}
function quitarPausa() {
pausa = false;
sprite.play();
for (var _local3 in this) {
var _local2 = 1;
while (_local2 <= 3) {
if (this[_local3]._name == ("b" + _local2)) {
this[_local3].pausa = false;
}
_local2++;
}
}
}
function disparo() {
attachMovie("bullet", "b1", 1);
attachMovie("bullet", "b2", 2);
attachMovie("bullet", "b3", 3);
shoot.start();
b1.control.dx = (-1 * SPEED) * 2.5;
b1.control.dy = (-1 * SPEED) * 2.5;
b1._x = 20;
b1._y = -13;
b2.control.dx = (-1 * SPEED) * 3.5;
b2._x = 20;
b2._y = -13;
b3.control.dx = (-1 * SPEED) * 2.5;
b3.control.dy = SPEED * 2.5;
b3._x = 20;
b3._y = -13;
}
function hitPlatforms() {
suelo = true;
if (((!mapa.hitTest(_x - 2, _y + 2, true)) && (horizontal < 0)) || ((!mapa.hitTest(_x + 2, _y + 2, true)) && (horizontal > 0))) {
suelo = false;
}
return(undefined);
}
function setScale() {
if (hide && (!((b1._visible || (b2._visible)) || (b3._visible)))) {
if (_x <= heroe._x) {
_xscale = Math.abs(_xscale);
} else {
_xscale = -1 * Math.abs(_xscale);
}
}
}
function setSpeed() {
if (walk) {
if (_xscale > 0) {
return(SPEED);
}
return(-1 * SPEED);
}
}
function wallizq() {
return(mapa.hitTest(_x - 23, _y - 24, true));
}
function wallder() {
return(mapa.hitTest(_x + 23, _y - 24, true));
}
function Paredes() {
if (wallder() && (horizontal > 0)) {
wall = true;
}
if (wallizq() && (horizontal < 0)) {
wall = true;
}
if (wall) {
horizontal = 0;
}
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = (deadflag = false);
gotoAndStop("hide");
hide = true;
attack = (walk = (wake = (prewalk = false)));
horizontal = 0;
_x = xi;
_y = (mapa._y - yi) - heroe.vscrollspeed;
shoot = new Sound();
shoot.attachSound("metoolshoot");
myColor.setTransform(myColorNormal);
}
function drawframe() {
if (death) {
gotoAndStop("death");
return(undefined);
}
if (hide) {
gotoAndStop("hide");
return(undefined);
}
if (wake) {
gotoAndStop("wake");
return(undefined);
}
if (attack || (prewalk)) {
gotoAndStop("attack");
return(undefined);
}
if (walk) {
gotoAndStop("walk");
return(undefined);
}
}
var pausa = false;
var addMe = true;
static var SPEED = 2;
static var DELAY = 25;
static var WALKTIME = 40;
var timer = DELAY;
var hide = true;
static var DAMAGE = 1;
static var MAXDAMAGE = 1;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 10;
var timerdamage = 0;
static var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
static var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
}
Symbol 1511 MovieClip [__Packages.FloatDude] Frame 0
class FloatDude extends MovieClip
{
var heroe, yi, _y, myColor, onEnterFrame, _x, _visible, hitTest, _parent, sprite, gotoAndStop;
function FloatDude () {
super();
heroe = _root.heroe;
yi = _y;
myColor = new Color(this);
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
_x = _x - heroe.scrollspeed;
_y = _y - heroe.vscrollspeed;
_visible = false;
hitable = hitTest(_parent.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
}
if (death) {
_root.shoot1.impact = false;
doexplode();
}
}
if (!death) {
if (idle) {
if (hitable) {
idle = false;
attack = true;
}
}
if (attack) {
_x = _x - 2;
rad++;
_y = yi + (5 * Math.sin((Math.PI * rad) / 20));
if (_x <= -64) {
attack = false;
_visible = false;
}
}
drawframe();
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function drawframe() {
gotoAndStop("standing");
}
var pausa = false;
var addMe = true;
var dx = 2;
var dy = 0;
var rad = 0;
var idle = true;
var attack = false;
var attacking = false;
static var DAMAGE = 1;
static var MAXDAMAGE = 1;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
static var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
static var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
}
Symbol 1512 MovieClip [__Packages.PirateFaller] Frame 0
class PirateFaller extends MovieClip
{
var heroe, mapa, myColor, onEnterFrame, _x, _y, _visible, hitTest, sprite, du, u, gotoAndStop, _xscale;
function PirateFaller () {
super();
heroe = _root.heroe;
mapa = _root.mapa;
myColor = new Color(this);
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
_x = _x - heroe.scrollspeed;
_y = _y - heroe.vscrollspeed;
_visible = false;
hitable = hitTest(_root.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_root.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
}
if (death && (!du)) {
_root.shoot1.impact = false;
du = true;
dx = 0;
}
}
if (!death) {
setdx();
setdy();
_x = _x + dx;
_y = _y + dy;
drawframe();
} else {
doexplode();
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function wallizq() {
return((dx < 0) && (mapa.hitTest(_x - 20, _y - 5, true)));
}
function wallder() {
return((dx > 0) && (mapa.hitTest(_x + 20, _y - 5, true)));
}
function setdx() {
if (hitable) {
if (!u) {
dx = SPEED;
u = true;
}
if (wallder()) {
dx = -1 * SPEED;
return(undefined);
}
if (wallizq()) {
dx = SPEED;
return(undefined);
}
}
}
function setdy() {
dy = 3;
if (hitTest(mapa)) {
dy = 16;
}
if (mapa.hitTest(_x, _y, true)) {
dy = 0;
}
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = false;
dx = SPEED;
gotoAndStop("standing");
}
function drawframe() {
((dx > 0) ? ((_xscale = Math.abs(_xscale) * -1)) : ((_xscale = Math.abs(_xscale))));
}
var pausa = false;
var addMe = true;
var dy = 3;
var SPEED = 5;
var dx = 0;
static var DAMAGE = 1;
static var MAXDAMAGE = 3;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
}
Symbol 1513 MovieClip [__Packages.MetoolFlyer1] Frame 0
class MetoolFlyer1 extends MovieClip
{
static var heroe;
var myColor, xi, _x, yi, _y, onEnterFrame, _visible, hitTest, _parent, sprite, shoot, attachMovie, b1, b2, gotoAndStop, _xscale;
function MetoolFlyer1 () {
super();
heroe = _root.heroe;
myColor = new Color(this);
xi = _x;
yi = _y;
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
xi = xi - heroe.scrollspeed;
_x = _x - heroe.scrollspeed;
yi = yi - heroe.vscrollspeed;
_y = _y - heroe.vscrollspeed;
_visible = false;
hitable = hitTest(_parent.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
delete shoot;
}
if (death) {
_root.shoot1.impact = false;
doexplode();
dx = 0;
}
}
if (!death) {
if (idle) {
if ((Math.abs(heroe._x - _x) <= 140) && (_root.mascara.hitTest(_x, _y))) {
attacking = false;
idle = false;
descending = true;
if (_x > heroe._x) {
dx = SPEED;
forward = false;
} else {
dx = -1 * SPEED;
forward = true;
}
}
}
if (descending) {
heroe.DAMAGE = 2;
dy = 3;
_y = _y + dy;
if ((_y >= ((heroe._y - (heroe._height / 2)) - 64)) && (heroe.vertical == 0)) {
dy = 0;
descending = false;
attack = true;
shoot = new Sound();
shoot.attachSound("mflyershoot");
if (_x > heroe._x) {
dx = SPEED;
forward = false;
} else {
dx = -1 * SPEED;
forward = true;
}
}
}
if (attack && (!attacking)) {
attacking = true;
attachMovie("bullet", "b1", 1);
attachMovie("bullet", "b2", 2);
shoot.start();
b1.control.dx = 2;
b1.control.dy = 2;
b1._x = -8;
b1._y = b1._y + 13;
b2.control.dx = -2;
b2.control.dy = 2;
b2._x = 8;
b2._y = b2._y + 13;
}
drawframe();
} else if ((!_root.mascara.hitTest(xi, yi)) && (!(b1._visible || (b2._visible)))) {
dorespawn();
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
for (var _local3 in this) {
var _local2 = 1;
while (_local2 <= 2) {
if (this[_local3]._name == ("b" + _local2)) {
this[_local3].pausa = true;
}
_local2++;
}
}
}
function quitarPausa() {
pausa = false;
sprite.play();
for (var _local3 in this) {
var _local2 = 1;
while (_local2 <= 2) {
if (this[_local3]._name == ("b" + _local2)) {
this[_local3].pausa = false;
}
_local2++;
}
}
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = false;
dx = 0;
gotoAndStop("standing");
idle = true;
descending = false;
attack = false;
_x = xi;
_y = yi;
}
function drawframe() {
(forward ? ((_xscale = Math.abs(_xscale) * -1)) : ((_xscale = Math.abs(_xscale))));
gotoAndStop("standing");
}
var pausa = false;
var addMe = true;
var dx = 0;
var dy = 0;
static var SPEED = 0.5;
var MAX = 18;
var forward = false;
var idle = true;
var descending = false;
var attack = false;
static var DAMAGE = 1;
static var MAXDAMAGE = 1;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
static var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
static var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
var attacking = false;
}
Symbol 1514 MovieClip [__Packages.Bird] Frame 0
class Bird extends MovieClip
{
var heroe, xi, _x, yi, _y, myColor, onEnterFrame, _visible, hitTest, _parent, sprite, gotoAndStop, _xscale;
function Bird () {
super();
heroe = _root.heroe;
xi = _x;
yi = _y;
myColor = new Color(this);
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
xi = xi - heroe.scrollspeed;
_x = _x - heroe.scrollspeed;
_y = _y - heroe.vscrollspeed;
yi = yi - heroe.vscrollspeed;
_visible = false;
hitable = hitTest(_parent.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
}
if (death) {
_root.shoot1.impact = false;
doexplode();
dx = 0;
}
}
if (!death) {
if (idle) {
if ((Math.abs(heroe._x - _x) <= 160) && (_root.mascara.hitTest(_x, _y + 20))) {
idle = false;
descending = true;
if (_x > heroe._x) {
dx = SPEED;
forward = false;
} else {
dx = -1 * SPEED;
forward = true;
}
}
}
if (descending) {
heroe.DAMAGE = 2;
dy = 3;
_y = _y + dy;
if ((_y >= (heroe._y - (heroe._height / 2))) && (heroe.vertical == 0)) {
dy = 0;
descending = false;
attack = true;
if (_x > heroe._x) {
dx = SPEED;
forward = false;
} else {
dx = -1 * SPEED;
forward = true;
}
}
}
if (attack) {
heroe.DAMAGE = 3;
dx = dx * 1.3;
if (Math.abs(dx) >= MAX) {
((dx > 0) ? ((dx = MAX)) : ((dx = -1 * MAX)));
}
_x = _x - dx;
if ((Math.abs(_x - xi) >= 260) && (!hitTest(_root.mascara))) {
dorespawn();
}
}
drawframe();
} else if (!_root.mascara.hitTest(xi, yi + 20)) {
dorespawn();
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = false;
dx = 0;
gotoAndStop("standing");
idle = true;
descending = false;
attack = false;
_x = xi;
_y = yi;
}
function drawframe() {
(forward ? ((_xscale = Math.abs(_xscale) * -1)) : ((_xscale = Math.abs(_xscale))));
if (attack) {
gotoAndStop("attack");
} else {
gotoAndStop("standing");
}
}
var pausa = false;
var addMe = true;
var dx = 0;
var dy = 0;
static var SPEED = 0.5;
static var MAX = 18;
var forward = false;
var idle = true;
var descending = false;
var attack = false;
var done = false;
static var DAMAGE = 1;
static var MAXDAMAGE = 1;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
}
Symbol 1515 MovieClip [__Packages.Barrel] Frame 0
class Barrel extends MovieClip
{
var heroe, posX, posY, _x, _y, xi, yi, shoot, myColor, onEnterFrame, _visible, hitTest, sprite, _parent, timer, attachMovie, b1, diagonal, b2, gotoAndStop;
function Barrel () {
super();
heroe = _root.heroe;
if (posX && (posY)) {
_x = posX;
_y = posY;
delete posX;
delete posY;
}
xi = _x;
yi = Math.abs(_y - _root.mapa._y);
shoot = new Sound();
shoot.attachSound("barrelshoot");
myColor = new Color(this);
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
xi = xi - heroe.scrollspeed;
_x = _x - heroe.scrollspeed;
_y = _root.mapa._y - yi;
_visible = false;
hitable = hitTest(_root.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 3;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
delete shoot;
}
if (death) {
_root.shoot1.impact = false;
doexplode();
}
}
if (!death) {
if (idle) {
if ((Math.abs(heroe._x - _x) <= 140) && (Math.abs(heroe._y - _y) <= 220)) {
attack = (attacking = false);
idle = false;
preattack = true;
timer = DELAY;
}
}
if (preattack) {
timer--;
if (!timer) {
preattack = false;
attack = true;
}
}
if (attack && (!attacking)) {
attacking = true;
attachMovie("bullet", "b1", 1);
attachMovie("bullet", "b2", 2);
shoot.start();
b1.control.dx = SPEED;
if (diagonal) {
b1.control.dy = -1 * SPEED;
}
b1._x = -12;
b1._y = -14;
b2.control.dx = -1 * SPEED;
if (diagonal) {
b2.control.dy = -1 * SPEED;
}
b2._x = 12;
b2._y = -14;
}
if (attacking) {
if ((!b1.hitTest(_root.mascara)) && (!b2.hitTest(_root.mascara))) {
attacking = (attack = (preattack = false));
idle = true;
}
}
drawframe();
} else if ((Math.abs(heroe._x - _x) >= 200) || (Math.abs(heroe._y - _y) >= 200)) {
dorespawn();
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
for (var _local3 in this) {
var _local2 = 1;
while (_local2 <= 2) {
if (this[_local3]._name == ("b" + _local2)) {
this[_local3].pausa = true;
}
_local2++;
}
}
}
function quitarPausa() {
pausa = false;
sprite.play();
for (var _local3 in this) {
var _local2 = 1;
while (_local2 <= 2) {
if (this[_local3]._name == ("b" + _local2)) {
this[_local3].pausa = false;
}
_local2++;
}
}
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = false;
gotoAndStop("standing");
idle = true;
attack = (preattack = (attacking = false));
_x = xi;
_y = (_root.mapa._y - yi) - heroe.vscrollspeed;
shoot = new Sound();
shoot.attachSound("barrelshoot");
}
function drawframe() {
if (idle) {
gotoAndStop("standing");
}
if (attacking) {
gotoAndStop("attack");
}
}
var pausa = false;
var addMe = true;
static var SPEED = 7;
static var DELAY = 20;
var idle = true;
var attack = false;
var preattack = false;
static var DAMAGE = 1;
static var MAXDAMAGE = 2;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
static var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
static var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
var attacking = false;
}
Symbol 1516 MovieClip [__Packages.Sapo] Frame 0
class Sapo extends MovieClip
{
var heroe, mapa, gotoAndStop, posX, posY, _x, _y, xi, yi, myColor, landing, onEnterFrame, _visible, hitTest, sprite, _parent, timer, techo, _xscale, wall;
function Sapo () {
super();
heroe = _root.heroe;
mapa = _root.mapa;
gotoAndStop("jump");
if (posX && (posY)) {
_x = posX;
_y = posY;
delete posX;
delete posY;
}
xi = _x;
yi = Math.abs(_y - mapa._y);
myColor = new Color(this);
landing = new Sound();
landing.attachSound("sapolanding");
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
xi = xi - heroe.scrollspeed;
_x = _x - heroe.scrollspeed;
_y = _y - heroe.vscrollspeed;
_visible = false;
hitable = hitTest(_root.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.DAMAGE = 3;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
death = true;
delete landing;
}
if (death) {
_root.shoot1.impact = false;
rising = (falling = false);
doexplode();
}
}
if (!death) {
if (idle) {
horizontal = 0;
if (hitable) {
attack = (attacking = false);
idle = false;
preattack = true;
timer = DELAY;
}
}
if (preattack) {
timer--;
if (!timer) {
preattack = false;
attack = true;
timer = 3;
}
}
if (attack && (!jump)) {
timer--;
if (!timer) {
jump = true;
}
}
if (jump) {
horizontal = setSpeed();
vertical = vforce * -1;
rising = true;
jump = false;
}
if (rising) {
if (roof()) {
falling = true;
rising = false;
}
Paredes();
if (currenthigh < MAXJUMP) {
if (currenthigh < vforcei) {
vertical = -Math.abs(vforcei);
} else {
vertical = -Math.abs(vforce);
}
currenthigh = currenthigh + Math.abs(vertical);
} else {
vertical = vertical * heroe.gravity;
currenthigh = currenthigh + Math.abs(vertical);
if (Math.abs(vertical) < 1) {
falling = true;
rising = false;
}
}
}
if (falling) {
Paredes();
hitPlatforms();
vertical = Math.abs(vertical) * heroe.accel;
if (vertical > heroe.MAXVERTICAL) {
vertical = heroe.MAXVERTICAL;
}
}
_y = _y + vertical;
_x = _x + horizontal;
setScale();
drawframe();
} else if ((!_root.mascara.hitTest(_x, _y)) && (!_root.mascara.hitTest(xi, yi))) {
dorespawn();
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function hitPlatforms() {
if (mapa.hitTest(_x - 11, _y, true) || (mapa.hitTest(_x + 11, _y, true))) {
falling = (attack = false);
idle = true;
currenthigh = 0;
landing.start();
var _local2 = -15;
while (_local2 <= 15) {
if ((mapa.hitTest(_x - 11, _y + _local2, true) && (!mapa.hitTest(_x - 11, (_y + _local2) - 1, true))) || (mapa.hitTest(_x + 11, _y + _local2, true) && (!mapa.hitTest(_x + 11, (_y + _local2) - 1, true)))) {
break;
}
_local2++;
}
_y = (_y + _local2) - heroe.vscrollspeed;
_local2 = (vertical = 0);
}
return(undefined);
}
function roof() {
var _local2 = (techo = false);
if (mapa.hitTest(_x + 7, _y - 48, true)) {
_local2 = (techo = true);
}
return(_local2);
}
function setScale() {
if (preattack) {
if (_x <= heroe._x) {
_xscale = Math.abs(_xscale);
} else {
_xscale = -1 * Math.abs(_xscale);
}
}
}
function setSpeed() {
if (attack) {
if (_xscale > 0) {
return(SPEED);
}
return(-1 * SPEED);
}
}
function wallizq() {
return(mapa.hitTest(_x - 23, _y - 24, true));
}
function wallder() {
return(mapa.hitTest(_x + 23, _y - 24, true));
}
function Paredes() {
if (wallder() && (horizontal > 0)) {
horizontal = 0;
wall = true;
}
if (wallizq() && (horizontal < 0)) {
horizontal = 0;
wall = true;
}
}
function doexplode() {
myColor.setTransform(myColorNormal);
gotoAndStop("death");
}
function dorespawn() {
currentdamage = 0;
currenthigh = 0;
hitted = false;
flashing = false;
timerdamage = 0;
death = false;
gotoAndStop("standing");
falling = true;
idle = (attack = (preattack = (attacking = (jump = (rising = false)))));
horizontal = 0;
vertical = 2;
_x = xi;
_y = (_root.mapa._y - yi) - heroe.vscrollspeed;
landing = new Sound();
landing.attachSound("sapolanding");
}
function drawframe() {
if (idle) {
gotoAndStop("standing");
}
if (attack) {
gotoAndStop("jump");
}
}
var pausa = false;
var addMe = true;
static var SPEED = 2;
var horizontal = 0;
var vforce = 15;
var vforcei = 10;
static var MAXJUMP = 60;
var currenthigh = 0;
static var DELAY = 15;
var falling = true;
var rising = false;
var vertical = 2;
var attack = false;
var attacking = false;
var preattack = false;
var idle = true;
var jump = false;
static var DAMAGE = 1;
static var MAXDAMAGE = 2;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
static var myColorTransform = {ra:"100", rb:"200", ga:"100", gb:"180", ba:"100", bb:"150", aa:"100", ab:"00"};
static var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
}
Symbol 1517 MovieClip [__Packages.MetoolFlyer2] Frame 0
class MetoolFlyer2 extends MovieClip
{
var heroe, onEnterFrame, _y, _visible, hitTest, _parent, sprite, shoot, du, _x, dx, attachMovie, b1, b2, wait, c, leave, gotoAndStop;
function MetoolFlyer2 () {
super();
heroe = _root.heroe;
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
_y = _y - heroe.vscrollspeed;
_visible = false;
hitable = hitTest(_parent.mascara);
if (hitable) {
_visible = true;
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.damage = 2;
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_root.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
hitted = false;
}
if (currentdamage >= MAXDAMAGE) {
death = true;
delete shoot;
}
if (death && (!du)) {
_root.shoot1.impact = false;
du = true;
doexplode();
}
}
if (!death) {
if (descending) {
heroe.DAMAGE = 2;
dy = 3;
_y = _y + dy;
if ((_y >= ((heroe._y - (heroe._height / 2)) - 64)) && (heroe.vertical == 0)) {
dy = 0;
descending = false;
attack = true;
shoot = new Sound();
shoot.attachSound("mflyershoot");
if (_x > heroe._x) {
dx = SPEED;
} else {
dx = -1 * SPEED;
}
}
}
if (attack) {
attachMovie("bullet", "b1", 1);
attachMovie("bullet", "b2", 2);
shoot.start();
b1.control.dx = 2;
b1.control.dy = 2;
b1._x = -8;
b1._y = b1._y + 13;
b2.control.dx = -2;
b2.control.dy = 2;
b2._x = 8;
b2._y = b2._y + 13;
attack = false;
wait = true;
c = 0;
}
if (wait) {
c++;
if (c >= DELAY) {
wait = false;
leave = true;
dy = 3;
}
}
if (leave) {
_y = _y + dy;
if (_y >= 240) {
_visible = false;
onEnterFrame = null;
}
}
drawframe();
}
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function doexplode() {
gotoAndStop("death");
}
function drawframe() {
gotoAndStop("standing");
}
var pausa = false;
var addMe = true;
var dy = 0;
static var SPEED = 0.5;
static var MAX = 18;
static var DELAY = 30;
var descending = true;
var attack = false;
static var DAMAGE = 1;
static var MAXDAMAGE = 1;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var FLASHTIME = 5;
var timerdamage = 0;
var death = false;
}
Symbol 1518 MovieClip [__Packages.Fireman] Frame 0
class Fireman extends MovieClip
{
var onLoad, onUnload, onEnterFrame, sprite, hs, scrollspeed, vs, IZQ, DER, ARRIBA, SHOOT, SLIDEKEY, suelo, mapa, _x, _y, techo, currenthigh, s, landing, frame, hitTest, doscroll, barra, _parent, _xscale, _visible, MAXDAMAGE, shoot1, blast, x, salto, slideLeft, slideRight, playtornado, x1, x2, f, forward, backward, gotoAndStop;
function Fireman () {
super();
onLoad = function () {
_root.pauser.cosas.push(this);
if (!_root.died) {
if (_root.posY != 0) {
this._y = _root.posY;
}
if (_root.posX != 0) {
this._x = _root.posX;
}
}
if (_root.died) {
_root.currentdamage = 0;
}
_root.died = false;
if (_root.currenthigh != undefined) {
this.currenthigh = _root.currenthigh;
}
this.mapa = _root.mapa;
this.barra = _root.bheroe;
this.shoot1 = _root.shoot1;
this.MAXDAMAGE = this.barra._totalframes;
this.blast = new Sound();
this.blast.attachSound("shoot02");
this.salto = new Sound();
this.salto.attachSound("salto");
this.landing = new Sound();
this.landing.attachSound("landing");
this.barrida = new Sound();
this.barrida.attachSound("barrida");
};
onUnload = function () {
_root.currenthigh = this.currenthigh;
_root.posX = this._x;
_root.posY = this._y;
};
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function ponerPausa() {
pausa = true;
sprite.stop();
hs = scrollspeed;
vs = vscrollspeed;
scrollspeed = (vscrollspeed = 0);
}
function quitarPausa() {
pausa = false;
sprite.play();
scrollspeed = hs;
vscrollspeed = vs;
}
function getCommand() {
IZQ = _root.recorder.actual[0];
DER = _root.recorder.actual[1];
ARRIBA = _root.recorder.actual[2];
SHOOT = _root.recorder.actual[3];
SLIDEKEY = _root.recorder.actual[4];
}
function checkFloor() {
var _local3;
var _local4;
_local4 = false;
_local3 = _local4;
suelo = _local3;
var _local2 = -9;
while (_local2 <= 0) {
_local3 = _local3 || (mapa.hitTest(_x + _local2, _y, true));
_local2++;
}
_local2 = 1;
while (_local2 <= 9) {
_local4 = _local4 || (mapa.hitTest(_x + _local2, _y, true));
_local2++;
}
if (((_local3 && (wallizq())) && (!_local4)) && (!techo)) {
return(undefined);
}
if (((_local4 && (wallder())) && (!_local3)) && (!techo)) {
return(undefined);
}
suelo = _local3 || (_local4);
if (suelo) {
vertical = 0;
}
}
function hitPlatforms() {
var _local4 = false;
checkFloor();
if (suelo) {
vertical = 0;
falling = false;
currenthigh = 0;
techo = false;
if (s) {
landing.start();
s = false;
}
var _local3 = -15;
while (_local3 <= 15) {
var _local2 = -9;
while (_local2 <= 9) {
if (mapa.hitTest(_x + _local2, _y + _local3, true) && (!mapa.hitTest(_x + _local2, (_y + _local3) - 1, true))) {
_local4 = true;
break;
}
_local2 = _local2 + 3;
}
if (_local4) {
break;
}
_local3++;
}
_y = _y + _local3;
_local3 = (vertical = 0);
}
return(undefined);
}
function roof() {
var _local3 = (techo = false);
var _local2 = -3;
while (_local2 <= 3) {
if (mapa.hitTest(_x + _local2, _y - 30, true)) {
_local3 = (techo = true);
break;
}
_local2++;
}
return(_local3);
}
function render() {
if (!death) {
frame = sprite._currentframe;
getCommand();
scrollspeed = 0;
if (hitTest(_root.scrollmask)) {
doscroll = true;
}
if (((_root.topeizq._x >= 0) && (horizontal < 0)) || ((_root.topeder._x <= 256) && (horizontal > 0))) {
doscroll = false;
}
if (doscroll) {
_x = lastX;
scrollspeed = setSpeed() + _root.windx;
}
lastX = _x;
lastY = _y;
if (((timerdamage == 0) && (hitted)) && (!invisible)) {
timerdamage = FLASHTIME;
timerinvisible = INVISIBLETIME;
keys = false;
_root.currentdamage = _root.currentdamage + DAMAGE;
barra.gotoAndStop(_root.currentdamage + 1);
_parent.fhitted.start();
if (rising || (jumping)) {
vertical = 0.5;
falling = true;
}
}
if (timerdamage > 0) {
flashing = true;
timerdamage--;
if ((_xscale < 0) && (!wallder())) {
if (doscroll) {
scrollspeed = hforce / 2;
} else {
horizontal = hforce / 2;
}
}
if ((_xscale > 0) && (!wallizq())) {
if (doscroll) {
scrollspeed = (hforce / 2) * -1;
} else {
horizontal = (hforce / 2) * -1;
}
}
}
if (flashing && (timerdamage == 0)) {
flashing = false;
keys = true;
timerinvisible = INVISIBLETIME;
invisible = true;
}
if (invisible) {
timerinvisible--;
(((timerinvisible % 2) == 0) ? ((_visible = true)) : ((_visible = false)));
}
if ((timerinvisible <= 0) && (invisible)) {
invisible = false;
hitted = false;
_visible = true;
}
if ((_root.currentdamage + 1) >= MAXDAMAGE) {
death = true;
barra.gotoAndStop(MAXDAMAGE);
_root.fdeath.start();
}
DAMAGE = 0;
if ((!shooting) && (abletoshoot)) {
if (SHOOT && (keys)) {
justshoot = true;
abletoshoot = false;
} else {
justshoot = false;
}
}
if (justshoot && (!shooting)) {
if (_xscale > 0) {
shoot1._x = _x + 41;
} else {
shoot1._x = _x - 41;
}
if (!vertical) {
shoot1._y = _y - 14;
} else {
shoot1._y = _y - 20;
}
shoot1._visible = true;
if (_xscale > 0) {
shoot1.dx = Math.abs(shoot1.dx);
shoot1._xscale = Math.abs(shoot1._xscale);
}
if (_xscale < 0) {
shoot1.dx = Math.abs(shoot1.dx) * -1;
shoot1._xscale = Math.abs(shoot1._xscale) * -1;
}
blast.start();
shooting = true;
justshoot = false;
}
if ((!shooting) && (!abletoshoot)) {
if (!SHOOT) {
abletoshoot = true;
}
}
x = setSpeed();
if (!flashing) {
horizontal = x;
}
if ((((vertical == 0) && (ARRIBA)) && (upreleased)) && (keys)) {
vertical = vforce * -1;
horizontal = horizontal;
rising = true;
upreleased = false;
salto.start();
}
if ((!falling) && (!upreleased)) {
if (!ARRIBA) {
upreleased = true;
}
}
if (rising) {
if (roof()) {
falling = true;
startfall = true;
rising = false;
}
if ((((currenthigh < MAXJUMP) && (ARRIBA)) && (!upreleased)) && (!flashing)) {
if (roof()) {
startfall = true;
falling = true;
rising = false;
}
if (currenthigh < vforcei) {
vertical = -Math.abs(vforcei);
} else {
vertical = -Math.abs(vforce);
}
currenthigh = currenthigh + Math.abs(vertical);
} else {
vertical = vertical * gravity;
currenthigh = currenthigh + Math.abs(vertical);
if (Math.abs(vertical) < 1) {
startfall = true;
falling = true;
rising = false;
}
}
}
if ((((SLIDEKEY && (!rising)) && (!falling)) && (keys)) && (slidereleased)) {
if ((_xscale < 0) && (!wallizq())) {
slideLeft = true;
slideRight = false;
}
if ((_xscale > 0) && (!wallder())) {
slideLeft = false;
slideRight = true;
}
slide = slideLeft || (slideRight);
slidereleased = false;
}
if (slide && (slidetimer == 0)) {
slidetimer = SLIDETIME;
}
if (slide && (slidetimer > 0)) {
slidetimer--;
if ((((((slidetimer == 0) || (IZQ && (slideRight))) || (DER && (slideLeft))) || (falling)) || (wallizq() && (slideLeft))) || (wallder() && (slideRight))) {
slide = (slideLeft = (slideRight = false));
slidetimer = 0;
}
}
if ((!SLIDEKEY) && (!slidereleased)) {
slidereleased = true;
}
if (falling) {
s = true;
if (startfall) {
vertical = Math.abs(vforcei / 2) * accel;
startfall = false;
} else {
vertical = Math.abs(vertical) * accel;
}
if (vertical > MAXVERTICAL) {
vertical = MAXVERTICAL;
}
hitPlatforms();
if (_y >= 245) {
death = true;
_root.fdeath.start();
}
}
if (tornado) {
floating = true;
playtornado = true;
vertical2 = vertical2 + vforce;
if (vertical2 > MAXVERTICAL) {
vertical2 = MAXVERTICAL / 6;
}
} else {
playtornado = false;
}
if (floating) {
if (tornado) {
vertical = -vertical2;
} else {
vertical = -4;
floating = false;
falling = false;
rising = true;
startfall = true;
vertical2 = 0;
}
}
if (playtornado && (!soundtrigged)) {
_root.wind04.setVolume(100);
_root.wind04.start();
u = 100;
soundtrigged = true;
}
if ((soundtrigged && (!playtornado)) && (u > 0)) {
u = u - 5;
_root.wind04.setVolume(u);
if (u == 0) {
_root.wind04.stop();
playtornado = true;
soundtrigged = false;
}
}
tornado = false;
if (_root.windx) {
horizontal = horizontal + _root.windx;
}
_y = _y + vertical;
if (((horizontal < 0) && (!wallizq())) || ((horizontal > 0) && (!wallder()))) {
_x = _x + horizontal;
}
drawFrame();
vscrollspeed = 0;
if (_root.allowVscroll) {
doVscroll = false;
vscrollspeed = 0;
if (((_y <= 112) && (rising)) || ((_y >= 192) && (falling))) {
doVscroll = true;
}
if (_root.topeabajo.hitTest(_root.scrollmask) && (!rising)) {
doVscroll = false;
}
if (doVscroll) {
_y = lastY;
vscrollspeed = vertical;
}
}
x1 = lastX;
x2 = _x;
if ((!falling) && (!rising)) {
checkFloor();
if (!suelo) {
vertical = 2;
falling = true;
}
}
} else {
drawFrame();
vertical = (horizontal = (scrollspeed = 0));
doscroll = false;
if (!f) {
_root.fade.begin = true;
f = true;
}
}
}
function wallizq() {
var _local3 = false;
var _local4 = (slide ? 20 : 12);
var _local2 = -24;
while (_local2 < -15) {
if (mapa.hitTest(_x - _local4, _y + _local2, true)) {
_local3 = true;
break;
}
_local2++;
}
return(_local3);
}
function wallder() {
var _local3 = false;
var _local4 = (slide ? 20 : 12);
var _local2 = -24;
while (_local2 < -15) {
if (mapa.hitTest(_x + _local4, _y + _local2, true)) {
_local3 = true;
break;
}
_local2++;
}
return(_local3);
}
function setSpeed() {
if (slideLeft && (!rising)) {
forward = true;
backward = false;
if (horizontal == 0) {
return(hforce * -1);
}
return(hforce * -1.5);
}
if (slideRight && (!rising)) {
forward = false;
backward = true;
if (horizontal == 0) {
return(hforce);
}
return(hforce * 1.5);
}
if ((DER && (keys)) && (!wallder())) {
forward = false;
backward = true;
if (horizontal == 0) {
return(hforcei);
}
return(hforce);
}
if ((IZQ && (keys)) && (!wallizq())) {
forward = true;
backward = false;
if (horizontal == 0) {
return(hforcei * -1);
}
return(hforce * -1);
}
return(0);
}
function drawFrame() {
if (death) {
gotoAndStop("death");
_root.pauser.abletoPause = false;
return(undefined);
}
if (flashing) {
gotoAndStop("hitted");
return(undefined);
}
if (lastX != _x) {
(forward ? ((_xscale = Math.abs(_xscale) * -1)) : ((_xscale = Math.abs(_xscale))));
}
if (!shooting) {
if ((lastY > _y) && (rising)) {
gotoAndStop("jump");
_root.estado = 3;
return(undefined);
}
} else if ((lastY > _y) && (rising)) {
gotoAndStop("attackJ");
_root.estado = 4;
return(undefined);
}
if (((lastY < _y) && (falling)) || (floating)) {
gotoAndStop("fall");
_root.estado = 5;
return(undefined);
}
if (slide) {
gotoAndStop("slide");
_root.estado = 6;
return(undefined);
}
if (shooting) {
if (horizontal != _root.windx) {
gotoAndStop("attackRU");
sprite.gotoAndPlay(frame);
_root.estado = 2;
return(undefined);
}
} else if (horizontal != _root.windx) {
gotoAndStop("run");
_root.estado = 1;
return(undefined);
}
if (shooting) {
gotoAndStop("attackST");
} else {
gotoAndStop("standing");
}
}
var pausa = false;
var addMe = true;
var vforcei = 3;
var vforce = 8;
var hforce = 5;
var hforcei = 1;
var horizontal = 0;
var vertical = 0;
var MAXVERTICAL = 15;
var MAXJUMP = 38;
var friction = 0.5;
var gravity = 0.6;
var accel = 1.6;
var doVscroll = false;
var vscrollspeed = 0;
var rising = false;
var jumping = false;
var falling = false;
var startfall = false;
var lastX = MovieClip.prototype._x;
var lastY = MovieClip.prototype._y;
var scrolling = false;
var justshoot = false;
var shooting = false;
var slide = false;
var slidereleased = true;
var slidetimer = 0;
var SLIDETIME = 10;
var keys = true;
var upreleased = true;
var abletoshoot = true;
var tornado = false;
var vertical2 = 0;
var floating = false;
var soundtrigged = false;
var u = 0;
var death = false;
var hitted = false;
var flashing = false;
var FLASHTIME = 10;
var timerdamage = 0;
var timerinvisible = 0;
var INVISIBLETIME = 20;
var invisible = false;
var DAMAGE = 0;
}
Symbol 1519 MovieClip [__Packages.Tenguman] Frame 0
class Tenguman extends MovieClip
{
var onLoad, onEnterFrame, sprite, lastX, _x, lastY, _y, heroe, hitTest, platform, startX, forward, backward, MAXDAMAGE, _height, zoomUp, arrogant, _parent, myColor, myColorNormal, myColorTransform, x1, x2, gotoAndStop, _xscale;
function Tenguman () {
super();
onLoad = function () {
this.platform = _root.mapa;
this.heroe = _root.heroe;
this.barra = _root.bevil;
this.MAXDAMAGE = this.barra._totalframes;
this.myColor = new Color(this);
this.myColorTransform = {ra:"100", rb:"130", ga:"100", gb:"200", ba:"100", bb:"255", aa:"100", ab:"00"};
this.myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
};
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function render() {
lastX = _x;
lastY = _y;
_x = _x - heroe.scrollspeed;
if (!death) {
hitable = hitTest(_root.mascara);
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
_root.heroe.hitted = true;
}
if ((u > 0) || (_root.wind01.getVolume() > 0)) {
u = u - 5;
_root.wind01.setVolume(u);
if (u == 0) {
_root.wind01.stop();
}
}
if (opening) {
if (descending && (_y < 88)) {
_y = _y + dy;
} else {
descending = false;
}
opCounter++;
if (opCounter >= 160) {
opCounter = 0;
opening = false;
heroe.keys = true;
dy = 3;
attack = 0;
}
}
switch (attack) {
case 0 :
_root.windx = 0;
heroe.DAMAGE = 3;
opCounter++;
if (_x < (platform._x - 6)) {
dx = Math.abs(dx);
}
if (_x > ((platform._x + 240) + 6)) {
dx = Math.abs(dx) * -1;
}
if ((_y > 88) && (!asecho)) {
rad = 10;
dy = -6;
_y = _y + dy;
if (_y < 88) {
asecho = true;
dy = 0;
}
}
if ((_y < 88) && (!asecho)) {
dy = 6;
rad = 0;
_y = _y + dy;
if (_y > 88) {
asecho = true;
dy = 0;
}
}
if (asecho) {
rad = rad + 1;
_y = 88 + (24 * Math.sin((Math.PI * rad) / 10));
}
_x = _x + dx;
if (opCounter >= 60) {
opCounter = 0;
attack = generaAtaque();
dy = 3;
}
break;
case 1 :
case 3 :
_root.windx = 0;
heroe.DAMAGE = 5;
if (rise && (!zoom)) {
dy = Math.abs(dy) * 1.5;
_y = _y - dy;
}
if (((_y <= 0) && (rise)) && (!zoom)) {
rise = false;
_y = heroe._y;
if (_x <= 128) {
startX = (_x = -DELTA);
} else {
startX = (_x = 256 + DELTA);
}
_root.thunder1.start();
((startX <= (-DELTA)) ? ((dx = 30)) : ((dx = -30)));
if (startX <= (-DELTA)) {
forward = false;
backward = true;
} else {
forward = true;
backward = false;
}
dy = 0;
zoom = true;
}
if (zoom) {
_x = _x + dx;
if (((startX <= 0) && (_x >= 286)) || ((startX >= 256) && (_x <= -30))) {
zoom = (asecho = false);
attack = generaAtaque();
dy = -6;
((currentdamage >= (MAXDAMAGE / 2)) ? ((dx = -10)) : ((dx = 5)));
rise = true;
}
}
break;
case 2 :
_root.windx = 0;
heroe.DAMAGE = 7;
dy = Math.abs(dy) * 1.5;
if (rise && (!zoom)) {
_y = _y - dy;
}
if ((_y <= 0) && (rise)) {
rise = false;
_y = (235 + _height) + DELTA;
startX = (_x = heroe._x);
_root.thunder1.start();
zoomUp = true;
}
if (zoomUp) {
_y = _y - 30;
if (_y < 0) {
zoomUp = (asecho = false);
attack = generaAtaque();
dy = 6;
((currentdamage >= (MAXDAMAGE / 2)) ? ((dx = -10)) : ((dx = 5)));
rise = true;
}
}
break;
case 4 :
heroe.DAMAGE = 10;
if ((_x >= (platform._x - 10)) && (_x <= ((platform._x + platform._width) + 10))) {
((currentdamage >= (MAXDAMAGE / 2)) ? ((dy = 6)) : ((dy = 3)));
if (landing) {
_y = _y + dy;
}
if (_y >= (platform._y - platform._height)) {
_y = platform._y - platform._height;
landing = false;
arrogant = true;
u = 100;
_root.wind01.setVolume(100);
}
if (arrogant) {
opCounter++;
if (((opCounter >= 70) || (_y != (platform._y - platform._height))) || (!((_x >= (platform._x - 10)) && (_x <= ((platform._x + platform._width) + 10))))) {
_root.wind01.setVolume(100);
opCounter = 0;
_root.windx = 0;
arrogant = (asecho = false);
landing = true;
attack = generaAtaque();
u = 100;
}
}
} else {
attack = 2;
}
}
if (sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
if (timerdamage != 0) {
_root.hitted.start();
}
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
_root.bevil.gotoAndStop(currentdamage + 1);
_parent.hittedBIG.start();
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if ((currentdamage + 1) >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
_root.bevil.gotoAndStop(MAXDAMAGE);
death = true;
}
if (death) {
_root.shoot1.impact = false;
_root.bigexp.play();
}
x1 = lastX - platform._x;
x2 = _x - platform._x;
drawframe();
} else {
_root.windx = 0;
_root.wind01.stop();
myColor.setTransform(myColorNormal);
_root.bigexp._visible = true;
}
}
function drawframe() {
if (!zoom) {
forward = _x > heroe._x;
backward = _x < heroe._x;
}
if (death) {
_root.pauser.abletoPause = false;
gotoAndStop("death");
return(undefined);
}
if (lastX != _x) {
(forward ? ((_xscale = Math.abs(_xscale))) : ((_xscale = Math.abs(_xscale) * -1)));
}
if (descending) {
gotoAndStop("laugh");
return(undefined);
}
if (opening && (!descending)) {
gotoAndStop("opening");
return(undefined);
}
if (((attack == 0) || (landing && (attack == 4))) || (rise && ((attack == 1) || (attack == 2)))) {
gotoAndStop("asechando");
return(undefined);
}
if (zoom) {
gotoAndStop("zoom");
return(undefined);
}
if (zoomUp) {
gotoAndStop("zoomUp");
return(undefined);
}
if (arrogant && (attack == 4)) {
gotoAndStop("arrogant");
return(undefined);
}
}
function generaAtaque() {
var _local2 = Math.floor(Math.random() * 10) % 5;
switch (_root.modo) {
case "grabar" :
_root.recorder.y = _root.recorder.y + (_local2 + " ");
break;
case "reproducir" :
_local2 = Number(_root.recorder.y.shift());
}
return(_local2);
}
var pausa = false;
var addMe = true;
var asecho = true;
var opening = true;
var descending = true;
var zoom = false;
var rise = true;
var landing = true;
var attack = 0;
var DELTA = 80;
var rad = 0;
var dx = 5;
var dy = 1;
var opCounter = 160;
static var DAMAGE = 2;
static var FLASHTIME = 30;
var timerdamage = 0;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
var death = false;
var u = 0;
}
Symbol 1520 MovieClip [__Packages.Freezeman] Frame 0
class Freezeman extends MovieClip
{
static var MAXDAMAGE, MAXRUN;
var heroe, mapa, barra, myColor, land, onEnterFrame, _x, hitTest, sprite, _parent, _xscale, c, stand, attack1, jump, _y, fall, attackjID, gotoAndStop;
function Freezeman () {
super();
heroe = _root.heroe;
mapa = _root.mapa;
barra = _root.bevil;
MAXDAMAGE = barra._totalframes;
myColor = new Color(this);
land = new Sound();
land.attachSound("sapolanding");
onEnterFrame = function () {
if (!this.pausa) {
this.render();
}
};
}
function render() {
_x = _x - heroe.scrollspeed;
hitable = hitTest(_root.mascara);
if (!death) {
if (sprite.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.hitted = true;
}
if (sprite.hotzone.hitTest(_root.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
if (timerdamage != 0) {
_root.hitted.start();
}
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
_root.bevil.gotoAndStop(currentdamage + 1);
_parent.hittedBIG.start();
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if ((currentdamage + 1) >= MAXDAMAGE) {
myColor.setTransform(myColorTransform);
_root.bevil.gotoAndStop(MAXDAMAGE);
death = true;
}
if (death) {
_root.shoot1.impact = false;
heroe.keys = false;
_root.bigexp.play();
_root.pauser.abletoPause = false;
_root.clearedOK = true;
_root.nextOK = true;
}
if (idle) {
idle = false;
run = true;
dx = ((_xscale > 0) ? (SPEED) : (-1 * SPEED));
c = 0;
MAXRUN = _root.aleatorio(1, 3);
heroe.DAMAGE = 1;
}
if (run) {
heroe.DAMAGE = 2;
if (wallizq() || (wallder())) {
dx = dx * -1;
c++;
}
_x = _x + dx;
if (c >= MAXRUN) {
run = false;
stand = true;
c = 0;
dy = -1 * Math.abs(VSPEED);
}
}
if (stand) {
heroe.DAMAGE = 3;
c++;
if (c > 10) {
stand = false;
attack1 = true;
}
}
if (attack1) {
heroe.DAMAGE = 5;
if (done) {
done = (attack1 = false);
jump = true;
dy = -1 * Math.abs(VSPEED);
}
}
if (jump) {
heroe.DAMAGE = 2;
if (currenthigh > MAXHIGH) {
dy = dy * gravity;
}
_y = _y + dy;
currenthigh = currenthigh + Math.abs(dy);
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
attackjID = _root.aleatorio(1, 2);
}
}
if (fall) {
heroe.DAMAGE = 2;
dy = dy * accel;
_y = _y + dy;
if (suelo()) {
dy = 0;
_y = 194;
fall = false;
idle = true;
currenthigh = 0;
land.start();
}
}
}
drawFrame();
setScale();
}
function ponerPausa() {
pausa = true;
sprite.stop();
}
function quitarPausa() {
pausa = false;
sprite.play();
}
function wallizq() {
return((dx < 0) && (mapa.hitTest(_x - 10, _y - 10, true)));
}
function wallder() {
return((dx > 0) && (mapa.hitTest(_x + 10, _y - 10, true)));
}
function suelo() {
return(_y >= 194);
}
function setScale() {
if (death) {
return(undefined);
}
if ((idle || (stand)) || (attack1)) {
if (_x > heroe._x) {
_xscale = -1 * Math.abs(_xscale);
} else {
_xscale = Math.abs(_xscale);
}
}
if (run) {
_xscale = ((dx > 0) ? (Math.abs(_xscale)) : (-1 * Math.abs(_xscale)));
}
}
function drawFrame() {
if (death) {
gotoAndStop("ouch");
return(undefined);
}
if (attack1) {
gotoAndStop("attack1");
}
if (run) {
gotoAndStop("run");
}
if (jump) {
gotoAndStop("jump");
}
if (fall) {
if (attackjID) {
gotoAndStop("attackj" + attackjID);
} else {
gotoAndStop("fall");
}
}
if (stand) {
gotoAndStop("stand2");
}
}
var pausa = false;
var addMe = true;
static var SPEED = 10;
static var VSPEED = 10;
var gravity = 0.6;
var accel = 1.6;
static var MAXHIGH = 100;
var currenthigh = 0;
var dx = 0;
var dy = 0;
var idle = true;
var done = false;
var run = false;
static var DAMAGE = 4;
static var FLASHTIME = 70;
var timerdamage = 0;
var currentdamage = 0;
var hitted = false;
var flashing = false;
var hitable = false;
static var myColorTransform = {ra:"100", rb:"130", ga:"100", gb:"200", ba:"100", bb:"255", aa:"100", ab:"00"};
static var myColorNormal = {ra:"100", rb:"00", ga:"100", gb:"00", ba:"100", bb:"00", aa:"100", ab:"00"};
var death = false;
}
Symbol 1521 MovieClip [__Packages.FiremanTrans] Frame 0
class FiremanTrans extends MovieClip
{
var onLoad, onEnterFrame, onUnload, _x, _y, gotoAndStop;
function FiremanTrans () {
super();
onLoad = function () {
this._x = _root.posX;
this._y = _root.posY;
this.dx = _root.trans.dx * 0.8;
this.dy = _root.trans.dy;
this.d = Math.abs(_root.trans._y - this._y);
};
onEnterFrame = function () {
this.render();
};
onUnload = function () {
_root.posX = this._x;
_root.posY = this._y;
};
}
function render() {
if (dx != 0) {
if ((_x > 32) && (!_root.trans.door.pause)) {
_x = _x - dx;
}
}
drawframe();
if ((_y > 16) && (!_root.trans.door.pause)) {
_y = _y - dy;
}
if (_root.trans.u == undefined) {
return(undefined);
}
_y = _root.trans._y - d;
}
function drawframe() {
if (_root.estado == 6) {
gotoAndStop("slide");
return(undefined);
}
if (_root.estado == 3) {
gotoAndStop("jump");
return(undefined);
}
if (_root.estado == 4) {
gotoAndStop("attackJ");
return(undefined);
}
if (_root.estado == 5) {
gotoAndStop("fall");
return(undefined);
}
if (_root.estado == 2) {
gotoAndStop("attackRU");
return(undefined);
}
if (_root.estado == 0) {
gotoAndStop("standing");
return(undefined);
}
if (_root.estado == 1) {
gotoAndStop("run");
return(undefined);
}
}
var death = false;
var dx = 0;
var dy = 0;
var d = 0;
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 30
stop();
Symbol 102 Button
on (release) {
gotoAndPlay ("xstart");
}
Symbol 106 Button
on (release) {
gotoAndPlay ("xins");
}
Symbol 109 Button
on (release) {
gotoAndPlay ("xoptions");
}
Symbol 114 Button
on (release) {
gotoAndPlay ("xcontrols");
}
Symbol 116 Button
on (release) {
gotoAndPlay ("xhscores");
}
Symbol 118 Button
on (release) {
gotoAndPlay ("xfaq");
}
Symbol 120 Button
on (release) {
gotoAndPlay ("xcred");
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 127 Button
on (release) {
levelSetter.cambiarNivel(1);
}
Symbol 129 Button
on (release) {
play();
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 152 MovieClip Frame 1
_root.smoke._x = _root.heroe._x;
_root.smoke._y = _root.heroe._y - 3;
_root.smoke.gotoAndPlay(1);
_root.heroe.barrida.start();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 152 MovieClip Frame 7
gotoAndPlay ("loop");
Symbol 173 Button
on (release) {
getURL ("http://www.dzarchive.com/iragination", "_blank");
}
Symbol 174 Button
on (release) {
play();
}
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 2
_visible = true;
Symbol 219 Button
on (release) {
_root.controles.flush();
_root.gotoAndPlay("xtest");
}
Symbol 243 MovieClip Frame 1
function render() {
if (_visible) {
this.gotoAndStop(1);
if (((_x >= 256) || (_x <= 0)) || (impact)) {
if (!u) {
this.gotoAndStop("hit");
u = 1;
} else {
_x = 120;
_y = -1000;
this.gotoAndStop(1);
heroe.shooting = false;
_visible = false;
u = 0;
}
} else {
_x = (_x + (dx - heroe.scrollspeed));
_y = (_y - heroe.vscrollspeed);
}
} else {
impact = false;
}
}
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
stop();
addMe = true;
Instance of Symbol 94 MovieClip "hotzone" in Symbol 250 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 261 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Instance of Symbol 280 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
function arctan(x, y) {
if (x == 0) {
if (y > 0) {
return(90);
}
return(270);
}
if (x > 0) {
if (y > 0) {
return((Math.atan(y / x) * 180) / Math.PI);
}
return(360 + ((Math.atan(y / x) * 180) / Math.PI));
}
return(((Math.atan(y / x) * 180) / Math.PI) + 180);
}
_visible = true;
_alpha = 100;
r = Math.sqrt((_x * _x) + (_y * _y));
teta = arctan(_x, _y);
}
onClipEvent (enterFrame) {
if (_visible) {
teta = teta + 10;
}
if (teta >= 360) {
teta = 0;
}
_x = (r * Math.cos((teta * Math.PI) / 180));
_y = (r * Math.sin((teta * Math.PI) / 180));
r = r + 5;
_alpha = (_alpha - 0.2);
if (_alpha <= 0) {
_visible = false;
}
}
Symbol 287 MovieClip Frame 6
gotoAndPlay (3);
Symbol 288 MovieClip [FireMan Boca] Frame 1
#initclip 15
Object.registerClass("FireMan Boca", Fireman);
#endinitclip
stop();
Symbol 291 Button
on (release) {
_root.restoreKeys();
}
Symbol 310 MovieClip Frame 1
stop();
gotoAndStop(_root.currentdamage + 1);
Symbol 312 Button
on (release) {
play();
}
Symbol 313 Button
on (release) {
_root.levelSetter.cambiarNivel(1);
}
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 15
stop();
Symbol 326 Button
on (release) {
nextFrame();
}
Symbol 336 MovieClip Frame 5
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 10
hide = false;
_root.gotoAndPlay("FADE");
stop();
Symbol 348 MovieClip Frame 20
reveal = false;
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 365 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 365 MovieClip Frame 3
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 371 MovieClip Frame 7
gotoAndPlay ("loop");
Symbol 382 MovieClip Frame 1
_root.explo01.start();
Symbol 382 MovieClip Frame 6
stop();
Symbol 383 MovieClip [barrel] Frame 1
#initclip 21
Object.registerClass("barrel", Barrel);
#endinitclip
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 445 MovieClip [Pirate] Frame 1
#initclip 16
Object.registerClass("Pirate", Pirate);
#endinitclip
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 448 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 455 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 457 MovieClip [Bird] Frame 1
#initclip 17
Object.registerClass("Bird", Bird);
#endinitclip
Instance of Symbol 94 MovieClip "hotzone" in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 468 MovieClip Frame 6
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 475 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 475 MovieClip Frame 4
stop();
Symbol 476 MovieClip [Sapo] Frame 1
#initclip 18
Object.registerClass("Sapo", Sapo);
#endinitclip
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 487 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 488 MovieClip [Metool Flyer1] Frame 1
#initclip 19
Object.registerClass("Metool Flyer1", MetoolFlyer1);
#endinitclip
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 501 MovieClip Frame 3
_parent.shield = true;
Symbol 501 MovieClip Frame 6
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 506 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 506 MovieClip Frame 5
_parent.shield = false;
Instance of Symbol 94 MovieClip "hotzone" in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 550 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 551 MovieClip [MetoolR&F] Frame 1
#initclip 20
Object.registerClass("MetoolR&F", Metool);
#endinitclip
stop();
Symbol 564 MovieClip Frame 1
stop();
Symbol 571 MovieClip Frame 7
stop();
Symbol 574 Button
on (release) {
_root.tmark = getTimer();
for (i in _root.pauser.cosas) {
_root.pauser.cosas[i].quitarPausa();
}
_root.pauser.paused = false;
gotoAndStop ("Hide");
}
Symbol 576 Button
on (release) {
delete _root.posX;
delete _root.posY;
_root.gotoAndPlay("exit");
}
Symbol 578 MovieClip Frame 1
play();
Symbol 578 MovieClip Frame 5
stop();
_root.pauser.abletoPause = true;
Symbol 578 MovieClip Frame 12
Selection.setFocus("btn1");
_root.ttotal = _root.ttotal + (getTimer() - _root.tmark);
Instance of Symbol 111 MovieClip "controldeFoco" in Symbol 578 MovieClip Frame 12
onClipEvent (load) {
total = 2;
rutafoco = Selection.getFocus();
rutafoco = rutafoco.substring(0, rutafoco.lastIndexOf(".") + 1);
able = true;
}
onClipEvent (keyDown) {
function quien() {
var _local1 = Selection.getFocus();
var _local2 = _local1.lastIndexOf(".");
return(_local1.charAt(_local1.length - 1));
}
function ponerFoco(desde, modo) {
if (Selection.getFocus() == null) {
Selection.setFocus("btn1");
return(undefined);
}
desde = Number(desde);
if (modo == 0) {
((desde < total) ? (desde++) : (desde = 1));
Selection.setFocus((rutafoco + "btn") + desde);
return(undefined);
}
if (modo == 1) {
((desde > 1) ? (desde--) : (desde = total));
Selection.setFocus((rutafoco + "btn") + desde);
return(undefined);
}
}
if (Key.isDown(40)) {
ponerFoco(quien(), 0);
}
if (Key.isDown(38)) {
ponerFoco(quien(), 1);
}
}
Instance of Symbol 125 MovieClip "levelmc" in Symbol 578 MovieClip Frame 12
onClipEvent (load) {
if (_root.nivel == undefined) {
_root.nivel = 2;
}
this.gotoAndStop(_root.nivel);
}
Symbol 579 MovieClip Frame 1
function pauseAll(lapse) {
pauseAllFlag = true;
pauseAllCNT = lapse;
for (var _local1 in cosas) {
cosas[_local1].ponerPausa();
}
}
function ponerPausa() {
for (var _local1 in cosas) {
cosas[_local1].ponerPausa();
}
}
function quitarPausa() {
for (var _local1 in cosas) {
cosas[_local1].quitarPausa();
}
}
quitarPausa();
Symbol 596 MovieClip [FireMan Boca Transitions] Frame 1
#initclip 22
Object.registerClass("FireMan Boca Transitions", FiremanTrans);
#endinitclip
stop();
Instance of Symbol 419 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
_x = 1274;
}
Symbol 615 MovieClip Frame 1
stop();
Instance of Symbol 615 MovieClip "locked" in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
_visible = _root.locks;
}
onClipEvent (enterFrame) {
if ((!u) && (_root.locks == 0)) {
this.nextFrame();
u = true;
}
}
Instance of Symbol 599 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 600 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 601 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 616 MovieClip "lastblock" in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 617 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 618 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 619 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 620 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 623 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 626 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 629 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 630 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 631 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 632 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 594 MovieClip in Symbol 633 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 650 MovieClip Frame 15
if (_root.msgbox.msg == "All locks destroyed.".toUpperCase()) {
_root.unlocked.start();
}
Symbol 650 MovieClip Frame 29
stop();
Symbol 651 MovieClip Frame 1
function render() {
_x = (_x - heroe.scrollspeed);
_y = (_y - heroe.vscrollspeed);
_visible = false;
hitable = this.hitTest(_root.mascara);
if (hitable) {
_visible = true;
if (this.sprite.hotzone.hitTest(_parent.shoot1) && (hitable)) {
hitted = true;
_root.shoot1.impact = true;
_root.hitted.start();
}
if ((timerdamage == 0) && (hitted)) {
timerdamage = FLASHTIME;
currentdamage = currentdamage + DAMAGE;
}
if (timerdamage > 0) {
flashing = true;
(((timerdamage % 3) == 0) ? (myColor.setTransform(myColorTransform)) : (myColor.setTransform(myColorNormal)));
timerdamage--;
}
if (flashing && (timerdamage == 0)) {
flashing = false;
myColor.setTransform(myColorNormal);
hitted = false;
}
if ((currentdamage >= MAXDAMAGE) && (!death)) {
myColor.setTransform(myColorTransform);
death = true;
_root.locks = _root.locks - 1;
_root.msgbox.msg = "";
_root.msgbox.begin = true;
if (_root.locks > 0) {
_root.msgbox.msg = _root.locks + " more locks to destroy!".toUpperCase();
} else {
_root.msgbox.msg = "All locks destroyed.".toUpperCase();
}
}
if (death && (!v)) {
_root.shoot1.impact = false;
myColor.setTransform(myColorNormal);
v = true;
}
}
drawFrame();
}
function drawFrame() {
if (!death) {
this.gotoAndStop("stand");
} else {
this.gotoAndStop("death");
}
}
Symbol 661 MovieClip Frame 1
function render() {
if (begin) {
scrollup = true;
begin = false;
}
if (scrollup) {
_visible = true;
_y = (_y + ((yf - _y) / lapse));
if (_y <= yf) {
_y = yf;
scrollup = false;
stay = true;
c = 0;
}
}
if (stay) {
c = c + 1;
if (c >= DELAY) {
stay = false;
scrolldown = true;
}
}
if (scrolldown) {
dy = 1.5;
_y = (_y + dy);
if (_y >= yi) {
_y = _yi;
scrolldown = false;
_visible = false;
}
}
}
Symbol 701 MovieClip Frame 1
pause = true;
Symbol 701 MovieClip Frame 9
stop();
pause = false;
Symbol 701 MovieClip Frame 15
_root.pause = false;
_root.gotoAndStop(_root.next);
Symbol 709 MovieClip Frame 1
function render() {
if (begin) {
dorumble = true;
begin = false;
c = 0;
}
if (dorumble) {
dy = dy * -1;
_root._y = _root._y + dy;
c = c + 1;
if (c > DELAY) {
dorumble = false;
_root._y = yi;
}
}
}
Symbol 711 MovieClip Frame 1
function ponerPausa() {
pausa = true;
}
function quitarPausa() {
pausa = false;
}
function render() {
if (c < DELAY) {
c++;
if (dy < MAX) {
dy = dy + ((20 - dy) / 20);
}
if (c >= DELAY) {
detener = true;
}
}
if (detener) {
if (dy > MIN) {
dy = dy + ((-dy) / 40);
} else {
detenido = true;
detener = false;
}
}
if (detenido) {
dy = 0;
_root.locks = false;
}
_y = (_y + dy);
if (_y > 240) {
_y = -1;
}
}
Symbol 714 MovieClip [Metool Flyer2] Frame 1
#initclip 24
Object.registerClass("Metool Flyer2", MetoolFlyer2);
#endinitclip
stop();
Symbol 715 MovieClip [Pirate Faller] Frame 1
#initclip 23
Object.registerClass("Pirate Faller", PirateFaller);
#endinitclip
stop();
Symbol 720 MovieClip Frame 1
function ponerPausa() {
this.stop();
}
function quitarPausa() {
this.play();
}
addMe = true;
Symbol 720 MovieClip Frame 11
gotoAndPlay ("loop");
Instance of Symbol 753 MovieClip in Symbol 767 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 766 MovieClip in Symbol 767 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mascara);
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 772 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 791 MovieClip Frame 15
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 803 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 804 MovieClip [Turbina] Frame 1
#initclip 26
Object.registerClass("Turbina", Turbina);
#endinitclip
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 836 MovieClip [Floatdude] Frame 1
#initclip 25
Object.registerClass("Floatdude", FloatDude);
#endinitclip
stop();
Symbol 868 MovieClip Frame 1
Symbol 868 MovieClip Frame 2
Symbol 868 MovieClip Frame 9
stop();
pause = false;
Symbol 868 MovieClip Frame 15
_root.pause = false;
_root.gotoAndStop(_root.next);
Instance of Symbol 868 MovieClip "door" in Symbol 869 MovieClip Frame 1
onClipEvent (load) {
pause = true;
}
Symbol 875 MovieClip Frame 1
stop();
Instance of Symbol 868 MovieClip "door" in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
pause = true;
}
Instance of Symbol 881 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
heroe = eval (_root.heroe);
}
onClipEvent (enterFrame) {
_x = (_x - heroe.scrollspeed);
}
Symbol 893 MovieClip Frame 1
function render() {
_x = (_x - heroe.scrollspeed);
_visible = false;
if ((tenguman.zoom && (setxy)) && (!start)) {
setxy = false;
start = true;
if (tenguman.dx > 0) {
_xscale = Math.abs(_xscale);
dx = SPEED;
} else {
_xscale = (-1 * Math.abs(_xscale));
dx = -1 * SPEED;
}
}
if (start) {
if ((tenguman._x > (mapa._x + 120)) && (dx > 0)) {
_x = mapa._x;
_y = (mapa._y - 30);
start = false;
flow = true;
}
if ((tenguman._x < ((mapa._x + 240) - 120)) && (dx < 0)) {
_x = (mapa._x + 240);
_y = (mapa._y - 30);
start = false;
flow = true;
}
}
if (flow) {
_x = (_x + dx);
if ((dx > 0) && (_x > (mapa._x + 240))) {
dx = 0;
flow = false;
setxy = true;
}
if ((dx < 0) && (_x < mapa._x)) {
dx = 0;
flow = false;
setxy = true;
}
}
_visible = ((((dx != 0) && (Math.abs(tenguman._y - (mapa._y - 32)) <= 30)) && (!tenguman.death)) && (flow));
}
function ponerPausa() {
pausa = true;
this.stop();
}
function quitarPausa() {
pausa = false;
this.play();
}
this.onEnterFrame = function () {
if (!pausa) {
render();
}
};
Symbol 951 MovieClip Frame 53
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 952 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 956 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 980 MovieClip Frame 1
_root.wind01.stop();
Instance of Symbol 969 MovieClip in Symbol 980 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = this.hitTest(_root.mapa);
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 980 MovieClip Frame 15
onClipEvent (load) {
_visible = false;
}
Symbol 980 MovieClip Frame 17
if (_root.tenguman._x > _root.heroe._x) {
_root.windx = (-1 * _root.heroe.hforce) * 1.3;
} else {
_root.windx = _root.heroe.hforce * 1.3;
}
_root.wind01.start(0, 99);
Instance of Symbol 94 MovieClip "hotzone" in Symbol 980 MovieClip Frame 30
onClipEvent (load) {
_visible = false;
}
Symbol 980 MovieClip Frame 31
stop();
Symbol 987 MovieClip Frame 154
stop();
Symbol 988 MovieClip [Tengu Man] Frame 1
#initclip 27
Object.registerClass("Tengu Man", Tenguman);
#endinitclip
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1004 MovieClip Frame 1
stop();
Instance of Symbol 111 MovieClip in Symbol 1004 MovieClip Frame 2
onClipEvent (load) {
n = 100;
who = _root.loop;
}
onClipEvent (enterFrame) {
n = n - 10;
if (n >= 0) {
who.setVolume(n);
} else {
who.stop();
who.setVolume(100);
n = 100;
delete _root.loop;
}
}
Symbol 1004 MovieClip Frame 19
_root.loop = new Sound();
_root.loop.setVolume(100);
Symbol 1004 MovieClip Frame 131
_root.heroe.keys = false;
Symbol 1004 MovieClip Frame 211
_root.loop = new Sound();
_root.loop.setVolume(100);
Symbol 1004 MovieClip Frame 380
_root.ttotal = _root.ttotal + (getTimer() - _root.tmark);
trace("Fase1:" + _root.ttotal);
stop();
_root.gotoAndStop("H2");
Instance of Symbol 94 MovieClip "hotzone" in Symbol 1019 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 1036 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 1045 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1045 MovieClip Frame 11
stop();
Instance of Symbol 94 MovieClip "hotzone" in Symbol 1051 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1051 MovieClip Frame 3
stop();
Symbol 1076 MovieClip Frame 1
function render() {
_visible = this.hitTest(_root.mascara);
_x = (_x - heroe.scrollspeed);
if (mover) {
_y = (_y + dy);
c--;
if ((!this.hitTest(_root.mascara)) || (c <= 0)) {
mover = false;
borrar = true;
}
}
if (borrar) {
var _local3 = _root.pauser.cosas;
for (var _local4 in _local3) {
if (_local3[_local4] == this) {
delete _local3[_local4];
break;
}
}
this.removeMovieClip();
borrar = false;
}
}
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
Symbol 1076 MovieClip Frame 6
stop();
Symbol 1084 MovieClip Frame 5
stop();
Symbol 1087 MovieClip Frame 1
function disparar() {
i++;
balaObj = {_x:30, _y:170, dx:20, dy:0, mover:true};
if (freeze._xscale > 0) {
balaObj._x = freeze._x + 30;
} else {
balaObj._x = freeze._x - 30;
balaObj.dx = balaObj.dx * -1;
}
_root.bala.duplicateMovieClip("bala" + i, i, balaObj);
}
i = 0;
freeze = _root.freeze;
Instance of Symbol 94 MovieClip "hotzone" in Symbol 1087 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 1051 MovieClip in Symbol 1087 MovieClip Frame 1
/* no clip actions */
Symbol 1087 MovieClip Frame 29
disparar();
Symbol 1087 MovieClip Frame 34
disparar();
Symbol 1087 MovieClip Frame 39
disparar();
Symbol 1087 MovieClip Frame 44
disparar();
Symbol 1087 MovieClip Frame 49
disparar();
Instance of Symbol 1051 MovieClip in Symbol 1087 MovieClip Frame 57
/* no clip actions */
Symbol 1087 MovieClip Frame 62
_parent.done = true;
Symbol 1096 MovieClip Frame 5
freeze = _root.freeze;
heroe = _root.heroe;
SPEED = 20;
balaObj = {_x:30, _y:170, dx:20, dy:0, mover:true};
if (freeze._xscale > 0) {
balaObj._x = freeze._x + 30;
} else {
balaObj._x = freeze._x - 30;
balaObj.dx = balaObj.dx * -1;
}
balaObj._y = freeze._y - 30;
teta = Math.atan(Math.abs(heroe._x - balaObj._x) / Math.abs(heroe._y - balaObj._y));
balaObj.dx = ((freeze._xscale > 0) ? (SPEED * Math.sin(teta)) : ((-1 * SPEED) * Math.sin(teta)));
balaObj.dy = SPEED * Math.cos(teta);
_root.bala.duplicateMovieClip("balaX", 1, balaObj);
Symbol 1096 MovieClip Frame 7
_parent.attackjID = 0;
stop();
Symbol 1099 MovieClip Frame 4
freeze = _root.freeze;
balaObj = {_x:30, _y:freeze._y - 30, dx:25, dy:0, mover:true};
if (freeze._xscale > 0) {
balaObj._x = freeze._x + 30;
} else {
balaObj._x = freeze._x - 30;
balaObj.dx = balaObj.dx * -1;
}
_root.balas.duplicateMovieClip("balas20", 20, balaObj);
Symbol 1099 MovieClip Frame 7
stop();
Symbol 1104 MovieClip Frame 8
stop();
Symbol 1105 MovieClip [Freeze Man] Frame 1
#initclip 28
Object.registerClass("Freeze Man", Freezeman);
#endinitclip
stop();
Symbol 1113 MovieClip Frame 1
function render() {
_visible = this.hitTest(_root.mapa);
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
var _local4 = _root.pauser.cosas;
for (var _local5 in _local4) {
if (_local4[_local5] == this) {
delete _local4[_local5];
break;
}
}
dy = 0;
fall = false;
_parent.totalsparks--;
if (_parent.totalsparks <= 0) {
_parent.borrar = true;
}
}
}
_x = (_x + dx);
_y = (_y + dy);
}
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
function suelo() {
return(!this.hitTest(_root.mapa));
}
Symbol 1116 MovieClip Frame 1
function render() {
_visible = this.hitTest(_root.mapa);
if (jump) {
dy = dy * gravity;
if (dy > -0.5) {
jump = false;
fall = true;
dy = 0.5;
}
}
if (fall) {
dy = dy * accel;
if (suelo()) {
var _local4 = _root.pauser.cosas;
for (var _local5 in _local4) {
if (_local4[_local5] == this) {
delete _local4[_local5];
break;
}
}
dy = 0;
fall = false;
_parent.totalsparks--;
if (_parent.totalsparks <= 0) {
_parent.borrar = true;
}
}
}
_x = (_x + dx);
_y = (_y + dy);
}
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
function suelo() {
return(!this.hitTest(_root.mapa));
}
Symbol 1118 MovieClip Frame 1
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
function render() {
_visible = this.hitTest(_root.mascara);
_x = (_x - heroe.scrollspeed);
if (mover) {
this.gotoAndStop("fly");
if (this.hotzone.hitTest(heroe.sprite.hotzone)) {
(dy ? ((heroe.damage = 10)) : ((heroe.damage = 6)));
heroe.hitted = true;
}
_x = (_x + dx);
_y = (_y + dy);
if (dy != 0) {
if ((heroe._x > _x) && (heroe.horizontal > 0)) {
dx = dx + 2;
}
if ((heroe._x < _x) && (heroe.horizontal < 0)) {
dx = dx - 2;
}
}
if ((wallizq() || (wallder())) || (suelo())) {
mover = false;
this.gotoAndStop("crash");
if (dy != 0) {
x = new Sound();
x.attachSound("freezeattack");
x.start();
}
}
if (dy != 0) {
i++;
shObj = {_x:_x, _y:_y, dx:0, dy:2, mover:true};
_root.shineNoloop.duplicateMovieClip("shineNoloop" + i, 10 + i, shObj);
}
}
if (borrar) {
var _local3 = _root.pauser.cosas;
for (var i in _local3) {
if (_local3[i] == this) {
delete _local3[i];
break;
}
}
this.removeMovieClip();
borrar = false;
}
}
function wallizq() {
return((dx < 0) && (mapa.hitTest(_x, _y, true)));
}
function wallder() {
return((dx > 0) && (mapa.hitTest(_x, _y, true)));
}
function suelo() {
return(_y >= 194);
}
stop();
totalsparks = 0;
Instance of Symbol 94 MovieClip "hotzone" in Symbol 1118 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1118 MovieClip Frame 10
_root.rumble.begin = true;
Instance of Symbol 1113 MovieClip in Symbol 1118 MovieClip Frame 10
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
_parent.totalsparks++;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 1116 MovieClip in Symbol 1118 MovieClip Frame 10
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
_parent.totalsparks++;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 1113 MovieClip in Symbol 1118 MovieClip Frame 10
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
_parent.totalsparks++;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 18 MovieClip in Symbol 1118 MovieClip Frame 10
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
_parent.totalsparks++;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 18 MovieClip in Symbol 1118 MovieClip Frame 10
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
_parent.totalsparks++;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 18 MovieClip in Symbol 1118 MovieClip Frame 10
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
_parent.totalsparks++;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Instance of Symbol 18 MovieClip in Symbol 1118 MovieClip Frame 10
onClipEvent (load) {
jump = true;
gravity = 0.6;
accel = 1.5;
u = _root.aleatorio(-16, 16);
v = _root.aleatorio(-16, 16);
_x = (_x + u);
_y = (_y + v);
dy = _root.aleatorio(15, 30);
dx = _root.aleatorio(1, 5) * 2;
if (u < 0) {
dx = -1 * dx;
}
((v > 0) ? ((dy = dy * 1)) : ((dy = dy * -1)));
_parent.totalsparks++;
_root.pauser.cosas.push(this);
}
onClipEvent (enterFrame) {
if (!pausa) {
render();
}
}
Symbol 1121 MovieClip Frame 1
function render() {
_visible = this.hitTest(_root.mascara);
_x = (_x - heroe.scrollspeed);
if (mover) {
_x = (_x + dx);
_y = (_y + dy);
if (this.hotzone.hitTest(heroe.sprite.hotzone)) {
heroe.damage = 3;
heroe.hitted = true;
}
if (killme()) {
mover = false;
borrar = true;
}
}
if (borrar) {
var _local3 = _root.pauser.cosas;
for (var _local4 in _local3) {
if (_local3[_local4] == this) {
delete _local3[_local4];
break;
}
}
this.removeMovieClip();
borrar = false;
}
}
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
function killme() {
return(((((dx > 0) && (_x > 256)) || ((dx < 0) && (_x < 0))) || ((dy < 0) && (_y < 0))) || ((dy > 0) && (dy > 224)));
}
Instance of Symbol 94 MovieClip "hotzone" in Symbol 1121 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1124 MovieClip Frame 1
function render() {
_visible = this.hitTest(_root.mascara);
_x = (_x - heroe.scrollspeed);
if (mover) {
_x = (_x + dx);
_y = (_y + dy);
if (wallizq() || (wallder())) {
mover = false;
borrar = true;
for (i in angulos) {
u = !u;
shObj = {_x:_x, _y:_y, mover:true};
shObj.dx = ((freeze._xscale > 0) ? ((-1 * SPEED) * Math.cos(angulos[i])) : (SPEED * Math.cos(angulos[i])));
shObj.dy = (u ? ((-1 * SPEED) * Math.sin(angulos[i])) : (SPEED * Math.sin(angulos[i])));
_root.spark.duplicateMovieClip("spark" + i, 10 + i, shObj);
}
}
}
if (borrar) {
var _local3 = _root.pauser.cosas;
for (var i in _local3) {
if (_local3[i] == this) {
delete _local3[i];
break;
}
}
this.removeMovieClip();
borrar = false;
}
}
function ponerPausa() {
pausa = true;
this.sprite.stop();
}
function quitarPausa() {
pausa = false;
this.sprite.play();
}
function wallizq() {
return((dx < 0) && (mapa.hitTest(_x, _y, true)));
}
function wallder() {
return((dx > 0) && (mapa.hitTest(_x, _y, true)));
}
Symbol 1126 MovieClip Frame 1
stop();
Symbol 1126 MovieClip Frame 40
_root.ttotal = _root.ttotal + (getTimer() - _root.tmark);
trace("Fase2:" + _root.ttotal);
_root.gotoAndStop("H3");
Symbol 1134 MovieClip Frame 22
stop();
Symbol 1157 MovieClip Frame 65
stop();
Symbol 1166 MovieClip Frame 10
stop();
Symbol 1209 MovieClip Frame 11
stop();
Symbol 1237 MovieClip Frame 6
stop();
Symbol 1244 MovieClip Frame 9
stop();
Symbol 1249 MovieClip Frame 9
stop();
Symbol 1260 MovieClip Frame 1
Symbol 1260 MovieClip Frame 40
gotoAndPlay ("loop");
Symbol 1268 MovieClip Frame 1
Symbol 1307 MovieClip Frame 9
stop();
Symbol 1317 MovieClip Frame 9
stop();
Symbol 1340 MovieClip Frame 13
stop();
Symbol 1382 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1402 MovieClip Frame 11
stop();
Symbol 1492 Button
on (press) {
if (_root.clearedOK) {
play();
} else {
gotoAndPlay (5276);
}
}
Symbol 1494 Button
on (release) {
skiper.play();
_root.c2.enabled = false;
_root.c3.enabled = false;
}
Symbol 1496 Button
on (release) {
gotoAndStop ("HSerror");
}
Symbol 1497 Button
on (release) {
skiper.play();
}
Symbol 1500 Button
on (press) {
gotoAndPlay ("HSagain");
again = true;
}
Symbol 1505 Button
on (release) {
skiper.play();
_root.btn1.enabled = false;
_root.btn2.enabled = false;
}