Frame 1
MochiAd.showPreGameAd({id:"5e2598d7c910eaaf", res:"800x600", background:3618615, color:16755200, outline:8222318, no_bg:true});
Frame 2
congrats_all == 0;
congrats_1 == 0;
this._lockroot = true;
_root._quality = "MEDIUM";
_root.kongregateServices.connect();
mochi.MochiServices.connect("5e2598d7c910eaaf");
_global.option_background = true;
_global.option_music = true;
_global.option_tray = true;
_global.option_music = true;
_global.option_invisible = false;
stop();
stopAllSounds();
Frame 3
stop();
Frame 4
stop();
i = 0;
while (i < 100) {
_root["p_" + i] = 0;
i++;
}
i = 0;
while (i < 100) {
_root["a_" + i] = 0;
i++;
}
i = 0;
while (i < 100) {
_root["l_" + i] = 0;
i++;
}
i = 0;
while (i < 100) {
_root["centesimas_" + i] = 59;
i++;
}
i = 0;
while (i < 100) {
_root["segundos_" + i] = 59;
i++;
}
i = 0;
while (i < 100) {
_root["minutos_" + i] = 59;
i++;
}
user_datos = SharedObject.getLocal("user_data");
i = 0;
while (i < 100) {
if (user_datos.data["p_" + i]) {
_root["p_" + i] = user_datos.data["p_" + i];
} else {
_root["p_" + i] = 0;
}
i++;
}
i = 0;
while (i < 100) {
if (user_datos.data["a_" + i]) {
_root["a_" + i] = user_datos.data["a_" + i];
} else {
_root["a_" + i] = 0;
}
i++;
}
i = 0;
while (i < 100) {
if (user_datos.data["l_" + i]) {
_root["l_" + i] = user_datos.data["l_" + i];
} else {
_root["l_" + i] = 0;
}
i++;
}
if (user_datos.data[invisible_unlocked]) {
_global.invisible_unlocked == true;
} else {
_global.invisible_unlocked == false;
}
golvl = 0;
Frame 5
clearInterval(idCronometro);
ace_total = ((((((((((((((((((((a_1 + a_2) + a_3) + a_4) + a_5) + a_6) + a_7) + a_8) + a_9) + a_10) + a_11) + a_12) + a_13) + a_14) + a_15) + a_16) + a_30) + a_31) + a_32) + a_33) + a_34) + a_35;
p_total = ((((((((((((((((((((p_1 + p_2) + p_3) + p_4) + p_5) + p_6) + p_7) + p_8) + p_9) + p_10) + p_11) + p_12) + p_13) + p_14) + p_15) + p_16) + p_30) + p_31) + p_32) + p_33) + p_34) + p_35;
l_total = ((((((((((((((((((((l_1 + l_2) + l_3) + l_4) + l_5) + l_6) + l_7) + l_8) + l_9) + l_10) + l_11) + l_12) + l_13) + l_14) + l_15) + l_16) + l_30) + l_31) + l_32) + l_33) + l_34) + l_35;
_root.kongregateStats.submit("ACE got", ace_total);
_root.kongregateStats.submit("Thunder got", l_total);
_root.kongregateStats.submit("Levels complete", p_total);
if ((p_16 == 1) && (congrats_1 != 1)) {
congrats_1 = 1;
gotoAndStop ("congrats_1");
}
if ((((a_35 == 1) && (l_35 == 1)) && (p_35 == 1)) && (congrats_all != 1)) {
congrats_all = 1;
gotoAndStop ("congrats_all");
}
removeMovieClip(winDialog);
removeMovieClip(dieDialog);
stop();
Instance of Symbol 354 MovieClip in Frame 5
on (press) {
_root.btn_fx.play();
_root.gotoAndStop("menu");
}
Frame 6
function reloj() {
decimas++;
if (decimas > 60) {
decimas = 0;
segundos++;
}
if (segundos > 60) {
segundos = 0;
minutos++;
}
if (decimas < 10) {
txt_decimas.text = "0" + decimas;
} else {
txt_decimas.text = decimas;
}
if (segundos < 10) {
txt_segundos.text = "0" + segundos;
} else {
txt_segundos.text = segundos;
}
if (minutos < 10) {
txt_minutos.text = "0" + minutos;
} else {
txt_minutos.text = minutos;
}
}
ow_music.stop();
ul_music.stop();
_root.mundo.gotoAndStop(golvl);
_root.bg.gotoAndStop(golvl);
_root.bola._x = _root.mundo.st._x + _root.mundo._x;
_root.bola._y = _root.mundo.st._y + _root.mundo._y;
if (_global.option_invisible == true) {
bola._alpha = 0;
}
var decimas = 0;
var segundos = 0;
var minutos = 0;
clearInterval(idCronometro);
idCronometro = setInterval(this, "reloj", 10);
removeMovieClip(winDialog);
removeMovieClip(dieDialog);
stop();
if (_global.option_background == true) {
bg._alpha = 100;
} else {
bg._alpha = 0;
}
Instance of Symbol 354 MovieClip in Frame 6
on (press) {
_root.btn_fx.play();
_root.gotoAndStop("levelselect");
}
Frame 7
if (p_12 == 0) {
gotoAndStop (5);
}
removeMovieClip(winDialog);
removeMovieClip(dieDialog);
Frame 8
if (p_32 != 1) {
gotoAndStop (5);
}
stop();
if (a_35) {
_global.invisible_unlocked = true;
user_datos.data[invisible_unlocked] = true;
user_datos.flush();
}
Frame 9
stop();
Instance of Symbol 354 MovieClip in Frame 9
on (press) {
_root.btn_fx.play();
_root.gotoAndStop("menu");
}
Symbol 22 MovieClip [ani_win] Frame 1
Symbol 22 MovieClip [ani_win] Frame 43
if (_root.ACEfinish == 0) {
_root.attachMovie("WinDialog", "winDialog", _root.getNextHighestDepth());
_root.winDialog._x = 400;
_root.winDialog._y = 300;
} else {
_root.attachMovie("ACE WinDialog", "winDialog", _root.getNextHighestDepth());
_root.winDialog._x = 400;
_root.winDialog._y = 300;
}
stop();
Symbol 25 MovieClip [ani_dead] Frame 1
_root.bola.gotoAndStop(4);
Symbol 25 MovieClip [ani_dead] Frame 29
_root.attachMovie("DieDialog", "dieDialog", _root.getNextHighestDepth());
_root.dieDialog._x = 400;
_root.dieDialog._y = 300;
clearInterval(_root.idCronometro);
stop();
Symbol 27 MovieClip [tray] Frame 1
_x = (_root.bola._x - _root.mundo._x);
_y = (_root.bola._y - _root.mundo._y);
Symbol 27 MovieClip [tray] Frame 27
this.removeMovieClip(this);
Symbol 34 MovieClip [telon] Frame 39
removeMovieClip(this);
Symbol 38 MovieClip [ACE_got] Frame 49
stop();
Symbol 46 Button
on (release) {
getURL ("http://www.oddgoo.com", _blank);
}
Symbol 55 MovieClip Frame 1
colision = 0;
HA_fx = new Sound(this);
HA_fx.attachSound("HA_fx");
Symbol 55 MovieClip Frame 2
if ((!_root.mundo.sw_a) || (_root.mundo.sw_a.ON == 1)) {
if (!_root["a_" + _root.mundo._currentframe]) {
_alpha = 100;
} else {
_alpha = 20;
}
if (this.hitTest(_root.bola) && (colision == 0)) {
colision = 1;
_root.attachMovie("ACE_got", "ACE_got_i", this.getNextHighestDepth());
_root.ACE_got_i._x = _x + _root.mundo._x;
_root.ACE_got_i._y = _y + _root.mundo._y;
HA_fx.start();
_root["a_" + _root.mundo._currentframe] = 1;
_root.user_datos.data["a_" + _root.mundo._currentframe] = 1;
_root.user_datos.flush();
_root.bola.gotoAndPlay(4);
colision = 1;
_root.attachMovie("ani_win", "win", this.getNextHighestDepth());
_root.win._x = _root.bola._x;
_root.win._y = _root.bola._y;
_root.ACEfinish = 1;
}
} else {
_alpha = 0;
}
Symbol 55 MovieClip Frame 3
gotoAndPlay (2);
Symbol 57 MovieClip Frame 1
BOLA = _root.bola;
fx_col_s = new Sound(this);
fx_col_s.attachSound("col_S_fx");
fx_col_a = new Sound(this);
fx_col_a.attachSound("col_A_fx");
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
fx_col_c = new Sound(this);
fx_col_c.attachSound("col_C_fx");
Symbol 57 MovieClip Frame 2
Y = _root.mundo._y + this._y;
if (this.hitTest(BOLA)) {
if (BOLA._y > Y) {
while (this.hitTest(BOLA)) {
BOLA._y++;
}
}
if (BOLA._y < Y) {
while (this.hitTest(BOLA)) {
BOLA._y--;
}
}
BOLA.fuerza_y = BOLA.fuerza_y * -0.7;
if ((BOLA.fuerza_y >= 1) && (BOLA.fuerza_y < 3)) {
fx_col_c.start();
}
if ((BOLA.fuerza_y >= 3) && (BOLA.fuerza_y < 4)) {
fx_col_b.start();
}
if ((BOLA.fuerza_y > 4) && (BOLA.fuerza_y < 6)) {
fx_col_a.start();
}
if (BOLA.fuerza_y >= 6) {
fx_col_s.start();
}
if (BOLA.fuerza_y < -1) {
fx_col_b.start();
}
}
Symbol 57 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 63 MovieClip Frame 1
inicialy = this._y;
tension = 1;
fuerza_e = 0;
BOLA = _root.bola;
fx_resorte_down = new Sound(this);
fx_resorte_down.attachSound("resorte_down");
fx_resorte_up = new Sound(this);
fx_resorte_up.attachSound("resorte_up");
Symbol 63 MovieClip Frame 2
fuerza_e = fuerza_e + ((-(inicialy - _y)) / 50);
_y = (_y - (fuerza_e / 7));
if (this.hitTest(BOLA)) {
if (((_y == inicialy) && (fuerza_e == 0)) && (BOLA.fuerza_y < 0)) {
fx_resorte_down.start();
}
_y = (_y - BOLA.fuerza_y);
BOLA._y = BOLA._y - (fuerza_e / 7);
if (fuerza_e > 0) {
BOLA.fuerza_y = BOLA.fuerza_y + (fuerza_e / 20);
}
}
if (_y < inicialy) {
_y = inicialy;
fuerza_e = 0;
}
luz._alpha = (inicialy - _y) * -2;
Symbol 63 MovieClip Frame 3
gotoAndPlay (2);
Symbol 68 Button
on (release) {
removeMovieClip(_parent);
removeMovieClip(this);
}
Symbol 78 Button
on (release) {
i = 0;
while (i < 50) {
_root["p_" + i] = 0;
i++;
}
i = 0;
while (i < 50) {
_root.user_datos.data["p_" + i] = 0;
i++;
}
i = 0;
while (i < 50) {
_root["a_" + i] = 0;
i++;
}
i = 0;
while (i < 50) {
_root.user_datos.data["a_" + i] = 0;
i++;
}
i = 0;
while (i < 50) {
_root["l_" + i] = 0;
i++;
}
i = 0;
while (i < 50) {
_root.user_datos.data["l_" + i] = 0;
i++;
}
_root.user_datos.data[invisible_unlocked] = undefined;
_root.user_datos.data[invisible_unlocked] = null;
_global.invisible_unlocked = false;
_root.user_datos.flush();
attachMovie("pe", "pe", 1);
pe._y = 155;
pe._x = pe._x + 200;
}
Symbol 80 Button
on (press) {
_root._quality = "HIGH";
}
Symbol 83 Button
on (press) {
_root._quality = "MEDIUM";
}
Symbol 86 Button
on (press) {
_root._quality = "LOW";
}
Symbol 94 Button
on (press) {
if (_global.option_background == false) {
_global.option_background = true;
background_txt.text = "Yes";
} else if (_global.option_background == true) {
_global.option_background = false;
background_txt.text = "No";
}
}
Symbol 95 Button
on (press) {
if (_global.option_music == false) {
_global.option_music = true;
music_txt.text = "Yes";
} else if (_global.option_music == true) {
_global.option_music = false;
music_txt.text = "No";
}
stopAllSounds();
}
Symbol 97 Button
on (press) {
if (_global.invisible_unlocked == true) {
if (_global.option_invisible == false) {
_global.option_invisible = true;
_global.option_tray = false;
invisible_txt.text = "Yes";
tray_txt.text = "No";
} else if (_global.option_invisible == true) {
_global.option_invisible = false;
_global.option_tray = true;
invisible_txt.text = "No";
tray_txt.text = "Yes";
}
}
}
Symbol 99 Button
on (press) {
if (_global.option_tray == false) {
_global.option_tray = true;
tray_txt.text = "Yes";
_root.reproductor.gotoAndPlay(1);
} else if (_global.option_tray == true) {
_global.option_tray = false;
tray_txt.text = "No";
}
}
Symbol 102 MovieClip [settings_panel] Frame 1
if (_global.option_tray == true) {
tray_txt.text = "Yes";
} else {
tray_txt.text = "No";
}
if (_global.option_background == true) {
background_txt.text = "Yes";
} else {
background_txt.text = "No";
}
if (_global.option_music == true) {
music_txt.text = "Yes";
} else {
music_txt.text = "Yes";
}
if (_global.invisible_unlocked == true) {
invisible_txt.text = "No";
if (_global.option_invisible == true) {
invisible_txt.text = "Yes";
}
}
Symbol 113 MovieClip [DieDialog] Frame 1
if (Key.isDown(37) && (Key.isDown(39))) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Instance of Symbol 109 MovieClip in Symbol 113 MovieClip [DieDialog] Frame 1
on (press) {
_root.gotoAndStop("levelselect");
}
Instance of Symbol 110 MovieClip in Symbol 113 MovieClip [DieDialog] Frame 1
on (press) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 117 MovieClip [ACE WinDialog] Frame 1
clearInterval(_root.idCronometro);
Instance of Symbol 109 MovieClip in Symbol 117 MovieClip [ACE WinDialog] Frame 1
on (press) {
_root.gotoAndStop("levelselect");
}
Instance of Symbol 110 MovieClip in Symbol 117 MovieClip [ACE WinDialog] Frame 1
on (press) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 117 MovieClip [ACE WinDialog] Frame 2
if (Key.isDown(37) && (Key.isDown(39))) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 117 MovieClip [ACE WinDialog] Frame 3
gotoAndPlay (2);
Symbol 124 MovieClip [WinDialog] Frame 1
function regL(level) {
_root["l_" + level] = 1;
_root.user_datos.data["l_" + level] = 1;
_root.user_datos.flush();
}
if (_root.decimas >= 10) {
txt_decimas.text = _root.decimas;
} else {
txt_decimas.text = "0" + _root.decimas;
}
if (_root.segundos >= 10) {
txt_segundos.text = _root.segundos;
} else {
txt_segundos.text = "0" + _root.segundos;
}
if (_root.minutos >= 10) {
txt_minutos.text = _root.minutos;
} else {
txt_minutos.text = "0" + _root.minutos;
}
tiempo = 0;
tiempo = tiempo + (minutos * 60);
tiempo = tiempo + segundos;
tiempo = tiempo * 100;
tiempo = tiempo + decimas;
fx_Thunder = new Sound(this);
fx_Thunder.attachSound("fx_Thunder");
if (_root.minutos == 0) {
if (((((((((((((((((((((((_root.mundo._currentframe == 1) && (_root.segundos < 8)) || ((_root.mundo._currentframe == 2) && (_root.segundos < 5))) || ((_root.mundo._currentframe == 3) && (_root.segundos < 6))) || ((_root.mundo._currentframe == 4) && (_root.segundos < 23))) || ((_root.mundo._currentframe == 5) && (_root.segundos < 13))) || ((_root.mundo._currentframe == 6) && (_root.segundos < 34))) || ((_root.mundo._currentframe == 7) && (_root.segundos < 14))) || ((_root.mundo._currentframe == 8) && (_root.segundos < 30))) || ((_root.mundo._currentframe == 9) && (_root.segundos < 22))) || ((_root.mundo._currentframe == 10) && (_root.segundos < 30))) || ((_root.mundo._currentframe == 11) && (_root.segundos < 14))) || ((_root.mundo._currentframe == 12) && (_root.segundos < 12))) || ((_root.mundo._currentframe == 13) && (_root.segundos < 30))) || ((_root.mundo._currentframe == 14) && (_root.segundos < 20))) || ((_root.mundo._currentframe == 15) && (_root.segundos < 21))) || ((_root.mundo._currentframe == 16) && (_root.segundos < 50))) || ((_root.mundo._currentframe == 30) && (_root.segundos < 15))) || ((_root.mundo._currentframe == 31) && (_root.segundos < 12))) || ((_root.mundo._currentframe == 32) && (_root.segundos < 27))) || ((_root.mundo._currentframe == 33) && (_root.segundos < 19))) || ((_root.mundo._currentframe == 34) && (_root.segundos < 37))) || ((_root.mundo._currentframe == 35) && (_root.segundos < 45))) {
this.attachMovie("lightning_medal", "l", this.getNextHighestDepth());
l._x = 125;
l._y = -50;
regL(_root.mundo._currentframe);
fx_Thunder.start();
} else if (_root.mundo._currentframe == 1) {
_root.kongregateStats.submit("1: NewBorn", tiempo);
} else if (_root.mundo._currentframe == 2) {
_root.kongregateStats.submit("2: The Tomb", tiempo);
} else if (_root.mundo._currentframe == 3) {
_root.kongregateStats.submit("3: Hot Leap", tiempo);
} else if (_root.mundo._currentframe == 4) {
_root.kongregateStats.submit("4: Furnace", tiempo);
} else if (_root.mundo._currentframe == 5) {
_root.kongregateStats.submit("5: Into Space", tiempo);
} else if (_root.mundo._currentframe == 6) {
_root.kongregateStats.submit("6: Gravity -1", tiempo);
} else if (_root.mundo._currentframe == 7) {
_root.kongregateStats.submit("7: HighWay", tiempo);
} else if (_root.mundo._currentframe == 8) {
_root.kongregateStats.submit("8: Colony", tiempo);
} else if (_root.mundo._currentframe == 9) {
_root.kongregateStats.submit("9: Asteroid Hop", tiempo);
} else if (_root.mundo._currentframe == 10) {
_root.kongregateStats.submit("10: Nebulosi Nidus", tiempo);
} else if (_root.mundo._currentframe == 11) {
_root.kongregateStats.submit("11: There was a Ship", tiempo);
} else if (_root.mundo._currentframe == 12) {
_root.kongregateStats.submit("12: Suspended", tiempo);
} else if (_root.mundo._currentframe == 13) {
_root.kongregateStats.submit("13: Alternative Pink", tiempo);
} else if (_root.mundo._currentframe == 14) {
_root.kongregateStats.submit("14: Quick Death", tiempo);
} else if (_root.mundo._currentframe == 15) {
_root.kongregateStats.submit("15: Compactor", tiempo);
} else if (_root.mundo._currentframe == 16) {
_root.kongregateStats.submit("16: The Duel", tiempo);
} else if (_root.mundo._currentframe == 17) {
_root.kongregateStats.submit("Ex1: PastMaster", tiempo);
} else if (_root.mundo._currentframe == 18) {
_root.kongregateStats.submit("Ex2: ShapeAlicious", tiempo);
} else if (_root.mundo._currentframe == 19) {
_root.kongregateStats.submit("Ex3: We need green", tiempo);
} else if (_root.mundo._currentframe == 20) {
_root.kongregateStats.submit("Ex4: Kongregating", tiempo);
} else if (_root.mundo._currentframe == 21) {
_root.kongregateStats.submit("Ex5: Black and White", tiempo);
} else if (_root.mundo._currentframe == 22) {
_root.kongregateStats.submit("Ex6: Tower Of Glory II", tiempo);
}
}
clearInterval(_root.idCronometro);
Instance of Symbol 109 MovieClip in Symbol 124 MovieClip [WinDialog] Frame 1
on (press) {
_root.gotoAndStop("levelselect");
}
Instance of Symbol 110 MovieClip in Symbol 124 MovieClip [WinDialog] Frame 1
on (press) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 124 MovieClip [WinDialog] Frame 2
if (Key.isDown(37) && (Key.isDown(39))) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 124 MovieClip [WinDialog] Frame 3
gotoAndPlay (2);
Symbol 674 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.2");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 675 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.31");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
_rcvChannelName = val;
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
_rcvChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local2 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
allowDomains(_gatewayURL);
_clip = clip.createEmptyMovieClip(_local2, 10336, false);
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip(_gatewayURL, _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain = function (d) {
return(true);
};
_rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain;
_rcvChannel._nextcallbackID = 0;
_rcvChannel._callbacks = {};
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_rcvChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_rcvChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_rcvChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_rcvChannel.connect(_rcvChannelName);
trace("connected!");
_connecting = false;
_connected = true;
_listenChannel.close();
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _rcvChannel._callbacks[_local1.callbackID];
}
delete _rcvChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
}
_rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_rcvChannel._nextcallbackID++;
}
static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__mochiservices";
static var _connecting = false;
static var _connected = false;
}
Symbol 132 Button
on (release) {
getURL ("http://kongregate.com/", "_blank");
}
Symbol 159 MovieClip Frame 336
_root.play();
Symbol 165 MovieClip Frame 1
stopAllSounds();
Symbol 165 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 3
stopAllSounds();
Symbol 165 MovieClip Frame 4
stop();
Symbol 165 MovieClip Frame 5
stopAllSounds();
Symbol 165 MovieClip Frame 6
stop();
Symbol 165 MovieClip Frame 7
stopAllSounds();
Symbol 165 MovieClip Frame 8
stop();
Symbol 170 Button
on (press) {
getURL ("http:\\www.villavanilla.net", _blank);
}
Symbol 172 MovieClip Frame 173
_root.play();
Symbol 178 MovieClip Frame 386
stop();
Symbol 182 Button
on (press) {
_root.gotoAndPlay("levelselect");
}
Symbol 184 Button
on (press) {
_root.btn_fx.start();
}
on (release) {
_root.title_container.attachMovie("instructions_panel", "settings", 1);
_root.title_container.settings._x = 400;
_root.title_container.settings._y = 300;
}
Symbol 186 Button
on (press) {
_root.btn_fx.start();
}
on (release) {
_root.title_container.attachMovie("settings_panel", "settings", 1);
_root.title_container.settings._x = 400;
_root.title_container.settings._y = 300;
}
Symbol 189 Button
on (press) {
_root.gotoAndPlay(9);
}
Symbol 190 MovieClip Frame 1
function regL(level) {
_root["l_" + level] = 1;
_root.user_datos.data["l_" + level] = 1;
_root.user_datos.flush();
}
if (_root.decimas >= 10) {
txt_decimas.text = _root.decimas;
} else {
txt_decimas.text = "0" + _root.decimas;
}
if (_root.segundos >= 10) {
txt_segundos.text = _root.segundos;
} else {
txt_segundos.text = "0" + _root.segundos;
}
if (_root.minutos >= 10) {
minutos.text = _root.minutos;
} else {
minutos.text = "0" + _root.minutos;
}
fx_Thunder = new Sound(this);
fx_Thunder.attachSound("fx_Thunder");
if (_root.mundo._currentframe == 1) {
if (_root.segundos < 10) {
this.attachMovie("lightning_medal", "l", this.getNextHighestDepth());
l._x = 125;
l._y = -65;
regL(1);
fx_Thunder.start();
}
}
Symbol 191 MovieClip Frame 108
stop();
Symbol 197 Button
on (press) {
_root.btn_fx.start();
}
on (release) {
_root.title_container.attachMovie("instructions_panel", "settings", 1);
_root.title_container.settings._x = 400;
_root.title_container.settings._y = 300;
}
Symbol 198 MovieClip Frame 130
stop();
Symbol 203 Button
on (press) {
_root.btn_fx.start();
}
on (release) {
_root.title_container.attachMovie("settings_panel", "settings", 1);
_root.title_container.settings._x = 400;
_root.title_container.settings._y = 300;
}
Symbol 204 MovieClip Frame 150
stop();
Symbol 210 MovieClip Frame 59
stop();
Symbol 212 Button
on (release) {
getURL ("http://www.villavanilla.net", _blank);
}
Symbol 224 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 1
nivel = 3;
if (_root.p_2) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 225 MovieClip Frame 2
if (_root.p_2) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 225 MovieClip Frame 3
this._alpha = this._alpha - 2;
this._rotation = this._rotation + 8;
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
Symbol 225 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 231 MovieClip Frame 1
nivel = 6;
if ((_root.p_2 || (_root.p_5)) || (_root.p_7)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 231 MovieClip Frame 2
if ((_root.p_2 || (_root.p_5)) || (_root.p_7)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 231 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 231 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 235 MovieClip Frame 1
nivel = 5;
gris.gotoAndStop(nivel);
if (_root.p_1 || (_root.p_6)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 235 MovieClip Frame 2
if (_root.p_1 || (_root.p_6)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 235 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 235 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 240 MovieClip Frame 1
nivel = 2;
if (_root.p_1) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 240 MovieClip Frame 2
if (_root.p_1) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 240 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 240 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 243 MovieClip Frame 1
nivel = 1;
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 243 MovieClip Frame 2
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
Symbol 243 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 243 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 248 MovieClip Frame 1
nivel = 4;
if (_root.p_3) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 248 MovieClip Frame 2
if (_root.p_3) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 248 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 248 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 253 MovieClip Frame 1
condition = (_root.p_6 + _root.p_3) + _root.p_8;
nivel = 7;
if (condition > 0) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 253 MovieClip Frame 2
if (condition > 0) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 253 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 253 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 256 MovieClip Frame 1
condition = _root.p_7 + _root.p_4;
nivel = 8;
if (condition) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 256 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 256 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 256 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 259 MovieClip Frame 1
nivel = 9;
gris.gotoAndStop(nivel);
if (_root.p_5 || (_root.p_10)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 259 MovieClip Frame 2
if (_root.p_5 || (_root.p_10)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 259 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 259 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 262 MovieClip Frame 1
condition = (_root.p_9 + _root.p_6) + _root.p_11;
nivel = 10;
gris.gotoAndStop(nivel);
if (condition) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 262 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 262 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 262 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 265 MovieClip Frame 1
nivel = 11;
gris.gotoAndStop(nivel);
if ((_root.p_7 || (_root.p_10)) || (_root.p_12)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 265 MovieClip Frame 2
if (_root.p_9 || (_root.p_10)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 265 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 265 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 268 MovieClip Frame 1
condition = _root.p_11 + _root.p_8;
nivel = 12;
gris.gotoAndStop(nivel);
if (condition) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 268 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 268 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 268 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 275 MovieClip Frame 1
condition = _root.p_9 + _root.p_14;
nivel = 13;
gris.gotoAndStop(nivel);
if (condition) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 275 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 275 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 275 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 278 MovieClip Frame 1
condition = (_root.p_10 + _root.p_13) + _root.p_15;
nivel = 14;
gris.gotoAndStop(nivel);
if (condition) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 278 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 278 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 278 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 281 MovieClip Frame 1
condition = (_root.p_16 + _root.p_14) + _root.p_11;
nivel = 15;
gris.gotoAndStop(nivel);
if (condition) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 281 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 281 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 281 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 284 MovieClip Frame 1
condition = _root.p_12 + _root.p_15;
nivel = 16;
gris.gotoAndStop(nivel);
if (condition) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 284 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 284 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 284 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Instance of Symbol 225 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(3);
}
Instance of Symbol 231 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(6);
}
Instance of Symbol 235 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(5);
}
Instance of Symbol 240 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(2);
}
Instance of Symbol 243 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(1);
}
Instance of Symbol 248 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(4);
}
Instance of Symbol 253 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(7);
}
Instance of Symbol 256 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(8);
}
Instance of Symbol 259 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(9);
}
Instance of Symbol 262 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(10);
}
Instance of Symbol 265 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(11);
}
Instance of Symbol 268 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(12);
}
Instance of Symbol 275 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(13);
}
Instance of Symbol 278 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(14);
}
Instance of Symbol 281 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(15);
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(16);
}
Symbol 286 MovieClip Frame 2
Symbol 293 MovieClip Frame 1
condition = _root.p_6;
nivel = 33;
gris.gotoAndStop(nivel);
if ((_root.l_total > 7) && (_root.ace_total > 2)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 293 MovieClip Frame 2
if ((_root.l_total > 7) && (_root.ace_total > 2)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 293 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 293 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 297 MovieClip Frame 1
condition = _root.p_6;
nivel = 35;
gris.gotoAndStop(nivel);
if ((_root.ace_total >= 21) && (_root.l_total >= 21)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 297 MovieClip Frame 2
if ((_root.ace_total >= 21) && (_root.l_total >= 21)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 297 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 297 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 300 MovieClip Frame 1
condition = _root.p_6;
nivel = 34;
gris.gotoAndStop(nivel);
if ((_root.ace_total > 7) && (_root.l_total > 11)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 300 MovieClip Frame 2
if ((_root.ace_total > 7) && (_root.l_total > 11)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 300 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 300 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 303 MovieClip Frame 1
nivel = 30;
gris.gotoAndStop(nivel);
if (_root.ace_total > 2) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 303 MovieClip Frame 2
if (_root.ace_total > 2) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 303 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 303 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 306 MovieClip Frame 1
nivel = 31;
gris.gotoAndStop(nivel);
if ((_root.ace_total > 7) && (_root.l_total > 2)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 306 MovieClip Frame 2
if ((_root.ace_total > 7) && (_root.l_total > 2)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 306 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 306 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 309 MovieClip Frame 1
condition = _root.p_6;
nivel = 32;
gris.gotoAndStop(nivel);
if ((_root.ace_total > 11) && (_root.l_total > 7)) {
gris._alpha = 0;
} else {
gris._alpha = 100;
}
if (_root["p_" + nivel]) {
attachMovie("pass_medal", "pasado", this.getNextHighestDepth());
pasado._x = 60;
pasado._y = 40;
pasado._alpha = 35;
}
if (_root["a_" + nivel]) {
attachMovie("ACE_medal", "ACE", this.getNextHighestDepth());
ACE._x = -57;
ACE._y = 40;
ACE._alpha = 35;
}
if (_root["l_" + nivel]) {
attachMovie("lightning_medal", "lightning", this.getNextHighestDepth());
lightning._x = 60;
lightning._y = -40;
lightning._alpha = 35;
}
stop();
Symbol 309 MovieClip Frame 2
if ((_root.ace_total > 11) && (_root.l_total > 7)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 309 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 309 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Instance of Symbol 293 MovieClip in Symbol 313 MovieClip Frame 1
on (press) {
if ((_root.l_total > 7) && (_root.ace_total > 2)) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(33);
}
Instance of Symbol 297 MovieClip in Symbol 313 MovieClip Frame 1
on (press) {
if ((_root.ace_total >= 21) && (_root.l_total >= 21)) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(35);
}
Instance of Symbol 300 MovieClip in Symbol 313 MovieClip Frame 1
on (press) {
if ((_root.ace_total > 7) && (_root.l_total > 11)) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(34);
}
Instance of Symbol 303 MovieClip in Symbol 313 MovieClip Frame 1
on (press) {
if (_root.ace_total > 2) {
this.swapDepths(1);
play();
}
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(30);
}
Instance of Symbol 306 MovieClip in Symbol 313 MovieClip Frame 1
on (press) {
if ((_root.ace_total > 7) && (_root.l_total > 2)) {
this.swapDepths(1);
play();
}
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(31);
}
Instance of Symbol 309 MovieClip in Symbol 313 MovieClip Frame 1
on (press) {
if ((_root.ace_total > 11) && (_root.l_total > 7)) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(32);
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
stop();
Symbol 337 MovieClip Frame 3
stop();
Symbol 337 MovieClip Frame 4
stop();
Symbol 337 MovieClip Frame 5
stop();
Symbol 337 MovieClip Frame 6
stop();
Symbol 337 MovieClip Frame 7
stop();
Symbol 337 MovieClip Frame 8
stop();
Symbol 337 MovieClip Frame 9
stop();
Symbol 337 MovieClip Frame 10
stop();
Symbol 337 MovieClip Frame 11
stop();
Symbol 337 MovieClip Frame 12
stop();
Symbol 337 MovieClip Frame 13
stop();
Symbol 337 MovieClip Frame 14
stop();
Symbol 337 MovieClip Frame 15
stop();
Symbol 337 MovieClip Frame 16
stop();
Symbol 343 Button
on (press) {
grp_mainlvls._x = 850;
grp_extralvls._x = 63;
btn_extra.swapDepths(btn_main);
}
Symbol 346 Button
on (press) {
grp_mainlvls._x = 63;
grp_extralvls._x = 850;
btn_main.swapDepths(btn_extra);
}
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
Symbol 387 MovieClip Frame 3
stop();
Symbol 387 MovieClip Frame 4
stop();
Symbol 387 MovieClip Frame 5
stop();
Symbol 387 MovieClip Frame 6
stop();
Symbol 387 MovieClip Frame 7
stop();
Symbol 387 MovieClip Frame 8
stop();
Symbol 387 MovieClip Frame 9
stop();
Symbol 387 MovieClip Frame 10
stop();
Symbol 387 MovieClip Frame 12
stop();
Symbol 387 MovieClip Frame 30
stop();
Symbol 387 MovieClip Frame 31
stop();
Symbol 387 MovieClip Frame 32
stop();
Symbol 387 MovieClip Frame 33
stop();
Symbol 387 MovieClip Frame 34
stop();
Symbol 389 MovieClip Frame 1
fuerza_y = 1;
fuerza_x = 0;
i = 0;
gravedad = 0.2;
factor_ingravedad = 0;
Symbol 389 MovieClip Frame 2
if ((Key.isDown(39) || (Key.isDown(68))) && (fuerza_x < 5)) {
fuerza_x = fuerza_x + 0.5;
gfx.inner._rotation = gfx.inner._rotation + ((10 * (gravedad / Math.abs(gravedad))) + factor_ingravedad);
}
if ((Key.isDown(37) || (Key.isDown(65))) && (fuerza_x > -5)) {
fuerza_x = fuerza_x - 0.5;
gfx.inner._rotation = gfx.inner._rotation - ((10 * (gravedad / Math.abs(gravedad))) + factor_ingravedad);
}
fuerza_y = fuerza_y - gravedad;
fuerza_x = fuerza_x * 0.97;
if (_root.bola._y < -10) {
_root.bola.fuerza_y = _root.bola.fuerza_y * -1;
while (_root.bola._y < -10) {
_root.bola._y++;
}
}
if (_root.mundo._currentframe == 1) {
if (_root.bola._x > 780) {
_root.mundo._x = _root.mundo._x - 780;
_root.bg._x = _root.bg._x - 780;
_root.bola._x = 20;
}
if (_root.bola._x < 20) {
_root.mundo._x = _root.mundo._x + 780;
_root.bg._x = _root.bg._x + 780;
_root.bola._x = 780;
}
} else if (_root.mundo._currentframe == 32) {
if (_root.bola._y > 420) {
if (_root.mundo._y >= (-(_root.mundo.Ylimit._y - 590))) {
_root.mundo._y = _root.mundo._y - ((_root.bola._y - 420) * 0.5);
_root.bg._y = _root.bg._y - ((_root.bola._y - 420) * 0.2);
_root.bola._y = _root.bola._y - ((_root.bola._y - 420) * 0.5);
}
}
if (_root.bola._y < 250) {
if (_root.mundo._y < 0) {
_root.mundo._y = _root.mundo._y + ((250 - _root.bola._y) * 0.5);
_root.bg._y = _root.bg._y + ((250 - _root.bola._y) * 0.2);
_root.bola._y = _root.bola._y + ((250 - _root.bola._y) * 0.5);
}
}
} else if ((_root.mundo._currentframe == 33) || (_root.mundo._currentframe == 34)) {
if (_root.bola._x > 480) {
if (_root.mundo._x >= (-(_root.mundo._width - 800))) {
_root.mundo._x = _root.mundo._x - ((_root.bola._x - 480) * 0.5);
_root.bola._x = _root.bola._x - ((_root.bola._x - 480) * 0.5);
}
}
if (_root.bola._x < 320) {
if (_root.mundo._x < 0) {
_root.mundo._x = _root.mundo._x + ((320 - _root.bola._x) * 0.5);
_root.bola._x = _root.bola._x + ((320 - _root.bola._x) * 0.5);
}
}
if (_root.bola._y > 420) {
if (_root.mundo._y >= (-(_root.mundo.Ylimit._y - 590))) {
_root.mundo._y = _root.mundo._y - ((_root.bola._y - 420) * 0.5);
_root.bola._y = _root.bola._y - ((_root.bola._y - 420) * 0.5);
}
}
if (_root.bola._y < 250) {
if (_root.mundo._y < 0) {
_root.mundo._y = _root.mundo._y + ((250 - _root.bola._y) * 0.5);
_root.bola._y = _root.bola._y + ((250 - _root.bola._y) * 0.5);
}
}
} else {
if (_root.bola._x > 480) {
if (_root.mundo._x >= (-(_root.mundo._width - 800))) {
_root.mundo._x = _root.mundo._x - ((_root.bola._x - 480) * 0.5);
_root.bg._x = _root.bg._x - ((_root.bola._x - 480) * 0.2);
_root.bola._x = _root.bola._x - ((_root.bola._x - 480) * 0.5);
}
}
if (_root.bola._x < 320) {
if (_root.mundo._x < 0) {
_root.mundo._x = _root.mundo._x + ((320 - _root.bola._x) * 0.5);
_root.bg._x = _root.bg._x + ((320 - _root.bola._x) * 0.2);
_root.bola._x = _root.bola._x + ((320 - _root.bola._x) * 0.5);
}
}
if (_root.bola._y > 420) {
if (_root.mundo._y >= (-(_root.mundo.Ylimit._y - 590))) {
_root.mundo._y = _root.mundo._y - ((_root.bola._y - 420) * 0.5);
_root.bg._y = _root.bg._y - ((_root.bola._y - 420) * 0.2);
_root.bola._y = _root.bola._y - ((_root.bola._y - 420) * 0.5);
}
}
if (_root.bola._y < 250) {
if (_root.mundo._y < 0) {
_root.mundo._y = _root.mundo._y + ((250 - _root.bola._y) * 0.5);
_root.bg._y = _root.bg._y + ((250 - _root.bola._y) * 0.2);
_root.bola._y = _root.bola._y + ((250 - _root.bola._y) * 0.5);
}
}
}
gfx.helmet._rotation = (fuerza_x * 5) * (_xscale / Math.abs(_xscale));
if (_global.option_tray == true) {
_root.mundo.attachMovie("tray", "trayi", _root.mundo.getNextHighestDepth());
}
_root.bola._y = _root.bola._y - fuerza_y;
_root.bola._x = _root.bola._x + fuerza_x;
gfx.inner._rotation = gfx.inner._rotation + ((fuerza_x * (gravedad / Math.abs(gravedad))) * 2);
Symbol 389 MovieClip Frame 3
gotoAndPlay (2);
Symbol 389 MovieClip Frame 4
this.removeMovieClip(this);
stop();
Symbol 392 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 392 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 392 MovieClip Frame 3
gotoAndPlay (2);
Symbol 395 MovieClip Frame 1
I = BOLA._gravedad / Math.abs(BOLA._gravedad);
BOLA = _root.bola;
fx_col_s = new Sound(this);
fx_col_s.attachSound("col_S_fx");
fx_col_a = new Sound(this);
fx_col_a.attachSound("col_A_fx");
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
fx_col_c = new Sound(this);
fx_col_c.attachSound("col_C_fx");
Symbol 395 MovieClip Frame 2
Y = (_root.mundo._y + this._y) + _parent._y;
if (this.hitTest(BOLA)) {
BOLA.fuerza_y = BOLA.fuerza_y * -0.7;
if (BOLA._y > Y) {
while (this.hitTest(BOLA)) {
BOLA._y++;
}
}
if (BOLA._y < Y) {
while (this.hitTest(BOLA)) {
BOLA._y--;
}
}
if ((BOLA.fuerza_y >= 1) && (BOLA.fuerza_y < 3)) {
fx_col_c.start();
}
if ((BOLA.fuerza_y >= 3) && (BOLA.fuerza_y < 4)) {
fx_col_b.start();
}
if ((BOLA.fuerza_y > 4) && (BOLA.fuerza_y < 6)) {
fx_col_a.start();
}
if (BOLA.fuerza_y >= 6) {
fx_col_s.start();
}
if (BOLA.fuerza_y < -1) {
fx_col_b.start();
}
}
Symbol 395 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 396 MovieClip Frame 1
BOLA = _root.bola;
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
Symbol 396 MovieClip Frame 2
if (this.hitTest(BOLA)) {
X = _root.mundo._x + _x;
if (BOLA._x < X) {
while (this.hitTest(BOLA)) {
BOLA._x--;
}
}
if (BOLA._x > X) {
while (this.hitTest(BOLA)) {
BOLA._x++;
}
}
BOLA.fuerza_x = BOLA.fuerza_x * -1;
fx_col_b.start();
}
Symbol 396 MovieClip Frame 3
gotoAndPlay (2);
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 150
stop();
Symbol 400 MovieClip Frame 1
I = BOLA._gravedad / Math.abs(BOLA._gravedad);
BOLA = _root.bola;
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
Symbol 400 MovieClip Frame 2
Y = (_root.mundo._y + this._y) + gfx.inner._y;
if (this.hitTest(BOLA)) {
if (BOLA._y > Y) {
while (this.hitTest(BOLA)) {
BOLA._y++;
}
} else if (BOLA._y < Y) {
while (this.hitTest(BOLA)) {
BOLA._y--;
}
}
BOLA.fuerza_y = BOLA.fuerza_y * -0.7;
gfx.play();
fx_col_b.start();
}
Symbol 400 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
gotoAndPlay (2);
Symbol 402 MovieClip Frame 1
BOLA = _root.bola;
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
Symbol 402 MovieClip Frame 2
if (this.hitTest(BOLA)) {
X = (_root.mundo._x + _parent._x) + _x;
if (BOLA._x < X) {
while (this.hitTest(BOLA)) {
BOLA._x--;
}
}
if (BOLA._x > X) {
while (this.hitTest(BOLA)) {
BOLA._x++;
}
}
BOLA.fuerza_x = BOLA.fuerza_x * -1;
fx_col_b.start();
}
Symbol 402 MovieClip Frame 3
gotoAndPlay (2);
Symbol 404 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 404 MovieClip Frame 2
if (colision == 0) {
if (this.hitTest(_root.bola)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
} else if (colision == 1) {
if (!this.hitTest(_root.bola)) {
colision = 0;
}
}
Symbol 404 MovieClip Frame 3
gotoAndPlay (2);
Symbol 408 MovieClip Frame 1
BOLA = _root.bola;
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
Symbol 408 MovieClip Frame 2
if (this.hitTest(BOLA)) {
X = _root.mundo._x + _x;
if (BOLA._x < X) {
while (this.hitTest(BOLA)) {
BOLA._x--;
}
}
if (BOLA._x > X) {
while (this.hitTest(BOLA)) {
BOLA._x++;
}
}
BOLA.fuerza_x = BOLA.fuerza_x * -1;
fx_col_b.start();
}
Symbol 408 MovieClip Frame 3
gotoAndPlay (2);
Symbol 431 MovieClip Frame 1
colision = 0;
win_fx = new Sound(this);
win_fx.attachSound("win_fx");
Symbol 431 MovieClip Frame 2
if ((!_root.mundo.sw) || (_root.mundo.sw.ON == 1)) {
_alpha = 100;
if (this.hitTest(_root.bola) && (colision == 0)) {
_root.bola.gotoAndPlay(4);
colision = 1;
_root.attachMovie("ani_win", "win", this.getNextHighestDepth());
_root.win._x = _root.bola._x;
_root.win._y = _root.bola._y;
win_fx.start();
_root["p_" + _root.mundo._currentframe] = 1;
_root.user_datos.data["p_" + _root.mundo._currentframe] = 1;
_root.user_datos.flush();
_root.ACEfinish = 0;
}
} else {
_alpha = 5;
}
Symbol 431 MovieClip Frame 3
gotoAndPlay (2);
Symbol 438 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 438 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 438 MovieClip Frame 3
gotoAndPlay (2);
Symbol 440 MovieClip Frame 1
inicialy = this._y;
tension = 1;
fuerza_e = 0;
BOLA = _root.bola;
fx_resorte_down = new Sound(this);
fx_resorte_down.attachSound("resorte_down");
fx_resorte_up = new Sound(this);
fx_resorte_up.attachSound("resorte_up");
Symbol 440 MovieClip Frame 2
fuerza_e = fuerza_e + ((-(inicialy - _y)) / 30);
_y = (_y - (fuerza_e / 2));
if (this.hitTest(BOLA)) {
if (((_y == inicialy) && (fuerza_e == 0)) && (BOLA.fuerza_y < 0)) {
fx_resorte_down.start();
}
_y = (_y - BOLA.fuerza_y);
BOLA._y = BOLA._y - (fuerza_e / 2);
if (fuerza_e > 0) {
BOLA.fuerza_y = BOLA.fuerza_y + (fuerza_e / 10);
}
}
if (_y < inicialy) {
_y = inicialy;
fuerza_e = 0;
}
luz._alpha = (_y - inicialy) * 10;
Symbol 440 MovieClip Frame 3
gotoAndPlay (2);
Symbol 450 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if ((_root.bola.fuerza_x < 15) && (_root.bola.fuerza_x > 0)) {
_root.bola.fuerza_x = 17;
}
_root.bola.fuerza_y = _root.bola.fuerza_y - 1;
}
Symbol 453 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
var alcanze = 30;
var velocidad = 0.5;
var i = (1 + (Math.random() * 40));
Symbol 453 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
inner._y = Math.abs((Math.sin((i * velocidad) / 10) * 10) * alcanze);
inner._rotation++;
i = i + 0.5;
Symbol 453 MovieClip Frame 3
gotoAndPlay (2);
Symbol 455 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 455 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 455 MovieClip Frame 3
gotoAndPlay (2);
Symbol 456 MovieClip Frame 1
colision = 0;
HA_fx = new Sound(this);
HA_fx.attachSound("HA_fx");
Symbol 456 MovieClip Frame 2
if ((!_root.mundo.sw_a) || (_root.mundo.sw_a.ON == 1)) {
if (!_root["a_" + _root.mundo._currentframe]) {
_alpha = 100;
} else {
_alpha = 20;
}
if (this.hitTest(_root.bola) && (colision == 0)) {
colision = 1;
_root.attachMovie("ACE_got", "ACE_got_i", this.getNextHighestDepth());
_root.ACE_got_i._x = _x + _root.mundo._x;
_root.ACE_got_i._y = _y + _root.mundo._y;
HA_fx.start();
_root["a_" + _root.mundo._currentframe] = 1;
_root.user_datos.data["a_" + _root.mundo._currentframe] = 1;
_root.user_datos.flush();
_root.bola.gotoAndPlay(4);
colision = 1;
_root.attachMovie("ani_win", "win", this.getNextHighestDepth());
_root.win._x = _root.bola._x;
_root.win._y = _root.bola._y;
_root.ACEfinish = 1;
}
} else {
_alpha = 0;
}
Symbol 456 MovieClip Frame 3
gotoAndPlay (2);
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 2
stop();
Symbol 473 MovieClip Frame 1
ON = 0;
Symbol 473 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
ON = 1;
light.gotoAndStop(2);
}
Symbol 473 MovieClip Frame 3
gotoAndPlay (2);
Symbol 475 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 475 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 475 MovieClip Frame 3
gotoAndPlay (2);
Symbol 476 MovieClip Frame 1
_rotation = (_rotation + 0.5);
Symbol 476 MovieClip Frame 2
_rotation = (_rotation + 0.5);
Symbol 479 MovieClip Frame 1
BOLA = _root.bola;
Symbol 479 MovieClip Frame 2
if (this.hitTest(BOLA._x + 5, BOLA._y)) {
if (BOLA.fuerza_x < 0) {
if (_rotation > -4) {
BOLA.fuerza_x = BOLA.fuerza_x * -3;
}
} else {
_rotation = (-((BOLA._x + 10) - (_root.mundo._x + _x)));
if (_rotation > 0) {
_rotation = 0;
}
}
} else if (_rotation < 0) {
_rotation = (_rotation + 3);
}
Symbol 479 MovieClip Frame 3
gotoAndPlay (2);
Symbol 482 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 1
HA_fx = new Sound(this);
HA_fx.attachSound("resorte_instant_fx");
Symbol 483 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (gfx._currentframe == 1) {
HA_fx.start();
}
_root.bola.fuerza_y = 10;
gfx.play();
}
Symbol 483 MovieClip Frame 3
gotoAndPlay (1);
Symbol 487 MovieClip Frame 1
if (this.hitTest(_root.bola)) {
_root.bola.fuerza_y = (_root.bola.fuerza_y * 0.6) + 1;
}
Symbol 487 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
_root.bola.fuerza_y = (_root.bola.fuerza_y * 0.6) + 1;
_root.bola._y = _root.bola._y - 2;
}
Symbol 492 MovieClip Frame 1
BOLA = _root.bola;
Symbol 492 MovieClip Frame 2
Y = _root.mundo._y + this._y;
if (this.centro.hitTest(BOLA)) {
BOLA._x = _root.mundo.destino._x + _root.mundo._x;
BOLA._y = _root.mundo.destino._y + _root.mundo._y;
}
Symbol 492 MovieClip Frame 3
gotoAndPlay (2);
Symbol 496 MovieClip Frame 1
ON = 0;
fx_col_s = new Sound(this);
fx_col_s.attachSound("switch_fx");
Symbol 496 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (light._currentframe == 1) {
ON = 1;
fx_col_s.start();
light.gotoAndStop(2);
}
}
Symbol 496 MovieClip Frame 3
gotoAndPlay (2);
Symbol 500 MovieClip Frame 1
fuerza_e = 0;
BOLA = _root.bola;
Symbol 500 MovieClip Frame 2
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
if (this.hitTest(BOLA)) {
if (BOLA._y > Y) {
while (this.hitTest(BOLA)) {
BOLA._y = BOLA._y + 1;
}
}
if (BOLA._y < Y) {
while (this.hitTest(BOLA)) {
BOLA._y = BOLA._y - 1;
}
}
BOLA.fuerza_y = BOLA.fuerza_y * -1;
BOLA.gravedad = BOLA.gravedad * -1;
}
Symbol 500 MovieClip Frame 3
gotoAndPlay (2);
Symbol 502 MovieClip Frame 1
resorte_instant_fx = new Sound(this);
resorte_instant_fx.attachSound("resorte_instant_fx");
Symbol 502 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (gfx._currentframe == 1) {
resorte_instant_fx.start();
}
_root.bola.fuerza_y = -10;
gfx.play();
}
Symbol 502 MovieClip Frame 3
gotoAndPlay (1);
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 38
stop();
Symbol 509 MovieClip Frame 1
Y = _root.mundo._y + this._y;
I = BOLA._gravedad / Math.abs(BOLA._gravedad);
BOLA = _root.bola;
fx_volatile = new Sound(this);
fx_volatile.attachSound("volatile_fx");
Symbol 509 MovieClip Frame 2
if (this.hitTest(BOLA)) {
if (BOLA._Y > Y) {
while (this.hitTest(BOLA)) {
BOLA._y++;
}
}
if (BOLA._Y < Y) {
while (this.hitTest(BOLA)) {
BOLA._y--;
}
}
BOLA.fuerza_y = BOLA.fuerza_y * -0.7;
gfx.play();
fx_volatile.start();
}
Symbol 509 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 510 MovieClip Frame 1
BOLA = _root.bola;
Symbol 510 MovieClip Frame 2
Y = _root.mundo._y + this._y;
if (this.centro.hitTest(BOLA)) {
BOLA._x = _root.mundo.destino2._x + _root.mundo._x;
BOLA._y = _root.mundo.destino2._y + _root.mundo._y;
}
Symbol 510 MovieClip Frame 3
gotoAndPlay (2);
Symbol 512 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 512 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 512 MovieClip Frame 3
gotoAndPlay (2);
Symbol 516 MovieClip Frame 1
Y = _root.mundo._y + this._y;
dif_y = 1;
BOLA = _root.bola;
Symbol 516 MovieClip Frame 2
if (this.hitTest(BOLA)) {
dif_y++;
BOLA._y = (Math.sin(dif_y / 5) * 5) + Y;
BOLA.fuerza_y = 2;
}
Symbol 516 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 518 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
cont = 1;
Symbol 518 MovieClip Frame 2
cont++;
if (_root.bola._x > (_x + _root.mundo._x)) {
_x = (_x + (1 + Math.sin(cont / 10)));
gfx.inner._rotation = gfx.inner._rotation + 10;
}
if (_root.bola._x < (_x + _root.mundo._x)) {
_x = (_x - (1 + Math.sin(cont / 10)));
gfx.inner._rotation = gfx.inner._rotation - 10;
}
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 518 MovieClip Frame 3
gotoAndPlay (2);
Symbol 519 MovieClip Frame 1
Y = _root.mundo._y + this._y;
I = BOLA._gravedad / Math.abs(BOLA._gravedad);
BOLA = _root.bola;
fx_volatile = new Sound(this);
fx_volatile.attachSound("volatile_fx");
Symbol 519 MovieClip Frame 2
if (this.hitTest(BOLA)) {
X = _root.mundo._x + _x;
if (BOLA._x < X) {
while (this.hitTest(BOLA)) {
BOLA._x--;
}
}
if (BOLA._x > X) {
while (this.hitTest(BOLA)) {
BOLA._x++;
}
}
BOLA.fuerza_x = BOLA.fuerza_x * -1;
gfx.play();
fx_volatile.start();
}
Symbol 519 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 521 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
cont = 1;
Symbol 521 MovieClip Frame 2
cont++;
if (_root.bola._y > (_y + _root.mundo._y)) {
_y = (_y + (1 + Math.sin(cont / 10)));
}
if (_root.bola._y < (_y + _root.mundo._y)) {
_y = (_y - (1 + Math.sin(cont / 10)));
}
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 521 MovieClip Frame 3
gotoAndPlay (2);
Symbol 528 MovieClip Frame 1
resorte_instant_fx = new Sound(this);
resorte_instant_fx.attachSound("resorte_instant_fx");
Symbol 528 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (gfx._currentframe == 1) {
resorte_instant_fx.start();
}
_root.bola.fuerza_x = -5;
_root.bola.fuerza_y = 5;
gfx.play();
} else {
colision = 1;
}
Symbol 528 MovieClip Frame 3
gotoAndPlay (1);
Symbol 529 MovieClip Frame 1
HA_fx = new Sound(this);
HA_fx.attachSound("resorte_instant_fx");
colision = 0;
Symbol 529 MovieClip Frame 2
if (this.hitTest(_root.bola) && (colision == 0)) {
if (gfx._currentframe == 1) {
HA_fx.start();
}
_root.bola.fuerza_x = 5;
_root.bola.fuerza_y = 5;
gfx.play();
} else {
colision = 1;
}
Symbol 529 MovieClip Frame 3
gotoAndPlay (1);
Symbol 530 MovieClip Frame 1
HA_fx = new Sound(this);
HA_fx.attachSound("resorte_instant_fx");
Symbol 530 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (gfx._currentframe == 1) {
HA_fx.start();
}
_root.bola.fuerza_y = 15;
gfx.play();
}
Symbol 530 MovieClip Frame 3
gotoAndPlay (1);
Symbol 532 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 532 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 532 MovieClip Frame 3
gotoAndPlay (2);
Symbol 534 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 534 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 534 MovieClip Frame 3
gotoAndPlay (2);
Symbol 541 MovieClip Frame 1
ALTURA = this._height / 2;
INCREMENTO = this._height / 40;
Y = _root.mundo._y + this._y;
dif_y = 1;
BOLA = _root.bola;
Symbol 541 MovieClip Frame 2
if (this.hitTest(BOLA)) {
dif_y = dif_y + (1 / INCREMENTO);
BOLA._y = (Math.sin(dif_y / 5) * ALTURA) + Y;
BOLA.fuerza_y = 2;
}
Symbol 541 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 548 MovieClip Frame 1
_root.bola.gravedad = 0;
_root.bola.fuerza_y = 0;
_root.bola.factor_ingravedad = 10;
Symbol 550 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
cont = 1;
Symbol 550 MovieClip Frame 2
cont++;
if (_root.bola._x > ((_x + gfx._x) + _root.mundo._x)) {
gfx._x = gfx._x + (1 + Math.sin(cont / 10));
gfx.inner._rotation = gfx.inner._rotation + 10;
}
if (_root.bola._x < ((_x + gfx._x) + _root.mundo._x)) {
gfx._x = gfx._x - (1 + Math.sin(cont / 10));
gfx.inner._rotation = gfx.inner._rotation - 10;
}
if (_root.bola._y > ((_y + gfx._y) + _root.mundo._y)) {
gfx._y = gfx._y + (1 + Math.sin(cont / 10));
}
if (_root.bola._y < ((_y + gfx._y) + _root.mundo._y)) {
gfx._y = gfx._y - (1 + Math.sin(cont / 10));
}
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 550 MovieClip Frame 3
gotoAndPlay (2);
Symbol 551 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if ((_root.bola.fuerza_x > -15) && (_root.bola.fuerza_x < 0)) {
_root.bola.fuerza_x = -17;
}
_root.bola.fuerza_y = _root.bola.fuerza_y - 1;
}
Symbol 554 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 554 MovieClip Frame 2
_x = (_x + 2);
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 554 MovieClip Frame 3
gotoAndPlay (2);
Symbol 556 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 556 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 556 MovieClip Frame 3
gotoAndPlay (2);
Symbol 558 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 558 MovieClip Frame 2
if (this.hitTest(_root.bola._x, _root.bola._y, true) && (colision == 0)) {
colision = 1;
_root.attachMovie("ani_dead", "muerte", this.getNextHighestDepth());
_root.muerte._x = _root.bola._x;
_root.muerte._y = _root.bola._y;
_root.muerte.gotoAndPlay(4);
muerte_fx.start();
}
Symbol 558 MovieClip Frame 3
gotoAndPlay (2);
Symbol 562 MovieClip Frame 2
stop();
Symbol 562 MovieClip Frame 4
gotoAndPlay (2);
Symbol 562 MovieClip Frame 5
_root.bola.gotoAndPlay(4);
colision = 1;
_root.attachMovie("ani_win", "win", this.getNextHighestDepth());
_root.win._x = _root.bola._x;
_root.win._y = _root.bola._y;
_root.bola._y = 5000;
_root.bola._x = 5000;
win_fx.start();
_root["p_" + _root.mundo._currentframe] = 1;
_root.user_datos.data["p_" + _root.mundo._currentframe] = 1;
_root.user_datos.flush();
Symbol 562 MovieClip Frame 73
stop();
Symbol 563 MovieClip Frame 1
BOLA = _root.bola;
life = 20;
mov_heart = 0;
Boss_fx = new Sound(this);
Boss_fx.attachSound("fx_boss_hit");
Symbol 563 MovieClip Frame 2
inner.aura._rotation++;
inner.ball._rotation = inner.ball._rotation + 0.5;
mov_heart = mov_heart + 0.05;
inner._y = (-Math.sin(mov_heart)) * 60;
inner._x = (-Math.sin(mov_heart / 9)) * 600;
if (this.hitTest(BOLA._x, BOLA._y, true) && (BOLA._currentframe != 4)) {
Boss_fx.start();
inner.play();
life--;
trace(life);
if (life <= 0) {
inner.gotoAndPlay(5);
gotoAndPlay (4);
}
dis_x = _root.bola._x - ((_root.mundo._x + _x) + inner._x);
dis_y = _root.bola._y - ((_root.mundo._y + _y) + inner._y);
dis_x = dis_x / Math.abs(dis_x);
dis_y = dis_y / Math.abs(dis_y);
if (BOLA._x > ((_x + inner._x) + _mundo._x)) {
while (this.hitTest(BOLA._x, BOLA._y, true)) {
BOLA._x = BOLA._x + 5;
}
}
if (BOLA._x < ((_x + inner._x) + _mundo._x)) {
while (this.hitTest(BOLA._x, BOLA._y, true)) {
BOLA._x = BOLA._x - 5;
}
}
BOLA.fuerza_x = dis_x * 9;
BOLA.fuerza_y = dis_y * 9;
}
Symbol 563 MovieClip Frame 3
gotoAndPlay (2);
Symbol 563 MovieClip Frame 4
stop();
Symbol 583 MovieClip Frame 1
BOLA = _root.bola;
Symbol 583 MovieClip Frame 2
if (this.hitTest(BOLA._x, BOLA._y, true)) {
dis_x = _root.bola._x - (_root.mundo._x + _x);
dis_y = _root.bola._y - (_root.mundo._y + _y);
dis_x = dis_x / Math.abs(dis_x);
dis_y = dis_y / Math.abs(dis_y);
_root.bola.fuerza_x = dis_x * 7;
_root.bola.fuerza_y = dis_y * 7;
}
Symbol 583 MovieClip Frame 3
gotoAndPlay (2);
Symbol 636 MovieClip Frame 1
inicialy = this._y;
tension = 1;
fuerza_e = 0;
BOLA = _root.bola;
Symbol 636 MovieClip Frame 2
fuerza_e = fuerza_e + ((-(inicialy - _y)) / 100);
_y = (_y - (fuerza_e / 4));
if (this.hitTest(BOLA)) {
_y = (_y - BOLA.fuerza_y);
if (fuerza_e > 0) {
BOLA.fuerza_y = BOLA.fuerza_y + (fuerza_e / 30);
}
BOLA._y = BOLA._y - (fuerza_e / 4);
}
if (_y < inicialy) {
_y = inicialy;
fuerza_e = 0;
}
luz._alpha = (inicialy - _y) / -1.5;
Symbol 636 MovieClip Frame 3
gotoAndPlay (2);
Symbol 641 MovieClip Frame 1
if (this.hitTest(_root.bola)) {
_root.bola.fuerza_y = (_root.bola.fuerza_y * 0.6) + 1;
}
Symbol 641 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
_root.bola.fuerza_y = (_root.bola.fuerza_y * 0.6) + 1;
_root.bola._y = _root.bola._y - 2;
}
Symbol 645 MovieClip Frame 1
if (this.hitTest(_root.bola)) {
dis_x = _root.bola._x - (_root.mundo._x + _x);
dis_y = (_root.mundo._y + _y) - _root.bola._y;
dis_x = dis_x / Math.abs(dis_x);
dis_y = dis_y / Math.abs(dis_y);
_root.bola.fuerza_x = _root.bola.fuerza_x + (dis_x * 6);
_root.bola.fuerza_y = _root.bola.fuerza_y + (dis_y * 6);
}
Symbol 650 MovieClip Frame 1
BOLA = _root.bola;
fx_col = new Sound(this);
fx_col.attachSound("fx_choir");
Symbol 650 MovieClip Frame 2
if (this.hitTest(BOLA)) {
fx_col.start();
gotoAndPlay (4);
}
Symbol 650 MovieClip Frame 3
gotoAndPlay (2);
Symbol 650 MovieClip Frame 4
stop();
Symbol 651 MovieClip Frame 1
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 651 MovieClip Frame 2
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 651 MovieClip Frame 3
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 651 MovieClip Frame 4
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 651 MovieClip Frame 5
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
stop();
Symbol 651 MovieClip Frame 6
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
scnd_pl.gotoAndPlay(100);
stop();
Symbol 651 MovieClip Frame 7
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
stop();
Symbol 651 MovieClip Frame 8
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
stop();
Symbol 651 MovieClip Frame 9
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 651 MovieClip Frame 10
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 651 MovieClip Frame 11
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 651 MovieClip Frame 12
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 651 MovieClip Frame 13
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 651 MovieClip Frame 14
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 651 MovieClip Frame 15
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 651 MovieClip Frame 16
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 651 MovieClip Frame 17
stop();
Symbol 651 MovieClip Frame 18
stop();
Symbol 651 MovieClip Frame 19
stop();
Symbol 651 MovieClip Frame 20
stop();
Symbol 651 MovieClip Frame 21
stop();
Symbol 651 MovieClip Frame 22
stop();
Symbol 651 MovieClip Frame 23
stop();
Symbol 651 MovieClip Frame 24
stop();
Symbol 651 MovieClip Frame 25
stop();
Symbol 651 MovieClip Frame 26
stop();
Symbol 651 MovieClip Frame 27
stop();
Symbol 651 MovieClip Frame 28
stop();
Symbol 651 MovieClip Frame 29
stop();
Symbol 651 MovieClip Frame 30
stop();
Symbol 651 MovieClip Frame 31
stop();
Symbol 651 MovieClip Frame 32
dos.gotoAndPlay(40);
dos_a.gotoAndPlay(40);
dos_b.gotoAndPlay(40);
tres.gotoAndPlay(80);
tres_a.gotoAndPlay(80);
tres_b.gotoAndPlay(80);
cuatro.gotoAndPlay(120);
cuatro_a.gotoAndPlay(120);
cuatro_b.gotoAndPlay(120);
stop();
Symbol 651 MovieClip Frame 33
stop();
Symbol 651 MovieClip Frame 34
stop();
Symbol 651 MovieClip Frame 35
stop();