Frame 1
function nadda() {
}
this.stop();
xx = new ContextMenu();
xx.hideBuiltInItems();
var p0 = new ContextMenuItem("[ Por Favor Espere... ]", nadda);
var p1 = new ContextMenuItem("[ Please Wait.. ]", nadda);
xx.customItems.push(p0, p1);
_root.menu = xx;
loadtext = "";
Instance of Symbol 163 MovieClip in Frame 1
onClipEvent (enterFrame) {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadbar._width = getPercent * 144;
_root.loadtxt = (Math.round(getPercent * 100) + "% ") + "LOADED";
if (_parent._framesloaded >= 98) {
_parent.b21._alpha = 100;
_parent.b21.enabled = true;
} else {
_parent.b21._alpha = 50;
_parent.b21.enabled = false;
}
if (bytes_loaded == bytes_total) {
_parent.gotoAndPlay(2);
}
}
Frame 2
clearInterval(uy.wq);
clearInterval(uy.yt);
gotoAndPlay (7501);
Frame 3
stopAllSounds();
Frame 4
batt = new Sound();
batt.attachSound("zelda_menu");
_root.field.stop();
batt.onSoundComplete = function () {
batt.start();
};
batt.start();
function init() {
i = 1;
while (i <= 8) {
_root.attachMovie(_global.deck1[i], "c" + i, i);
_root["c" + i]._x = xbase;
_root["c" + i]._y = ybase;
xbase = xbase + 35;
ybase = ybase + 15;
_root["c" + i].id = _global.deck1[i];
_root["c" + i].holdme = false;
_root["c" + i].onRollOver = function () {
if (_global.begin == true) {
if (this.holdme == false) {
this._y = this._y - 10;
this._x = this._x - 10;
}
}
};
_root["c" + i].onRollOut = function () {
if (_global.begin == true) {
if (this.holdme == false) {
this._x = this._x + 10;
this._y = this._y + 10;
}
}
};
_root["c" + i].onPress = function () {
if ((_global.begin == true) && (this.id != "")) {
this.holdme = true;
if (_global.scard == "") {
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start();
_global.scard = this.id;
this.id = "";
} else if ((_global.scard != "") && (this.id != "")) {
_global.scard_2 = this.id;
check_cards();
}
this.gotoAndStop(1);
}
};
i++;
}
xbase = 90;
ybase = 110;
j = 9;
while (j <= 16) {
_root.attachMovie(_global.deck1[j], "c" + j, j);
_root["c" + j]._x = xbase;
_root["c" + j]._y = ybase;
xbase = xbase + 35;
ybase = ybase + 15;
_root["c" + j].id = _global.deck1[j];
_root["c" + j].holdme = false;
_root["c" + j].onRollOver = function () {
if (this.holdme == false) {
if (_global.begin == true) {
this._y = this._y - 10;
this._x = this._x - 10;
}
}
};
_root["c" + j].onRollOut = function () {
if (_global.begin == true) {
if (this.holdme == false) {
this._x = this._x + 10;
this._y = this._y + 10;
}
}
};
_root["c" + j].onPress = function () {
if ((_global.begin == true) && (this.id != "")) {
this.holdme = true;
if (_global.scard == "") {
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start();
_global.scard = this.id;
this.id = "";
} else if ((_global.scard != "") && (this.id != "")) {
_global.scard_2 = this.id;
check_cards();
}
this.gotoAndStop(1);
}
};
j++;
}
}
function check_cards() {
if (_global.scard == _global.scard_2) {
sfx = new Sound();
sfx.attachSound("zelda_select");
sfx.start();
trace("Equal");
_global.pairs = _global.pairs + 1;
score = (1000 - (_global.btime * 100)) * _global.pairs;
cg_score = cg_score + score;
_global.scard = "";
_global.scard_2 = "";
_global.btime = 0;
if (_global.pairs == 8) {
unload_cards();
gotoAndStop (97);
}
} else {
sfx = new Sound();
sfx.attachSound("kh_deselect");
sfx.start();
_global.begin = false;
_root.intID = setInterval(g_over, 500);
}
}
function flip() {
k = 1;
while (k <= 16) {
_root["c" + k].gotoAndPlay(2);
k++;
}
}
function unload_cards() {
l = 1;
while (l <= 16) {
_root["c" + l].unloadMovie();
l++;
}
}
function g_over() {
trace("Wrong");
clearInterval(_root.intID);
gotoAndStop (96);
unload_cards();
}
function score_guide() {
_global.btime = _global.btime + 1;
trace(_global.btime);
}
function overit(sss) {
clearInterval(dd);
if ((sss == "won") && (_global.ev_game == "b_memo")) {
batt.stop();
_global.ev_count = _global.ev_count + 1;
gotoAndStop (4);
} else if (sss == "won") {
batt.stop();
gotoAndStop (4);
} else if (sss == "lost") {
batt.stop();
gotoAndPlay (4);
}
}
this.stop();
_global.begin = false;
_global.pairs = 0;
_global.btime = 0;
cg_score = 0;
_global.deck1 = new Array();
xz = Math.round(Math.random() * 10);
if (xz <= 2) {
_global.deck1 = ["deck1", "mg_card_1", "mg_card_5", "mg_card_8", "mg_card_1", "mg_card_2", "mg_card_4", "mg_card_7", "mg_card_5", "mg_card_3", "mg_card_4", "mg_card_6", "mg_card_3", "mg_card_7", "mg_card_6", "mg_card_2", "mg_card_8"];
} else if (xz <= 4) {
_global.deck1 = ["deck2", "mg_card_1", "mg_card_4", "mg_card_2", "mg_card_7", "mg_card_1", "mg_card_2", "mg_card_5", "mg_card_6", "mg_card_5", "mg_card_3", "mg_card_4", "mg_card_8", "mg_card_3", "mg_card_2", "mg_card_6", "mg_card_7"];
} else if (xz <= 7) {
_global.deck1 = ["deck3", "mg_card_5", "mg_card_8", "mg_card_1", "mg_card_7", "mg_card_2", "mg_card_6", "mg_card_4", "mg_card_6", "mg_card_2", "mg_card_3", "mg_card_4", "mg_card_5", "mg_card_1", "mg_card_8", "mg_card_3", "mg_card_7"];
} else {
_global.deck1 = ["deck4", "mg_card_7", "mg_card_1", "mg_card_5", "mg_card_8", "mg_card_3", "mg_card_1", "mg_card_2", "mg_card_5", "mg_card_8", "mg_card_5", "mg_card_7", "mg_card_2", "mg_card_4", "mg_card_6", "mg_card_4", "mg_card_3"];
}
_global.scard = "";
_global.scard_2 = "";
xbase = 90;
ybase = 10;
Instance of Symbol 236 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_parent.nextFrame();
}
}
Instance of Symbol 163 MovieClip in Frame 4
onClipEvent (enterFrame) {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadbar._width = getPercent * 144;
if (bytes_loaded == bytes_total) {
_root.loadtxt = "READY!//LISTO!";
_parent.gotobut._visible = true;
_parent.gotobut.enabled = true;
} else {
_root.loadtxt = (Math.round(getPercent * 100) + "% ") + "LOADED";
_parent.gotobut._visible = false;
_parent.gotobut.enabled = false;
}
}
Frame 5
init();
this.play();
Frame 84
flip();
Frame 95
_global.begin = true;
scr = setInterval(score_guide, 1000);
this.stop();
Frame 96
clearInterval(scr);
dd = setInterval(overit, 1000, "lost");
Frame 97
clearInterval(scr);
dd = setInterval(overit, 1000, "won");
Frame 98
stopAllSounds();
Frame 99
this.stopAllSounds();
Frame 154
if (_global.idi == 1) {
m1 = "Hace mucho, mucho, mucho...";
m2 = "Mucho, mucho, mucho, mucho...";
m3 = "[(Mucho)x10]x100]...";
m4 = "(Mucho)^13545463212...";
m5 = "Mucho, mucho tiempo...";
m6 = "Hab\u00EDa un \u00E1rbol en Hyrule. Un arbolito feliz.";
m7 = "Oh! Si ke era feliz, era tan feliz ke....";
m8 = "Em... si, eso...";
m9 = "Pero ese no es el punto, el punto es ke estaba en Hyrule.";
m10 = "Todo era trankilo en Hyrule, hasta ke...";
m11 = "Un d\u00EDa, un cerdo rojo kon un trinche, aterrorizaba a los aldeanos de Hyrule.";
m12 = "Los aldeanos corrian en todas direcciones gritando:";
m13 = "\"Phuta madre Jonas, donde esta mi elote?!?!\"";
m14 = "Oh!, perdonen amigos, parece ke me ekivoke de gui\u00F3n...";
m15 = "Gritaban:\n\"O demonios, un cerdo rojo kon un trinche nos ataka!!\"";
m16 = "Y el cerdo rojo gigante konun trinche gritaba:\n \"Wey, esto ES maligno!!1!\"";
m17 = "Al poko tiempo desp\u00FAes...";
m18 = "Un elfo con traje verde kon una espada tan brillante ke kemaba las pupilas apareci\u00F3.";
m19 = "Y se ofreci\u00F3 a derrotar al cerdo por unos kuantos barriles de leche.";
m20 = "Lo derrot\u00F3, y fu\u00E9 grande.";
m21 = "Fu\u00E9 muy grande, viejo.";
m225 = "Y luego la paz regres\u00F3 a Hyrule.";
m22 = "Pero ese no fu\u00E9 el final feliz de esta historia...";
m23 = "Semanas desp\u00FAes unos enanos trataron de robarle la espada a nuestro h\u00E9roe.";
m24 = "Los enanos trabajaban para un gran triangulo dorado al cual adoraban.";
m25 = "Pero nuestro hero\u00E9 logro rekuperarla antes de ke los enanillos escaparan.";
m26 = "El triangulo dorado se enoj\u00F3 tanto ke jur\u00F3 venganza, aunke pokas semanas desp\u00FAes se suicido.";
m27 = "Debido a la posibilidad de ke mas seres malignos kisieran apoderarse de la espada...";
m28 = "El h\u00E9roe orden\u00F3 a los aldeanos ke la enkajaran en una kaja tan dura komo el acero, pero m\u00E1s debil ke el titanio.";
m29 = "Y luego, la paz regres\u00F3 a Hyrule, otra vez. Y el \u00E1rbol fu\u00E9 feliz, otra vez.";
m30 = "Pero eso no tiene nada ke ver kon nuestra historia...";
m31 = "Ke al fin y al kabo es...";
} else if (_global.idi == 2) {
m1 = "A long, long, long...";
m2 = "Long, long, long, long...";
m3 = "[(Long)x10]x100]...";
m4 = "(Long)^13545463212...";
m5 = "Long, long time ago...";
m6 = "There was a tree in Hyrule. A happy tree.";
m7 = "Oh! It was so happy, it was so happy than...";
m8 = "Em... yeah, that...";
m9 = "But that's not the point, the point is than it was in Hyrule.";
m10 = "Everything was so peaceful in Hyrule, until...";
m11 = "One day, a big fork-bearing red pig was terrorizing Hyrule's villagers.";
m12 = "The villagers were running everywere yelling:";
m13 = "\"God dammint Jonas, where's my corn?!?!\"";
m14 = "Oh!, sorry, wrong script...";
m15 = "They yelled:\n\"Holy shit, a big fork-bearing red pig is attacking us!!\"";
m16 = "And the big fork-bearing red pig yelled:\n \"Dude, THAT'S evil!!1!\"";
m17 = "And then...";
m18 = "An elf in a green outfit with a sword so shiny than it burnt the eyes apeared.";
m19 = "And offered to defeat the pig in exchange of a few barrels of milk.";
m20 = "He defeated him and was great.";
m21 = "Really great, viejo.";
m225 = "And then the peace returned to Hyrule.";
m22 = "But that isn't the happy ending of this story...";
m23 = "Few weeks later, a pair of dwarfs tryed to steal the sword of our hero.";
m24 = "The dwarfs worked for a golden triangle, which they worshiped.";
m25 = "But our hero retrived the sword before the dwarfs fled.";
m26 = "The golden triangle was so angry than sworn revenge, although he suicided several weeks later.";
m27 = "Due to the possibilty of more evil beings might steal the sword again...";
m28 = "The hero ordered the villagers to bury the sword in a box strong as the steel, but weaker than the titanium.";
m29 = "And then, the peace returned to Hyrule, again. And the tree was happy, again.";
m30 = "But that has nothing to do with our story...";
m31 = "Which is...";
}
Frame 203
if (_global.idi == 1) {
ptxt = "[ PRESENTA ]";
} else if (_global.idi == 2) {
ptxt = "[ PRESENTS ]";
}
Frame 315
inn = m1;
Frame 363
inn = m2;
Frame 398
inn = m3;
Frame 428
inn = m4;
Frame 458
inn = m5;
Frame 497
inn = m6;
Frame 540
inn = m7;
Frame 595
inn = m8;
Frame 635
inn = m9;
Frame 681
inn = m10;
Frame 732
inn = m11;
Frame 783
inn = m12;
Frame 834
inn = m13;
Frame 891
inn = m14;
Frame 944
inn = m15;
Frame 1011
inn = m17;
Frame 1034
inn = m18;
Frame 1105
inn = m19;
Frame 1178
inn = m20;
Frame 1258
inn = m21;
Frame 1304
inn = m225;
Frame 1379
inn = m22;
Frame 1439
inn = m23;
Frame 1509
inn = m24;
Frame 1570
inn = m25;
Frame 1676
inn = m26;
Frame 1758
inn = m27;
Frame 1808
inn = m28;
Frame 1884
inn = m29;
Frame 1951
inn = m30;
Frame 1983
inn = m31;
Frame 2076
function attach(nam, x1, y1) {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
_global.tdg2 = "";
Frame 2254
_global.rframe = _currentframe + 1;
_global.tdg = "Rei, he venido a vengarme de su hija!\nAhora, digame donde esta o mi terrible, malefika,\nmaligna y chida furia kaer\u00E1 sobre Hyrule!!";
_global.tdg2 = "I have come to take revenge on your daughter! Now, tell me where she is or my terrible, ill-fated, evil, and asskicking fury will spread upon Hyrule!!";
attach();
_global.kol = 13395660 /* 0xCC66CC */;
this.stop();
Frame 2255
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Em...\nGuardia...";
_global.tdg2 = "Em...\nGuard...";
attach();
this.stop();
Frame 2264
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "<font size=\"9\">Kien es este sujeto?!</font>";
_global.tdg2 = "<font size=\"9\">Who the hell is this guy?!</font>";
attach();
this.stop();
Frame 2265
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "No lo se, Su Majestad...\nNo enkontramos su foto en la base de datos...";
_global.tdg2 = "I do not know, His Highness...\nWe did not find his picture in the database...";
attach();
this.stop();
Frame 2266
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "<font size=\"9\">Demonios, deb\u00ED haber invertido en eso...</font>";
_global.tdg2 = "<font size=\"9\">Damn, I should have invested on it...</font>";
attach();
this.stop();
Frame 2267
_global.rframe = _currentframe + 1;
_global.kol = "0xFF0000";
_global.tdg = "Este... y...\nKien eres?";
_global.tdg2 = "Ahem... and..\nWho are you?";
attach();
this.stop();
Frame 2277
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Ke!? No puede saber kien soy kon solo sentir mi maligna y genial aura kolor morado oskuro!!\n<font size=\"9\">Ke porcierto se ve bastante maligna...</font>";
_global.tdg2 = "What!? You don't know who I am just by feeling my evil and cool dark-purple aura!!\n<font size=\"9\">Which by the way looks SO evil...</font>";
attach();
this.stop();
Frame 2279
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Em...\nNo...";
_global.tdg2 = "Em...\nNo...";
attach();
this.stop();
Frame 2280
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Ah... este... un momento...";
_global.tdg2 = "Ah... em... one moment...";
attach();
this.stop();
Frame 2281
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Y ahora?";
_global.tdg2 = "What about now?";
attach("art_v_05", 248.7, 95.5);
this.stop();
Frame 2282
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Nop, nada.";
_global.tdg2 = "Nop, nothing.";
attach();
this.stop();
Frame 2283
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "<font size=\"9\">Malditos gorons de mierda, me volieron a estafar...</font>";
_global.tdg2 = "<font size=\"9\">Fucking gorons, they rip me off... again.</font>";
attach("art_v_05", 248.4, 95.4);
this.stop();
Frame 2284
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "En fin, soy yo! Julius Vaati!";
_global.tdg2 = "Anyway, it is I! Julius Vaati!";
attach("art_v_04", 213.3, 81.8);
this.stop();
Frame 2285
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "El Rey Gerudo! Poseedor de maligna y genial Trifuerza del Poder!!<br>La ke porcierto se chinga a todas las dem\u00E1s!";
_global.tdg2 = "The Gerude King! Owner of the great and evil Triforce of Power!!<br>Which by the way kicks the other ones ass!";
attach("art_v_04", 213.3, 81.8);
this.stop();
Frame 2286
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Mhua Ha Ha Ha Ha!!1!";
_global.tdg2 = "Mhua Ha Ha Ha Ha!!1!";
attach("art_v_04", 213.3, 81.8);
attach();
this.stop();
Frame 2287
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Ke!?!? <br>Pero ke no te llamabas Ganondorf!?!?";
_global.tdg2 = "What?! <br>But wasn't your name Ganondorf!?!?";
attach();
this.stop();
Frame 2288
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Es ke kambi\u00E9 mi nombre y mi kuerpo por uno nuevo.\n<font size=\"9\">Ganondorf sonaba muy gai...</font>";
_global.tdg2 = "Well, I changed my name and body for a new one.\n<font size=\"9\">Ganondorf sounded so gai...</font>";
attach();
this.stop();
Frame 2289
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Pero el kuerpo era bastante maligno...";
_global.tdg2 = "But the body looked so evil...";
attach();
this.stop();
Frame 2290
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Si, pero le faltaba...este...<font size=\"11\">maskulinidad...</font>";
_global.tdg2 = "Yeah, but it wasn't so...em...<font size=\"11\">virile...</font>";
attach("art_v_03", 249.4, 93.4);
this.stop();
Frame 2291
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "... <br>Si...klaro...";
_global.tdg2 = "... <br>Yeah, sure...";
attach();
this.stop();
Frame 2292
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Hey!! Pero ke no estabas atrapado en el Sacred\nRealm?! Komo eskapaste?!";
_global.tdg2 = "Hey!! But weren't you trapped in the Sacred Realm?! How did you get out?!";
attach();
this.stop();
Frame 2293
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Bueno, se podr\u00EDa decir ke ser influyente y maligno tiene sus ventajas...";
_global.tdg2 = "Well, you could say that being influyent and evil has it's advantages...";
attach("art_v_03", 249.4, 93.4);
this.stop();
Frame 2294
gotoAndPlay (5177);
Frame 2295
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "En fin, el punto es ke ahora soy libre y raptar\u00E9 a su hija, y la llevar\u00E9 a mi nuevo y maligno kastillo donde ser\u00E1 mi esclava!!";
_global.tdg2 = "Anyway, the point is that I'm free and I'll kidnap your daughter and take her to my new and evil castle where she'll be my slave!!";
attach("art_v_01", 249.4, 93.4);
this.stop();
Frame 2296
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Oye, pero ke no haces siempre lo mismo y siempre Link la reskata?";
_global.tdg2 = "Hey, but you always do the same thing and Link always saves her?";
attach();
this.stop();
Frame 2297
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Pero tienes ke admitir ke eso <b>ES</b> maligno.";
_global.tdg2 = "But you gotta admit than <b>THAT'S</b> evil.";
attach("art_v_02", 249.4, 93.4);
this.stop();
Frame 2298
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Mmm...Buen punto...<br>En fin, Zelda esta en su kuarto.";
_global.tdg2 = "Mmm...Good point...<br>Anyway, Zelda's in her room.";
attach();
this.stop();
Frame 2299
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Bien, ahora mi plan para dominar a Hyrule esta kasi kompleto!!<br>Mhua Ha Ha Ha Ha Ha Ha!!1!!";
_global.tdg2 = "Good, now my plan to conquer Hyrule is almost complete!!<br>Mhua Ha Ha Ha Ha Ha Ha Ha!!1!!";
attach("art_v_04", 213.3, 81.8);
this.stop();
Frame 2300
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Este, dijiste dominar a Hyrule?";
_global.tdg2 = "Em, did you say conquer Hyrule?";
attach();
this.stop();
Frame 2301
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Em... No...\n<font size=\"9\">Nota mental: el rei sabe demasiado. \n<b>Y<\b> ser m\u00E1s maligno..</font>";
_global.tdg2 = "Em... No...\n<font size=\"9\">Mental note: the king knows too much. \n<b>AND<\b> be more evil.</font>";
attach("art_v_05", 248.7, 95.5);
this.stop();
Frame 2302
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Oh! Perd\u00F3n...";
_global.tdg2 = "Oh! Sorry...";
attach();
this.stop();
Frame 2303
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "<font size=\"9\">Imbecil</font><br>Ah...en ke estaba? Ah! Si...<br>Mhua Ha Ha hA ha HA!!1!";
_global.tdg2 = "<font size=\"9\">Asshole</font><br>Ah...where was I? Oh! Yeah...<br>Mhua Ha Ha hA ha HA!!1!";
attach("art_v_04", 21.3, 81.8);
this.stop();
Frame 2317
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 2343
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Link!";
_global.tdg2 = "Link!";
attach();
this.stop();
Frame 2356
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "LINK!!";
_global.tdg2 = "LINK!!";
_level0.j_bote.play();
_level0.j_kajas.play();
_level0.j_mesa.play();
_level0.j_mesa2.play();
_level0.j_kama.play();
attach();
this.stop();
Frame 2414
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "<b>LINK!!1!</b> <br>Kon una chingada...no me hagas ir arriba, pendejo!!<br>Kon una mierda...";
_global.tdg2 = "<b>LINK!!1!</b> <br>God dammit...don't make me go upstairs, asshole!!";
_level0.j_bote.play();
_level0.j_kajas.play();
_level0.j_mesa.play();
_level0.j_mesa2.play();
_level0.j_kama.play();
attach();
this.stop();
Frame 2423
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "<b>LINK!!1!</b><br>Ya levantate kabron!!";
_global.tdg2 = "<b>LINK!!1!</b><br>Get up already, bastard!!";
_level0.j_bote.play();
_level0.j_kajas.play();
_level0.j_mesa.play();
_level0.j_mesa2.play();
_level0.j_kama.play();
attach();
this.stop();
Frame 2424
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Aww... <br>Pero apenas son las phutas 3 de la tarde!";
_global.tdg2 = "Aww... <br>But it's only 3 PM!!";
attach();
this.stop();
Frame 2425
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "No me importa!! Ademas te...";
_global.tdg2 = "I don't care!! Plus, the...";
attach();
this.stop();
Frame 2426
_global.rframe = _currentframe + 1;
_global.tdg = "(Sniff) (Sniff)";
_global.tdg2 = "(Sniff) (Sniff)";
attach();
this.stop();
Frame 2427
_global.rframe = _currentframe + 1;
_global.tdg = "Puta madre... <br>Otra vez te emborrachaste kon leche...<br>Kon un co\u00F1o Link, ia deja de tomar leche!!";
_global.tdg2 = "Oh, fuck... <br>You got drunk with milk again..<br>God dammit Link, stop drinking milk!!";
attach();
this.stop();
Frame 2428
_global.rframe = _currentframe + 1;
_global.tdg = "Ah... <br>Porke mierda tuve ke matar... digo, porke mierda tus padres murieron asesinados por Cuccos...";
_global.tdg2 = "Ah... <br>Why did I have to kill... I mean, why did your parents die assassinated by Cuccos...";
attach();
this.stop();
Frame 2429
_global.rframe = _currentframe + 1;
_global.tdg = "En fin, ya levantate o ya no te dar\u00E9 rupias para ke las gastes en tus vicios!";
_global.tdg2 = "Either way, get up or I won't give you any more rupies!!";
attach();
this.stop();
Frame 2430
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "No me preokupa.<br>Te sorprender\u00EDa saber la kantidad de imbeciles ke tiran rupias en el pasto.";
_global.tdg2 = "No worries.<br>You would be surprised to know the cuantity of dumbass's than drop rupies on the grass.";
_level0.link_layfloor.play();
attach();
this.stop();
Frame 2431
stopAllSounds();
gotoAndPlay (5008);
Frame 2432
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Me vale!<br>Adem\u00E1s te...";
_global.tdg2 = "I don't give a fuck!<br>Besides the...";
attach();
this.stop();
Frame 2433
if (_global.idi == 1) {
ad = "45 Minutos Despu\u00E9s...";
} else if (_global.idi == 2) {
ad = "45 Minutes Later...";
}
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Ke bien! El Alshaimer!";
_global.tdg2 = "Hell yeah! The Alshaimer!";
_level0.link_layfloor.play();
attach();
this.stop();
Frame 2466
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Ah, si! Te habla el rei!!";
_global.tdg2 = "Oh, yes! The king has summoned you!!";
attach();
this.stop();
Frame 2467
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Al rato voy...";
_global.tdg2 = "I'll go later...";
_level0.link_layfloor.play();
attach();
this.stop();
Frame 2468
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Es ya pendejo!! Han raptado a Zelda!!";
_global.tdg2 = "It's now bastard!! Zelda has been kidnapped!!";
_level0.ab_jump_front.play();
attach();
this.stop();
Frame 2469
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Oh demonios!! <br>No puedo permitir ke la maten!";
_global.tdg2 = "Oh shit!! <br>I can't let them kill her!";
attach();
this.stop();
Frame 2470
_global.rframe = _currentframe + 1;
_global.tdg = "No hasta ke me page la feria ke me debe!!";
_global.tdg2 = "Not until she pays me the money she owns me!!";
attach();
this.stop();
Frame 2500
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Demonios...<br><b>Deb\u00ED</b> matarlo kuando pude...";
_global.tdg2 = "Dammit...<br>I <b>should</b> have killed him when I could...";
attach();
this.stop();
Frame 2531
_global.rframe = _currentframe + 1;
_global.tdg = "Kual era su nombre??";
_global.tdg2 = "What was his name again??";
attach();
this.stop();
Frame 2553
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 2577
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Su Majestad, por la vigecima kinta vez, porke, phuta madre, dej\u00F3 ke se llevar\u00E1 a Zelda?!";
_global.tdg2 = "Thy Highness, for the 25 time, why, oh why, you let him take Zelda?!";
attach();
this.stop();
Frame 2578
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Bueno, es ke \u00E9l ten\u00EDa un buen argumento.";
_global.tdg2 = "Well, he had a good argument.";
attach();
this.stop();
Frame 2579
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Pero...";
_global.tdg2 = "But...";
attach();
this.stop();
Frame 2580
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "<b>TEN\u00CDA</b> un buen argumento!";
_global.tdg2 = "He <b>HAD</b> a good argument!";
attach();
this.stop();
Frame 2581
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Pero, Su Majestad...";
_global.tdg2 = "But, Thy Highness...";
attach();
this.stop();
Frame 2582
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "K\u00E1llate! O me komo a tus padres!!1!";
_global.tdg2 = "Shut up! Or I'll eat your parents!!1!";
_level0.king_left_jump.play();
attach();
this.stop();
Frame 2583
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "No puede hacer eso!!";
_global.tdg2 = "You can't do that!!";
attach();
this.stop();
Frame 2584
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Soy el rei, pendejo. Ahora kallate y kedate kallado, perra!";
_global.tdg2 = "I AM the king, dumbass. Now shut up and stay quiet bitch!!";
_level0.king_left_jump.play();
attach();
this.stop();
Frame 2585
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "<font size=\"9\">Odio la monark\u00EDa...</font>";
_global.tdg2 = "<font size=\"9\">I hate the monarchy...</font>";
attach();
this.stop();
Frame 2586
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Rei!!1! <br>Ya llegue!!1!";
_global.tdg2 = "King!!1! <br>I'm here!!1!";
attach();
this.stop();
Frame 2587
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Excelente. Ahora, Link, kiero ke reskates a Zelda.";
_global.tdg2 = "Excelent. Now, Link, I want you to rescue Zelda.";
attach();
this.stop();
Frame 2588
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Phuta madre, porke io?";
_global.tdg2 = "God dammit, why me?";
attach();
this.stop();
Frame 2589
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Porke eres el elegido y porke tienes esa extra\u00F1a marka diab\u00F3lika en tu mano derecha.";
_global.tdg2 = "Because you are the choosen one and because you have that extrange satanic mark in your right hand.";
attach();
this.stop();
Frame 2590
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Diab\u00F3lika? Pero si es la Trifuerza del Korage! Ke no lo sabe?! Se supone ke es el rei!!";
_global.tdg2 = "Satanic? But it's the Triforce of Courage! You are the king!! You are supposed to know that!!";
attach();
this.stop();
Frame 2591
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Klaro ke lo se...solo era una prueba, si eso...";
_global.tdg2 = "Of course I know...it was a test, yeah, a test...";
attach();
this.stop();
Frame 2592
_global.rframe = _currentframe + 1;
_global.tdg = "En fin, para ke reskates a Zelda deber\u00E1s enkontrar las dos piedras espirituales...";
_global.tdg2 = "Anyway, for you to rescue Zelda you will have to find two spiritual stones...";
attach();
this.stop();
Frame 2593
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "<font=\"9\">Ke bien, esta vez solo son dos!!1!</font>";
_global.tdg2 = "<font=\"9\">Hell yeah, this time there are only two!!1!</font>";
attach();
this.stop();
Frame 2594
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "...ke estan en alguno de los 387 calabozos...";
_global.tdg2 = "...than can be in one of the 387 dungeons...";
attach();
this.stop();
Frame 2595
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Mierda...";
_global.tdg2 = "Fuck...";
attach();
this.stop();
Frame 2596
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "...ke se enkuentran por todo Hyrule.<br>Y en el kuarto de al lado hay algunas kosas ke <b>podr\u00EDan</b> serte \u00FAtiles.";
_global.tdg2 = "...than are dispersed in Hyrule.<br>And in the other room are some things than <b>could</b> help you in your journey.";
attach();
this.stop();
Frame 2597
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Ke bien!!";
_global.tdg2 = "Alright!!";
attach();
this.stop();
Frame 2639
_global.rframe = _currentframe + 1;
_global.tdg = ". . . ";
_global.tdg2 = ". . . ";
attach();
this.stop();
Frame 2640
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Si, ya se... pero Hyrule esta en krisis...<br>Esto lo adkirimos de un vendedor ambulante usando el sueldo de ese guardia.";
_global.tdg2 = "Yes, I know... but Hyrule is in a crisis...<br>This was purchased from a peddler using this guard salary.";
attach();
this.stop();
Frame 2641
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Hey!!";
_global.tdg2 = "Hey!!";
attach();
this.stop();
Frame 2642
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "K\u00E1lla!! O te mando ejekutar!!";
_global.tdg2 = "Shut up or I'll kill you!!";
attach();
this.stop();
Frame 2643
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Bueno... pero ke hace el sombrero en forma de poyo?";
_global.tdg2 = "Ok... but what does the rooster-shaped hat do?";
attach();
this.stop();
Frame 2644
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "No lo se. Solo me dijieron ke esta maldito.";
_global.tdg2 = "I don't know. The peddler only told me than it was cursed.";
attach();
this.stop();
Frame 2645
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "...bueno.";
_global.tdg2 = "...well";
attach();
this.stop();
Frame 2646
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = ". . . ";
_global.tdg2 = ". . . ";
attach();
this.stop();
Frame 2647
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = ". . . ";
_global.tdg2 = ". . . ";
attach();
this.stop();
Frame 2648
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "...en fin, ya largate. Tengo muchas kosas ke hacer.<br><font=\"9\">Komo komerme a los padres de cierto guardia...</font>";
_global.tdg2 = "...anyway, get out. I have some thing to do.<br><font=\"9\">Like eating certain guard parents...</font>";
attach();
this.stop();
Frame 2649
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Bueno...";
_global.tdg2 = "Ok...";
attach();
this.stop();
Frame 2681
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Su Majestad, esta seguro de ke puede reskatar a la princesa?";
_global.tdg2 = "Thy Higness, are you sure than he can rescue the princess?";
attach();
this.stop();
Frame 2682
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Lo ha hecho antes.";
_global.tdg2 = "He has done it before.";
attach();
this.stop();
Frame 2683
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Pero ke no fu\u00E9 antes de ke fuera adikto a la leche?";
_global.tdg2 = "But wasn't it before he was addicted to milk?";
attach();
this.stop();
Frame 2706
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "...mierda";
_global.tdg2 = "...shit";
attach();
this.stop();
Frame 2721
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 2755
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Kon un demonio, komo se prende esta kosa?";
_global.tdg2 = "How the hell you turn this thing on?";
attach();
this.stop();
Frame 2756
_global.rframe = _currentframe + 1;
_global.tdg = "Phuta madre, porke no ponen las instrukciones en espa\u00F1ol?";
_global.tdg2 = "God dammint, why they don't put the instructions in english?";
attach();
this.stop();
Frame 2757
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Hey! Sueltame!!";
_global.tdg2 = "Hey! Get your hands of me!!";
attach();
this.stop();
Frame 2782
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "A la gaber, hablas!!";
_global.tdg2 = "Holy shit, you talk!!";
attach();
this.stop();
Frame 2783
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Klaro ke hablo, pendejo!";
_global.tdg2 = "Of course I talk, asshole!";
attach();
this.stop();
Frame 2803
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Ah! Ya entend\u00ED! <br>Kada vez ke maldices a tu amo una roka kae sobre t\u00ED. Jajaja, sufre!";
_global.tdg2 = "Oh! I get it! <br>Every time you curse your owner a rock falls on you. Hahaha, suffer!";
attach();
this.stop();
Frame 2804
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Kalmate, perra!";
_global.tdg2 = "Calm down, bitch!";
attach();
this.stop();
Frame 2823
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Poyo torpe.";
_global.tdg2 = "Stupid rooster.";
attach();
this.stop();
Frame 2824
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Kalla, hobbit de mierda!";
_global.tdg2 = "Shut up, fucking hobbit!";
attach();
this.stop();
Frame 2838
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Eres un poyo masokista!";
_global.tdg2 = "You are a masochist rooster!";
attach();
this.stop();
Frame 2839
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "No lo soy, pendejo!";
_global.tdg2 = "No am not, fucktard!";
attach();
this.stop();
Frame 2882
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "En fin...";
_global.tdg2 = "Anyway...";
attach();
this.stop();
Frame 2883
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Wey...";
_global.tdg2 = "Dude...";
attach();
this.stop();
Frame 2884
_global.rframe = _currentframe + 1;
_global.tdg = "Ke son esos korazones ke estan all\u00E1 arriba?";
_global.tdg2 = "What are those heart-like things up there?";
attach();
this.stop();
Frame 2885
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Klaro... <br>Y rokas kallendo del cielo a un sombrero ke habla no es nada sorprendente...";
_global.tdg2 = "Right... <br>And rocks falling from the sky on a talking hat isn't amazing at all...";
attach();
this.stop();
Frame 2886
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "La verdad no...";
_global.tdg2 = "Not really...";
attach();
this.stop();
Frame 2927
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Eso no kuenta, no le kall\u00F3 a un sombrero ke habla!!!";
_global.tdg2 = "That doesn't count, it didn't fell on a talking hat!!!";
attach();
this.stop();
Frame 2945
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 2956
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "...y luego le dije: \"Wey, eso <b>ES</b> maligno!\"";
_global.tdg2 = "...and then I said: \"Dude, <b>THAT'S</b> evil!\"";
attach();
this.stop();
Frame 2989
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Zelda!!! <br>Ya no hay alcohol!!";
_global.tdg2 = "Zelda!!! <br>There's no alcohol left!!";
attach();
this.stop();
Frame 2990
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Komo demonios vamos a jugar poker si no hay\nalkohol?!";
_global.tdg2 = "How the hell are we going to play poker if there's no alcohol?!";
attach();
this.stop();
Frame 3011
_global.rframe = _currentframe + 17;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Hey!! Ya b\u00E1jale! <br>No soy tu sirvienta!!";
_global.tdg2 = "Hey!! Stop it! <br>I'm not your slave!!";
attach();
Frame 3027
this.stop();
Frame 3028
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Klaro ke lo eres, a menos de ke kieras ke publike estas fotos extremadamente er\u00F3tikas y pornografikas en las ke TU eres la estrella.";
_global.tdg2 = "Of course you are, unless you want me to publish these extremly erotic and pornographic pictures in which YOU are the main star.";
attach();
this.stop();
Frame 3029
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Maldito bastardo...";
_global.tdg2 = "You bastard...";
attach();
this.stop();
Frame 3030
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Yo tambien te kiero! <br>Y bien, donde esta el alkohol?";
_global.tdg2 = "I love you too! <br>Well, where's the alcohol?";
attach();
this.stop();
Frame 3031
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Ya voy...";
_global.tdg2 = "I'm going...";
attach();
this.stop();
Frame 3067
_global.rframe = _currentframe + 1;
_global.tdg = "Momento...";
_global.tdg2 = "Wait a sec...";
attach();
this.stop();
Frame 3068
_global.rframe = _currentframe + 1;
_global.tdg = "Ke no dijiste ke ibas a invitar solo a gente realmente maligna?";
_global.tdg2 = "Didn't you say than you were only invite really evil people?";
attach();
this.stop();
Frame 3069
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Y eso hice! K.Rool terroriza monos y Kefka es estupidamente maligno.";
_global.tdg2 = "And so I did! K.Rool terrorizes monkeys and Kefka's stupidly evil.";
attach();
this.stop();
Frame 3070
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Pero... ke hace Mario aki?";
_global.tdg2 = "But... what is Mario doing in here?";
attach();
this.stop();
Frame 3071
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "El <b>ES</b> maligno.";
_global.tdg2 = "He <b>IS</b> evil.";
attach();
this.stop();
Frame 3072
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Desde kuando?";
_global.tdg2 = "Since when?";
attach();
this.stop();
Frame 3073
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Desde siempre.";
_global.tdg2 = "Always.";
attach();
this.stop();
Frame 3074
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Pero \u00E9l es el ke reskata a la princesa, Bowser es el villano!";
_global.tdg2 = "But he's the one than rescues the princess, Bowser is the bad guy! ";
attach();
this.stop();
Frame 3075
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Eso es lo ke kieren ke pienses.";
_global.tdg2 = "That's what they want you to think.";
attach();
this.stop();
Frame 3076
_global.rframe = _currentframe + 1;
_global.tdg = "La verdad es ke Mario le pagaba a Bowser para ke la raptara, fing\u00EDa pelear kon Bowser, luego la reskataba.";
_global.tdg2 = "The thruth is, Mario paid Bowser to kidnap the princess, later he pretended to fight Bowser, then rescues her.";
attach();
this.stop();
Frame 3077
_global.rframe = _currentframe + 1;
_global.tdg = "Eso <b>ES</b> maligno!";
_global.tdg2 = "<b>THAT'S</b> evil!";
attach();
this.stop();
Frame 3078
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Pero porke?";
_global.tdg2 = "But why?";
attach();
this.stop();
Frame 3079
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "El es solo un plomero, por Dios!! Esa es la \u00FAnika manera para alguien kon su profesi\u00F3n de chingarse a una princesa!!";
_global.tdg2 = "He's just a plumber for God's sake!! That's the only way for someone like him to get laid with a princess!!";
attach();
this.stop();
Frame 3080
_global.rframe = _currentframe + 1;
_global.tdg = "O no, Mario?";
_global.tdg2 = "Ain't that right, Mario?";
attach();
this.stop();
Frame 3081
mario_jump.gotoAndPlay(2);
Frame 3091
_global.rframe = _currentframe + 1;
_global.tdg = "Wey, eso <b>ES</b> maligno!!1!";
_global.tdg2 = "Dude, <b>THAT'S</b> evil!!1!";
attach();
this.stop();
Frame 3108
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 3174
_global.rframe = _currentframe + 34;
_global.kol = 65280;
_global.tdg = "Bien, hemos kaminado sin sentido por 4 horas, ya te kansaste de maldecirme?";
_global.tdg2 = "Ok, we've been walking for about four hours without getting anywhere, are you tired to cursing at me?";
attach();
Frame 3207
this.stop();
Frame 3208
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Klaro ke no, hobbit de mierda!";
_global.tdg2 = "Of course not, fucking hobbit!";
attach();
this.stop();
Frame 3252
_global.rframe = _currentframe + 1;
_global.tdg = "Esta bien... Tu ganas.<br><font size=\"9\">Elfo imbecil...</font>";
_global.tdg2 = "Alright... You win.<br><font size =\"9\">Stupid elf...</font>";
attach();
this.stop();
Frame 3307
_global.rframe = _currentframe + 1;
_global.tdg = "Mis fibras...";
_global.tdg2 = "My fibers...";
attach();
this.stop();
Frame 3347
_global.rframe = _currentframe + 5;
_global.kol = 65280;
_global.tdg = "Muy bien gorro, vallamos al primer kalabozo!!";
_global.tdg2 = "Ok hat, now let's go to the first dungeon!!";
attach();
Frame 3352
this.stop();
Frame 3353
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Hey!!";
_global.tdg2 = "Hey!!";
attach();
this.stop();
Frame 3354
_global.rframe = _currentframe + 1;
_global.tdg = "Porke no me kargas? Soy un sombrero, phuta madre!!";
_global.tdg2 = "Why don't you use me? I'm a hat, god dammit!!";
attach();
this.stop();
Frame 3355
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Pero ser\u00EDa komo meter tu kulo en mi kabeza.";
_global.tdg2 = "But it'll be like inserting you ass in my head.";
attach();
this.stop();
Frame 3392
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Muy bien, sigamos!!";
_global.tdg2 = "Ok, let's go!!";
attach();
this.stop();
Frame 3451
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Maldita sea, poyo...<br>Y donde demonios esta el primer kalabozo??";
_global.tdg2 = "God dammit, rooster...<br>And where the hell is the first dungeon??";
attach();
this.stop();
Frame 3452
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Phuta madre, Link, soi solo un sombrero!!1!";
_global.tdg2 = "Holy shit, Link, I'm just a hat!!1!";
attach();
this.stop();
Frame 3453
_global.rframe = _currentframe + 1;
_global.tdg = "UN SOMBRERO !!11!";
_global.tdg2 = "JUST A HAT !!11!";
attach();
this.stop();
Frame 3454
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Esta bien poyo. Se ke si konfio en mi sexto sentido tarde o temprano saldremos de aki!!";
_global.tdg2 = "Fine, rooster. I know that if I thrust in my sixth sense, sooner or later we'll get out of here!!";
attach();
this.stop();
Frame 3591
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Elfo imbecil, tu pinche intuici\u00F3n no jala!!1!";
_global.tdg2 = "Stupid elf, your fucking sixth sense sucks!!1!";
attach();
this.stop();
Frame 3604
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "No desesperes poyo, ya kasi salimos, puedo sentirlo.";
_global.tdg2 = "Don't worry, rooster, we're almost out.";
attach();
this.stop();
Frame 3626
_global.rframe = _currentframe + 10;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Hey!!! Esperame!!11!!<br>Mierda...";
_global.tdg2 = "Hey!!! Wait for me!11!!<br>Dammit...";
attach();
Frame 3636
this.stop();
Frame 3695
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Intuici\u00F3n mi culo.";
_global.tdg2 = "Sixth sense my ass.";
attach();
this.stop();
Frame 3696
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Kalla...";
_global.tdg2 = "Shut up...";
attach();
this.stop();
Frame 3777
_global.rframe = _currentframe + 7;
_global.kol = 65280;
_global.tdg = "Mu duele mi kuerpo... <br>Poyo, poyo!! <br>Ayudame!!";
_global.tdg2 = "My body hurts a lot... <br>Rooster, rooster!! <br>Help me!!";
attach();
Frame 3783
this.stop();
Frame 3784
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Neee, no kiero.";
_global.tdg2 = "Neee, I don't want to.";
attach();
this.stop();
Frame 3785
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Sombrero de mierda... <br>Ke bueno ke kaptur\u00E9 un hada para este tipo de situaciones.";
_global.tdg2 = "Fucking hat... <br>Good thing I captured a fairy for these kinds of situations.";
with (link_layfloor) {
var loop = 0;
gotoAndPlay(1);
}
attach();
this.stop();
Frame 3797
_global.rframe = _currentframe + 16;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Ke bien!! Al fin soy libre!!1!";
_global.tdg2 = "Hell yeah!! I'm finally free!!1!";
attach();
Frame 3812
this.stop();
Frame 3813
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Hey! Ayudame perra!!1!";
_global.tdg2 = "Hey! Help me bitch!!1!";
with (link_layfloor) {
var loop = 0;
gotoAndPlay(1);
}
attach();
this.stop();
Frame 3814
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Vete al infierno, elfo tullido!!";
_global.tdg2 = "Fuck you, stupid hobbit!!";
attach();
this.stop();
Frame 3824
_global.rframe = _currentframe + 6;
_global.kol = 65280;
_global.tdg = "Mis... <br>huesos...";
_global.tdg2 = "My... <br>bones...";
attach();
Frame 3829
this.stop();
Frame 3830
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Jajaja! <br>Sufre, hobbit imbecil!!";
_global.tdg2 = "Hahaha! <br>Feel the pain, bastard!!";
attach();
this.stop();
Frame 3848
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Komparte el dolor, perra!";
_global.tdg2 = "Share the pain, bitch!";
attach();
this.stop();
Frame 3849
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Maldita sea...";
_global.tdg2 = "Damn...";
attach();
this.stop();
Frame 3858
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 3895
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Kon una mierda, esto es tan <b>NO</b> maligno!!";
_global.tdg2 = "God dammit, this is so <b>NOT</b> evil!!";
attach();
this.stop();
Frame 3896
_global.rframe = _currentframe + 1;
_global.tdg = "Han pasado 127 dias kon 3 horas y 10 minutos y ese kabron de Link no ha llegado para nuestra obligatoria batalla para probar ke SOY maligno!!";
_global.tdg2 = "127 days, 3 hours and 10 minutes have passed and the bastard of Link hasn't arrived for our obligatory battle to prove than I AM evil!!";
attach();
this.stop();
Frame 3897
_global.rframe = _currentframe + 1;
_global.tdg = "Phuta madre!!1!";
_global.tdg2 = "FucK!!1!";
attach();
this.stop();
Frame 3920
_global.rframe = _currentframe + 1;
_global.tdg = "K.Rool!<br>Deja de espantar a los klientes kon tu fuska!!";
_global.tdg2 = "K.Rool!<br>Stop scaring the customers with your fucking shotgun!!";
attach();
this.stop();
Frame 3921
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "OMG!!1! M3 f331 $0 1337 wi+h +hi$ $h0+g00n!!1! LOl!!1 i+ r00xx!!1!";
_global.tdg2 = "OMG!!1! M3 f331 $0 1337 wi+h +hi$ $h0+g00n!!1! LOl!!1 i+ r00xx!!1!";
attach();
this.stop();
Frame 3944
_global.rframe = _currentframe + 1;
_global.tdg = "0wn3d!!1!";
_global.tdg2 = _global.tdg;
attach();
this.stop();
Frame 3949
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Kon una chingada...";
_global.tdg2 = "Fuck...";
attach();
this.stop();
Frame 3950
_global.rframe = _currentframe + 1;
_global.tdg = "Kefka, no le des maiz a los cucos porke...";
_global.tdg2 = "Kefka, don't give the cuccos corn 'cause they...";
attach();
this.stop();
Frame 3976
_global.rframe = _currentframe + 1;
_global.tdg = "Me lleva...";
_global.tdg2 = "God dammt...";
attach();
this.stop();
Frame 3988
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 4087
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Poyo, poyo, por fin llegamos a nuestra meta! <br>Pero porke, PORKE las DOS piedras espirituales estaban en el \u00FAltimo kalabozo??";
_global.tdg2 = "Rosster, rooster, we've finally arrived to our goal! <br>But, why, WHY BOTH spirituals stones we're in the last dungeon??";
attach();
this.stop();
Frame 4088
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Hey, no me eches la kulpa, tu y yo sabemos ke el destino te odia.";
_global.tdg2 = "Hey, don't blame me, you and I know fate hates you.";
attach();
this.stop();
Frame 4089
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Mrda...";
_global.tdg2 = "Shit...";
attach();
this.stop();
Frame 4090
_global.rframe = _currentframe + 1;
_global.tdg = "En fin, sigamos adelante!!";
_global.tdg2 = "Either way, let's keep going!!";
attach();
this.stop();
Frame 4104
_global.rframe = _currentframe + 14;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "No me des ordenes, pedazo de mierda!!";
_global.tdg2 = "Don't order me around, piece of shit!!";
attach();
Frame 4117
this.stop();
Frame 4165
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Jajaja.<br>Sufre pedazo de tela!!1!";
_global.tdg2 = "Hahaha.<br>Enjoy the suffering, asshole!!1!";
attach();
this.stop();
Frame 4190
_global.rframe = _currentframe + 8;
_global.tdg = "Est\u00FApida hada...";
_global.tdg2 = "Stupid fairy...";
attach();
Frame 4197
this.stop();
Frame 4200
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Komparte el dolor, hobbit!!<br>Jajaja...Ouch...<br>Mis fibras...";
_global.tdg2 = "Share the suffering, hobbit!!<br>Hahaha...Ouch...<br>My fibers...";
attach();
this.stop();
Frame 4250
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Muy bien, sombrero...";
_global.tdg2 = "Alright, hat...";
attach();
this.stop();
Frame 4251
_global.rframe = _currentframe + 1;
_global.tdg = "Nos tomo 182 dias, m\u00E1s el tiempo ke gastamos en rekolektar accesorios inservibles, pero al fin llegamos...";
_global.tdg2 = "It took us 182 days, plus the time we spended collenction useless accesories, but we're finally here...";
attach();
this.stop();
Frame 4254
_global.rframe = _currentframe + 5;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Momento!";
_global.tdg2 = "Hold on!";
attach();
Frame 4258
this.stop();
Frame 4259
_global.rframe = _currentframe + 1;
_global.tdg = "Kual es tu edad, elfo?";
_global.tdg2 = "What's your age, elf?";
attach();
this.stop();
Frame 4260
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Em...no se.<br>Pero el primer juego sali\u00F3 komo en el '86";
_global.tdg2 = "Um...I don't know.<br>But the first game came out in 1986";
attach();
this.stop();
Frame 4261
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "No puedes pasar, solo mayores de 21.";
_global.tdg2 = "You can't pass, only over 21.";
attach();
this.stop();
Frame 4262
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Pero tengo las piedras espirituales!!1!";
_global.tdg2 = "But I have the spiritual stones!!1!";
attach();
this.stop();
Frame 4263
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Ah, en ese kaso... <br>NO!!1!";
_global.tdg2 = "Oh, in that case... <br>NO!!1!";
attach();
this.stop();
Frame 4264
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Pero tengo un sombrero ke habla!!11!";
_global.tdg2 = "But I have a talking hat!!1!";
attach();
this.stop();
Frame 4265
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "M E V A L E";
_global.tdg2 = "I D O N ' T C A R E";
attach();
this.stop();
Frame 4272
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Demonios poyo, ahora tengo ke ingeniar el mejor plan del mundo para poder enga\u00F1ar a ese guardia...";
_global.tdg2 = "God dammit rooster, now I have to device the best plan in the world to pass that guard...";
attach();
this.stop();
Frame 4273
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Ya nos cargo la chingada...";
_global.tdg2 = "We're so screwed...";
attach();
this.stop();
Frame 4274
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "MIRE A SU IZKIERDA!!1! <BR>UN... <BR>POYO!!1!";
_global.tdg2 = "LOOK AT YOUR LEFT!!1! <BR>A... <BR>CHIKEN!!11!";
attach();
this.stop();
Frame 4354
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Ke pas\u00F3, Lou? <br>Otra vez te timaron kon eso del poyo?";
_global.tdg2 = "What happened, Lou? <br>They riped you off with the chicken stuff?";
attach();
this.stop();
Frame 4355
_global.rframe = _currentframe + 1;
_global.kol = 6737151 /* 0x66CCFF */;
_global.tdg = "Si, Mike.";
_global.tdg2 = "Yes, Mike.";
attach();
this.stop();
Frame 4356
_global.rframe = _currentframe + 1;
_global.tdg = "Y todav\u00EDa no komprendo porke le dicen \"poyos\" a los cuccos.";
_global.tdg2 = "And I still don't get why they call the cuccos \"chickens\"";
attach();
this.stop();
Frame 4357
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Si...<br>Ke imbeciles...";
_global.tdg2 = "Yeah...<br>What an assholes...";
attach();
this.stop();
Frame 4366
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
function attach2() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 84.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 4420
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Ke bien, poyo!!<br>Logramos entrar!!";
_global.tdg2 = "Alright, rooster!!<br>We got in!!";
attach();
this.stop();
Frame 4428
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Al fin llegas, Link.<br>Te he estado esperando...";
_global.tdg2 = "You finally arrive, Link.<br>I have been waiting for you...";
attach();
this.stop();
Frame 4442
_global.rframe = _currentframe + 14;
_global.kol = 65280;
_global.tdg = "En serio??";
_global.tdg2 = "Seriusly?";
attach();
Frame 4455
this.stop();
Frame 4456
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "La verdad no, solo iba a la kocina por un vaso de leche.";
_global.tdg2 = "Not really, I was just going to the kitchen for a glass of milk.";
attach();
this.stop();
Frame 4457
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "(Mmm... Leche...)";
_global.tdg2 = "(Mmm... Milk...)";
attach();
this.stop();
Frame 4458
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "En fin, ahora Link, pelea en esta maligna batalla!!";
_global.tdg2 = "Anyway, now Link, fight in this evil battle!!";
attach();
this.stop();
Frame 4459
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Y kien demonios eres?";
_global.tdg2 = "And who the hell are you?";
attach();
this.stop();
Frame 4460
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Soy yo, Julius Vaati!!";
_global.tdg2 = "It is I, Julius Vaati!!";
attach();
this.stop();
Frame 4461
_global.rframe = _currentframe + 1;
_global.tdg = "El Rey Gerudo! Poseedor de maligna y genial Trifuerza del Poder!!<br>La ke porcierto se chinga a todas las dem\u00E1s!";
_global.tdg2 = "The Gerude King! Owner of the great and evil Triforce of Power!!<br>Which by the way kicks the other ones ass!";
attach();
this.stop();
Frame 4462
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Pero ke no eras Ganondorf?";
_global.tdg2 = "But weren't you Ganondorf before?";
attach();
this.stop();
Frame 4463
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Porke, oh phuta madre, todos preguntan eso?";
_global.tdg2 = "Why the fuck everyone has to ask that?";
attach();
this.stop();
Frame 4464
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Em... <br>Esta en el gui\u00F3n.";
_global.tdg2 = "Em... <br>It's in the scrip.";
attach();
this.stop();
Frame 4465
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Oh... <br>Eso explika muchas kosas...";
_global.tdg2 = "Oh... <br>That explains a lot of things...";
attach();
this.stop();
Frame 4466
_global.rframe = _currentframe + 1;
_global.tdg = "En fin...";
_global.tdg2 = "Wherever...";
attach();
this.stop();
Frame 4484
stopAllSounds();
_global.rframe = _currentframe + 1;
_global.tdg = "Pelea!!";
_global.tdg2 = "Fight!!";
stopAllSounds();
attach();
this.stop();
Frame 4573
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Ya valio madre...";
_global.tdg2 = "I'm <b>SO</b> pwned...";
attach();
this.stop();
Frame 4638
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Mmm... <br>Ke raro...<br>Parece ke esta vez gane.";
_global.tdg2 = "Mmm... <br>That's weird...<br>It seems I beat him this time.";
attach();
this.stop();
Frame 4659
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Mis... <br>Organos...";
_global.tdg2 = "My... <br>Organs...";
attach();
this.stop();
Frame 4660
_global.rframe = _currentframe + 1;
_global.tdg = "Poyo... <br>AYUDAME!!11!";
_global.tdg2 = "Rooster... <br>HELP ME!!11!";
attach();
this.stop();
Frame 4661
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Neeee... <br>No kiero.";
_global.tdg2 = "Neeee... <br>I don't feel like it.";
attach();
this.stop();
Frame 4672
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "(Momento...)";
_global.tdg2 = "(Wait a sec...)";
attach();
this.stop();
Frame 4673
_global.rframe = _currentframe + 1;
_global.tdg = "(Oh Dios m\u00EDo!! Tengo una idea!!11)";
_global.tdg2 = "(Oh God!! I have an idea!!11)";
attach();
this.stop();
Frame 4674
_global.rframe = _currentframe + 1;
_global.tdg = "(Por primera vez e toda mi vida siento llegar ox\u00EDgeno a mi cerebro!!111once!!";
_global.tdg2 = "(For the first time in my life I feel my brain receiving oxygen!!111one!!";
attach();
this.stop();
Frame 4732
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "Hey!!";
_global.tdg2 = "Hey!!";
attach();
this.stop();
Frame 4733
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Sombrero... <br>CHINGA TU MADRE!!1!";
_global.tdg2 = "FUCK YOU HAT!!11!";
attach();
this.stop();
Frame 4734
_global.rframe = _currentframe + 1;
_global.kol = 16763904 /* 0xFFCC00 */;
_global.tdg = "KeKe?!?! <br>VETE MUCHO A LA VERGA, MALDITO HOBBIT PENDEJO DE MIERDA!!1!!";
_global.tdg2 = "WhaWaht?!?! <br>FUCK YOU MOTHERFUCKING, ASSHOLE HOBBIT!!11!";
attach();
this.stop();
Frame 4735
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Wey, eso <b>ES</b> maligno!!11!!1";
_global.tdg2 = "Dude, <b>THAT'S</b> evil!!111!!1";
attach();
this.stop();
Frame 4783
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Ke bien le gane!!1!";
_global.tdg2 = "Alright I won!!!11";
attach();
this.stop();
Frame 4784
_global.rframe = _currentframe + 1;
_global.tdg = "Otra vez...";
_global.tdg2 = "Again...";
attach();
this.stop();
Frame 4805
_global.rframe = _currentframe + 1;
_global.tdg = "Zelda!!! <br>Donde estas?!?!";
_global.tdg2 = "Zelda!!! <br>Where are you?!?!";
attach();
this.stop();
Frame 4833
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 4908
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Zelda!!";
_global.tdg2 = "Zelda!!";
attach();
this.stop();
Frame 4914
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Link!!! <br>Viniste a reskatarme!!";
_global.tdg2 = "Link!!! <br>You came to rescue me!!";
attach();
this.stop();
Frame 4915
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Klaro ke no!!";
_global.tdg2 = "Hell no!!";
attach();
this.stop();
Frame 4916
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Ke dices?!";
_global.tdg2 = "What are you saying?!";
attach();
this.stop();
Frame 4917
_global.rframe = _currentframe + 51;
_global.kol = 65280;
_global.tdg = "Yo solo vine por mi feria. <br>La feria ke me debes. <br>Siete rupias!! Ahora, pagame!!";
_global.tdg2 = "I just came for my cash. <br>The money you owe me. <br>Seven rupies!! Now, pay me!!";
attach();
Frame 4968
this.stop();
Frame 4969
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Aki esta...";
_global.tdg2 = "Here...";
attach();
this.stop();
Frame 4970
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Ke bien!! <br>Ahora podr\u00E9 komprar leche de kalidad y no esa leche barata y rancia!!";
_global.tdg2 = "Alright!! <br>Now I can buy quality milk instead of that cheap and rancid milk!!";
attach();
this.stop();
Frame 4971
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Bueno, ya te pagu\u00E9. Ahora sakame de ak\u00ED!";
_global.tdg2 = "Alright, I've paid you. Now get me out of here!";
attach();
this.stop();
Frame 4972
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Hey! <br>Yo solo vien por mi feria!!";
_global.tdg2 = "Hey! <br>I just come for my money!!";
attach();
this.stop();
Frame 4973
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Vamos!! <br>Te dejar\u00E9 ke... <br>Tu sabes...";
_global.tdg2 = "Come on!! <br>I'll let you... <br>You now...";
attach();
this.stop();
Frame 4974
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Tu soborno es tentador... <br>Pero no puedes komprarme!";
_global.tdg2 = "Your insinuation is tempting... <br>But you can't buy me!";
attach();
this.stop();
Frame 4975
_global.rframe = _currentframe + 1;
_global.kol = 16764159 /* 0xFFCCFF */;
_global.tdg = "Te dar\u00E9 un gal\u00F3n de leche.";
_global.tdg2 = "I'll give you a galon of milk.";
attach();
this.stop();
Frame 4976
_global.rframe = _currentframe + 1;
_global.kol = 65280;
_global.tdg = "Vamonos ya!";
_global.tdg2 = "Let's get out of here!";
attach();
this.stop();
Frame 5007
gotoAndPlay (7509);
Frame 5008
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
_global.tdg2 = "";
Frame 5033
_global.rframe = _currentframe + 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Albert, Albert!!11!";
_global.tdg2 = _global.tdg;
attach();
this.stop();
Frame 5057
_global.rframe = _currentframe + 13;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Ke pasa Genaro?! Otra vez enkontraste los jarrones rotos en tu kasa?";
_global.tdg2 = "What happened Genaro?! Did you find broken jars in your house again?";
attach();
Frame 5069
this.stop();
Frame 5070
_global.rframe = _currentframe + 9;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Me han robado!!";
_global.tdg2 = "I've been robbed!!";
attach();
Frame 5078
this.stop();
Frame 5079
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Ke?!?!";
_global.tdg2 = "What?!?!";
attach();
this.stop();
Frame 5081
_global.rframe = _currentframe + 34;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "Si!! Todas las rupias ke kolok\u00E9 estrategiamente en los arbustos han desaparecido!!11!";
_global.tdg2 = "Yes!! All the rupies than I had placed strategicly in all the grass around Hyrule is gone!!11!";
attach();
Frame 5115
this.stop();
Frame 5116
_global.rframe = _currentframe + 12;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Oh NO!!\nNos enfrentamos a una mente kriminal de proporciones makiavelikas!!";
_global.tdg2 = "Oh NO!!\nIt must be the work of a criminal mind of maquiavelic proportions!!";
attach();
Frame 5128
this.stop();
Frame 5129
_global.rframe = _currentframe + 1;
_global.tdg = "R\u00E1pido, toma los cuccos y huye de aki!!";
_global.tdg2 = "Quick, take all the cuccos and flee from this place!!";
attach();
this.stop();
Frame 5137
_global.rframe = _currentframe + 27;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.tdg = "AAAAAhhh!!!1!!11!! ";
_global.tdg2 = _global.tdg;
attach();
Frame 5164
this.stop();
Frame 5165
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Imbecil...";
_global.tdg2 = "Jackass...";
attach();
this.stop();
Frame 5176
gotoAndPlay (2432);
Frame 5177
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.rframe = 0;
_global.tdg = "";
Frame 5187
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Si, Shigeru Miyamoto?\nKe onda wey, soy io, Ganon!!.";
_global.tdg2 = "Yes, Shigeru Miyamoto?\nWassup man? It's-a-me, Ganon!!";
attach();
this.stop();
Frame 5188
_global.rframe = _currentframe + 1;
_global.tdg = "Mira, necesito un favor...\nKiero ke me sakes del Sacred Realm.";
_global.tdg2 = "Look, I need a favor...\nI want you to get me outta the Sacred Realm.";
attach();
this.stop();
Frame 5189
_global.rframe = _currentframe + 1;
_global.tdg = "Porke?! Tu y yo sabemos ke el final de Zelda:OoT es un fraude.\nPorke demonios el malvado tiene ke perder?! No tiene sentido!!";
_global.tdg2 = "Why?! You and I know that the Zelda:OoT was a fraud.\nWhy the hell the evil one has to lose?! It makes no sense!!";
attach();
this.stop();
Frame 5190
_global.rframe = _currentframe + 1;
_global.tdg = "Komo?! Pues, no se...\nPorke no fumas algo de esa hierba alucinogena ke tienes en tu patio?";
_global.tdg2 = "How?! Well, I don't know...\nWhy don't you smoke some of that weird weed you have on your backyard?";
attach();
this.stop();
Frame 5191
_global.rframe = _currentframe + 1;
_global.tdg = "No, mejor no. Es mejor inhalar gis. Barato, efectivo y maligno, ke m\u00E1s puedes pedir? Y adem\u00E1s no causa cancer!!";
_global.tdg2 = "No, don't do that. It's better to inhale chalk.\nCheap, effective and evil, that's all you need!! Plus it doesn't cause cancer!!";
attach();
this.stop();
Frame 5192
_global.rframe = _currentframe + 1;
_global.tdg = "... \nVamos, tu sabes ke un nuevo Zelda no esta de m\u00E1s...";
_global.tdg2 = "... \nCome on, you know a new Zelda it's never too much...";
attach();
this.stop();
Frame 5203
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Ya termina, tengo ke usar el telefono!!";
_global.tdg2 = "Finish already, I gotta use tha phone!!";
attach();
this.stop();
Frame 5204
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Hey, espera tu turno!";
_global.tdg2 = "Hey, wait your turn!";
attach();
this.stop();
Frame 5274
_global.rframe = _currentframe + 1;
_global.tdg = "Momento... \nKe no eres Bowser? Ke haces aki en el Sacred Realm??";
_global.tdg2 = "Hold on... \nAin't you Bowser? What are you doing here in the Sacred Realm??";
attach();
this.stop();
Frame 5275
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "Vine a rekolektar hongos. \nMe dijieron ke por aki hay unos de excelente kalidad.";
_global.tdg2 = "I came to recolect mushrooms. \nSomeone told me there are some high quality ones 'round here.";
attach();
this.stop();
Frame 5276
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Ke no era Mario el de los hongos?";
_global.tdg2 = "Wasn't Mario the one of the mushrooms?";
attach();
this.stop();
Frame 5277
_global.rframe = _currentframe + 1;
_global.kol = 16711680 /* 0xFF0000 */;
_global.tdg = "No. \nEl se los kome, yo me los fumo.";
_global.tdg2 = "No. \nHe eats the mushrooms, I smoke them.";
attach();
this.stop();
Frame 5278
_global.rframe = _currentframe + 1;
_global.kol = 13395660 /* 0xCC66CC */;
_global.tdg = "Wey, eso <b>ES</b> maligno!!1!";
_global.tdg2 = "Dude, <b>THAT'S</b> evil!!1!";
attach();
this.stop();
Frame 5281
gotoAndPlay (2295);
Frame 5282
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
_global.paused = true;
_global.bbak = 2;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.field.start();
Frame 5322
_global.tdg = "A la gaber!!";
_global.tdg2 = "Holyshit!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5356
_global.tdg = "Un poyote!";
_global.tdg2 = "What a big cock!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5378
_global.tdg = "Um... Se\u00F1or poyote, no kisiera molestarlo, pero tengo algunas preguntas ke hacerle, no se preokupe, no tardaremos mucho...";
_global.tdg2 = "Um... Mister cock, I don't want to bother you, but I've got some things to ask, don't worry, it won't take too long...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5382
if (_global.idi == 1) {
tds = "Dos dias despues...";
} else {
tds = "Two days later...";
}
Frame 5415
_global.tdg = "Por la vigecima-kinta vez... \nKIEN MAT\u00D3 A COLOSIO!!!11!";
_global.tdg2 = "For the 25th time... \nWHY THE FUCK, THE CHIKED CROSSED THE STREET?!?!1!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5427
_global.tdg = "Demonios... \nEs m\u00E1s listo de lo ke pens\u00E9...";
_global.tdg2 = "Damn.... \nIt's smarther than I thought...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5438
_global.tdg = "Bueno, se\u00F1or Poyo, la \u00FAltima pregunta, es usted kulpable del rapto de las vakas?";
_global.tdg2 = "Fine. Mr. Cock, the last question, are you guilty of the kidnap of the cows?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5439
_global.tdg = "K..ke le pasa se\u00F1or poyo, esta b..bien??";
_global.tdg2 = "A..are you a..alright, Mr. Cock??";
_global.rframe = _currentframe + 11;
attach();
Frame 5449
this.stop();
Frame 5459
_global.boss_f = "poyo";
_root.field.stop();
gotoAndPlay (8907);
Frame 5460
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
function fd() {
gotoAndPlay (8791);
}
_root.field.start();
we.stop();
Frame 5469
_global.tdg = "Eso le pasa por ponerse agresivo, se\u00F1or poyo";
_global.tdg2 = "That's what you get for getting agresive, Mr. Cock";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5470
_global.tdg = "??? \nKe es esto?";
_global.tdg2 = "??? \nWhat's this?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5480
_global.tdg = "Mmm... un emblema?";
_global.tdg2 = "Mmm... an emblem?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5481
_global.tdg = "Kis\u00E1 tenga algo ke ver kon las vakas!!";
_global.tdg2 = "Perhaps it has something to do with the cows!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5507
this.stop();
_global.kol = 16777215 /* 0xFFFFFF */;
_global.ev_count = _global.ev_count + 1;
_global.unlockmode.extrascenes = true;
_root.field.stop();
Instance of Symbol 236 MovieClip in Frame 5507
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_global.paused = false;
_root.fd();
}
}
Frame 5508
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
_global.bbak = 4;
stopAllSounds();
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
Frame 5537
_global.tdg = "Bowser, necesito ke me digas de kien es esta kosa y... \n???";
_global.tdg2 = "Bowser, I need you to tell me... \n???";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5542
_global.tdg2 = "Hehehehe...";
_global.tdg = "Jejejeje...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5547
_global.tdg = "Ke te pasa?";
_global.tdg2 = "What's up?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5567
_global.tdg = "Fuiste muy inteligente al disfrasarte as\u00ED...";
_global.tdg2 = "You were clever to disguise yorself like that...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5568
_global.tdg = "De ke chingados hablas??";
_global.tdg2 = "What the fuck are you talking about??";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5569
_global.tdg = "Ya no te hagas pendejo, \"el\" me lo dijo...";
_global.tdg2 = "Don't play dumb with me, asshole, \"he\" told me...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5570
_global.tdg = "Ke ke??";
_global.tdg2 = "Wha what?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5581
_global.tdg = "Ke tu eras un... \nUn...";
_global.tdg2 = "That you are... \nYou are...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5582
_global.tdg = "Oh mierda, esto se ve mal...";
_global.tdg2 = "Oh shit, this looks bad...";
_global.rframe = _currentframe + 12;
attach();
_global.kol = 65280;
Frame 5593
this.stop();
Frame 5594
_global.tdg = "UN AGENTE ANTIDROGAS!!!";
_global.tdg2 = "AN ANTIDRUGS AGENT!!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5595
_global.tdg = "Un ke?";
_global.tdg2 = "A what?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5596
_global.tdg = "No se komo la gente komo tu puede serguir existiendo, sabiendo ke korronpen la vida drogadikta de los ke viven komo yo...";
_global.tdg2 = "I don't know how the people like you can keep living, knowing that they're crushing the life of the ones like me...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5597
_global.tdg = "Los ke son komo tu no merecen vivir!!! Ahora, muere!! Muere kon mi danza feliz!!11!";
_global.tdg2 = "The ones like you don't deserve to live!!! Now, die!! Die with my happy dance!!11!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5601
_global.boss_f = "bowser";
stopAllSounds();
gotoAndPlay (8907);
Frame 5602
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
function fd1() {
gotoAndStop (8793);
}
Frame 5617
_global.tdg = "Esta bien... tu ganas, llevate todos los hongos ke me kedan...";
_global.tdg2 = "Alright... you win, take all the mushrooms I have...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5618
_global.tdg = "Pero yo no kiero tus hongos, solo kiero, ke me kontestes algo.";
_global.tdg2 = "But I don't want your mushrooms, I just want you to answer me something.";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5619
_global.tdg = "En serio?!?!";
_global.tdg2 = "Really?!?!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5636
_global.tdg = "Este, lamento haber hecho eso, pero fumar esas madres me pone agresivo. En fin, ke kieres saber?";
_global.tdg2 = "Umm, I'm sorry about what I did, but smoking that shit makes me aggresive. Anyway, what you want to know?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5637
_global.tdg = "Kisiera saber de kien es este emblema? Me dijieron ke su sabrias.";
_global.tdg2 = "From who is this emblem? Someone told me you should know.";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5638
_global.tdg = "Mmm... Si, s\u00E9 kien es. \nEs de un safado ke vive cerka del rancho.";
_global.tdg2 = "Mmm.. Yes, I know who this belongs to. Its from a mad bastard that lives near the ranch.";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5639
_global.tdg = "Muy, bien. Cada vez estoy m\u00E1s cerka de mi objetivo...\nSi tan solo rekordara kual es...";
_global.tdg2 = "Alright. I'm getting closer to my goal... \nIf I could remeber what is...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5640
_global.tdg = "Reskatar a las vakas...";
_global.tdg2 = "Rescue the cows...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5641
_global.tdg = "A si, es cierto...";
_global.tdg2 = "Oh yeah, that...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5642
_global.tdg = "En fin, te rekomiendo ke vallas bien preparado, ese wey esta pero bien imbecil. Tortura primates por placer!! Eso es est\u00FApido hasta para m\u00ED.";
_global.tdg2 = "Anyway, I suggest you to go well prepared, that bastard is really fucking crazy. He tortures monkeys for pleasure!! That's just lain stupid even for me.";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5643
_global.tdg = "En fin... Ya me voy.";
_global.tdg2 = "Anyway... I'm leaving.";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5701
_global.tdg = "Uts... Se me olvid\u00F3 decirle kien me dijo ke era un agente antidrogas...";
_global.tdg2 = "Ups... I forgot to tell him who told me that he was an antidrugs agent...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5716
_global.tdg = "Aun ke de todas maneras se le olvidar\u00EDa...";
_global.tdg2 = "Although he might forget it anyway...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5723
this.stop();
_global.ev_count = _global.ev_count + 1;
_global.unlockmode.soundbox = true;
_global.kol = 16777215 /* 0xFFFFFF */;
Instance of Symbol 236 MovieClip in Frame 5723
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_root.fd1();
}
}
Frame 5724
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
_global.bbak = 3;
_global.paused = true;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
Frame 5753
_global.tdg2 = "0MFG!!11 0h n0e$!!1! 4n In+rud3R!!1!1";
_global.tdg = "4l4 gav3r!!1! uN iNtru$$0";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5754
_global.tdg2 = "W4+h j00 w4n+, 3lf?!??!";
_global.tdg = "K3 ki3r3$ 3lf0??!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5755
_global.tdg = "Kien es el ke rob\u00F3 a las vakas?!";
_global.tdg2 = "Who stole the cows?!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5756
_global.tdg2 = "0MG!111!! m3 w0n+ t3ll j00 4 fr33!!1!";
_global.tdg = "4l4 g4v3r!! y0 n0 d4r inF0 gr4+i$$";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16777215 /* 0xFFFFFF */;
Frame 5757
_global.tdg = "Entonces, ke kieres?";
_global.tdg2 = "Then, what you want?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5758
_global.tdg2 = "j00 mU$+ pa$$ th3: \"Ultra 133+ Mega Delux Quiz of Zelda\"";
_global.tdg = "d3b3$$ p4$4R 3l: \"Ultra 133+ Mega Delux Quiz of Zelda\"";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16777215 /* 0xFFFFFF */;
Frame 5759
_global.tdg2 = "if j00 f4il, j00'll p4y!!";
_global.tdg = "s1 f4ll4$, p4g4$$!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5763
gotoAndPlay (8903);
_global.ev_game = "rool";
Frame 5767
_global.tdg2 = "j00 di3 4nyw4y!11!! lol!1!";
_global.tdg = "mU3r3 d3 t0d4$ f0rM4$$!!1";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5774
_global.boss_f = "rool";
gotoAndPlay (8907);
Frame 5775
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
function fd2_2() {
gotoAndStop (8792);
}
Frame 5789
_global.tdg = "Esta bien. Te dir\u00E9 todo...";
_global.tdg2 = "OK. I'll tell you everything...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5790
_global.tdg = "Ya no hablas raro!!";
_global.tdg2 = "You don't speak 1337!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5791
_global.tdg = "Eso es porke ya no tengo inspiraci\u00F3n...";
_global.tdg2 = "I don't feel 1337 anymore...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16777215 /* 0xFFFFFF */;
Frame 5792
_global.tdg = "En fin, el raptor de las vakas se enkuentra a las afueras de este lugar. Ronaldo te llevar\u00E1 ah\u00ED...";
_global.tdg2 = "Anyway, the kidnapper of the cows is at the outskirts of this place. Ronaldo will get you there...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16777215 /* 0xFFFFFF */;
Frame 5793
_global.tdg = "Ke bien, ya falta muy poko!! Pronto vover\u00E9 a embriagarme kon leche de nuevo!!";
_global.tdg2 = "Hell yeah, just a little more left!! Soon, I'll get drunk with milk again!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5814
_global.tdg2 = "m3 n0 l33+ n0w...";
_global.tdg = "y0 m0 1337 4h0r4...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16777215 /* 0xFFFFFF */;
Frame 5818
this.stop();
_global.ev_count = _global.ev_count + 1;
_global.unlockmode.visualbox = true;
Instance of Symbol 236 MovieClip in Frame 5818
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_global.paused = false;
_root.fd2_2();
}
}
Frame 5840
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
Frame 5875
_global.tdg = "He venido por las vakas, ahora liberalas!!!";
_global.tdg2 = "I've come for the cows, now release them!!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5876
_global.tdg = "Este, no puedo viejo, porke las necesito, viejo, para mi plan maligno, viejo!!";
_global.tdg2 = "Um, I can't viejo, 'cause I need them, viejo, to fullfill my evil plan, viejo!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5877
_global.tdg = "Entonces, las liberar\u00E9 a la fuerza!!";
_global.tdg2 = "Then, I'll make you release them!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5878
_global.tdg = "Jajaj, viejo, jajaja. Primero tendr\u00E1s ke derrotar a mis aliados, ataken, viejos!!";
_global.tdg2 = "Hahaha, viejo, hahaha. First you'll have to defeat my servants, attack him, viejos!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5887
gotoAndStop (8794);
Frame 5891
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
Frame 5898
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
Frame 5901
_global.tdg = "Parece ke he ganado, viejo";
_global.tdg2 = "Seems like I've won, viejo";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16711680 /* 0xFF0000 */;
Frame 5911
_global.tdg = "Muere!!!!!1111!!one!!1uno!!11once!!1!";
_global.tdg2 = "Die!!!!!1111!!one!!1uno!!11once!!1!";
_global.rframe = _currentframe + 21;
attach();
_global.kol = 65280;
Frame 5933
_root.textb_app.unloadMovie();
_global.boss_f = "viejo";
gotoAndPlay (8907);
Frame 5934
function attach() {
this.attachMovie("textb_app", "textb_app", 30);
textb_app._x = 201.6;
textb_app._y = 221.6;
}
Frame 5943
_global.tdg = "Bien, por fin rekuper\u00E9 a las vakas!!";
_global.tdg2 = "Hell yeah, I've rescued the cows!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 5944
_global.tdg = "Ahora ya puedo volver a mi vida kotidiana sabiendo ke ya tengo algun lugar donde dormir!!!";
_global.tdg2 = "Now I can return to my normal life knowing that I have a place to sleep!!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 5999
_global.tdg = "Link!!! Ya levantate pendejo, han robado robado tu kasa!!";
_global.tdg2 = "Link!! Get up asshole, you've been robbed!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16763904 /* 0xFFCC00 */;
Frame 6000
_global.tdg = "Ke ke!!";
_global.tdg2 = "Wha what!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 6043
_global.tdg = "Oh demonios, justo despu\u00E9s de haber salvado a las vakas ten\u00EDa ke pasar esta kalamidad!!1";
_global.tdg2 = "Oh fuck, just after saving the cows this disgrace had to happed!!1";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 6044
_global.tdg = "De ke phuta madre estas hablando!?";
_global.tdg2 = "What the fuck are ya talking about?!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16763904 /* 0xFFCC00 */;
Frame 6045
_global.tdg = "Pues de ke salve a las vakas!! Ya sabes, despu\u00E9s de haber salvado a Zelda de Ganon, pero antes de haber salvado al mundo del SIDA y...";
_global.tdg2 = "The cows I saved!! You know, after rescuing the Zelda from Ganon, but before saving the world from AIDS and...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 6063
_global.tdg = "Entonces... fu\u00E9 un sue\u00F1o?";
_global.tdg2 = "...was that a dream?";
_global.rframe = _currentframe + 1;
attach();
this.stop();
Frame 6064
_global.tdg = "Asi es, pendejo, despu\u00E9s de haber salvado a Zelda te pusiste hasta la madre kon leche... Nadi\u00E9 supo de t\u00ED en 4 d\u00EDas... Hasta hoy...";
_global.tdg2 = "That's right asshole, after saving Zelda you got so fucking drunk with milk... Nobody knew about you... 'Til now...";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16763904 /* 0xFFCC00 */;
Frame 6065
_global.tdg = "Momento... porke no kall\u00F3 una roka sobre t\u00ED, si me dijiste pendejo!!!";
_global.tdg2 = "Wait... why the fuck a rock didn't fell on you if you called me an asshole!!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 6066
_global.tdg = "Link, yo soy tu padre!";
_global.tdg2 = "Link, I'm your father!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16763904 /* 0xFFCC00 */;
Frame 6067
_global.tdg = "???";
_global.tdg2 = "WTF???";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 6074
_global.tdg = "Link, r\u00E1pido, las gallinas asesinas de Marte nos atakan!!";
_global.tdg2 = "Link, quink, the assassin chickens from Mars are attacking us!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 16777215 /* 0xFFFFFF */;
Frame 6114
_global.tdg = "Phuta madre, debo de dejar de inhalar esa madre y de tomar leche kadukada!!";
_global.tdg2 = "Holy shit, I should stop drinking rotten milk and smoking that shit!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 6128
_global.tdg = "Mejor no!";
_global.tdg2 = "Nhaaaa!!";
_global.rframe = _currentframe + 1;
attach();
this.stop();
_global.kol = 65280;
Frame 6150
this.stop();
_global.unlockmode.extra = true;
_global.kol = 16777215 /* 0xFFFFFF */;
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
Instance of Symbol 236 MovieClip in Frame 6150
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
var savefile = SharedObject.getLocal("yaLOZ");
trace((_global.link + " _ ") + savefile.data.link_s);
savefile.data.idi = _global.idi;
savefile.data.link_s = _global.link;
savefile.data.itembag = _global.itembag;
savefile.data.ev_count = _global.ev_count;
savefile.data.unlocked = _global.unlockmode;
savefile.data.style = _global.xtyle;
savefile.data.best = _global.best;
savefile.data.xcore = _global.xcore;
savefile.data.specialf = _global.specialf;
savefile.flush();
_root.movie_play("end");
}
}
Frame 6152
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 254.6;
}
_global.kol = 16777215 /* 0xFFFFFF */;
_global.rframe = 0;
_global.tdg = "";
_global.tdg2 = "";
Frame 6164
_global.rframe = _currentframe + 1;
_global.tdg = "Alguien sakeme de aki!!1!1! \nEsto es tan <b>NO</b> maligno!!!";
_global.tdg2 = "Somebody get me out of here!!!1!!1!\nThis is so <b>NOT</b> evil!!";
attach();
this.stop();
Frame 6165
_global.rframe = _currentframe + 1;
_global.tdg = "LOLR!!11!! u g0+ pw3d!!";
_global.tdg2 = _global.tdg;
attach();
this.stop();
Frame 6166
_global.rframe = _currentframe + 1;
_global.tdg = "Bastardo...";
_global.tdg2 = "Bastard...";
attach();
this.stop();
Frame 6167
_global.rframe = _currentframe + 1;
_global.tdg = "u h00r+ m3 f33linG$ bi0+ch!!\nM3 l34ving n0w.";
_global.tdg2 = _global.tdg;
attach();
this.stop();
Frame 6168
_global.rframe = _currentframe + 42;
_global.tdg = "Hey!! Regresa!!1 \nMierda... ";
_global.tdg2 = "Hey!! Get back here!!1 \nDamn.. ";
attach();
Frame 6205
this.stop();
Frame 6230
_global.rframe = _currentframe + 1;
_global.tdg = "Hay alguien ah\u00ED?? \nAlguien??";
_global.tdg2 = "Can somebody hear me?\nAnybody?";
attach();
this.stop();
Frame 6261
_global.rframe = _currentframe + 30;
_global.tdg = "Phuta madre, me volv\u00ED a perder... Donde phuta madre esta el ba\u00F1o??";
_global.tdg2 = "Fuck, I got lost again... Where the fuck is the bathroom??";
attach();
Frame 6290
this.stop();
Frame 6291
_global.rframe = _currentframe + 28;
_global.tdg = "Hey, tu, sombrero, sakame de aki!! ";
_global.tdg2 = "Hey, you, hat, help me get out of here! ";
attach();
Frame 6318
this.stop();
Frame 6319
_global.rframe = _currentframe + 1;
_global.tdg = "Neee, no kiero...";
_global.tdg2 = "Nee, I don't wanna...";
attach();
this.stop();
Frame 6320
_global.rframe = _currentframe + 1;
_global.tdg = "Vamos poyo, y te dar\u00E9 lo ke kieras, lo ke kieras!!";
_global.tdg2 = "Come on rooster, I'll give you anything you want!!";
attach();
this.stop();
Frame 6321
_global.rframe = _currentframe + 1;
_global.tdg = "Mmmm...";
_global.tdg2 = "Mmm...";
attach();
this.stop();
Frame 6325
if (_global.idi == 1) {
ee = "Poko tiempo despu\u00E9s...";
} else {
ee = "Some Time Later...";
}
Frame 6402
_global.rframe = _currentframe + 1;
_global.tdg = "Apurate pendejo!!!\nNo tengo todo en phinche dia!!";
_global.tdg2 = "hurry up asshole!!\nI don't have the whole day!!";
attach();
this.stop();
Frame 6403
_global.rframe = _currentframe + 1;
_global.tdg = "Porke tuvimos ke venir aki?? Es tan...\nTan... <b>NO MALIGNO</b>!!!";
_global.tdg2 = "Why did we come here?? This is so...\nSo... <b>NOT EVIL</b>!!!";
attach();
this.stop();
Frame 6404
_global.rframe = _currentframe + 1;
_global.tdg = "No kisiste ir a Disneylandia, ahora kalla y sufre!!";
_global.tdg2 = "You didn't wanted to go to Disneyland, so shut up and obey me!!";
attach();
this.stop();
Frame 6405
_global.rframe = _currentframe + 1;
_global.tdg = "Mierda...";
_global.tdg2 = "Shit...";
attach();
this.stop();
Frame 6462
_global.rframe = _currentframe + 1;
_global.tdg = "Wey, eso fue <b>MALIGNO</b>!!!";
_global.tdg2 = "Dude, that was <b>EVIL</b>!!!";
attach();
this.stop();
Frame 6470
gotoAndPlay (7501);
Frame 6471
function attach() {
this.attachMovie("textb_app", "textb_app", 1);
textb_app._x = 201.6;
textb_app._y = 54.6;
}
_global.idi = 1;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.rframe = 0;
_global.tdg = "";
Frame 6479
_global.rframe = _currentframe + 1;
_global.tdg = "Mario, gracias por reskatarme de Bowser otra vez.";
_global.tdg2 = "Thanks for rescuing me from Bowser again, Mario";
attach();
this.stop();
Frame 6481
_global.rframe = _currentframe + 1;
_global.tdg = "Sabes... \nEl kastillo esta solo...";
_global.tdg2 = "And, you know... \nThere's no one in the castle...";
attach();
this.stop();
Frame 6483
_global.rframe = _currentframe + 1;
_global.tdg = "Mama mia!! ";
_global.tdg2 = "Mama m\u00EDa!! ";
attach();
this.stop();
Frame 6484
_global.rframe = _currentframe + 1;
_global.tdg = "Te estar\u00E9 esperando en mi habitaci\u00F3n...\n Kon lago m\u00E1s k\u00F3modo...";
_global.tdg2 = "I'll be waiting in my bedroom...\nWith something more comfortable";
attach();
this.stop();
Frame 6699
_global.rframe = _currentframe + 1;
_global.tdg = "Dinero f\u00E1cil... \nKomo me enkanta este trabajo!!";
_global.tdg2 = "Easy money... \nI love this job!!";
attach();
this.stop();
Frame 6703
stopAllSounds();
gotoAndPlay (7501);
Frame 7500
gotoAndPlay (7501);
Frame 7501
function irmenu() {
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.stat_screen.unloadMovie();
_root.idiCHECK();
stopAllSounds();
_root.bs_link.unloadMovie();
_root[_global.enemy[_global.n][0]].unloadMovie();
gotoAndPlay (7501);
}
function nadda() {
}
function irenkajaesp() {
getURL ("http://enkaja.freelinuxhost.com/", "_blank");
}
function irenkajaeng() {
getURL ("http://enkaja2.freelinuxhost.com/board/", "_blank");
}
var savefile = SharedObject.getLocal("yaLOZ");
if (savefile.data.idi == undefined) {
_global.idi = 2;
_global.unlockmode = {extrascenes:false, secrettrailer:false, visualbox:false, soundbox:false, extra:false};
} else {
_global.idi = savefile.data.idi;
_global.link = savefile.data.link_s;
_global.itembag = savefile.data.itembag;
_global.ev_count = savefile.data.ev_count;
_global.unlockmode = savefile.data.unlocked;
_global.xtyle = savefile.data.style;
_global.best = savefile.data.best;
_global.xcore = savefile.data.xcore;
_global.specialf = savefile.data.specialf;
}
savefile = 0;
_root.textb_app.unloadMovie();
xx = new ContextMenu();
xx.hideBuiltInItems();
var p0 = new ContextMenuItem("[ Menu ]", irmenu);
if (_global.idi == 1) {
var p1 = new ContextMenuItem("[ enKAJA ]", irenkajaesp);
} else {
var p1 = new ContextMenuItem("[enKAJA ]", irenkajaeng);
}
var p2 = new ContextMenuItem("[ konejo05@gmail.com ]", nadda);
xx.customItems.push(p0, p1, p2);
_root.menu = xx;
Instance of Symbol 689 MovieClip "arrm1" in Frame 7501
onClipEvent (enterFrame) {
if (_visible) {
_parent.arrm2._visible = false;
}
}
Instance of Symbol 689 MovieClip "arrm2" in Frame 7501
onClipEvent (enterFrame) {
if (_visible) {
_parent.arrm1._visible = false;
}
}
Frame 7502
function idiCHECK() {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
arrm1._visible = true;
arrm2._visible = false;
} else if (_global.idi == 2) {
mi_back = "<< BACK";
arrm1._visible = false;
arrm2._visible = true;
}
}
ss_title = "";
ss_des = "";
this.stop();
idiCHECK();
_global.initial = undefined;
_root.textb_app.unloadMovie();
Frame 7503
function frame3() {
ss_title = "";
ss_des = "";
this.stop();
if (_global.idi == 1) {
mi_back = "<< ATRAS";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
}
}
frame3();
if (_global.unlockmode.extrascenes) {
e1._visible = true;
e1.enabled = true;
e2._visible = true;
e2.enabled = true;
e3._visible = true;
e3.enabled = true;
} else {
e1._visible = false;
e1.enabled = false;
e2._visible = false;
e2.enabled = false;
e3._visible = false;
e3.enabled = false;
}
Frame 7504
function unlocking() {
if (_global.unlockmode.extrascenes) {
buts01.enabled = true;
buts01._visible = true;
eslabel._visible = true;
}
if (_global.unlockmode.soundbox) {
buts02.enabled = true;
buts02._visible = true;
sblabel._visible = true;
}
if (_global.unlockmode.visualbox) {
buts03.enabled = true;
buts03._visible = true;
vblabel._visible = true;
}
if (_global.unlockmode.extra) {
buts04.enabled = true;
buts04._visible = true;
extlabel._visible = true;
}
if (_global.unlockmode.secrettrailer) {
buts05._visible = true;
buts05.enabled = true;
stlabel._visible = true;
}
}
function frame4() {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Para activar todos los extras tendr\u00E1s ke pasar el unlock mode primero. Buena suerte en activarlos todos.";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "To activate all the extras you'll have to pass the unLOCK mode first. Good luck on trying to unlock 'em all";
}
}
this.stop();
a1._visible = false;
a2._visible = false;
a3._visible = false;
a4._visible = false;
a5._visible = false;
a6._visible = false;
a7._visible = false;
a8._visible = false;
buts01.enabled = false;
buts01._visible = false;
eslabel._visible = false;
buts02.enabled = false;
buts02._visible = false;
sblabel._visible = false;
buts03.enabled = false;
buts03._visible = false;
vblabel._visible = false;
buts04.enabled = false;
buts04._visible = false;
extlabel._visible = false;
buts05._visible = false;
buts05.enabled = false;
stlabel._visible = false;
frame4();
unlocking();
stop();
Frame 7505
function soundtag(sn) {
if (_global.idi == 1) {
if (sn == 1) {
id = "LOZ: The Minish Cap\n Menu Theme";
}
if (sn == 2) {
id = "LOZ: The Wind Waker\n Story Introduction";
}
if (sn == 3) {
id = "LOZ: A Link To The Past\n Title Theme";
}
if (sn == 4) {
id = "LOZ: The Minish Cap\n Hyrule Castle";
}
if (sn == 5) {
id = "LOZ: The Minish Cap\n Link's House";
}
if (sn == 6) {
id = "LOZ: The Minish Cap\n Hyrule Field";
}
if (sn == 7) {
id = "Megaman Battle Network 3\n Main Theme";
}
if (sn == 8) {
id = "Boktai\n Silent Night";
}
if (sn == 9) {
id = "LOZ: The Minish Cap\n Cave";
}
if (sn == 10) {
id = "LOZ: The Minish Cap\n Dungeon";
}
if (sn == 11) {
id = "Kingdom Hearts\n An Intense Situation";
}
}
if (_global.idi == 2) {
if (sn == 1) {
id = "LOZ: The Minish Cap\n Menu Theme";
}
if (sn == 2) {
id = "LOZ: The Wind Waker\n Story Introduction";
}
if (sn == 3) {
id = "LOZ: A Link To The Past\n Title Theme";
}
if (sn == 4) {
id = "LOZ: The Minish Cap\n Hyrule Castle";
}
if (sn == 5) {
id = "LOZ: The Minish Cap\n Link's House";
}
if (sn == 6) {
id = "LOZ: The Minish Cap\n Hyrule Field";
}
if (sn == 7) {
id = "Megaman Battle Network 3\n Main Theme";
}
if (sn == 8) {
id = "Boktai\n Silent Night";
}
if (sn == 9) {
id = "LOZ: The Minish Cap\n Cave";
}
if (sn == 10) {
id = "LOZ: The Minish Cap\n Dungeon";
}
if (sn == 11) {
id = "Kingdom Hearts\n Destinys Force";
}
}
}
stopAllSounds();
sn = 0;
if (_global.idi == 1) {
com = "Selekciona la rola ke kieres eskuchar.";
} else {
com = "Select the song you want to lissen.";
}
id = "";
soundtag();
Frame 7506
function retext() {
if (_global.idi == 1) {
_global.a1 = "Despu\u00E9s de tanto haber invertido tanto tiempo en este maldito proyecto infernal, kise darme un breve espacio para eskribir lo ke se me venga a la mente, por lo kual puedo no puedo garantizar ke sea mucho.\nHan pasasado alrededor de 9 largos pero breves meses desde ke por vez primera empeze a usar Flash, meses en los kuales simplemente no me expliko el komo demonios aprend\u00ED tanto!! Se siente bien mirar la experiencia ke adkieres, y no me digan ke no, porke se siente kon madre.\nKambiando de tema, kreo ke alrededor de estas fechas la \"kaja\" kumple siete meses de existencia. La vrd no pens\u00E9 ke fuera a aguantar tanto!!\nKomprenle un pastel a la probre kaja, no sean taka\u00F1os!!\nAh... tantas kosas ke hacer y tan poko tiempo. Ahora ke ya esta terminada esta madre, no puedo detener esta subita pregunta ke invade mi mente, \"Ke sigue?\". Lo bueno es ke por el momento no tengo le tengo miedo a la noci\u00F3n de quedarme sin ideas, es kompletamente todo lo kontrario, me arta el no tener tiempo para tantos!!\nBueno, pero hablemos de lo ke viene \"ma\u00F1ana\" en vez de \"algun dia\". En la bandeja de salida hay tres proyectos, dos ke si puedo y estoy dispuesto a hacer y otro ke todav\u00EDa anda vagando por el limbo. Todos son originales y diferentes entre s\u00ED, porke originalidad, me sobra, bueno eso es lo ke digo yo, y yo digo muchas kosas...\nY komo dir\u00EDa el Viejo: \"Esperalos muy pronto, viejo\"\nPara todos akellos ke necesiten o kieran algun tipo de ayuda por parte del Konejo sobre Flash, hablenle!! Ya sea A.S. o en animaci\u00F3n, solo ke no abusen de su amabilidad!!\nEn fin, komo ya me kas\u00E9 de eskribir, eso es todop.";
_global.a2 = "Esta es un extremadamente mal resumida historia de komo se desarroll\u00F3 el proyecto, si no les gusta vallan mucho a... la siguiente sekci\u00F3n.\n\nErase una vez, digo, todo komens\u00F3 a finales de diciembre, rekuerdo ke estaba terminando 3333 kuando empezaba a ensamblar el k\u00F3digo del dialogo, ke es lo ke hace ke se detenga en cierto frame y ke el texto se eskriba solo. Una vez terminado 3333, le d\u00ED luz verde al proyecto, pues no me iba a esperar a ke terminar\u00E1 la enkuesta ke hab\u00EDa publikado, no, ya ke ten\u00EDa pensado ke si no sal\u00EDa el Zelda komo ganador en la enkuesta, por lo menos ya tendr\u00EDa el gui\u00F3n listo. Viendo despu\u00E9s ke si sali\u00F3 ganador el flash del Zelda empec\u00E9 a apretar el paso. Primero tuve \"ke kortar los sprites ya kortados\", los ke ya hayan intentado o hecho una animaci\u00F3n kon sprites me entender\u00E1n, y los ke no, intentenlo y konprender\u00E1n mis no tan sabias palabras.\nHacer tal kosa es absolutamente tedioso!! Fu\u00E9 ah\u00ED kuando me d\u00ED kuenta ke animar sprites tiene su chiste y se me hace menos flexible ke animar usando tus propios dibujos, pero en fin, kada kien sus gustos.\nEl gui\u00F3n avanzaba poko a poko, y fue a finales de enero kuando el gui\u00F3n estaba kompleto y parte de las escenas listas. Las escenas faltantes las termin\u00E9 poko tiempo desp\u00FAes, y viendo ke solo faltaban detalles, anunci\u00E9 ke el flash estar\u00EDa listo para el 22 de feb. Gran error. La histor\u00EDa nos ha ense\u00F1ado ke anunciar algo y luego decir ke no esta en cierta fecha es una vil y ruin estupid\u00E9s, y yo no me jacto de haberla kometido, pues la hice y orgullo no tengo de haberla hecho. El porke despu\u00E9s tuve ke kambiar la fecha fu\u00E9 lo siguiente:\nDesde un principio ker\u00EDa agregar extras, pero siempre tuive la kuestion del komo las aktivar\u00EDas. La primera y simple soluci\u00F3n fu\u00E9 la siguiente: una trivia. Al principio me gust\u00F3 la idea, poner preguntas especificas de eventos o detalles del flash en si para forzar al espectador a ver el flash m\u00E1s de una vez, ten\u00EDa la premisa de funcionar... pero no de durar. Y fu\u00E9 alrededor del 15 de febrero kuando me decid\u00ED por la idea de hacer un juego. Uno korto, simple y kon una historia inkoherente; pero algo entretenido. Y no fu\u00E9 ese dia kuando kambi\u00E9 la fecha de salida, pues yo kre\u00ED ke el tiempo era suficiente komo para hacer un juego korto. Otro gran error. La fecha llego y el proyecto no avanzaba a la velocidad ke yo esperaba. La razones precisas estan en la siguiente sekci\u00F3n. Ahora situemonos a mediados de abril. Asi es amigos, todo ese tiempo lo invert\u00ED en el juego, oh si, es mucho tiempo, mucho, mucho tiempo amigos. Fue entonces kuando solo faltaba una kosa... el betatesting!!\nPara los ke tengan un nopalazo en la kara y no tengan konocimiento del significado de dicha palabra, en espa\u00F1ol mas o menos se traducir\u00EDa komo \"probar algo para komprobar ke no tenga fallas\". Al principio, ten\u00EDa planeado darles el trabajo a los ke kisieran ayudar, pero en vista del exito ke obtuve, tuve ke hacerlo yo mismo. Tarde alrededor de dos malditas semanas porke el maldito juego estaba hasta el keke de errores. Despu\u00E9s solo faltaron detalles y tada!! el flash estaba terminado.";
_global.a3 = "1x de febrero del a\u00F1o cinkomil mil cinko.\nLa tierra es invadida por pendejos de un unviverso paralelo donde la ra\u00EDz cuadrada de -X = 1 si y solo si te hacen pendejo.\nBueno, restenle 3000 al a\u00F1o, no vallan tan adelante.\nEl primer problema fundamental para hacer el juego, fu\u00E9 ke praktikamente no ten\u00EDa nada de experiencia en AS (ActionScript). Luego de leer varios tutoriales de AS empece a avanzar m\u00E1s r\u00E1pido. Logre krear la funcion de movimiento el primero o segundo d\u00EDa de haber komenzado. Fue despu\u00E9s kuando komenz\u00F3 el mayor y m\u00E1s artante problema en el desarrollo: la detecci\u00F3n de kolisiones!\nProb\u00E9 kon tres distintos motores(funciones ke hacen funcionar al juego) sin ning\u00FAn exito. Dos phinches semanas despu\u00E9s, por alguna intervenci\u00F3n divina o alg\u00FAn deskuido del destino enkontr\u00E9 la soluci\u00F3n. Todo radicaba en esta maldita y demon\u00EDaca linea:\nhitTest(puntox,puntoy,forma)\nKuando yo usaba:\nhiTest(forma)\n\nY si pudiera eskribir toda la kolera mezklada kon alvio en dos simples palabras, la excelsa oraci\u00F3n ser\u00EDa la suguiente: \"Phuta madre!!!1!\"\nDespu\u00E9s de haber enkontrado la solucipon a tal dilema, el juego empez\u00F3 a acelerarse.\nY fui armando el juego, segmento por segmento.\nPrimero el sistema de batalla, luego los eventos, despu\u00E9s los minijuegos, siguiendole el sonido.\nEl juego estaba kompleto, solo faltaba jugarlo, korregir alguno ke otro error, verificar el estatus de los enemigos, en fin, detalles y nada m\u00E1s ke detalles.\nY esa es toda la historia.\nLarga y aburrida en cierta forma, pero ten\u00EDa ke eskribirla, para hacer espacio.\nAhora, los konsejos del konejo:\na> Para hacer un juego no necesitas mucha experiencia, solo saber ke kieres hacer y buskar komo lo puedes hacer.\nb> Siempre ten en kuenta ke el juego tiene ke ser entretenido, si no lo es, ke demonios estas haciendo??\nc> Usa el men\u00FA de ayuda de flash, de ah\u00ED aprend\u00ED el 70% de lo ke se\u00E9 ahora.\nd> Evita el sufrimiento por el ke pas\u00F3 el Konejo, APRENDE TODO LO KE EXISTE DEL hitTEST()!!!!\ne> Si vas a hacer algo, haslo bien o no lo hagas!!";
_global.a4 = "En esta sekci\u00F3n hice un listado de kosas realtivamente interesantes acerka de flash. \n>>Tard\u00E9 medio a\u00F1o en terminarlo\n>>El juego fu\u00E9 el ke tomo la mayor parte del tiempo\n>>Tiene 8917 frames\n>>Al principio, cada ke hablaran los personajes, su imagen se pondr\u00EDa del lado derecho de la pantalla. Al final, por pereza y falta de tiempo no las inclu\u00ED, pero estan en la sekci\u00F3n de artbox.\n>>El proyecto fu\u00E9 oficialmente terminado el mismo dia que empez\u00F3 el E3 2005\n>>En el momento ke eskrib\u00ED esto, no me he acabado el juego de manera \"honesta\"\n>>Hay un jefe secreto en el juego.";
} else {
_global.a1 = "After a lot of hours wasted in this project, I wanted to make a small space to write a few words, perhaps a lof of few words. 9 monts have passed since I first learn a bit of Flash, and I still can't figure out how in the hell I learned so much!! It feels great to see the experience you acquire, and don't say it doesn't, 'cause it feels awesome!! Now than this project is finally complete I can't stop trying to answer that question that pops in my mind: \"...what now?\" The truth is I've never feared the writer's block, because for me it's the opposite, I don't have time to finish all the projects!! I have a few that can be done and quite a lot that cannot, since I am aware than my writing ability it's not good enough (in spanish, since in english it's just plain impossible), yet... And as you may have noticed, no I can't write english quite right, but I can read 100%, really weird...\nThis is the first flash I've made in english, and it's in english AND in spanish because the lack of voices, and is perhaps the last one, if I don't get a good feedback. And since I'm tired of writing, that's allp. I hope you have liked this movie/game, and if want some help in flash, just ask, but do not abuse!!";
_global.a2 = "This is an extreamly zipped version of how this thing was made, if you are just not interesed in this kind of things, change the section asap!!\nEverything started around december, and actually this flash was just and experiment, since I used the main file to test the dialog code, and then the idea came out, \"why not using the new and shiny code?\" And there was no reason to not do so... The first step was ripping the sprites, that took quite a while, because is really tedius riping sprite by sprite, even though I did download a lot of sprite sheets. And at the same time I had to finish the script, which took so long, about one whole month. For the first monts, that was the process. Then, when basicly most of the animation was done, I thougth: \"this needs something... interactive\". At first, there was no game plans, and instead of it, there was a quite long quiz... Kinda boring I thougth, so then I realized that I could add a small game. Why not? At the begining it was easy, even though my knowledge of AS wasn't very extensive. But the problem came when the code began to grown from 500 to 2000 lines of code. The rest of that side of the story is in the next section. Anyway, by the time most of the things were correctly placed, the last stage of the process came: betatesting. At first i wanted to do it on my own, but since I am not an expert in english i had to ask for help. So I posted a small message requesting for some beta testers. Some helped, a bit but they did help, some didn't. So if you don''t understand what the fuck I am saying, it's not all my fault. And after five monts, changing the release date four times, and quite a lot of time wasted, this thing was finally released!!\nAnd I guess that's all. The spanish version of this is, of course, more detailed. This version could be that way if some one wishes to translate the spanish version, since I'm just plain tired of writing...";
_global.a3 = "The first problem in the creation of the game was the (evil) collision detection. I was able to create the battle system, three types of scrolling engines, of which I only used one, but NOT the collision detection... It took me quite a few hours of tutorial browsing but I did find the code, and it was this: hitTest(x,y,form)\nThat simple line of code caused a month of delay. But after, the production was simply average, then the betatestin came. In the begining, as I said before, I didn't wanted to do it myself, but since no one really wanted to help (some did help a bit), I had to. I didn't play the game before (deeply) so I was amazed of the insane quantity of bugs it had!! Almost nothing worked after the first scenario!!11! I took me some weeks to fix every thing. And that's it. The whole story. Nothing out of this world... I think... So here are some advices from KoNeJo that may or may not help you making a game:\n Be sure it's fun, If it isn't, WTF are u doing??\n Use the AS help panel, I learned the 70% I know there!!\n Avoid the suffering KoNeJo passed, LEARN THE HITTEST METHOD!!!!\n To make a game you don't need to know a languaje (like C or Java) to make a game, just know what you want to do and find how you can do it!!\n\nAnd thats all!!!";
_global.a4 = "In this section, you may find some things somewhat interesthing about the flash. \n>>Making it took half year\n>>The game took most of that time.\n>>It has 8917 frames\n>>In the begining, in the left side of the dialog box, a image of the character appeared. In the end, due some reasons, this was removed, but some of the images are in the artbox section.\n>>The project was officialy completed the first day of the E3 2005\n>>While I wrote this, I did not play the game 'til the end\n>>There's a secret boss in the game";
}
}
txtarea.color = 16777215 /* 0xFFFFFF */;
txtarea.backgroundColor = 12369084 /* 0xBCBCBC */;
txtarea.text = "";
q1._visible = false;
q2._visible = false;
q3._visible = false;
q4._visible = false;
retext();
Instance of Symbol 142 MovieClip [TextArea] "txtarea" in Frame 7506
//component parameters
onClipEvent (construct) {
editable = false;
html = false;
text = "";
wordWrap = true;
maxChars = null;
restrict = "";
enabled = true;
password = false;
visible = true;
minHeight = 0;
minWidth = 0;
}
onClipEvent (load) {
trace(this);
}
Frame 7507
if (_global.idi == 1) {
iu = "Presiona Derecha o Izquierda en el teklado";
} else {
iu = "Press Left or Right in the keyboard";
}
Instance of Symbol 1686 MovieClip "art_gal" in Frame 7507
onClipEvent (enterFrame) {
if (Key.isDown(37) && (desp)) {
desp = false;
if (_currentframe != 1) {
prevFrame();
}
} else if (Key.isDown(39) && (desp)) {
desp = false;
if (_currentframe != 17) {
nextFrame();
}
}
}
onClipEvent (load) {
desp = true;
}
onClipEvent (keyUp) {
desp = true;
}
Frame 7508
if (_global.unlockmode.secrettrailer) {
if (_global.idi == 1) {
_level0.sp = "Llegaste hasta el final, ahora no hay nada m\u00E1s adelante, el simple hecho de ver este mensaje es la prueba de que dominaste el juego y a su creador. No hay mas palabras que enlacen la victoria, que la victoria misma.\nSecretos:\n Presiona Ctrl + 5 en el juego para aumentar de nivel\n Presiona Ctrl + 9 para aumentar la difikultad a \"Te La Vas A Pelar\"";
} else {
_level0.sp = "You reached the end, now, there's nothing more higher than the sky. Seeing these words is the proof of your effort in walking above the game and the creator. There are no more words to say, since the victory itself is more than a word.\nSecrets:\n Press Ctrl + 5 lo level up in the game\n Press Ctrl + 9 to enable increase the dificul level to \"Fucking Hard\"";
}
} else {
_level0.sp = "Nice try, but I won't let you break the rules that easy\n\nBuen intento, pero no te dejar\u00E9 romper las reglas tan facil";
}
Frame 7669
er.ww = "";
Frame 7682
c1.gotoAndPlay(2);
c2.gotoAndPlay(2);
Frame 7683
er.ww = "Link";
Frame 7705
er.ww = "He come to town";
Frame 7745
er.ww = "Come to save";
Frame 7773
er.ww = "The princess Zelda";
Frame 7812
er.ww = "Ganon took her away";
Frame 7846
er.ww = "Now the children don't play";
Frame 7879
er.ww = "But they will";
Frame 7900
er.ww = "When Link saves the day...";
Frame 7929
er.ww = "";
Frame 7954
er.ww = "Now Link";
Frame 7977
er.ww = "Fill up your hearts";
Frame 8012
er.ww = "So you can shoot";
Frame 8045
er.ww = "Your sword with power";
Frame 8079
er.ww = "And when you're feeling all down";
Frame 8113
er.ww = "A fairy will come around";
Frame 8149
er.ww = "So you be brave";
Frame 8157
if (_global.idi == 1) {
ht = "pendejo";
} else {
ht = "asshole";
}
Frame 8172
er.ww = "And not a sissy coward";
Frame 8177
c1.gotoAndPlay(7);
c2.gotoAndPlay(7);
Frame 8226
er.ww = "";
Frame 8392
c1.gotoAndPlay(2);
c2.gotoAndPlay(2);
Frame 8393
er.ww = "Now Link";
Frame 8430
er.ww = "Has saved the day";
Frame 8457
c1.gotoAndPlay(7);
c2.gotoAndPlay(7);
Frame 8462
c1.gotoAndPlay(2);
c2.gotoAndPlay(2);
Frame 8463
er.ww = "Put Ganon";
if (_global.idi == 1) {
ht = "Esto es tan NO maligno!!1!";
} else {
ht = "This is so NOT evil!!1!";
}
Frame 8499
er.ww = "In his grave";
Frame 8521
c1.gotoAndPlay(7);
c2.gotoAndPlay(7);
Frame 8524
if (_global.idi == 1) {
ht = "Soy libre!!!";
} else {
ht = "I'm free!!";
}
Frame 8526
er.ww = "So now that Zelda is free";
Frame 8528
c1.gotoAndPlay(2);
c2.gotoAndPlay(2);
Frame 8557
c1.gotoAndPlay(7);
c2.gotoAndPlay(7);
Frame 8561
er.ww = "And now our hero shall be...";
Frame 8563
c1.gotoAndPlay(2);
c2.gotoAndPlay(2);
Frame 8747
c1.gotoAndPlay(7);
c2.gotoAndPlay(7);
stopAllSounds();
Frame 8789
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
if (_global.specialf) {
_global.boss_f = "unk";
_global.fromw = 7;
_global.n = 10;
gotoAndStop (8907);
}
Frame 8790
stopAllSounds();
gotoAndPlay (7501);
Frame 8791
function nadda() {
}
function irenkajaesp() {
getURL ("http://enkaja.freelinuxhost.com/", "_blank");
}
function irenkajaeng() {
getURL ("http://enkaja2.freelinuxhost.com/board/", "_blank");
}
field = new Sound();
field.attachSound("zelda_field");
field.onSoundComplete = function () {
field.start();
};
field.start();
xx = new ContextMenu();
xx.hideBuiltInItems();
if (_global.idi == 1) {
var p1 = new ContextMenuItem("[ enKAJA ]", irenkajaesp);
} else {
var p1 = new ContextMenuItem("[enKAJA ]", irenkajaeng);
}
var p2 = new ContextMenuItem("[ konejo05@gmail.com ]", nadda);
xx.customItems.push(p1, p2);
_root.menu = xx;
function sethunt() {
_global.hunt = true;
clearInterval(hunting);
}
function loadit() {
var _local3 = SharedObject.getLocal("yaLOZ");
if (_local3.data.idi == undefined) {
if (_global.idi == 1) {
_parent.save.cmds = "NO EXISTE";
} else {
_parent.save.cmds = "NO FILE";
}
} else {
_global.idi = _local3.data.idi;
_global.link = _local3.data.link_s;
_global.itembag = _local3.data.itembag;
_global.ev_count = _local3.data.ev_count;
_global.unlockmode = _local3.data.unlocked;
_global.xtyle = _local3.data.style;
_global.best = _local3.data.best;
_global.xcore = _local3.data.xcore;
_global.specialf = _local3.data.specialf;
_local3 = 0;
if (_global.idi == 1) {
stat_screen.save.cmds = "CARGADO";
} else {
stat_screen.save.cmds = "LOADED";
}
}
}
function saveit() {
var _local2 = SharedObject.getLocal("yaLOZ");
_local2.clear();
_local2.data.idi = _global.idi;
_local2.data.link_s = _global.link;
_local2.data.itembag = _global.itembag;
_local2.data.ev_count = _global.ev_count;
_local2.data.unlocked = _global.unlockmode;
_local2.data.style = _global.xtyle;
_local2.data.best = _global.best;
_local2.data.xcore = _global.xcore;
_local2.data.specialf = _global.specialf;
_local2.flush();
_local2 = 0;
if (_global.idi == 1) {
stat_screen.save.cmds = "GUARDADO";
} else {
stat_screen.save.cmds = "SAVED";
}
}
hunting = setInterval(sethunt, 1500);
function nscene(z) {
if (z == 1) {
_root.link._x = 44;
_root.link._y = 162;
gotoAndStop (8792);
} else if (z == 2) {
_root.link._x = 44;
_root.link._y = 162;
gotoAndStop (8793);
} else if (z == 3) {
gotoAndStop (8791);
}
}
function quit() {
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.stat_screen.unloadMovie();
_root.idiCHECK();
_global.paused = false;
field.stop();
stopAllSounds();
_global.initial = undefined;
gotoAndPlay (7501);
}
function movie_play(x) {
if (x == "p") {
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.field.stop();
gotoAndPlay (5282);
} else if (x == "b") {
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.field.stop();
gotoAndPlay (5508);
} else if (x == "enem") {
bs_on = new Sound();
bs_on.attachSound("menu1");
bs_on.start();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.field.stop();
gotoAndPlay (8907);
} else if (x == "rool") {
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.field.stop();
gotoAndPlay (5724);
} else if (x == "viejo") {
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.field.stop();
gotoAndPlay (5891);
} else if (x == "end") {
_root.field.stop();
gotoAndPlay (7509);
}
}
function enem_lv() {
ecs = Math.random() * 10;
trace(ecs);
if (_global.ev_count < 5) {
if (ecs > 6) {
_global.n = 0;
} else if (ecs <= 6) {
_global.n = 1;
}
} else if (_global.ev_count < 8) {
if (ecs > 9) {
_global.n = 0;
} else if (ecs > 8) {
_global.n = 1;
} else if (ecs > 4) {
_global.n = 2;
} else if (ecs > 0) {
_global.n = 3;
}
} else if (_global.ev_count >= 8) {
if (ecs > 9) {
_global.n = 0;
} else if (ecs > 8) {
_global.n = 1;
} else if (ecs > 5) {
_global.n = 5;
} else if (ecs > 2) {
_global.n = 4;
} else if (ecs > 1) {
_global.n = 3;
} else {
_global.n = 2;
}
}
}
function stopme(dir) {
if (dir == "up") {
link.gotoAndStop(2);
} else if (dir == "down") {
link.gotoAndStop(1);
} else if (dir == "right") {
link.gotoAndStop(8);
} else if (dir == "left") {
link.gotoAndStop(9);
}
}
function real_scrolling() {
if ((((((link._y - 1) < 100) && (_global.newdir === false)) && (_global.axis != "x")) && (!_root.bak.walls.hitTest(_root.link._x, _root.link._y - 5, true))) && (_root.bak._y <= 0)) {
bak._y = bak._y + _global.vel;
return("up");
}
if ((((((link._y + 1) > 180) && (_global.newdir === false)) && (_global.axis != "x")) && (!_root.bak.walls.hitTest(_root.link._x, _root.link._y + 15, true))) && (_root.bak._y > ((_root.bak._height * -1) + 300))) {
bak._y = bak._y - _global.vel;
return("down");
}
if ((((((link._x + 1) > 280) && (_global.newdir === false)) && (_global.axis != "y")) && (!_root.bak.walls.hitTest(_root.link._x - 5, _root.link._y, true))) && (_root.bak._x > ((_root.bak._width * -1) + 480))) {
bak._x = bak._x - _global.vel;
return("right");
}
if ((((((link._x - 1) < 100) && (_global.newdir === false)) && (_global.axis != "y")) && (!_root.bak.walls.hitTest(_root.link._x + 15, _root.link._y, true))) && (_root.bak._x <= 0)) {
bak._x = bak._x + _global.vel;
return("left");
}
return(undefined);
}
function attach() {
this.attachMovie("g_textb_app", "g_textb_app", 30);
g_textb_app._x = 201.6;
g_textb_app._y = 221.6;
}
function event_manager(ev_number, answer) {
switch (ev_number) {
case "g_money1" :
if (answer == "yes") {
if ((_global.link[3][6] - 100) < 0) {
_global.texts = true;
attach();
_global.tdg = "No trates de hacerme pendejo, te falta feria.";
_global.tdg2 = "Don't try to rip me off, asshole, you don't have enough money.";
} else {
_global.link[3][6] = _global.link[3][6] - 100;
_global.ev_count = _global.ev_count + 1;
_global.texts = true;
attach();
_global.tdg = "Muy bien, te dir\u00E9 lo ke s\u00E9. Alguien me kont\u00F3 ke Malon estuv\u00F3 cerka del incidente.";
_global.tdg_1 = "Preguntale si rekuerda algo extra\u00F1o o inusual del asunto.";
_global.tdg2 = "Good, I'll tell you what I know. Someone told me than Malon was close by to the incident";
_global.tdg_2 = "Ask her if she remembers something extrange or unusual about it.";
}
}
break;
case "malon_talk" :
_global.ev_count = _global.ev_count + 1;
break;
case "hongos!" :
if (answer == "yes") {
_global.ev_game = "hongos";
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
gotoAndStop (8891);
} else {
_global.texts = true;
attach();
_global.tdg = "Bueno, ya los ganar\u00E1 alguien m\u00E1s";
_global.tdg2 = "Well, someone else will win them";
}
break;
case "bowser_hongo" :
if (answer == "yes") {
_global.ev_count = _global.ev_count + 1;
_global.texts = true;
attach();
_global.tdg = "Excelente!!";
_global.tdg2 = "Excelent!!";
} else {
_global.texts = true;
attach();
_global.tdg = "Awww...";
_global.tdg2 = "Awww...";
}
break;
case "shooting" :
if (answer == "yes") {
_global.ev_game = "money";
_global.link[3][6] = _global.link[3][6] - 10;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
gotoAndStop (8891);
} else {
_global.texts = true;
attach();
_global.tdg = "Te falta punter\u00EDa...";
_global.tdg2 = "Are ya blind?";
}
break;
case "b_memo" :
if (answer == "yes") {
_root.field.stop();
_global.customp = true;
_global.ev_game = "b_memo";
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
gotoAndStop (8795);
} else {
_global.texts = true;
attach();
_global.tdg = "Apuesto ke un perejil te ganar\u00EDa";
_global.tdg2 = "I bet a carrot might beat you";
}
break;
case "sell_card" :
if (answer == "yes") {
_global.link[3][6] = _global.link[3][6] - 100;
if (_global.link[3][6] >= 0) {
_global.card_get = _global.card_get + 1;
_global.texts = true;
attach();
_global.tdg = "Trato hecho, aki lo tienes\n>>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg_1 = "";
_global.tdg2 = "Deal, here they are\n>>Pair of cards\nYou have: " + (_global.card_get * 2);
} else {
_global.link[3][6] = _global.link[3][6] + 100;
_global.texts = true;
attach();
_global.tdg = "Te falta feria kabron!!";
_global.tdg2 = "You don't have enough money asshole!!";
}
} else {
_global.texts = true;
attach();
_global.tdg = "No desaproveches esta oportunidad!!";
_global.tdg2 = "Don't waste this oportunity!!";
}
break;
case "memo" :
if (answer == "yes") {
_root.field.stop();
_global.customp = true;
_global.link[3][6] = _global.link[3][6] - 100;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
gotoAndStop (8795);
} else {
_global.texts = true;
attach();
_global.tdg = "Apuesto a ke una lechuga te ganar\u00EDa";
_global.tdg2 = "I bet a carrot migth beat you";
}
break;
case "llave" :
if (answer == "yes") {
_root.field.stop();
_global.customp = true;
_global.ev_game = "llave";
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
trace((_global.pos[0][0] + "_") + _global.pos[0][1]);
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
gotoAndStop (8897);
} else {
_global.texts = true;
attach();
_global.tdg = "Jejeje, te asustaste, o ke?";
_global.tdg2 = "Hehehe, scared?";
}
break;
case "cucco" :
if (answer == "yes") {
_root.field.stop();
_global.customp = true;
_global.ev_game = "money";
_global.link[3][6] = _global.link[3][6] - 100;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
gotoAndStop (8897);
} else {
_global.texts = true;
attach();
_global.tdg = "Jejeje, te asustaste, o ke?";
_global.tdg2 = "Hehehe, scared?";
}
break;
case "guardia" :
_root.field.stop();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
gotoAndPlay (5819);
break;
case "shop" :
if (answer == "yes") {
_root.g_textb_app.unloadMovie();
_global.paused = true;
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.attachMovie("shopping", "shopping", 110);
} else {
_global.texts = true;
attach();
_global.tdg = "Bueno, entonces quitate de ahi, espantas a los klientes!";
_global.tdg2 = "Well, then get out the way, you're scaring the customers!";
}
break;
case "quiz" :
if (answer == "yes") {
_global.customp = true;
_global.ev_game = "chance";
_root.field.stop();
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.g_textb_app.unloadMovie();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
gotoAndStop (8903);
} else {
_global.texts = true;
attach();
_global.tdg = "Vamos!! Juega!!";
_global.tdg2 = "C'mon!! I'm bored!!";
}
}
}
this.stop();
_global.bbak = 2;
Instance of Symbol 163 MovieClip in Frame 8791
onClipEvent (load) {
if (_global.initial == undefined) {
_global.pos = [[0, 0], [0, 0]];
if (_global.idi == 1) {
_global.link = [[1, 0, 100], [80, 80], [10, 10], [10, 10, 8, 8, 1.5, 1.5, 0]];
_global.itembag = [["Leche", "Leche de kalidad regular.\nHP + 50", 1, 70, "Leche"], ["Leche [A]", "Leche de kalidad premium.\nHP + 100", 0, 110, "Leche [A]"], ["Leche [S]", "Leche de kalidad gourmet.\nHP + 150", 0, 160, "Leche [S]"], ["G.Potion", "Recupera ligeramente tu enfoque.\nFP + 10", 2, 60, "Green Potion"], ["R.Potion", "Incrementa tu concentraci\u00F3n.\nFP + 20", 0, 90, "Red Potion"], ["B.Potion", "Perfecciona tu concentraci\u00F3n y enfoque.\nFP + 30", 0, 140, "Blue Potion"], ["G.Skin", "Esencia Goron. Aumenta tu fuerza levemente.\nATK + 5", 0, 200, "Goron's Skin"], ["D.Claw", "Esencia Dodongo. Puro poder!! B\u00E9belo y haste fuerte.\nATK + 10", 0, 350, "Dodongo's Claw"], ["SilverRing", "Eleva tu poder defensivo.\nDEF + 5", 0, 200, "Silver Ring"], ["GoldRing", "Reduce el da\u00F1o. Kis\u00E1 no sientas dolor del todo.\nDEF + 10", 0, 350, "Gold Ring"], ["K.Boots", "Aumenta tu velocidad.\nSPD+", 0, 250, "Kokiri Boots"], ["P.Boots", "Incrementa tu estamina y velocidad.\nSPD++", 0, 400, "Pegasus Boots"], ["Rvive", "Te cura parcialmente kuando estes d\u00E9bil.\n1/2 Revival", 0, 300, "Rvive"], ["Rvive DX", "Te rekupera kompletamente kuando desfalleskas.\nFull Revival", 0, 600, "Rvive DX"], ["M.Cape", "Te hace invisible!\nHuyes de la batalla.", 0, 150, "Magic Cape"]];
_global.techlist = [["Downtrusth", "Technika clasika!\nFP: 5"], ["TwinStike", "Kreas un klon ke te ayuda a atakar!\nFP: 10"], ["DeepStab", "Un poderozo temblor!\nFP: 15"], ["Kamikaze", "Kamikaze de copias!\nFP: 20"], ["BorealSpin", "Da\u00F1o brutal a tu oponente!\nFP: 25"], ["XpinAttack", "Ultima teknika! Puro Dolor!!\nFP: 30"]];
} else {
_global.link = [[1, 0, 100], [80, 80], [10, 10], [10, 10, 8, 8, 1.5, 1.5, 0]];
_global.itembag = [["Milk", "Regular quality milk.\nHP + 50", 1, 70, "Milk"], ["Milk [A]", "Premium quality milk.\nHP + 100", 0, 110, "Milk [A]"], ["Milk [S]", "Gourmet quality milk.\nHP + 150", 0, 160, "Milk [S]"], ["G.Potion", "Slightly recovers your focus.\nFP + 10", 2, 60, "Green Potion"], ["R.Potion", "Increases your concentration.\nFP + 20", 0, 90, "Red Potion"], ["B.Potion", "Completely recovers your focus and concentration.\nFP + 30", 0, 140, "Blue Potion"], ["G.Skin", "Goron Essence. Gives some extra strength.\nATK + 5", 0, 200, "Goron's Skin"], ["D.Claw", "Dodongo Essence. Pure power!! Drink it and get stronger.\nATK + 10", 0, 350, "Dodongo's Claw"], ["SilverRing", "Raises your defensive power.\nDEF + 5", 0, 200, "Silver Ring"], ["GoldRing", "Reduces the damage. You might feel no pain at all.\nDEF + 10", 0, 350, "Gold Ring"], ["K.Boots", "Raises your speed.\nSPD+", 0, 250, "Kokiri Boots"], ["P.Boots", "Boosts your speed and stamina.\nSPD++", 0, 400, "Pegasus Boots"], ["Rvive", "Partialy heals you when you get K.O.\n1/2 Revival", 0, 300, "Rvive"], ["Rvive DX", "Completly restores you health when you get K.O.\nFull Revival", 0, 600, "Rvive DX"], ["M.Cape", "Makes you invisible!\nFlee from the battle.", 0, 150, "Magic Cape"]];
_global.techlist = [["Downtrusth", "Classic Technique!\nFP: 5"], ["TwinStike", "Shadow Clone Combo!\n FP: 10"], ["DeepStab", "A Powerful Quake!\nFP: 15"], ["Kamikaze", "Clone Kamikaze!\nFP: 20"], ["BorealSpin", "Brutal damage indeed!\nFP: 25"], ["XpinAttack", "Ultimate technique! Pure Pain!!\nFP: 30"]];
}
_global.tdg_1 = "";
_global.tdg_2 = "";
_global.card1 = false;
_global.card2 = false;
_global.card3 = false;
_global.card4 = false;
_global.card5 = false;
_global.card6 = false;
_global.card7 = false;
_global.card8 = false;
_global.card_get = 0;
_global.xcore = [undefined, undefined, undefined];
_global.ev_count = 0;
_global.boss_f = undefined;
_global.xtyle = {ass:0, wrr:0, fnr:0, alc:0, def:0, leg:0, sol:0};
_global.choosing = false;
_global.vel = 6;
_global.initial = false;
_global.customp = false;
_global.gn1 = false;
_global.gn2 = false;
_global.gn3 = false;
_global.gn4 = false;
_global.gn5 = false;
_global.gn6 = false;
_global.kol = 16777215 /* 0xFFFFFF */;
_global.texts = false;
_global.best = ["", 0];
_global.dir = " ";
levup2 = true;
_global.menu_blocked = true;
_root.attachMovie("link_sp", "link", 10);
_root.link._y = 187;
_root.link._x = 100;
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
} else if ((_global.initial == false) && (_global.past_s == "ranch")) {
_root.bak._x = -1170.6;
_root.bak._y = -58.7;
_root.attachMovie("link_sp", "link", 10);
_root.link._y = 136;
_root.link._x = 241.9;
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
_global.customp = false;
} else if ((_global.initial == false) && (_global.past_s == "advna")) {
_root.bak._x = -47.1;
_root.bak._y = -46.8;
_root.attachMovie("link_sp", "link", 10);
_root.link._y = 122;
_root.link._x = 40;
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
_global.customp = false;
} else {
_root.bak._x = _global.pos[0][0];
_root.bak._y = _global.pos[0][1];
_root.attachMovie("link_sp", "link", 10);
_root.link._y = _global.pos[1][1];
_root.link._x = _global.pos[1][0];
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
_global.customp = false;
}
}
onClipEvent (enterFrame) {
if (_global.idi == 1) {
_root.b_layer.disp_stat = ((((("HP [" + _global.link[1][1]) + "/") + _global.link[1][0]) + "]\nRUPIAS [x") + _global.link[3][6]) + "]";
} else {
_root.b_layer.disp_stat = ((((("HP [" + _global.link[1][1]) + "/") + _global.link[1][0]) + "]\nRUPIES [x") + _global.link[3][6]) + "]";
}
if (_global.paused != true) {
if (_global.texts == false) {
if (Key.isDown(88)) {
_root.attachMovie("stat_screen", "stat_screen", 30);
_root.stat_screen._x = 10;
_global.paused = true;
} else if ((Key.isDown(17) && (Key.isDown(53))) && (levup2)) {
levup2 = false;
_global.link[0][0] = _global.link[0][0] + 1;
_global.link[0][1] = _global.link[0][1] - 0;
_global.link[0][2] = _global.link[0][2] + 100;
_global.link[1][0] = _global.link[1][0] + 5;
_global.link[1][1] = _global.link[1][0];
_global.link[2][0] = _global.link[2][0] + 2;
_global.link[2][1] = _global.link[2][0];
_global.link[3][0] = _global.link[3][0] + 4;
_global.link[3][2] = _global.link[3][2] + 4;
_global.link[3][4] = _global.link[3][4] + 0.01;
_global.link[3][6] = _global.link[3][6] + 100;
_global.link[3][1] = _global.link[3][0];
_global.link[3][3] = _global.link[3][2];
_global.link[3][5] = _global.link[3][4];
} else if (Key.isDown(17) && (Key.isDown(57))) {
_global.hard = true;
} else {
if (Key.isDown(38)) {
_global.dir = "up";
if (_root.link._currentframe != 6) {
_root.link.gotoAndStop(6);
}
if (!_root.bak.walls.hitTest(_root.link._x, _root.link._y - 5, true)) {
if (_root.real_scrolling() != "up") {
_root.link._y = _root.link._y - vel;
_global.newdir = false;
_global.axis = "y";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(40)) {
_global.dir = "down";
if (_root.link._currentframe != 3) {
_root.link.gotoAndStop(3);
}
if (!_root.bak.walls.hitTest(_root.link._x, _root.link._y + 15, true)) {
if (_root.real_scrolling() != "down") {
_root.link._y = _root.link._y + vel;
_global.newdir = false;
_global.axis = "y";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(37)) {
_global.dir = "left";
if (_root.link._currentframe != 5) {
_root.link.gotoAndStop(5);
}
if (!_root.bak.walls.hitTest(_root.link._x - 5, _root.link._y, true)) {
if (_root.real_scrolling() != "left") {
_root.link._x = _root.link._x - vel;
_global.newdir = false;
_global.axis = "x";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(39)) {
_global.dir = "right";
if (_root.link._currentframe != 4) {
_root.link.gotoAndStop(4);
}
if (!_root.bak.walls.hitTest(_root.link._x + 15, _root.link._y, true)) {
if (_root.real_scrolling() != "right") {
_root.link._x = _root.link._x + vel;
_global.newdir = false;
_global.axis = "x";
}
} else {
return(undefined);
}
}
}
}
}
}
onClipEvent (keyUp) {
levup2 = true;
_root.stopme(_global.dir);
_global.newdir = true;
}
Frame 8792
field = new Sound();
field.attachSound("zelda_field");
field.onSoundComplete = function () {
field.start();
};
field.start();
function sethunt() {
_global.hunt = true;
clearInterval(hunting);
}
hunting = setInterval(sethunt, 1500);
function attach() {
this.attachMovie("g_textb_app", "g_textb_app", 30);
g_textb_app._x = 201.6;
g_textb_app._y = 221.6;
}
this.stop();
if (_global.customp == true) {
_root.bak._x = _global.pos[0][0];
_root.bak._y = _global.pos[0][1];
_root.attachMovie("link_sp", "link", 10);
_root.link._y = _global.pos[1][1];
_root.link._x = _global.pos[1][0];
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
_global.customp = false;
} else {
_root.bak._x = -51.6;
_root.bak._y = -226.7;
_global.tdg_1 = "";
_global.tdg_2 = "";
_global.dir = " ";
_root.attachMovie("link_sp", "link", 10);
_root.link._y = 165;
_root.link._x = 90;
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
_root.b_layer.aktx = "";
_root.b_layer.aktz = "";
}
_global.bbak = 1;
Instance of Symbol 163 MovieClip in Frame 8792
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.b_layer.disp_stat = ((((("HP [" + _global.link[1][1]) + "/") + _global.link[1][0]) + "]\nRUPIES [x") + _global.link[3][6]) + "]";
if (_global.paused != true) {
if (_global.texts == false) {
if (Key.isDown(88)) {
_root.attachMovie("stat_screen", "stat_screen", 30);
_root.stat_screen._x = 10;
_global.paused = true;
} else if ((Key.isDown(17) && (Key.isDown(53))) && (levup2)) {
levup2 = false;
_global.link[0][0] = _global.link[0][0] + 1;
_global.link[0][1] = _global.link[0][1] - 0;
_global.link[0][2] = _global.link[0][2] + 100;
_global.link[1][0] = _global.link[1][0] + 5;
_global.link[1][1] = _global.link[1][0];
_global.link[2][0] = _global.link[2][0] + 2;
_global.link[2][1] = _global.link[2][0];
_global.link[3][0] = _global.link[3][0] + 4;
_global.link[3][2] = _global.link[3][2] + 4;
_global.link[3][4] = _global.link[3][4] + 0.01;
_global.link[3][6] = _global.link[3][6] + 100;
_global.link[3][1] = _global.link[3][0];
_global.link[3][3] = _global.link[3][2];
_global.link[3][5] = _global.link[3][4];
} else if (Key.isDown(17) && (Key.isDown(57))) {
_global.hard = true;
} else {
if (Key.isDown(38)) {
_global.dir = "up";
if (_root.link._currentframe != 6) {
_root.link.gotoAndStop(6);
}
if (!_root.bak.walls.hitTest(_root.link._x, _root.link._y - 5, true)) {
if (_root.real_scrolling() != "up") {
_root.link._y = _root.link._y - vel;
_global.newdir = false;
_global.axis = "y";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(40)) {
_global.dir = "down";
if (_root.link._currentframe != 3) {
_root.link.gotoAndStop(3);
}
if (!_root.bak.walls.hitTest(_root.link._x, _root.link._y + 15, true)) {
if (_root.real_scrolling() != "down") {
_root.link._y = _root.link._y + vel;
_global.newdir = false;
_global.axis = "y";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(37)) {
_global.dir = "left";
if (_root.link._currentframe != 5) {
_root.link.gotoAndStop(5);
}
if (!_root.bak.walls.hitTest(_root.link._x - 5, _root.link._y, true)) {
if (_root.real_scrolling() != "left") {
_root.link._x = _root.link._x - vel;
_global.newdir = false;
_global.axis = "x";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(39)) {
_global.dir = "right";
if (_root.link._currentframe != 4) {
_root.link.gotoAndStop(4);
}
if (!_root.bak.walls.hitTest(_root.link._x + 15, _root.link._y, true)) {
if (_root.real_scrolling() != "right") {
_root.link._x = _root.link._x + vel;
_global.newdir = false;
_global.axis = "x";
}
} else {
return(undefined);
}
}
}
}
}
}
onClipEvent (keyUp) {
_root.stopme(_global.dir);
_global.newdir = true;
}
Frame 8793
field = new Sound();
field.attachSound("zelda_field");
field.onSoundComplete = function () {
field.start();
};
field.start();
function sethunt() {
_global.hunt = true;
clearInterval(hunting);
}
hunting = setInterval(sethunt, 1500);
function attach() {
this.attachMovie("g_textb_app", "g_textb_app", 30);
g_textb_app._x = 201.6;
g_textb_app._y = 221.6;
}
this.stop();
if (_global.customp != true) {
_global.tdg_1 = "";
_global.tdg_2 = "";
_global.dir = " ";
_root.bak._x = -366;
_root.bak._y = -551;
_root.attachMovie("link_sp", "link", 10);
_root.link._y = 140;
_root.link._x = 321;
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
_global.customp = false;
} else {
_root.bak._x = _global.pos[0][0];
_root.bak._y = _global.pos[0][1];
_root.attachMovie("link_sp", "link", 10);
_root.link._y = _global.pos[1][1];
_root.link._x = _global.pos[1][0];
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
_global.customp = false;
}
_global.bbak = 2;
bak.walls._visible = false;
Frame 8794
_root.bak._x = -6.8;
_root.bak._y = 0.6;
field = new Sound();
field.attachSound("zelda_cast1");
field.onSoundComplete = function () {
field.start();
};
field.start();
function sethunt() {
_global.hunt = true;
clearInterval(hunting);
}
hunting = setInterval(sethunt, 1500);
this.stop();
_global.bbak = 5;
Instance of Symbol 163 MovieClip in Frame 8794
onClipEvent (load) {
_global.tdg_1 = "";
_global.tdg_2 = "";
_global.dir = " ";
_root.attachMovie("link_sp", "link", 10);
_root.link._y = 199;
_root.link._x = 249;
_root.link.gotoAndStop(1);
_root.attachMovie("b_layer", "b_layer", 11);
_root.b_layer._x = -5;
_root.b_layer._y = -5;
_root.b_layer.stop();
}
onClipEvent (enterFrame) {
_root.b_layer.disp_stat = ((((("HP [" + _global.link[1][1]) + "/") + _global.link[1][0]) + "]\nRUPIES [x") + _global.link[3][6]) + "]";
if (_global.paused != true) {
if (_global.texts == false) {
if (Key.isDown(88)) {
_root.attachMovie("stat_screen", "stat_screen", 30);
_root.stat_screen._x = 10;
_global.paused = true;
} else if ((Key.isDown(17) && (Key.isDown(53))) && (levup2)) {
levup2 = false;
_global.link[0][0] = _global.link[0][0] + 1;
_global.link[0][1] = _global.link[0][1] - 0;
_global.link[0][2] = _global.link[0][2] + 100;
_global.link[1][0] = _global.link[1][0] + 5;
_global.link[1][1] = _global.link[1][0];
_global.link[2][0] = _global.link[2][0] + 2;
_global.link[2][1] = _global.link[2][0];
_global.link[3][0] = _global.link[3][0] + 4;
_global.link[3][2] = _global.link[3][2] + 4;
_global.link[3][4] = _global.link[3][4] + 0.01;
_global.link[3][6] = _global.link[3][6] + 100;
_global.link[3][1] = _global.link[3][0];
_global.link[3][3] = _global.link[3][2];
_global.link[3][5] = _global.link[3][4];
} else if (Key.isDown(17) && (Key.isDown(57))) {
_global.hard = true;
} else {
if (Key.isDown(38)) {
_global.dir = "up";
if (_root.link._currentframe != 6) {
_root.link.gotoAndStop(6);
}
if (!_root.bak.walls.hitTest(_root.link._x, _root.link._y - 5, true)) {
if (_root.real_scrolling() != "up") {
_root.link._y = _root.link._y - vel;
_global.newdir = false;
_global.axis = "y";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(40)) {
_global.dir = "down";
if (_root.link._currentframe != 3) {
_root.link.gotoAndStop(3);
}
if (!_root.bak.walls.hitTest(_root.link._x, _root.link._y + 15, true)) {
if (_root.real_scrolling() != "down") {
_root.link._y = _root.link._y + vel;
_global.newdir = false;
_global.axis = "y";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(37)) {
_global.dir = "left";
if (_root.link._currentframe != 5) {
_root.link.gotoAndStop(5);
}
if (!_root.bak.walls.hitTest(_root.link._x - 5, _root.link._y, true)) {
if (_root.real_scrolling() != "left") {
_root.link._x = _root.link._x - vel;
_global.newdir = false;
_global.axis = "x";
}
// unexpected jump
}
return(undefined);
}
if (Key.isDown(39)) {
_global.dir = "right";
if (_root.link._currentframe != 4) {
_root.link.gotoAndStop(4);
}
if (!_root.bak.walls.hitTest(_root.link._x + 15, _root.link._y, true)) {
if (_root.real_scrolling() != "right") {
_root.link._x = _root.link._x + vel;
_global.newdir = false;
_global.axis = "x";
}
} else {
return(undefined);
}
}
}
}
}
}
onClipEvent (keyUp) {
_root.stopme(_global.dir);
_global.newdir = true;
}
Frame 8795
batt = new Sound();
batt.attachSound("zelda_menu");
_root.field.stop();
batt.onSoundComplete = function () {
batt.start();
};
batt.start();
function init() {
i = 1;
while (i <= 8) {
_root.attachMovie(_global.deck1[i], "c" + i, i);
_root["c" + i]._x = xbase;
_root["c" + i]._y = ybase;
xbase = xbase + 35;
ybase = ybase + 15;
_root["c" + i].id = _global.deck1[i];
_root["c" + i].holdme = false;
_root["c" + i].onRollOver = function () {
if (_global.begin == true) {
if (this.holdme == false) {
this._y = this._y - 10;
this._x = this._x - 10;
}
}
};
_root["c" + i].onRollOut = function () {
if (_global.begin == true) {
if (this.holdme == false) {
this._x = this._x + 10;
this._y = this._y + 10;
}
}
};
_root["c" + i].onPress = function () {
if ((_global.begin == true) && (this.id != "")) {
this.holdme = true;
if (_global.scard == "") {
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start();
_global.scard = this.id;
this.id = "";
} else if ((_global.scard != "") && (this.id != "")) {
_global.scard_2 = this.id;
check_cards();
}
this.gotoAndStop(1);
}
};
i++;
}
xbase = 90;
ybase = 110;
j = 9;
while (j <= 16) {
_root.attachMovie(_global.deck1[j], "c" + j, j);
_root["c" + j]._x = xbase;
_root["c" + j]._y = ybase;
xbase = xbase + 35;
ybase = ybase + 15;
_root["c" + j].id = _global.deck1[j];
_root["c" + j].holdme = false;
_root["c" + j].onRollOver = function () {
if (this.holdme == false) {
if (_global.begin == true) {
this._y = this._y - 10;
this._x = this._x - 10;
}
}
};
_root["c" + j].onRollOut = function () {
if (_global.begin == true) {
if (this.holdme == false) {
this._x = this._x + 10;
this._y = this._y + 10;
}
}
};
_root["c" + j].onPress = function () {
if ((_global.begin == true) && (this.id != "")) {
this.holdme = true;
if (_global.scard == "") {
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start();
_global.scard = this.id;
this.id = "";
} else if ((_global.scard != "") && (this.id != "")) {
_global.scard_2 = this.id;
check_cards();
}
this.gotoAndStop(1);
}
};
j++;
}
}
function check_cards() {
if (_global.scard == _global.scard_2) {
sfx = new Sound();
sfx.attachSound("zelda_select");
sfx.start();
trace("Equal");
_global.pairs = _global.pairs + 1;
score = (1000 - (_global.btime * 100)) * _global.pairs;
cg_score = cg_score + score;
_global.scard = "";
_global.scard_2 = "";
_global.btime = 0;
if (_global.pairs == 8) {
unload_cards();
if (_global.idi == 2) {
gotoAndStop (8888);
} else if (_global.idi == 1) {
gotoAndStop (8890);
}
}
} else if (cg_score >= 8000) {
sfx = new Sound();
sfx.attachSound("kh_deselect");
sfx.start();
_global.begin = false;
unload_cards();
if (_global.idi == 2) {
gotoAndStop (8888);
} else if (_global.idi == 1) {
gotoAndStop (8890);
}
} else {
sfx = new Sound();
sfx.attachSound("kh_deselect");
sfx.start();
_global.begin = false;
_root.intID = setInterval(g_over, 500);
}
}
function flip() {
k = 1;
while (k <= 16) {
_root["c" + k].gotoAndPlay(2);
k++;
}
}
function unload_cards() {
l = 1;
while (l <= 16) {
_root["c" + l].unloadMovie();
l++;
}
}
function g_over() {
trace("Wrong");
clearInterval(_root.intID);
if (_global.idi == 2) {
gotoAndStop (8887);
} else if (_global.idi == 1) {
gotoAndStop (8889);
}
unload_cards();
}
function score_guide() {
_global.btime = _global.btime + 1;
trace(_global.btime);
}
function overit(sss) {
clearInterval(dd);
if ((sss == "won") && (_global.ev_game == "b_memo")) {
batt.stop();
if (_global.xcore[1] == undefined) {
_global.xcore[1] = cg_score;
} else if (cg_score > _global.xcore[1]) {
_global.xcore[1] = cg_score;
}
_global.ev_count = _global.ev_count + 1;
gotoAndStop (8793);
} else if (sss == "won") {
if (_global.xcore[1] == undefined) {
_global.xcore[1] = cg_score;
} else if (cg_score > _global.xcore[1]) {
_global.xcore[1] = cg_score;
}
batt.stop();
_global.link[3][6] = _global.link[3][6] + 200;
gotoAndStop (8793);
} else if (sss == "lost") {
batt.stop();
gotoAndPlay (8795);
}
}
this.stop();
if (_global.idi == 1) {
g_title = "Dos-Dos";
hplay = "Komo Jugar";
inst = "1)Trata de memorizar todas las cartas\n2)Junta todas las cartas en pares\n3)Si fallas UNA vez, pierdes!!\n4)Para ganar necesitas al menos 8000pts";
} else {
g_title = "Two-Two";
hplay = "How To Play";
inst = "1)Try to memorize all the cards\n2)Match all the cards in pairs\n3)If you fail ONCE, you lose!!\n4)To win you need at least 8000pts";
}
_global.begin = false;
_global.pairs = 0;
_global.btime = 0;
cg_score = 0;
_global.deck1 = new Array();
xz = Math.round(Math.random()) * 10;
if (xz <= 2) {
_global.deck1 = ["deck1", "mg_card_1", "mg_card_5", "mg_card_8", "mg_card_1", "mg_card_2", "mg_card_4", "mg_card_7", "mg_card_5", "mg_card_3", "mg_card_4", "mg_card_6", "mg_card_3", "mg_card_7", "mg_card_6", "mg_card_2", "mg_card_8"];
} else if (xz <= 4) {
_global.deck1 = ["deck2", "mg_card_1", "mg_card_4", "mg_card_2", "mg_card_7", "mg_card_1", "mg_card_2", "mg_card_5", "mg_card_6", "mg_card_5", "mg_card_2", "mg_card_4", "mg_card_8", "mg_card_7", "mg_card_6"];
} else if (xz <= 7) {
_global.deck1 = ["deck3", "mg_card_5", "mg_card_8", "mg_card_1", "mg_card_7", "mg_card_2", "mg_card_6", "mg_card_4", "mg_card_6", "mg_card_2", "mg_card_3", "mg_card_4", "mg_card_5", "mg_card_1", "mg_card_8"];
} else {
_global.deck1 = ["deck4", "mg_card_7", "mg_card_1", "mg_card_5", "mg_card_8", "mg_card_3", "mg_card_1", "mg_card_2", "mg_card_5", "mg_card_8", "mg_card_5", "mg_card_7", "mg_card_2", "mg_card_4", "mg_card_6", "mg_card_4", "mg_card_3"];
}
_global.scard = "";
_global.scard_2 = "";
xbase = 90;
ybase = 10;
Instance of Symbol 236 MovieClip in Frame 8795
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_parent.nextFrame();
}
}
Frame 8796
init();
this.play();
Frame 8875
flip();
Frame 8886
_global.begin = true;
scr = setInterval(score_guide, 1000);
this.stop();
Frame 8887
clearInterval(scr);
dd = setInterval(overit, 1000, "lost");
Frame 8888
clearInterval(scr);
dd = setInterval(overit, 1000, "won");
Frame 8889
clearInterval(scr);
dd = setInterval(overit, 1000, "lost");
Frame 8890
clearInterval(scr);
dd = setInterval(overit, 1000, "won");
Frame 8891
function attachenem() {
rand = Math.random() * 10;
if ((rand < 3) && (!chu.active)) {
chu.gotoAndPlay(1);
} else if ((rand < 6) && (!keatons.active)) {
keatons.gotoAndPlay(1);
} else if ((rand < 8) && (!cucco.active)) {
cucco.gotoAndPlay(1);
} else if ((rand < 9) && (!kef.active)) {
kef.gotoAndPlay(1);
} else {
mario.gotoAndPlay(1);
}
}
function clockt() {
_root.timer = _root.timer - 1;
if (_root.timer < 10) {
timeleft = ":0" + _root.timer;
} else {
timeleft = ":" + _root.timer;
}
if ((_root.timer < 0) && (cg_score >= 60000)) {
if (_global.idi == 1) {
gotoAndStop (8895);
} else {
gotoAndStop (8894);
}
} else if ((_root.timer < 0) && (cg_score < 60000)) {
if (_global.idi == 1) {
gotoAndStop (8896);
} else {
gotoAndStop (8893);
}
}
}
function again(th) {
clearInterval(other);
if (((th == "win") && (_global.ev_game == "hongos")) && (_root.ct)) {
batt.stop();
if (_global.xcore[0] == undefined) {
_global.xcore[0] = cg_score;
} else if (cg_score > _global.xcore[0]) {
_global.xcore[0] = cg_score;
}
_root.ct = false;
Mouse.show();
_global.ev_count = _global.ev_count + 1;
gotoAndPlay (8791);
} else if (((th == "win") && (_global.ev_game == "money")) && (_root.ct)) {
_root.ct = false;
batt.stop();
if (_global.xcore[0] == undefined) {
_global.xcore[0] = cg_score;
} else if (cg_score > _global.xcore[0]) {
_global.xcore[0] = cg_score;
}
Mouse.show();
gotoAndPlay (8791);
} else if (th == "lost") {
if (_global.xcore[0] == undefined) {
_global.xcore[0] = cg_score;
} else if (cg_score > _global.xcore[0]) {
_global.xcore[0] = cg_score;
}
batt.stop();
gotoAndStop (8891);
}
}
this.stop();
batt = new Sound();
batt.attachSound("kh_df_edit");
batt.setVolume(80);
batt.onSoundComplete = function () {
batt.start();
};
_root.field.stop();
batt.start();
timeleft = ":50";
timer = 50;
cg_score = 0;
ct = true;
if (_global.idi == 1) {
g_title = "Galer\u00EDa.de.Tiro";
hplay = "Komo Jugar";
inst = "1)Disparale a TODO en la pantalla!!\n2)Para ganar, necesitas 60000pts\n3)Disparale a TODO en la pantalla!!11!";
} else {
g_title = "Shooting.Gallery";
hplay = "How To Play";
inst = "1)Shoot EVERYTHING on the screen!!\n2)To win, you need 60000pts\n3)Shoot EVERYTHING on the screen!!11!!!1!";
}
Instance of Symbol 236 MovieClip in Frame 8891
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_parent.nextFrame();
}
}
Frame 8892
this.stop();
_root.clockit = setInterval(_root.attachenem, 1500);
_root.timel = setInterval(_root.clockt, 1000);
Instance of Symbol 713 MovieClip in Frame 8892
onClipEvent (load) {
shty = true;
Mouse.hide();
startDrag (this, true);
}
onClipEvent (mouseMove) {
updateAfterEvent();
}
onClipEvent (mouseDown) {
this.gotoAndPlay(2);
}
onClipEvent (mouseUp) {
shty = true;
}
Frame 8893
clearInterval(_root.clockit);
clearInterval(_root.timel);
trace("lost");
other = setInterval(again, 1500, "lost");
Frame 8894
clearInterval(_root.clockit);
clearInterval(_root.timel);
trace("won");
_root.other = setInterval(_root.again, 1500, "win");
Frame 8895
clearInterval(_root.clockit);
clearInterval(_root.timel);
trace("won");
_root.other = setInterval(_root.again, 1500, "win");
Frame 8896
clearInterval(_root.clockit);
clearInterval(_root.timel);
trace("lost");
other = setInterval(again, 1500, "lost");
Frame 8897
batt = new Sound();
_root.field.stop();
batt.attachSound("kh_df_edit");
batt.setVolume(80);
batt.onSoundComplete = function () {
batt.start();
};
batt.start();
this.stop();
trace(((_global.pos[0][0] + "_") + _global.pos[0][1]) + "_cucco");
_global.pos[0][0] = -210;
_global.pos[0][1] = -416.65;
trace(((_global.pos[0][0] + "_") + _global.pos[0][1]) + "_cucco");
begin = false;
if (_global.idi == 1) {
g_title = "CUCCO SUMO!!";
hplay = "Komo Jugar";
inst = "1)Presiona derecha repetidamente para \tempujar al giga-cucco\n2)Para ganar tienes ke aguantar 55 \tsegundos sin salir del circulo\n3)El cucco se casa por cortos periodos de \ttiempo";
} else {
g_title = "CUCCO SUMO!!";
hplay = "How To Play";
inst = "1)Press RIGHT repeatly to push the giga-\tcucco\n2)To win, you've to endure it 55 secs without \tleaving the circle.\n3)The cucco gets tired for short amounts of \ttime";
}
Instance of Symbol 236 MovieClip in Frame 8897
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_root.nextFrame();
}
}
Frame 8898
function tclock() {
_root.timed = _root.timed - 1;
if (_root.timed >= 10) {
_root.tleft = ":" + _root.timed;
} else {
_root.tleft = ":0" + _root.timed;
}
if ((_root.timed <= 0) && (_root.begin)) {
_root.begin = false;
_root.summo.gotoAndStop(3);
}
}
function off() {
if (_root.begin) {
if (_root.bak.walls.hitTest(_root.summo._x - 18, _root.summo._y, true)) {
_root.begin = false;
_root.summo.gotoAndStop(4);
}
_root.tired = _root.tired + 1;
if (_root.tired == 80) {
trace("recovered");
_root.tired = 0;
_root.summo._x = _root.summo._x - 7.5;
} else if (_root.tired > 50) {
trace("tired");
_root.summo._x = _root.summo._x - 3;
} else {
_root.summo._x = _root.summo._x - 7.5;
}
}
}
function ress(zx) {
trace(zx);
clearInterval(_root.deaf);
clearInterval(_root.vc);
if ((zx == "won") && (_global.ev_game == "llave")) {
batt.stop();
_global.ev_game = "";
_global.ev_count = _global.ev_count + 1;
gotoAndStop (8792);
} else if (zx == "lost") {
batt.stop();
gotoAndStop (8897);
} else if ((zx == "won") && (_global.ev_game == "money")) {
batt.stop();
_global.ev_game = "";
gotoAndStop (8792);
}
}
function overme() {
if (_global.idi == 1) {
gotoAndStop (8901);
} else {
nextFrame();
}
}
function overme2() {
if (_global.idi == 1) {
gotoAndStop (8902);
} else {
gotoAndStop (8900);
}
}
this.stop();
_root.tired = 0;
_root.timed = 55;
_root.tleft = ":55";
_root.intclock = setInterval(_root.tclock, 1000);
_root.cucco_s = setInterval(_root.off, 200);
Instance of Symbol 163 MovieClip in Frame 8898
onClipEvent (load) {
rel = true;
}
onClipEvent (enterFrame) {
if (_root.begin) {
if (Key.isDown(39) && (rel)) {
_root.summo._x = _root.summo._x + 4;
rel = false;
}
}
}
onClipEvent (keyUp) {
rel = true;
}
Frame 8899
this.stop();
_root.deaf = setInterval(_root.ress, 1000, "lost");
clearInterval(_root.intclock);
clearInterval(_root.cucco_s);
clearInterval(_root.lostit);
Frame 8900
this.stop();
trace((_global.pos[0][0] + "_") + _global.pos[0][1]);
_root.vc = setInterval(_root.ress, 1000, "won");
clearInterval(_root.intclock);
clearInterval(_root.cucco_s);
clearInterval(_root.wonit);
Frame 8901
this.stop();
_root.deaf = setInterval(_root.ress, 1000, "lost");
clearInterval(_root.intclock);
clearInterval(_root.cucco_s);
clearInterval(_root.lostit);
Frame 8902
this.stop();
trace((_global.pos[0][0] + "_") + _global.pos[0][1]);
_root.vc = setInterval(_root.ress, 1000, "won");
clearInterval(_root.intclock);
clearInterval(_root.cucco_s);
clearInterval(_root.wonit);
Frame 8903
function gkplay(k) {
if (k == 1) {
batt.stop();
gotoAndPlay (5764);
} else {
batt.stop();
gotoAndStop (8792);
}
}
this.stop();
_root.field.stop();
batt = new Sound();
batt.attachSound("zelda_menu");
batt.setVolume(80);
batt.onSoundComplete = function () {
batt.start();
};
batt.start();
_root.loop = 1;
g_title = "Zelda QUIZ";
if (_global.idi == 1) {
hplay = "Komo Jugar";
inst = "1)Kontesta todas las preguntas \tkorrektamente antes de ke se termine el \ttiempo\n2)Son 10 preguntas y una extra\n3)Los resultados se mostrar\u00E1n al final\n4)No es NECESARIO kontestar \tkorrektamente...";
inst2 = "Presiona La Tekla Para Kontestar";
pr = "Pregunta:";
rest = "RESULTADOS!";
yscr = "Tu Puntuaci\u00F3n:";
} else {
g_title = "Zelda QUIZ";
hplay = "How To Play";
inst = "1)Answer all the questions correctly before \tthe time runs out\n2)There are 10 questions and an extra one\n3)The results will be shown at the end.\n4)It's not NECESSARY to answer correctly...";
inst2 = "Press The Key To Answer";
pr = "Question:";
rest = "RESULTS!";
yscr = "Your Score:";
}
Instance of Symbol 236 MovieClip in Frame 8903
onClipEvent (enterFrame) {
if (Key.isDown(90)) {
_parent.nextFrame();
}
}
Frame 8904
function quiz_manager() {
_root.q = qlist[_root.qnumber][0];
_root.a1 = qlist[_root.qnumber][1];
_root.a2 = qlist[_root.qnumber][2];
_root.a3 = qlist[_root.qnumber][3];
}
function answer(sel) {
_root.give_answer = false;
if (sel == _root.qlist[_root.qnumber][4]) {
_root.qnumber = _root.qnumber + 1;
_root.score = _root.score + 1;
_root.quiz_manager();
} else {
_root.qnumber = _root.qnumber + 1;
_root.quiz_manager();
}
if (_root.qnumber > 10) {
clearInterval(timed);
gotoAndPlay (8905);
}
}
function timel() {
_root.tot_time = _root.tot_time - 1;
if (_root.tot_time >= 60) {
if ((_root.tot_time - 60) >= 10) {
_root.timeleft = "1:" + (_root.tot_time - 60);
} else {
_root.timeleft = "1:0" + (_root.tot_time - 60);
}
} else if (_root.tot_time < 60) {
if (_root.tot_time >= 10) {
_root.timeleft = "0:" + _root.tot_time;
} else {
_root.st.textColor = 14614528 /* 0xDF0000 */;
_root.timeleft = "0:0" + _root.tot_time;
}
}
if (_root.tot_time < 0) {
clearInterval(timed);
gotoAndPlay (8905);
}
}
this.stop();
qlist = new Array();
if (_global.idi == 1) {
qlist = [["Fecha de lanzamiento del primer LOZ", "Marzo, 1987", "Julio, 1987", "Agosto, 1987", 2], ["Nombre del Sage de Luz en OoT", "Mido", "Arhus", "Rauru", 3], ["Aditamento necesario para jugar \tMajora's Mask", "Jumper Pack", "Booster Pack", "Expansion Pack", 3], ["Supuesto apellido de Ganondorf", "Gerudo", "Agahnim", "Dragmire", 3], ["Kuantos kalabozos hay en LOZ (NES First Quest)?", "9", "8", "10", 1], ["Nombre de la isla en Link's Awakening", "Koholint", "Hyrule", "Kasuto", 1], ["Ultimo jefe en Link's Adventure", "Ganon", "Vaati", "Shadow Link", 3], ["Tipos de espada ke hay en A Link To The Past", "3", "2", "4", 3], ["Kuantos fragmentos esta dividida la trifuerza en LOZ (NES)?", "9", "8", "3", 2], ["Hechizero ke fu\u00E9 manipulado por Ganon en A Link To The Past", "Agahnim", "Aghanim", "Aganhim", 1], ["EXTRA: Jefe ke aparece en el nivel 6, en LOZ (NES Any Quest)", "Aquamentus", "Gohma", "Dodongo", 2]];
} else {
qlist = [["Launch date of the first LOZ", "March, 1987", "July, 1987", "August, 1987", 2], ["Name of the Sage of Light in OoT", "Mido", "Arhus", "Rauru", 3], ["Accessory needed to play Majora's Mask", "Jumper Pack", "Booster Pack", "Expansion Pack", 3], ["Supposed last name of Ganondorf", "Gerudo", "Agahnim", "Dragmire", 3], ["How many dungeons are in LOZ (NES First Quest)?", "9", "8", "10", 1], ["Name of the island in Link's Awakening", "Koholint", "Hyrule", "Kasuto", 1], ["Last boss in Link's Adventure", "Ganon", "Vaati", "Shadow Link", 3], ["How many kinds of swords are in A Link To The Past", "3", "2", "4", 3], ["In how many pieces the triforce is divided in LOZ (NES)?", "9", "8", "3", 2], ["Wizzard manipulated by Ganon in A Link To The Past", "Agahnim", "Aghanim", "Aganhim", 1], ["EXTRA: Boss of the 6th dungeon, in LOZ (NES Any Quest)", "Aquamentus", "Gohma", "Dodongo", 2]];
}
qnumber = 0;
score = 0;
timeleft = "1:40";
give_answer = true;
timed = setInterval(timel, 1000);
tot_time = 100;
ts = 0;
quiz_manager();
Instance of Symbol 163 MovieClip in Frame 8904
onClipEvent (enterFrame) {
if (_root.give_answer) {
if (Key.isDown(49)) {
_root.give_answer = false;
_root.answer(1);
} else if (Key.isDown(50)) {
_root.give_answer = false;
_root.answer(2);
} else if (Key.isDown(51)) {
_root.give_answer = false;
_root.answer(3);
}
}
}
onClipEvent (keyUp) {
_root.give_answer = true;
}
Frame 8905
if (_root.ts < (_root.score * 10)) {
if (_global.idi == 1) {
avd = "Checando puntuaci\u00F3n...";
} else {
adv = "Checking score...";
}
_root.ts = _root.ts + 1;
_root.sc = (_root.ts * 1) + "%";
} else if (_root.ts == (_root.score * 10)) {
_root.next_line = true;
_root.sc = (_root.ts * 1) + "%";
}
if (_root.next_line) {
if (_global.idi == 1) {
if (_root.score == 11) {
rank = "Zelda Guru.\n3r3s 3l w3n0";
_global.specialf = true;
} else if (_root.score > 9) {
rank = "Veterano.\nIncreible puntuaci\u00F3n!! Pero no la mejor...";
} else if (_root.score > 7) {
rank = "Promedio.\nCasi en la cima, m\u00E1s esfuerzo y llegar\u00E1s.";
} else if (_root.score > 4) {
rank = "Principiante.\nJuega los clasicos, son la base de todo!!";
} else if (_root.score > 0) {
rank = "n00b.\nKPM? Al menos sabes ke es LOZ?";
} else if (_root.score == 0) {
rank = "???.\nDEBES JUGAR LOZ!!1! YA!!!";
}
if (_global.xcore[2] == undefined) {
_global.xcore[2] = _root.score;
} else if (_root.score > _global.xcore[2]) {
_global.xcore[2] = _root.score;
}
} else {
if (_root.score == 11) {
rank = "Zelda Guru.\nj00 R tha l33+!!11!";
_global.specialf = true;
} else if (_root.score > 9) {
rank = "Veteran.\nJust plain awesome score!! But it's not the best...";
} else if (_root.score > 7) {
rank = "Average.\nAlmost in the top, try harder to get there.";
} else if (_root.score > 4) {
rank = "Beginer.\nPlay the classics, they are the basis of everything!!";
} else if (_root.score > 0) {
rank = "n00b.\nWTF? Do you know at least what LOZ is?";
} else if (_root.score == 0) {
rank = "???.\nYOU MUST PLAY LOZ!!1! NOW!!!";
}
if (_global.xcore[2] == undefined) {
_global.xcore[2] = _root.score;
} else if (_root.score > _global.xcore[2]) {
_global.xcore[2] = _root.score;
}
}
_root.max = length(rank);
loop = loop + 1;
_root.adv = substring(rank, 1, loop);
}
Instance of Symbol 236 MovieClip in Frame 8905
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.zon)) {
_root.zon = false;
if (_global.ev_game == "rool") {
_global.ev_game = "";
_root.gkplay(1);
} else {
_global.ev_game = "";
_root.gkplay(2);
}
}
}
Frame 8906
if (loop > max) {
this.stop();
_root.zon = true;
} else {
gotoAndPlay (8905);
}
Frame 8907
function fading() {
clearInterval(_root.fading_batt);
}
function reset_batt() {
clearInterval(_root.resseting);
}
batt = new Sound();
batt.attachSound("kh_df_edit");
batt.setVolume(80);
batt.onSoundComplete = function () {
batt.start();
};
batt.start();
function goto_scene(x) {
_root.msfx = new Sound();
_root.msfx.attachSound("kh_select");
_root.msfx.start();
if (x == 0) {
_global.initial = undefined;
gotoAndPlay (7501);
} else if (_global.boss_f == "poyo") {
_global.boss_f = "";
_root.bs_link.unloadMovie();
gotoAndPlay (5460);
} else if (_global.boss_f == "bowser") {
_global.boss_f = "";
_root.bs_link.unloadMovie();
gotoAndPlay (5602);
} else if (_global.boss_f == "rool") {
_global.boss_f = "";
_root.bs_link.unloadMovie();
gotoAndPlay (5775);
} else if (_global.boss_f == "viejo") {
_global.boss_f = "";
_root.bs_link.unloadMovie();
gotoAndPlay (5934);
} else if (_global.fromw == 1) {
gotoAndPlay (8791);
} else if (_global.fromw == 2) {
gotoAndPlay (8792);
} else if (_global.fromw == 3) {
gotoAndStop (8793);
} else if (_global.fromw == 4) {
gotoAndStop (8794);
} else if (_global.fromw == 7) {
_global.unlockmode.secrettrailer = true;
gotoAndPlay (7501);
}
}
function loading() {
l_time_lay._visible = true;
l_time._width = (l_time._width + (fst / 10)) + (_global.link[3][5] * 2);
l_time._height = (l_time._height + (fst / 10)) + (_global.link[3][5] * 2);
e_time._width = (e_time._width + fst) + (_global.enemy[_global.n][6] * 2);
if ((l_time._width > _global.ltime) && (l_time._height > _global.ltime)) {
lmenu();
_global.turns = _global.turns + 1;
if (_global.resdef) {
_global.link[3][3] = _global.link[3][3] - 4;
_global.resdef = false;
}
fprecov = fprecov + 1;
if (fprecov == 5) {
fprecov = 0;
_global.link[2][1] = _global.link[2][1] + 1;
if (_global.link[2][1] > _global.link[2][0]) {
_global.link[2][1] = _global.link[2][0];
}
heal = _global.link[2][1] / _global.link[2][0];
l_fp_bar._width = heal * _global.fpbar;
}
_global.standby = true;
l_time._width = 0;
l_time._height = 0;
} else if (e_time._width > _global.etime) {
_global.standby = true;
this[_global.enemy[_global.n][0]].gotoAndPlay(2);
e_time._width = 0;
}
}
function enem_lvup() {
_global.enemy[_global.n][2] = _global.enemy[_global.n][2] + (4 * _global.link[0][0]);
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] + (4 * _global.link[0][0]);
_global.enemy[_global.n][4] = _global.enemy[_global.n][4] + (4 * _global.link[0][0]);
_global.enemy[_global.n][5] = _global.enemy[_global.n][5] + (4 * _global.link[0][0]);
_global.enemy[_global.n][7] = _global.enemy[_global.n][7] + (5 * _global.link[0][0]);
_global.enemy[_global.n][8] = _global.enemy[_global.n][8] + (4 * _global.link[0][0]);
}
function lmenu() {
l_time_lay._visible = false;
attachMovie("ad_set", "ad_set", 1);
ad_set._x = 104.9;
ad_set._y = 113.2;
_global.link_atk = true;
}
function attack(who) {
if (who == "link") {
_root.wrrior = _root.wrrior + 1;
bs_link.gotoAndPlay(10);
bs_link.stop();
trace("link attacked");
dmg = _global.link[3][1] - _global.enemy[_global.n][5];
if (dmg > 0) {
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] - dmg;
attachMovie("ad_atk", "ad_atk", 1);
ad_atk._x = 108;
ad_atk._y = 113.7;
} else {
_root.attachMovie("ad_nodmg", "ad_nodmg", 15);
_root.ad_nodmg._x = 230;
_root.ad_nodmg._y = 113.7;
trace("No Damage!");
}
perc = _global.enemy[3] / _global.enemy[2];
trace(((("Enemy HP:" + _global.enemy[_global.n][3]) + "/") + _global.enemy[_global.n][2]) + newline);
e_heart();
if (_global.enemy[_global.n][3] <= 0) {
attachMovie("ad_pwned", "ad_pwned", 3);
ad_pwned._x = 263;
ad_pwned._y = 86;
e_time._width = 0;
_global.battle_over = true;
trace("END");
}
} else if (who == "enemy") {
attachMovie("hit", "hit", 3);
hit._x = 140.2;
hit._y = 182.2;
hit._width = 30.4;
hit._height = 33.6;
bs_link.gotoAndStop(13);
dmg = _global.enemy[_global.n][4] - _global.link[3][3];
if (dmg >= 0) {
_global.link[1][1] = _global.link[1][1] - dmg;
} else {
trace("No Damage!");
}
perc = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = perc * _global.hpbar;
trace("enemy attacked");
trace(((("Link HP:" + _global.link[1][1]) + "/") + _global.link[1][0]) + newline);
_global.standby = false;
if ((_global.link[1][1] <= 0) && (rev == 1)) {
rev = 0;
_root.attachMovie("up_rev", "up_rev", 101);
_root.up_rev._x = 125.5;
_root.up_rev._y = 168.3;
_global.link[1][1] = Math.round(_global.link[1][0] / 2);
perc = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = perc * _global.hpbar;
} else if ((_global.link[1][1] <= 0) && (rev == 2)) {
rev = 0;
_root.attachMovie("up_rev", "up_rev", 101);
_root.up_rev._x = 125.5;
_root.up_rev._y = 168.3;
_global.link[1][1] = _global.link[1][0];
perc = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = perc * _global.hpbar;
} else if (_global.link[1][1] <= 0) {
hit.unloadMovie();
l_hp_bar._visible = false;
l_time_lay._visible = false;
this[_global.enemy[_global.n][0]].unloadMovie();
l_time._width = 0;
l_time._height = 0;
bs_link.gotoAndStop(7);
if (_global.idi == 1) {
gotoAndStop (8910);
} else if (_global.idi == 2) {
gotoAndStop (8909);
}
_global.battle_over = true;
trace("END");
}
} else {
trace("error in the attacking function");
}
}
function e_heart() {
perc_h = (_global.enemy[_global.n][3] / _global.enemy[_global.n][2]) * 100;
if (perc_h > 70) {
return(undefined);
}
if (perc_h > 40) {
heart.gotoAndPlay(8);
} else if (perc_h > 0) {
heart.gotoAndPlay(17);
} else if (perc_h <= 0) {
heart.gotoAndPlay(28);
this[_global.enemy[_global.n][0]].gotoAndStop(3);
}
}
function attach_link() {
_root.attachMovie("bs_link_sp", "bs_link", 100);
_root.bs_link._width = 67.2;
_root.bs_link._height = 96;
_root.bs_link._x = 142.8;
_root.bs_link._y = 186;
_root.bs_link.gotoAndPlay(8);
}
function attach_enemy() {
attachMovie(_global.enemy[_global.n][0], _global.enemy[_global.n][0], 0);
this[_global.enemy[_global.n][0]].gotoAndStop(1);
this[_global.enemy[_global.n][0]]._x = _global.enemy[_global.n][13];
this[_global.enemy[_global.n][0]]._y = _global.enemy[_global.n][14];
this[_global.enemy[_global.n][0]]._width = _global.enemy[_global.n][11];
this[_global.enemy[_global.n][0]]._height = _global.enemy[_global.n][12];
}
function def() {
_root.warrior = false;
_root.defender = _root.defender + 1;
_global.resdef = true;
attachMovie("ad_def", "ad_def", 3);
ad_def._x = 142;
ad_def._y = 118.7;
bs_link.gotoAndStop(1);
bs_link.gotoAndStop(11);
_global.link[3][3] = _global.link[3][3] + 4;
trace("Defence");
}
function item_menu() {
sfx = new Sound();
sfx.attachSound("menu open");
sfx.start();
if (_global.idi == 1) {
df = "Usar Item";
cf = "Cancelar";
} else {
df = "Use Item";
cf = "Cancel";
}
_global.link_atk = false;
attachMovie("list_layer", "list_layer", 2);
list_layer._x = 10.5;
list_layer._y = 80;
createClassObject(mx.controls.List, "item_list", 5);
item_list.setSize(89.3, 76);
item_list._x = 15.2;
item_list._y = 86.3;
item_list.backgroundColor = 12369084 /* 0xBCBCBC */;
item_list.borderColor = 16777215 /* 0xFFFFFF */;
item_list.borderStyle = "outset";
item_list.textSelectedColor = 16777215 /* 0xFFFFFF */;
item_list.selectionColor = 10790052 /* 0xA4A4A4 */;
item_list.disabledColor = 16777215 /* 0xFFFFFF */;
item_list.rollOverColor = 10790052 /* 0xA4A4A4 */;
item_list.fontWeight = "bold";
i = 0;
while (i <= (_global.itembag.length - 1)) {
if (_global.itembag[i][2] > 0) {
item_list.addItem(_global.itembag[i][0], _global.itembag[i][1]);
}
i = i + 1;
}
if (item_list.length == 0) {
if (_global.idi == 1) {
item_list.addItem("VACIO");
} else {
item_list.addItem("EMPTY");
}
}
item_list.setFocus();
item_list.addEventListener("keyDown", select_item);
}
function select_item() {
if (Key.isDown(68)) {
if ((item_list.selectedItem.label != "VACIO") || (item_list.selectedItem.label != "EMPTY")) {
_root.itemsused = _root.itemsused + 1;
_root.warrior = false;
}
use_item(item_list.selectedItem.label);
} else if (Key.isDown(67)) {
sfx = new Sound();
sfx.attachSound("menu close");
sfx.start();
destroyObject("item_list");
list_layer.unloadMovie();
_global.link_atk = true;
df = "";
cf = "";
}
}
function battle_results() {
init.unloadMovie();
lvup_true = stat_sum();
if (lvup_true == 1) {
exp_got = _global.enemy[_global.n][8];
exp_total = _global.link[0][1];
exp_nlev = _global.link[0][2] - exp_total;
rupies_got = _global.enemy[_global.n][7];
if (_global.idi == 1) {
brd = (((((((((("NUEVO NIVEL! : " + _global.link[0][0]) + newline) + "Experiencia Adkirida:\n>> ") + exp_got) + " XP") + "\nSiguiente Nivel:\n>> ") + exp_nlev) + " XP") + "\nRupias Ke El Enemigo\nIngeri\u00F3:\n>> ") + rupies_got) + " rupias";
} else {
brd = (((((((((("LEVEL UP! : " + _global.link[0][0]) + newline) + "Experience Accired:\n>> ") + exp_got) + " XP") + "\nTo Next Level:\n>> ") + exp_nlev) + " XP") + "\nRupies The Enemy\nIngested:\n>> ") + rupies_got) + " rupies";
}
} else {
exp_got = _global.enemy[_global.n][8];
exp_total = _global.link[0][1];
exp_nlev = _global.link[0][2] - exp_total;
rupies_got = _global.enemy[_global.n][7];
if (_global.idi == 1) {
brd = ((((((("Experiencia Adkirida:\n>> " + exp_got) + " XP") + "\nSiguiente Nivel:\n>> ") + exp_nlev) + " XP") + "\nRupias Ke El Enemigo\nIngeri\u00F3:\n>> ") + rupies_got) + " rupias";
} else {
brd = ((((((("Experience Accired:\n>> " + exp_got) + " XP") + "\nTo Next Level:\n>> ") + exp_nlev) + " XP") + "\nRupies The Enemy\nIngested:\n>> ") + rupies_got) + " rupies";
}
}
}
function stat_sum() {
_global.link[0][1] = _global.link[0][1] + _global.enemy[_global.n][8];
if (_global.link[0][1] >= (_global.link[0][2] * 2)) {
_global.link[0][0] = _global.link[0][0] + 2;
_global.link[0][1] = _global.link[0][1] - _global.link[0][2];
_global.link[0][2] = _global.link[0][2] + 200;
_global.link[1][0] = _global.link[1][0] + 10;
_global.link[2][0] = _global.link[2][0] + 4;
_global.link[3][0] = _global.link[3][0] + 8;
_global.link[3][2] = _global.link[3][2] + 8;
_global.link[3][4] = _global.link[3][4] + 0.02;
_global.link[3][6] = _global.link[3][6] + _global.enemy[_global.n][7];
_global.link[3][1] = _global.link[3][0];
_global.link[3][3] = _global.link[3][2];
_global.link[3][5] = _global.link[3][4];
return(1);
}
if (_global.link[0][1] >= _global.link[0][2]) {
_global.link[0][0] = _global.link[0][0] + 1;
_global.link[0][1] = _global.link[0][1] - _global.link[0][2];
_global.link[0][2] = _global.link[0][2] + 100;
_global.link[1][0] = _global.link[1][0] + 5;
_global.link[2][0] = _global.link[2][0] + 2;
_global.link[3][0] = _global.link[3][0] + 4;
_global.link[3][2] = _global.link[3][2] + 4;
_global.link[3][4] = _global.link[3][4] + 0.01;
_global.link[3][6] = _global.link[3][6] + _global.enemy[_global.n][7];
_global.link[3][1] = _global.link[3][0];
_global.link[3][3] = _global.link[3][2];
_global.link[3][5] = _global.link[3][4];
return(1);
}
_global.link[3][6] = _global.link[3][6] + _global.enemy[_global.n][7];
return(0);
}
function tech_menu() {
sfx = new Sound();
sfx.attachSound("menu open");
sfx.start();
if (_global.idi == 1) {
df = "Usar Teknika";
cf = "Cancelar";
} else {
df = "Use Technique";
cf = "Cancel";
}
_global.link_atk = false;
attachMovie("list_layer", "list_layer", 2);
list_layer._x = 10.5;
list_layer._y = 80;
createClassObject(mx.controls.List, "tech_list", 5);
tech_list.setSize(89.3, 76);
tech_list._x = 15.2;
tech_list._y = 86.3;
tech_list.backgroundColor = 12369084 /* 0xBCBCBC */;
tech_list.borderColor = 16777215 /* 0xFFFFFF */;
tech_list.borderStyle = "outset";
tech_list.textSelectedColor = 16777215 /* 0xFFFFFF */;
tech_list.selectionColor = 10790052 /* 0xA4A4A4 */;
tech_list.disabledColor = 16777215 /* 0xFFFFFF */;
tech_list.rollOverColor = 10790052 /* 0xA4A4A4 */;
tech_list.fontWeight = "bold";
i = 0;
while (i <= (_global.techlist.length - 1)) {
tech_list.addItem(_global.techlist[i][0], _global.techlist[i][1]);
i = i + 1;
}
tech_list.setFocus();
tech_list.addEventListener("keyDown", select_tech);
}
function select_tech() {
if (Key.isDown(68)) {
df = "";
cf = "";
use_tech(tech_list.selectedItem.label);
} else if (Key.isDown(67)) {
sfx = new Sound();
sfx.attachSound("menu close");
sfx.start();
destroyObject("tech_list");
list_layer.unloadMovie();
_global.link_atk = true;
df = "";
cf = "";
}
}
function use_item(itemx) {
switch (itemx) {
case "Milk" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start();
_global.itembag[0][2] = _global.itembag[0][2] - 1;
_global.link[1][1] = _global.link[1][1] + 50;
if (_global.link[1][1] > _global.link[1][0]) {
_global.link[1][1] = _global.link[1][0];
}
heal = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = heal * _global.hpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Tha Milk");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "Milk [A]" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start(0, 2);
_global.itembag[1][2] = _global.itembag[1][2] - 1;
_global.link[1][1] = _global.link[1][1] + 100;
if (_global.link[1][1] > _global.link[1][0]) {
_global.link[1][1] = _global.link[1][0];
}
heal = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = heal * _global.hpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Tha Supa Milk");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "Milk [S]" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start(0, 3);
_global.itembag[2][2] = _global.itembag[2][2] - 1;
_global.link[1][1] = _global.link[1][1] + 150;
if (_global.link[1][1] > _global.link[1][0]) {
_global.link[1][1] = _global.link[1][0];
}
heal = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = heal * _global.hpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Tha ULTRA Milk");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "G.Potion" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start();
_global.itembag[3][2] = _global.itembag[3][2] - 1;
_global.link[2][1] = _global.link[2][1] + 10;
if (_global.link[2][1] > _global.link[2][0]) {
_global.link[2][1] = _global.link[2][0];
}
heal = _global.link[2][1] / _global.link[2][0];
l_fp_bar._width = heal * _global.fpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Green Stuff");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "R.Potion" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start(0, 2);
_global.itembag[4][2] = _global.itembag[4][2] - 1;
_global.link[2][1] = _global.link[2][1] + 20;
if (_global.link[2][1] > _global.link[2][0]) {
_global.link[2][1] = _global.link[2][0];
}
heal = _global.link[2][1] / _global.link[2][0];
l_fp_bar._width = heal * _global.fpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Red Stuff");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "B.Potion" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start(0, 3);
_global.itembag[5][2] = _global.itembag[5][2] - 1;
_global.link[2][1] = _global.link[2][1] + 30;
if (_global.link[2][1] > _global.link[2][0]) {
_global.link[2][1] = _global.link[2][0];
}
heal = _global.link[2][1] / _global.link[2][0];
l_fp_bar._width = heal * _global.fpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Blue Stuff");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "G.Skin" :
sfx = new Sound();
sfx.attachSound("heal1");
sfx.start();
_global.itembag[6][2] = _global.itembag[6][2] - 1;
_global.link[3][1] = _global.link[3][1] + 5;
_root.attachMovie("up_atk", "up_atk", 101);
_root.up_atk._x = 125.5;
_root.up_atk._y = 168.3;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Fury On!!");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "D.Claw" :
sfx = new Sound();
sfx.attachSound("heal1");
sfx.start(0, 2);
_global.itembag[7][2] = _global.itembag[7][2] - 1;
_global.link[3][1] = _global.link[3][1] + 10;
_root.attachMovie("up_atk", "up_atk", 101);
_root.up_atk._x = 125.5;
_root.up_atk._y = 168.3;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("On Fire!!");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "SilverRing" :
sfx = new Sound();
sfx.attachSound("refill item");
sfx.start();
_global.itembag[8][2] = _global.itembag[8][2] - 1;
_global.link[3][3] = _global.link[3][3] + 5;
_root.attachMovie("up_def", "up_def", 101);
_root.up_def._x = 125.5;
_root.up_def._y = 168.3;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Silver Defense!!");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "GoldRing" :
sfx = new Sound();
sfx.attachSound("refill item");
sfx.start();
_global.itembag[9][2] = _global.itembag[9][2] - 1;
_global.link[3][3] = _global.link[3][3] + 10;
_root.attachMovie("up_def", "up_def", 101);
_root.up_def._x = 125.5;
_root.up_def._y = 168.3;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Golden Defense!!");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "Leche" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start();
_global.itembag[0][2] = _global.itembag[0][2] - 1;
_global.link[1][1] = _global.link[1][1] + 50;
if (_global.link[1][1] > _global.link[1][0]) {
_global.link[1][1] = _global.link[1][0];
}
heal = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = heal * _global.hpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Tha Milk");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "Leche [A]" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start(0, 2);
_global.itembag[1][2] = _global.itembag[1][2] - 1;
_global.link[1][1] = _global.link[1][1] + 100;
if (_global.link[1][1] > _global.link[1][0]) {
_global.link[1][1] = _global.link[1][0];
}
heal = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = heal * _global.hpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Tha Supa Milk");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "Leche [S]" :
sfx = new Sound();
sfx.attachSound("heart_q");
sfx.start(0, 3);
_global.itembag[2][2] = _global.itembag[2][2] - 1;
_global.link[1][1] = _global.link[1][1] + 150;
if (_global.link[1][1] > _global.link[1][0]) {
_global.link[1][1] = _global.link[1][0];
}
heal = _global.link[1][1] / _global.link[1][0];
l_hp_bar._width = heal * _global.hpbar;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Tha ULTRA Milk");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "Rvive" :
sfx = new Sound();
sfx.attachSound("refill item");
sfx.start();
_root.attachMovie("up_rev", "up_rev", 101);
_root.up_rev._x = 125.5;
_root.up_rev._y = 168.3;
_global.itembag[12][2] = _global.itembag[12][2] - 1;
rev = 1;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Extra Chance");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "Rvive DX" :
sfx = new Sound();
sfx.attachSound("refill item");
sfx.start();
_root.attachMovie("up_rev", "up_rev", 101);
_root.up_rev._x = 125.5;
_root.up_rev._y = 168.3;
_global.itembag[13][2] = _global.itembag[13][2] - 1;
rev = 2;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Extra Chance ++");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "K.Boots" :
sfx = new Sound();
sfx.attachSound("refill item");
sfx.start();
_root.attachMovie("up_spd", "up_spd", 101);
_root.up_spd._x = 125.5;
_root.up_spd._y = 168.3;
_global.itembag[10][2] = _global.itembag[10][2] - 1;
_global.link[3][5] = _global.link[3][5] + 0.05;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Sound Speed");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "P.Boots" :
sfx = new Sound();
sfx.attachSound("refill item");
sfx.start();
_root.attachMovie("up_spd", "up_spd", 101);
_root.up_spd._x = 125.5;
_root.up_spd._y = 168.3;
_global.itembag[11][2] = _global.itembag[11][2] - 1;
_global.link[3][5] = _global.link[3][5] + 0.1;
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Light Speed");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
break;
case "M.Cape" :
if ((_global.boss_f == "") || (_global.boss_f == undefined)) {
_global.itembag[14][2] = _global.itembag[14][2] - 1;
if (_global.resdef) {
_global.link[3][3] = _global.link[3][3] - 4;
_global.resdef = false;
}
_global.link[3][1] = _global.link[3][0];
_global.link[3][3] = _global.link[3][2];
_global.link[3][5] = _global.link[3][4];
_root.batt.stop();
_root.vict.stop();
_root.field.setVolume(100);
ert = false;
_root[_global.enemy[_global.n][0]].unloadMovie();
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.bs_link.unloadMovie();
stopAllSounds();
item_list.unloadMovie();
list_layer.unloadMovie();
_root.goto_scene();
} else {
item_list.unloadMovie();
list_layer.unloadMovie();
trace("Invisible!");
df = "";
cf = "";
_global.standby = false;
_global.link_atk = false;
}
break;
case "VACIO" :
_global.link_atk = true;
item_list.unloadMovie();
list_layer.unloadMovie();
case "EMPTY" :
_global.link_atk = true;
item_list.unloadMovie();
list_layer.unloadMovie();
default :
trace("No Item!");
}
}
function use_tech(which) {
switch (which) {
case "DeepStab" :
_root.fenc = _root.fenc + 1;
tech_list.unloadMovie();
list_layer.unloadMovie();
bs_link.gotoAndStop(14);
break;
case "Kamikaze" :
_root.fenc = _root.fenc + 1;
tech_list.unloadMovie();
list_layer.unloadMovie();
bs_link.gotoAndStop(15);
break;
case "BorealSpin" :
_root.fenc = _root.fenc + 1;
tech_list.unloadMovie();
list_layer.unloadMovie();
bs_link.gotoAndStop(16);
break;
case "TwinStike" :
_root.fenc = _root.fenc + 1;
tech_list.unloadMovie();
list_layer.unloadMovie();
bs_link.gotoAndStop(17);
break;
case "Downtrusth" :
_root.fenc = _root.fenc + 1;
tech_list.unloadMovie();
list_layer.unloadMovie();
bs_link.gotoAndStop(18);
break;
case "XpinAttack" :
_root.fenc = _root.fenc + 1;
tech_list.unloadMovie();
list_layer.unloadMovie();
bs_link.gotoAndStop(19);
}
}
fst = 0.1;
fprecov = 0;
stop();
Instance of Symbol 340 MovieClip "bs_init" in Frame 8907
onClipEvent (load) {
_root.attach_link();
_global.turns = 0;
trace((_global.link[3][1] + "_") + _global.link[3][3]);
if (_global.hard) {
_global.enemy = [["bs_slug_sp", "Sluggula", 30, 30, 10, -2, 1.1, 45, 50, 0, 0, 69.1, 76.8, 305.4, 189.6], ["bs_okto_sp", "Octorok", 50, 50, 12, -2, 1.1, 65, 65, 0, 0, 74.5, 53.8, 330.4, 188.7], ["bs_cucco_sp", "Cucco", 60, 60, 18, -1, 1.3, 130, 120, 0, 0, 52, 50, 317.3, 167.3], ["bs_chuchu_sp", "ChuChu", 80, 80, 15, 3, 1.1, 145, 125, 0, 0, 56.6, 41, 323.1, 205.6], ["bs_keaton_sp", "Keaton", 100, 100, 20, 0, 1.4, 195, 150, 0, 0, 74.3, 71.7, 322.9, 174.2], ["bs_moblin_sp", "Moblin", 120, 120, 26, -2, 1.1, 210, 170, 0, 0, 127.8, 103.3, 290, 170], ["bs_cucco_sp", "Giga Poyo", 250, 250, 17, 0, 1.1, 200, 100, 0, 0, 104, 100, 285.3, 131.3], ["bs_bowser_sp", "Bowser", 350, 350, 22, 0, 1.3, 300, 200, 0, 0, 94.7, 128, 295.8, 163], ["bs_krool_sp", "K. Rool", 350, 350, 25, -2, 1.1, 400, 300, 0, 0, 115.8, 115.8, 298.1, 170.2], ["bs_viejo_sp", "el Viejo", 400, 400, 29, 0, 1.3, 500, 400, 0, 0, 144.8, 148.3, 292.9, 153.8], ["unknown_sp", "????", 600, 600, 50, 10, 1.6, 0, 0, 0, 0, 74, 158, 295.3, 156.3]];
} else {
_global.enemy = [["bs_slug_sp", "Sluggula", 30, 30, 10, -2, 1.1, 45, 50, 0, 0, 69.1, 76.8, 305.4, 189.6], ["bs_okto_sp", "Octorok", 50, 50, 12, -2, 1.1, 65, 65, 0, 0, 74.5, 53.8, 330.4, 188.7], ["bs_cucco_sp", "Cucco", 40, 40, 14, -1, 1.2, 130, 120, 0, 0, 52, 50, 317.3, 167.3], ["bs_chuchu_sp", "ChuChu", 30, 30, 12, 3, 1.1, 145, 125, 0, 0, 56.6, 41, 323.1, 205.6], ["bs_keaton_sp", "Keaton", 70, 70, 14, 0, 1.4, 195, 150, 0, 0, 74.3, 71.7, 322.9, 174.2], ["bs_moblin_sp", "Moblin", 40, 40, 20, -2, 1.1, 210, 170, 0, 0, 127.8, 103.3, 290, 170], ["bs_cucco_sp", "Giga Poyo", 200, 200, 17, 0, 1.1, 200, 100, 0, 0, 104, 100, 285.3, 131.3], ["bs_bowser_sp", "Bowser", 250, 250, 18, 0, 1.1, 300, 200, 0, 0, 94.7, 128, 295.8, 163], ["bs_krool_sp", "K. Rool", 300, 300, 20, -2, 1.1, 400, 300, 0, 0, 115.8, 115.8, 298.1, 170.2], ["bs_viejo_sp", "el Viejo", 350, 350, 25, 0, 1.2, 500, 400, 0, 0, 144.8, 148.3, 292.9, 153.8], ["unknown_sp", "????", 500, 500, 35, 10, 1.3, 0, 0, 0, 0, 74, 158, 295.3, 156.3]];
}
_root.enem_lvup();
_root.itemsused = 0;
_root.fenc = 0;
_root.wrrior = 0;
_root.defender = 0;
_global.ltime = 39.4;
_global.etime = 85;
_global.hpbar = _root.l_hp_bar._width;
_global.fpbar = _root.l_fp_bar._width;
_root.l_time._width = 0;
_root.l_time._height = 0;
_root.e_time._width = 0;
_root.bs_link.gotoAndStop(8);
_root.e_name = _global.enemy[_global.n][1];
_root.attach_enemy();
_global.standby = false;
_global.battle_over = false;
iperc = _global.link[1][1] / _global.link[1][0];
_root.l_hp_bar._width = iperc * _global.hpbar;
ifp = _global.link[2][1] / _global.link[2][0];
_root.l_fp_bar._width = ifp * _global.fpbar;
_root.df = "";
_root.cf = "";
}
onClipEvent (enterFrame) {
if (_global.battle_over == false) {
if (_global.standby == false) {
_root.loading();
}
if (_global.link_atk == true) {
if (Key.isDown(65)) {
_global.link_atk = false;
_root.item_menu();
} else if (Key.isDown(83)) {
_global.link_atk = false;
_root.def();
} else if (Key.isDown(88)) {
_global.link_atk = false;
_root.tech_menu();
} else if (Key.isDown(90)) {
_global.link_atk = false;
_root.attack("link");
}
} else if (_global.battle_over == true) {
_root.Stop();
}
}
}
Frame 8908
function style() {
if ((_global.link[1][0] == _global.link[1][1]) && (_global.link[2][0] == _global.link[2][1])) {
if (_global.idi == 1) {
sty = "Tu Est\u00EDlo:";
sty2 = "Leyenda";
} else {
sty = "Your Style:";
sty2 = "Legend";
}
_global.xtyle.leg = _global.xtyle.leg + 1;
if (_global.best[0] == "") {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.leg;
} else if (_global.xtyle.leg > _global.best[1]) {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.leg;
}
} else if (_global.link[1][0] == _global.link[1][1]) {
if (_global.idi == 1) {
sty = "Tu Est\u00EDlo:";
sty2 = "Asesino";
} else {
sty = "Your Style:";
sty2 = "Assassin";
}
_global.xtyle.ass = _global.xtyle.ass + 1;
if (_global.best[0] == "") {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.ass;
} else if (_global.xtyle.ass > _global.best[1]) {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.ass;
}
} else if (_root.itemsused >= 3) {
if (_global.idi == 1) {
sty = "Tu Est\u00EDlo:";
sty2 = "Alquimista";
} else {
sty = "Your Style:";
sty2 = "Alchemist";
}
_global.xtyle.alc = _global.xtyle.alc + 1;
if (_global.best[0] == "") {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.alc;
} else if (_global.xtyle.alc > _global.best[1]) {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.alc;
}
} else if ((_root.defender / _global.turns) > 0.6) {
if (_global.idi == 1) {
sty = "Tu Est\u00EDlo:";
sty2 = "Defensor";
} else {
sty = "Your Style:";
sty2 = "Defender";
}
_global.xtyle.def = _global.xtyle.def + 1;
if (_global.best[0] == "") {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.def;
} else if (_global.xtyle.def > _global.best[1]) {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.def;
}
} else if ((_root.fenc / _global.turns) >= 0.1) {
if (_global.idi == 1) {
sty = "Tu Est\u00EDlo:";
sty2 = "Esgrimista";
} else {
sty = "Your Style:";
sty2 = "Fencer";
}
_global.xtyle.fnr = _global.xtyle.fnr + 1;
if (_global.best[0] == "") {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.fnr;
} else if (_global.xtyle.fnr > _global.best[1]) {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.fnr;
}
} else if ((_root.wrrior / _global.turns) > 0.7) {
if (_global.idi == 1) {
sty = "Tu Est\u00EDlo:";
sty2 = "Guerrero";
} else {
sty = "Your Style:";
sty2 = "Warrior";
}
_global.xtyle.wrr = _global.xtyle.wrr + 1;
if (_global.best[0] == "") {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.wrr;
} else if (_global.xtyle.wrr > _global.best[1]) {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.wrr;
}
} else {
if (_global.idi == 1) {
sty = "Tu Est\u00EDlo:";
sty2 = "Soldado";
} else {
sty = "Your Style:";
sty2 = "Soldier";
}
_global.xtyle.sol = _global.xtyle.sol + 1;
if (_global.best[0] == "") {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.sol;
} else if (_global.xtyle.sol > _global.best[1]) {
_global.best[0] = sty2;
_global.best[1] = _global.xtyle.sol;
}
}
}
this.stop();
style();
if (_global.resdef) {
_global.link[3][3] = _global.link[3][3] - 4;
_global.resdef = false;
}
_global.link[3][1] = _global.link[3][0];
_global.link[3][3] = _global.link[3][2];
_global.link[3][5] = _global.link[3][4];
Instance of Symbol 236 MovieClip in Frame 8908
onClipEvent (enterFrame) {
if (Key.isDown(90) && (ert)) {
_root.vict.stop();
_root.field.setVolume(100);
ert = false;
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.bs_link.unloadMovie();
stopAllSounds();
_root.goto_scene();
}
}
onClipEvent (load) {
_root.batt.stop();
ert = true;
_root.vict = new Sound();
_root.vict.attachSound("mmbn3");
_root.vict.setVolume(50);
_root.vict.start(1, 0.5);
}
Frame 8909
batt.stop();
lost1 = new Sound();
lost1.attachSound("zelda_menu");
lost1.onSoundComplete = function () {
lost1.start();
};
lost1.start();
this.stop();
_global.customp = false;
trace(_global.idi);
Instance of Symbol 236 MovieClip in Frame 8909
onClipEvent (enterFrame) {
if (Key.isDown(90) && (_root.sdf)) {
_root.sdf = false;
_global.paused = false;
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_root.bs_link.unloadMovie();
stopAllSounds();
if (_global.fromw == 7) {
_root.goto_scene();
} else {
_root.goto_scene(0);
}
}
}
onClipEvent (load) {
_root.sdf = true;
}
Frame 8910
lost1 = new Sound();
lost1.attachSound("zelda_menu");
lost1.onSoundComplete = function () {
lost1.start();
};
lost1.start();
this.stop();
_global.customp = false;
trace(_global.idi);
Symbol 12 MovieClip [DataProvider] Frame 1
#initclip 40
Object.registerClass("DataProvider", mx.controls.listclasses.DataProvider);
#endinitclip
stop();
Symbol 13 MovieClip [DataSelector] Frame 1
#initclip 41
Object.registerClass("DataSelector", mx.controls.listclasses.DataSelector);
#endinitclip
stop();
Symbol 14 MovieClip [Defaults] Frame 1
#initclip 42
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 15 MovieClip [UIObjectExtensions] Frame 1
#initclip 43
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 16 MovieClip [UIObject] Frame 1
#initclip 44
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 19 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 20 MovieClip [FocusRect] Frame 1
#initclip 45
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 21 MovieClip [FocusManager] Frame 1
#initclip 46
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 22 MovieClip [UIComponentExtensions] Frame 1
#initclip 47
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 23 MovieClip [UIComponent] Frame 1
#initclip 48
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 24 MovieClip [SelectableRow] Frame 1
#initclip 49
Object.registerClass("SelectableRow", mx.controls.listclasses.SelectableRow);
#endinitclip
stop();
Symbol 26 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 28 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 31 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 33 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 36 MovieClip [SimpleButton] Frame 1
#initclip 50
Object.registerClass("SimpleButton", mx.controls.SimpleButton);
#endinitclip
stop();
Symbol 37 MovieClip [Border] Frame 1
#initclip 51
Object.registerClass("Border", mx.skins.Border);
#endinitclip
stop();
Symbol 38 MovieClip [RectBorder] Frame 1
#initclip 52
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass("RectBorder", mx.skins.halo.RectBorder);
#endinitclip
stop();
Symbol 39 MovieClip [ButtonSkin] Frame 1
#initclip 53
Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin);
#endinitclip
Symbol 40 MovieClip [Button] Frame 1
#initclip 54
Object.registerClass("Button", mx.controls.Button);
#endinitclip
stop();
Instance of Symbol 36 MovieClip [SimpleButton] in Symbol 40 MovieClip [Button] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 41 MovieClip [CustomBorder] Frame 1
#initclip 55
Object.registerClass("CustomBorder", mx.skins.CustomBorder);
mx.skins.SkinElement.registerElement("CustomBorder", mx.skins.CustomBorder);
#endinitclip
Symbol 53 MovieClip [ScrollThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 55 MovieClip [ScrollThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 66 MovieClip [ThumbThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 68 MovieClip [ThumbThemeColor3] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 75 MovieClip [ThumbThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 96 MovieClip [BtnDownArrow] Frame 1
#initclip 56
Object.registerClass("BtnDownArrow", mx.controls.SimpleButton);
#endinitclip
Symbol 97 MovieClip [BtnUpArrow] Frame 1
#initclip 57
Object.registerClass("BtnUpArrow", mx.controls.SimpleButton);
#endinitclip
Symbol 99 MovieClip [HScrollBar] Frame 1
#initclip 58
Object.registerClass("HScrollBar", mx.controls.HScrollBar);
#endinitclip
stop();
Instance of Symbol 40 MovieClip [Button] in Symbol 99 MovieClip [HScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
icon = "";
label = "Button";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Instance of Symbol 36 MovieClip [SimpleButton] in Symbol 99 MovieClip [HScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 100 MovieClip [VScrollBar] Frame 1
#initclip 59
Object.registerClass("VScrollBar", mx.controls.VScrollBar);
#endinitclip
stop();
Instance of Symbol 40 MovieClip [Button] in Symbol 100 MovieClip [VScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
icon = "";
label = "Button";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Instance of Symbol 36 MovieClip [SimpleButton] in Symbol 100 MovieClip [VScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 101 MovieClip [View] Frame 1
#initclip 60
Object.registerClass("View", mx.core.View);
#endinitclip
stop();
Symbol 102 MovieClip [ScrollView] Frame 1
#initclip 61
Object.registerClass("ScrollView", mx.core.ScrollView);
#endinitclip
stop();
Instance of Symbol 99 MovieClip [HScrollBar] in Symbol 102 MovieClip [ScrollView] Frame 2
//component parameters
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Instance of Symbol 100 MovieClip [VScrollBar] in Symbol 102 MovieClip [ScrollView] Frame 2
//component parameters
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 103 MovieClip [ScrollSelectList] Frame 1
#initclip 62
Object.registerClass("ScrollSelectList", mx.controls.listclasses.ScrollSelectList);
#endinitclip
stop();
Symbol 104 MovieClip [List] Frame 1
#initclip 63
Object.registerClass("List", mx.controls.List);
#endinitclip
stop();
Symbol 142 MovieClip [TextArea] Frame 1
#initclip 64
Object.registerClass("TextArea", mx.controls.TextArea);
#endinitclip
stop();
Symbol 143 Button [arr_but]
on (release) {
_root.art.unloadMovie();
this.gotoAndPlay(6);
_parent.gotoAndPlay(_global.rframe);
}
Symbol 148 MovieClip [textb_app] Frame 1
dialog = "";
arr_but._visible = false;
arr_but.enabled = false;
Symbol 148 MovieClip [textb_app] Frame 3
if (_global.kol == 16711680) {
_global.kol = 16680295 /* 0xFE8567 */;
} else if (_global.kol == 13395660) {
_global.kol = 12171006 /* 0xB9B6FE */;
} else if (_global.kol == 16764159) {
_global.kol = 16776960 /* 0xFFFF00 */;
}
if (_global.idi == 1) {
max = length(_global.tdg);
loop = 1;
} else if (_global.idi == 2) {
max = length(_global.tdg2);
loop = 1;
}
this.tdx.textColor = _global.kol;
Symbol 148 MovieClip [textb_app] Frame 4
if (_global.idi == 1) {
loop = loop + 2;
dialog = substring(tdg, 1, loop);
} else if (_global.idi == 2) {
loop = loop + 2;
dialog = substring(tdg2, 1, loop);
}
this.tdx.textColor = _global.kol;
Symbol 148 MovieClip [textb_app] Frame 5
if (loop > max) {
arr_but._visible = true;
arr_but.enabled = true;
this.stop();
} else {
this.gotoAndPlay(4);
}
this.tdx.textColor = _global.kol;
Symbol 148 MovieClip [textb_app] Frame 9
this.unloadMovie();
Symbol 156 Button
on (release) {
if (_framesloaded >= 98) {
clearInterval(uy.wq);
clearInterval(uy.yt);
gotoAndStop (4);
}
}
Symbol 162 MovieClip Frame 1
function tyu() {
clearInterval(yt);
gotoAndPlay (2);
}
this.stop();
yt = setInterval(tyu, 15000);
Symbol 162 MovieClip Frame 35
function qwe() {
clearInterval(wq);
gotoAndPlay (36);
}
this.stop();
wq = setInterval(qwe, 5000);
Symbol 162 MovieClip Frame 69
gotoAndStop (1);
Symbol 1 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local3 = __width;
var _local2 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.0.377";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 105 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 106 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 108 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 107 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 2 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.0.377";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 3 MovieClip [__Packages.mx.core.View] Frame 0
class mx.core.View extends mx.core.UIComponent
{
var tabChildren, tabEnabled, boundingBox_mc, border_mc, __get__width, __get__height, __tabIndex, depth, createObject, createClassObject, loadExternal, destroyObject, createClassChildAtDepth, doLater;
function View () {
super();
}
function init() {
super.init();
tabChildren = true;
tabEnabled = false;
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function size() {
border_mc.move(0, 0);
border_mc.setSize(__get__width(), __get__height());
doLayout();
}
function draw() {
size();
}
function get numChildren() {
var _local3 = childNameBase;
var _local2 = 0;
while (true) {
if (this[_local3 + _local2] == undefined) {
return(_local2);
}
_local2++;
}
}
function get tabIndex() {
return((tabEnabled ? (__tabIndex) : undefined));
}
function set tabIndex(n) {
__tabIndex = n;
//return(tabIndex);
}
function addLayoutObject(object) {
}
function createChild(className, instanceName, initProps) {
if (depth == undefined) {
depth = 1;
}
var _local2;
if (typeof(className) == "string") {
_local2 = createObject(className, instanceName, depth++, initProps);
} else {
_local2 = createClassObject(className, instanceName, depth++, initProps);
}
if (_local2 == undefined) {
_local2 = loadExternal(className, _loadExternalClass, instanceName, depth++, initProps);
} else {
this[childNameBase + numChildren] = _local2;
_local2._complete = true;
childLoaded(_local2);
}
addLayoutObject(_local2);
return(_local2);
}
function getChildAt(childIndex) {
return(this[childNameBase + childIndex]);
}
function destroyChildAt(childIndex) {
if (!((childIndex >= 0) && (childIndex < numChildren))) {
return(undefined);
}
var _local4 = childNameBase + childIndex;
var _local6 = numChildren;
var _local3;
for (_local3 in this) {
if (_local3 == _local4) {
_local4 = "";
destroyObject(_local3);
break;
}
}
var _local2 = Number(childIndex);
while (_local2 < (_local6 - 1)) {
this[childNameBase + _local2] = this[childNameBase + (_local2 + 1)];
_local2++;
}
delete this[childNameBase + (_local6 - 1)];
depth--;
}
function initLayout() {
if (!hasBeenLayedOut) {
doLayout();
}
}
function doLayout() {
hasBeenLayedOut = true;
}
function createChildren() {
if (border_mc == undefined) {
border_mc = createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {styleName:this});
}
doLater(this, "initLayout");
}
function convertToUIObject(obj) {
}
function childLoaded(obj) {
convertToUIObject(obj);
}
static function extension() {
mx.core.ExternalContent.enableExternalContent();
}
static var symbolName = "View";
static var symbolOwner = mx.core.View;
static var version = "2.0.0.377";
var className = "View";
static var childNameBase = "_child";
var hasBeenLayedOut = false;
var _loadExternalClass = "UIComponent";
}
Symbol 109 MovieClip [__Packages.mx.skins.Border] Frame 0
class mx.skins.Border extends mx.core.UIObject
{
function Border () {
super();
}
function init(Void) {
super.init();
}
static var symbolName = "Border";
static var symbolOwner = mx.skins.Border;
var className = "Border";
var tagBorder = 0;
var idNames = new Array("border_mc");
}
Symbol 110 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border
{
var __width, __height, offset, __borderMetrics;
function RectBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function draw(Void) {
size();
}
function getBorderMetrics(Void) {
var _local2 = offset;
if (__borderMetrics == undefined) {
__borderMetrics = {left:_local2, top:_local2, right:_local2, bottom:_local2};
} else {
__borderMetrics.left = _local2;
__borderMetrics.top = _local2;
__borderMetrics.right = _local2;
__borderMetrics.bottom = _local2;
}
return(__borderMetrics);
}
function get borderMetrics() {
return(getBorderMetrics());
}
function drawBorder(Void) {
}
function size(Void) {
drawBorder();
}
function setColor(Void) {
drawBorder();
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.RectBorder;
static var version = "2.0.0.377";
var className = "RectBorder";
var borderStyleName = "borderStyle";
var borderColorName = "borderColor";
var shadowColorName = "shadowColor";
var highlightColorName = "highlightColor";
var buttonColorName = "buttonColor";
var backgroundColorName = "backgroundColor";
}
Symbol 111 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager
{
var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth;
function DepthManager () {
MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = createChildAtDepth;
MovieClip.prototype.setDepthTo = setDepthTo;
MovieClip.prototype.setDepthAbove = setDepthAbove;
MovieClip.prototype.setDepthBelow = setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = shuffleDepths;
MovieClip.prototype.getDepthByFlag = getDepthByFlag;
MovieClip.prototype.buildDepthTable = buildDepthTable;
}
static function sortFunction(a, b) {
if (a.getDepth() > b.getDepth()) {
return(1);
}
return(-1);
}
static function test(depth) {
if (depth == reservedDepth) {
return(false);
}
return(true);
}
static function createClassObjectAtDepth(className, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createClassChildAtDepth(className, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createClassChildAtDepth(className, kTop, initObj);
break;
}
return(_local1);
}
static function createObjectAtDepth(linkageName, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createChildAtDepth(linkageName, kTop, initObj);
break;
}
return(_local1);
}
function createClassChildAtDepth(className, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local5 = "down";
if (depthFlag == kBottom) {
_local5 = "up";
}
var _local6;
if (_local3[_local2] != undefined) {
_local6 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local5);
}
var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj);
if (_local6 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local6, _local3, _local5);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function createChildAtDepth(linkageName, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local5 = "down";
if (depthFlag == kBottom) {
_local5 = "up";
}
var _local6;
if (_local3[_local2] != undefined) {
_local6 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local5);
}
var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj);
if (_local6 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local6, _local3, _local5);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function setDepthTo(depthFlag) {
var _local2 = _parent.buildDepthTable();
var _local3 = _parent.getDepthByFlag(depthFlag, _local2);
if (_local2[_local3] != undefined) {
shuffleDepths(MovieClip(this), _local3, _local2, undefined);
} else {
swapDepths(_local3);
}
if (depthFlag == kTopmost) {
_topmost = true;
} else {
delete _topmost;
}
}
function setDepthAbove(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local2 = targetInstance.getDepth() + 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local2] != undefined) && (getDepth() < _local2)) {
_local2 = _local2 - 1;
}
if (_local2 > highestDepth) {
_local2 = highestDepth;
}
if (_local2 == highestDepth) {
_parent.shuffleDepths(this, _local2, _local3, "down");
} else if (_local3[_local2] != undefined) {
_parent.shuffleDepths(this, _local2, _local3, undefined);
} else {
swapDepths(_local2);
}
}
function setDepthBelow(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local6 = targetInstance.getDepth() - 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local6] != undefined) && (getDepth() > _local6)) {
_local6 = _local6 + 1;
}
var _local4 = lowestDepth + numberOfAuthortimeLayers;
var _local5;
for (_local5 in _local3) {
var _local2 = _local3[_local5];
if (_local2._parent != undefined) {
_local4 = Math.min(_local4, _local2.getDepth());
}
}
if (_local6 < _local4) {
_local6 = _local4;
}
if (_local6 == _local4) {
_parent.shuffleDepths(this, _local6, _local3, "up");
} else if (_local3[_local6] != undefined) {
_parent.shuffleDepths(this, _local6, _local3, undefined);
} else {
swapDepths(_local6);
}
}
function findNextAvailableDepth(targetDepth, depthTable, direction) {
var _local5 = lowestDepth + numberOfAuthortimeLayers;
if (targetDepth < _local5) {
targetDepth = _local5;
}
if (depthTable[targetDepth] == undefined) {
return(targetDepth);
}
var _local1 = targetDepth;
var _local2 = targetDepth;
if (direction == "down") {
while (depthTable[_local2] != undefined) {
_local2--;
}
return(_local2);
}
while (depthTable[_local1] != undefined) {
_local1++;
}
return(_local1);
}
function shuffleDepths(subject, targetDepth, depthTable, direction) {
var _local9 = lowestDepth + numberOfAuthortimeLayers;
var _local8 = _local9;
var _local5;
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local9 = Math.min(_local9, _local7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = "up";
} else {
direction = "down";
}
}
var _local1 = new Array();
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local1.push(_local7);
}
}
_local1.sort(sortFunction);
if (direction == "up") {
var _local3;
var _local11;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.pop();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
_local11 = subject.getDepth();
_local3 = _local1.pop();
var _local4 = _local3.getDepth();
if (_local11 > (_local4 + 1)) {
if (_local4 >= 0) {
subject.swapDepths(_local4 + 1);
} else if ((_local11 > _local8) && (_local4 < _local8)) {
subject.swapDepths(_local8);
}
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
} else if (direction == "down") {
var _local3;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.shift();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
var _local11 = _local3.getDepth();
_local3 = _local1.shift();
var _local4 = _local3.getDepth();
if ((_local11 < (_local4 - 1)) && (_local4 > 0)) {
subject.swapDepths(_local4 - 1);
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
}
}
function getDepthByFlag(depthFlag, depthTable) {
var _local2 = 0;
if ((depthFlag == kTop) || (depthFlag == kNotopmost)) {
var _local5 = 0;
var _local7 = false;
var _local8;
for (_local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
if (!_local9._topmost) {
_local2 = Math.max(_local2, _local9.getDepth());
} else if (!_local7) {
_local5 = _local9.getDepth();
_local7 = true;
} else {
_local5 = Math.min(_local5, _local9.getDepth());
}
}
}
}
_local2 = _local2 + 20;
if (_local7) {
if (_local2 >= _local5) {
_local2 = _local5 - 1;
}
}
} else if (depthFlag == kBottom) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.min(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 - 20;
} else if (depthFlag == kTopmost) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.max(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 + 100;
}
if (_local2 >= highestDepth) {
_local2 = highestDepth;
}
var _local6 = lowestDepth + numberOfAuthortimeLayers;
for (var _local9 in depthTable) {
var _local4 = depthTable[_local9];
if (_local4._parent != undefined) {
_local6 = Math.min(_local6, _local4.getDepth());
}
}
if (_local2 <= _local6) {
_local2 = _local6;
}
return(_local2);
}
function buildDepthTable(Void) {
var _local5 = new Array();
var _local4;
for (_local4 in this) {
var _local2 = this[_local4];
var _local3 = typeof(_local2);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) {
if (_local2._parent == this) {
_local5[_local2.getDepth()] = _local2;
}
}
}
return(_local5);
}
static var reservedDepth = 1048575;
static var highestDepth = 1048574;
static var lowestDepth = -16383;
static var numberOfAuthortimeLayers = 383;
static var kCursor = 101;
static var kTooltip = 102;
static var kTop = 201;
static var kBottom = 202;
static var kTopmost = 203;
static var kNotopmost = 204;
static var holder = _root.createEmptyMovieClip("reserved", reservedDepth);
static var __depthManager = new mx.managers.DepthManager();
}
Symbol 113 MovieClip [__Packages.mx.core.ExternalContent] Frame 0
class mx.core.ExternalContent
{
var createObject, numChildren, prepList, doLater, loadList, dispatchEvent, loadedList, childLoaded;
function ExternalContent () {
}
function loadExternal(url, placeholderClassName, instanceName, depth, initProps) {
var _local2;
_local2 = createObject(placeholderClassName, instanceName, depth, initProps);
this[mx.core.View.childNameBase + numChildren] = _local2;
if (prepList == undefined) {
prepList = new Object();
}
prepList[instanceName] = {obj:_local2, url:url, complete:false, initProps:initProps};
prepareToLoadMovie(_local2);
return(_local2);
}
function prepareToLoadMovie(obj) {
obj.unloadMovie();
doLater(this, "waitForUnload");
}
function waitForUnload() {
var _local3;
for (_local3 in prepList) {
var _local2 = prepList[_local3];
if (_local2.obj.getBytesTotal() == 0) {
if (loadList == undefined) {
loadList = new Object();
}
loadList[_local3] = _local2;
_local2.obj.loadMovie(_local2.url);
delete prepList[_local3];
doLater(this, "checkLoadProgress");
} else {
doLater(this, "waitForUnload");
}
}
}
function checkLoadProgress() {
var _local3;
for (_local3 in loadList) {
var _local2 = loadList[_local3];
_local2.loaded = _local2.obj.getBytesLoaded();
_local2.total = _local2.obj.getBytesTotal();
if (_local2.total > 0) {
_local2.obj._visible = false;
dispatchEvent({type:"progress", target:_local2.obj, current:_local2.loaded, total:_local2.total});
if (_local2.loaded == _local2.total) {
if (loadedList == undefined) {
loadedList = new Object();
}
loadedList[_local3] = _local2;
delete loadList[_local3];
doLater(this, "contentLoaded");
}
} else if (_local2.total == -1) {
if (_local2.failedOnce != undefined) {
_local2.failedOnce++;
if (_local2.failedOnce > 3) {
dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total});
delete loadList[_local3];
}
} else {
_local2.failedOnce = 0;
}
}
doLater(this, "checkLoadProgress");
}
}
function contentLoaded() {
var _local4;
for (_local4 in loadedList) {
var _local2 = loadedList[_local4];
_local2.obj._visible = true;
_local2.obj._complete = true;
var _local3;
for (_local3 in _local2.initProps) {
_local2.obj[_local3] = _local2.initProps[_local3];
}
childLoaded(_local2.obj);
dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total});
delete loadedList[_local4];
}
}
function convertToUIObject(obj) {
if (obj.setSize == undefined) {
var _local2 = mx.core.UIObject.prototype;
obj.addProperty("width", _local2.__get__width, null);
obj.addProperty("height", _local2.__get__height, null);
obj.addProperty("left", _local2.__get__left, null);
obj.addProperty("x", _local2.__get__x, null);
obj.addProperty("top", _local2.__get__top, null);
obj.addProperty("y", _local2.__get__y, null);
obj.addProperty("right", _local2.__get__right, null);
obj.addProperty("bottom", _local2.__get__bottom, null);
obj.addProperty("visible", _local2.__get__visible, _local2.__set__visible);
obj.move = mx.core.UIObject.prototype.move;
obj.setSize = mx.core.UIObject.prototype.setSize;
obj.size = mx.core.UIObject.prototype.size;
mx.events.UIEventDispatcher.initialize(obj);
}
}
static function enableExternalContent() {
}
static function classConstruct() {
var _local1 = mx.core.View.prototype;
var _local2 = mx.core.ExternalContent.prototype;
_local1.loadExternal = _local2.loadExternal;
_local1.prepareToLoadMovie = _local2.prepareToLoadMovie;
_local1.waitForUnload = _local2.waitForUnload;
_local1.checkLoadProgress = _local2.checkLoadProgress;
_local1.contentLoaded = _local2.contentLoaded;
_local1.convertToUIObject = _local2.convertToUIObject;
return(true);
}
static var classConstructed = classConstruct();
static var ViewDependency = mx.core.View;
}
Symbol 6 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent == undefined) {
_local1[eventObj.type](eventObj);
} else {
_local1.handleEvent(eventObj);
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
}
Symbol 112 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher
{
var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener;
function UIEventDispatcher () {
super();
}
static function addKeyEvents(obj) {
if (obj.keyHandler == undefined) {
var _local1 = (obj.keyHandler = new Object());
_local1.owner = obj;
_local1.onKeyDown = _fEventDispatcher.onKeyDown;
_local1.onKeyUp = _fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
}
static function removeKeyEvents(obj) {
Key.removeListener(obj.keyHandler);
}
static function addLoadEvents(obj) {
if (obj.onLoad == undefined) {
obj.onLoad = _fEventDispatcher.onLoad;
obj.onUnload = _fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, "onLoad");
}
}
}
static function removeLoadEvents(obj) {
delete obj.onLoad;
delete obj.onUnload;
}
static function initialize(obj) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = _fEventDispatcher.__addEventListener;
obj.__origAddEventListener = _fEventDispatcher.addEventListener;
obj.removeEventListener = _fEventDispatcher.removeEventListener;
obj.dispatchEvent = _fEventDispatcher.dispatchEvent;
obj.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(mx.events.EventDispatcher, eventObj);
dispatchQueue(this, eventObj);
}
function onKeyDown(Void) {
owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onKeyUp(Void) {
owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onLoad(Void) {
if (__sentLoadEvent != true) {
dispatchEvent({type:"load"});
}
__sentLoadEvent = true;
}
function onUnload(Void) {
dispatchEvent({type:"unload"});
}
function __addEventListener(event, handler) {
__origAddEventListener(event, handler);
var _local3 = lowLevelEvents;
for (var _local5 in _local3) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local2 = _local3[_local5][0];
mx.events.UIEventDispatcher[_local2](this);
}
}
}
function removeEventListener(event, handler) {
var _local6 = "__q_" + event;
mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler);
if (this[_local6].length == 0) {
var _local2 = lowLevelEvents;
for (var _local5 in _local2) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local3 = _local2[_local5][1];
mx.events.UIEventDispatcher[_local2[_local5][1]](this);
}
}
}
}
static var keyEvents = {keyDown:1, keyUp:1};
static var loadEvents = {load:1, unload:1};
static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]};
static var _fEventDispatcher = undefined;
}
Symbol 4 MovieClip [__Packages.mx.core.ScrollView] Frame 0
class mx.core.ScrollView extends mx.core.View
{
var __width, hScroller, vScroller, __maxHPosition, propsInited, scrollAreaChanged, specialHScrollCase, createObject, viewableColumns, __height, oldRndUp, viewableRows, __viewMetrics, owner, enabled, border_mc, __get__width, __get__height, invLayout, mask_mc, _parent, dispatchEvent;
function ScrollView () {
super();
}
function getHScrollPolicy(Void) {
return(__hScrollPolicy);
}
function setHScrollPolicy(policy) {
__hScrollPolicy = policy.toLowerCase();
if (__width == undefined) {
return(undefined);
}
setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding);
}
function get hScrollPolicy() {
return(getHScrollPolicy());
}
function set hScrollPolicy(policy) {
setHScrollPolicy(policy);
//return(hScrollPolicy);
}
function getVScrollPolicy(Void) {
return(__vScrollPolicy);
}
function setVScrollPolicy(policy) {
__vScrollPolicy = policy.toLowerCase();
if (__width == undefined) {
return(undefined);
}
setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding);
}
function get vScrollPolicy() {
return(getVScrollPolicy());
}
function set vScrollPolicy(policy) {
setVScrollPolicy(policy);
//return(vScrollPolicy);
}
function get hPosition() {
return(getHPosition());
}
function set hPosition(pos) {
setHPosition(pos);
//return(hPosition);
}
function getHPosition(Void) {
return(__hPosition);
}
function setHPosition(pos) {
hScroller.__set__scrollPosition(pos);
__hPosition = pos;
}
function get vPosition() {
return(getVPosition());
}
function set vPosition(pos) {
setVPosition(pos);
//return(vPosition);
}
function getVPosition(Void) {
return(__vPosition);
}
function setVPosition(pos) {
vScroller.__set__scrollPosition(pos);
__vPosition = pos;
}
function get maxVPosition() {
var _local2 = vScroller.maxPos;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function get maxHPosition() {
return(getMaxHPosition());
}
function set maxHPosition(pos) {
setMaxHPosition(pos);
//return(maxHPosition);
}
function getMaxHPosition(Void) {
if (__maxHPosition != undefined) {
return(__maxHPosition);
}
var _local2 = hScroller.maxPos;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function setMaxHPosition(pos) {
__maxHPosition = pos;
}
function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
var _local3 = getViewMetrics();
if (hPadding == undefined) {
hPadding = 0;
}
if (wPadding == undefined) {
wPadding = 0;
}
propsInited = true;
delete scrollAreaChanged;
heightPadding = hPadding;
widthPadding = wPadding;
if (colWidth == 0) {
colWidth = 1;
}
if (rwHeight == 0) {
rwHeight = 1;
}
var _local4 = Math.ceil((((__width - _local3.left) - _local3.right) - widthPadding) / colWidth);
if ((__hScrollPolicy == "on") || ((_local4 < colCount) && (__hScrollPolicy == "auto"))) {
if ((hScroller == undefined) || (specialHScrollCase)) {
delete specialHScrollCase;
hScroller = mx.controls.scrollClasses.ScrollBar(createObject("HScrollBar", "hSB", 1001));
hScroller.__set__lineScrollSize(20);
hScroller.scrollHandler = scrollProxy;
hScroller.__set__scrollPosition(__hPosition);
scrollAreaChanged = true;
}
if ((((numberOfCols != colCount) || (columnWidth != colWidth)) || (viewableColumns != _local4)) || (scrollAreaChanged)) {
hScroller.setScrollProperties(_local4, 0, colCount - _local4);
viewableColumns = _local4;
numberOfCols = colCount;
columnWidth = colWidth;
}
} else if (((__hScrollPolicy == "auto") || (__hScrollPolicy == "off")) && (hScroller != undefined)) {
hScroller.removeMovieClip();
delete hScroller;
scrollAreaChanged = true;
}
if (heightPadding == undefined) {
heightPadding = 0;
}
var _local5 = Math.ceil((((__height - _local3.top) - _local3.bottom) - heightPadding) / rwHeight);
var _local8 = (((__height - _local3.top) - _local3.bottom) % rwHeight) != 0;
if ((__vScrollPolicy == "on") || ((_local5 < (rwCount + _local8)) && (__vScrollPolicy == "auto"))) {
if (vScroller == undefined) {
vScroller = mx.controls.scrollClasses.ScrollBar(createObject("VScrollBar", "vSB", 1002));
vScroller.scrollHandler = scrollProxy;
vScroller.__set__scrollPosition(__vPosition);
scrollAreaChanged = true;
rowH = 0;
}
if ((((rowC != rwCount) || (rowH != rwHeight)) || ((viewableRows + _local8) != (_local5 + oldRndUp))) || (scrollAreaChanged)) {
vScroller.setScrollProperties(_local5, 0, (rwCount - _local5) + _local8);
viewableRows = _local5;
rowC = rwCount;
rowH = rwHeight;
oldRndUp = _local8;
}
} else if (((__vScrollPolicy == "auto") || (__vScrollPolicy == "off")) && (vScroller != undefined)) {
vScroller.removeMovieClip();
delete vScroller;
scrollAreaChanged = true;
}
numberOfCols = colCount;
columnWidth = colWidth;
if (scrollAreaChanged) {
doLayout();
var _local2 = __viewMetrics;
var _local12 = ((owner != undefined) ? (owner) : this);
_local12.layoutContent(_local2.left, _local2.top, ((columnWidth * numberOfCols) - _local2.left) - _local2.right, rowC * rowH, (__width - _local2.left) - _local2.right, (__height - _local2.top) - _local2.bottom);
}
if (!enabled) {
setEnabled(false);
}
}
function getViewMetrics(Void) {
var _local2 = __viewMetrics;
var _local3 = border_mc.__get__borderMetrics();
_local2.left = _local3.left;
_local2.right = _local3.right;
if (vScroller != undefined) {
_local2.right = _local2.right + vScroller.minWidth;
}
_local2.top = _local3.top;
if ((hScroller == undefined) && ((__hScrollPolicy == "on") || (__hScrollPolicy == true))) {
hScroller = mx.controls.scrollClasses.ScrollBar(createObject("FHScrollBar", "hSB", 1001));
specialHScrollCase = true;
}
_local2.bottom = _local3.bottom;
if (hScroller != undefined) {
_local2.bottom = _local2.bottom + hScroller.minHeight;
}
return(_local2);
}
function doLayout(Void) {
var _local10 = __get__width();
var _local8 = __get__height();
delete invLayout;
var _local3 = (__viewMetrics = getViewMetrics());
var _local2 = _local3.left;
var _local9 = _local3.right;
var _local5 = _local3.top;
var _local11 = _local3.bottom;
var _local7 = hScroller;
var _local6 = vScroller;
_local7.setSize((_local10 - _local2) - _local9, _local7.minHeight + 0);
_local7.move(_local2, _local8 - _local11);
_local6.setSize(_local6.minWidth + 0, (_local8 - _local5) - _local11);
_local6.move(_local10 - _local9, _local5);
var _local4 = mask_mc;
_local4._width = (_local10 - _local2) - _local9;
_local4._height = (_local8 - _local5) - _local11;
_local4._x = _local2;
_local4._y = _local5;
}
function createChild(id, name, props) {
var _local2 = super.createChild(id, name, props);
return(_local2);
}
function init(Void) {
super.init();
__viewMetrics = new Object();
if (_global.__SVMouseWheelManager == undefined) {
var _local4 = (_global.__SVMouseWheelManager = new Object());
_local4.onMouseWheel = __onMouseWheel;
Mouse.addListener(_local4);
}
}
function __onMouseWheel(delta, scrollTarget) {
var _local3 = scrollTarget;
var _local1;
while (_local3 != undefined) {
if (_local3 instanceof mx.core.ScrollView) {
_local1 = _local3;
}
_local3 = _local3._parent;
}
if (_local1 != undefined) {
_local3 = ((delta <= 0) ? 1 : -1);
var _local2 = _local1.vScroller.lineScrollSize;
if (_local2 == undefined) {
_local2 = 0;
}
_local2 = Math.max(Math.abs(delta), _local2);
_local1.vPosition = _local1.vPosition + (_local2 * _local3);
_local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.vPosition});
}
}
function createChildren(Void) {
super.createChildren();
if (mask_mc == undefined) {
mask_mc = createObject("BoundingBox", "mask_mc", MASK_DEPTH);
}
mask_mc._visible = false;
}
function invalidate(Void) {
super.invalidate();
}
function draw(Void) {
size();
}
function size(Void) {
super.size();
}
function scrollProxy(docObj) {
_parent.onScroll(docObj);
}
function onScroll(docObj) {
var _local3 = docObj.target;
var _local2 = _local3.scrollPosition;
if (_local3 == vScroller) {
var _local4 = "vertical";
var _local5 = "__vPosition";
} else {
var _local4 = "horizontal";
var _local5 = "__hPosition";
}
dispatchEvent({type:"scroll", direction:_local4, position:_local2});
this[_local5] = _local2;
}
function setEnabled(v) {
vScroller.enabled = (hScroller.enabled = v);
}
function childLoaded(obj) {
super.childLoaded(obj);
obj.setMask(mask_mc);
}
static var symbolName = "ScrollView";
static var symbolOwner = mx.core.ScrollView;
static var version = "2.0.0.377";
var className = "ScrollView";
var __vScrollPolicy = "auto";
var __hScrollPolicy = "off";
var __vPosition = 0;
var __hPosition = 0;
var numberOfCols = 0;
var rowC = 0;
var columnWidth = 1;
var rowH = 0;
var heightPadding = 0;
var widthPadding = 0;
var MASK_DEPTH = 10000;
}
Symbol 117 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar] Frame 0
class mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent
{
var isScrolling, scrollTrack_mc, scrollThumb_mc, __height, tabEnabled, focusEnabled, boundingBox_mc, setSkin, upArrow_mc, _minHeight, _minWidth, downArrow_mc, createObject, createClassObject, enabled, _height, dispatchEvent, minMode, maxMode, plusMode, minusMode, _parent, getStyle, scrolling, _ymouse;
function ScrollBar () {
super();
}
function get scrollPosition() {
return(_scrollPosition);
}
function set scrollPosition(pos) {
_scrollPosition = pos;
if (isScrolling != true) {
pos = Math.min(pos, maxPos);
pos = Math.max(pos, minPos);
var _local3 = (((pos - minPos) * (scrollTrack_mc.height - scrollThumb_mc._height)) / (maxPos - minPos)) + scrollTrack_mc.top;
scrollThumb_mc.move(0, _local3);
}
//return(scrollPosition);
}
function get pageScrollSize() {
return(largeScroll);
}
function set pageScrollSize(lScroll) {
largeScroll = lScroll;
//return(pageScrollSize);
}
function set lineScrollSize(sScroll) {
smallScroll = sScroll;
//return(lineScrollSize);
}
function get lineScrollSize() {
return(smallScroll);
}
function get virtualHeight() {
return(__height);
}
function init(Void) {
super.init();
_scrollPosition = 0;
tabEnabled = false;
focusEnabled = false;
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function createChildren(Void) {
if (scrollTrack_mc == undefined) {
setSkin(skinIDTrack, scrollTrackName);
}
scrollTrack_mc.visible = false;
var _local3 = new Object();
_local3.enabled = false;
_local3.preset = mx.controls.SimpleButton.falseDisabled;
_local3.initProperties = 0;
_local3.autoRepeat = true;
_local3.tabEnabled = false;
var _local2;
if (upArrow_mc == undefined) {
_local2 = createButton(upArrowName, "upArrow_mc", skinIDUpArrow, _local3);
}
_local2.buttonDownHandler = onUpArrow;
_local2.clickHandler = onScrollChanged;
_minHeight = _local2.height;
_minWidth = _local2.width;
if (downArrow_mc == undefined) {
_local2 = createButton(downArrowName, "downArrow_mc", skinIDDownArrow, _local3);
}
_local2.buttonDownHandler = onDownArrow;
_local2.clickHandler = onScrollChanged;
_minHeight = _minHeight + _local2.height;
}
function createButton(linkageName, id, skinID, o) {
if (skinID == skinIDUpArrow) {
o.falseUpSkin = upArrowUpName;
o.falseDownSkin = upArrowDownName;
o.falseOverSkin = upArrowOverName;
} else {
o.falseUpSkin = downArrowUpName;
o.falseDownSkin = downArrowDownName;
o.falseOverSkin = downArrowOverName;
}
var _local3 = createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return(_local3);
}
function createThumb(Void) {
var _local2 = new Object();
_local2.validateNow = true;
_local2.tabEnabled = false;
_local2.leftSkin = thumbTopName;
_local2.middleSkin = thumbMiddleName;
_local2.rightSkin = thumbBottomName;
_local2.gripSkin = thumbGripName;
createClassObject(mx.controls.scrollClasses.ScrollThumb, "scrollThumb_mc", skinIDThumb, _local2);
}
function setScrollProperties(pSize, mnPos, mxPos, ls) {
var _local4;
var _local2 = scrollTrack_mc;
pageSize = pSize;
largeScroll = (((ls != undefined) && (ls > 0)) ? (ls) : (pSize));
minPos = Math.max(mnPos, 0);
maxPos = Math.max(mxPos, 0);
_scrollPosition = Math.max(minPos, _scrollPosition);
_scrollPosition = Math.min(maxPos, _scrollPosition);
if (((maxPos - minPos) > 0) && (enabled)) {
var _local5 = _scrollPosition;
if (!initializing) {
upArrow_mc.enabled = true;
downArrow_mc.enabled = true;
}
_local2.onPress = (_local2.onDragOver = startTrackScroller);
_local2.onRelease = releaseScrolling;
_local2.onDragOut = (_local2.stopScrolling = stopScrolling);
_local2.onReleaseOutside = releaseScrolling;
_local2.useHandCursor = false;
if (scrollThumb_mc == undefined) {
createThumb();
}
var _local3 = scrollThumb_mc;
if (scrollTrackOverName.length > 0) {
_local2.onRollOver = trackOver;
_local2.onRollOut = trackOut;
}
_local4 = (pageSize / ((maxPos - minPos) + pageSize)) * _local2.height;
if (_local4 < _local3.minHeight) {
if (_local2.height < _local3.minHeight) {
_local3.__set__visible(false);
} else {
_local4 = _local3.minHeight;
_local3.__set__visible(true);
_local3.setSize(_minWidth, _local3.minHeight + 0);
}
} else {
_local3.__set__visible(true);
_local3.setSize(_minWidth, _local4);
}
_local3.setRange(upArrow_mc.__get__height() + 0, (virtualHeight - downArrow_mc.__get__height()) - _local3.__get__height(), minPos, maxPos);
_local5 = Math.min(_local5, maxPos);
scrollPosition = (Math.max(_local5, minPos));
} else {
scrollThumb_mc.__set__visible(false);
if (!initializing) {
upArrow_mc.enabled = false;
downArrow_mc.enabled = false;
}
delete _local2.onPress;
delete _local2.onDragOver;
delete _local2.onRelease;
delete _local2.onDragOut;
delete _local2.onRollOver;
delete _local2.onRollOut;
delete _local2.onReleaseOutside;
}
if (initializing) {
scrollThumb_mc.__set__visible(false);
}
}
function setEnabled(enabledFlag) {
super.setEnabled(enabledFlag);
setScrollProperties(pageSize, minPos, maxPos, largeScroll);
}
function draw(Void) {
if (initializing) {
initializing = false;
scrollTrack_mc.visible = true;
upArrow_mc.__set__visible(true);
downArrow_mc.__set__visible(true);
}
size();
}
function size(Void) {
if (_height == 1) {
return(undefined);
}
if (upArrow_mc == undefined) {
return(undefined);
}
var _local3 = upArrow_mc.__get__height();
var _local2 = downArrow_mc.__get__height();
upArrow_mc.move(0, 0);
var _local4 = scrollTrack_mc;
_local4._y = _local3;
_local4._height = (virtualHeight - _local3) - _local2;
downArrow_mc.move(0, virtualHeight - _local2);
setScrollProperties(pageSize, minPos, maxPos, largeScroll);
}
function dispatchScrollEvent(detail) {
dispatchEvent({type:"scroll", detail:detail});
}
function isScrollBarKey(k) {
if (k == 36) {
if (scrollPosition != 0) {
scrollPosition = (0);
dispatchScrollEvent(minMode);
}
return(true);
}
if (k == 35) {
if (scrollPosition < maxPos) {
scrollPosition = (maxPos);
dispatchScrollEvent(maxMode);
}
return(true);
}
return(false);
}
function scrollIt(inc, mode) {
var _local3 = smallScroll;
if (inc != "Line") {
_local3 = ((largeScroll == 0) ? (pageSize) : (largeScroll));
}
var _local2 = _scrollPosition + (mode * _local3);
if (_local2 > maxPos) {
_local2 = maxPos;
} else if (_local2 < minPos) {
_local2 = minPos;
}
if (scrollPosition != _local2) {
scrollPosition = (_local2);
var _local4 = ((mode < 0) ? (minusMode) : (plusMode));
dispatchScrollEvent(inc + _local4);
}
}
function startTrackScroller(Void) {
_parent.pressFocus();
if (_parent.scrollTrackDownName.length > 0) {
if (_parent.scrollTrackDown_mc == undefined) {
_parent.setSkin(skinIDTrackDown, scrollTrackDownName);
} else {
_parent.scrollTrackDown_mc.visible = true;
}
}
_parent.trackScroller();
_parent.scrolling = setInterval(_parent, "scrollInterval", getStyle("repeatDelay"), "Page", -1);
}
function scrollInterval(inc, mode) {
clearInterval(scrolling);
if (inc == "Page") {
trackScroller();
} else {
scrollIt(inc, mode);
}
scrolling = setInterval(this, "scrollInterval", getStyle("repeatInterval"), inc, mode);
}
function trackScroller(Void) {
if ((scrollThumb_mc._y + scrollThumb_mc.__get__height()) < _ymouse) {
scrollIt("Page", 1);
} else if (scrollThumb_mc._y > _ymouse) {
scrollIt("Page", -1);
}
}
function dispatchScrollChangedEvent(Void) {
dispatchEvent({type:"scrollChanged"});
}
function stopScrolling(Void) {
clearInterval(_parent.scrolling);
_parent.scrollTrackDown_mc.visible = false;
}
function releaseScrolling(Void) {
_parent.releaseFocus();
stopScrolling();
_parent.dispatchScrollChangedEvent();
}
function trackOver(Void) {
if (_parent.scrollTrackOverName.length > 0) {
if (_parent.scrollTrackOver_mc == undefined) {
_parent.setSkin(skinIDTrackOver, scrollTrackOverName);
} else {
_parent.scrollTrackOver_mc.visible = true;
}
}
}
function trackOut(Void) {
_parent.scrollTrackOver_mc.visible = false;
}
function onUpArrow(Void) {
_parent.scrollIt("Line", -1);
}
function onDownArrow(Void) {
_parent.scrollIt("Line", 1);
}
function onScrollChanged(Void) {
_parent.dispatchScrollChangedEvent();
}
static var symbolOwner = mx.core.UIComponent;
var className = "ScrollBar";
var minPos = 0;
var maxPos = 0;
var pageSize = 0;
var largeScroll = 0;
var smallScroll = 1;
var _scrollPosition = 0;
var scrollTrackName = "ScrollTrack";
var scrollTrackOverName = "";
var scrollTrackDownName = "";
var upArrowName = "BtnUpArrow";
var upArrowUpName = "ScrollUpArrowUp";
var upArrowOverName = "ScrollUpArrowOver";
var upArrowDownName = "ScrollUpArrowDown";
var downArrowName = "BtnDownArrow";
var downArrowUpName = "ScrollDownArrowUp";
var downArrowOverName = "ScrollDownArrowOver";
var downArrowDownName = "ScrollDownArrowDown";
var thumbTopName = "ScrollThumbTopUp";
var thumbMiddleName = "ScrollThumbMiddleUp";
var thumbBottomName = "ScrollThumbBottomUp";
var thumbGripName = "ScrollThumbGripUp";
static var skinIDTrack = 0;
static var skinIDTrackOver = 1;
static var skinIDTrackDown = 2;
static var skinIDUpArrow = 3;
static var skinIDDownArrow = 4;
static var skinIDThumb = 5;
var idNames = new Array("scrollTrack_mc", "scrollTrackOver_mc", "scrollTrackDown_mc", "upArrow_mc", "downArrow_mc");
var clipParameters = {minPos:1, maxPos:1, pageSize:1, scrollPosition:1, lineScrollSize:1, pageScrollSize:1, visible:1, enabled:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
var initializing = true;
}
Symbol 114 MovieClip [__Packages.mx.skins.CustomBorder] Frame 0
class mx.skins.CustomBorder extends mx.skins.Border
{
var __width, __height, l_mc, setSkin, minHeight, minWidth, m_mc, r_mc;
function CustomBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function createChildren(Void) {
}
function draw(Void) {
if (l_mc == undefined) {
var _local2 = setSkin(tagL, leftSkin);
if (horizontal) {
minHeight = l_mc._height;
minWidth = l_mc._width;
} else {
minHeight = l_mc._height;
minWidth = l_mc._width;
}
}
if (m_mc == undefined) {
setSkin(tagM, middleSkin);
if (horizontal) {
minHeight = m_mc._height;
minWidth = minWidth + m_mc._width;
} else {
minHeight = minHeight + m_mc._height;
minWidth = m_mc._width;
}
}
if (r_mc == undefined) {
setSkin(tagR, rightSkin);
if (horizontal) {
minHeight = r_mc._height;
minWidth = minWidth + r_mc._width;
} else {
minHeight = minHeight + r_mc._height;
minWidth = r_mc._width;
}
}
size();
}
function size(Void) {
l_mc.move(0, 0);
if (horizontal) {
r_mc.move(width - r_mc.width, 0);
m_mc.move(l_mc.width, 0);
m_mc.setSize(r_mc.x - m_mc.x, m_mc.height);
} else {
r_mc.move(0, height - r_mc.height, 0);
m_mc.move(0, l_mc.height);
m_mc.setSize(m_mc.width, r_mc.y - m_mc.y);
}
}
static var symbolName = "CustomBorder";
static var symbolOwner = mx.skins.CustomBorder;
static var version = "2.0.0.377";
var className = "CustomBorder";
static var tagL = 0;
static var tagM = 1;
static var tagR = 2;
var idNames = new Array("l_mc", "m_mc", "r_mc");
var leftSkin = "F3PieceLeft";
var middleSkin = "F3PieceMiddle";
var rightSkin = "F3PieceRight";
var horizontal = true;
}
Symbol 115 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb] Frame 0
class mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder
{
var useHandCursor, ymin, ymax, datamin, datamax, scrollMove, lastY, _ymouse, _y, _parent, onMouseMove, grip_mc, setSkin, gripSkin, __get__width, __get__height;
function ScrollThumb () {
super();
}
function createChildren(Void) {
super.createChildren();
useHandCursor = false;
}
function setRange(_ymin, _ymax, _datamin, _datamax) {
ymin = _ymin;
ymax = _ymax;
datamin = _datamin;
datamax = _datamax;
}
function dragThumb(Void) {
scrollMove = _ymouse - lastY;
scrollMove = scrollMove + _y;
if (scrollMove < ymin) {
scrollMove = ymin;
} else if (scrollMove > ymax) {
scrollMove = ymax;
}
_parent.isScrolling = true;
_y = scrollMove;
var _local2 = Math.round(((datamax - datamin) * (_y - ymin)) / (ymax - ymin)) + datamin;
_parent.scrollPosition = _local2;
_parent.dispatchScrollEvent("ThumbTrack");
updateAfterEvent();
}
function stopDragThumb(Void) {
_parent.isScrolling = false;
_parent.dispatchScrollEvent("ThumbPosition");
_parent.dispatchScrollChangedEvent();
delete onMouseMove;
}
function onPress(Void) {
_parent.pressFocus();
lastY = _ymouse;
onMouseMove = dragThumb;
super.onPress();
}
function onRelease(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onRelease();
}
function onReleaseOutside(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onReleaseOutside();
}
function draw() {
super.draw();
if (grip_mc == undefined) {
setSkin(3, gripSkin);
}
}
function size() {
super.size();
grip_mc.move((__get__width() - grip_mc.width) / 2, (__get__height() - grip_mc.height) / 2);
}
static var symbolOwner = mx.skins.CustomBorder.symbolOwner;
var className = "ScrollThumb";
var btnOffset = 0;
var horizontal = false;
var idNames = new Array("l_mc", "m_mc", "r_mc", "grip_mc");
}
Symbol 116 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent
{
static var emphasizedStyleDeclaration;
var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle;
function SimpleButton () {
super();
}
function init(Void) {
super.init();
if (preset == undefined) {
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
useHandCursor = false;
}
function createChildren(Void) {
if (preset != undefined) {
var _local2 = this[idNames[preset]];
this[refNames[preset]] = _local2;
skinName = _local2;
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
initializing = false;
} else if (__state == true) {
setStateVar(true);
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
}
}
function setIcon(tag, linkageName) {
return(setSkin(tag + 8, linkageName));
}
function changeIcon(tag, linkageName) {
linkLength = linkageName.length;
var _local2 = stateNames[tag] + "Icon";
this[_local2] = linkageName;
this[idNames[tag + 8]] = _local2;
setStateVar(getState());
}
function changeSkin(tag, linkageName) {
var _local2 = stateNames[tag] + "Skin";
this[_local2] = linkageName;
this[idNames[tag]] = _local2;
setStateVar(getState());
}
function viewIcon(varName) {
var _local4 = varName + "Icon";
var _local3 = this[_local4];
if (typeof(_local3) == "string") {
var _local5 = _local3;
if (__emphasized) {
if (this[_local3 + "Emphasized"].length > 0) {
_local3 = _local3 + "Emphasized";
}
}
if (this[_local3].length == 0) {
return(undefined);
}
_local3 = setIcon(tagMap[_local5], this[_local3]);
if ((_local3 == undefined) && (_global.isLivePreview)) {
_local3 = setIcon(0, "ButtonIcon");
}
this[_local4] = _local3;
}
iconName._visible = false;
iconName = _local3;
iconName._visible = true;
}
function removeIcons() {
var _local3 = 0;
while (_local3 < 2) {
var _local2 = 8;
while (_local2 < 16) {
destroyObject(idNames[_local2]);
this[stateNames[_local2 - 8] + "Icon"] = "";
_local2++;
}
_local3++;
}
refresh();
}
function setSkin(tag, linkageName, initobj) {
var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this})));
calcSize(tag, _local3);
return(_local3);
}
function calcSize(Void) {
__width = _width;
__height = _height;
}
function viewSkin(varName, initObj) {
var _local3 = varName + "Skin";
var _local2 = this[_local3];
if (typeof(_local2) == "string") {
var _local4 = _local2;
if (__emphasized) {
if (this[_local2 + "Emphasized"].length > 0) {
_local2 = _local2 + "Emphasized";
}
}
if (this[_local2].length == 0) {
return(undefined);
}
_local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this})));
this[_local3] = _local2;
}
skinName._visible = false;
skinName = _local2;
skinName._visible = true;
}
function showEmphasized(e) {
if (e && (!__emphatic)) {
if (emphasizedStyleDeclaration != undefined) {
__emphaticStyleName = styleName;
styleName = emphasizedStyleDeclaration;
}
__emphatic = true;
} else {
if (__emphatic) {
styleName = __emphaticStyleName;
}
__emphatic = false;
}
}
function refresh(Void) {
var _local2 = getState();
if (enabled == false) {
viewIcon("disabled");
viewSkin("disabled");
} else {
viewSkin(phase);
viewIcon(phase);
}
setView(phase == "down");
iconName.enabled = enabled;
}
function setView(offset) {
if (iconName == undefined) {
return(undefined);
}
var _local2 = (offset ? (btnOffset) : 0);
iconName._x = ((__width - iconName._width) / 2) + _local2;
iconName._y = ((__height - iconName._height) / 2) + _local2;
}
function setStateVar(state) {
if (state) {
if (trueOverSkin.length == 0) {
rolloverSkin = tus;
} else {
rolloverSkin = trs;
}
if (trueOverIcon.length == 0) {
rolloverIcon = tui;
} else {
rolloverIcon = tri;
}
upSkin = tus;
downSkin = tds;
disabledSkin = dts;
upIcon = tui;
downIcon = tdi;
disabledIcon = dti;
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
} else {
rolloverSkin = frs;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
} else {
rolloverIcon = fri;
}
upSkin = fus;
downSkin = fds;
disabledSkin = dfs;
upIcon = fui;
downIcon = fdi;
disabledIcon = dfi;
}
__state = state;
}
function setState(state) {
if (state != __state) {
setStateVar(state);
invalidate();
}
}
function size(Void) {
refresh();
}
function draw(Void) {
if (initializing) {
initializing = false;
skinName.visible = true;
iconName.visible = true;
}
size();
}
function getState(Void) {
return(__state);
}
function setToggle(val) {
__toggle = val;
if (__toggle == false) {
setState(false);
}
}
function getToggle(Void) {
return(__toggle);
}
function set toggle(val) {
setToggle(val);
//return(toggle);
}
function get toggle() {
return(getToggle());
}
function set value(val) {
setSelected(val);
//return(value);
}
function get value() {
return(getSelected());
}
function set selected(val) {
setSelected(val);
//return(selected);
}
function get selected() {
return(getSelected());
}
function setSelected(val) {
if (__toggle) {
setState(val);
} else {
setState(__state);
}
}
function getSelected() {
return(__state);
}
function setEnabled(val) {
if (enabled != val) {
super.setEnabled(val);
invalidate();
}
}
function onPress(Void) {
pressFocus();
phase = "down";
refresh();
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
interval = setInterval(this, "onPressDelay", getStyle("repeatDelay"));
}
}
function onPressDelay(Void) {
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
clearInterval(interval);
interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval"));
}
}
function onPressRepeat(Void) {
dispatchEvent({type:"buttonDown"});
updateAfterEvent();
}
function onRelease(Void) {
releaseFocus();
phase = "rollover";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
if (getToggle()) {
setState(!getState());
} else {
refresh();
}
dispatchEvent({type:"click"});
}
function onDragOut(Void) {
phase = "up";
refresh();
dispatchEvent({type:"buttonDragOut"});
}
function onDragOver(Void) {
if (phase != "up") {
onPress();
return(undefined);
}
phase = "down";
refresh();
}
function onReleaseOutside(Void) {
releaseFocus();
phase = "up";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
}
function onRollOver(Void) {
phase = "rollover";
refresh();
}
function onRollOut(Void) {
phase = "up";
refresh();
}
function getLabel(Void) {
return(fui.text);
}
function setLabel(val) {
if (typeof(fui) == "string") {
createLabel("fui", 8, val);
fui.styleName = this;
} else {
fui.text = val;
}
var _local4 = fui._getTextFormat();
var _local2 = _local4.getTextExtent2(val);
fui._width = _local2.width + 5;
fui._height = _local2.height + 5;
iconName = fui;
setView(__state);
}
function get emphasized() {
return(__emphasized);
}
function set emphasized(val) {
__emphasized = val;
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]] = stateNames[_local2] + "Skin";
if (typeof(this[idNames[_local2 + 8]]) == "movieclip") {
this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon";
}
_local2++;
}
showEmphasized(__emphasized);
setStateVar(__state);
invalidateStyle();
//return(emphasized);
}
function keyDown(e) {
if (e.code == 32) {
onPress();
}
}
function keyUp(e) {
if (e.code == 32) {
onRelease();
}
}
function onKillFocus(newFocus) {
super.onKillFocus();
if (phase != "up") {
phase = "up";
refresh();
}
}
static var symbolName = "SimpleButton";
static var symbolOwner = mx.controls.SimpleButton;
static var version = "2.0.0.377";
var className = "SimpleButton";
var style3dInset = 4;
var btnOffset = 1;
var __toggle = false;
var __state = false;
var __emphasized = false;
var __emphatic = false;
static var falseUp = 0;
static var falseDown = 1;
static var falseOver = 2;
static var falseDisabled = 3;
static var trueUp = 4;
static var trueDown = 5;
static var trueOver = 6;
static var trueDisabled = 7;
var falseUpSkin = "SimpleButtonUp";
var falseDownSkin = "SimpleButtonIn";
var falseOverSkin = "";
var falseDisabledSkin = "SimpleButtonUp";
var trueUpSkin = "SimpleButtonIn";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "SimpleButtonIn";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var phase = "up";
var fui = "falseUpIcon";
var fus = "falseUpSkin";
var fdi = "falseDownIcon";
var fds = "falseDownSkin";
var frs = "falseOverSkin";
var fri = "falseOverIcon";
var dfi = "falseDisabledIcon";
var dfs = "falseDisabledSkin";
var tui = "trueUpIcon";
var tus = "trueUpSkin";
var tdi = "trueDownIcon";
var tds = "trueDownSkin";
var trs = "trueOverSkin";
var tri = "trueOverIcon";
var dts = "trueDisabledSkin";
var dti = "trueDisabledIcon";
var rolloverSkin = mx.controls.SimpleButton.prototype.frs;
var rolloverIcon = mx.controls.SimpleButton.prototype.fri;
var upSkin = mx.controls.SimpleButton.prototype.fus;
var downSkin = mx.controls.SimpleButton.prototype.fds;
var disabledSkin = mx.controls.SimpleButton.prototype.dfs;
var upIcon = mx.controls.SimpleButton.prototype.fui;
var downIcon = mx.controls.SimpleButton.prototype.fdi;
var disabledIcon = mx.controls.SimpleButton.prototype.dfi;
var initializing = true;
var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"];
var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"];
var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"];
var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7};
}
Symbol 5 MovieClip [__Packages.mx.controls.listclasses.DataSelector] Frame 0
class mx.controls.listclasses.DataSelector extends Object
{
var __vPosition, setVPosition, __dataProvider, enabled, lastSelID, lastSelected, selected, invUpdateControl, invalidate, multipleSelection, updateControl, __rowCount, rows;
function DataSelector () {
super();
}
static function Initialize(obj) {
var _local3 = mixinProps;
var _local4 = _local3.length;
obj = obj.prototype;
var _local1 = 0;
while (_local1 < _local4) {
obj[_local3[_local1]] = mixins[_local3[_local1]];
_local1++;
}
mixins.createProp(obj, "dataProvider", true);
mixins.createProp(obj, "length", false);
mixins.createProp(obj, "value", false);
mixins.createProp(obj, "selectedIndex", true);
mixins.createProp(obj, "selectedIndices", true);
mixins.createProp(obj, "selectedItems", false);
mixins.createProp(obj, "selectedItem", true);
return(true);
}
function createProp(obj, propName, setter) {
var p = (propName.charAt(0).toUpperCase() + propName.substr(1));
var _local2 = null;
var _local3 = function (Void) {
return(this["get" + p]());
};
if (setter) {
_local2 = function (val) {
this["set" + p](val);
};
}
obj.addProperty(propName, _local3, _local2);
}
function setDataProvider(dP) {
if (__vPosition != 0) {
setVPosition(0);
}
clearSelected();
__dataProvider.removeEventListener(this);
__dataProvider = dP;
dP.addEventListener("modelChanged", this);
modelChanged({eventName:"updateAll"});
}
function getDataProvider(Void) {
return(__dataProvider);
}
function addItemAt(index, label, data) {
if ((index < 0) || (!enabled)) {
return(undefined);
}
var _local2 = __dataProvider;
if (_local2 == undefined) {
_local2 = (__dataProvider = new Array());
_local2.addEventListener("modelChanged", this);
index = 0;
}
if ((typeof(label) == "object") || (typeof(_local2.getItemAt(0)) == "string")) {
_local2.addItemAt(index, label);
} else {
_local2.addItemAt(index, {label:label, data:data});
}
}
function addItem(label, data) {
addItemAt(__dataProvider.length, label, data);
}
function removeItemAt(index) {
return(__dataProvider.removeItemAt(index));
}
function removeAll(Void) {
__dataProvider.removeAll();
}
function replaceItemAt(index, newLabel, newData) {
if (typeof(newLabel) == "object") {
__dataProvider.replaceItemAt(index, newLabel);
} else {
__dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
}
}
function sortItemsBy(fieldName, order) {
lastSelID = __dataProvider.getItemID(lastSelected);
__dataProvider.sortItemsBy(fieldName, order);
}
function sortItems(compareFunc, order) {
lastSelID = __dataProvider.getItemID(lastSelected);
__dataProvider.sortItems(compareFunc, order);
}
function getLength(Void) {
return(__dataProvider.length);
}
function getItemAt(index) {
return(__dataProvider.getItemAt(index));
}
function modelChanged(eventObj) {
var _local3 = eventObj.firstItem;
var _local6 = eventObj.lastItem;
var _local7 = eventObj.eventName;
if (_local7 == undefined) {
_local7 = eventObj.event;
_local3 = eventObj.firstRow;
_local6 = eventObj.lastRow;
if (_local7 == "addRows") {
_local7 = (eventObj.eventName = "addItems");
} else if (_local7 == "deleteRows") {
_local7 = (eventObj.eventName = "removeItems");
} else if (_local7 == "updateRows") {
_local7 = (eventObj.eventName = "updateItems");
}
}
if (_local7 == "addItems") {
for (var _local2 in selected) {
var _local5 = selected[_local2];
if ((_local5 != undefined) && (_local5 >= _local3)) {
selected[_local2] = selected[_local2] + ((_local6 - _local3) + 1);
}
}
} else if (_local7 == "removeItems") {
if (__dataProvider.length == 0) {
delete selected;
} else {
var _local9 = eventObj.removedIDs;
var _local10 = _local9.length;
var _local2 = 0;
while (_local2 < _local10) {
var _local4 = _local9[_local2];
if (selected[_local4] != undefined) {
delete selected[_local4];
}
_local2++;
}
for (_local2 in selected) {
if (selected[_local2] >= _local3) {
selected[_local2] = selected[_local2] - ((_local6 - _local3) + 1);
}
}
}
} else if (_local7 == "sort") {
if (typeof(__dataProvider.getItemAt(0)) != "object") {
delete selected;
} else {
var _local10 = __dataProvider.length;
var _local2 = 0;
while (_local2 < _local10) {
if (isSelected(_local2)) {
var _local4 = __dataProvider.getItemID(_local2);
if (_local4 == lastSelID) {
lastSelected = _local2;
}
selected[_local4] = _local2;
}
_local2++;
}
}
} else if (_local7 == "filterModel") {
setVPosition(0);
}
invUpdateControl = true;
invalidate();
}
function getValue(Void) {
var _local2 = getSelectedItem();
if (typeof(_local2) != "object") {
return(_local2);
}
return(((_local2.data == undefined) ? (_local2.label) : (_local2.data)));
}
function getSelectedIndex(Void) {
for (var _local3 in selected) {
var _local2 = selected[_local3];
if (_local2 != undefined) {
return(_local2);
}
}
}
function setSelectedIndex(index) {
if (((index >= 0) && (index < __dataProvider.length)) && (enabled)) {
delete selected;
selectItem(index, true);
lastSelected = index;
invUpdateControl = true;
invalidate();
} else if (index == undefined) {
clearSelected();
}
}
function getSelectedIndices(Void) {
var _local2 = new Array();
for (var _local3 in selected) {
_local2.push(selected[_local3]);
}
_local2.reverse();
return(((_local2.length > 0) ? (_local2) : undefined));
}
function setSelectedIndices(indexArray) {
if (multipleSelection != true) {
return(undefined);
}
delete selected;
var _local3 = 0;
while (_local3 < indexArray.length) {
var _local2 = indexArray[_local3];
if ((_local2 >= 0) && (_local2 < __dataProvider.length)) {
selectItem(_local2, true);
}
_local3++;
}
invUpdateControl = true;
updateControl();
}
function getSelectedItems(Void) {
var _local3 = getSelectedIndices();
var _local4 = new Array();
var _local2 = 0;
while (_local2 < _local3.length) {
_local4.push(getItemAt(_local3[_local2]));
_local2++;
}
return(((_local4.length > 0) ? (_local4) : undefined));
}
function getSelectedItem(Void) {
return(__dataProvider.getItemAt(getSelectedIndex()));
}
function selectItem(index, selectedFlag) {
if (selected == undefined) {
selected = new Object();
}
var _local2 = __dataProvider.getItemID(index);
if (_local2 == undefined) {
return(undefined);
}
if (selectedFlag && (!isSelected(index))) {
selected[_local2] = index;
} else if (!selectedFlag) {
delete selected[_local2];
}
}
function isSelected(index) {
var _local2 = __dataProvider.getItemID(index);
if (_local2 == undefined) {
return(false);
}
return(selected[_local2] != undefined);
}
function clearSelected(transition) {
var _local3 = 0;
for (var _local4 in selected) {
var _local2 = selected[_local4];
if (((_local2 != undefined) && (__vPosition <= _local2)) && (_local2 < (__vPosition + __rowCount))) {
rows[_local2 - __vPosition].drawRow(rows[_local2 - __vPosition].item, "normal", transition && ((_local3 % 3) == 0));
}
_local3++;
}
delete selected;
}
static var mixins = new mx.controls.listclasses.DataSelector();
static var mixinProps = ["setDataProvider", "getDataProvider", "addItem", "addItemAt", "removeAll", "removeItemAt", "replaceItemAt", "sortItemsBy", "sortItems", "getLength", "getItemAt", "modelChanged", "calcPreferredWidthFromData", "calcPreferredHeightFromData", "getValue", "getSelectedIndex", "getSelectedItem", "getSelectedIndices", "getSelectedItems", "selectItem", "isSelected", "clearSelected", "setSelectedIndex", "setSelectedIndices"];
}
Symbol 7 MovieClip [__Packages.mx.controls.listclasses.DataProvider] Frame 0
class mx.controls.listclasses.DataProvider extends Object
{
var length, splice, dispatchEvent, sortOn, reverse, sort;
function DataProvider (obj) {
super();
}
static function Initialize(obj) {
var _local4 = mixinProps;
var _local6 = _local4.length;
obj = obj.prototype;
var _local3 = 0;
while (_local3 < _local6) {
obj[_local4[_local3]] = mixins[_local4[_local3]];
_global.ASSetPropFlags(obj, _local4[_local3], 1);
_local3++;
}
mx.events.EventDispatcher.initialize(obj);
_global.ASSetPropFlags(obj, "addEventListener", 1);
_global.ASSetPropFlags(obj, "removeEventListener", 1);
_global.ASSetPropFlags(obj, "dispatchEvent", 1);
_global.ASSetPropFlags(obj, "dispatchQueue", 1);
Object.prototype.LargestID = 0;
Object.prototype.getID = function () {
if (this.__ID__ == undefined) {
this.__ID__ = Object.prototype.LargestID++;
_global.ASSetPropFlags(this, "__ID__", 1);
}
return(this.__ID__);
};
_global.ASSetPropFlags(Object.prototype, "LargestID", 1);
_global.ASSetPropFlags(Object.prototype, "getID", 1);
return(true);
}
function addItemAt(index, value) {
if (index < length) {
splice(index, 0, value);
} else if (index > length) {
trace("Cannot add an item past the end of the DataProvider");
return(undefined);
}
this[index] = value;
updateViews("addItems", index, index);
}
function addItem(value) {
addItemAt(length, value);
}
function addItemsAt(index, newItems) {
index = Math.min(length, index);
newItems.unshift(index, 0);
splice.apply(this, newItems);
newItems.splice(0, 2);
updateViews("addItems", index, (index + newItems.length) - 1);
}
function removeItemsAt(index, len) {
var _local3 = new Array();
var _local2 = 0;
while (_local2 < len) {
_local3.push(getItemID(index + _local2));
_local2++;
}
var _local6 = splice(index, len);
dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:index, lastItem:(index + len) - 1, removedItems:_local6, removedIDs:_local3});
}
function removeItemAt(index) {
var _local2 = this[index];
removeItemsAt(index, 1);
return(_local2);
}
function removeAll(Void) {
splice(0);
updateViews("removeItems", 0, length - 1);
}
function replaceItemAt(index, itemObj) {
if ((index < 0) || (index >= length)) {
return(undefined);
}
var _local3 = getItemID(index);
this[index] = itemObj;
this[index].__ID__ = _local3;
updateViews("updateItems", index, index);
}
function getItemAt(index) {
return(this[index]);
}
function getItemID(index) {
var _local2 = this[index];
if ((typeof(_local2) != "object") && (_local2 != undefined)) {
return(index);
}
return(_local2.getID());
}
function sortItemsBy(fieldName, order) {
if (typeof(order) == "string") {
sortOn(fieldName);
if (order.toUpperCase() == "DESC") {
reverse();
}
} else {
sortOn(fieldName, order);
}
updateViews("sort");
}
function sortItems(compareFunc, optionFlags) {
sort(compareFunc, optionFlags);
updateViews("sort");
}
function editField(index, fieldName, newData) {
this[index][fieldName] = newData;
dispatchEvent({type:"modelChanged", eventName:"updateField", firstItem:index, lastItem:index, fieldName:fieldName});
}
function getEditingData(index, fieldName) {
return(this[index][fieldName]);
}
function updateViews(event, first, last) {
dispatchEvent({type:"modelChanged", eventName:event, firstItem:first, lastItem:last});
}
static var mixinProps = ["addView", "addItem", "addItemAt", "removeAll", "removeItemAt", "replaceItemAt", "getItemAt", "getItemID", "sortItemsBy", "sortItems", "updateViews", "addItemsAt", "removeItemsAt", "getEditingData", "editField"];
static var evtDipatcher = mx.events.EventDispatcher;
static var mixins = new mx.controls.listclasses.DataProvider();
}
Symbol 8 MovieClip [__Packages.mx.controls.listclasses.ScrollSelectList] Frame 0
class mx.controls.listclasses.ScrollSelectList extends mx.core.ScrollView
{
var invLayoutContent, rows, topRowZ, listContent, __dataProvider, __vPosition, tW, layoutX, layoutY, tH, invRowHeight, invalidate, __height, invUpdateControl, __cellRenderer, __labelFunction, __iconField, __iconFunction, getLength, baseRowZ, lastPosition, propertyTable, isSelected, changeFlag, clearSelected, selectItem, lastSelected, wasKeySelected, dispatchEvent, dragScrolling, _ymouse, scrollInterval, isPressed, onMouseUp, getSelectedIndex, enabled, tabEnabled, tabChildren, createEmptyMovieClip, border_mc;
function ScrollSelectList () {
super();
}
function layoutContent(x, y, w, h) {
delete invLayoutContent;
var _local4 = Math.ceil(h / __rowHeight);
roundUp = (h % __rowHeight) != 0;
var _local12 = _local4 - __rowCount;
if (_local12 < 0) {
var _local3 = _local4;
while (_local3 < __rowCount) {
rows[_local3].removeMovieClip();
delete rows[_local3];
_local3++;
}
topRowZ = topRowZ + _local12;
} else if (_local12 > 0) {
if (rows == undefined) {
rows = new Array();
}
var _local3 = __rowCount;
while (_local3 < _local4) {
var _local2 = (rows[_local3] = listContent.createObject(__rowRenderer, "listRow" + (topRowZ++), topRowZ, {owner:this, styleName:this, rowIndex:_local3}));
_local2._x = x;
_local2._y = Math.round((_local3 * __rowHeight) + y);
_local2.setSize(w, __rowHeight);
_local2.drawRow(__dataProvider.getItemAt(__vPosition + _local3), getStateAt(__vPosition + _local3));
_local2.lastY = _local2._y;
_local3++;
}
}
if (w != tW) {
var _local11 = ((_local12 > 0) ? (__rowCount) : (_local4));
var _local3 = 0;
while (_local3 < _local11) {
rows[_local3].setSize(w, __rowHeight);
_local3++;
}
}
if ((layoutX != x) || (layoutY != y)) {
var _local3 = 0;
while (_local3 < _local4) {
rows[_local3]._x = x;
rows[_local3]._y = Math.round((_local3 * __rowHeight) + y);
_local3++;
}
}
__rowCount = _local4;
layoutX = x;
layoutY = y;
tW = w;
tH = h;
}
function getRowHeight(Void) {
return(__rowHeight);
}
function setRowHeight(v) {
__rowHeight = v;
invRowHeight = true;
invalidate();
}
function get rowHeight() {
return(getRowHeight());
}
function set rowHeight(w) {
setRowHeight(w);
//return(rowHeight);
}
function setRowCount(v) {
__rowCount = v;
}
function getRowCount(Void) {
var _local2 = ((__rowCount == 0) ? (Math.ceil(__height / __rowHeight)) : (__rowCount));
return(_local2);
}
function get rowCount() {
return(getRowCount());
}
function set rowCount(w) {
setRowCount(w);
//return(rowCount);
}
function setEnabled(v) {
super.setEnabled(v);
invUpdateControl = true;
invalidate();
}
function setCellRenderer(cR) {
__cellRenderer = cR;
var _local2 = 0;
while (_local2 < rows.length) {
rows[_local2].setCellRenderer(true);
_local2++;
}
invUpdateControl = true;
invalidate();
}
function set cellRenderer(cR) {
setCellRenderer(cR);
//return(cellRenderer);
}
function get cellRenderer() {
return(__cellRenderer);
}
function set labelField(field) {
setLabelField(field);
//return(labelField);
}
function setLabelField(field) {
__labelField = field;
invUpdateControl = true;
invalidate();
}
function get labelField() {
return(__labelField);
}
function set labelFunction(func) {
setLabelFunction(func);
//return(labelFunction);
}
function setLabelFunction(func) {
__labelFunction = func;
invUpdateControl = true;
invalidate();
}
function get labelFunction() {
return(__labelFunction);
}
function set iconField(field) {
setIconField(field);
//return(iconField);
}
function setIconField(field) {
__iconField = field;
invUpdateControl = true;
invalidate();
}
function get iconField() {
return(__iconField);
}
function set iconFunction(func) {
setIconFunction(func);
//return(iconFunction);
}
function setIconFunction(func) {
__iconFunction = func;
invUpdateControl = true;
invalidate();
}
function get iconFunction() {
return(__iconFunction);
}
function setVPosition(pos) {
if (pos < 0) {
return(undefined);
}
if ((pos > 0) && (pos > ((getLength() - __rowCount) + roundUp))) {
return(undefined);
}
var _local8 = pos - __vPosition;
if (_local8 == 0) {
return(undefined);
}
__vPosition = pos;
var _local10 = _local8 > 0;
_local8 = Math.abs(_local8);
if (_local8 >= __rowCount) {
updateControl();
} else {
var _local4 = new Array();
var _local9 = __rowCount - _local8;
var _local12 = _local8 * __rowHeight;
var _local11 = _local9 * __rowHeight;
var _local6 = (_local10 ? 1 : -1);
var _local3 = 0;
while (_local3 < __rowCount) {
if (((_local3 < _local8) && (_local10)) || ((_local3 >= _local9) && (!_local10))) {
rows[_local3]._y = rows[_local3]._y + Math.round(_local6 * _local11);
var _local5 = _local3 + (_local6 * _local9);
var _local7 = __vPosition + _local5;
_local4[_local5] = rows[_local3];
_local4[_local5].rowIndex = _local5;
_local4[_local5].drawRow(__dataProvider.getItemAt(_local7), getStateAt(_local7), false);
} else {
rows[_local3]._y = rows[_local3]._y - Math.round(_local6 * _local12);
var _local5 = _local3 - (_local6 * _local8);
_local4[_local5] = rows[_local3];
_local4[_local5].rowIndex = _local5;
}
_local3++;
}
rows = _local4;
_local3 = 0;
while (_local3 < __rowCount) {
rows[_local3].swapDepths(baseRowZ + _local3);
_local3++;
}
}
lastPosition = pos;
super.setVPosition(pos);
}
function setPropertiesAt(index, obj) {
var _local2 = __dataProvider.getItemID(index);
if (_local2 == undefined) {
return(undefined);
}
if (propertyTable == undefined) {
propertyTable = new Object();
}
propertyTable[_local2] = obj;
rows[index - __vPosition].drawRow(__dataProvider.getItemAt(index), getStateAt(index));
}
function getPropertiesAt(index) {
var _local2 = __dataProvider.getItemID(index);
if (_local2 == undefined) {
return(undefined);
}
return(propertyTable[_local2]);
}
function getStyle(styleProp) {
var _local2 = super.getStyle(styleProp);
var _local3 = mx.styles.StyleManager.colorNames[_local2];
if (_local3 != undefined) {
_local2 = _local3;
}
return(_local2);
}
function updateControl(Void) {
var _local2 = 0;
while (_local2 < __rowCount) {
rows[_local2].drawRow(__dataProvider.getItemAt(_local2 + __vPosition), getStateAt(_local2 + __vPosition));
_local2++;
}
delete invUpdateControl;
}
function getStateAt(index) {
return((isSelected(index) ? "selected" : "normal"));
}
function selectRow(rowIndex, transition) {
if (!selectable) {
return(undefined);
}
var _local3 = __vPosition + rowIndex;
var _local8 = __dataProvider.getItemAt(_local3);
var _local5 = rows[rowIndex];
if (_local8 == undefined) {
return(undefined);
}
if (transition == undefined) {
transition = true;
}
changeFlag = true;
if (((!multipleSelection) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) {
clearSelected(transition);
selectItem(_local3, true);
lastSelected = _local3;
_local5.drawRow(_local5.item, getStateAt(_local3), transition);
} else if (Key.isDown(16) && (multipleSelection)) {
if (lastSelected == undefined) {
lastSelected = _local3;
}
var _local4 = ((lastSelected < _local3) ? 1 : -1);
clearSelected(false);
var _local2 = lastSelected;
while (_local2 != _local3) {
selectItem(_local2, true);
if ((_local2 >= __vPosition) && (_local2 < (__vPosition + __rowCount))) {
rows[_local2 - __vPosition].drawRow(rows[_local2 - __vPosition].item, "selected", false);
}
_local2 = _local2 + _local4;
}
selectItem(_local3, true);
_local5.drawRow(_local5.item, "selected", transition);
} else if (Key.isDown(17)) {
var _local7 = isSelected(_local3);
if ((!multipleSelection) || (wasKeySelected)) {
clearSelected(transition);
}
if (!((!multipleSelection) && (_local7))) {
selectItem(_local3, !_local7);
var _local9 = ((!_local7) ? "selected" : "normal");
_local5.drawRow(_local5.item, _local9, transition);
}
lastSelected = _local3;
}
if (wasKeySelected) {
dispatchEvent({type:"change"});
}
delete wasKeySelected;
}
function dragScroll(Void) {
clearInterval(dragScrolling);
if (_ymouse < 0) {
setVPosition(__vPosition - 1);
selectRow(0, false);
var _local2 = Math.min((-_ymouse) - 30, 0);
scrollInterval = (((0.593 * _local2) * _local2) + 1) + minScrollInterval;
dragScrolling = setInterval(this, "dragScroll", scrollInterval);
dispatchEvent({type:"scroll", direction:"vertical", position:__vPosition});
} else if (_ymouse > __height) {
var _local3 = __vPosition;
setVPosition(__vPosition + 1);
if (_local3 != __vPosition) {
selectRow((__rowCount - 1) - roundUp, false);
}
var _local2 = Math.min((_ymouse - __height) - 30, 0);
scrollInterval = (((0.593 * _local2) * _local2) + 1) + minScrollInterval;
dragScrolling = setInterval(this, "dragScroll", scrollInterval);
dispatchEvent({type:"scroll", direction:"vertical", position:__vPosition});
} else {
dragScrolling = setInterval(this, "dragScroll", 15);
}
updateAfterEvent();
}
function __onMouseUp(Void) {
clearInterval(dragScrolling);
delete dragScrolling;
delete dragScrolling;
delete isPressed;
delete onMouseUp;
if (!selectable) {
return(undefined);
}
if (changeFlag) {
dispatchEvent({type:"change"});
}
delete changeFlag;
}
function moveSelBy(incr) {
if (!selectable) {
setVPosition(__vPosition + incr);
return(undefined);
}
var _local3 = getSelectedIndex();
if (_local3 == undefined) {
_local3 = -1;
}
var _local2 = _local3 + incr;
_local2 = Math.max(0, _local2);
_local2 = Math.min(getLength() - 1, _local2);
if (_local2 == _local3) {
return(undefined);
}
if ((_local3 < __vPosition) || (_local3 >= (__vPosition + __rowCount))) {
setVPosition(_local3);
}
if ((_local2 >= ((__vPosition + __rowCount) - roundUp)) || (_local2 < __vPosition)) {
setVPosition(__vPosition + incr);
}
wasKeySelected = true;
selectRow(_local2 - __vPosition, false);
}
function keyDown(e) {
if (selectable) {
if (findInputText()) {
return(undefined);
}
}
if (e.code == 40) {
moveSelBy(1);
} else if (e.code == 38) {
moveSelBy(-1);
} else if (e.code == 34) {
if (selectable) {
var _local3 = getSelectedIndex();
if (_local3 == undefined) {
_local3 = 0;
}
setVPosition(_local3);
}
moveSelBy((__rowCount - 1) - roundUp);
} else if (e.code == 33) {
if (selectable) {
var _local3 = getSelectedIndex();
if (_local3 == undefined) {
_local3 = 0;
}
setVPosition(_local3);
}
moveSelBy((1 - __rowCount) + roundUp);
} else if (e.code == 36) {
moveSelBy(-__dataProvider.length);
} else if (e.code == 35) {
moveSelBy(__dataProvider.length);
}
}
function findInputText(Void) {
var _local2 = Key.getAscii();
if ((_local2 >= 33) && (_local2 <= 126)) {
findString(String.fromCharCode(_local2));
return(true);
}
}
function findString(str) {
if (__dataProvider.length == 0) {
return(undefined);
}
var _local4 = getSelectedIndex();
if (_local4 == undefined) {
_local4 = 0;
}
var _local6 = 0;
var _local3 = _local4 + 1;
while (_local3 != _local4) {
var _local2 = __dataProvider.getItemAt(_local3);
if (_local2 instanceof XMLNode) {
_local2 = _local2.attributes[__labelField];
} else if (typeof(_local2) != "string") {
_local2 = String(_local2[__labelField]);
}
_local2 = _local2.substring(0, str.length);
if ((str == _local2) || (str.toUpperCase() == _local2.toUpperCase())) {
_local6 = _local3 - _local4;
break;
}
if (_local3 >= (getLength() - 1)) {
_local3 = -1;
}
_local3++;
}
if (_local6 != 0) {
moveSelBy(_local6);
}
}
function onRowPress(rowIndex) {
if (!enabled) {
return(undefined);
}
isPressed = true;
dragScrolling = setInterval(this, "dragScroll", 15);
onMouseUp = __onMouseUp;
if (!selectable) {
return(undefined);
}
selectRow(rowIndex);
}
function onRowRelease(rowIndex) {
}
function onRowRollOver(rowIndex) {
if (!enabled) {
return(undefined);
}
var _local2 = rows[rowIndex].item;
if (getStyle("useRollOver") && (_local2 != undefined)) {
rows[rowIndex].drawRow(_local2, "highlighted", false);
}
dispatchEvent({type:"itemRollOver", index:rowIndex + __vPosition});
}
function onRowRollOut(rowIndex) {
if (!enabled) {
return(undefined);
}
if (getStyle("useRollOver")) {
rows[rowIndex].drawRow(rows[rowIndex].item, getStateAt(rowIndex + __vPosition), false);
}
dispatchEvent({type:"itemRollOut", index:rowIndex + __vPosition});
}
function onRowDragOver(rowIndex) {
if (((!enabled) || (isPressed != true)) || (!selectable)) {
return(undefined);
}
if (dropEnabled) {
} else if (dragScrolling) {
selectRow(rowIndex, false);
} else {
onMouseUp = __onMouseUp;
onRowPress(rowIndex);
}
}
function onRowDragOut(rowIndex) {
if (!enabled) {
return(undefined);
}
if (dragEnabled) {
} else {
onRowRollOut(rowIndex);
}
}
function init(Void) {
super.init();
tabEnabled = true;
tabChildren = false;
if (__dataProvider == undefined) {
__dataProvider = new Array();
__dataProvider.addEventListener("modelChanged", this);
}
baseRowZ = (topRowZ = 10);
}
function createChildren(Void) {
super.createChildren();
listContent = createEmptyMovieClip("content_mc", CONTENTDEPTH);
invLayoutContent = true;
invalidate();
}
function draw(Void) {
if (invRowHeight) {
delete invRowHeight;
__rowCount = 0;
listContent.removeMovieClip();
listContent = createEmptyMovieClip("content_mc", CONTENTDEPTH);
}
if (invUpdateControl) {
updateControl();
}
border_mc.draw();
}
function invalidateStyle(propName) {
if (isRowStyle[propName]) {
invUpdateControl = true;
invalidate();
} else {
var _local3 = 0;
while (_local3 < __rowCount) {
rows[_local3].invalidateStyle(propName);
_local3++;
}
}
super.invalidateStyle(propName);
}
static var mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList);
static var mixIt2 = mx.controls.listclasses.DataProvider.Initialize(Array);
var CONTENTDEPTH = 100;
var __hPosition = 0;
var __rowRenderer = "SelectableRow";
var __rowHeight = 22;
var __rowCount = 0;
var __labelField = "label";
var minScrollInterval = 30;
var dropEnabled = false;
var dragEnabled = false;
var className = "ScrollSelectList";
var isRowStyle = {styleName:true, backgroundColor:true, selectionColor:true, rollOverColor:true, selectionDisabledColor:true, backgroundDisabledColor:true, textColor:true, textSelectedColor:true, textRollOverColor:true, textDisabledColor:true, alternatingRowColors:true, defaultIcon:true};
var roundUp = 0;
var selectable = true;
var multipleSelection = false;
}
Symbol 9 MovieClip [__Packages.mx.controls.List] Frame 0
class mx.controls.List extends mx.controls.listclasses.ScrollSelectList
{
var border_mc, __labels, setDataProvider, roundUp, __get__rowCount, __dataProvider, __maxHPosition, invScrollProps, invalidate, __vPosition, getViewMetrics, setSize, __width, __rowHeight, totalWidth, totalHeight, displayWidth, __hScrollPolicy, vScroller, __hPosition, listContent, data, mask_mc, __height, __rowCount, invRowHeight, invLayoutContent, setScrollProperties, oldVWidth;
function List () {
super();
}
function setEnabled(v) {
super.setEnabled(v);
border_mc.backgroundColorName = (v ? "backgroundColor" : "backgroundDisabledColor");
border_mc.invalidate();
}
function get labels() {
return(__labels);
}
function set labels(lbls) {
__labels = lbls;
setDataProvider(lbls);
//return(labels);
}
function setVPosition(pos) {
pos = Math.min((__dataProvider.length - __get__rowCount()) + roundUp, pos);
pos = Math.max(0, pos);
super.setVPosition(pos);
}
function setHPosition(pos) {
pos = Math.max(Math.min(__maxHPosition, pos), 0);
super.setHPosition(pos);
hScroll(pos);
}
function setMaxHPosition(pos) {
__maxHPosition = pos;
invScrollProps = true;
invalidate();
}
function setHScrollPolicy(policy) {
if ((policy.toLowerCase() == "auto") && (!autoHScrollAble)) {
return(undefined);
}
super.setHScrollPolicy(policy);
if (policy == "off") {
setHPosition(0);
setVPosition(Math.min((__dataProvider.length - __get__rowCount()) + roundUp, __vPosition));
}
}
function setRowCount(rC) {
if (isNaN(rC)) {
return(undefined);
}
var _local2 = getViewMetrics();
setSize(__width, ((__rowHeight * rC) + _local2.top) + _local2.bottom);
}
function layoutContent(x, y, tW, tH, dW, dH) {
totalWidth = tW;
totalHeight = tH;
displayWidth = dW;
var _local4 = (((__hScrollPolicy == "on") || (__hScrollPolicy == "auto")) ? (Math.max(tW, dW)) : (dW));
super.layoutContent(x, y, _local4, dH);
}
function modelChanged(eventObj) {
super.modelChanged(eventObj);
var _local3 = eventObj.eventName;
if ((((_local3 == "addItems") || (_local3 == "removeItems")) || (_local3 == "updateAll")) || (_local3 == "filterModel")) {
invScrollProps = true;
invalidate("invScrollProps");
}
}
function onScroll(eventObj) {
var _local3 = eventObj.target;
if (_local3 == vScroller) {
setVPosition(_local3.scrollPosition);
} else {
hScroll(_local3.scrollPosition);
}
super.onScroll(eventObj);
}
function hScroll(pos) {
__hPosition = pos;
listContent._x = -pos;
}
function init(Void) {
super.init();
if (labels.length > 0) {
var _local6 = new Array();
var _local3 = 0;
while (_local3 < labels.length) {
_local6.addItem({label:labels[_local3], data:data[_local3]});
_local3++;
}
setDataProvider(_local6);
}
__maxHPosition = 0;
}
function createChildren(Void) {
super.createChildren();
listContent.setMask(MovieClip(mask_mc));
border_mc.move(0, 0);
border_mc.setSize(__width, __height);
}
function getRowCount(Void) {
var _local2 = getViewMetrics();
return(((__rowCount == 0) ? (Math.ceil(((__height - _local2.top) - _local2.bottom) / __rowHeight)) : (__rowCount)));
}
function size(Void) {
super.size();
configureScrolling();
var _local3 = getViewMetrics();
layoutContent(_local3.left, _local3.top, __width + __maxHPosition, totalHeight, (__width - _local3.left) - _local3.right, (__height - _local3.top) - _local3.bottom);
}
function draw(Void) {
if (invRowHeight) {
invScrollProps = true;
super.draw();
listContent.setMask(MovieClip(mask_mc));
invLayoutContent = true;
}
if (invScrollProps) {
configureScrolling();
delete invScrollProps;
}
if (invLayoutContent) {
var _local3 = getViewMetrics();
layoutContent(_local3.left, _local3.top, __width + __maxHPosition, totalHeight, (__width - _local3.left) - _local3.right, (__height - _local3.top) - _local3.bottom);
}
super.draw();
}
function configureScrolling(Void) {
var _local2 = __dataProvider.length;
if (__vPosition > Math.max(0, (_local2 - getRowCount()) + roundUp)) {
setVPosition(Math.max(0, Math.min((_local2 - getRowCount()) + roundUp, __vPosition)));
}
var _local3 = getViewMetrics();
var _local4 = ((__hScrollPolicy != "off") ? (((__maxHPosition + __width) - _local3.left) - _local3.right) : ((__width - _local3.left) - _local3.right));
if (_local2 == undefined) {
_local2 = 0;
}
setScrollProperties(_local4, 1, _local2, __rowHeight);
if (oldVWidth != _local4) {
invLayoutContent = true;
}
oldVWidth = _local4;
}
static var symbolOwner = mx.controls.List;
static var symbolName = "List";
static var version = "2.0.0.377";
var clipParameters = {rowHeight:1, enabled:1, visible:1, labels:1};
var scrollDepth = 1;
var __vScrollPolicy = "on";
var autoHScrollAble = false;
}
Symbol 118 MovieClip [__Packages.mx.effects.Tween] Frame 0
class mx.effects.Tween extends Object
{
static var IntervalToken;
var arrayMode, listener, initVal, endVal, startTime, updateFunc, endFunc, ID;
function Tween (listenerObj, init, end, dur) {
super();
if (listenerObj == undefined) {
return;
}
if (typeof(init) != "number") {
arrayMode = true;
}
listener = listenerObj;
initVal = init;
endVal = end;
if (dur != undefined) {
duration = dur;
}
startTime = getTimer();
if (duration == 0) {
doInterval();
} else {
AddTween(this);
}
}
static function AddTween(tween) {
tween.ID = ActiveTweens.length;
ActiveTweens.push(tween);
if (IntervalToken == undefined) {
Dispatcher.DispatchTweens = DispatchTweens;
IntervalToken = setInterval(Dispatcher, "DispatchTweens", Interval);
}
}
static function RemoveTweenAt(index) {
var _local2 = ActiveTweens;
if (((index >= _local2.length) || (index < 0)) || (index == undefined)) {
return(undefined);
}
_local2.splice(index, 1);
var _local4 = _local2.length;
var _local1 = index;
while (_local1 < _local4) {
_local2[_local1].ID--;
_local1++;
}
if (_local4 == 0) {
clearInterval(IntervalToken);
delete IntervalToken;
}
}
static function DispatchTweens(Void) {
var _local2 = ActiveTweens;
var _local3 = _local2.length;
var _local1 = 0;
while (_local1 < _local3) {
_local2[_local1].doInterval();
_local1++;
}
updateAfterEvent();
}
function doInterval() {
var _local2 = getTimer() - startTime;
var _local3 = getCurVal(_local2);
if (_local2 >= duration) {
endTween();
} else if (updateFunc != undefined) {
listener[updateFunc](_local3);
} else {
listener.onTweenUpdate(_local3);
}
}
function getCurVal(curTime) {
if (arrayMode) {
var _local3 = new Array();
var _local2 = 0;
while (_local2 < initVal.length) {
_local3[_local2] = easingEquation(curTime, initVal[_local2], endVal[_local2] - initVal[_local2], duration);
_local2++;
}
return(_local3);
}
return(easingEquation(curTime, initVal, endVal - initVal, duration));
}
function endTween() {
if (endFunc != undefined) {
listener[endFunc](endVal);
} else {
listener.onTweenEnd(endVal);
}
RemoveTweenAt(ID);
}
function setTweenHandlers(update, end) {
updateFunc = update;
endFunc = end;
}
function easingEquation(t, b, c, d) {
return(((c / 2) * (Math.sin(Math.PI * ((t / d) - 0.5)) + 1)) + b);
}
static var ActiveTweens = new Array();
static var Interval = 10;
static var Dispatcher = new Object();
var duration = 3000;
}
Symbol 119 MovieClip [__Packages.mx.controls.listclasses.SelectableRow] Frame 0
class mx.controls.listclasses.SelectableRow extends mx.core.UIComponent
{
var __height, cell, owner, rowIndex, icon_mc, createObject, __width, backGround, highlight, highlightColor, createLabel, createClassObject, listOwner, tabEnabled, item, createEmptyMovieClip, drawRect, isChangedToSelected, bGTween, grandOwner;
function SelectableRow () {
super();
}
function setValue(itmObj, state) {
var _local7 = __height;
var _local2 = cell;
var _local5 = owner;
var _local8 = itemToString(itmObj);
if (_local2.getValue() != _local8) {
_local2.setValue(_local8, itmObj, state);
}
var _local4 = _local5.getPropertiesAt(rowIndex + _local5.__vPosition).icon;
if (_local4 == undefined) {
_local4 = _local5.__iconFunction(itmObj);
if (_local4 == undefined) {
_local4 = itmObj[_local5.__iconField];
if (_local4 == undefined) {
_local4 = _local5.getStyle("defaultIcon");
}
}
}
var _local3 = icon_mc;
if ((_local4 != undefined) && (itmObj != undefined)) {
_local3 = createObject(_local4, "icon_mc", 20);
_local3._x = 2;
_local3._y = (_local7 - _local3._height) / 2;
_local2._x = 4 + _local3._width;
} else {
_local3.removeMovieClip();
_local2._x = 2;
}
var _local9 = ((_local3 == undefined) ? 0 : (_local3._width));
_local2.setSize(__width - _local9, Math.min(_local7, _local2.getPreferredHeight()));
_local2._y = (_local7 - _local2._height) / 2;
}
function size(Void) {
var _local3 = backGround;
var _local2 = cell;
var _local4 = __height;
var _local5 = __width;
var _local6 = ((icon_mc == undefined) ? 0 : (icon_mc._width));
_local2.setSize(_local5 - _local6, Math.min(_local4, _local2.getPreferredHeight()));
_local2._y = (_local4 - _local2._height) / 2;
icon_mc._y = (_local4 - icon_mc._height) / 2;
_local3._x = 0;
_local3._width = _local5;
_local3._height = _local4;
drawRowFill(_local3, normalColor);
drawRowFill(highlight, highlightColor);
}
function setCellRenderer(forceSizing) {
var _local3 = owner.__cellRenderer;
var _local4;
if (cell != undefined) {
_local4 = cell._x;
cell.removeMovieClip();
cell.removeTextField();
}
var _local2;
if (_local3 == undefined) {
_local2 = (cell = createLabel("cll", 0, {styleName:this}));
_local2.styleName = owner;
_local2.selectable = false;
_local2.tabEnabled = false;
_local2.background = false;
_local2.border = false;
} else if (typeof(_local3) == "string") {
_local2 = (cell = createObject(_local3, "cll", 0, {styleName:this}));
} else {
_local2 = (cell = createClassObject(_local3, "cll", 0, {styleName:this}));
}
_local2.owner = this;
_local2.listOwner = owner;
_local2.getCellIndex = getCellIndex;
_local2.getDataLabel = getDataLabel;
if (_local4 != undefined) {
_local2._x = _local4;
}
if (forceSizing) {
size();
}
}
function getCellIndex(Void) {
return({columnIndex:0, itemIndex:owner.rowIndex + listOwner.__vPosition});
}
function getDataLabel() {
return(listOwner.labelField);
}
function init(Void) {
super.init();
tabEnabled = false;
}
function createChildren(Void) {
setCellRenderer(false);
setupBG();
setState(state, false);
}
function drawRow(itmObj, state, transition) {
item = itmObj;
setState(state, transition);
setValue(itmObj, state, transition);
}
function itemToString(itmObj) {
if (itmObj == undefined) {
return(" ");
}
var _local2 = owner.__labelFunction(itmObj);
if (_local2 == undefined) {
_local2 = ((itmObj instanceof XMLNode) ? (itmObj.attributes[owner.__labelField]) : (itmObj[owner.__labelField]));
if (_local2 == undefined) {
_local2 = " ";
if (typeof(itmObj) == "object") {
for (var _local4 in itmObj) {
if (_local4 != "__ID__") {
_local2 = (itmObj[_local4] + ", ") + _local2;
}
}
_local2 = _local2.substring(0, _local2.length - 2);
} else {
_local2 = itmObj;
}
}
}
return(_local2);
}
function setupBG(Void) {
var _local2 = (backGround = createEmptyMovieClip("bG_mc", LOWEST_DEPTH));
drawRowFill(_local2, normalColor);
highlight = createEmptyMovieClip("tran_mc", LOWEST_DEPTH + 10);
_local2.owner = this;
_local2.grandOwner = owner;
_local2.onPress = bGOnPress;
_local2.onRelease = bGOnRelease;
_local2.onRollOver = bGOnRollOver;
_local2.onRollOut = bGOnRollOut;
_local2.onDragOver = bGOnDragOver;
_local2.onDragOut = bGOnDragOut;
_local2.useHandCursor = false;
_local2.trackAsMenu = true;
_local2.drawRect = drawRect;
highlight.drawRect = drawRect;
}
function drawRowFill(mc, newClr) {
mc.clear();
mc.beginFill(newClr);
mc.drawRect(1, 0, __width, __height);
mc.endFill();
mc._width = __width;
mc._height = __height;
}
function setState(newState, transition) {
var _local2 = highlight;
var _local8 = backGround;
var _local4 = __height;
var _local3 = owner;
if (!_local3.enabled) {
if ((newState == "selected") || (state == "selected")) {
highlightColor = _local3.getStyle("selectionDisabledColor");
drawRowFill(_local2, highlightColor);
_local2._visible = true;
_local2._y = 0;
_local2._height = _local4;
} else {
_local2._visible = false;
normalColor = _local3.getStyle("backgroundDisabledColor");
drawRowFill(_local8, normalColor);
}
cell.__enabled = false;
cell.setColor(_local3.getStyle("disabledColor"));
} else {
cell.__enabled = true;
if (transition && ((newState == state) || ((newState == "highlighted") && (state == "selected")))) {
isChangedToSelected = true;
return(undefined);
}
var _local6 = _local3.getStyle("selectionDuration");
var _local7 = 0;
if (isChangedToSelected && (newState == "selected")) {
transition = false;
}
var _local10 = transition && (_local6 != 0);
if (newState == "normal") {
_local7 = _local3.getStyle("color");
normalColor = getNormalColor();
drawRowFill(_local8, normalColor);
if (_local10) {
_local6 = _local6 / 2;
_local2._height = _local4;
_local2._width = __width;
_local2._y = 0;
bGTween = new mx.effects.Tween(this, _local4 + 2, _local4 * 0.2, _local6, 5);
} else {
_local2._visible = false;
}
delete isChangedToSelected;
} else {
highlightColor = _local3.getStyle(((newState == "highlighted") ? "rollOverColor" : "selectionColor"));
drawRowFill(_local2, highlightColor);
_local2._visible = true;
_local7 = _local3.getStyle(((newState == "highlighted") ? "textRollOverColor" : "textSelectedColor"));
if (_local10) {
_local2._height = _local4 * 0.5;
_local2._y = (_local4 - _local2._height) / 2;
bGTween = new mx.effects.Tween(this, _local2._height, _local4 + 2, _local6, 5);
var _local9 = _local3.getStyle("selectionEasing");
if (_local9 != undefined) {
bGTween.easingEquation = _local9;
}
} else {
_local2._y = 0;
_local2._height = _local4;
}
}
cell.setColor(_local7);
}
state = newState;
}
function onTweenUpdate(val) {
highlight._height = val;
highlight._y = (__height - val) / 2;
}
function onTweenEnd(val) {
onTweenUpdate(val);
highlight._visible = state != "normal";
}
function getNormalColor(Void) {
var _local3;
var _local2 = owner;
if (!owner.enabled) {
_local3 = _local2.getStyle("backgroundDisabledColor");
} else {
var _local5 = rowIndex + _local2.__vPosition;
_local3 = _local2.getPropertiesAt(_local5).backgroundColor;
if (_local3 == undefined) {
var _local4 = _local2.getStyle("alternatingRowColors");
if (_local4 == undefined) {
_local3 = _local2.getStyle("backgroundColor");
} else {
_local3 = _local4[_local5 % _local4.length];
}
}
}
return(_local3);
}
function invalidateStyle(propName) {
cell.invalidateStyle(propName);
super.invalidateStyle(propName);
}
function bGOnPress(Void) {
grandOwner.pressFocus();
grandOwner.onRowPress(owner.rowIndex);
}
function bGOnRelease(Void) {
grandOwner.releaseFocus();
grandOwner.onRowRelease(owner.rowIndex);
}
function bGOnRollOver(Void) {
grandOwner.onRowRollOver(owner.rowIndex);
}
function bGOnRollOut(Void) {
grandOwner.onRowRollOut(owner.rowIndex);
}
function bGOnDragOver(Void) {
grandOwner.onRowDragOver(owner.rowIndex);
}
function bGOnDragOut(Void) {
grandOwner.onRowDragOut(owner.rowIndex);
}
static var LOWEST_DEPTH = -16384;
var state = "normal";
var disabledColor = 15263976;
var normalColor = 16777215;
}
Symbol 120 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement
{
var getStyle, _color, onEnterFrame;
function ColoredSkinElement () {
}
function setColor(c) {
if (c != undefined) {
var _local2 = new Color(this);
_local2.setRGB(c);
}
}
function draw(Void) {
setColor(getStyle(_color));
onEnterFrame = undefined;
}
function invalidateStyle(Void) {
onEnterFrame = draw;
}
static function setColorStyle(p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mixins.setColor;
p.invalidateStyle = mixins.invalidateStyle;
p.draw = mixins.draw;
p.setColor(p.getStyle(colorStyle));
}
static var mixins = new mx.skins.ColoredSkinElement();
}
Symbol 121 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions
{
function UIObjectExtensions () {
}
static function addGeometry(tf, ui) {
tf.addProperty("width", ui.__get__width, null);
tf.addProperty("height", ui.__get__height, null);
tf.addProperty("left", ui.__get__left, null);
tf.addProperty("x", ui.__get__x, null);
tf.addProperty("top", ui.__get__top, null);
tf.addProperty("y", ui.__get__y, null);
tf.addProperty("right", ui.__get__right, null);
tf.addProperty("bottom", ui.__get__bottom, null);
tf.addProperty("visible", ui.__get__visible, ui.__set__visible);
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
var _local4 = mx.core.UIObject.prototype;
var _local8 = mx.skins.SkinElement.prototype;
addGeometry(_local8, _local4);
mx.events.UIEventDispatcher.initialize(_local4);
var _local12 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(_local4);
var _local5 = MovieClip.prototype;
_local5.getTopLevel = _local4.getTopLevel;
_local5.createLabel = _local4.createLabel;
_local5.createObject = _local4.createObject;
_local5.createClassObject = _local4.createClassObject;
_local5.createEmptyObject = _local4.createEmptyObject;
_local5.destroyObject = _local4.destroyObject;
_local5.__getTextFormat = _local4.__getTextFormat;
_local5._getTextFormat = _local4._getTextFormat;
_local5.getStyleName = _local4.getStyleName;
_local5.getStyle = _local4.getStyle;
var _local6 = TextField.prototype;
addGeometry(_local6, _local4);
_local6.addProperty("enabled", function () {
return(this.__enabled);
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
_local6.move = _local8.move;
_local6.setSize = _local8.setSize;
_local6.invalidateStyle = function () {
this.invalidateFlag = true;
};
_local6.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var _local2 = this._getTextFormat();
this.setTextFormat(_local2);
this.setNewTextFormat(_local2);
this.embedFonts = _local2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == "") {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
_local6.setColor = function (color) {
this.textColor = color;
};
_local6.getStyle = _local5.getStyle;
_local6.__getTextFormat = _local4.__getTextFormat;
_local6.setValue = function (v) {
this.text = v;
};
_local6.getValue = function () {
return(this.text);
};
_local6.addProperty("value", function () {
return(this.getValue());
}, function (v) {
this.setValue(v);
});
_local6._getTextFormat = function () {
var _local2 = this.stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
this.__getTextFormat(_local2);
this.stylecache.tf = _local2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var _local4 = this.getTextFormat();
this.enabledColor = _local4.color;
}
var _local3 = this.getStyle("disabledColor");
_local2.color = _local3;
} else if (this.enabledColor != undefined) {
if (_local2.color == undefined) {
_local2.color = this.enabledColor;
}
}
return(_local2);
};
_local6.getPreferredWidth = function () {
this.draw();
return(this.textWidth + 4);
};
_local6.getPreferredHeight = function () {
this.draw();
return(this.textHeight + 4);
};
TextFormat.prototype.getTextExtent2 = function (s) {
var _local3 = _root._getTextExtent;
if (_local3 == undefined) {
_root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100);
_local3 = _root._getTextExtent;
_local3._visible = false;
}
_root._getTextExtent.text = s;
var _local4 = this.align;
this.align = "left";
_root._getTextExtent.setTextFormat(this);
this.align = _local4;
return({width:_local3.textWidth, height:_local3.textHeight});
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
_root.addProperty("width", function () {
return(Stage.width);
}, null);
_root.addProperty("height", function () {
return(Stage.height);
}, null);
return(true);
}
static var bExtended = false;
static var UIObjectExtended = Extensions();
static var UIObjectDependency = mx.core.UIObject;
static var SkinElementDependency = mx.skins.SkinElement;
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
static var UIEventDispatcherDependency = mx.events.UIEventDispatcher;
}
Symbol 122 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults
{
var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill;
function Defaults () {
}
static function setThemeDefaults() {
var _local2 = _global.style;
_local2.themeColor = 8453965 /* 0x80FF4D */;
_local2.disabledColor = 8684164 /* 0x848284 */;
_local2.modalTransparency = 0;
_local2.filled = true;
_local2.stroked = true;
_local2.strokeWidth = 1;
_local2.strokeColor = 0;
_local2.fillColor = 16777215 /* 0xFFFFFF */;
_local2.repeatInterval = 35;
_local2.repeatDelay = 500;
_local2.fontFamily = "_sans";
_local2.fontSize = 12;
_local2.selectionColor = 13500353 /* 0xCDFFC1 */;
_local2.rollOverColor = 14942166 /* 0xE3FFD6 */;
_local2.useRollOver = true;
_local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDuration = 200;
_local2.openDuration = 250;
_local2.borderStyle = "inset";
_local2.color = 734012 /* 0x0B333C */;
_local2.textSelectedColor = 24371;
_local2.textRollOverColor = 2831164 /* 0x2B333C */;
_local2.textDisabledColor = 16777215 /* 0xFFFFFF */;
_local2.vGridLines = true;
_local2.hGridLines = false;
_local2.vGridLineColor = 6710886 /* 0x666666 */;
_local2.hGridLineColor = 6710886 /* 0x666666 */;
_local2.headerColor = 15395562 /* 0xEAEAEA */;
_local2.indentation = 17;
_local2.folderOpenIcon = "TreeFolderOpen";
_local2.folderClosedIcon = "TreeFolderClosed";
_local2.defaultLeafIcon = "TreeNodeIcon";
_local2.disclosureOpenIcon = "TreeDisclosureOpen";
_local2.disclosureClosedIcon = "TreeDisclosureClosed";
_local2.popupDuration = 150;
_local2.todayColor = 6710886 /* 0x666666 */;
_local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration());
_local2.backgroundColor = 16777215 /* 0xFFFFFF */;
_local2.borderColor = 13290186 /* 0xCACACA */;
_local2.borderStyle = "inset";
_local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration());
_local2.borderStyle = "inset";
_local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration());
_local2.textAlign = "center";
_local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration());
_local2.borderColor = 14015965 /* 0xD5DDDD */;
_local2.buttonColor = 7305079 /* 0x6F7777 */;
_local2.shadowColor = 15658734 /* 0xEEEEEE */;
_local2.highlightColor = 12897484 /* 0xC4CCCC */;
_local2.shadowCapColor = 14015965 /* 0xD5DDDD */;
_local2.borderCapColor = 9542041 /* 0x919999 */;
var _local4 = new Object();
_local4.borderColor = 16711680 /* 0xFF0000 */;
_local4.buttonColor = 16711680 /* 0xFF0000 */;
_local4.shadowColor = 16711680 /* 0xFF0000 */;
_local4.highlightColor = 16711680 /* 0xFF0000 */;
_local4.shadowCapColor = 16711680 /* 0xFF0000 */;
_local4.borderCapColor = 16711680 /* 0xFF0000 */;
mx.core.UIComponent.prototype.origBorderStyles = _local4;
var _local3;
_local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration());
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderStyle = "inset";
_global.styles.TextArea = _global.styles.TextInput;
_local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "default";
_local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "alert";
_local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "inset";
_local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "none";
_local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration());
_local3.color = 11187123 /* 0xAAB3B3 */;
_local3.fontWeight = "bold";
_local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = "11";
_local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "solid";
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderColor = 9081738 /* 0x8A938A */;
_local3.headerHeight = 22;
_local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1)));
_local3.verticalGap = -1;
_local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration());
_local3.borderColor = 9542041 /* 0x919999 */;
_local3.headerColor = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 10;
_local3.textAlign = "right";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = 11;
_local3.textAlign = "center";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration());
_local3.color = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 12;
_local3.fontWeight = "bold";
_local3.textAlign = "center";
}
function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof(r) == "object") {
var _local18 = r.br;
var _local16 = r.bl;
var _local15 = r.tl;
var _local10 = r.tr;
} else {
var _local10 = r;
var _local15 = _local10;
var _local16 = _local15;
var _local18 = _local16;
}
if (typeof(c) == "object") {
if (typeof(alpha) != "object") {
var _local9 = [alpha, alpha];
} else {
var _local9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var _local14 = h * 0.7;
if (typeof(rot) != "object") {
var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */};
} else {
var _local11 = rot;
}
if (gradient == "radial") {
beginGradientFill("radial", c, _local9, ratios, _local11);
} else {
beginGradientFill("linear", c, _local9, ratios, _local11);
}
} else if (c != undefined) {
beginFill(c, alpha);
}
r = _local18;
var _local13 = r - (r * 0.707106781186547);
var _local12 = r - (r * 0.414213562373095);
moveTo(x + w, (y + h) - r);
lineTo(x + w, (y + h) - r);
curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13);
curveTo((x + w) - _local12, y + h, (x + w) - r, y + h);
r = _local16;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x + r, y + h);
curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13);
curveTo(x, (y + h) - _local12, x, (y + h) - r);
r = _local15;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x, y + r);
curveTo(x, y + _local12, x + _local13, y + _local13);
curveTo(x + _local12, y, x + r, y);
r = _local10;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo((x + w) - r, y);
curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13);
curveTo(x + w, y + _local12, x + w, y + r);
lineTo(x + w, (y + h) - r);
if (c != undefined) {
endFill();
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
static var UIObjectDependency = mx.core.UIObject;
}
Symbol 123 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager
{
static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent;
function SystemManager () {
}
static function init(Void) {
if (_initialized == false) {
_initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
_xAddEventListener = addEventListener;
addEventListener = __addEventListener;
_xRemoveEventListener = removeEventListener;
removeEventListener = __removeEventListener;
}
}
static function addFocusManager(f) {
form = f;
f.focusManager.activate();
}
static function removeFocusManager(f) {
}
static function onMouseDown(Void) {
var _local1 = form;
_local1.focusManager._onMouseDown();
}
static function onResize(Void) {
var _local7 = Stage.width;
var _local6 = Stage.height;
var _local9 = _global.origWidth;
var _local8 = _global.origHeight;
var _local3 = Stage.align;
var _local5 = (_local9 - _local7) / 2;
var _local4 = (_local8 - _local6) / 2;
if (_local3 == "T") {
_local4 = 0;
} else if (_local3 == "B") {
_local4 = _local8 - _local6;
} else if (_local3 == "L") {
_local5 = 0;
} else if (_local3 == "R") {
_local5 = _local9 - _local7;
} else if (_local3 == "LT") {
_local4 = 0;
_local5 = 0;
} else if (_local3 == "TR") {
_local4 = 0;
_local5 = _local9 - _local7;
} else if (_local3 == "LB") {
_local4 = _local8 - _local6;
_local5 = 0;
} else if (_local3 == "RB") {
_local4 = _local8 - _local6;
_local5 = _local9 - _local7;
}
if (__screen == undefined) {
__screen = new Object();
}
__screen.x = _local5;
__screen.y = _local4;
__screen.width = _local7;
__screen.height = _local6;
_root.focusManager.relocate();
dispatchEvent({type:"resize"});
}
static function get screen() {
init();
if (__screen == undefined) {
onResize();
}
return(__screen);
}
static var _initialized = false;
static var idleFrames = 0;
static var isMouseDown = false;
static var forms = new Array();
}
Symbol 124 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent
{
var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, lastXMouse, lastYMouse, findFocusFromObject;
function FocusManager () {
super();
}
function get defaultPushButton() {
return(__defaultPushButton);
}
function set defaultPushButton(x) {
if (x != __defaultPushButton) {
__defaultPushButton.__set__emphasized(false);
__defaultPushButton = x;
defPushButton = x;
x.__set__emphasized(true);
}
//return(defaultPushButton);
}
function getMaxTabIndex(o) {
var _local3 = 0;
var _local6;
for (_local6 in o) {
var _local2 = o[_local6];
if (_local2._parent == o) {
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex > _local3) {
_local3 = _local2.tabIndex;
}
}
if (_local2.tabChildren == true) {
var _local4 = getMaxTabIndex(_local2);
if (_local4 > _local3) {
_local3 = _local4;
}
}
}
}
return(_local3);
}
function getNextTabIndex(Void) {
return(getMaxTabIndex(form) + 1);
}
function get nextTabIndex() {
return(getNextTabIndex());
}
function relocate(Void) {
var _local2 = mx.managers.SystemManager.__get__screen();
move(_local2.x - 1, _local2.y - 1);
}
function init(Void) {
super.init();
tabEnabled = false;
_width = (_height = 1);
_x = (_y = -1);
_alpha = 0;
_parent.focusManager = this;
_parent.tabChildren = true;
_parent.tabEnabled = false;
form = _parent;
_parent.addEventListener("hide", this);
_parent.addEventListener("reveal", this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(form);
tabCapture.tabIndex = 0;
watch("enabled", enabledChanged);
Selection.addListener(this);
}
function enabledChanged(id, oldValue, newValue) {
_visible = newValue;
return(newValue);
}
function activate(Void) {
Key.addListener(this);
activated = (_visible = true);
if (lastFocus != undefined) {
bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
doLater(this, "restoreFocus");
}
}
}
function deactivate(Void) {
Key.removeListener(this);
activated = (_visible = false);
var _local2 = getSelectionFocus();
var _local3 = getActualFocus(_local2);
if (isOurFocus(_local3)) {
lastSelFocus = _local2;
lastFocus = _local3;
}
cancelAllDoLaters();
}
function isOurFocus(o) {
if (o.focusManager == this) {
return(true);
}
while (o != undefined) {
if (o.focusManager != undefined) {
return(false);
}
if (o._parent == _parent) {
return(true);
}
o = o._parent;
}
return(false);
}
function onSetFocus(o, n) {
if (n == null) {
if (activated) {
bNeedFocus = true;
}
} else {
var _local2 = getFocus();
if (isOurFocus(_local2)) {
bNeedFocus = false;
lastFocus = _local2;
lastSelFocus = n;
}
}
}
function restoreFocus(Void) {
var _local2 = lastSelFocus.hscroll;
if (_local2 != undefined) {
var _local5 = lastSelFocus.scroll;
var _local4 = lastSelFocus.background;
}
lastFocus.setFocus();
var _local3 = Selection;
Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex);
if (_local2 != undefined) {
lastSelFocus.scroll = _local5;
lastSelFocus.hscroll = _local2;
lastSelFocus.background = _local4;
}
}
function onUnload(Void) {
mx.managers.SystemManager.removeFocusManager(form);
}
function setFocus(o) {
if (o == null) {
Selection.setFocus(null);
} else if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
function getActualFocus(o) {
var _local1 = o._parent;
while (_local1 != undefined) {
if (_local1.focusTextField != undefined) {
while (_local1.focusTextField != undefined) {
o = _local1;
_local1 = _local1._parent;
if (_local1 == undefined) {
return(undefined);
}
if (_local1.focusTextField == undefined) {
return(o);
}
}
}
if (_local1.tabEnabled != true) {
return(o);
}
o = _local1;
_local1 = o._parent;
}
return(undefined);
}
function getSelectionFocus() {
var m = Selection.getFocus();
var o = eval (m);
return(o);
}
function getFocus(Void) {
var _local2 = getSelectionFocus();
return(getActualFocus(_local2));
}
function walkTree(p, index, groupName, dir, lookup, firstChild) {
var _local5 = true;
var _local11;
for (_local11 in p) {
var _local2 = p[_local11];
if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_local2 != _lastTarget) {
if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) {
continue;
}
if ((_local2 instanceof TextField) && (_local2.selectable == false)) {
continue;
}
if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) {
if (firstChild) {
_firstNode = _local2;
firstChild = false;
}
}
if (_nextIsNext == true) {
if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) {
_nextNode = _local2;
}
}
if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) {
if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) {
} else {
_lastx = _local2;
}
}
} else {
_prevNode = _lastx;
_needPrev = false;
_nextIsNext = true;
}
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex == index) {
if (_foundList[_local2._name] == undefined) {
if (_needPrev) {
_prevObj = _local2;
_needPrev = false;
}
_nextObj = _local2;
}
}
if (dir && (_local2.tabIndex > index)) {
if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) {
_nextObj = _local2;
}
} else if ((!dir) && (_local2.tabIndex < index)) {
if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) {
_prevObj = _local2;
}
}
if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) {
_firstObj = _local2;
}
if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) {
_lastObj = _local2;
}
}
if (_local2.tabChildren) {
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
} else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) {
if (_local2 == _lastTarget) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_prevNode == undefined) {
var _local3 = _lastx;
var _local7 = false;
while (_local3 != undefined) {
if (_local3 == _local2) {
_local7 = true;
break;
}
_local3 = _local3._parent;
}
if (_local7 == false) {
_prevNode = _lastx;
}
}
_needPrev = false;
if (_nextNode == undefined) {
_nextIsNext = true;
}
} else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
}
}
_lastNode = _lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != _parent) {
if ((_prevNode == undefined) && (dir)) {
_needPrev = true;
} else if ((_nextNode == undefined) && (!dir)) {
_nextIsNext = false;
}
_lastTarget = _lastTarget._parent;
getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
}
function getTabCandidate(o, index, groupName, dir, firstChild) {
var _local2;
var _local3 = true;
if (o == _parent) {
_local2 = o;
_local3 = false;
} else {
_local2 = o._parent;
if (_local2 == undefined) {
_local2 = o;
_local3 = false;
}
}
walkTree(_local2, index, groupName, dir, _local3, firstChild);
}
function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) {
walkTree(o, index, groupName, dir, false, firstChild);
}
function getFocusManagerFromObject(o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return(o.focusManager);
}
o = o._parent;
}
return(undefined);
}
function tabHandler(Void) {
bDrawFocus = true;
var _local5 = getSelectionFocus();
var _local4 = getActualFocus(_local5);
if (_local4 != _local5) {
_local5 = _local4;
}
if (getFocusManagerFromObject(_local5) != this) {
_local5 == undefined;
}
if (_local5 == undefined) {
_local5 = form;
} else if (_local5.tabIndex != undefined) {
if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) {
_foundList = new Object();
_foundList.tabIndex = _local5.tabIndex;
}
_foundList[_local5._name] = _local5;
}
var _local3 = Key.isDown(16) != true;
_searchKey = getTimer();
_needPrev = true;
_nextIsNext = false;
_lastx = undefined;
_firstNode = undefined;
_lastNode = undefined;
_nextNode = undefined;
_prevNode = undefined;
_firstObj = undefined;
_lastObj = undefined;
_nextObj = undefined;
_prevObj = undefined;
_lastTarget = _local5;
var _local6 = _local5;
getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true);
var _local2;
if (_local3) {
if (_nextObj != undefined) {
_local2 = _nextObj;
} else {
_local2 = _firstObj;
}
} else if (_prevObj != undefined) {
_local2 = _prevObj;
} else {
_local2 = _lastObj;
}
if (_local2.tabIndex != _local5.tabIndex) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
_foundList[_local2._name] = _local2;
} else {
if (_foundList == undefined) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
}
_foundList[_local2._name] = _local2;
}
if (_local2 == undefined) {
if (_local3 == false) {
if (_nextNode != undefined) {
_local2 = _nextNode;
} else {
_local2 = _firstNode;
}
} else if ((_prevNode == undefined) || (_local5 == form)) {
_local2 = _lastNode;
} else {
_local2 = _prevNode;
}
}
if (_local2 == undefined) {
return(undefined);
}
lastTabFocus = _local2;
setFocus(_local2);
if (_local2.emphasized != undefined) {
if (defPushButton != undefined) {
_local5 = defPushButton;
defPushButton = _local2;
_local5.emphasized = false;
_local2.emphasized = true;
}
} else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) {
_local5 = defPushButton;
defPushButton = __defaultPushButton;
_local5.emphasized = false;
__defaultPushButton.__set__emphasized(true);
}
}
function onKeyDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
if (defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (defaultPushButton != undefined) {
doLater(this, "sendDefaultPushButtonEvent");
}
}
}
}
function sendDefaultPushButtonEvent(Void) {
defPushButton.dispatchEvent({type:"click"});
}
function getMousedComponentFromChildren(x, y, o) {
for (var _local7 in o) {
var _local2 = o[_local7];
if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) {
_local2._searchKey = _searchKey;
if (_local2.hitTest(x, y, true)) {
if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) {
return(_local2);
}
var _local3 = getMousedComponentFromChildren(x, y, _local2);
if (_local3 != undefined) {
return(_local3);
}
return(_local2);
}
}
}
return(undefined);
}
function mouseActivate(Void) {
if (!bNeedFocus) {
return(undefined);
}
_searchKey = getTimer();
var _local2 = getMousedComponentFromChildren(lastXMouse, lastYMouse, form);
if (_local2 instanceof mx.core.UIComponent) {
return(undefined);
}
_local2 = findFocusFromObject(_local2);
if (_local2 == lastFocus) {
return(undefined);
}
if (_local2 == undefined) {
doLater(this, "restoreFocus");
return(undefined);
}
var _local3 = _local2.hscroll;
if (_local3 != undefined) {
var _local6 = _local2.scroll;
var _local5 = _local2.background;
}
setFocus(_local2);
var _local4 = Selection;
Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex);
if (_local3 != undefined) {
_local2.scroll = _local6;
_local2.hscroll = _local3;
_local2.background = _local5;
}
}
function _onMouseDown(Void) {
bDrawFocus = false;
if (lastFocus != undefined) {
lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var _local3 = Selection;
_local3.lastBeginIndex = Selection.getBeginIndex();
_local3.lastEndIndex = Selection.getEndIndex();
lastXMouse = _root._xmouse;
lastYMouse = _root._ymouse;
}
function onMouseUp(Void) {
if (_visible) {
doLater(this, "mouseActivate");
}
}
function handleEvent(e) {
if (e.type == "reveal") {
mx.managers.SystemManager.activate(form);
} else {
mx.managers.SystemManager.deactivate(form);
}
}
static function enableFocusManagement() {
if (!initialized) {
initialized = true;
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
}
}
static var symbolName = "FocusManager";
static var symbolOwner = mx.managers.FocusManager;
static var version = "2.0.0.377";
var className = "FocusManager";
var bNeedFocus = false;
var bDrawFocus = false;
var defaultPushButtonEnabled = true;
var activated = true;
static var initialized = false;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 125 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement
{
var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible;
function FocusRect () {
super();
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function draw(o) {
o.adjustFocusRect();
}
function setSize(w, h, r, a, rectCol) {
_xscale = (_yscale = 100);
clear();
if (typeof(r) == "object") {
r.br = ((r.br > 2) ? (r.br - 2) : 0);
r.bl = ((r.bl > 2) ? (r.bl - 2) : 0);
r.tr = ((r.tr > 2) ? (r.tr - 2) : 0);
r.tl = ((r.tl > 2) ? (r.tl - 2) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
r.br = ((r.br > 1) ? (r.br + 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl + 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr + 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl + 1) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = ((r.br > 1) ? (r.br - 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl - 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr - 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl - 1) : 0);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
} else {
var _local5;
if (r != 0) {
_local5 = r - 2;
} else {
_local5 = 0;
}
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
beginFill(rectCol, a * 0.3);
if (r != 0) {
_local5 = r - 2;
r = r - 1;
} else {
_local5 = 0;
r = 0;
}
drawRoundRect(1, 1, w - 2, h - 2, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
}
}
function handleEvent(e) {
if (e.type == "unload") {
_visible = true;
} else if (e.type == "resize") {
e.target.adjustFocusRect();
} else if (e.type == "move") {
e.target.adjustFocusRect();
}
}
static function classConstruct() {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var _local2 = this._parent.focus_mc;
if (!focused) {
_local2._visible = false;
this.removeEventListener("unload", _local2);
this.removeEventListener("move", _local2);
this.removeEventListener("resize", _local2);
} else {
if (_local2 == undefined) {
_local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop);
_local2.tabEnabled = false;
this._parent.focus_mc = _local2;
} else {
_local2._visible = true;
}
_local2.draw(this);
if (_local2.getDepth() < this.getDepth()) {
_local2.setDepthAbove(this);
}
this.addEventListener("unload", _local2);
this.addEventListener("move", _local2);
this.addEventListener("resize", _local2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var _local2 = this.getStyle("themeColor");
if (_local2 == undefined) {
_local2 = 8453965 /* 0x80FF4D */;
}
var _local3 = this._parent.focus_mc;
_local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2);
_local3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var DefaultsDependency = mx.skins.halo.Defaults;
static var UIComponentDependency = mx.core.UIComponent;
}
Symbol 126 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows
{
function OverlappedWindows () {
}
static function checkIdle(Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({type:"idle"});
} else {
mx.managers.SystemManager.idleFrames++;
}
}
static function __addEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
}
static function __removeEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
}
static function onMouseDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var _local5 = _root;
var _local3;
var _local8 = _root._xmouse;
var _local7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var _local6 = mx.managers.SystemManager.forms.length;
var _local4;
_local4 = 0;
while (_local4 < _local6) {
var _local2 = mx.managers.SystemManager.forms[_local4];
if (_local2._visible) {
if (_local2.hitTest(_local8, _local7)) {
if (_local3 == undefined) {
_local3 = _local2.getDepth();
_local5 = _local2;
} else if (_local3 < _local2.getDepth()) {
_local3 = _local2.getDepth();
_local5 = _local2;
}
}
}
_local4++;
}
if (_local5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(_local5);
}
}
}
var _local9 = mx.managers.SystemManager.form;
_local9.focusManager._onMouseDown();
}
static function onMouseMove(Void) {
mx.managers.SystemManager.idleFrames = 0;
}
static function onMouseUp(Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
}
static function activate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local1 = mx.managers.SystemManager.form;
_local1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
}
static function deactivate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local5 = mx.managers.SystemManager.form;
_local5.focusManager.deactivate();
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
var _local2;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
_local1 = _local1 + 1;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
mx.managers.SystemManager.form = _local2;
break;
}
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
_local5 = mx.managers.SystemManager.form;
_local5.focusManager.activate();
}
}
}
static function addFocusManager(f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
}
static function removeFocusManager(f) {
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
static function enableOverlappedWindows() {
if (!initialized) {
initialized = true;
mx.managers.SystemManager.checkIdle = checkIdle;
mx.managers.SystemManager.__addEventListener = __addEventListener;
mx.managers.SystemManager.__removeEventListener = __removeEventListener;
mx.managers.SystemManager.onMouseDown = onMouseDown;
mx.managers.SystemManager.onMouseMove = onMouseMove;
mx.managers.SystemManager.onMouseUp = onMouseUp;
mx.managers.SystemManager.activate = activate;
mx.managers.SystemManager.deactivate = deactivate;
mx.managers.SystemManager.addFocusManager = addFocusManager;
mx.managers.SystemManager.removeFocusManager = removeFocusManager;
}
}
static var initialized = false;
static var SystemManagerDependency = mx.managers.SystemManager;
}
Symbol 127 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle
{
var styleName, stylecache, _color, setColor, invalidateStyle;
function CSSSetStyle () {
}
function _setStyle(styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == "color") {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return(undefined);
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local7 = mx.styles.StyleManager.colorNames.haloBlue;
var _local6 = mx.styles.StyleManager.colorNames.haloGreen;
var _local8 = mx.styles.StyleManager.colorNames.haloOrange;
var _local4 = {};
_local4[_local7] = 12188666 /* 0xB9FBFA */;
_local4[_local6] = 13500353 /* 0xCDFFC1 */;
_local4[_local8] = 16766319 /* 0xFFD56F */;
var _local5 = {};
_local5[_local7] = 13958653 /* 0xD4FDFD */;
_local5[_local6] = 14942166 /* 0xE3FFD6 */;
_local5[_local8] = 16772787 /* 0xFFEEB3 */;
var _local9 = _local4[newValue];
var _local10 = _local5[newValue];
if (_local9 == undefined) {
_local9 = newValue;
}
if (_local10 == undefined) {
_local10 = newValue;
}
setStyle("selectionColor", _local9);
setStyle("rollOverColor", _local10);
}
_level0.changeColorStyleInChildren(styleName, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
_level0.notifyStyleChangeInChildren(styleName, styleProp, newValue);
}
}
function changeTextStyleInChildren(styleProp) {
var _local4 = getTimer();
var _local5;
for (_local5 in this) {
var _local2 = this[_local5];
if (_local2._parent == this) {
if (_local2.searchKey != _local4) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache.tf;
delete _local2.stylecache[styleProp];
}
_local2.invalidateStyle(styleProp);
_local2.changeTextStyleInChildren(styleProp);
_local2.searchKey = _local4;
}
}
}
}
function changeColorStyleInChildren(sheetName, colorStyle, newValue) {
var _local6 = getTimer();
var _local7;
for (_local7 in this) {
var _local2 = this[_local7];
if (_local2._parent == this) {
if (_local2.searchKey != _local6) {
if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[colorStyle];
}
if (typeof(_local2._color) == "string") {
if (_local2._color == colorStyle) {
var _local4 = _local2.getStyle(colorStyle);
if (colorStyle == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = _local4;
}
}
_local2.setColor(_local4);
}
} else if (_local2._color[colorStyle] != undefined) {
if (typeof(_local2) != "movieclip") {
_local2._parent.invalidateStyle();
} else {
_local2.invalidateStyle(colorStyle);
}
}
}
_local2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
_local2.searchKey = _local6;
}
}
}
}
function notifyStyleChangeInChildren(sheetName, styleProp, newValue) {
var _local5 = getTimer();
var _local6;
for (_local6 in this) {
var _local2 = this[_local6];
if (_local2._parent == this) {
if (_local2.searchKey != _local5) {
if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[styleProp];
delete _local2.stylecache.tf;
}
delete _local2.enabledColor;
_local2.invalidateStyle(styleProp);
}
_local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
_local2.searchKey = _local5;
}
}
}
}
function setStyle(styleProp, newValue) {
if (stylecache != undefined) {
delete stylecache[styleProp];
delete stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local10 = mx.styles.StyleManager.colorNames.haloBlue;
var _local9 = mx.styles.StyleManager.colorNames.haloGreen;
var _local11 = mx.styles.StyleManager.colorNames.haloOrange;
var _local6 = {};
_local6[_local10] = 12188666 /* 0xB9FBFA */;
_local6[_local9] = 13500353 /* 0xCDFFC1 */;
_local6[_local11] = 16766319 /* 0xFFD56F */;
var _local7 = {};
_local7[_local10] = 13958653 /* 0xD4FDFD */;
_local7[_local9] = 14942166 /* 0xE3FFD6 */;
_local7[_local11] = 16772787 /* 0xFFEEB3 */;
var _local12 = _local6[newValue];
var _local13 = _local7[newValue];
if (_local12 == undefined) {
_local12 = newValue;
}
if (_local13 == undefined) {
_local13 = newValue;
}
setStyle("selectionColor", _local12);
setStyle("rollOverColor", _local13);
}
if (typeof(_color) == "string") {
if (_color == styleProp) {
if (styleProp == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = newValue;
}
}
setColor(newValue);
}
} else if (_color[styleProp] != undefined) {
invalidateStyle(styleProp);
}
changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) {
var _local8;
var _local5 = newValue;
if (styleProp == "styleName") {
_local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5));
_local5 = _local8.themeColor;
if (_local5 != undefined) {
_local8.rollOverColor = (_local8.selectionColor = _local5);
}
}
notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
}
static function enableRunTimeCSS() {
}
static function classConstruct() {
var _local2 = MovieClip.prototype;
var _local1 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = _local1._setStyle;
_local2.changeTextStyleInChildren = _local1.changeTextStyleInChildren;
_local2.changeColorStyleInChildren = _local1.changeColorStyleInChildren;
_local2.notifyStyleChangeInChildren = _local1.notifyStyleChangeInChildren;
_local2.setStyle = _local1.setStyle;
var _local3 = TextField.prototype;
_local3.setStyle = _local2.setStyle;
_local3.changeTextStyleInChildren = _local1.changeTextStyleInChildren;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
}
Symbol 128 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions
{
function UIComponentExtensions () {
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if (this.getFocusManager().bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
}
static var bExtended = false;
static var UIComponentExtended = Extensions();
static var UIComponentDependency = mx.core.UIComponent;
static var FocusManagerDependency = mx.managers.FocusManager;
static var OverlappedWindowsDependency = mx.managers.OverlappedWindows;
}
Symbol 129 MovieClip [__Packages.mx.controls.HScrollBar] Frame 0
class mx.controls.HScrollBar extends mx.controls.scrollClasses.ScrollBar
{
var _minHeight, _minWidth, _xscale, _rotation, __width, scrollIt;
function HScrollBar () {
super();
}
function getMinWidth(Void) {
return(_minHeight);
}
function getMinHeight(Void) {
return(_minWidth);
}
function init(Void) {
super.init();
_xscale = -100;
_rotation = -90;
}
function get virtualHeight() {
return(__width);
}
function isScrollBarKey(k) {
if (k == 37) {
scrollIt("Line", -1);
return(true);
}
if (k == 39) {
scrollIt("Line", 1);
return(true);
}
return(super.isScrollBarKey(k));
}
static var symbolName = "HScrollBar";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.0.377";
var className = "HScrollBar";
var minusMode = "Left";
var plusMode = "Right";
var minMode = "AtLeft";
var maxMode = "AtRight";
}
Symbol 130 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton
{
var initIcon, getState, enabled, phase, labelPath, idNames, __width, __height, setState, invalidate, iconName, refresh, createLabel, _iconLinkageName, initializing, removeIcons, hitArea_mc, createEmptyObject;
function Button () {
super();
}
function init(Void) {
super.init();
}
function draw() {
super.draw();
if (initIcon != undefined) {
_setIcon(initIcon);
}
delete initIcon;
}
function onRelease(Void) {
super.onRelease();
}
function createChildren(Void) {
super.createChildren();
}
function setSkin(tag, linkageName, initobj) {
return(super.setSkin(tag, linkageName, initobj));
}
function viewSkin(varName) {
var _local3 = (getState() ? "true" : "false");
_local3 = _local3 + (enabled ? (phase) : "disabled");
super.viewSkin(varName, {styleName:this, borderStyle:_local3});
}
function invalidateStyle(c) {
labelPath.invalidateStyle(c);
super.invalidateStyle(c);
}
function setColor(c) {
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]].redraw(true);
_local2++;
}
}
function setEnabled(enable) {
labelPath.enabled = enable;
super.setEnabled(enable);
}
function calcSize(tag, ref) {
if ((__width == undefined) || (__height == undefined)) {
return(undefined);
}
if (tag < 7) {
ref.setSize(__width, __height, true);
}
}
function size(Void) {
setState(getState());
setHitArea(__width, __height);
var _local3 = 0;
while (_local3 < 8) {
var _local4 = idNames[_local3];
if (typeof(this[_local4]) == "movieclip") {
this[_local4].setSize(__width, __height, true);
}
_local3++;
}
super.size();
}
function set labelPlacement(val) {
__labelPlacement = val;
invalidate();
//return(labelPlacement);
}
function get labelPlacement() {
return(__labelPlacement);
}
function getLabelPlacement(Void) {
return(__labelPlacement);
}
function setLabelPlacement(val) {
__labelPlacement = val;
invalidate();
}
function getBtnOffset(Void) {
if (getState()) {
var _local2 = btnOffset;
} else if (phase == "down") {
var _local2 = btnOffset;
} else {
var _local2 = 0;
}
return(_local2);
}
function setView(offset) {
var _local16 = (offset ? (btnOffset) : 0);
var _local12 = getLabelPlacement();
var _local7 = 0;
var _local6 = 0;
var _local9 = 0;
var _local8 = 0;
var _local5 = 0;
var _local4 = 0;
var _local3 = labelPath;
var _local2 = iconName;
var _local15 = _local3.textWidth;
var _local14 = _local3.textHeight;
var _local10 = (__width - borderW) - borderW;
var _local11 = (__height - borderW) - borderW;
_local3._visible = true;
if (_local2 != undefined) {
_local7 = _local2._width;
_local6 = _local2._height;
}
if ((_local12 == "left") || (_local12 == "right")) {
if (_local3 != undefined) {
_local9 = Math.min(_local10 - _local7, _local15 + 5);
_local3._width = _local9;
_local8 = Math.min(_local11, _local14 + 5);
_local3._height = _local8;
}
if (_local12 == "right") {
_local5 = _local7;
if (centerContent) {
_local5 = _local5 + (((_local10 - _local9) - _local7) / 2);
}
_local2._x = _local5 - _local7;
} else {
_local5 = (_local10 - _local9) - _local7;
if (centerContent) {
_local5 = _local5 / 2;
}
_local2._x = _local5 + _local9;
}
_local4 = 0;
_local2._y = _local4;
if (centerContent) {
_local2._y = (_local11 - _local6) / 2;
_local4 = (_local11 - _local8) / 2;
}
if (!centerContent) {
_local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2);
}
} else {
if (_local3 != undefined) {
_local9 = Math.min(_local10, _local15 + 5);
_local3._width = _local9;
_local8 = Math.min(_local11 - _local6, _local14 + 5);
_local3._height = _local8;
}
_local5 = (_local10 - _local9) / 2;
_local2._x = (_local10 - _local7) / 2;
if (_local12 == "top") {
_local4 = (_local11 - _local8) - _local6;
if (centerContent) {
_local4 = _local4 / 2;
}
_local2._y = _local4 + _local8;
} else {
_local4 = _local6;
if (centerContent) {
_local4 = _local4 + (((_local11 - _local8) - _local6) / 2);
}
_local2._y = _local4 - _local6;
}
}
var _local13 = borderW + _local16;
_local3._x = _local5 + _local13;
_local3._y = _local4 + _local13;
_local2._x = _local2._x + _local13;
_local2._y = _local2._y + _local13;
}
function set label(lbl) {
setLabel(lbl);
//return(label);
}
function setLabel(label) {
if (label == "") {
labelPath.removeTextField();
refresh();
return(undefined);
}
if (labelPath == undefined) {
var _local2 = createLabel("labelPath", 200, label);
_local2._width = _local2.textWidth + 5;
_local2._height = _local2.textHeight + 5;
_local2.visible = false;
} else {
labelPath.text = label;
refresh();
}
}
function getLabel(Void) {
return(labelPath.text);
}
function get label() {
return(labelPath.text);
}
function _getIcon(Void) {
return(_iconLinkageName);
}
function get icon() {
if (initializing) {
return(initIcon);
}
return(_iconLinkageName);
}
function _setIcon(linkage) {
if (initializing) {
if (linkage == "") {
return(undefined);
}
initIcon = linkage;
} else {
if (linkage == "") {
removeIcons();
return(undefined);
}
super.changeIcon(0, linkage);
super.changeIcon(1, linkage);
super.changeIcon(4, linkage);
super.changeIcon(5, linkage);
_iconLinkageName = linkage;
refresh();
}
}
function set icon(linkage) {
_setIcon(linkage);
//return(icon);
}
function setHitArea(w, h) {
if (hitArea_mc == undefined) {
createEmptyObject("hitArea_mc", 100);
}
var _local2 = hitArea_mc;
_local2.clear();
_local2.beginFill(16711680);
_local2.drawRect(0, 0, w, h);
_local2.endFill();
_local2.setVisible(false);
}
static var symbolName = "Button";
static var symbolOwner = mx.controls.Button;
var className = "Button";
static var version = "2.0.0.377";
var btnOffset = 0;
var _color = "buttonColor";
var __label = "default value";
var __labelPlacement = "right";
var falseUpSkin = "ButtonSkin";
var falseDownSkin = "ButtonSkin";
var falseOverSkin = "ButtonSkin";
var falseDisabledSkin = "ButtonSkin";
var trueUpSkin = "ButtonSkin";
var trueDownSkin = "ButtonSkin";
var trueOverSkin = "ButtonSkin";
var trueDisabledSkin = "ButtonSkin";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var clipParameters = {labelPlacement:1, icon:1, toggle:1, selected:1, label:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters);
var centerContent = true;
var borderW = 1;
}
Symbol 131 MovieClip [__Packages.mx.skins.halo.RectBorder] Frame 0
class mx.skins.halo.RectBorder extends mx.skins.RectBorder
{
var offset, getStyle, borderStyleName, __borderMetrics, className, borderColorName, backgroundColorName, shadowColorName, highlightColorName, buttonColorName, __get__width, __get__height, clear, _color, drawRoundRect, beginFill, drawRect, endFill;
function RectBorder () {
super();
}
function init(Void) {
borderWidths.default = 3;
super.init();
}
function getBorderMetrics(Void) {
if (offset == undefined) {
var _local3 = getStyle(borderStyleName);
offset = borderWidths[_local3];
}
if ((getStyle(borderStyleName) == "default") || (getStyle(borderStyleName) == "alert")) {
__borderMetrics = {left:3, top:1, right:3, bottom:3};
return(__borderMetrics);
}
return(super.getBorderMetrics());
}
function drawBorder(Void) {
var _local6 = _global.styles[className];
if (_local6 == undefined) {
_local6 = _global.styles.RectBorder;
}
var _local5 = getStyle(borderStyleName);
var _local7 = getStyle(borderColorName);
if (_local7 == undefined) {
_local7 = _local6[borderColorName];
}
var _local8 = getStyle(backgroundColorName);
if (_local8 == undefined) {
_local8 = _local6[backgroundColorName];
}
var _local16 = getStyle("backgroundImage");
if (_local5 != "none") {
var _local14 = getStyle(shadowColorName);
if (_local14 == undefined) {
_local14 = _local6[shadowColorName];
}
var _local13 = getStyle(highlightColorName);
if (_local13 == undefined) {
_local13 = _local6[highlightColorName];
}
var _local12 = getStyle(buttonColorName);
if (_local12 == undefined) {
_local12 = _local6[buttonColorName];
}
var _local11 = getStyle(borderCapColorName);
if (_local11 == undefined) {
_local11 = _local6[borderCapColorName];
}
var _local10 = getStyle(shadowCapColorName);
if (_local10 == undefined) {
_local10 = _local6[shadowCapColorName];
}
}
offset = borderWidths[_local5];
var _local9 = offset;
var _local3 = __get__width();
var _local4 = __get__height();
clear();
_color = undefined;
if (_local5 == "none") {
} else if (_local5 == "inset") {
_color = colorList;
draw3dBorder(_local11, _local12, _local7, _local13, _local14, _local10);
} else if (_local5 == "outset") {
_color = colorList;
draw3dBorder(_local11, _local7, _local12, _local14, _local13, _local10);
} else if (_local5 == "alert") {
var _local15 = getStyle("themeColor");
drawRoundRect(0, 5, _local3, _local4 - 5, 5, 6184542, 10);
drawRoundRect(1, 4, _local3 - 2, _local4 - 5, 4, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, _local15, 50);
drawRoundRect(3, 1, _local3 - 6, _local4 - 4, 2, 16777215, 100);
} else if (_local5 == "default") {
drawRoundRect(0, 5, _local3, _local4 - 5, {tl:5, tr:5, br:0, bl:0}, 6184542, 10);
drawRoundRect(1, 4, _local3 - 2, _local4 - 5, {tl:4, tr:4, br:0, bl:0}, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, {tl:3, tr:3, br:0, bl:0}, [12897484, 11844796], 100, 0, "radial");
drawRoundRect(3, 1, _local3 - 6, _local4 - 4, {tl:2, tr:2, br:0, bl:0}, 16777215, 100);
} else if (_local5 == "dropDown") {
drawRoundRect(0, 0, _local3 + 1, _local4, {tl:4, tr:0, br:0, bl:4}, [13290186, 7895160], 100, -10, "linear");
drawRoundRect(1, 1, _local3 - 1, _local4 - 2, {tl:3, tr:0, br:0, bl:3}, 16777215, 100);
} else if (_local5 == "menuBorder") {
var _local15 = getStyle("themeColor");
drawRoundRect(4, 4, _local3 - 2, _local4 - 3, 0, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(4, 4, _local3 - 1, _local4 - 2, 0, 6184542, 10);
drawRoundRect(0, 0, _local3 + 1, _local4, 0, [0, 14342874], 100, 250, "linear");
drawRoundRect(0, 0, _local3 + 1, _local4, 0, _local15, 50);
drawRoundRect(2, 2, _local3 - 3, _local4 - 4, 0, 16777215, 100);
} else if (_local5 == "comboNonEdit") {
} else {
beginFill(_local7);
drawRect(0, 0, _local3, _local4);
drawRect(1, 1, _local3 - 1, _local4 - 1);
endFill();
_color = borderColorName;
}
if (_local8 != undefined) {
beginFill(_local8);
drawRect(_local9, _local9, __get__width() - _local9, __get__height() - _local9);
endFill();
}
}
function draw3dBorder(c1, c2, c3, c4, c5, c6) {
var _local3 = __get__width();
var _local2 = __get__height();
beginFill(c1);
drawRect(0, 0, _local3, _local2);
drawRect(1, 0, _local3 - 1, _local2);
endFill();
beginFill(c2);
drawRect(1, 0, _local3 - 1, 1);
endFill();
beginFill(c3);
drawRect(1, _local2 - 1, _local3 - 1, _local2);
endFill();
beginFill(c4);
drawRect(1, 1, _local3 - 1, 2);
endFill();
beginFill(c5);
drawRect(1, _local2 - 2, _local3 - 1, _local2 - 1);
endFill();
beginFill(c6);
drawRect(1, 2, _local3 - 1, _local2 - 2);
drawRect(2, 2, _local3 - 2, _local2 - 2);
endFill();
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
_global.styles.rectBorderClass = mx.skins.halo.RectBorder;
_global.skinRegistry.RectBorder = true;
return(true);
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.halo.RectBorder;
static var version = "2.0.0.377";
var borderCapColorName = "borderCapColor";
var shadowCapColorName = "shadowCapColor";
var colorList = {highlightColor:0, borderColor:0, buttonColor:0, shadowColor:0, borderCapColor:0, shadowCapColor:0};
var borderWidths = {none:0, solid:1, inset:2, outset:2, alert:3, dropDown:2, menuBorder:2, comboNonEdit:2};
static var classConstructed = classConstruct();
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 132 MovieClip [__Packages.mx.skins.halo.ButtonSkin] Frame 0
class mx.skins.halo.ButtonSkin extends mx.skins.RectBorder
{
var __get__width, __get__height, getStyle, _parent, clear, drawRoundRect, __get__x, __get__y;
function ButtonSkin () {
super();
}
function init() {
super.init();
}
function size() {
drawHaloRect(__get__width(), __get__height());
}
function drawHaloRect(w, h) {
var _local6 = getStyle("borderStyle");
var _local4 = getStyle("themeColor");
var _local5 = _parent.emphasized;
clear();
switch (_local6) {
case "falseup" :
if (_local5) {
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 75);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 75);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
} else {
drawRoundRect(0, 0, w, h, 5, 9542041, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, "radial");
drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, "radial");
drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100);
}
break;
case "falsedown" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20);
break;
case "falserollover" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 50);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case "falsedisabled" :
drawRoundRect(0, 0, w, h, 5, 13159628, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
break;
case "trueup" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16250871, 100);
break;
case "truedown" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20);
break;
case "truerollover" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 40);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case "truedisabled" :
drawRoundRect(0, 0, w, h, 5, 13159628, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
_global.skinRegistry.ButtonSkin = true;
return(true);
}
static var symbolName = "ButtonSkin";
static var symbolOwner = mx.skins.halo.ButtonSkin;
var className = "ButtonSkin";
var backgroundColorName = "buttonColor";
static var classConstructed = classConstruct();
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 133 MovieClip [__Packages.mx.controls.VScrollBar] Frame 0
class mx.controls.VScrollBar extends mx.controls.scrollClasses.ScrollBar
{
var scrollIt;
function VScrollBar () {
super();
}
function init(Void) {
super.init();
}
function isScrollBarKey(k) {
if (k == 38) {
scrollIt("Line", -1);
return(true);
}
if (k == 40) {
scrollIt("Line", 1);
return(true);
}
if (k == 33) {
scrollIt("Page", -1);
return(true);
}
if (k == 34) {
scrollIt("Page", 1);
return(true);
}
return(super.isScrollBarKey(k));
}
static var symbolName = "VScrollBar";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.0.377";
var className = "VScrollBar";
var minusMode = "Up";
var plusMode = "Down";
var minMode = "AtTop";
var maxMode = "AtBottom";
}
Symbol 139 MovieClip [__Packages.mx.controls.TextArea] Frame 0
class mx.controls.TextArea extends mx.core.ScrollView
{
var label, invalidate, initText, dispatchValueChangedEvent, getHPosition, setHPosition, getVPosition, setVPosition, _color, focusTextField, tfx, tfy, tfw, tfh, doLater, _vpos, _hpos, hookedV, vScroller, hookedH, hScroller, getViewMetrics, __get__width, __get__height, hScrollPolicy, vScrollPolicy, enabled, getStyle, getFocusManager, addEventListener, removeEventListener, _getTextFormat, setScrollProperties;
function TextArea () {
super();
}
function get maxChars() {
return(label.maxChars);
}
function set maxChars(x) {
label.maxChars = x;
//return(maxChars);
}
function get length() {
return(label.length);
}
function get restrict() {
return(label.restrict);
}
function set restrict(s) {
label.restrict = ((s == "") ? null : (s));
//return(restrict);
}
function get wordWrap() {
return(label.wordWrap);
}
function set wordWrap(s) {
label.wordWrap = s;
invalidate();
//return(wordWrap);
}
function get editable() {
return(__editable);
}
function set editable(x) {
__editable = x;
label.type = (x ? "input" : "dynamic");
//return(editable);
}
function get password() {
return(label.password);
}
function set password(s) {
label.password = s;
//return(password);
}
function get html() {
return(getHtml());
}
function set html(value) {
setHtml(value);
//return(html);
}
function getHtml() {
return(label.html);
}
function setHtml(value) {
if (value != label.html) {
label.html = value;
}
}
function get text() {
return(getText());
}
function set text(t) {
setText(t);
//return(text);
}
function getText() {
if (initializing) {
return(initText);
}
var _local2 = label;
if (_local2.html == true) {
return(_local2.htmlText);
}
return(_local2.text);
}
function setText(t) {
if (initializing) {
initText = t;
} else {
var _local2 = label;
if (_local2.html == true) {
_local2.htmlText = t;
} else {
_local2.text = t;
}
invalidate();
}
dispatchValueChangedEvent(t);
}
function get hPosition() {
return(getHPosition());
}
function set hPosition(pos) {
setHPosition(pos);
label.hscroll = pos;
label.background = false;
//return(hPosition);
}
function get vPosition() {
return(getVPosition());
}
function set vPosition(pos) {
setVPosition(pos);
label.scroll = pos + 1;
label.background = false;
//return(vPosition);
}
function get maxVPosition() {
var _local2 = label.maxscroll - 1;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function get maxHPosition() {
var _local2 = label.maxhscroll;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function init(Void) {
super.init();
label.styleName = this;
_color = mx.core.UIObject.textColorList;
focusTextField = label;
label.owner = this;
label.onSetFocus = function (x) {
this._parent.onSetFocus(x);
};
label.onKillFocus = function (x) {
this._parent.onKillFocus(x);
};
label.drawFocus = function (b) {
this._parent.drawFocus(b);
};
label.onChanged = function () {
this.owner.adjustScrollBars();
this.owner.dispatchEvent({type:"change"});
this.owner.dispatchValueChangedEvent(this.owner.text);
};
label.onScroller = function () {
this.owner.hPosition = this.hscroll;
this.owner.vPosition = this.scroll - 1;
};
if (text == undefined) {
text = ("");
}
}
function createChildren(Void) {
super.createChildren();
label.autoSize = "none";
}
function layoutContent(x, y, totalW, totalH, displayW, displayH) {
var _local2 = label;
if ((((tfx != x) || (tfy != y)) || (tfw != displayW)) || (tfh != displayH)) {
tfx = x;
tfy = y;
tfw = displayW;
tfh = displayH;
_local2.move(tfx, tfy);
_local2.setSize(tfw, tfh);
doLater(this, "adjustScrollBars");
}
}
function scrollChanged(Void) {
var _local2 = Selection;
if (_local2.lastBeginIndex != undefined) {
restoreSelection();
}
label.background = false;
}
function onScroll(docObj) {
var _local3 = label;
super.onScroll(docObj);
_local3.hscroll = hPosition + 0;
_local3.scroll = vPosition + 1;
_vpos = _local3.scroll;
_hpos = _local3.hscroll;
_local3.background = false;
if (hookedV != true) {
vScroller.addEventListener("scrollChanged", this);
hookedV = true;
}
if (hookedH != true) {
hScroller.addEventListener("scrollChanged", this);
hookedH = true;
}
}
function size(Void) {
var _local3 = getViewMetrics();
var _local7 = _local3.left + _local3.right;
var _local4 = _local3.top + _local3.bottom;
var _local6 = _local3.left;
var _local5 = _local3.top;
tfx = _local6;
tfy = _local5;
tfw = __get__width() - _local7;
tfh = __get__height() - _local4;
super.size();
label.move(tfx, tfy);
label.setSize(tfw, tfh);
if (__get__height() <= 40) {
hScrollPolicy = "off";
vScrollPolicy = "off";
}
doLater(this, "adjustScrollBars");
}
function setEnabled(enable) {
enabled = enable;
vScroller.enabled = enable;
hScroller.enabled = enable;
label.type = (((editable == false) || (enabled == false)) ? "dynamic" : "input");
label.selectable = enabled;
var _local2 = getStyle((enable ? "color" : "disabledColor"));
if (_local2 == undefined) {
_local2 = (enable ? 0 : 8947848);
}
setColor(_local2);
}
function setColor(col) {
label.textColor = col;
}
function setFocus(Void) {
Selection.setFocus(label);
}
function onSetFocus(x) {
var f = Selection.getFocus();
var o = eval (f);
if (o != label) {
Selection.setFocus(label);
return(undefined);
}
getFocusManager().defaultPushButtonEnabled = false;
addEventListener("keyDown", this);
super.onSetFocus(x);
}
function onKillFocus(x) {
getFocusManager().defaultPushButtonEnabled = true;
removeEventListener("keyDown", this);
super.onKillFocus(x);
}
function restoreSelection(x) {
var _local2 = Selection;
Selection.setSelection(_local2.lastBeginIndex, _local2.lastEndIndex);
label.scroll = _vpos;
label.hscroll = _hpos;
}
function getLineOffsets(Void) {
var _local16 = _getTextFormat();
var _local18 = _local16.getTextExtent2(label.text);
var _local5 = _root._getTextExtent;
_local5.setNewTextFormat(_local16);
var _local14 = label.wordWrap;
var _local9 = 0;
var _local7 = (label._width - 2) - 2;
var _local12 = new Array();
var _local17 = new String(label.text);
var _local15 = _local17.split("\r");
var _local11 = 0;
while (_local11 < _local15.length) {
_local12.push(_local9);
var _local4 = _local15[_local11];
_local5.text = _local4;
var _local13 = Math.ceil(_local5.textWidth / _local7);
var _local10 = Math.floor(_local4.length / _local13);
var _local3;
while (_local14 && (_local5.textWidth > _local7)) {
_local3 = _local4.indexOf(" ", _local10);
var _local6;
if (_local3 == -1) {
_local3 = _local4.lastIndexOf(" ");
if (_local3 == -1) {
_local3 = _local10;
}
}
_local6 = _local4.substr(0, _local3);
_local5.text = _local6;
if (_local5.textWidth > _local7) {
while (_local5.textWidth > _local7) {
var _local8 = _local3;
_local3 = _local4.lastIndexOf(" ", _local3 - 1);
if (_local3 == -1) {
_local3 = _local8 - 1;
}
_local6 = _local4.substr(0, _local3);
_local5.text = _local6;
}
} else if (_local5.textWidth < _local7) {
var _local8 = _local3;
while (_local5.textWidth < _local7) {
_local8 = _local3;
_local3 = _local4.indexOf(" ", _local3 + 1);
if (_local3 == -1) {
if (_local4.indexOf(" ", 0) != -1) {
break;
}
_local3 = _local8 + 1;
}
_local6 = _local4.substr(0, _local3);
_local5.text = _local6;
}
_local3 = _local8;
}
_local9 = _local9 + _local3;
_local12.push(_local9 + 1);
_local4 = _local4.substr(_local3);
if (_local4.charAt(0) == " ") {
_local4 = _local4.substr(1, _local4.length - 1);
_local9 = _local9 + 1;
}
_local5.text = _local4;
}
_local9 = _local9 + (_local4.length + 1);
_local11++;
}
return(_local12);
}
function keyDown(e) {
var _local5 = e.code;
if (_local5 == 34) {
var _local6 = (label.bottomScroll - label.scroll) + 1;
var _local3 = getLineOffsets();
var _local2 = Math.min(label.bottomScroll + 1, label.maxscroll);
if (_local2 == label.maxscroll) {
var _local4 = label.length;
Selection.setSelection(_local4, _local4);
} else {
label.scroll = _local2;
Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]);
}
} else if (_local5 == 33) {
var _local6 = (label.bottomScroll - label.scroll) + 1;
var _local3 = getLineOffsets();
var _local2 = label.scroll - 1;
if (_local2 < 1) {
Selection.setSelection(0, 0);
} else {
Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]);
label.scroll = Math.max(_local2 - _local6, 1);
}
}
}
function draw(Void) {
var _local2 = label;
var _local4 = getText();
if (initializing) {
initializing = false;
delete initText;
}
var _local3 = _getTextFormat();
_local2.embedFonts = _local3.embedFonts == true;
if (_local3 != undefined) {
_local2.setTextFormat(_local3);
_local2.setNewTextFormat(_local3);
}
_local2.multiline = true;
_local2.wordWrap = wordWrap == true;
if (_local2.wordWrap) {
__hScrollPolicy = "off";
}
if (_local2.html == true) {
_local2.setTextFormat(_local3);
_local2.htmlText = _local4;
} else {
_local2.text = _local4;
}
_local2.type = ((editable == true) ? "input" : "dynamic");
size();
_local2.background = false;
}
function adjustScrollBars() {
var _local2 = label;
var _local4 = (_local2.bottomScroll - _local2.scroll) + 1;
var _local3 = (_local4 + _local2.maxscroll) - 1;
if (_local3 < 1) {
_local3 = 1;
}
var _local5 = 0;
if ((_local2.textWidth + 5) > _local2._width) {
if (!_local2.wordWrap) {
_local5 = _local2._width + _local2.maxhscroll;
}
} else {
_local2.hscroll = 0;
_local2.background = false;
}
if ((_local2.height / _local4) != Math.round(_local2.height / _local4)) {
_local3--;
}
setScrollProperties(_local5, 1, _local3, _local2.height / _local4);
}
function get tabIndex() {
return(label.tabIndex);
}
function set tabIndex(w) {
label.tabIndex = w;
//return(tabIndex);
}
function set _accProps(val) {
label._accProps = val;
//return(_accProps);
}
function get _accProps() {
return(label._accProps);
}
function get styleSheet() {
return(label.styleSheet);
}
function set styleSheet(v) {
label.styleSheet = v;
//return(styleSheet);
}
static var symbolName = "TextArea";
static var symbolOwner = mx.controls.TextArea;
static var version = "2.0.0.377";
var className = "TextArea";
var initializing = true;
var clipParameters = {text:1, wordWrap:1, editable:1, maxChars:1, restrict:1, html:1, password:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextArea.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters);
var __vScrollPolicy = "auto";
var __hScrollPolicy = "auto";
var __editable = true;
}
Symbol 173 MovieClip Frame 1
this.stop();
Symbol 179 MovieClip [mg_card_1] Frame 1
this.stop();
Symbol 179 MovieClip [mg_card_1] Frame 10
this.stop();
Symbol 187 MovieClip [mg_card_2] Frame 1
this.stop();
Symbol 187 MovieClip [mg_card_2] Frame 10
this.stop();
Symbol 193 MovieClip [mg_card_3] Frame 1
this.stop();
Symbol 193 MovieClip [mg_card_3] Frame 10
this.stop();
Symbol 201 MovieClip [mg_card_4] Frame 1
this.stop();
Symbol 201 MovieClip [mg_card_4] Frame 10
this.stop();
Symbol 207 MovieClip [mg_card_5] Frame 1
this.stop();
Symbol 207 MovieClip [mg_card_5] Frame 10
this.stop();
Symbol 213 MovieClip [mg_card_6] Frame 1
this.stop();
Symbol 213 MovieClip [mg_card_6] Frame 10
this.stop();
Symbol 221 MovieClip [mg_card_7] Frame 1
this.stop();
Symbol 221 MovieClip [mg_card_7] Frame 10
this.stop();
Symbol 229 MovieClip [mg_card_8] Frame 1
this.stop();
Symbol 229 MovieClip [mg_card_8] Frame 10
this.stop();
Symbol 248 Button
on (release) {
batt.stop();
unload_cards();
gotoAndPlay (7501);
}
Symbol 255 MovieClip Frame 24
this.stop();
Symbol 258 MovieClip [ad_atk] Frame 12
this.unloadMovie();
Symbol 261 MovieClip [ad_def] Frame 12
this.unloadMovie();
Symbol 264 MovieClip [ad_nodmg] Frame 12
this.unloadMovie();
Symbol 267 MovieClip [ad_nofp] Frame 12
this.unloadMovie();
Symbol 270 MovieClip [ad_pelado] Frame 12
this.stop();
Symbol 271 MovieClip [ad_pwned] Frame 15
this.unloadMovie();
Symbol 273 MovieClip [ad_set] Frame 12
this.unloadMovie();
Symbol 284 MovieClip [blk_fade] Frame 7
this.unloadMovie();
Symbol 295 MovieClip Frame 43
_root.attack("enemy");
Symbol 295 MovieClip Frame 56
_parent.gotoAndStop(1);
Symbol 315 MovieClip Frame 30
this.stop();
_root.bs_link.gotoAndStop(12);
_root.nextFrame();
_root.battle_results();
Symbol 316 MovieClip [bs_bowser_sp] Frame 1
this.stop();
Symbol 316 MovieClip [bs_bowser_sp] Frame 2
this.stop();
Symbol 316 MovieClip [bs_bowser_sp] Frame 3
this.stop();
Symbol 335 MovieClip Frame 28
_root.attack("enemy");
_parent.gotoAndStop(1);
Symbol 337 MovieClip [bs_chuchu_sp] Frame 1
this.stop();
Symbol 337 MovieClip [bs_chuchu_sp] Frame 2
this.stop();
Symbol 337 MovieClip [bs_chuchu_sp] Frame 3
this.stop();
Symbol 338 MovieClip Frame 20
_root.attack("enemy");
_parent.gotoAndStop(1);
Symbol 339 MovieClip [bs_cucco_sp] Frame 1
this.stop();
Symbol 339 MovieClip [bs_cucco_sp] Frame 2
this.stop();
Symbol 339 MovieClip [bs_cucco_sp] Frame 3
this.stop();
Symbol 347 MovieClip Frame 8
_root.attack("enemy");
_parent.gotoAndStop(1);
Symbol 359 MovieClip [bs_keaton_sp] Frame 1
this.stop();
Symbol 359 MovieClip [bs_keaton_sp] Frame 2
this.stop();
Symbol 359 MovieClip [bs_keaton_sp] Frame 3
this.stop();
Symbol 368 MovieClip Frame 5
this.unloadMovie();
Symbol 375 MovieClip Frame 6
_root.attack("enemy");
Symbol 375 MovieClip Frame 35
_parent.gotoAndPlay(1);
Symbol 377 MovieClip [bs_krool_sp] Frame 1
this.stop();
Symbol 377 MovieClip [bs_krool_sp] Frame 2
this.stop();
Symbol 377 MovieClip [bs_krool_sp] Frame 3
this.stop();
Symbol 400 MovieClip Frame 1
_global.link[2][1] = _global.link[2][1] - 5;
if (_global.link[2][1] < 0) {
_global.link_atk = true;
trace("No FP");
_global.link[2][1] = _global.link[2][1] + 5;
item_list.unloadMovie();
list_layer.unloadMovie();
df = "";
cf = "";
_root.attachMovie("ad_nofp", "ad_nofp", 1);
_root.ad_nofp._x = 80;
_root.ad_nofp._y = 113.7;
_parent.gotoAndStop(8);
} else {
_root.fading_batt = setInterval(_root.fading, 100);
}
Symbol 400 MovieClip Frame 90
_global.link_atk = false;
_root.warrior = false;
_root.resseting = setInterval(_root.reset_batt, 100);
heal = _global.link[2][1] / _global.link[2][0];
_root.l_fp_bar._width = heal * _global.fpbar;
trace("Downtrusth!");
dmg = (_global.link[3][1] + 8) - _global.enemy[_global.n][5];
if (dmg >= 0) {
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] - dmg;
} else {
_root.attachMovie("ad_nodmg", "ad_nodmg", 15);
_root.ad_nodmg._x = 230;
_root.ad_nodmg._y = 113.7;
trace("No Damage!");
}
perc = _global.enemy[3] / _global.enemy[2];
trace(((("Enemy HP:" + _global.enemy[_global.n][3]) + "/") + _global.enemy[_global.n][2]) + newline);
_root.e_heart();
if (_global.enemy[_global.n][3] <= 0) {
_root.attachMovie("ad_pwned", "ad_pwned", 3);
_root.ad_pwned._x = 263;
_root.ad_pwned._y = 86;
_root.e_time._width = 0;
_global.battle_over = true;
trace("END");
}
_global.standby = false;
_parent.gotoAndStop(8);
Symbol 419 MovieClip Frame 37
this.stop();
Symbol 420 MovieClip Frame 1
_global.link[2][1] = _global.link[2][1] - 10;
if (_global.link[2][1] < 0) {
_global.link_atk = true;
_global.link[2][1] = _global.link[2][1] + 10;
item_list.unloadMovie();
list_layer.unloadMovie();
df = "";
cf = "";
_root.attachMovie("ad_nofp", "ad_nofp", 1);
_root.ad_nofp._x = 80;
_root.ad_nofp._y = 113.7;
_parent.gotoAndStop(8);
} else {
_root.fading_batt = setInterval(_root.fading, 100);
}
Symbol 420 MovieClip Frame 100
_global.link_atk = false;
heal = _global.link[2][1] / _global.link[2][0];
_root.l_fp_bar._width = heal * _global.fpbar;
_root.warrior = false;
_root.resseting = setInterval(_root.reset_batt, 100);
trace("TwinStrike");
dmg = (_global.link[3][1] + 13) - _global.enemy[_global.n][5];
if (dmg >= 0) {
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] - dmg;
} else {
_root.attachMovie("ad_nodmg", "ad_nodmg", 15);
_root.ad_nodmg._x = 230;
_root.ad_nodmg._y = 113.7;
trace("No Damage!");
}
perc = _global.enemy[3] / _global.enemy[2];
trace(((("Enemy HP:" + _global.enemy[_global.n][3]) + "/") + _global.enemy[_global.n][2]) + newline);
_root.e_heart();
if (_global.enemy[_global.n][3] <= 0) {
_root.attachMovie("ad_pwned", "ad_pwned", 3);
_root.ad_pwned._x = 263;
_root.ad_pwned._y = 86;
_root.e_time._width = 0;
_global.battle_over = true;
trace("END");
}
_global.standby = false;
_parent.gotoAndStop(8);
Symbol 430 MovieClip Frame 9
_parent.gotoAndStop(8);
Symbol 435 MovieClip Frame 1
_global.link[2][1] = _global.link[2][1] - 20;
if (_global.link[2][1] < 0) {
_global.link_atk = true;
_global.link[2][1] = _global.link[2][1] + 20;
item_list.unloadMovie();
list_layer.unloadMovie();
df = "";
cf = "";
_root.attachMovie("ad_nofp", "ad_nofp", 1);
_root.ad_nofp._x = 80;
_root.ad_nofp._y = 113.7;
_parent.gotoAndStop(8);
} else {
_root.fading_batt = setInterval(_root.fading, 100);
}
Symbol 435 MovieClip Frame 53
_global.link_atk = false;
heal = _global.link[2][1] / _global.link[2][0];
_root.l_fp_bar._width = heal * _global.fpbar;
_root.warrior = false;
_root.resseting = setInterval(_root.reset_batt, 100);
trace("Kamikaze");
dmg = (_global.link[3][1] + 25) - _global.enemy[_global.n][5];
if (dmg >= 0) {
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] - dmg;
} else {
_root.attachMovie("ad_nodmg", "ad_nodmg", 15);
_root.ad_nodmg._x = 230;
_root.ad_nodmg._y = 113.7;
trace("No Damage!");
}
perc = _global.enemy[3] / _global.enemy[2];
trace(((("Enemy HP:" + _global.enemy[_global.n][3]) + "/") + _global.enemy[_global.n][2]) + newline);
_root.e_heart();
if (_global.enemy[_global.n][3] <= 0) {
_root.attachMovie("ad_pwned", "ad_pwned", 3);
_root.ad_pwned._x = 263;
_root.ad_pwned._y = 86;
_root.e_time._width = 0;
_global.battle_over = true;
trace("END");
}
_global.standby = false;
_parent.gotoAndStop(8);
Symbol 452 MovieClip Frame 52
this.unloadMovie();
Symbol 455 MovieClip Frame 1
_global.link[2][1] = _global.link[2][1] - 15;
if (_global.link[2][1] < 0) {
_global.link_atk = true;
_global.link[2][1] = _global.link[2][1] + 15;
item_list.unloadMovie();
list_layer.unloadMovie();
df = "";
cf = "";
_root.attachMovie("ad_nofp", "ad_nofp", 1);
_root.ad_nofp._x = 80;
_root.ad_nofp._y = 113.7;
_parent.gotoAndStop(8);
} else {
_root.fading_batt = setInterval(_root.fading, 100);
}
Symbol 455 MovieClip Frame 52
_global.link_atk = false;
heal = _global.link[2][1] / _global.link[2][0];
_root.l_fp_bar._width = heal * _global.fpbar;
_root.warrior = false;
_root.resseting = setInterval(_root.reset_batt, 100);
trace("Quake!!");
dmg = (_global.link[3][1] + 18) - _global.enemy[_global.n][5];
if (dmg >= 0) {
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] - dmg;
} else {
_root.attachMovie("ad_nodmg", "ad_nodmg", 15);
_root.ad_nodmg._x = 230;
_root.ad_nodmg._y = 113.7;
trace("No Damage!");
}
perc = _global.enemy[3] / _global.enemy[2];
trace(((("Enemy HP:" + _global.enemy[_global.n][3]) + "/") + _global.enemy[_global.n][2]) + newline);
_root.e_heart();
if (_global.enemy[_global.n][3] <= 0) {
_root.attachMovie("ad_pwned", "ad_pwned", 3);
_root.ad_pwned._x = 263;
_root.ad_pwned._y = 86;
_root.e_time._width = 0;
_global.battle_over = true;
trace("END");
}
_global.standby = false;
_parent.gotoAndStop(8);
Symbol 488 MovieClip Frame 12
gotoAndPlay (3);
Symbol 545 MovieClip Frame 6
this.stop();
Symbol 550 MovieClip Frame 46
this.gotoAndPlay(1);
Symbol 557 MovieClip Frame 15
_global.standby = false;
_parent.gotoAndStop(8);
Symbol 567 MovieClip Frame 10
_global.standby = false;
this.stop();
Symbol 574 MovieClip Frame 10
this.stop();
Symbol 575 MovieClip Frame 47
this.unloadMovie();
Symbol 593 MovieClip Frame 1
_global.link[2][1] = _global.link[2][1] - 25;
if (_global.link[2][1] < 0) {
_global.link_atk = true;
_global.link[2][1] = _global.link[2][1] + 25;
item_list.unloadMovie();
list_layer.unloadMovie();
df = "";
cf = "";
_root.attachMovie("ad_nofp", "ad_nofp", 1);
_root.ad_nofp._x = 80;
_root.ad_nofp._y = 113.7;
_parent.gotoAndStop(8);
} else {
_root.fading_batt = setInterval(_root.fading, 100);
}
Symbol 593 MovieClip Frame 71
_global.link_atk = false;
_root.warrior = false;
_root.resseting = setInterval(_root.reset_batt, 100);
heal = _global.link[2][1] / _global.link[2][0];
_root.l_fp_bar._width = heal * _global.fpbar;
trace("Spin Attack!!");
dmg = (_global.link[3][1] + 32) - _global.enemy[_global.n][5];
if (dmg >= 0) {
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] - dmg;
} else {
_root.attachMovie("ad_nodmg", "ad_nodmg", 15);
_root.ad_nodmg._x = 230;
_root.ad_nodmg._y = 113.7;
trace("No Damage!");
}
perc = _global.enemy[3] / _global.enemy[2];
trace(((("Enemy HP:" + _global.enemy[_global.n][3]) + "/") + _global.enemy[_global.n][2]) + newline);
_root.e_heart();
if (_global.enemy[_global.n][3] <= 0) {
_root.attachMovie("ad_pwned", "ad_pwned", 3);
_root.ad_pwned._x = 263;
_root.ad_pwned._y = 86;
_root.e_time._width = 0;
_global.battle_over = true;
trace("END");
}
_global.standby = false;
_parent.gotoAndStop(8);
Symbol 595 MovieClip Frame 1
_global.link[2][1] = _global.link[2][1] - 30;
if (_global.link[2][1] < 0) {
_global.link_atk = true;
_global.link[2][1] = _global.link[2][1] + 30;
item_list.unloadMovie();
list_layer.unloadMovie();
df = "";
cf = "";
_root.attachMovie("ad_nofp", "ad_nofp", 1);
_root.ad_nofp._x = 80;
_root.ad_nofp._y = 113.7;
_parent.gotoAndStop(8);
} else {
_root.fading_batt = setInterval(_root.fading, 100);
}
Symbol 595 MovieClip Frame 100
this.stopAllSounds();
Symbol 595 MovieClip Frame 109
_global.link_atk = false;
_root.warrior = false;
_root.resseting = setInterval(_root.reset_batt, 100);
heal = _global.link[2][1] / _global.link[2][0];
_root.l_fp_bar._width = heal * _global.fpbar;
trace("Xpin Attack!!");
dmg = (_global.link[3][1] + 45) - _global.enemy[_global.n][5];
if (dmg >= 0) {
_global.enemy[_global.n][3] = _global.enemy[_global.n][3] - dmg;
} else {
_root.attachMovie("ad_nodmg", "ad_nodmg", 15);
_root.ad_nodmg._x = 230;
_root.ad_nodmg._y = 113.7;
trace("No Damage!");
}
perc = _global.enemy[3] / _global.enemy[2];
trace(((("Enemy HP:" + _global.enemy[_global.n][3]) + "/") + _global.enemy[_global.n][2]) + newline);
_root.e_heart();
if (_global.enemy[_global.n][3] <= 0) {
_root.attachMovie("ad_pwned", "ad_pwned", 3);
_root.ad_pwned._x = 263;
_root.ad_pwned._y = 86;
_root.e_time._width = 0;
_global.battle_over = true;
trace("END");
}
_global.standby = false;
_parent.gotoAndStop(8);
Symbol 596 MovieClip [bs_link_sp] Frame 1
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 2
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 3
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 4
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 5
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 6
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 7
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 8
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 9
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 10
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 11
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 12
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 13
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 14
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 15
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 16
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 17
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 18
this.stop();
Symbol 596 MovieClip [bs_link_sp] Frame 19
this.stop();
Symbol 613 MovieClip Frame 10
_root.attack("enemy");
Symbol 613 MovieClip Frame 15
_parent.gotoAndPlay(1);
Symbol 614 MovieClip [bs_moblin_sp] Frame 1
this.stop();
Symbol 614 MovieClip [bs_moblin_sp] Frame 2
this.stop();
Symbol 614 MovieClip [bs_moblin_sp] Frame 3
this.stop();
Symbol 624 MovieClip Frame 23
_root.attack("enemy");
_parent.gotoAndStop(1);
Symbol 625 MovieClip [bs_okto_sp] Frame 1
this.stop();
Symbol 625 MovieClip [bs_okto_sp] Frame 2
this.stop();
Symbol 625 MovieClip [bs_okto_sp] Frame 3
this.stop();
Symbol 629 MovieClip Frame 18
_root.attack("enemy");
_parent.gotoAndPlay(1);
Symbol 633 MovieClip [bs_slug_sp] Frame 1
this.stop();
Symbol 633 MovieClip [bs_slug_sp] Frame 2
this.stop();
Symbol 633 MovieClip [bs_slug_sp] Frame 3
this.stop();
Symbol 647 MovieClip Frame 21
_root.attack("enemy");
Symbol 647 MovieClip Frame 32
_parent.gotoAndPlay(1);
Symbol 648 MovieClip [bs_viejo_sp] Frame 1
this.stop();
Symbol 648 MovieClip [bs_viejo_sp] Frame 2
this.stop();
Symbol 648 MovieClip [bs_viejo_sp] Frame 3
this.stop();
Symbol 650 MovieClip Frame 7
gotoAndPlay (1);
Symbol 650 MovieClip Frame 16
gotoAndPlay (8);
Symbol 650 MovieClip Frame 27
gotoAndPlay (17);
Symbol 650 MovieClip Frame 46
this.stop();
Symbol 657 MovieClip [g_textb_app] Frame 1
dialog = "";
_global.paused = true;
Symbol 657 MovieClip [g_textb_app] Frame 3
if (_global.idi == 1) {
max = length(_global.tdg);
loop = 1;
} else if (_global.idi == 2) {
max = length(_global.tdg2);
loop = 1;
}
Instance of Symbol 655 MovieClip in Symbol 657 MovieClip [g_textb_app] Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(65) && (!_global.lockz2)) {
_global.lockz2 = true;
if (_global.choose && (!_global.choosing)) {
_parent.loop = _parent.max;
} else if (_global.choose && (_global.choosing)) {
} else if (_global.idi == 1) {
if ((_global.tdg_1 != "") && (_parent.loop < _parent.max)) {
_parent.loop = _parent.max;
} else if ((_global.tdg_1 != "") && (_parent.loop >= _parent.max)) {
_global.tdg = _global.tdg_1;
_global.tdg_1 = "";
_parent.gotoAndPlay(3);
} else if ((_global.tdg_1 == "") && (_parent.loop < _parent.max)) {
_parent.loop = _parent.max;
} else {
_root.msfx = new Sound();
_root.msfx.attachSound("menu close");
_root.msfx.start();
_global.texts = false;
_global.paused = false;
_parent.gotoAndPlay(6);
}
} else if (_global.idi == 2) {
if ((_global.tdg_2 != "") && (_parent.loop < _parent.max)) {
_parent.loop = _parent.max;
} else if ((_global.tdg_2 != "") && (_parent.loop >= _parent.max)) {
_global.tdg2 = _global.tdg_2;
_global.tdg_2 = "";
_parent.gotoAndPlay(3);
} else if ((_global.tdg_2 == "") && (_parent.loop < _parent.max)) {
_parent.loop = _parent.max;
} else {
_root.msfx = new Sound();
_root.msfx.attachSound("menu close");
_root.msfx.start();
_global.texts = false;
_global.paused = false;
_parent.gotoAndPlay(6);
}
}
} else {
_global.lockz2 = false;
}
}
onClipEvent (keyUp) {
trace((_global.paused + "_") + _global.texts);
_global.lockz2 = false;
}
Symbol 657 MovieClip [g_textb_app] Frame 4
if (_global.idi == 1) {
loop = loop + 2;
dialog = substring(tdg, 1, loop);
} else if (_global.idi == 2) {
loop = loop + 2;
dialog = substring(tdg2, 1, loop);
}
Symbol 657 MovieClip [g_textb_app] Frame 5
if (loop > max) {
this.stop();
if (_global.choose == true) {
_global.choosing = true;
this.attachMovie("sub_choice", "sub_choice", 1);
sub_choice._x = 92;
sub_choice._y = -101.5;
if (_global.idi == 1) {
sub_choice.choice1 = "Si";
sub_choice.choice2 = "No";
} else {
sub_choice.choice1 = "Yes";
sub_choice.choice2 = "No";
}
}
} else {
this.gotoAndPlay(4);
}
Symbol 657 MovieClip [g_textb_app] Frame 6
_global.tdg_1 = "";
_global.tdg_2 = "";
_global.paused = false;
_global.texts = false;
this.unloadMovie();
Symbol 666 MovieClip [hit] Frame 8
this.unloadMovie();
Symbol 686 MovieClip [link_sp] Frame 1
this.stopAllSounds();
Symbol 692 MovieClip Frame 1
this.stop();
Symbol 692 MovieClip Frame 2
this.stop();
Symbol 699 MovieClip Frame 31
_root.begin = true;
_root.summo.gotoAndStop(2);
this.unloadMovie();
Symbol 700 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 2
stop();
Symbol 700 MovieClip Frame 3
this.stop();
_root.wonit = setInterval(_root.overme2, 1000);
Symbol 700 MovieClip Frame 4
this.stop();
_root.lostit = setInterval(_root.overme, 1000);
Symbol 701 MovieClip Frame 1
this.stop();
Instance of Symbol 619 MovieClip "okto" in Symbol 701 MovieClip Frame 1
/* no clip actions */
Symbol 701 MovieClip Frame 2
this.stop();
Symbol 701 MovieClip Frame 3
this.stop();
Symbol 701 MovieClip Frame 4
this.stop();
Symbol 707 MovieClip [sh_chuchu_s] Frame 1
c3.onPress = function () {
_root.cg_score = _root.cg_score + 250;
};
c2.onPress = function () {
_root.cg_score = _root.cg_score + 250;
};
c1.onPress = function () {
_root.cg_score = _root.cg_score + 250;
};
active = true;
Symbol 707 MovieClip [sh_chuchu_s] Frame 40
active = false;
this.stop();
Symbol 708 MovieClip [sh_cucco] Frame 1
ce.onPress = function () {
_root.cg_score = _root.cg_score + 1000;
};
active = true;
Symbol 708 MovieClip [sh_cucco] Frame 11
ce.onPress = function () {
_root.cg_score = _root.cg_score + 1000;
};
active = true;
Symbol 708 MovieClip [sh_cucco] Frame 22
active = false;
this.stop();
Symbol 709 MovieClip [sh_keatons] Frame 1
rt1.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
rt3.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
rt2.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
active = true;
Symbol 709 MovieClip [sh_keatons] Frame 10
rt1.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
rt3.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
rt2.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
Symbol 709 MovieClip [sh_keatons] Frame 20
rt1.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
rt3.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
rt2.onPress = function () {
_root.cg_score = _root.cg_score + 320;
};
Symbol 709 MovieClip [sh_keatons] Frame 59
this.stop();
active = false;
Symbol 710 MovieClip [sh_kefka] Frame 1
k1.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
k2.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
k3.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
active = true;
Symbol 710 MovieClip [sh_kefka] Frame 5
k1.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
k2.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
k3.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
Symbol 710 MovieClip [sh_kefka] Frame 15
k1.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
k2.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
k3.onPress = function () {
_root.cg_score = _root.cg_score + 500;
};
Symbol 710 MovieClip [sh_kefka] Frame 44
active = false;
this.stop();
Symbol 713 MovieClip Frame 1
this.stop();
Symbol 717 MovieClip [sh_mario_jump] Frame 1
active = true;
mar.onPress = function () {
_root.cg_score = _root.cg_score + 1500;
};
Symbol 717 MovieClip [sh_mario_jump] Frame 36
active = false;
this.stop();
Symbol 718 MovieClip Frame 1
o1.onPress = function () {
_root.cg_score = _root.cg_score + 800;
};
o2.onPress = function () {
_root.cg_score = _root.cg_score + 800;
};
o3.onPress = function () {
_root.cg_score = _root.cg_score + 800;
};
Symbol 718 MovieClip Frame 26
o1.onPress = function () {
_root.cg_score = _root.cg_score + 800;
};
o2.onPress = function () {
_root.cg_score = _root.cg_score + 800;
};
o3.onPress = function () {
_root.cg_score = _root.cg_score + 800;
};
Symbol 735 MovieClip [shopping] Frame 1
function cln_mn() {
mn = "";
clearInterval(mn_int);
}
this.stop();
_root.field.setVolume(30);
mn = "";
desc = "";
if (_global.idi == 1) {
mess = "Ke te gustar\u00EDa komprar?";
} else {
mess = "What would you like to buy?";
}
createClassObject(mx.controls.List, "item_list", 5);
item_list.setSize(120, 150);
item_list._x = 29;
item_list._y = 55;
item_list.backgroundColor = 12369084 /* 0xBCBCBC */;
item_list.borderColor = 16777215 /* 0xFFFFFF */;
item_list.borderStyle = "outset";
item_list.textSelectedColor = 16777215 /* 0xFFFFFF */;
item_list.selectionColor = 10790052 /* 0xA4A4A4 */;
item_list.disabledColor = 16777215 /* 0xFFFFFF */;
item_list.rollOverColor = 10790052 /* 0xA4A4A4 */;
item_list.fontWeight = "bold";
i = 0;
while (i <= (_global.itembag.length - 1)) {
item_list.addItem({label:_global.itembag[i][4], data:_global.itembag[i][1], price:_global.itembag[i][3]});
i = i + 1;
}
item_list.setFocus();
Instance of Symbol 163 MovieClip in Symbol 735 MovieClip [shopping] Frame 1
onClipEvent (enterFrame) {
if (_global.idi == 1) {
_parent.cmds = "Rupias:\n" + _global.link[3][6];
} else {
_parent.cmds = "Rupies:\n" + _global.link[3][6];
}
if (_parent.item_list.selectedItem.data == undefined) {
if (_global.idi == 1) {
_parent.desc = "Selekciona un item";
} else {
_parent.desc = "Select an item";
}
} else if (_global.idi == 1) {
_parent.desc = ((_parent.item_list.selectedItem.data + newline) + _parent.item_list.selectedItem.price) + " Rupias";
} else {
_parent.desc = ((_parent.item_list.selectedItem.data + newline) + _parent.item_list.selectedItem.price) + " Rupies";
}
if (Key.isDown(65) && (notpressed)) {
notpressed = false;
if ((_global.link[3][6] - _parent.item_list.selectedItem.price) < 0) {
_root.msfx = new Sound();
_root.msfx.attachSound("kh_deselect");
_root.msfx.start();
if (_global.idi == 1) {
_parent.mn = "No Te Alkanza";
_parent.mn_int = setInterval(_parent.cln_mn, 1000);
} else {
_parent.mn = "Not Enough";
_parent.mn_int = setInterval(_parent.cln_mn, 1000);
}
} else {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
if (_global.idi == 1) {
_parent.mn = "Komprado";
_parent.mn_int = setInterval(_parent.cln_mn, 1000);
_global.itembag[_parent.item_list.selectedIndex][2] = _global.itembag[_parent.item_list.selectedIndex][2] + 1;
_global.link[3][6] = _global.link[3][6] - _parent.item_list.selectedItem.price;
} else {
_parent.mn = "Purchased";
_parent.mn_int = setInterval(_parent.cln_mn, 1000);
_global.itembag[_parent.item_list.selectedIndex][2] = _global.itembag[_parent.item_list.selectedIndex][2] + 1;
_global.link[3][6] = _global.link[3][6] - _parent.item_list.selectedItem.price;
}
}
} else if (Key.isDown(83)) {
_root.field.setVolume(100);
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
_global.texts = false;
_global.paused = false;
_parent.destroyObject("item_list");
_parent.unloadMovie();
}
}
onClipEvent (keyUp) {
notpressed = true;
}
Symbol 801 MovieClip Frame 1
this.stop();
if (_global.xcore[0] == undefined) {
shg = "- - -";
} else {
shg = _global.xcore[0];
}
if (_global.xcore[1] == undefined) {
crg = "- - -";
} else {
crg = _global.xcore[1];
}
if (_global.xcore[2] == undefined) {
rank = "- - -";
} else {
qzg = _global.xcore[2];
}
if (_global.idi == 1) {
if (qzg == 11) {
rank = "Zelda Guru";
_global.specialf = true;
} else if (qzg > 9) {
rank = "Veterano";
} else if (qzg > 7) {
rank = "Promedio";
} else if (qzg > 4) {
rank = "Principiante";
} else if (qzg > 0) {
rank = "n00b";
} else if (qzg == 0) {
rank = "???";
}
} else if (qzg == 11) {
rank = "Zelda Guru";
_global.specialf = true;
} else if (qzg > 9) {
rank = "Veteran";
} else if (qzg > 7) {
rank = "Average";
} else if (qzg > 4) {
rank = "Beginer";
} else if (qzg > 0) {
rank = "n00b";
} else if (qzg == 0) {
rank = "???";
}
if (_global.idi == 1) {
mgg = (((("Galer\u00EDa.De.Tiro :\n " + shg) + "\nDos-Dos :\n ") + crg) + "\nZelda Quiz :\n ") + rank;
} else {
mgg = (((("Shooting.Gallery :\n " + shg) + "\nTwo-Two :\n ") + crg) + "\nZelda Quiz :\n ") + rank;
}
Symbol 801 MovieClip Frame 16
this.stop();
if (_global.xcore[0] == undefined) {
shg = "- - -";
} else {
shg = _global.xcore[0];
}
if (_global.xcore[1] == undefined) {
crg = "- - -";
} else {
crg = _global.xcore[1];
}
if (_global.xcore[2] == undefined) {
rank = "- - -";
} else {
qzg = _global.xcore[2];
}
if (_global.idi == 1) {
if (qzg == 11) {
rank = "Zelda Guru";
_global.specialf = true;
} else if (qzg > 9) {
rank = "Veterano";
} else if (qzg > 7) {
rank = "Promedio";
} else if (qzg > 4) {
rank = "Principiante";
} else if (qzg > 0) {
rank = "n00b";
} else if (qzg == 0) {
rank = "???";
}
} else if (qzg == 11) {
rank = "Zelda Guru";
_global.specialf = true;
} else if (qzg > 9) {
rank = "Veteran";
} else if (qzg > 7) {
rank = "Average";
} else if (qzg > 4) {
rank = "Beginer";
} else if (qzg > 0) {
rank = "n00b";
} else if (qzg == 0) {
rank = "???";
}
if (_global.idi == 1) {
mgg = (((("Galer\u00EDa.De.Tiro :\n " + shg) + "\nDos-Dos :\n ") + crg) + "\nZelda Quiz :\n ") + rank;
} else {
mgg = (((("Shooting.Gallery :\n " + shg) + "\nTwo-Two :\n ") + crg) + "\nZelda Quiz :\n ") + rank;
}
Instance of Symbol 163 MovieClip "stinit" in Symbol 809 MovieClip [stat_screen] Frame 1
onClipEvent (load) {
function iton() {
itanabled = true;
clearInterval(ite);
}
function show_status() {
if (_global.idi == 1) {
if ((_global.best[0] == undefined) || (_global.best[0] == "")) {
var _local10 = "???";
} else {
var _local10 = _global.best[0];
}
var _local8 = ((("HP " + _global.link[1][1]) + " / ") + _global.link[1][0]) + " : ";
var _local9 = ((("FP " + _global.link[2][1]) + " / ") + _global.link[2][0]) + newline;
var _local7 = ("ATK " + _global.link[3][0]) + newline;
var _local3 = ("DEF " + _global.link[3][2]) + newline;
var _local6 = ("SPD " + _global.link[3][4]) + "%\n";
var _local5 = (_global.link[3][6] + " Rupias") + newline;
var _local4 = ((("EXP\n Actual: " + _global.link[0][1]) + " XP\n Siguiente Nivel: ") + (_global.link[0][2] - _global.link[0][1])) + " XP";
var _local11 = "Nivel : " + _global.link[0][0];
} else {
if ((_global.best[0] == undefined) || (_global.best[0] == "")) {
var _local10 = " [ ??? ]";
} else {
var _local10 = (" [ " + _global.best[0]) + " ] ";
}
var _local8 = ((("HP " + _global.link[1][1]) + " / ") + _global.link[1][0]) + " : ";
var _local9 = ((("FP " + _global.link[2][1]) + " / ") + _global.link[2][0]) + newline;
var _local7 = ("ATK " + _global.link[3][0]) + newline;
var _local3 = ("DEF " + _global.link[3][2]) + newline;
var _local6 = ("SPD " + _global.link[3][4]) + "%\n";
var _local5 = (_global.link[3][6] + " Rupies") + newline;
var _local4 = ((("EXP\n Current: " + _global.link[0][1]) + " XP\n To Next Level: ") + (_global.link[0][2] - _global.link[0][1])) + " XP";
var _local11 = "Level : " + _global.link[0][0];
}
_parent.status_s.stat = (((((((((((_local11 + newline) + _local10) + " \n\n") + _local8) + _local9) + _local5) + newline) + _local7) + _local3) + _local6) + newline) + _local4;
}
function sinfo() {
_parent.info.info = _global.infoserv[_global.ev_count];
}
function show_stuff() {
if (_global.idi == 1) {
_parent.stuff.desk = "Selekciona Item O Teknika";
} else {
_parent.stuff.desk = "Select Item Or Technique";
}
_global._stuff = true;
createClassObject(mx.controls.List, "item_list", 3);
item_list.setSize(89.3, 76);
item_list._x = 205.2;
item_list._y = -66.3;
item_list.backgroundColor = 12369084 /* 0xBCBCBC */;
item_list.borderColor = 16777215 /* 0xFFFFFF */;
item_list.borderStyle = "outset";
item_list.textSelectedColor = 16777215 /* 0xFFFFFF */;
item_list.selectionColor = 10790052 /* 0xA4A4A4 */;
item_list.disabledColor = 16777215 /* 0xFFFFFF */;
item_list.rollOverColor = 10790052 /* 0xA4A4A4 */;
item_list.fontWeight = "bold";
i = 0;
while (i <= (_global.itembag.length - 1)) {
if (_global.itembag[i][2] > 0) {
item_list.addItem({label:_global.itembag[i][0], data:_global.itembag[i][1], left:_global.itembag[i][2]});
}
i = i + 1;
}
if (item_list.length == 0) {
if (_global.idi == 1) {
item_list.addItem("VACIO", "");
} else {
item_list.addItem("EMPTY", "");
}
}
createClassObject(mx.controls.List, "tech_list", 4);
tech_list.setSize(89.3, 76);
tech_list._x = 205.2;
tech_list._y = 15.3;
tech_list.backgroundColor = 12369084 /* 0xBCBCBC */;
tech_list.borderColor = 16777215 /* 0xFFFFFF */;
tech_list.borderStyle = "outset";
tech_list.textSelectedColor = 16777215 /* 0xFFFFFF */;
tech_list.selectionColor = 10790052 /* 0xA4A4A4 */;
tech_list.disabledColor = 16777215 /* 0xFFFFFF */;
tech_list.rollOverColor = 10790052 /* 0xA4A4A4 */;
tech_list.fontWeight = "bold";
i = 0;
while (i <= (_global.techlist.length - 1)) {
tech_list.addItem(_global.techlist[i][0], _global.techlist[i][1]);
i = i + 1;
}
}
_root.field.setVolume(30);
ite = setInterval(iton, 1000);
itanabled = false;
_parent.save.cmds = "";
_parent.ssave = false;
_parent.stuff.desk = "";
_parent.m_arr._visible = false;
_parent.n_arr._visible = false;
_parent.stuff._visible = false;
_parent.info._visible = false;
_parent.save._visible = false;
if (_global.idi == 1) {
_parent.info.gotoAndStop(1);
} else {
_parent.info.gotoAndStop(16);
}
show_status();
}
onClipEvent (enterFrame) {
if (_parent.info._visible) {
if (_global.idi == 1) {
if (Key.isDown(37) && (desp)) {
desp = false;
if (_parent.info._currentframe != 1) {
_parent.info.prevFrame();
}
} else if (Key.isDown(39) && (desp)) {
desp = false;
if (_parent.info._currentframe != 15) {
_parent.info.nextFrame();
}
}
} else if (Key.isDown(37) && (desp)) {
desp = false;
if (_parent.info._currentframe != 16) {
_parent.info.prevFrame();
}
} else if (Key.isDown(39) && (desp)) {
desp = false;
if (_parent.info._currentframe != 31) {
_parent.info.nextFrame();
}
}
}
if (_global._stuff && (_parent.n_arr._visible)) {
if (item_list.selectedItem.data == undefined) {
if (_global.idi == 1) {
_parent.stuff.desk = "Selekciona un item";
} else {
_parent.stuff.desk = "Select an item";
}
} else if (_global.idi == 1) {
_parent.stuff.desk = (item_list.selectedItem.data + "\nCantidad: ") + item_list.selectedItem.left;
} else {
_parent.stuff.desk = (item_list.selectedItem.data + "\nQuantity: ") + item_list.selectedItem.left;
}
} else if (_global._stuff && (_parent.m_arr._visible)) {
if (tech_list.selectedItem.data == undefined) {
if (_global.idi == 1) {
_parent.stuff.desk = "Selekciona una teknika";
} else {
_parent.stuff.desk = "Select a technique";
}
} else {
_parent.stuff.desk = tech_list.selectedItem.data;
}
}
if (_global.menu_blocked != true) {
if (Key.isDown(90)) {
_root.msfx = new Sound();
_root.msfx.attachSound("kh_select");
_root.msfx.start();
show_status();
_parent.ssave = false;
_parent.m_arr._visible = false;
_parent.n_arr._visible = false;
_global._stuff = false;
destroyObject("item_list");
destroyObject("tech_list");
_parent.status_s._visible = true;
_parent.stuff._visible = false;
_parent.save._visible = false;
_parent.info._visible = false;
_parent.show_status();
} else if (Key.isDown(88) && (itanabled)) {
_root.msfx = new Sound();
_root.msfx.attachSound("kh_select");
_root.msfx.start();
_parent.ssave = false;
show_stuff();
_parent.stuff._visible = false;
_parent.stuff._visible = true;
_parent.status_s._visible = false;
_parent.save._visible = false;
_parent.info._visible = false;
} else if (Key.isDown(67)) {
_root.msfx = new Sound();
_root.msfx.attachSound("kh_select");
_root.msfx.start();
sinfo();
_parent.ssave = false;
_parent.m_arr._visible = false;
_parent.n_arr._visible = false;
_global._stuff = false;
destroyObject("item_list");
destroyObject("tech_list");
_parent.info._visible = true;
_parent.stuff._visible = false;
_parent.status_s._visible = false;
_parent.save._visible = false;
} else if (Key.isDown(86)) {
_root.msfx = new Sound();
_root.msfx.attachSound("kh_select");
_root.msfx.start();
_parent.m_arr._visible = false;
_parent.n_arr._visible = false;
_global._stuff = false;
destroyObject("item_list");
destroyObject("tech_list");
_parent.save._visible = true;
_parent.stuff._visible = false;
_parent.info._visible = false;
_parent.status_s._visible = false;
_parent.ssave = true;
} else if (Key.isDown(66)) {
_root.field.setVolume(100);
_parent.ssave = false;
_parent.m_arr._visible = false;
_parent.n_arr._visible = false;
_global._stuff = false;
_global.paused = false;
_parent.unloadMovie();
} else if (Key.isDown(81)) {
_global.customp = false;
_root.field.setVolume(100);
_parent.ssave = false;
_root.quit();
} else if (Key.isDown(78) && (_global._stuff == true)) {
_root.msfx = new Sound();
_root.msfx.attachSound("heart_q");
_root.msfx.start();
_parent.n_arr._visible = true;
_parent.m_arr._visible = false;
item_list.setFocus();
} else if (Key.isDown(77) && (_global._stuff == true)) {
_root.msfx = new Sound();
_root.msfx.attachSound("heart_q");
_root.msfx.start();
_parent.m_arr._visible = true;
_parent.n_arr._visible = false;
tech_list.setFocus();
} else if ((Key.isDown(65) && _parent.ssave) && savingtime) {
savingtime = false;
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
var savefile = SharedObject.getLocal("yaLOZ");
savefile.data.idi = _global.idi;
savefile.data.link_s = _global.link;
savefile.data.itembag = _global.itembag;
savefile.data.ev_count = _global.ev_count;
savefile.data.unlocked = _global.unlockmode;
savefile.data.style = _global.xtyle;
savefile.data.best = _global.best;
savefile.data.xcore = _global.xcore;
savefile.data.specialf = _global.specialf;
savefile.flush();
if (_global.idi == 1) {
_parent.save.cmds = "GUARDADO";
} else {
_parent.save.cmds = "SAVED";
}
} else if ((Key.isDown(83) && _parent.ssave) && savingtime) {
savingtime = false;
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
var savefile = SharedObject.getLocal("yaLOZ");
trace((_global.link + " - _ - ") + savefile.data.link_s);
if (savefile.data.idi == undefined) {
if (_global.idi == 1) {
_parent.save.cmds = "NO EXISTE";
} else {
_parent.save.cmds = "NO FILE";
}
} else {
var savefile = SharedObject.getLocal("yaLOZ");
_global.idi = savefile.data.idi;
_global.link = savefile.data.link_s;
_global.itembag = savefile.data.itembag;
_global.ev_count = savefile.data.ev_count;
_global.unlockmode = savefile.data.unlocked;
_global.xtyle = savefile.data.style;
_global.best = savefile.data.best;
_global.xcore = savefile.data.xcore;
_global.specialf = savefile.data.specialf;
trace((_global.link + " - _ - ") + savefile.data.link_s);
if (_global.idi == 1) {
_parent.save.cmds = "CARGADO";
} else {
_parent.save.cmds = "LOADED";
}
}
}
}
}
onClipEvent (keyUp) {
savingtime = true;
desp = true;
_global.menu_blocked = false;
}
Symbol 832 MovieClip Frame 47
_root.attack("enemy");
Symbol 832 MovieClip Frame 64
_parent.gotoAndPlay(1);
Symbol 833 MovieClip Frame 25
this.stop();
_root.link.gotoAndStop(12);
_root.gotoAndStop(2);
_root.battle_results();
Symbol 834 MovieClip [unknown_sp] Frame 1
this.stop();
Instance of Symbol 819 MovieClip in Symbol 834 MovieClip [unknown_sp] Frame 1
onClipEvent (load) {
_root.heart.unloadMovie();
}
Symbol 834 MovieClip [unknown_sp] Frame 2
this.stop();
Symbol 834 MovieClip [unknown_sp] Frame 3
this.stop();
Symbol 842 MovieClip [up_atk] Frame 10
this.unloadMovie();
Symbol 850 MovieClip [up_def] Frame 10
this.unloadMovie();
Symbol 858 MovieClip [up_rev] Frame 10
this.unloadMovie();
Symbol 866 MovieClip [up_spd] Frame 10
this.unloadMovie();
Instance of Symbol 704 MovieClip in Symbol 873 MovieClip [sub_choice] Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(83)) {
_global.paused = false;
_global.choosing = false;
_global.choose = false;
_global.texts = false;
_root.event_manager(_global.evento, "yes");
_root.textb_app.gotoAndPlay(6);
}
if (Key.isDown(68)) {
_global.paused = false;
_global.choosing = false;
_global.choose = false;
_global.texts = false;
_root.event_manager(_global.evento, "no");
_root.textb_app.gotoAndPlay(6);
}
}
Symbol 899 MovieClip Frame 17
this.stop();
Symbol 900 MovieClip Frame 45
this.stop();
Symbol 934 MovieClip Frame 20
this.stop();
Symbol 953 Button
on (release) {
stopAllSounds();
gotoAndPlay (7501);
}
Symbol 986 MovieClip Frame 16
this.unloadMovie();
Symbol 1000 MovieClip Frame 12
this.stop();
Symbol 1001 MovieClip Frame 24
this.unloadMovie();
Symbol 1004 MovieClip Frame 18
this.unloadMovie();
Symbol 1005 MovieClip Frame 14
this.stop();
Symbol 1026 MovieClip Frame 20
this.gotoAndPlay(9);
Symbol 1039 MovieClip Frame 17
this.stop();
Symbol 1041 MovieClip Frame 24
this.unloadMovie();
Symbol 1042 MovieClip Frame 10
this.stop();
Symbol 1056 MovieClip [j_mesa2] Frame 5
this.stop();
Symbol 1058 MovieClip [j_kama] Frame 5
this.stop();
Symbol 1060 MovieClip [j_bote] Frame 5
this.stop();
Symbol 1063 MovieClip [j_kajas] Frame 5
this.stop();
Symbol 1064 MovieClip [j_mesa] Frame 5
this.stop();
Symbol 1067 MovieClip [link_layfloor] Frame 1
loop = 0;
Symbol 1067 MovieClip [link_layfloor] Frame 2
loop = loop + 1;
Symbol 1067 MovieClip [link_layfloor] Frame 7
if (loop > 7) {
this.stop();
} else {
this.gotoAndPlay(2);
}
Symbol 1068 MovieClip Frame 16
this.stop();
Symbol 1074 MovieClip Frame 50
this.stop();
Symbol 1082 MovieClip Frame 65
this.stop();
Symbol 1085 MovieClip Frame 6
this.stop();
Symbol 1087 MovieClip Frame 5
this.stop();
Symbol 1100 MovieClip Frame 12
this.stop();
Symbol 1101 MovieClip Frame 10
this.stop();
Symbol 1102 MovieClip Frame 38
this.stop();
Symbol 1139 MovieClip Frame 10
this.gotoAndPlay(1);
Symbol 1140 MovieClip Frame 12
this.gotoAndPlay(1);
Symbol 1172 MovieClip Frame 15
this.unloadMovie();
Symbol 1180 MovieClip [mario_jump] Frame 1
maw = 1;
Symbol 1180 MovieClip [mario_jump] Frame 2
maw = maw + 1;
Symbol 1180 MovieClip [mario_jump] Frame 9
if (maw == 8) {
this.stop();
} else {
this.gotoAndPlay(2);
}
Symbol 1216 MovieClip Frame 30
this.gotoAndPlay();
Symbol 1248 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1250 MovieClip Frame 40
this.gotoAndPlay(1);
Symbol 1265 MovieClip Frame 35
this.gotoAndPlay(11);
Symbol 1274 MovieClip Frame 4
this.stop();
Symbol 1284 MovieClip Frame 12
this.gotoAndPlay(1);
Symbol 1311 MovieClip Frame 13
this.gotoAndPlay(1);
Symbol 1323 MovieClip Frame 5
this.gotoAndPlay(1);
Symbol 1359 MovieClip Frame 9
this.gotoAndPlay(1);
Symbol 1381 MovieClip Frame 1
this._visible = false;
Symbol 1389 MovieClip Frame 1
walls._visible = false;
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count < 5) {
_global.tdg = "Link! Han raptado a las vakas!!\nDebes hacer algo o ya no te dejar\u00E9 dormir\nen mi kasa!";
_global.tdg_1 = "Y bien, ke esperas? Ponte a jalar pendejo!";
_global.tdg2 = "Link! The cows are gone!!\nYou must do something or I won't let you sleep in my house!";
_global.tdg_2 = "So, what are you waiting for? Get working asshole!";
_global.texts = true;
_root.attach();
} else if ((_global.ev_count >= 5) && (_global.ev_count < 7)) {
_global.tdg = "Hey, dejame ver ese emblema....";
_global.tdg_1 = "Mmmm... kreo ke es de Bowser, porke no vas y le preguntas, eh?";
_global.tdg2 = "Hey, let me see that emblem.";
_global.tdg_2 = "Mmmm... I think it belongs to Bowser, why don't you ask him, eh?";
_global.texts = true;
_root.attach();
} else {
_global.tdg = "Link! Han raptado a las vakas!!\nDebes hacer algo o ya no te dejar\u00E9 dormir\nen mi kasa!";
_global.tdg_1 = "Y bien, ke esperas? Ponte a jalar pendejo!";
_global.tdg2 = "Link! The cows are gone!!\nYou must do something or I won't let you sleep in my house!";
_global.tdg_2 = "So, what are you waiting for? Get working asshole!";
_global.texts = true;
_root.attach();
}
}
}
}
Instance of Symbol 173 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.ev_count == 6) || (_global.ev_count == 5)) && (_global.card7 != true)) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.link) && (this._visible)) {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
_global.card7 = true;
_global.card_get = _global.card_get + 1;
this._visible = false;
_global.tdg = ">>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg2 = ">>Pair of cards\nYou have: " + (_global.card_get * 2);
_root.attach();
_global.texts = true;
}
}
Instance of Symbol 173 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.ev_count == 6) || (_global.ev_count == 5)) && (_global.card6 != true)) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.link) && (this._visible)) {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
_global.card6 = true;
_global.card_get = _global.card_get + 1;
this._visible = false;
_global.tdg = ">>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg2 = ">>Pair of cards\nYou have: " + (_global.card_get * 2);
_root.attach();
_global.texts = true;
}
}
Instance of Symbol 173 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.ev_count == 6) || (_global.ev_count == 5)) && (_global.card3 != true)) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.link) && (this._visible)) {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
_global.card3 = true;
_global.card_get = _global.card_get + 1;
this._visible = false;
_global.tdg = ">>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg2 = ">>Pair of cards\nYou have: " + (_global.card_get * 2);
_root.attach();
_global.texts = true;
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count < 2) {
_global.tdg = "Hey, muchacho, no te interezan unos hongos de fina kalidad?";
_global.tdg_1 = "Ah, eres tu Link. Ahora rekuerdo ke tu no eres\nhongo-adikto, sino leche-adikto...";
_global.tdg2 = "Hey, kid, are you interesed in some high quality mushrooms?";
_global.tdg_2 = "Ah, it's just you Link. Now than I remember you're not a mushroom-addict, but a milk-addict...";
} else if (_global.ev_count == 2) {
_global.tdg = "Si kieres ke te de los hongos ke tengo, primero tienes ke pasar una prueba.";
_global.tdg2 = "I can give you the mushrooms I have, but you gotta pass a test first.";
_global.choose = true;
_global.evento = "hongos!";
} else if (_global.ev_count == 3) {
_global.tdg = "Aki estan los hongos, tengo m\u00E1s. Si los kieres solo pidelos.";
_global.tdg2 = "Here they are, I have more. If you want'em, just ask.";
} else if (_global.ev_count > 3) {
_global.tdg = "Kieres jugar otra vez? Bien, son 10 rupias por juego. Tengo ke ganar dinero, sabes.";
_global.tdg2 = "Wanna play again? OK, but it's 10 rupies per game. I gotta earn some money, you know.";
_global.choose = true;
_global.evento = "shooting";
}
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count == 0) {
_global.tdg = "Ke bueno ke se robaron las vakas, asi ya no tendre ke trabajar bajo condiciones infrahumanas!";
_global.tdg2 = "I'm glad they stoled the cows, now I don't have to work under subhuman conditions!";
} else if (_global.ev_count == 1) {
_global.tdg = "Algo raro ke haya visto cuando pas\u00F3 el incidente? Bueno, v\u00ED a un plomero hablando kon una lagartija enorme!";
_global.tdg_1 = "No, no estaba drogada!!! \nO kis\u00E1s si... Ya no me akuerdo...";
_global.tdg2 = "Something extrange I saw? Well, I saw a plumber talking to a really big lizzard!!";
_global.tdg_2 = "No, I wasn't drunk!!!\nOr maybe I was... I don't remember...";
_root.event_manager("malon_talk");
} else if (_global.ev_count == 2) {
_global.tdg = "Algo raro ke haya visto cuando pas\u00F3 el incidente? Bueno, v\u00ED a un plomero hablando kon una lagartija enorme!";
_global.tdg_1 = "No, no estaba drogada!!! \nO kis\u00E1s si... Ya no me akuerdo...";
_global.tdg2 = "Something extrange I saw? Well, I saw a plumber talking to a really big lizzard!!";
_global.tdg_2 = "No, I wasn't drunk!!!\nOr maybe I was... I don't remember...";
} else if (_global.ev_count > 2) {
_global.tdg = "En serio! Una lagartija!! Una lagartija gigante!!1!";
_global.tdg2 = "Really! A lizzard! A really big lizzard!!1!";
}
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "No puedes pasar.\nEl rei ha ordenado ke nadie pase hasta ke rekuperen las vakas.";
_global.tdg2 = "You cannot pass\nThe king has ordered that no one can pass until the cows are found.";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count < 6) {
_global.tdg = "Demonios, no he enkontrado alguien a kien estafar vendiendole estas cartas...";
_global.tdg2 = "Damn, I haven't found somebody to rip off selling these cards...";
_global.texts = true;
_root.attach();
} else if (_global.ev_count == 6) {
_global.tdg = "Hey, tu, no te interesar\u00EDa komprar este par de cartas? Son muy raras de konseguir... 100 rupias por las dos";
_global.tdg2 = "Hey, you, are you interesed in buying this pair of cards? They are really hard to find these days... Only 100, what you say?";
_global.texts = true;
_global.choose = true;
_global.evento = "sell_card";
_root.attach();
} else if (_global.ev_count > 6) {
_global.tdg = "Jejeje... idiota. Oh, aa, este, no dije nada.";
_global.tdg2 = "Hehehe... idiot. Oh, ah, umm, I didn't say anything.";
_global.texts = true;
_root.attach();
}
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Maldita sea!! Dejenme entrar!! Necesito leche!!1 LECHiE!!11!";
_global.tdg2 = "God dammit!! Let me get in!! I need to milk!!1 MLIK!!11!!!";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count == 0) {
_global.choose = true;
_global.tdg = "La informaci\u00F3n kuesta. \nHablar\u00E9 por 100 rupias. Ke dices?";
_global.tdg2 = "The information costs.\nI'll talk for 100 rupies. What ya say?";
_global.evento = "g_money1";
}
if (_global.ev_count == 1) {
_global.tdg = "Ya no tengo m\u00E1s ke decirte.";
_global.tdg2 = "I have nothing more to tell you.";
}
if (_global.ev_count > 1) {
_global.tdg = "Ya no tengo m\u00E1s ke decirte.";
_global.tdg2 = "I have nothing more to tell you.";
}
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count < 1) {
_global.tdg = "It's-A-Me! \nMario!";
_global.tdg2 = "It's-A-Me! \nMario!";
} else {
_global.tdg = "Mama M\u00EDa";
_global.tdg2 = "Mama M\u00EDa";
}
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.ev_count >= 5) {
_parent.bow.unloadMovie();
this.unloadMovie();
}
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count < 2) {
_global.tdg = "Ke bien, al fin enkontr\u00E9 hongos de kalidad!!";
_global.tdg2 = "Great, I've found some quality mushrooms";
} else if (_global.ev_count == 2) {
_global.tdg = "Kon un demonio, kisiera fumarme un buen hongo...";
_global.tdg2 = "God dammit, I want to smoke a good mushroom...";
} else if (_global.ev_count == 3) {
_global.tdg = "Aaa!! Hongos!! Dejame probar uno y luego te dir\u00E9 lo ke s\u00E9.";
_global.tdg2 = "Ahh!! Mushrooms!! Let me smoke one and then I'll tell ya what I know.";
_global.evento = "bowser_hongo";
_global.choose = true;
} else if (_global.ev_count == 4) {
_global.tdg = "Aaa.... Ke kalidad!! Aaa, ke kieres? Aaa, si, lo ke se, lo ke se. Bien. Anoche pas\u00E9 por el rancho a rekoger mi paga y...";
_global.tdg_1 = "not\u00E9 ka hab\u00EDa un cucco m\u00E1s grande ke los dem\u00E1s!! Y me dije \"Phuta madre un poyo gigante!!\"\nDeber\u00EDas ir a ver si sigue ah\u00ED.";
_global.tdg2 = "Ahh.... What quality!! Eh, what you want? Oh, yes, what I know, what I know. Well, last night I was walking by the ranch to...";
_global.tdg_2 = "pick the money Mario owed me and I saw a cucco bigger than the others!! You should go see if it's still around there...";
} else if (_global.ev_count < 5) {
_global.tdg = "Aaaa Ke delicia!!";
_global.tdg_1 = "Aaa Delicious!!";
}
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (_global.ev_count >= 5)) {
_root.field.stop();
_root.nscene(2);
}
}
Instance of Symbol 1381 MovieClip "pw" in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.ev_count >= 5) {
_parent.gw.unloadMovie();
this.unloadMovie();
}
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Aaa... Ke bello d\u00EDa!!";
_global.tdg_1 = "Ke? Ke kieres? No voy a hacerme a un lado solo porke tu me lo ordenas!!";
_global.tdg_2 = "What? I won't move aside just 'cause you say!!";
_global.tdg2 = "Ahh... What a beautiful day!!";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.ev_count >= 8) {
_parent.ge1.unloadMovie();
this.unloadMovie();
}
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "No te dejar\u00E9 pasar, a menos de ke me harte de estar aki.";
_global.tdg2 = "I won't let you pass, unless I get tired of standing in here.";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_root.enem_lv();
_global.fromw = 1;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 173 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.ev_count == 6) || (_global.ev_count == 5)) && (_global.card5 != true)) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.link) && (this._visible)) {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
_global.card5 = true;
_global.card_get = _global.card_get + 1;
this._visible = false;
_global.tdg = ">>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg2 = ">>Pair of cards\nYou have: " + (_global.card_get * 2);
_root.attach();
_global.texts = true;
}
}
Instance of Symbol 173 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.ev_count == 6) || (_global.ev_count == 5)) && (_global.card4 != true)) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.link) && (this._visible)) {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
_global.card4 = true;
_global.card_get = _global.card_get + 1;
this._visible = false;
_global.tdg = ">>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg2 = ">>Pair of cards\nYou have: " + (_global.card_get * 2);
_root.attach();
_global.texts = true;
}
}
Instance of Symbol 701 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.hunt = false;
_root.enem_lv();
_global.fromw = 1;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 1;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 1;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 1;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_root.enem_lv();
_global.fromw = 1;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Hey, muchacho. No kisieras komprar algo?";
_global.tdg2 = "Hey kiddo. Would you like to buy something?";
_global.texts = true;
_root.attach();
_global.choose = true;
_global.evento = "shop";
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 1;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (_global.ev_count >= 8)) {
_root.field.stop();
_root.nscene(1);
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link) && (_global.ev_count == 4)) && (logger != true)) {
trace(1);
logger = true;
_global.n = 6;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.movie_play("p");
}
}
Instance of Symbol 1381 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link) && (_global.ev_count == 4)) && (logger != true)) {
trace(1);
logger = true;
_global.n = 6;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.movie_play("p");
}
}
Symbol 1502 MovieClip Frame 15
this.gotoAndPlay(1);
Symbol 1504 Button
on (release) {
stopAllSounds();
gotoAndPlay (99);
}
Symbol 1507 MovieClip Frame 30
this.gotoAndPlay(1);
Symbol 1508 Button
on (release) {
gotoAndStop (7503);
}
Symbol 1512 Button
on (release) {
gotoAndStop (7504);
}
Symbol 1514 MovieClip Frame 217
this.gotoAndPlay(1);
Symbol 1522 Button
on (release) {
function irmenu() {
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.stat_screen.unloadMovie();
_root.idiCHECK();
stopAllSounds();
_root.bs_link.unloadMovie();
_root[_global.enemy[_global.n][0]].unloadMovie();
gotoAndPlay (7501);
}
function nadda() {
}
function irenkajaesp() {
getURL ("http://enkaja.freelinuxhost.com/", "_blank");
}
function irenkajaeng() {
getURL ("http://enkaja2.freelinuxhost.com/board/", "_blank");
}
_global.idi = 1;
idiCHECK();
frame3();
frame4();
retext();
xx = new ContextMenu();
xx.hideBuiltInItems();
var p0 = new ContextMenuItem("[ Menu ]", irmenu);
if (_global.idi == 1) {
var p1 = new ContextMenuItem("[ enKAJA ]", irenkajaesp);
} else {
var p1 = new ContextMenuItem("[enKAJA ]", irenkajaeng);
}
var p2 = new ContextMenuItem("[ konejo05@gmail.com ]", nadda);
xx.customItems.push(p0, p1, p2);
_root.menu = xx;
}
Symbol 1528 Button
on (release) {
function irmenu() {
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.stat_screen.unloadMovie();
_root.idiCHECK();
stopAllSounds();
_root.bs_link.unloadMovie();
_root[_global.enemy[_global.n][0]].unloadMovie();
gotoAndPlay (7501);
}
function nadda() {
}
function irenkajaesp() {
getURL ("http://enkaja.freelinuxhost.com/", "_blank");
}
function irenkajaeng() {
getURL ("http://enkaja2.freelinuxhost.com/board/", "_blank");
}
_global.idi = 2;
idiCHECK();
frame3();
frame4();
retext();
txtarea.text = "";
xx = new ContextMenu();
xx.hideBuiltInItems();
var p0 = new ContextMenuItem("[ Menu ]", irmenu);
if (_global.idi == 1) {
var p1 = new ContextMenuItem("[ enKAJA ]", irenkajaesp);
} else {
var p1 = new ContextMenuItem("[enKAJA ]", irenkajaeng);
}
var p2 = new ContextMenuItem("[ konejo05@gmail.com ]", nadda);
xx.customItems.push(p0, p1, p2);
_root.menu = xx;
}
Symbol 1529 Button
on (release) {
gotoAndStop (7502);
}
Symbol 1535 Button
on (release) {
stopAllSounds();
gotoAndPlay (2007);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> El Regreso De... Julius? <<";
ss_des = "Ganondorf regreso para vengarse, ahora kon nuevo kuerpo y aktitud totalmente maligna.";
}
if (_global.idi == 2) {
ss_title = ">> The Return Of... Julius?";
ss_des = "Ganondorf has returned for revenge, but now with a new body and a totaly evil attitude.";
}
}
Symbol 1536 Button
on (release) {
stopAllSounds();
gotoAndPlay (2317);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> El \"H\u00E9roe\" Anda Krudo!! <<";
ss_des = "Link esta krudo despu\u00E9s de emborracharse kon leche. Podra este wey rekuperar la feria ke le debe Zelda.";
}
if (_global.idi == 2) {
ss_title = ">> The \"Hero\" Is In A Hangover!!";
ss_des = "Link is in a hangover after getting drunk with milk. Can this \"hero\" retrive the money Zelda owes him?";
}
}
Symbol 1537 Button
on (release) {
stopAllSounds();
gotoAndPlay (2553);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Una Nueva Aventura? <<";
ss_des = "El rei manda ma Link a una nueva aventura en buskeda de su hija, Zelda.";
}
if (_global.idi == 2) {
ss_title = ">> A New Adventure? <<";
ss_des = "The king sends Link in a new quest to rescue his daughter, Zelda.";
}
}
Symbol 1538 Button
on (release) {
stopAllSounds();
gotoAndPlay (2721);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> El Poyo De Tela <<";
ss_des = "Link konoce al gorro kon forma de poyo. El poyo m\u00E1s tierno y kaballerozo ke pueda exisitir!";
}
if (_global.idi == 2) {
ss_title = ">> The Tissue Rooster";
ss_des = "Link mets a rooster-shaped hat. The cutest and noble hat that could ever exist!";
}
}
Symbol 1539 Button
on (release) {
stopAllSounds();
gotoAndPlay (2945);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Poker Maligno <<";
ss_des = "Julius espera la llegada de Link en su nuevo Kasino, mientras juega poker kon personajes malignos. Pero hay alguien inesperado!";
}
if (_global.idi == 2) {
ss_title = ">> Evil Poker <<";
ss_des = "Julius waits the arrival of Link in its new Kasino, while he plays poker with evil characters. But there's someone unexpected!";
}
}
Symbol 1540 Button
on (release) {
stopAllSounds();
gotoAndPlay (3108);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> 127 Dias <<";
ss_des = "La aventura en buska de las dos piedras espirituales situadas en alguno de los 387 kalabozos komienza. Lograr\u00E1n konseguirlas?";
}
if (_global.idi == 2) {
ss_title = ">> 127 Days <<";
ss_des = "The quest of searching of the two spiritual stones located in one of the 387 dungeons begins. Will they obtain them??";
}
}
Symbol 1541 Button
on (release) {
stopAllSounds();
gotoAndPlay (3858);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Kasino NO Maligno <<";
ss_des = "Tener un kasino puede generar problemas, komo dejar de ser maligno...";
}
if (_global.idi == 2) {
ss_title = ">> NOT Evil Kasino <<";
ss_des = "Having a casino can generate problems, like it stop being evil...";
}
}
Symbol 1542 Button
on (release) {
stopAllSounds();
gotoAndPlay (3988);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Y Por Fin... <<";
ss_des = "Despues de medio a\u00F1o, Link y el pedazo de tela kon forma de poyo por fin llegan a su destino, pero hay un problema...";
}
if (_global.idi == 2) {
ss_title = ">> And Them... <<";
ss_des = "After half year, Link and the rooster-shaped tissue at least have arrived to their destination, but a problem emerges...";
}
}
Symbol 1543 Button
on (release) {
stopAllSounds();
gotoAndPlay (4366);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Batalla Final! <<";
ss_des = "Por fin, la batalla obligatoria entre Link y Ganondorf, digo Julius. Sin ella no ser\u00EDa un Zelda.";
}
if (_global.idi == 2) {
ss_title = ">> Final Battle <<";
ss_des = "Finally, the obligatory battle between Link and Ganondorf, I mean Julius. Without it it wouldn't be a Zelda.";
}
}
Symbol 1544 Button
on (release) {
stopAllSounds();
gotoAndPlay (4833);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Final Barato <<";
ss_des = "El desenlace de esta barata e inkoherente historia...";
}
if (_global.idi == 2) {
ss_title = ">> Cheap Ending <<";
ss_des = "The ending of this cheap and incoherent story...";
}
}
Symbol 1545 Button
on (release) {
stopAllSounds();
gotoAndPlay (7509);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Kreditos <<";
ss_des = "No hay nada m\u00E1s ke decir...";
}
if (_global.idi == 2) {
ss_title = ">> Kredits <<";
ss_des = "There's nothing more to say...";
}
}
Symbol 1547 Button
on (release) {
stopAllSounds();
gotoAndPlay (6704);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> el Viejo <<";
ss_des = "Ke ha sido de el Viejo?.";
}
if (_global.idi == 2) {
ss_title = ">> el Viejo <<";
ss_des = "Spanish version only.";
}
}
Symbol 1548 Button
on (release) {
stopAllSounds();
gotoAndPlay (6471);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> Detras de Mario <<";
ss_des = "El complot maligno de Mario!";
}
if (_global.idi == 2) {
ss_title = ">> Behind the Mario <<";
ss_des = "Mario's evil plot!";
}
}
Symbol 1549 Button
on (release) {
stopAllSounds();
gotoAndPlay (6152);
}
on (rollOver) {
if (_global.idi == 1) {
ss_title = ">> EXtra 1 <<";
ss_des = "Y luego?";
}
if (_global.idi == 2) {
ss_title = ">> EXtra 1 <<";
ss_des = "And then?";
}
}
Symbol 1565 Button
on (rollOver) {
frame4();
a1._visible = true;
a1.gotoAndPlay(1);
}
on (rollOut) {
a1._visible = false;
a1.stop();
}
on (release) {
_root.attachMovie("blk_fade", "blk_fade", 125);
_root.blk_fade._x = 0;
_root.blk_fade._y = 0;
stopAllSounds();
gotoAndStop (8791);
}
Symbol 1566 Button
on (rollOver) {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Mira las (pokas) esenas extras!!";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "Watch the (few) extra scenes!!";
}
a2._visible = true;
a2.gotoAndPlay(1);
}
on (rollOut) {
a2._visible = false;
a2.stop();
}
on (release) {
gotoAndStop (7503);
}
Symbol 1567 Button
on (rollOver) {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Escucha las rolas del flash!!";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "Play all the songs in the flash!!";
}
a3._visible = true;
a3.gotoAndPlay(1);
}
on (rollOut) {
a3._visible = false;
a3.stop();
}
on (release) {
gotoAndStop (7505);
}
Symbol 1568 Button
on (rollOver) {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Observa todo el \"arte\" ke se no incluy\u00F3!!";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "Watch all the \"artwork\" that for some reasons wasn't used in the movie in the movie!!";
}
a4._visible = true;
a4.gotoAndPlay(1);
}
on (rollOut) {
a4._visible = false;
a4.stop();
}
on (release) {
gotoAndStop (7507);
}
Symbol 1569 Button
on (rollOver) {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Material extra ke nunka esta de m\u00E1s";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "Extra stuff is never too much";
}
a5._visible = true;
a5.gotoAndPlay(1);
}
on (rollOut) {
a5._visible = false;
a5.stop();
}
on (release) {
gotoAndStop (7506);
}
Symbol 1570 Button
on (rollOver) {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Ultimas Palabras";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "Last Words";
}
a6._visible = true;
a6.gotoAndPlay(1);
}
on (rollOut) {
a6._visible = false;
a6.stop();
}
on (release) {
gotoAndStop (7508);
}
Symbol 1571 Button
on (release) {
gotoAndStop (7502);
}
Symbol 1573 MovieClip Frame 15
this.gotoAndPlay(1);
Symbol 1575 Button
on (rollOver) {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Enviale un email al KoNeJo para kejarte o saludarle a su mama!\nkonejo05\n@\ngmail.com";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "Send an email to KoNeJo, to complain about something or just send him some spam!\nkonejo05\n@\ngmail.com";
}
a7._visible = true;
a7.gotoAndPlay(1);
}
on (rollOut) {
a7._visible = false;
a7.stop();
}
Symbol 1576 Button
on (rollOver) {
if (_global.idi == 1) {
mi_back = "<< ATRAS";
unlock = "Visita la KaJa de kosas ke nadie kiere!!\nenkaja.\nfreelinuxhost.\ncom";
}
if (_global.idi == 2) {
mi_back = "<< BACK";
unlock = "Visit the box of stuff nobody wants!!\nenkaja.\nfreelinuxhost.\ncom(espanish)\nenkaja2.\nfreelinuxhost.\ncom/board(english)\n(kaja = box)";
}
a8._visible = true;
a8.gotoAndPlay(1);
}
on (rollOut) {
a8._visible = false;
a8.stop();
}
on (release) {
if (_global.idi == 1) {
getURL ("http://enkaja.freelinuxhost.com/", "_blank");
} else {
getURL ("http://enkaja2.freelinuxhost.com/board", "_blank");
}
}
Symbol 1593 Button
on (release) {
stopAllSounds();
gotoAndPlay (7501);
}
Symbol 1599 Button
on (release) {
stopAllSounds();
khs = new Sound();
khs.attachSound("kh_df_edit");
khs.start();
soundtag(11);
}
Symbol 1600 Button
on (release) {
stopAllSounds();
du = new Sound();
du.attachSound("zelda_cast1");
du.start();
soundtag(10);
}
Symbol 1601 Button
on (release) {
stopAllSounds();
bok = new Sound();
bok.attachSound("boktai_darkwoods_ed");
bok.start();
soundtag(8);
}
Symbol 1602 Button
on (release) {
stopAllSounds();
mm = new Sound();
mm.attachSound("mmbn3");
mm.start();
soundtag(7);
}
Symbol 1603 Button
on (release) {
stopAllSounds();
zf = new Sound();
zf.attachSound("zelda_field");
zf.start();
soundtag(6);
}
Symbol 1604 Button
on (release) {
stopAllSounds();
lh = new Sound();
lh.attachSound("zelda_linkhouse");
lh.start();
soundtag(5);
}
Symbol 1605 Button
on (release) {
stopAllSounds();
hc = new Sound();
hc.attachSound("zelda_castle");
hc.start();
soundtag(4);
}
Symbol 1606 Button
on (release) {
stopAllSounds();
hi = new Sound();
hi.attachSound("zelda_int_flash");
hi.start();
soundtag(2);
}
Symbol 1607 Button
on (release) {
stopAllSounds();
mnu = new Sound();
mnu.attachSound("zelda_menu");
mnu.start();
soundtag(1);
}
Symbol 1612 Button
on (release) {
stopAllSounds();
soundtag();
}
Symbol 1620 Button
on (release) {
q1._visible = true;
q2._visible = false;
q3._visible = false;
q4._visible = false;
txtarea.text = _global.a1;
}
Symbol 1625 Button
on (release) {
q1._visible = false;
q2._visible = true;
q3._visible = false;
q4._visible = false;
txtarea.text = _global.a2;
}
Symbol 1630 Button
on (release) {
q1._visible = false;
q2._visible = false;
q3._visible = true;
q4._visible = false;
txtarea.text = _global.a3;
}
Symbol 1635 Button
on (release) {
q1._visible = false;
q2._visible = false;
q3._visible = false;
q4._visible = true;
txtarea.text = _global.a4;
}
Symbol 1636 Button
on (release) {
gotoAndStop (7504);
}
Symbol 1686 MovieClip Frame 1
this.stop();
Symbol 1695 MovieClip Frame 10
this.gotoAndPlay(1);
Symbol 1697 MovieClip Frame 10
this.gotoAndPlay(1);
Symbol 1710 MovieClip Frame 1
this.stop();
Symbol 1710 MovieClip Frame 6
this.stop();
Symbol 1710 MovieClip Frame 10
this.stop();
Symbol 1729 MovieClip Frame 14
this.stop();
Symbol 1748 MovieClip Frame 19
this.stop();
Symbol 1784 MovieClip [zarea2] Frame 1
walls._visible = false;
Instance of Symbol 701 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 2;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 2;
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 2;
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 2;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 2;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 2;
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 2;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count < 10) {
_global.tdg = "JajajaAjjajaAJJja!!\nA la gaber! No deb\u00ED inhalar esa madre!!";
_global.tdg2 = "HAHhahahahaAHhaha!!\nHolyshit! I shouldn't have inhaled that shit!!";
} else {
_global.tdg2 = "Jajajaja\nHey, wanna play with me??";
_global.tdg_2 = "";
_global.tdg = "Jjajaja\nHey, kieres jugar konmigo?";
_global.tdg_1 = "";
_global.choose = true;
_global.evento = "quiz";
}
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if ((_global.link[0][0] < 10) && (_global.ev_count == 8)) {
_global.tdg = "Kieres pasar, no? Bueno, si kieres pasar tienes ke ganarle a mi cucco en sumo.";
_global.tdg_1 = "Mmm... pero te vez muy d\u00E9bil, regresa kuando estes en nivel 10";
_global.tdg2 = "You want to cross? Well, you'll have to beat my cucco in sumo.";
_global.tdg_2 = "Mmm... but you seem weak, come back when you get to level 10";
_global.texts = true;
_root.attach();
} else if ((_global.link[0][0] >= 10) && (_global.ev_count == 8)) {
_global.tdg = "Kieres pasar, no? Bueno, si kieres pasar tienes ke ganarle a mi cucco en sumo.";
_global.tdg2 = "You want to cross? Well, you'll have to beat my cucco in sumo.";
_global.texts = true;
_global.choose = true;
_global.evento = "llave";
_root.attach();
} else if (_global.ev_count == 9) {
_global.tdg = "Ya puedes pasar.";
_global.tdg_1 = "";
_global.tdg2 = "You can pass now.";
_global.texts = true;
_root.attach();
}
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Nunka digas nunka muchacho! \nO mierda, ya los dije dos veces...";
_global.tdg2 = "Never say never boy! \nOh, fuck, I said it twice...";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Hey, muchacho. No kisieras komprar algo?";
_global.tdg2 = "Hey, kiddo. Wanna buy something?";
_global.texts = true;
_root.attach();
_global.choose = true;
_global.evento = "shop";
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link)) {
_root.field.stop();
_global.past_s = "ranch";
_root.nscene(3);
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (_global.ev_count > 8)) {
_root.bak._x = -444;
_root.bak._y = -356;
_root.link._x = 258;
_root.link._y = 150;
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link)) {
_root.bak._x = -309;
_root.bak._y = -369;
_root.link._x = 248;
_root.link._y = 164;
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link) && (_global.ev_count == 9)) && (logger != true)) {
logger = true;
_global.n = 8;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.movie_play("rool");
}
}
Instance of Symbol 1381 MovieClip in Symbol 1784 MovieClip [zarea2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "All your base are belong to us!";
_global.tdg2 = "All your base are belong to us!";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Bowser? Ve hacia arriba y luego a la derecha.";
_global.tdg2 = "Bowser? Go up, then to the right.";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Hey, muchacho. No kisieras komprar algo?";
_global.tdg2 = "Hey kiddo. Wanna buy something?";
_global.texts = true;
_root.attach();
_global.choose = true;
_global.evento = "shop";
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Lasagna!!";
_global.tdg2 = "Lasagna!!";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
if (_global.ev_count < 10) {
_global.tdg = "Ke onda loko, mhe nombre es Ronaldo.";
_global.tdg2 = "Wassup, dude, mhe name is Ronaldo.";
_global.texts = true;
_root.attach();
} else {
_global.tdg = "Estas seguro de ke kieres ir a \"ya sabes donde\"? Bueno, solo te digo ke ya no podr\u00E1s volver, si o no?";
_global.tdg2 = "Are you sure you wanna go \"you now where\"? Well, you won't go back, yes or not?";
_global.texts = true;
_root.attach();
_global.choose = true;
_global.evento = "guardia";
}
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Ke me miras, pendejo?";
_global.tdg2 = "What ya looking at, bitch?";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
_global.tdg = "Un dia, un sabio dijo:\n\"Fumar drogas te puede matar, mejor vendelas, te har\u00E1s rico.\"";
_global.tdg2 = "One day, a wiseman said:\n\"Consume drugs can kill you, it's better to sell them, you'll get rich.\"";
_global.texts = true;
_root.attach();
}
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link)) {
_root.field.stop();
_global.customp = false;
_global.past_s = "advna";
_root.nscene(3);
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link) && (!_global.paused)) {
if (Key.isDown(90)) {
trace(_global.card_get);
if (_global.ev_count == 5) {
_global.ev_count = _global.ev_count + 1;
if (_global.card_get == 8) {
_global.tdg = "Excelente, ahora, tienes ke pasar un prueba, ke dices?";
_global.tdg2 = "Great, now, lets play!! You win, I let you in!! What you say?";
_global.choose = true;
_global.evento = "b_memo";
_root.attach();
} else {
_global.tdg = "Kieres entrar, no? Bueno, Bowser me enkargo ke nadie entrara, pero si tuviera 16 cartas...";
_global.tdg2 = "Wanna see Bowser? Well I might let you see him if you bring me 16 cards...";
_global.texts = true;
_root.attach();
}
} else if (_global.ev_count == 6) {
if (_global.card_get == 8) {
_global.tdg = "Excelente, ahora, tienes ke pasar un prueba, ke dices?";
_global.tdg2 = "Great, now, lets play!! You win, I let you in!! What you say?";
_global.choose = true;
_global.evento = "b_memo";
_root.attach();
} else {
_global.tdg = "Kieres entrar, no? Bueno, Bowser me enkargo ke nadie entrara, pero si tuviera 16 cartas...";
_global.tdg2 = "Wanna see Bowser? Well I might let you see him if you bring me 16 cards...";
_global.texts = true;
_root.attach();
}
} else if (_global.ev_count == 7) {
_global.tdg = "Bueno, ya puedes pasar...";
_global.tdg2 = "You can see him now...";
_global.texts = true;
_root.attach();
} else if (_global.ev_count >= 8) {
_global.tdg = "Kieres jugar otra vez? Bueno, 100 rupias por juego, si ganas te doy 200 rupias.";
_global.choose = true;
_global.evento = "memo";
_root.attach();
}
}
}
}
Instance of Symbol 173 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.ev_count == 6) || (_global.ev_count == 5)) && (_global.card2 != true)) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.link) && (this._visible)) {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
_global.card2 = true;
_global.card_get = _global.card_get + 1;
this._visible = false;
_global.tdg = ">>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg2 = ">>Pair of cards\nYou have: " + (_global.card_get * 2);
_root.attach();
_global.texts = true;
}
}
Instance of Symbol 173 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_global.ev_count == 6) || (_global.ev_count == 5)) && (_global.card1 != true)) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.link) && (this._visible)) {
_root.msfx = new Sound();
_root.msfx.attachSound("refill item");
_root.msfx.start();
_global.card1 = true;
_global.card_get = _global.card_get + 1;
this._visible = false;
_global.tdg = ">>Par de cartas\nTu tienes: " + (_global.card_get * 2);
_global.tdg2 = ">>Pair of cards\nYou have: " + (_global.card_get * 2);
_root.attach();
_global.texts = true;
}
}
Instance of Symbol 1381 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.link) && (_global.ev_count == 7)) && (logger != true)) {
trace(1);
logger = true;
_global.n = 7;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.movie_play("b");
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 3;
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.hunt) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.hunt = false;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 3;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
}
Symbol 1812 MovieClip Frame 1
this._visible = false;
Instance of Symbol 1381 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((this.hitTest(_root.link) && (_global.gn1)) && (_global.gn2)) && (_global.gn3)) && (_global.gn4)) && (_global.gn5)) && (_global.gn6)) && (logger != true)) {
logger = true;
_global.n = 9;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.movie_play("viejo");
}
}
Instance of Symbol 701 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
if (_global.gn1 == true) {
this.unloadMovie();
}
}
onClipEvent (enterFrame) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 4;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_global.gn1 = true;
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
if (_global.gn2 == true) {
this.unloadMovie();
}
}
onClipEvent (enterFrame) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 4;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_global.gn2 = true;
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
if (_global.gn3 == true) {
this.unloadMovie();
}
}
onClipEvent (enterFrame) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 4;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_global.gn3 = true;
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
if (_global.gn4 == true) {
this.unloadMovie();
}
}
onClipEvent (enterFrame) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 4;
_global.customp = true;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_global.gn4 = true;
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
if (_global.gn5 == true) {
this.unloadMovie();
}
}
onClipEvent (enterFrame) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.fromw = 4;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_global.gn5 = true;
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
Instance of Symbol 701 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
if (_global.gn6 == true) {
this.unloadMovie();
}
}
onClipEvent (enterFrame) {
vel = 1;
var a = {x:this._x, y:this._y};
_parent.walls.localToGlobal(a);
var b = {x:_root.link._x, y:_root.link._y};
this.globalToLocal(b);
b.x = Math.round(b.x);
b.y = Math.round(b.y);
if ((!_global.paused) && (!_global.texts)) {
if ((this.hitTest(_root.link._x, _root.link._y, true) || (this.hitTest(_root.link._x + 10, _root.link._y + 10, true))) || (this.hitTest(_root.link._x - 10, _root.link._y - 10, true))) {
_root.enem_lv();
_global.fromw = 4;
_root.attachMovie("ad_battle", "ad_battle", 125);
_root.ad_battle._x = 0;
_root.ad_battle._y = 0;
_global.customp = true;
_global.pos[0][0] = _root.bak._x;
_global.pos[0][1] = _root.bak._y;
_global.pos[1][0] = _root.link._x;
_global.pos[1][1] = _root.link._y;
_root.init.unloadMovie();
_root.link.unloadMovie();
_root.b_layer.unloadMovie();
_global.gn6 = true;
_root.movie_play("enem");
}
if ((b.x > 0) && (b.y > 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x + 50, a.y + 30, true))) {
this._y = this._y + vel;
this._x = this._x + vel;
}
} else if ((b.x > 0) && (b.y < 0)) {
if ((b.x > (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if ((b.x < (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x == (b.y * -1)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._y = this._y - vel;
this._x = this._x + vel;
}
} else if ((b.x < 0) && (b.y < 0)) {
if ((b.x > b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - vel;
this.gotoAndStop(4);
} else if ((b.x < b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if ((b.x == b.y) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this._y = this._y - vel;
}
} else if ((b.x < 0) && (b.y > 0)) {
if (((b.x * -1) > b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x * -1) < b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.x * -1) == b.y) && (!_parent.walls.hitTest(a.x + 30, a.y + 30, true))) {
this._x = this._x - vel;
this._y = this._y + vel;
}
} else if (((b.x == 0) && (b.y > 0)) && (!_parent.walls.hitTest(a.x - 10, a.y + 30, true))) {
this._y = this._y + vel;
this.gotoAndStop(3);
} else if (((b.y == 0) && (b.x > 0)) && (!_parent.walls.hitTest(a.x + 50, a.y, true))) {
this._x = this._x + vel;
this.gotoAndStop(2);
} else if (((b.y == 0) && (b.x < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._x = this._x - vel;
this.gotoAndStop(1);
} else if (((b.x == 0) && (b.y < 0)) && (!_parent.walls.hitTest(a.x - 10, a.y, true))) {
this._y = this._y - 0;
this.gotoAndStop(4);
}
}
}
Symbol 1838 MovieClip Frame 1
this._visible = false;
Symbol 1866 MovieClip Frame 1
if (_global.bbak == 1) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 1868 MovieClip Frame 1
if (_global.bbak == 2) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 1871 MovieClip Frame 1
if (_global.bbak == 3) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 1874 MovieClip Frame 1
if (_global.bbak == 4) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 1877 MovieClip Frame 1
if (_global.bbak == 5) {
this._visible = true;
} else {
this._visible = false;
}
Symbol 1914 MovieClip Frame 31
this.stop();