Frame 1
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
_global.shownAd = 0;
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 349 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 349 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 349 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 = 0;
_root.winDialog._y = 0;
} 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 52 Button
on (release) {
getURL ("http://www.kongregate.com/games/oddgoo/amberial-nebulosa-realms", _blank);
}
Symbol 55 Button
on (release) {
getURL ("http://www.kongregate.com/games/oddgoo/amberial-nebulosa-realms", _blank);
}
Symbol 58 Button
on (release) {
removeMovieClip(_parent);
removeMovieClip(this);
}
Symbol 67 MovieClip Frame 1
colision = 0;
HA_fx = new Sound(this);
HA_fx.attachSound("HA_fx");
Symbol 67 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 67 MovieClip Frame 3
gotoAndPlay (2);
Symbol 69 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 69 MovieClip Frame 2
Y = _root.mundo._y + this._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;
if ((BOLA.fuerza_y >= 1) && (BOLA.fuerza_y < 3)) {
fx_col_c.start();
} else if ((BOLA.fuerza_y >= 3) && (BOLA.fuerza_y < 4)) {
fx_col_b.start();
} else if ((BOLA.fuerza_y > 4) && (BOLA.fuerza_y < 6)) {
fx_col_a.start();
} else if (BOLA.fuerza_y >= 6) {
fx_col_s.start();
} else if (BOLA.fuerza_y < -1) {
fx_col_b.start();
}
}
Symbol 69 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 75 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 75 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 75 MovieClip Frame 3
gotoAndPlay (2);
Symbol 87 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 89 Button
on (press) {
_root._quality = "HIGH";
}
Symbol 92 Button
on (press) {
_root._quality = "MEDIUM";
}
Symbol 95 Button
on (press) {
_root._quality = "LOW";
}
Symbol 103 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 104 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 106 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 108 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 111 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 122 MovieClip [DieDialog] Frame 1
if (Key.isDown(37) && (Key.isDown(39))) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Instance of Symbol 118 MovieClip in Symbol 122 MovieClip [DieDialog] Frame 1
on (press) {
_root.gotoAndStop("levelselect");
}
Instance of Symbol 119 MovieClip in Symbol 122 MovieClip [DieDialog] Frame 1
on (press) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 126 MovieClip [ACE WinDialog] Frame 1
clearInterval(_root.idCronometro);
Instance of Symbol 118 MovieClip in Symbol 126 MovieClip [ACE WinDialog] Frame 1
on (press) {
_root.gotoAndStop("levelselect");
}
Instance of Symbol 119 MovieClip in Symbol 126 MovieClip [ACE WinDialog] Frame 1
on (press) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 126 MovieClip [ACE WinDialog] Frame 2
if (Key.isDown(37) && (Key.isDown(39))) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 126 MovieClip [ACE WinDialog] Frame 3
gotoAndPlay (2);
Symbol 135 Button
on (press) {
var tiempo = 0;
tiempo = tiempo + (_root.minutos * 60);
tiempo = tiempo + _root.segundos;
tiempo = tiempo + (_root.decimas / 100);
tiempo = tiempo * 1000;
if (_root.mundo._currentframe == 1) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"25ecdb737d417d99", score:tiempo});
} else if (_root.mundo._currentframe == 2) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"61ad199380e0081b", score:tiempo});
} else if (_root.mundo._currentframe == 3) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"1f1b6e521b404975", score:tiempo});
} else if (_root.mundo._currentframe == 4) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"9374382304f657a2", score:tiempo});
} else if (_root.mundo._currentframe == 5) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"dd20b1d802f762b4", score:tiempo});
} else if (_root.mundo._currentframe == 6) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"675dbc6202a9e8fa", score:tiempo});
} else if (_root.mundo._currentframe == 7) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"b35a52d771a67cb8", score:tiempo});
} else if (_root.mundo._currentframe == 8) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"fa71e8c37db8693c", score:tiempo});
} else if (_root.mundo._currentframe == 9) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"9db834e17d05894c", score:tiempo});
} else if (_root.mundo._currentframe == 10) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"9426f94d03562353", score:tiempo});
} else if (_root.mundo._currentframe == 11) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"2919bea19aa59813", score:tiempo});
} else if (_root.mundo._currentframe == 12) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"6ea2af2384304b02", score:tiempo});
} else if (_root.mundo._currentframe == 13) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"4892557225ee4e87", score:tiempo});
} else if (_root.mundo._currentframe == 14) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"1839b1794a6bce33", score:tiempo});
} else if (_root.mundo._currentframe == 15) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"c4f8c2fd6c133410", score:tiempo});
} else if (_root.mundo._currentframe == 16) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"d3ab1dec3a075cda", score:tiempo});
} else if (_root.mundo._currentframe == 30) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"adc1449ea226230e", score:tiempo});
} else if (_root.mundo._currentframe == 31) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"25ecdb737d417d99", score:tiempo});
} else if (_root.mundo._currentframe == 32) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"25ecdb737d417d99", score:tiempo});
} else if (_root.mundo._currentframe == 33) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"25ecdb737d417d99", score:tiempo});
} else if (_root.mundo._currentframe == 34) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"e150770b45939fab", score:tiempo});
} else if (_root.mundo._currentframe == 35) {
mochi.MochiScores.showLeaderboard({clip:_root.winDialog, boardID:"9073e193e446c403", score:tiempo});
}
}
Symbol 136 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 + (_root.minutos * 60);
tiempo = tiempo + _root.segundos;
tiempo = tiempo + (_root.decimas / 100);
tiempo = tiempo * 1000;
trace(tiempo);
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();
}
}
clearInterval(_root.idCronometro);
Instance of Symbol 118 MovieClip in Symbol 136 MovieClip [WinDialog] Frame 1
on (press) {
_root.gotoAndStop("levelselect");
}
Instance of Symbol 119 MovieClip in Symbol 136 MovieClip [WinDialog] Frame 1
on (press) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 136 MovieClip [WinDialog] Frame 2
if (Key.isDown(37) && (Key.isDown(39))) {
_root.gotoAndPlay("levelselect");
_root.gotoAndPlay("play");
}
Symbol 136 MovieClip [WinDialog] Frame 3
gotoAndPlay (2);
Symbol 145 MovieClip Frame 1
onEnterFrame = function () {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
pfixEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(pfixEnd, domain.length);
};
this._visible = false;
Symbol 149 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded * 2;
} else {
gotoAndStop ("loaded");
}
Symbol 149 MovieClip Frame 2
gotoAndPlay (1);
Symbol 149 MovieClip Frame 3
_root.play();
Symbol 672 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if (options.clip != null) {
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
}
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (typeof(options.score) == "object") {
if (options.score.text != undefined) {
options.score = options.score.text;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 673 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 152 Button
on (press) {
getURL ("http://www.andkon.com/arcade/", _blank);
}
Symbol 153 MovieClip Frame 171
_root.play();
Symbol 159 MovieClip Frame 1
stopAllSounds();
Symbol 159 MovieClip Frame 2
stop();
Symbol 159 MovieClip Frame 3
stopAllSounds();
Symbol 159 MovieClip Frame 4
stop();
Symbol 159 MovieClip Frame 5
stopAllSounds();
Symbol 159 MovieClip Frame 6
stop();
Symbol 159 MovieClip Frame 7
stopAllSounds();
Symbol 159 MovieClip Frame 8
stop();
Symbol 164 Button
on (press) {
getURL ("http:\\www.villavanilla.net", _blank);
}
Symbol 166 MovieClip Frame 173
_root.play();
Symbol 172 MovieClip Frame 386
stop();
Symbol 176 Button
on (press) {
_root.gotoAndPlay("levelselect");
}
Symbol 178 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 180 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 184 Button
on (press) {
_root.gotoAndPlay(9);
}
Symbol 185 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 186 MovieClip Frame 108
stop();
Symbol 192 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 193 MovieClip Frame 130
stop();
Symbol 198 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 199 MovieClip Frame 150
stop();
Symbol 206 MovieClip Frame 59
stop();
Symbol 208 Button
on (release) {
getURL ("http://www.villavanilla.net", _blank);
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 220 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 220 MovieClip Frame 2
if (_root.p_2) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 220 MovieClip Frame 3
this._alpha = this._alpha - 2;
this._rotation = this._rotation + 8;
this._xscale = this._xscale - 2;
this._yscale = this._yscale - 2;
Symbol 220 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 226 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 226 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 226 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 226 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 230 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 230 MovieClip Frame 2
if (_root.p_1 || (_root.p_6)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 230 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 230 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 235 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 235 MovieClip Frame 2
if (_root.p_1) {
_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 238 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 238 MovieClip Frame 2
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
Symbol 238 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 238 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 243 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 243 MovieClip Frame 2
if (_root.p_3) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
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
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 248 MovieClip Frame 2
if (condition > 0) {
_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 251 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 251 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 251 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 251 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 254 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 254 MovieClip Frame 2
if (_root.p_5 || (_root.p_10)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 254 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 254 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 257 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 257 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 257 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 257 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 260 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 260 MovieClip Frame 2
if ((_root.p_7 || (_root.p_10)) || (_root.p_12)) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 260 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 260 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 263 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 263 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 263 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 263 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 270 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 270 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 270 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 270 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 273 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 273 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 273 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 273 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 276 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 276 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 276 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 276 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 279 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 279 MovieClip Frame 2
if (condition) {
_root.overworld.attachMovie("telon", "telon_i", _root.overworld.getNextHighestDepth());
} else {
gotoAndStop (1);
}
Symbol 279 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 279 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Instance of Symbol 220 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(3);
}
Instance of Symbol 226 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(6);
}
Instance of Symbol 230 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(5);
}
Instance of Symbol 235 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(2);
}
Instance of Symbol 238 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(1);
}
Instance of Symbol 243 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(4);
}
Instance of Symbol 248 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(7);
}
Instance of Symbol 251 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(8);
}
Instance of Symbol 254 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(9);
}
Instance of Symbol 257 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(10);
}
Instance of Symbol 260 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(11);
}
Instance of Symbol 263 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(12);
}
Instance of Symbol 270 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(13);
}
Instance of Symbol 273 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(14);
}
Instance of Symbol 276 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(15);
}
Instance of Symbol 279 MovieClip in Symbol 280 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(16);
}
Symbol 281 MovieClip Frame 2
Symbol 285 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 285 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 285 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 285 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 288 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 288 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 288 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 288 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 291 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 291 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 291 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 291 MovieClip Frame 4
if (_alpha < 25) {
_root.golvl = nivel;
_root.nextFrame();
this.removeMovieClip(this);
} else {
gotoAndPlay (3);
}
Symbol 294 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 294 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 294 MovieClip Frame 3
_alpha = (_alpha - 2);
_rotation = (_rotation + 8);
_xscale = (_xscale - 2);
_yscale = (_yscale - 2);
Symbol 294 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 = 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 297 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 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
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 300 MovieClip Frame 2
if (_root.ace_total > 2) {
_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);
}
Instance of Symbol 285 MovieClip in Symbol 308 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 288 MovieClip in Symbol 308 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 291 MovieClip in Symbol 308 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(33);
}
Instance of Symbol 294 MovieClip in Symbol 308 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(31);
}
Instance of Symbol 297 MovieClip in Symbol 308 MovieClip Frame 1
on (press) {
_root.btn_fx.start();
this.swapDepths(1);
play();
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(32);
}
Instance of Symbol 300 MovieClip in Symbol 308 MovieClip Frame 1
on (press) {
if (_root.ace_total > 2) {
this.swapDepths(1);
play();
}
}
on (rollOver) {
_root.name_contenedor.gotoAndStop(30);
}
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 2
stop();
Symbol 332 MovieClip Frame 3
stop();
Symbol 332 MovieClip Frame 4
stop();
Symbol 332 MovieClip Frame 5
stop();
Symbol 332 MovieClip Frame 6
stop();
Symbol 332 MovieClip Frame 7
stop();
Symbol 332 MovieClip Frame 8
stop();
Symbol 332 MovieClip Frame 9
stop();
Symbol 332 MovieClip Frame 10
stop();
Symbol 332 MovieClip Frame 11
stop();
Symbol 332 MovieClip Frame 12
stop();
Symbol 332 MovieClip Frame 13
stop();
Symbol 332 MovieClip Frame 14
stop();
Symbol 332 MovieClip Frame 15
stop();
Symbol 332 MovieClip Frame 16
stop();
Symbol 338 Button
on (press) {
grp_mainlvls._x = 850;
grp_extralvls._x = 63;
btn_extra.swapDepths(btn_main);
}
Symbol 341 Button
on (press) {
grp_mainlvls._x = 63;
grp_extralvls._x = 850;
btn_main.swapDepths(btn_extra);
}
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
stop();
Symbol 383 MovieClip Frame 3
stop();
Symbol 383 MovieClip Frame 4
stop();
Symbol 383 MovieClip Frame 5
stop();
Symbol 383 MovieClip Frame 6
stop();
Symbol 383 MovieClip Frame 7
stop();
Symbol 383 MovieClip Frame 8
stop();
Symbol 383 MovieClip Frame 9
stop();
Symbol 383 MovieClip Frame 10
stop();
Symbol 383 MovieClip Frame 12
stop();
Symbol 383 MovieClip Frame 30
stop();
Symbol 383 MovieClip Frame 31
stop();
Symbol 383 MovieClip Frame 32
stop();
Symbol 383 MovieClip Frame 33
stop();
Symbol 383 MovieClip Frame 34
stop();
Symbol 385 MovieClip Frame 1
var keyDownC = Key.isDown;
var keyL = 37;
var keyR = 39;
var fuerza_y = 1;
var fuerza_x = 0;
var i = 0;
var gravedad = 0.2;
var factor_ingravedad = 0;
widthMundo = _root.mundo._width;
Symbol 385 MovieClip Frame 2
NivelActual = _root.mundo._currentframe;
BolaX = _root.bola._x;
BolaY = _root.bola._y;
MundoX = _root.mundo._x;
MundoY = _root.mundo._y;
if (keyDownC(keyR) && (fuerza_x < 5)) {
fuerza_x = fuerza_x + 0.5;
}
if (keyDownC(keyL) && (fuerza_x > -5)) {
fuerza_x = fuerza_x - 0.5;
}
fuerza_y = fuerza_y - gravedad;
fuerza_x = fuerza_x * 0.97;
if (BolaY < -10) {
_root.bola.fuerza_y = _root.bola.fuerza_y * -1;
while (_root.bola._y < -10) {
_root.bola._y++;
}
}
if (NivelActual == 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 (NivelActual == 32) {
if (BolaY > 420) {
if (MundoY >= (-(_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 (BolaY < 250) {
if (MundoY < 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 ((NivelActual == 33) || (NivelActual == 34)) {
if (BolaX > 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 (BolaX < 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 (BolaY > 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 (BolaY < 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 (BolaX > 480) {
if (MundoX >= (-(widthMundo - 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 (BolaX < 320) {
if (MundoX < 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 (BolaY > 420) {
if (MundoY >= (-(_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 (BolaY < 250) {
if (MundoY < 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);
}
}
}
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 385 MovieClip Frame 3
gotoAndPlay (2);
Symbol 385 MovieClip Frame 4
this.removeMovieClip(this);
stop();
Symbol 388 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 388 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 388 MovieClip Frame 3
gotoAndPlay (2);
Symbol 391 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 391 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 391 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 392 MovieClip Frame 1
BOLA = _root.bola;
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
Symbol 392 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 392 MovieClip Frame 3
gotoAndPlay (2);
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 150
stop();
Symbol 396 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 396 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 396 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
gotoAndPlay (2);
Symbol 398 MovieClip Frame 1
BOLA = _root.bola;
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
Symbol 398 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 398 MovieClip Frame 3
gotoAndPlay (2);
Symbol 400 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 400 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 400 MovieClip Frame 3
gotoAndPlay (2);
Symbol 404 MovieClip Frame 1
BOLA = _root.bola;
fx_col_b = new Sound(this);
fx_col_b.attachSound("col_B_fx");
Symbol 404 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 404 MovieClip Frame 3
gotoAndPlay (2);
Symbol 427 MovieClip Frame 1
colision = 0;
win_fx = new Sound(this);
win_fx.attachSound("win_fx");
Symbol 427 MovieClip Frame 2
if ((!_root.mundo.sw) || (_root.mundo.sw.ON == 1)) {
_alpha = 100;
if (this.hitTest(_root.bola) && (colision == 0)) {
clearInterval(_root.idCronometro);
_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 427 MovieClip Frame 3
gotoAndPlay (2);
Symbol 434 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 434 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 434 MovieClip Frame 3
gotoAndPlay (2);
Symbol 436 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 436 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 436 MovieClip Frame 3
gotoAndPlay (2);
Symbol 446 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 449 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 449 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 449 MovieClip Frame 3
gotoAndPlay (2);
Symbol 451 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 451 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 451 MovieClip Frame 3
gotoAndPlay (2);
Symbol 452 MovieClip Frame 1
colision = 0;
HA_fx = new Sound(this);
HA_fx.attachSound("HA_fx");
Symbol 452 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 452 MovieClip Frame 3
gotoAndPlay (2);
Symbol 467 MovieClip Frame 1
stop();
Symbol 467 MovieClip Frame 2
stop();
Symbol 469 MovieClip Frame 1
ON = 0;
Symbol 469 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
ON = 1;
light.gotoAndStop(2);
}
Symbol 469 MovieClip Frame 3
gotoAndPlay (2);
Symbol 471 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 471 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 471 MovieClip Frame 3
gotoAndPlay (2);
Symbol 472 MovieClip Frame 1
_rotation = (_rotation + 0.5);
Symbol 472 MovieClip Frame 2
_rotation = (_rotation + 0.5);
Symbol 475 MovieClip Frame 1
BOLA = _root.bola;
Symbol 475 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 475 MovieClip Frame 3
gotoAndPlay (2);
Symbol 478 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 1
HA_fx = new Sound(this);
HA_fx.attachSound("resorte_instant_fx");
Symbol 479 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (gfx._currentframe == 1) {
HA_fx.start();
}
_root.bola.fuerza_y = 10;
gfx.play();
}
Symbol 479 MovieClip Frame 3
gotoAndPlay (1);
Symbol 483 MovieClip Frame 1
if (this.hitTest(_root.bola)) {
_root.bola.fuerza_y = (_root.bola.fuerza_y * 0.6) + 1;
}
Symbol 483 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 488 MovieClip Frame 1
BOLA = _root.bola;
Symbol 488 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 488 MovieClip Frame 3
gotoAndPlay (2);
Symbol 492 MovieClip Frame 1
ON = 0;
fx_col_s = new Sound(this);
fx_col_s.attachSound("switch_fx");
Symbol 492 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (light._currentframe == 1) {
ON = 1;
fx_col_s.start();
light.gotoAndStop(2);
}
}
Symbol 492 MovieClip Frame 3
gotoAndPlay (2);
Symbol 496 MovieClip Frame 1
fuerza_e = 0;
BOLA = _root.bola;
Symbol 496 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 496 MovieClip Frame 3
gotoAndPlay (2);
Symbol 498 MovieClip Frame 1
resorte_instant_fx = new Sound(this);
resorte_instant_fx.attachSound("resorte_instant_fx");
Symbol 498 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (gfx._currentframe == 1) {
resorte_instant_fx.start();
}
_root.bola.fuerza_y = -10;
gfx.play();
}
Symbol 498 MovieClip Frame 3
gotoAndPlay (1);
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 38
stop();
Symbol 505 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 505 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 505 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 506 MovieClip Frame 1
BOLA = _root.bola;
Symbol 506 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 506 MovieClip Frame 3
gotoAndPlay (2);
Symbol 508 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 508 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 508 MovieClip Frame 3
gotoAndPlay (2);
Symbol 512 MovieClip Frame 1
Y = _root.mundo._y + this._y;
dif_y = 1;
BOLA = _root.bola;
Symbol 512 MovieClip Frame 2
if (this.hitTest(BOLA)) {
dif_y++;
BOLA._y = (Math.sin(dif_y / 5) * 5) + Y;
BOLA.fuerza_y = 2;
}
Symbol 512 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 514 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
cont = 1;
Symbol 514 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 514 MovieClip Frame 3
gotoAndPlay (2);
Symbol 515 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 515 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 515 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 517 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
cont = 1;
Symbol 517 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 517 MovieClip Frame 3
gotoAndPlay (2);
Symbol 524 MovieClip Frame 1
resorte_instant_fx = new Sound(this);
resorte_instant_fx.attachSound("resorte_instant_fx");
Symbol 524 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 524 MovieClip Frame 3
gotoAndPlay (1);
Symbol 525 MovieClip Frame 1
HA_fx = new Sound(this);
HA_fx.attachSound("resorte_instant_fx");
colision = 0;
Symbol 525 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 525 MovieClip Frame 3
gotoAndPlay (1);
Symbol 526 MovieClip Frame 1
HA_fx = new Sound(this);
HA_fx.attachSound("resorte_instant_fx");
Symbol 526 MovieClip Frame 2
if (this.hitTest(_root.bola)) {
if (gfx._currentframe == 1) {
HA_fx.start();
}
_root.bola.fuerza_y = 15;
gfx.play();
}
Symbol 526 MovieClip Frame 3
gotoAndPlay (1);
Symbol 528 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 528 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 528 MovieClip Frame 3
gotoAndPlay (2);
Symbol 530 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 530 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 530 MovieClip Frame 3
gotoAndPlay (2);
Symbol 537 MovieClip Frame 1
ALTURA = this._height / 2;
INCREMENTO = this._height / 40;
Y = _root.mundo._y + this._y;
dif_y = 1;
BOLA = _root.bola;
Symbol 537 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 537 MovieClip Frame 3
I = BOLA.gravedad / Math.abs(BOLA.gravedad);
Y = _root.mundo._y + this._y;
gotoAndPlay (2);
Symbol 545 MovieClip Frame 1
_root.bola.gravedad = 0;
_root.bola.fuerza_y = 0;
_root.bola.factor_ingravedad = 10;
Symbol 547 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
cont = 1;
Symbol 547 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 547 MovieClip Frame 3
gotoAndPlay (2);
Symbol 548 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 551 MovieClip Frame 1
colision = 0;
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
Symbol 551 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 551 MovieClip Frame 3
gotoAndPlay (2);
Symbol 553 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 553 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 553 MovieClip Frame 3
gotoAndPlay (2);
Symbol 555 MovieClip Frame 1
muerte_fx = new Sound(this);
muerte_fx.attachSound("muerte_fx");
colision = 0;
Symbol 555 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 555 MovieClip Frame 3
gotoAndPlay (2);
Symbol 559 MovieClip Frame 2
stop();
Symbol 559 MovieClip Frame 4
gotoAndPlay (2);
Symbol 559 MovieClip Frame 5
_root.bola.gotoAndPlay(4);
_root.ACEfinish = 0;
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 559 MovieClip Frame 73
stop();
Symbol 560 MovieClip Frame 1
BOLA = _root.bola;
life = 20;
mov_heart = 0;
Boss_fx = new Sound(this);
Boss_fx.attachSound("fx_boss_hit");
Symbol 560 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 560 MovieClip Frame 3
gotoAndPlay (2);
Symbol 560 MovieClip Frame 4
stop();
Symbol 580 MovieClip Frame 1
BOLA = _root.bola;
Symbol 580 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 580 MovieClip Frame 3
gotoAndPlay (2);
Symbol 633 MovieClip Frame 1
inicialy = this._y;
tension = 1;
fuerza_e = 0;
BOLA = _root.bola;
Symbol 633 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 633 MovieClip Frame 3
gotoAndPlay (2);
Symbol 638 MovieClip Frame 1
if (this.hitTest(_root.bola)) {
_root.bola.fuerza_y = (_root.bola.fuerza_y * 0.6) + 1;
}
Symbol 638 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 642 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 647 MovieClip Frame 1
BOLA = _root.bola;
fx_col = new Sound(this);
fx_col.attachSound("fx_choir");
Symbol 647 MovieClip Frame 2
if (this.hitTest(BOLA)) {
fx_col.start();
gotoAndPlay (4);
}
Symbol 647 MovieClip Frame 3
gotoAndPlay (2);
Symbol 647 MovieClip Frame 4
stop();
Symbol 648 MovieClip Frame 1
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 648 MovieClip Frame 2
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 648 MovieClip Frame 3
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 648 MovieClip Frame 4
if ((_root.reproductor._currentframe != 2) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(1);
}
stop();
Symbol 648 MovieClip Frame 5
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
stop();
Symbol 648 MovieClip Frame 6
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
scnd_pl.gotoAndPlay(100);
stop();
Symbol 648 MovieClip Frame 7
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
stop();
Symbol 648 MovieClip Frame 8
if ((_root.reproductor._currentframe != 4) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(3);
}
stop();
Symbol 648 MovieClip Frame 9
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 648 MovieClip Frame 10
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 648 MovieClip Frame 11
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 648 MovieClip Frame 12
if ((_root.reproductor._currentframe != 6) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(5);
}
stop();
Symbol 648 MovieClip Frame 13
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 648 MovieClip Frame 14
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 648 MovieClip Frame 15
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 648 MovieClip Frame 16
if ((_root.reproductor._currentframe != 7) && (_global.option_music == true)) {
_root.reproductor.gotoAndPlay(7);
}
stop();
Symbol 648 MovieClip Frame 17
stop();
Symbol 648 MovieClip Frame 18
stop();
Symbol 648 MovieClip Frame 19
stop();
Symbol 648 MovieClip Frame 20
stop();
Symbol 648 MovieClip Frame 21
stop();
Symbol 648 MovieClip Frame 22
stop();
Symbol 648 MovieClip Frame 23
stop();
Symbol 648 MovieClip Frame 24
stop();
Symbol 648 MovieClip Frame 25
stop();
Symbol 648 MovieClip Frame 26
stop();
Symbol 648 MovieClip Frame 27
stop();
Symbol 648 MovieClip Frame 28
stop();
Symbol 648 MovieClip Frame 29
stop();
Symbol 648 MovieClip Frame 30
stop();
Symbol 648 MovieClip Frame 31
stop();
Symbol 648 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 648 MovieClip Frame 33
stop();
Symbol 648 MovieClip Frame 34
stop();
Symbol 648 MovieClip Frame 35
stop();