Frame 1
function onSubmitterFailure() {
trace("Can not use submitter");
}
function onSubmitterSuccess(target) {
trace("Submitter loaded, intialised and available for use");
}
function submitScore() {
trace("submit " + totalscore);
submitter.submitScore(totalscore);
if (spilnetwerk == "external") {
getURL (submiturl, "_blank");
}
}
function submitAward(info) {
awards[info] = true;
trace("submit award " + info);
submitter.submitGrantAward("award" + info);
}
function goTo() {
getURL (_global.sponsorurl);
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
Branding_More_Games_Sentence_Long = ["Play more puzzle games at:", "Play more puzzle games at:", "Speel meer puzzelspellen op:", "Joue \u00E0 plus de jeux de casse-t\u00EAte sur :", "Spiele mehr Denkspiele auf:", "Juega a m\u00E1s juegos de puzzle en:", "Jogue mais jogos de quebra-cabe\u00E7as em:", "Joga mais jogos de puzzle em:", "Trovi pi\u00F9 giochi di puzzle su:", "Spela fler pusselspel p\u00E5:", "Zagraj w wi\u0119cej gier logicznych na:", "\u0418\u0433\u0440\u0430\u0442\u044C \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438\u0433\u0440\u044B \u043D\u0430", "Mainkan game teka-teki lainnya di:", "Play more puzzle games at:", "Play more puzzle games at:", "Play more puzzle games at:", "Juega a m\u00E1s juegos de puzzle en:", "Juega a m\u00E1s juegos de puzzle en:"];
Branding_More_Games_Sentence_Short = ["More puzzle games at:", "More puzzle games at:", "Meer puzzelspellen op:", "Plus de jeux de casse-t\u00EAte sur :", "Mehr Denkspiele auf:", "M\u00E1s juegos de puzzle en:", "Mais jogos de quebra-cabe\u00E7as em:", "Mais jogos de puzzle em:", "Pi\u00F9 giochi di puzzle su:", "Fler pusselspel p\u00E5:", "Wi\u0119cej gier logicznych na:", "\u0414\u0440\u0443\u0433\u0438\u0435 \u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438\u0433\u0440\u044B \u043D\u0430", "Game teka-teki lainnya di:", "More puzzle games at:", "More puzzle games at:", "More puzzle games at:", "M\u00E1s juegos de puzzle en:", "M\u00E1s juegos de puzzle en:"];
str_but_start_loc = ["Start Game", "Start Game", "Spel starten", "Jouer", "Spiel starten", "Comenzar", "Come\u00E7ar", "Iniciar Jogo", "Avvia partita", "Starta spel", "Start", "\u041D\u0430\u0447\u0430\u0442\u044C \u0438\u0433\u0440\u0443", "Mulai Game", "Start Game", "Start Game", "Start Game", "Comenzar", "Comenzar"];
str_but_achi_loc = ["Achievements", "Achievements", "Prestaties", "Performances", "Errungenschaften", "Logros", "Conquistas", "Conquistas", "Risultati", "Bedrifter", "Trofea", "\u0414\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u044F", "Prestasi", "Achievements", "Achievements", "Achievements", "Logros", "Logros"];
str_but_walk_loc = ["WALKTHROUGH", "WALKTHROUGH", "WALKTHROUGH", "SOLUTION", "KOMPLETTL\u00D6SUNG", "SOLUCI\u00D3N", "PASSO-A-PASSO", "ACOMPANHAMENTO", "SPIEGAZIONE DETTAGLIATA", "GENOMG\u00C5NG", "JAK PRZEJ\u015A\u0106 GR\u0118", "\u041F\u0420\u041E\u0425\u041E\u0416\u0414\u0415\u041D\u0418\u0415", "MEMPELAJARI", "WALKTHROUGH", "WALKTHROUGH", "WALKTHROUGH", "WALKTHROUGH", "WALKTHROUGH"];
str_but_cred_loc = ["Credits", "Credits", "De makers", "Cr\u00E9dits", "Credits", "Cr\u00E9ditos", "Cr\u00E9ditos", "Cr\u00E9ditos", "Riconoscimenti", "Tacklista", "Autorzy", "\u0410\u0432\u0442\u043E\u0440\u044B", "Kredit", "Credits", "Credits", "Credits", "Cr\u00E9ditos", "Cr\u00E9ditos"];
str_but_more_loc = ["More Games", "More Games", "Meer spellen", "Plus de jeux", "Mehr Spiele", "M\u00E1s juegos", "Mais Jogos", "Mais jogos", "Pi\u00F9 giochi", "Fler spel", "Wi\u0119cej gier", "\u0414\u0440\u0443\u0433\u0438\u0435 \u0438\u0433\u0440\u044B", "Game Lainnya", "More Games", "More Games", "More Games", "M\u00E1s juegos", "M\u00E1s juegos"];
str_but_main_loc = ["Main Menu", "Main Menu", "Hoofdmenu", "Menu principal", "Hauptmen\u00FC", "Men\u00FA principal", "Menu Principal", "Menu principal", "Menu principale", "Huvudmeny", "Menu g\u0142\u00F3wne", "\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043C\u0435\u043D\u044E", "Menu Utama", "Main Menu", "Main Menu", "Main Menu", "Men\u00FA principal", "Men\u00FA principal"];
str_but_select_loc = ["Select Level", "Select Level", "Level kiezen", "S\u00E9lectionner un niveau", "Level ausw\u00E4hlen", "Seleccionar nivel", "Escolha a Fase", "Selecionar n\u00EDvel", "Seleziona il livello", "V\u00E4lj niv\u00E5", "Wybierz poziom", "\u0412\u044B\u0431\u043E\u0440 \u0443\u0440\u043E\u0432\u043D\u044F", "Pilih Level", "Select Level", "Select Level", "Select Level", "Seleccionar nivel", "Seleccionar nivel"];
str_but_cont_loc = ["Next Level", "Next Level", "Volgend level", "Niveau suivant", "N\u00E4chster Level", "Siguiente nivel", "Pr\u00F3xima Fase", "Pr\u00F3ximo n\u00EDvel", "Prossimo livello", "N\u00E4sta niv\u00E5", "Nast\u0119pny poziom", "\u0414\u0430\u043B\u044C\u0448\u0435", "Level Berikutnya", "Next Level", "Next Level", "Next Level", "Siguiente nivel", "Siguiente nivel"];
str_but_submit_loc = ["Submit Score", "Submit Score", "Score verzenden", "Envoyer le score", "Punkte eintragen", "Enviar puntuaci\u00F3n", "Enviar Pontua\u00E7\u00E3o", "Submeter pontua\u00E7\u00E3o", "Invia il punteggio", "Skicka po\u00E4ng", "Zapisz wynik", "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u0447\u0435\u0442", "Kirim Skor", "Submit Score", "Submit Score", "Submit Score", "Enviar puntuaci\u00F3n", "Enviar puntuaci\u00F3n"];
str_but_replay_loc = ["Replay", "Replay", "Opnieuw spelen", "Rejouer", "Nochmal spielen", "Repetir", "Jogar de novo", "Jogar de novo", "Riavvia", "Omspel", "Powt\u00F3rz", "\u0421\u043D\u0430\u0447\u0430\u043B\u0430", "Mengulangi Permainan", "Replay", "Replay", "Replay", "Repetir", "Repetir"];
str_but_try_loc = ["Try Again", "Try Again", "Opnieuw proberen", "R\u00E9essayer", "Nochmal probieren", "Otra vez", "Tentar de Novo", "Tentar de novo", "Riprova", "F\u00F6rs\u00F6k igen", "Spr\u00F3buj ponownie", "\u0415\u0449\u0435 \u0440\u0430\u0437", "Coba Lagi", "Try Again", "Try Again", "Try Again", "Otra vez", "Otra vez"];
str_title_comp_loc = ["LEVEL COMPLETED!", "LEVEL COMPLETED!", "LEVEL VOLTOOID!", "NIVEAU R\u00C9USSI !", "LEVEL GESCHAFFT!", "\u00A1NIVEL COMPLETADO!", "FASE CONCLU\u00CDDA!", "N\u00CDVEL CONCLU\u00CDDO!", "LIVELLO COMPLETATO!", "NIV\u00C5 KLARAD!", "POZIOM UKO\u0143CZONY!", "\u0423\u0420\u041E\u0412\u0415\u041D\u042C \u041F\u0420\u041E\u0419\u0414\u0415\u041D!", "LEVEL SELESAI!", "LEVEL COMPLETED!", "LEVEL COMPLETED!", "LEVEL COMPLETED!", "\u00A1NIVEL COMPLETADO!", "\u00A1NIVEL COMPLETADO!"];
str_title_over_loc = ["GAME OVER", "GAME OVER", "GAME OVER", "GAME OVER", "GAME OVER", "FIN DEL JUEGO", "ACABOU", "ACABOU", "GIOCO FINITO", "GAME OVER", "KONIEC GRY", "\u041A\u041E\u041D\u0415\u0426 \u0418\u0413\u0420\u042B", "GAME TAMAT", "GAME OVER", "GAME OVER", "GAME OVER", "FIN DEL JUEGO", "FIN DEL JUEGO"];
str_title_load_loc = ["Loading\u2026", "Loading\u2026", "Laden...", "Chargement en cours\u2026", "Laden...", "Cargando...", "Carregando...", "A carregar\u2026", "Caricamento\u2026", "Laddar ...", "\u0141adowanie...", "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...", "Memuatkan\u2026", "Loading\u2026", "Loading\u2026", "Loading\u2026", "Cargando...", "Cargando..."];
str_level_new_loc = ["NEW", "NEW", "NIEUW", "NOUVEAU", "NEU", "NUEVO", "NOVO", "NOVO", "NUOVO", "NY", "NOWY", "\u041D\u041E\u0412\u042B\u0419", "BARU", "NEW", "NEW", "NEW", "NUEVO", "NUEVO"];
str_level_easy_loc = ["VILLAGE (EASY)", "VILLAGE (EASY)", "DORP (MAKKELIJK)", "VILLAGE (FACILE)", "DORF (EINFACH)", "PUEBLO (F\u00C1CIL)", "VILA (F\u00C1CIL)", "ALDEIA (F\u00C1CIL)", "VILLAGGIO (FACILE)", "BY (L\u00C4TT)", "WIOSKA (\u0141ATWY)", "\u0414\u0415\u0420\u0415\u0412\u041D\u042F (\u041B\u0415\u0413\u041A\u0418\u0419)", "DESA (MUDAH)", "VILLAGE (EASY)", "VILLAGE (EASY)", "VILLAGE (EASY)", "PUEBLO (F\u00C1CIL)", "PUEBLO (F\u00C1CIL)"];
str_level_medium_loc = ["TOWN (NORMAL)", "TOWN (NORMAL)", "STAD (NORMAAL)", "VILLE (NORMAL)", "STADT (NORMAL)", "CIUDAD (NORMAL)", "CIDADE (NORMAL)", "VILA (NORMAL)", "CITT\u00C0 (NORMALE)", "STAD (NORMAL)", "MIASTECZKO (NORMALNY)", "\u0413\u041E\u0420\u041E\u0414 (\u0421\u0420\u0415\u0414\u041D\u0418\u0419)", "KOTA (NORMAL)", "TOWN (NORMAL)", "TOWN (NORMAL)", "TOWN (NORMAL)", "CIUDAD (NORMAL)", "CIUDAD (NORMAL)"];
str_level_hard_loc = ["BIG CITY (HARD)", "CITY (HARD)", "HOOFDSTAD (MOEILIJK)", "GRANDE VILLE (DIFFICILE)", "HAUPTSTADT (SCHWER)", "GRAN CIUDAD (DIF\u00CDCIL)", "METR\u00D3POLE (DIF\u00CDCIL)", "CIDADE (PEQUENA)", "METROPOLI (DIFFICILE)", "STORSTAD (SV\u00C5RT)", "WIELKIE MIASTO (TRUDNY)", "\u0421\u0422\u041E\u041B\u0418\u0426\u0410 (\u0422\u0420\u0423\u0414\u041D\u042B\u0419)", "KOTA BESAR (SUKAR)", "BIG CITY (HARD)", "BIG CITY (HARD)", "BIG CITY (HARD)", "GRAN CIUDAD (DIF\u00CDCIL)", "GRAN CIUDAD (DIF\u00CDCIL)"];
str_level_rec_loc = ["RECORD:", "BEST SCORE:", "RECORD:", "RECORD :", "REKORD:", "R\u00C9CORD:", "RECORDE:", "MELHOR PONTUA\u00C7\u00C3O:", "RECORD:", "REKORD:", "REKORD:", "\u0420\u0415\u041A\u041E\u0420\u0414:", "Rekor:", "RECORD:", "RECORD:", "RECORD:", "R\u00C9CORD:", "R\u00C9CORD:"];
str_stat_level_loc = ["LEVELS COMPLETED:", "LEVELS COMPLETED:", "LEVELS VOLTOOID:", "NIVEAUX R\u00C9USSIS :", "ABGESCHLOSSENE LEVEL:", "NIVELES COMPLETADOS:", "FASES CONCLU\u00CDDAS:", "N\u00CDVEIS CONCLU\u00CDDOS:", "LIVELLI COMPLETATI:", "NIV\u00C5ER KLARADE:", "UKO\u0143CZONE POZIOMY:", "\u041F\u0420\u041E\u0419\u0414\u0415\u041D\u041E \u0423\u0420\u041E\u0412\u041D\u0415\u0419:", "LEVEL SELESAI:", "LEVELS COMPLETED:", "LEVELS COMPLETED:", "LEVELS COMPLETED:", "NIVELES COMPLETADOS:", "NIVELES COMPLETADOS:"];
str_stat_star_loc = ["STARS COLLECTED:", "STARS COLLECTED:", "STERREN VERZAMELD:", "\u00C9TOILES COLLECT\u00C9ES :", "GESAMMELTE STERNE:", "ESTRELLAS RECOGIDAS:", "ESTRELAS COLETADAS:", "ESTRELAS RECOLHIDAS:", "STELLE PRESE:", "STJ\u00C4RNOR SAMLADE:", "ZEBRANE GWIAZDKI:", "\u0421\u041E\u0411\u0420\u0410\u041D\u041E \u0417\u0412\u0415\u0417\u0414:", "BINTANG DIKUMPULKAN:", "STARS COLLECTED:", "STARS COLLECTED:", "STARS COLLECTED:", "ESTRELLAS RECOGIDAS:", "ESTRELLAS RECOGIDAS:"];
str_stat_achi_loc = ["ACHIEVEMENTS UNLOCKED:", "ACHIEVEMENTS UNLOCKED:", "PRESTATIES VRIJGESPEELD:", "PERFORMANCES D\u00C9VERROUILL\u00C9ES :", "FREIGESCHALTETE ERRUNGENSCHAFTEN:", "LOGROS DESBLOQUEADOS:", "CONQUISTAS DESTRAVADAS:", "CONQUISTAS DESBLOQUEADAS:", "RISULTATI SBLOCCATI:", "BEDRIFTER UPPL\u00C5STA:", "ODBLOKOWANE TROFEA:", "\u0414\u041E\u0421\u0422\u0418\u0416\u0415\u041D\u0418\u0419:", "PRESTASI DIBUKA:", "ACHIEVEMENTS UNLOCKED:", "ACHIEVEMENTS UNLOCKED:", "ACHIEVEMENTS UNLOCKED:", "LOGROS DESBLOQUEADOS:", "LOGROS DESBLOQUEADOS:"];
str_stat_score_loc = ["LEVEL SCORE:", "LEVEL SCORE:", "LEVELSCORE:", "SCORE DU NIVEAU :", "LEVELPUNKTE:", "PUNTUACI\u00D3N DE NIVEL:", "PONTUA\u00C7\u00C3O DA FASE:", "PONTUA\u00C7\u00C3O DO N\u00CDVEL:", "PUNTEGGIO DI LIVELLO:", "NIV\u00C5PO\u00C4NG:", "WYNIK ZA POZIOM:", "\u0421\u0427\u0415\u0422 \u0423\u0420\u041E\u0412\u041D\u042F:", "SKOR LEVEL:", "LEVEL SCORE:", "LEVEL SCORE:", "LEVEL SCORE:", "PUNTUACI\u00D3N DE NIVEL:", "PUNTUACI\u00D3N DE NIVEL:"];
str_stat_total_loc = ["TOTAL SCORE:", "TOTAL SCORE:", "TOTAALSCORE:", "SCORE TOTAL :", "GESAMTPUNKTZAHL:", "PUNTUACI\u00D3N TOTAL:", "PONTUA\u00C7\u00C3O TOTAL:", "PONTUA\u00C7\u00C3O TOTAL:", "PUNTEGGIO TOTALE:", "TOTALPO\u00C4NG:", "\u0141\u0104CZNY WYNIK:", "\u041E\u0411\u0429\u0418\u0419 \u0421\u0427\u0415\u0422:", "SKOR TOTAL:", "TOTAL SCORE:", "TOTAL SCORE:", "TOTAL SCORE:", "PUNTUACI\u00D3N TOTAL:", "PUNTUACI\u00D3N TOTAL:"];
str_dev_1_loc = ["GAME DESIGN:", "GAME DESIGN:", "SPELONTWERP:", "DESIGN DU JEU :", "SPIELDESIGN:", "DISE\u00D1O DEL JUEGO:", "PROJETO:", "DESIGN DO JOGO:", "DESIGN DEL GIOCO:", "SPELDESIGN:", "PROJEKT GRY:", "\u0414\u0418\u0417\u0410\u0419\u041D\u0415\u0420:", "DESAIN GAME:", "GAME DESIGN:", "GAME DESIGN:", "GAME DESIGN:", "DISE\u00D1O DEL JUEGO:", "DISE\u00D1O DEL JUEGO:"];
str_dev_2_loc = ["ADDITIONAL LEVEL DESIGN:", "ADDITIONAL LEVEL DESIGN:", "EXTRA LEVELONTWERP:", "DESIGN DES NIVEAUX SUPPL\u00C9MENTAIRES :", "ZUS\u00C4TZLICHES LEVELDESIGN:", "DISE\u00D1O DE NIVELES ADICIONAL:", "DESIGN ADICIONAL DE FASE:", "DESIGN ADICIONAL DO N\u00CDVEL:", "DESIGN DEL LIVELLO AGGIUNTIVO:", "\u00D6VRIG NIV\u00C5DESIGN:", "PROJEKTY DODATKOWYCH POZIOM\u00D3W:", "\u0414\u0418\u0417\u0410\u0419\u041D \u0414\u041E\u041F\u041E\u041B\u041D\u0418\u0422\u0415\u041B\u042C\u041D\u042B\u0425 \u0423\u0420\u041E\u0412\u041D\u0415\u0419:", "DESAIN LEVEL TAMBAHAN:", "ADDITIONAL LEVEL DESIGN:", "ADDITIONAL LEVEL DESIGN:", "ADDITIONAL LEVEL DESIGN:", "DISE\u00D1O DE NIVELES ADICIONAL:", "DISE\u00D1O DE NIVELES ADICIONAL:"];
str_achi_new_loc = ["NEW ACHIEVEMENT!", "NEW ACHIEVEMENT!", "NIEUWE PRESTATIE!", "NOUVELLE PERFORMANCE !", "NEUE ERRUNGENSCHAFT!", "\u00A1NUEVO LOGRO!", "NOVA CONQUISTA!", "NOVA CONQUISTA!", "NUOVO RISULTATO!", "NY BEDRIFT!", "NOWE TROFEUM!", "\u041D\u041E\u0412\u041E\u0415 \u0414\u041E\u0421\u0422\u0418\u0416\u0415\u041D\u0418\u0415!", "PRESTASI BARU!", "NEW ACHIEVEMENT!", "NEW ACHIEVEMENT!", "NEW ACHIEVEMENT!", "\u00A1NUEVO LOGRO!", "\u00A1NUEVO LOGRO!"];
str_achi_0_loc = ["Colors Changed: ", "Colours Changed: ", "Kleuren veranderd:", "Couleurs chang\u00E9es :", "Ge\u00E4nderte Farben:", "Colores cambiados:", "Cores Mudadas: ", "As cores mudaram:", "Colori cambiati:", "F\u00E4rger \u00E4ndrade:", "Zmienione kolory:", "\u0421\u043C\u0435\u043D \u0446\u0432\u0435\u0442\u0430:", "Warna Diubah:", "Colors Changed: ", "Colors Changed: ", "Colors Changed: ", "Colores cambiados:", "Colores cambiados:"];
str_achi_1_loc = ["Walls Painted:", "Walls Painted:", "Muren geverfd:", "Murs peints :", "Bemalte W\u00E4nde:", "Paredes pintadas:", "Paredes Pintadas:", "Paredes pintadas:", "Pareti dipinte:", "V\u00E4ggar m\u00E5lade:", "Pomalowane \u015Bciany:", "\u041F\u043E\u043A\u0440\u0430\u0448\u0435\u043D\u043E \u0441\u0442\u0435\u043D:", "Dinding dicat:", "Walls Painted:", "Walls Painted:", "Walls Painted:", "Paredes pintadas:", "Paredes pintadas:"];
str_achi_2_loc = ["Jumps:", "Jumps:", "Sprongen:", "Sauts :", "Spr\u00FCnge:", "Saltos:", "Pulos:", "Saltos:", "Salti:", "Hopp:", "Skoki:", "\u041F\u0440\u044B\u0436\u043A\u043E\u0432:", "Lompat:", "Jumps:", "Jumps:", "Jumps:", "Saltos:", "Saltos:"];
str_achi_3_loc = ["Points:", "Points:", "Punten:", "Points :", "Punkte:", "Puntos:", "Pontos:", "Pontos:", "Punti:", "Po\u00E4ng:", "Punkty:", "\u041E\u0447\u043A\u043E\u0432:", "Poin:", "Points:", "Points:", "Points:", "Puntos:", "Puntos:"];
str_achi_4_loc = ["Levels Completed:", "Levels Completed:", "Levels voltooid:", "Niveaux r\u00E9ussis :", "Abgeschlossene Level:", "Niveles completados:", "Fases Conclu\u00EDdas:", "N\u00EDveis conclu\u00EDdos:", "Livelli completati:", "Niv\u00E5er klarade:", "Uko\u0144czone poziomy:", "\u041F\u0440\u043E\u0439\u0434\u0435\u043D\u043E \u0443\u0440\u043E\u0432\u043D\u0435\u0439:", "Level Selesai:", "Levels Completed:", "Levels Completed:", "Levels Completed:", "Niveles completados:", "Niveles completados:"];
str_achi_5_loc = ["Stars Collected:", "Stars Collected:", "Sterren verzameld:", "\u00C9toiles collect\u00E9es :", "Gesammelte Sterne:", "Estrellas recogidas:", "Estrelas Coletada:", "Estrelas recolhidas:", "Stelle prese:", "Stj\u00E4rnor samlade:", "Zebrane gwiazdki:", "\u0421\u043E\u0431\u0440\u0430\u043D\u043E \u0437\u0432\u0435\u0437\u0434:", "Bintang dikumpulkan:", "Stars Collected:", "Stars Collected:", "Stars Collected:", "Estrellas recogidas:", "Estrellas recogidas:"];
str_inter_quit_loc = ["QUIT", "QUIT", "STOPPEN", "QUITTER", "BEENDEN", "SALIR", "SAIR", "SAIR", "ESCI", "AVSLUTA", "ZAKO\u0143CZ", "\u0412\u042B\u0425\u041E\u0414", "KELUAR", "QUIT", "QUIT", "QUIT", "SALIR", "SALIR"];
str_inter_music_loc = ["MUSIC", "MUSIC", "MUZIEK", "MUSIQUE", "MUSIK", "M\u00DASICA", "SONIDO", "M\u00DASICA", "MUSICA", "MUSIK", "MUZYKA", "\u041C\u0423\u0417\u042B\u041A\u0410", "MUSIK", "MUSIC", "MUSIC", "MUSIC", "M\u00DASICA", "M\u00DASICA"];
str_inter_sound_loc = ["SOUND FX", "SOUND FX", "GELUID", "EFFETS SONORES ", "SOUNDEFFEKTE", "EFECTOS", "EFEITOS SONOROS", "EFEITOS SONOROS", "EFFETTI SONORI", "LJUDEFFEKT", "D\u0179WI\u0118KI FX", "\u0417\u0412\u0423\u041A", "EFEK SUARA", "SOUND FX", "SOUND FX", "SOUND FX", "EFECTOS", "EFECTOS"];
str_inter_level_loc = ["LEVEL", "LEVEL", "LEVEL", "NIVEAU", "LEVEL", "NIVEL", "FASE", "N\u00CDVEL", "LIVELLO", "NIV\u00C5", "POZIOM", "\u0423\u0420\u041E\u0412\u0415\u041D\u042C", "LEVEL", "LEVEL", "LEVEL", "LEVEL", "NIVEL", "NIVEL"];
str_inter_score_loc = ["SCORE:", "SCORE:", "SCORE:", "SCORE :", "PUNKTE:", "PUNTUACI\u00D3N:", "PONTUA\u00C7\u00C3O:", "PONTUA\u00C7\u00C3O:", "PUNTEGGIO:", "Po\u00E4ng:", "WYNIK:", "\u0421\u0427\u0415\u0422:", "SKOR:", "SCORE:", "SCORE:", "SCORE:", "PUNTUACI\u00D3N:", "PUNTUACI\u00D3N:"];
str_tutor_1a_loc = ["Use the Mouse or Arrows to move.", "Use the Mouse or Arrows to move.", "Gebruik de muis of de pijltjestoetsen om te bewegen.", "Utilise la souris ou les fl\u00E8ches directionnelles pour te d\u00E9placer.", "Bewege dich mit der Maus oder den Pfeiltasten.", "Usa el rat\u00F3n o las flechas para moverte.", "Use o mouse ou as teclas de seta para se mover.", "Usa o rato ou as setas para te moveres.", "Usa il mouse o i tasti freccia per muoverti.", "Flytta med mus eller pilar.", "U\u017Cyj myszki lub strza\u0142ek, aby si\u0119 porusza\u0107.", "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439 \u043C\u044B\u0448\u044C \u0438\u043B\u0438 \u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0439.", "Gunakan Mouse atau Panah untuk bergerak:", "Use the Mouse or Arrows to move.", "Use the Mouse or Arrows to move.", "Use the Mouse or Arrows to move.", "Usa el rat\u00F3n o las flechas para moverte.", "Usa el rat\u00F3n o las flechas para moverte."];
str_tutor_1b_loc = ["Goal: Paint the walls and get to the exit!", "Goal: Paint the walls and get to the exit!", "Doel: schilder de muren en ga naar de uitgang!", "But : peins les murs et atteins la sortie !", "Ziel: Male die W\u00E4nde an und erreiche den Ausgang!", "Objetivo: \u00A1pinta las paredes y llega a la salida!", "Objetivo: Pinte as paredes e chegue na sa\u00EDda!", "Objetivo: Pinta as paredes e chega \u00E0 sa\u00EDda!", "Obiettivo: Dipingi le pareti e arriva all'uscita!", "M\u00E5l: M\u00E5la v\u00E4ggarna och g\u00E5 till utg\u00E5ngen!", "Cel: Pomaluj wszystkie \u015Bciany i dotrzyj do wyj\u015Bcia!", "\u0426\u0435\u043B\u044C: \u043F\u043E\u043A\u0440\u0430\u0441\u044C \u0441\u0442\u0435\u043D\u044B \u0438 \u0434\u043E\u0431\u0435\u0440\u0438\u0441\u044C \u0434\u043E \u0432\u044B\u0445\u043E\u0434\u0430!", "Sasaran: Cat temboknya lalu bergegas ke pintu keluar!", "Goal: Paint the walls and get to the exit!", "Goal: Paint the walls and get to the exit!", "Goal: Paint the walls and get to the exit!", "Objetivo: \u00A1pinta las paredes y llega a la salida!", "Objetivo: \u00A1pinta las paredes y llega a la salida!"];
str_tutor_1c_loc = ["1. Grab the paint.", "1. Grab the paint.", "1. Pak de verf.", "1. Prends la peinture.", "1. Hol dir die Farbe.", "1. Coge la pintura.", "1. Pegue a tinta.", "1. Agarra a tinta.", "1. Prendi la vernice.", "1. Ta f\u00E4rgen.", "1. We\u017A farb\u0119.", "1. \u0412\u043E\u0437\u044C\u043C\u0438 \u043A\u0440\u0430\u0441\u043A\u0443.", "1. Ambil catnya.", "1. Grab the paint.", "1. Grab the paint.", "1. Grab the paint.", "1. Coge la pintura.", "1. Coge la pintura."];
str_tutor_1d_loc = ["2. Paint all marked walls.", "2. Paint all marked walls.", "2. Schilder alle gemarkeerde muren.", "2. Peins tous les murs marqu\u00E9s.", "2. Bemale alle markierten W\u00E4nde.", "2. Pinta todas las paredes marcadas.", "2. Pinte todas as paredes marcadas.", "2. Pinta todas as paredes marcadas.", "2. Dipingi tutte le pareti indicate.", "2. M\u00E5la alla markerade v\u00E4ggar.", "2. Pomaluj wszystkie zaznaczone \u015Bciany.", "2. \u041F\u043E\u043A\u0440\u0430\u0441\u044C \u0432\u0441\u0435 \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0435\u043D\u044B.", "2. Cat semua tembok yang bertanda.", "2. Paint all marked walls.", "2. Paint all marked walls.", "2. Paint all marked walls.", "2. Pinta todas las paredes marcadas.", "2. Pinta todas las paredes marcadas."];
str_tutor_1e_loc = ["3. Collect stars.", "3. Collect stars.", "3. Verzamel sterren.", "3. Collecte les \u00E9toiles.", "3. Sammle Sterne.", "3. Recoge estrellas.", "3. Colete estrelas.", "3. Recolhe estrelas.", "3. Prendi le stelle.", "3. Samla stj\u00E4rnor.", "3. Zbierz gwiazdki.", "3. \u0421\u043E\u0431\u0438\u0440\u0430\u0439 \u0437\u0432\u0435\u0437\u0434\u044B.", "3. Kumpulkan bintang.", "3. Collect stars.", "3. Collect stars.", "3. Collect stars.", "3. Recoge estrellas.", "3. Recoge estrellas."];
str_tutor_1f_loc = ["4. Go to the exit!", "4. Go to the exit!", "4. Ga naar de uitgang!", "4. Atteins la sortie !", "4. Erreiche den Ausgang!", "4. \u00A1Ve a la salida!", "4. V\u00E1 para a sa\u00EDda!", "4. Vai para a sa\u00EDda!", "4. Vai all'uscita!", "4. G\u00E5 till utg\u00E5ngen!", "4. Id\u017A do wyj\u015Bcia.", "4. \u0414\u043E\u0431\u0435\u0440\u0438\u0441\u044C \u0434\u043E \u0432\u044B\u0445\u043E\u0434\u0430!", "4. Pergi ke pintu keluar!", "4. Go to the exit!", "4. Go to the exit!", "4. Go to the exit!", "4. \u00A1Ve a la salida!", "4. \u00A1Ve a la salida!"];
str_tutor_2a_loc = ["Springboards affect your jumps.", "Springboards affect your jumps.", "Springplanken veranderen je sprongen.", "Les tremplins affectent tes sauts.", "Sprungbretter \u00E4ndern deine Richtung.", "Los trampolines afectan a tus saltos.", "Trampolins afetam seus pulos.", "Os trampolins afetam os teus saltos.", "Il trampolino ha effetto sui tuoi salti.", "Spr\u00E5ngbr\u00E4dor p\u00E5verkar dina hopp.", "Trampoliny maj\u0105 wp\u0142yw na twoje skoki.", "\u0422\u0440\u0430\u043C\u043F\u043B\u0438\u043D\u044B \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0442 \u043F\u0440\u044B\u0433\u0430\u0442\u044C!", "Papan pelompat mempengaruhi lompatanmu.", "Springboards affect your jumps.", "Springboards affect your jumps.", "Springboards affect your jumps.", "Los trampolines afectan a tus saltos.", "Los trampolines afectan a tus saltos."];
str_tutor_2b_loc = ["Use the ladder to collect stars.", "Use the ladder to collect stars.", "Gebruik de ladder om sterren te verzamelen.", "Utilise l'\u00E9chelle pour collecter les \u00E9toiles.", "Nutze die Leitern zum Sterne sammeln.", "Usa la escalera para recoger estrellas.", "Use a escada para coletar estrelas.", "Usa a escada para recolher estrelas.", "Usa la scala per prendere le stelle.", "Anv\u00E4nd stegen f\u00F6r att samla stj\u00E4rnor.", "U\u017Cyj drabiny, aby zebra\u0107 gwiazdki.", "\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439 \u043B\u0435\u0441\u0442\u043D\u0438\u0446\u0443 \u0434\u043B\u044F \u0441\u0431\u043E\u0440\u0430 \u0437\u0432\u0435\u0437\u0434.", "Gunakan tangga untuk mengumpulkan bintang.", "Use the ladder to collect stars.", "Use the ladder to collect stars.", "Use the ladder to collect stars.", "Usa la escalera para recoger estrellas.", "Usa la escalera para recoger estrellas."];
str_tutor_4a_loc = ["Watch out! You can fall through windows!", "Careful! You can fall through windows!", "Pas op voor ramen: daar val je zo doorheen!", "Fais attention ! Tu peux tomber \u00E0 travers les fen\u00EAtres !", "Pass auf! Du kannst aus dem Fenster fallen!", "\u00A1Cuidado! \u00A1Te puedes caer por las ventanas!", "Cuidado! Voc\u00EA pode cair das janelas!", "Cuidado! Pode cair pelas janelas!", "Stai attento! Potresti precipitare dalle finestre!", "Se upp! Du kan falla genom f\u00F6nster!", "Uwa\u017Caj! Mo\u017Cesz wypa\u015B\u0107 przez okna!", "\u041E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u043E, \u0438\u0437 \u043E\u043A\u043D\u0430 \u043C\u043E\u0436\u043D\u043E \u0432\u044B\u043F\u0430\u0441\u0442\u044C!", "Awas! Kamu bisa jatuh dari jendela!", "Watch out! You can fall through windows!", "Watch out! You can fall through windows!", "Watch out! You can fall through windows!", "\u00A1Cuidado! \u00A1Te puedes caer por las ventanas!", "\u00A1Cuidado! \u00A1Te puedes caer por las ventanas!"];
str_tutor_4b_loc = ["Window", "Window", "Raam", "Fen\u00EAtre", "Fenster", "Ventana", "Janela", "Janela", "Finestra", "F\u00F6nster", "Okno", "\u041E\u043A\u043D\u043E", "Jendela", "Window", "Window", "Window", "Ventana", "Ventana"];
getLangText = function (info) {
switch (info) {
case 1 :
type = 0;
break;
case 3 :
type = 2;
break;
case 4 :
type = 3;
break;
case 5 :
type = 4;
break;
case 6 :
type = 10;
break;
case 7 :
type = 9;
break;
case 8 :
type = 8;
break;
case 9 :
type = 5;
break;
case 10 :
type = 7;
break;
case 11 :
type = 6;
break;
case 12 :
type = 11;
break;
case 13 :
type = 12;
break;
case 17 :
type = 14;
}
str_title_comp = str_title_comp_loc[type];
str_title_over = str_title_over_loc[type];
str_title_load = str_title_load_loc[type];
str_but_start = str_but_start_loc[type];
str_but_achi = str_but_achi_loc[type];
str_but_walk = str_but_walk_loc[type];
str_but_cred = str_but_cred_loc[type];
str_but_more = str_but_more_loc[type];
str_but_main = str_but_main_loc[type];
str_but_select = str_but_select_loc[type];
str_but_cont = str_but_cont_loc[type];
str_but_submit = str_but_submit_loc[type];
str_but_replay = str_but_replay_loc[type];
str_but_try = str_but_try_loc[type];
str_level_new = str_level_new_loc[type];
str_level_easy = str_level_easy_loc[type];
str_level_medium = str_level_medium_loc[type];
str_level_hard = str_level_hard_loc[type];
str_level_rec = str_level_rec_loc[type];
str_stat_level = str_stat_level_loc[type];
str_stat_star = str_stat_star_loc[type];
str_stat_achi = str_stat_achi_loc[type];
str_stat_score = str_stat_score_loc[type];
str_stat_total = str_stat_total_loc[type];
str_dev_1 = str_dev_1_loc[type];
str_dev_2 = str_dev_2_loc[type];
str_achi_new = str_achi_new_loc[type];
str_achi_0 = str_achi_0_loc[type];
str_achi_1 = str_achi_1_loc[type];
str_achi_2 = str_achi_2_loc[type];
str_achi_3 = str_achi_3_loc[type];
str_achi_4 = str_achi_4_loc[type];
str_achi_5 = str_achi_5_loc[type];
str_inter_quit = str_inter_quit_loc[type];
str_inter_music = str_inter_music_loc[type];
str_inter_sound = str_inter_sound_loc[type];
str_inter_level = str_inter_level_loc[type];
str_inter_score = str_inter_score_loc[type];
str_tutor_1a = str_tutor_1a_loc[type];
str_tutor_1b = str_tutor_1b_loc[type];
str_tutor_1c = str_tutor_1c_loc[type];
str_tutor_1d = str_tutor_1d_loc[type];
str_tutor_1e = str_tutor_1e_loc[type];
str_tutor_1f = str_tutor_1f_loc[type];
str_tutor_2a = str_tutor_2a_loc[type];
str_tutor_2b = str_tutor_2b_loc[type];
str_tutor_4a = str_tutor_4a_loc[type];
str_tutor_4b = str_tutor_4b_loc[type];
str_tutor_4c = str_tutor_4b_loc[type];
str_tutor_4d = str_tutor_4b_loc[type];
str_tutor_4e = str_tutor_4b_loc[type];
};
_global.tutorText = function (info) {
tutor["txt_" + info].text = _root["str_tutor_" + info];
tutor["bor_" + info]._width = tutor["txt_" + info].textWidth + 10;
tutor["bor_" + info]._height = tutor["txt_" + info].textHeight;
};
var submitter = new SubmitterProxy();
submitter = attachMovie("submitterProxy", submitter, getNextHighestDepth());
submitter.addEventListener("LoadingFailed", mx.utils.Delegate.create(this, onSubmitterFailure));
submitter.addEventListener("SubmitterLoadedSuccesfull", mx.utils.Delegate.create(this, onSubmitterSuccess));
submitter.setLoader(_root, "Ninja-Painter", "Ninja-Painter.html", 0, "normal", "", 0, 0, 1, false, 1);
gamename = "ninja_painter";
domain_parts = _url.split("://");
real_domain = domain_parts[1].split("/");
hostingdomain = real_domain[0];
if (hostingdomain == "") {
hostingdomain = "unknown";
}
savedomain1 = "gamedev.dev.spilgames.com";
savedomain2 = "www8.agame.com";
savedomain3 = "swf.xiaoyouxi.cn";
savedomain4 = "files.game.com.cn";
if ((((hostingdomain == savedomain1) || (hostingdomain == savedomain2)) || (hostingdomain == savedomain3)) || (hostingdomain == savedomain4)) {
spilnetwerk = "internal";
} else {
spilnetwerk = "external";
}
_root.localization_url1 = "http://www.agame.com/";
_root.localization_language_nr = 1;
_root.localization_branding_nr = 1;
_root.localization_portal = "teens";
if (spilnetwerk == "external") {
_global.sponsorurl = ((((((_root.localization_url1 + "?utm_medium=brandedgames_") + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain) + "&utm_content=more_games";
_global.walkurl = ((((((_root.localization_url1 + "ninja-painter-walkthrough.html?utm_medium=brandedgames_") + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain) + "&utm_content=walkthrough";
_global.submiturl = ((((((_root.localization_url1 + "?utm_medium=brandedgames_") + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain) + "&utm_content=submit_score";
_global.addtoyoursiteurl = ((((("http://www.gameportal.net/?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain) + "&utm_content=add_to_your_site";
_global.game1url = ((((("http://www.agame.com/game/big-evil-robots.html?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain) + "&utm_content=big_evil_robots_link";
_global.game2url = ((((("http://www.agame.com/game/shot-shot-pirate.html?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain) + "&utm_content=shot_shot_pirate_link";
} else {
_global.sponsorurl = _root.localization_url1;
_global.walkurl = _root.localization_url1 + "ninja-painter-walkthrough.html";
_global.submiturl = _root.localization_url1;
_global.addtoyoursiteurl = "http://www.gameportal.net/";
_global.game1url = "http://www.agame.com/game/big-evil-robots.html";
_global.game2url = "http://www.agame.com/game/shot-shot-pirate.html";
}
getLangText(_root.localization_language_nr);
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem("Play More Games", goTo));
this.menu = newMenu;
percentDone = 0;
txt_load.text = _root.str_title_load;
onEnterFrame = function () {
totalBytes = Math.round(_root.getBytesTotal() / 1024);
loadedBytes = Math.round(_root.getBytesLoaded() / 1024);
if (percentDone < Math.round((loadedBytes / totalBytes) * 100)) {
percentDone++;
preloaderImg._x = preloaderImg._x + 7;
loadingtxt = percentDone + "%";
preloaderBar._xscale = percentDone;
}
if (percentDone >= 100) {
_root.gotoAndStop(2);
}
};
__com_mochibot__("24058f3f", this, 10301, true);
stop();
Frame 2
gotoAndStop (3);
Frame 3
gotoAndStop (4);
Frame 4
onEnterFrame = null;
lvlmap = new Array();
lvlmap[0] = "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111";
lvlmap[1] = "111111112121212121212121211111111111111111214141412141414121111111111111111121212121212121212111111111111111112121345151513321211111111111111121215151510151515121111111111111112134912121212121513321111111111111215191214141412181512111111111111121319121212121215132211111111111112121517171717171512111111111111111112121315151513221211111111111111111212121212121212121111111111111111121414141214141412111111111";
lvlmap[2] = "111111515132212121212131515111111111111151322121414141212131511111111111113221212121212121212131111111111111212121212121212121212111111111111121727272727272727201211111111111112172414141914141416121111111111111217241414191414141612111111111111121724141419141414161211111111111112131414141824141416121111111515132212121212121212121212131515151322121212121212121212121212131513221212121212121212121212121212131";
lvlmap[3] = "112121212121212121212121212121211111212121212121212121212121212121111121347171717171217171717171332111114271412121212121212121214171421111213171717171716171717171713221111121212121212121912121212121212111112101415181514161415183514191211111212121212121219121212121212121111121347373737373617373737373332111114273412121212121212121214173421111213173737373732173737373733221111121212121212121212121212121212111";
lvlmap[4] = "111111212121212121212121212111111111111133212121212121212121341111111111115121615151845151612151111111111111514261513321345161425111111111111151216151747474516121511111111111115121617474747474612151111111111111512161747491747461215111111111111151216174747474746121511111111111115121615174747451612151111111111111514261913221319161425111111111111151216151510151516121511111111111113221212121212121212131111111";
lvlmap[5] = "111111111121212121212121111111111111111111212121212121212121111111111111112121212121212121212121111111111111112191515151615181211111111111111111215121712172215121111111111111111121517171917272612111111111111111212171217121722172212111111111111111216171719172725121111111111111111121512171217221512111111111111111112182516151515101211111111111111121212121212121212121211111111111111121212121212121212111111111";
lvlmap[6] = "111111111111212121212111111111111111111111112121916191212111111111111111111121212121512121212111111111111111217171712151217373732111111111112171717171215121737373732111111111217171817151615173837373211111112121212121214101412121212121211111112172727272516151747474742111111111217272727221912174747474211111111111217282722121217484742111111111111132212121212121212121311111111132212121212121212121212121213111";
lvlmap[7] = "212121212121212121212121212121212121347373735151516151515174747433212131737373333231513231347474743221218333345151332151213451513334842121515151515151325131515151515151212173917334733234513331743374917421217351735173214343432174517451742121733273317333319132347432743174212151345133515133513451513451335121215151515151515151515151515151512121317373733231510151323174747432212121212121212121212121212121212121";
lvlmap[8] = "212121212121212121212121212121212121414121414121414141214141214141212121212121212121212121212121212121213451815182513321345183518451332121515161516151510151516151615151212121517351715133213451745172512121213451735171515191515174517251332121915173517151512151517451725191212131517351715132213151745172513221212121212121212121212121212121212121414121414121414141214141214141212121212121212121212121212121212121";
lvlmap[9] = "111111212121212121212121212111111111112121214141212121414121212111111111219133212121912121213491211111111121717171716151617474747421111111112171717171616161747474742111111111217171717132413174747474211111111121717171713341347474747421111111112171717161616161617474742111111111217171716184018161747474211111111121212121212121212121212121111111112121412121214121212141212111111111212141332134413321344121211111";
lvlmap[10] = "115132212143212121212143212131511111322121215121212121215121212131111121345151415151615151415151332111112151515121815161517171717151211111214151722121515151212121214121111121515172215151415134515151512111112151917251515101515151212121211111425151722151212121515151917342111121514172214151515141515141732111112151515151519141515151835173211111428221315151515151322121517342111121212121212121212121212121212111";
lvlmap[11] = "111111111111111111111111111111111111111111111111111111111111111111111111111111111111211111111111111111111111111111112101211111111111111111111111111121416141211111111111111111111111213491419133211111111111111111112121314161413221211111111111111121348474746174748433211111111111212131837373617373833221211111112134827272727261727272728233211121213181717171719171717171813221212121212121212121212121212121212121";
lvlmap[12] = "111111111111111111111121212121211111111111111111111111112181618321112121212121212121212121212161212121213451517171715141517373736151332121735161717171519151737373615151212173216121212121212121212121212121217351617373735141517171715151332121735161737373519151717171615151212173212121212121212121212161217121217351515151515141515151516151712121730151515151519151515151615171212121212121212121212121212121212121";
lvlmap[13] = "212121212121212121212121212121212121727272727272726173737373737373212172515151515151515151515151517321217251515132432141214331515151732121615151514284214121814251515161212171515151212134513321215151517421217151515141415101514141515151742121715151512121315132212151515174212171515191428321912182429151517421217151515133432141214334515151742121717171717161515151617474747474212121212121212121212121212121212121";
lvlmap[14] = "212121212121212121212121212121212121347171717171717171717171713351212171515151513471713334713351715121217134717191717171317171713371512121717151347171717171713321717151212171717171717101713371713471713321217131717171322151717171917171712121817133317171335171713171713271212121717151515131713271343271517121213432317171719171713231713251712121317171717171717171717171717132212121212121212121212121212121212121";
lvlmap[15] = "212121212121212121212121212121212121344151514151514151514151514133212171212151212121212172213433215121217121727241519121517221717221512121712172512172724172722171722151212171217251217221212172217172215121217121725121722121217221717241322121712131612172347272322151314133212181417261217272726141215151217121212121916121612121419141325121712121717171717161717171017171717182212121212121212121212121212121212121";
lvlmap[16] = "111111111111111111111111111111111111212121212121211121212121212121111121747474748121432173736173822111112161747474744291427373737361211111217474747474214321737373737321111121212121212121112121214321212111111111111111111111111142914211111111212121212121211121212143212121111121017171718321432172727272842111112161717171714291427272727261211111217171717171214321727261727221111121212121212121112121212121212111";
lvlmap[17] = "113221212121212121212121212121212132213473737373737373737373737333212134737361216173917361216173337321217173216173612121216173612191732121717183737373737373730173617332212121212121212121212121212161212121217272727272727272727221216121912121727272727272727272727221612172212172212121217272726161722161217221217233212121217272612121216121722121727281212121217261727272617282212121212121212121212121212121212121";
lvlmap[18] = "111111111111111111111111111111111111111111111111111111111111111111111111111111111111112111111111111111111111111111111121012111111111111111111111111111215161912111111111111111111111112141325141512111111111111111111121833251915134332111111111111111217132415131417381332111111111112171325151345151328272332111111121713251514173514151915172212111215131515173513251515131723221212121515151515151515151512121212121";
lvlmap[19] = "111111113231111111113231111111111111323132343331323132343331321111113221213151513221213151513221433111212121215151212121210151212143211121737121434321737221214321343221112171739151518472734233512161212111217371215121213172219151427474211121717321515142727321215121747421112161712151512173722191512174744211216173825151217273425161217474211121733221218321732121816121313221112121212121212121212121212121212111";
lvlmap[20] = "214343212121212121212121212121212121815151514251512121518321727272212151515151215151215151212143432121214343219121215142515151425151512121735151514251514251515121515151214273735151215151214321212121212121212143212121512121515142515184212121515121515151425151512143215151422151514251515121515151219142515142215151219174215151215121432121432121015142747421825121514251717171212121212121212121212121214321212121";
lvlmap[21] = "214343434343434343434343434343432142515134515151815151513351513351424234717133345151333473737333515142427134515132313451715151337351514242715131513334515171515151325151424271513231735132613171717171713342423151333473516101615151323151714242349151517351336134515133345191424283515151735151515151515151517142423173737332315191515132347171324242213132315151323173737332313251422143434343434343434343434343434321";
lvlmap[22] = "212121212121212121212121212121212121413451515142519151425151513341212141912183212121212121218421914121212151515134423321344233515151212121217451747442742174427474517421212134517251514251215142515173513321215151513151426121614251325151512121515151815142612161425182515151212171715151714271417142715151717121213151725151425101514251517351322121213172513221212121213151733221212121212121212121212121212121212121";
lvlmap[23] = "111111112121212121212121212121111111111121345151515151344151513321111111212151519121915151415151322121212121212121212121215141512121212121344151415141513321514151212121212151412121212121714171417191813321215141344173413371417141512121732121514173418341615141514151332173212151413141734151514151415151217321215141212121213472417241725121732121814151410141318241324172515132212121212121212121212121212121212121";
lvlmap[24] = "111111111111111121432143432131111111113221432111112151345184332111111111212151214343215151512174421111111121349151515151513251517421111111112151612134917373837321742111111111212181617171717121747451421111111121212161512171715182747421111111112101615121727121512174744211111111212161212172213491217474211111111121726172726121315174743242111111113343434321512151616161212111111111111111112143214343434321341111";
lvlmap[25] = "212121212121212121212121212121212121217272727272727272727261727171212171737373737373737373736121317121217173213433343334515151513301732121717351515151515134333451516173212171735151323182513231513291717321217121515133343391333451513271732121712131513291323451513151337173212171213481335151515132348332617321217171717171717171717171717161722121727272217171323172727272727272212121212121212121212121212121212121";
lvlmap[26] = "111121214321212121211121212111111121212151515151717121212181212111112134515132213151515151515151212121215121518121212121812121215151512121432151332171715151515121512151212171715161915132212121512151217121218121215121518121015132215121712121212151714251512121212134512151212121215171215151332151915134515121213451322121212151212181215121512121915151515181333151717171512181212121432121212143212143214321214321";
lvlmap[27] = "212121212121212121212151212121212121515172727251212121217373735133215151517221725171717151732173214121215151727272517121712173737321412151516151325151712171212121512141212151617373735171217121727272214121212161732173517171715172217234322151515173737331518151327272725151513151515151515133913151325121313321215121515182513101915151835134322121319161332131513334513221515121212121215151212121515121212121212121";
lvlmap[28] = "414141414141414141414141414141414141345151513351345151515151515133414191515151515151515134513351515141413451513391516151515151513351514141313351515151515151313351515151414151515151515132345151515151515141413451333433515174515131335151334141513151519151517451515151515133414131335151343351743451315184515141415151515151515174513451613351514141313231613231510151323331515132414141414141414141214141414141414141";
lvlmap[29] = "111111111111111111111111111111111111112121212121212121212121212111111111218273717171717173737381211111111142737171717191717171717342111111114273727272616172617373734211111111429161726161617261616191421111111142726172726161617261616142111111114272726161616172727272734211111111210173736161616161617383211111111121212143434343434343212121111111111111111111111111111111111111111111111111111111111111111111111111";
lvlmap[30] = "214121212141412141214121414141412121815151515151515151515151515151414151616161616171717171717171719121215151515151516161616161616161512141615151515151515151515151516161212151515191717171717171717171716121215161517171717171717171717171714141515151717171717171717171717171212131513451717171717171717171716121219161515151515151513151515161512141517171717101717171717171717171212141214121214121214121212121214121";
gachi = new Array();
gachi[0] = [3, 15, 40, 80, 150];
gachi[1] = [5, 50, 150, 500, 1000];
gachi[2] = [10, 100, 300, 750, 1500];
gachi[3] = [1000, 5000, 15000, 30000, 65000];
gachi[4] = [1, 5, 10, 20, 30];
gachi[5] = [3, 10, 25, 50, 90];
atxt = new Array();
i = 0;
while (i < gachi.length) {
atxt[i] = new Array();
j = 0;
while (j < gachi[i].length) {
atxt[i][j] = (_root["str_achi_" + i] + newline) + gachi[i][j];
j++;
}
i++;
}
var my_so = SharedObject.getLocal("ninja_molar_save1", "/");
lvlmedal = new Array();
lvlrec = new Array();
stat = new Array();
awards = new Array();
i = 0;
while (i < gachi.length) {
stat[i] = 0;
i++;
}
if (my_so.data.lvlmedal[0] == undefined) {
my_so.data.lvlmedal = new Array();
my_so.data.lvlmedal[0] = -1;
my_so.data.lvlmedal[1] = -1;
my_so.data.lvlmedal[11] = -1;
my_so.data.lvlmedal[21] = -1;
my_so.data.lvlrec = new Array();
i = 1;
while (i < 31) {
my_so.data.lvlrec[i] = 0;
i++;
}
my_so.data.sound = true;
my_so.data.music = true;
i = 0;
while (i < gachi.length) {
j = 0;
while (j < gachi[i].length) {
my_so.data[("gachi" + i) + j] = gachi[i][j];
j++;
}
my_so.data["stat" + i] = stat[i];
i++;
}
}
sound = my_so.data.sound;
music = my_so.data.music;
totalscore = 0;
if (music == false) {
ib2.gotoAndStop(2);
}
if (sound == false) {
ib1.gotoAndStop(2);
}
i = 1;
while (i < 31) {
lvlmedal[i] = my_so.data.lvlmedal[i];
lvlrec[i] = my_so.data.lvlrec[i];
if (lvlrec[i] != undefined) {
totalscore = totalscore + lvlrec[i];
}
i++;
}
i = 0;
while (i < 6) {
j = 0;
while (j < 5) {
if (my_so.data[("gachi" + i) + j] != undefined) {
gachi[i][j] = my_so.data[("gachi" + i) + j];
} else {
break;
}
j++;
}
stat[i] = my_so.data["stat" + i];
i++;
}
i = 1;
while (i < 6) {
awards[i] = my_so.data["awards" + i];
i++;
}
_global.saveStat = function () {
trace("SAVE STAT...");
i = 0;
while (i < gachi.length) {
j = 0;
while (j < gachi[i].length) {
my_so.data[("gachi" + i) + j] = gachi[i][j];
j++;
}
my_so.data["stat" + i] = stat[i];
trace((gachitxt[i][0] + "---") + my_so.data["stat" + i]);
i++;
}
i = 1;
while (i < 6) {
my_so.data["awards" + i] = awards[i];
trace((("award " + i) + " = ") + my_so.data["awards" + i]);
i++;
}
trace("SAVE STAT END...");
my_so.data.sound = sound;
my_so.data.music = music;
my_so.flush();
};
_global.addStat = function (type, amount) {
stat[type] = stat[type] + amount;
testGachi(type);
};
_global.setStat = function (type, amount) {
if (amount > stat[type]) {
stat[type] = amount;
}
testGachi(type);
};
_global.testGachi = function (type) {
j = 0;
while (j < gachi[type].length) {
if (gachi[type][j] != -1) {
if (stat[type] >= gachi[type][j]) {
gachilogo.desc = atxt[type][j];
gachilogo.img.gotoAndStop(j + 1);
gachilogo.img.img.gotoAndStop(type + 1);
gachilogo.img2.gotoAndStop(j + 1);
gachilogo.gotoAndPlay(2);
gachi[type][j] = -1;
saveStat();
}
}
j++;
}
};
_global.testAward = function () {
if ((awards[1] == undefined) & (stat[4] >= 3)) {
submitAward(1);
}
if ((awards[2] == undefined) & (stat[5] >= 20)) {
submitAward(2);
}
trace("norestart=" + norestart);
if (((awards[3] == undefined) & (lvl == 10)) & (norestart == true)) {
submitAward(3);
}
trace("awardtimer=" + awardtimer);
if (((awards[4] == undefined) & (lvl == 30)) & (awardtimer < 1900)) {
submitAward(4);
}
if ((awards[5] == undefined) & (stat[5] >= 60)) {
submitAward(5);
}
};
gotoAndStop ("function");
Frame 14
tilew = 16;
tileh = 11;
tile = 44;
moving = false;
movex = 0;
movey = 0;
speed = 22;
objcount = 0;
paused = true;
editor = false;
player._visible = false;
cursor._visible = false;
mouseshow = true;
loadLevel = false;
day = random(3) + 1;
back.gotoAndStop(day);
back.img.back2.gotoAndStop(3);
back.img.back3.gotoAndStop(3);
logo.gotoAndStop(1);
tutor._visible = false;
tutor.gotoAndStop(1);
lvl = 1;
createLevel = function () {
closeMenu();
clearLevel();
if (day == 3) {
day = 1;
} else {
day++;
}
awardtimer = 0;
tutor._visible = true;
tutor.gotoAndStop(lvl);
logo.gotoAndStop(1);
back.gotoAndStop(day);
paused = false;
moving = false;
map = lvlmap[lvl];
lvltype = Math.ceil(lvl / 10);
back.img.back2.gotoAndStop(lvltype);
back.img.back3.gotoAndStop(lvltype);
k = 0;
objcount = 0;
stars = 0;
walls = 0;
moves = 0;
score = 0;
maxcombo = 0;
combo = false;
combocount = 0;
exitopen = false;
player._visible = true;
showInter();
playMusic();
if (_ymouse > 485) {
cursor._visible = false;
Mouse.show();
} else {
cursor._visible = true;
Mouse.hide();
}
i = 0;
while (i <= tileh) {
j = 0;
while (j <= tilew) {
z = Number(map.substr(k, 2));
x = Math.floor(z / 10);
y = z % 10;
k = k + 2;
obj = levelmap.attachMovie("block" + lvltype, (("t" + i) + "-") + j, levelmap.getNextHighestDepth());
if (x == 7) {
walls++;
}
if (((x == 2) or (x == 3)) and (editor == false)) {
obj2 = levelmap2.attachMovie("block" + lvltype, (("t" + i) + "-") + j, levelmap2.getNextHighestDepth());
obj2._x = j * tile;
obj2._y = i * tile;
obj2.gotoAndStop(x + 1);
obj2.type = y;
obj2.img.gotoAndStop(obj2.type);
obj._visible == false;
} else {
obj._visible == true;
if (x == 0) {
exit_obj = obj;
playerx = j;
playery = i;
player._x = playerx * tile;
player._y = playery * tile;
player.gotoAndStop(5);
player.img.gotoAndStop("stand");
player._rotation = 0;
cursor.img.gotoAndStop(5);
createPart(player._x, player._y, "part_star", 1, 5);
}
}
obj._x = j * tile;
obj._y = i * tile;
if ((x == 3) and (editor == false)) {
obj.gotoAndStop(12);
} else {
obj.gotoAndStop(x + 1);
}
obj.type = y;
obj.img.gotoAndStop(obj.type);
if (x == 8) {
objpart = partmap.attachMovie("block_color", "tobj" + objcount, partmap.getNextHighestDepth());
objpart._x = obj._x;
objpart._y = obj._y;
objpart.type = y;
objpart.gotoAndStop(y);
obj.part = objpart;
objcount++;
}
if (x == 9) {
objpart = partmap.attachMovie("block_star", "tobj" + objcount, partmap.getNextHighestDepth());
objpart._x = obj._x;
objpart._y = obj._y;
objpart.type = y;
objpart.gotoAndStop(y);
obj.part = objpart;
objcount++;
}
j = j + 1;
}
i = i + 1;
}
};
clearLevel = function () {
tutor._visible = false;
player._visible = false;
cursor._visible = false;
Mouse.show();
i = 0;
while (i <= tileh) {
j = 0;
while (j <= tilew) {
levelmap[(("t" + i) + "-") + j].removeMovieClip();
levelmap2[(("t" + i) + "-") + j].removeMovieClip();
j = j + 1;
}
i = i + 1;
}
i = 0;
while (i < objcount) {
partmap["tobj" + i].removeMovieClip();
i = i + 1;
}
};
createPart = function (xx, yy, type, count, info) {
m = 1;
while (m <= count) {
objpart = partmap.attachMovie(type, (("part" + xx) + "-") + yy, partmap.getNextHighestDepth() + j);
objpart._x = xx;
objpart._y = yy;
objpart.info = info;
m++;
}
};
moveTest = function () {
x = 1;
if (obj._currentframe == 3) {
x = 0;
}
if (obj._currentframe == 12) {
switch (obj.type) {
case 1 :
if (movex != 0) {
if (movex > 0) {
x = 0;
}
}
if (movey != 0) {
if (movey < 0) {
x = 0;
}
}
break;
case 2 :
if (movex != 0) {
if (movex < 0) {
x = 0;
}
}
if (movey != 0) {
if (movey < 0) {
x = 0;
}
}
break;
case 3 :
if (movex != 0) {
if (movex < 0) {
x = 0;
}
}
if (movey != 0) {
if (movey > 0) {
x = 0;
}
}
break;
case 4 :
if (movex != 0) {
if (movex > 0) {
x = 0;
}
}
if (movey == 0) {
break;
}
if (movey <= 0) {
break;
}
x = 0;
}
}
if (x == 1) {
if (one == true) {
one = false;
} else {
moving = true;
player.img.gotoAndStop("move");
}
} else {
tarobj = preobj;
playSound("jump1", "jump2");
return(true);
}
preobj = obj;
};
moveUp = function () {
one = true;
player._rotation = 180;
i = playery;
while (i >= 0) {
obj = levelmap[(("t" + i) + "-") + playerx];
if (moveTest()) {
return;
}
movex = 0;
movey = -1 * speed;
i--;
}
};
moveDown = function () {
one = true;
player._rotation = 0;
i = playery;
while (i <= tileh) {
obj = levelmap[(("t" + i) + "-") + playerx];
if (moveTest()) {
return;
}
movex = 0;
movey = 1 * speed;
i++;
}
};
moveLeft = function () {
one = true;
player._rotation = 90;
i = playerx;
while (i >= 0) {
obj = levelmap[(("t" + playery) + "-") + i];
if (moveTest()) {
return;
}
movex = -1 * speed;
movey = 0;
i--;
}
};
moveRight = function () {
one = true;
player._rotation = -90;
i = playerx;
while (i <= tilew) {
obj = levelmap[(("t" + playery) + "-") + i];
if (moveTest()) {
return;
}
movex = 1 * speed;
movey = 0;
i++;
}
};
closeMenu = function () {
opt.tar = "exit";
opt.gotoAndStop("exit");
};
openMenu = function (info) {
_root.opt.tar = info;
_root.opt.close = true;
};
showInter = function () {
inter._alpha = 100;
inter._visible = true;
};
closeInter = function () {
inter._alpha = 0;
inter._visible = false;
};
showLogo = function (info) {
if (logo._currentframe == 1) {
logo.info = info;
logo.gotoAndPlay(2);
}
};
_global.playSound = function () {
if (sound == true) {
_root["snd_" + arguments[random(arguments.length)]].start();
}
};
_global.playMusic = function () {
_root["snd_muz" + currMuz].stop();
if (music == true) {
currMuz = day;
_root["snd_muz" + currMuz].start(0, 999);
}
};
initAchi = function () {
i = 0;
while (i < _root.gachi.length) {
j = 0;
while (j < _root.gachi[i].length) {
z = opt[("a" + i) + j];
z.title = _root.atxt[i][j];
if (_root.gachi[i][j] == -1) {
z.gotoAndStop(j + 1);
z.img.gotoAndStop(i + 1);
} else {
z.gotoAndStop(7);
z.perc = Math.floor((_root.stat[i] / _root.gachi[i][j]) * 100) + "%";
}
j++;
}
i++;
}
};
_global.lengthdir_x = function (len, dir) {
return(Math.cos((dir * Math.PI) / 180) * len);
};
_global.lengthdir_y = function (len, dir) {
return((-Math.sin((dir * Math.PI) / 180)) * len);
};
_global.point_distance = function (x1, y1, x2, y2) {
return(Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2)));
};
_global.point_direction = function (x1, y1, x2, y2) {
return((Math.atan2(y2 - y1, x2 - x1) / Math.PI) * 180);
};
_global.choose = function () {
return(arguments[random(arguments.length)]);
};
compileLevel = function () {
z = "";
i = 0;
while (i <= tileh) {
j = 0;
while (j <= tilew) {
obj = levelmap[(("t" + i) + "-") + j];
z = z + (((obj._currentframe - 1) + "") + obj.type);
j = j + 1;
}
i = i + 1;
}
return(z);
};
var snd_achi = new Sound(_root);
snd_achi.attachSound("achi");
var snd_click = new Sound(_root);
snd_click.attachSound("click");
var snd_def = new Sound(_root);
snd_def.attachSound("def");
var snd_door = new Sound(_root);
snd_door.attachSound("door");
var snd_fall = new Sound(_root);
snd_fall.attachSound("fall");
var snd_jump1 = new Sound(_root);
snd_jump1.attachSound("jump1");
var snd_jump2 = new Sound(_root);
snd_jump2.attachSound("jump2");
var snd_mouseon = new Sound(_root);
snd_mouseon.attachSound("mouseon");
var snd_paint = new Sound(_root);
snd_paint.attachSound("paint");
var snd_star = new Sound(_root);
snd_star.attachSound("star");
var snd_wall1 = new Sound(_root);
snd_wall1.attachSound("wall1");
var snd_wall2 = new Sound(_root);
snd_wall2.attachSound("wall2");
var snd_win = new Sound(_root);
snd_win.attachSound("win");
var snd_window = new Sound(_root);
snd_window.attachSound("window");
var snd_muz1 = new Sound(_root);
snd_muz1.attachSound("muz1");
var snd_muz2 = new Sound(_root);
snd_muz2.attachSound("muz2");
var snd_muz3 = new Sound(_root);
snd_muz3.attachSound("muz3");
gotoAndStop ("controller");
Frame 24
mousePressed = false;
var keyListener = new Object();
Key.addListener(keyListener);
onEnterFrame = function () {
if (paused == false) {
awardtimer++;
if (moving == true) {
createPart(player._x, player._y, "part_star3", 1, player._currentframe);
player._x = player._x + movex;
player._y = player._y + movey;
if (((player._x % tile) == 0) and ((player._y % tile) == 0)) {
playerx = player._x / tile;
playery = player._y / tile;
obj = levelmap[(("t" + Math.floor(playery)) + "-") + Math.floor(playerx)];
if (obj == tarobj) {
playSound("fall");
moving = false;
player.img.gotoAndStop("land");
moves++;
addStat(2, 1);
}
if (obj == undefined) {
_root.trans.gotoAndPlay(2);
openMenu("def");
paused = true;
moving = false;
player.img.gotoAndStop("stand");
}
switch (obj._currentframe) {
case 1 :
if (exitopen == true) {
_root.trans.gotoAndPlay(2);
openMenu("win");
paused = true;
moving = false;
player.img.gotoAndStop("land");
player._rotation = 0;
createPart(player._x, player._y, "part_star", 1, 5);
}
break;
case 5 :
if (obj.type != 1) {
playSound("window");
createPart(player._x, player._y, "part_glass", 8);
obj.gotoAndStop(6);
obj.img.gotoAndStop(obj.type);
}
break;
case 7 :
moving = false;
player._rotation = 0;
player.img.gotoAndStop("catch");
break;
case 8 :
if (obj.type == player._currentframe) {
playSound("wall1", "wall2");
obj.gotoAndStop(11);
obj.img.gotoAndStop(obj.type);
walls--;
addStat(1, 1);
combo = true;
addscore = (10 * combocount) + 50;
score = score + addscore;
objscore = partmap.attachMovie("part_score", (("pscore" + player._x) + "-") + player._y, partmap.getNextHighestDepth());
objscore._x = player._x;
objscore._y = player._y;
objscore.info = "+" + addscore;
if (walls == 0) {
playSound("door");
exitopen = true;
exit_obj.img.img.gotoAndStop(2);
objpart = partmap.attachMovie("block_exit_o", "tobj" + objcount, partmap.getNextHighestDepth());
objpart._x = exit_obj._x;
objpart._y = exit_obj._y;
objcount++;
createPart(exit_obj._x, exit_obj._y, "part_star", 1, 5);
}
}
break;
case 9 :
if (obj.type != player._currentframe) {
playSound("paint");
createPart(player._x, player._y, "part_color", 8, obj.type);
createPart(player._x, player._y, "part_star", 1, obj.type);
player.gotoAndStop(obj.type);
cursor.img.gotoAndStop(obj.type);
addStat(0, 1);
}
break;
case 10 :
playSound("star");
stars++;
obj.gotoAndStop(6);
obj.img.gotoAndStop(obj.type);
createPart(player._x, player._y, "part_star2", 8);
createPart(player._x, player._y, "part_star", 1, 6);
obj.part.removeMovieClip();
break;
case 4 :
case 12 :
moving = false;
switch (obj.type) {
case 1 :
if (movex != 0) {
if (movex < 0) {
moveUp();
}
}
if (movey != 0) {
if (movey > 0) {
moveRight();
}
}
break;
case 2 :
if (movex != 0) {
if (movex > 0) {
moveUp();
}
}
if (movey != 0) {
if (movey > 0) {
moveLeft();
}
}
break;
case 3 :
if (movex != 0) {
if (movex > 0) {
moveDown();
}
}
if (movey != 0) {
if (movey < 0) {
moveLeft();
}
}
break;
case 4 :
if (movex != 0) {
if (movex < 0) {
moveDown();
}
}
if (movey == 0) {
break;
}
if (movey >= 0) {
break;
}
moveRight();
}
}
if (combo == true) {
combo = false;
combocount++;
} else if (combocount > 0) {
combocount = 0;
}
}
}
cursor._x = _xmouse;
cursor._y = _ymouse;
cursor._rotation = Math.round(point_direction(player._x, player._y, _xmouse, _ymouse) / 90) * 90;
if (_ymouse > 485) {
if (mouseshow == false) {
Mouse.show();
cursor._visible = false;
mouseshow = true;
}
} else if (mouseshow == true) {
Mouse.hide();
cursor._visible = true;
mouseshow = false;
}
}
};
keyListener.onKeyDown = function () {
if (paused == false) {
if (moving == false) {
if (Key.isDown(38)) {
moveUp();
} else if (Key.isDown(40)) {
moveDown();
} else if (Key.isDown(37)) {
moveLeft();
} else if (Key.isDown(39)) {
moveRight();
}
}
}
};
onMouseDown = function () {
mousePressed = true;
if (paused == false) {
if (moving == false) {
if (_ymouse < 485) {
switch (cursor._rotation) {
case 0 :
moveRight();
return;
case 90 :
moveDown();
return;
case -90 :
moveUp();
return;
case 180 :
case -180 :
moveLeft();
}
}
}
}
};
onMouseUp = function () {
mousePressed = false;
};
gotoAndStop ("game");
Frame 34
stop();
closeInter();
openMenu("main");
playMusic();
walk_but.txt_walk.text = _root.str_but_walk.toUpperCase();
ib1.ico.gotoAndStop(1);
ib2.ico.gotoAndStop(2);
ib1.title = _root.str_inter_sound;
ib2.title = _root.str_inter_music;
ib1.but.onPress = function () {
playSound("click");
_root.mouseClick = true;
if (_root.sound == true) {
_root.sound = false;
ib1.gotoAndStop(2);
} else {
_root.sound = true;
ib1.gotoAndStop(1);
}
};
ib2.but.onPress = function () {
playSound("click");
_root.mouseClick = true;
if (_root.music == true) {
_root.music = false;
playMusic();
ib2.gotoAndStop(2);
} else {
_root.music = true;
playMusic();
ib2.gotoAndStop(1);
}
};
Symbol 15 MovieClip [SubmitterProxy] Frame 1
#initclip 5
Object.registerClass("SubmitterProxy", SubmitterProxy);
#endinitclip
Symbol 21 MovieClip [part_star3] Frame 1
dir = random(360);
rot = choose(-10, -5, 10, 5);
timer = 15;
_rotation = random(360);
_x = (_x + (random(10) - 5));
_y = (_y + (random(10) - 5));
onEnterFrame = function () {
_rotation = (_rotation + rot);
_yscale = (_yscale - 4);
_xscale = (_yscale - 4);
if (timer > 0) {
timer--;
if (timer < 10) {
_alpha = (_alpha - 10);
}
} else {
this.removeMovieClip();
}
};
gotoAndStop(info);
Symbol 22 MovieClip [part_star4] Frame 1
dir = random(360);
timer = 15;
_rotation = random(360);
onEnterFrame = function () {
_rotation = (_rotation + 10);
if (timer > 0) {
timer--;
if (timer < 10) {
_alpha = (_alpha - 10);
}
} else {
this.removeMovieClip();
}
};
Symbol 29 MovieClip [part_star] Frame 1
dir = random(360);
timer = 15;
_rotation = random(360);
onEnterFrame = function () {
_rotation = (_rotation + 10);
if (timer > 0) {
timer--;
if (timer < 10) {
_alpha = (_alpha - 10);
}
} else {
this.removeMovieClip();
}
};
gotoAndStop(info);
Symbol 31 MovieClip [part_star2] Frame 1
speed = 5 + random(5);
timer = 10 + random(15);
rot = choose(2, -2);
dir = random(360);
onEnterFrame = function () {
_rotation = (_rotation + rot);
if (speed > 2) {
_x = (_x + lengthdir_x(speed, dir));
_y = (_y + lengthdir_y(speed, dir));
speed = speed - 1;
}
if (timer > 0) {
timer--;
if (timer < 10) {
_alpha = (_alpha - 10);
}
} else {
this.removeMovieClip();
}
};
Symbol 37 MovieClip [part_score] Frame 31
this.removeMovieClip();
Symbol 48 MovieClip [part_glass] Frame 1
speed = 8 + random(8);
timer = 10 + random(15);
dir = random(360);
gotoAndStop(2 + random(5));
onEnterFrame = function () {
if (speed > 0) {
_x = (_x + lengthdir_x(speed, dir));
_y = (_y + (3 + lengthdir_y(speed, dir)));
speed--;
} else {
_y = (_y + 3);
}
if (timer > 0) {
timer--;
if (timer < 10) {
_alpha = (_alpha - 10);
}
} else {
_root.oxcount--;
this.removeMovieClip();
}
};
Symbol 53 MovieClip [part_color] Frame 1
speed = 5 + random(5);
timer = 10 + random(15);
dir = random(360);
_yscale = (70 + random(31));
_xscale = (70 + random(31));
onEnterFrame = function () {
_yscale = (_yscale - 2);
_xscale = (_yscale - 2);
if (speed > 2) {
_x = (_x + lengthdir_x(speed, dir));
_y = (_y + lengthdir_y(speed, dir));
speed = speed - 1;
}
if (timer > 0) {
timer--;
if (timer < 10) {
_alpha = (_alpha - 10);
}
} else {
this.removeMovieClip();
}
};
gotoAndStop(info);
Symbol 58 MovieClip Frame 1
stop();
Symbol 94 MovieClip [block3] Frame 1
stop();
Symbol 120 MovieClip [block2] Frame 1
stop();
Symbol 144 MovieClip [block1] Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 243 Button
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
getURL (sponsorurl, "_blank");
}
Symbol 385 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
stop();
Symbol 402 MovieClip Frame 1
gotoAndStop(_root.localization_language_nr);
Symbol 410 Button
on (release) {
getURL (game1url, "_blank");
}
Symbol 415 Button
on (release) {
getURL (game2url, "_blank");
}
Symbol 670 MovieClip [__Packages.SubmitterProxy] Frame 0
class SubmitterProxy extends MovieClip
{
var parentObj, _parent, m_scoreType, m_scoreOrder, gameName, htmlName, locale, iconData, pagesize, pagenr, requestStackInvalidUser, gameid, siteid, channelid, swfURL, _visible, delegateOnIoError, delegateOnLoadDone, createEmptyMovieClip, getNextHighestDepth, content, delegateHyscoreSubmitterReady, dispatchEvent, m_scoreXMLData, m_scoreServerTimeXMLData, m_achievXMLData;
function SubmitterProxy () {
super();
System.security.allowDomain("*");
parentObj = _parent;
mx.events.EventDispatcher.initialize(this);
}
function setLoader(_container, _gameName, _htmlName, _order, _scoreType, _locale, _iconData, _pagesize, _pagenr, _bTest, _serverSelect) {
bTestModeOn = _bTest;
m_scoreType = _scoreType;
m_scoreOrder = _order;
gameName = _gameName;
if (_htmlName == "") {
htmlName = gameName;
} else {
htmlName = _htmlName;
}
locale = _locale;
iconData = _iconData;
pagesize = _pagesize;
pagenr = _pagenr;
serverSelect = _serverSelect;
requestStackInvalidUser = new Array();
if (_container != null) {
userName = _container.username;
userHash = _container.hash;
gameid = _container.id;
siteid = _container.s;
channelid = _container.c;
trace("servicesLoc: " + _container.servicesLoc);
if ((_container.servicesLoc != "") && (_container.servicesLoc != undefined)) {
swfURL = _container.servicesLoc;
} else {
var _local3 = new Date();
swfURL = (("http://www8.agame.com/games/flash/highscore/SubmitterAS2.swf?nocache=" + (_local3.getYear() * 12)) + _local3.getMonth()) + 1;
}
getSwf();
} else {
SubmitterFailedToLoad();
}
_visible = false;
}
function getSwf() {
var _local2 = new Object();
delegateOnIoError = mx.utils.Delegate.create(this, onLoadDone);
_local2.onLoadInit = delegateOnIoError;
delegateOnLoadDone = mx.utils.Delegate.create(this, onIoError);
_local2.onLoadError = delegateOnLoadDone;
var _local4 = new MovieClipLoader();
_local4.addListener(_local2);
var _local3 = createEmptyMovieClip("loadedComp", getNextHighestDepth());
trace("swfURL:" + swfURL);
_local4.loadClip(swfURL, _local3);
_local3._x = 10;
_local3._y = 10;
}
function isSWFReady() {
return(content != null);
}
function isDomainAllowed(value) {
if (content) {
return(content.isDomainValid(value));
}
return(false);
}
function hasUserData() {
return((userName != null) && (userHash != null));
}
function doCommTest() {
if (content) {
return(content.m_get_TEST());
}
return("Error: Failed to communicatie with: " + content);
}
function getScoreServerTime() {
if (content) {
content.m_getLatestScoreServerTime();
}
}
function submitScore(score) {
trace("submitScore: " + score);
if (content) {
if (!hasUserData()) {
requestStackInvalidUser.push({type:"SUBMIT_SCORE", value:score});
}
content.m_submitScore(score, userName, userHash, "", 0);
}
}
function requestHighscoreList() {
if (content) {
content.m_submitHighscoreListRequest();
}
}
function requestUserHighscoreList(target_username) {
if (content) {
content.m_submitUserHighscoreListRequest(target_username);
}
}
function submitGrantAward(tag) {
trace("submitGrantAward: " + tag);
if (content) {
if (!hasUserData()) {
requestStackInvalidUser.push({type:"SUBMIT_AWARD", value:tag});
}
content.m_submitAward(tag, userName, userHash);
}
}
function requestAwardList() {
if (content) {
if (!hasUserData()) {
requestStackInvalidUser.push({type:"REQUEST_AWARDLIST"});
}
content.m_getUserAwardList(userName, userHash);
}
}
function requestAwardInfo(awardID) {
if (content) {
content.m_getAwardInfo(awardID);
}
}
function SubmitterIsLoaded() {
delegateHyscoreSubmitterReady = mx.utils.Delegate.create(this, onHyScorSubmitterReady);
content.addEventListener("HyScorSubmitterLoaded", delegateHyscoreSubmitterReady);
content.addEventListener("ScoreLoadError", this);
content.addEventListener("ScoreLoadTimeComplete", this);
content.addEventListener("ScoreLoadSubmitComplete", this);
content.addEventListener("ScoreLoadListComplete", this);
content.addEventListener("ScoreLoadUserListComplete", this);
content.addEventListener("AchievLoadError", this);
content.addEventListener("AchievLoadTimeComplete", this);
content.addEventListener("AchievLoadListComplete", this);
content.addEventListener("AchievLoadInfoComplete", this);
content.addEventListener("AchievLoadGrantComplete", this);
}
function SubmitterFailedToLoad() {
dispatchEvent({target:this, type:"LoadingFailed", elapsedTime:getTimer()});
}
function onLoadDone(target_mc) {
content = target_mc.SubmitterInstance;
content.gotoAndPlay(1);
if (isDomainAllowed(bTestModeOn)) {
trace("Submitter component downloaded.");
SubmitterIsLoaded();
content.init(siteid, 1, gameid, channelid, m_scoreOrder, locale, iconData, pagesize, pagenr, userName, userHash, serverSelect);
initJStoSWFListeners();
} else {
trace("Error: Could not init submitter...played on an invalid domain.");
SubmitterFailedToLoad();
}
}
function onIoError(target_mc, errorCode, httpStatus) {
trace((("Error: loadListener.onLoadError() errorCode: " + errorCode) + " httpStatus: ") + httpStatus);
SubmitterFailedToLoad();
}
function onHyScorSubmitterReady(target_mc) {
if (content) {
content.removeEventListener("HyScorSubmitterLoaded", delegateHyscoreSubmitterReady);
}
dispatchEvent({target:this, type:"SubmitterLoadedSuccesfull", elapsedTime:getTimer()});
}
function handleEvent(e) {
if (((e.type == "ScoreLoadSubmitComplete") || (e.type == "ScoreLoadListComplete")) || (e.type == "ScoreLoadUserListComplete")) {
m_scoreXMLData = content.m_getLastestHighscoreData();
} else if (e.type == "ScoreLoadTimeComplete") {
m_scoreServerTimeXMLData = content.m_getLatestScoreServerTime();
} else if (((e.type == "AchievLoadListComplete") || (e.type == "AchievLoadInfoComplete")) || (e.type == "AchievLoadGrantComplete")) {
m_achievXMLData = content.m_getLastestAchievementData();
} else if (e.type == "AchievLoadTimeComplete") {
} else if (e.type == "ScoreLoadError") {
m_scoreXMLData = content.m_getLatestHighscoreError();
} else if (e.type == "AchievLoadError") {
m_achievXMLData = content.m_getLatestAchievError();
}
dispatchEvent({target:this, type:e.type, elapsedTime:getTimer()});
}
function initJStoSWFListeners() {
if (flash.external.ExternalInterface.available) {
try {
flash.external.ExternalInterface.addCallback("JStoSWF", com.spilgames.external.JStoSWF.instance().parse);
com.spilgames.external.JStoSWF.instance().addCallFunction("UPDATE_USER", updateUser);
com.spilgames.external.JStoSWF.instance().addCallFunction("UPDATE_AVATAR", updateAvatar);
com.spilgames.external.JStoSWF.instance().addCallFunction("UPDATE_GALLERY", updateGallery);
} catch(e:Error) {
trace("Error: Failed init enternal interface.. is the swf played locally?");
}
}
}
function updateUser(params) {
var _local3 = params.username;
var _local2 = params.hash;
var _local4 = params.id;
userName = _local3;
userHash = _local2;
var _local6 = (((("UPDATE_USER|-|" + _local3) + "|-|") + _local2) + "|-|") + _local4;
processInvalidUserList();
}
function updateAvatar(params) {
var _local1 = params.id;
var _local2 = params.type;
var _local3 = (("UPDATE_AVATAR|-|" + _local1) + "|-|") + _local2;
}
function updateGallery(params) {
var _local1 = params.id;
var _local2 = params.type;
var _local3 = (("UPDATE_GALLERY|-|" + _local1) + "|-|") + _local2;
}
function processInvalidUserList() {
while (requestStackInvalidUser.length > 0) {
var _local2 = requestStackInvalidUser.pop();
if (_local2.type == "SUBMIT_SCORE") {
submitScore(_local2.value);
} else if (_local2.type == "SUBMIT_AWARD") {
submitGrantAward(_local2.value);
} else if (_local2.type == "REQUEST_AWARDLIST") {
requestAwardList();
}
}
}
function destroy() {
parentObj = null;
content.removeMovieClip();
content = null;
siteid = null;
channelid = null;
gameid = null;
userName = null;
userHash = null;
m_scoreXMLData = null;
m_achievXMLData = null;
}
var userName = null;
var userHash = null;
var serverSelect = 1;
var bTestModeOn = false;
}
Symbol 671 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.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](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;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 672 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 673 MovieClip [__Packages.com.spilgames.external.JStoSWF] Frame 0
class com.spilgames.external.JStoSWF
{
static var m_oJStoSWF;
var m_oCallFuntions;
function JStoSWF () {
m_oCallFuntions = new Object();
}
function addCallFunction(p_sName, p_fFunction) {
if (!m_oCallFuntions[p_sName]) {
m_oCallFuntions[p_sName] = p_fFunction;
}
}
function parse(p_oCallObject) {
if (p_oCallObject.call) {
switch (p_oCallObject.call) {
case "MULTI" :
var _local2 = 0;
while (_local2 < p_oCallObject.calls.length) {
instance().parse(p_oCallObject.calls[_local2]);
_local2++;
}
break;
default :
if (m_oCallFuntions[p_oCallObject.call]) {
if (!p_oCallObject.params) {
p_oCallObject.params = {};
}
m_oCallFuntions[p_oCallObject.call](p_oCallObject.params);
} else {
trace(("call: " + p_oCallObject.call) + " not found in call functions!");
}
}
} else {
trace("call attribute not found in CallObject!");
}
}
static function instance() {
if (m_oJStoSWF == null) {
m_oJStoSWF = new com.spilgames.external.JStoSWF();
}
return(m_oJStoSWF);
}
}
Symbol 474 MovieClip Frame 4
_parent.gotoAndStop("stand");
Symbol 477 MovieClip Frame 4
_parent.gotoAndStop("stair");
Symbol 478 MovieClip Frame 3
onEnterFrame = function () {
if ((_parent._rotation % 180) == 0) {
yy._visible = true;
xx._visible = false;
} else {
xx._visible = true;
yy._visible = false;
}
};
Symbol 478 MovieClip Frame 5
_parent.gotoAndStop("stair");
Symbol 483 MovieClip Frame 1
gotoAndStop(_parent.info);
Symbol 483 MovieClip Frame 2
txt_comp.text = _root.str_title_comp;
Symbol 483 MovieClip Frame 3
txt_over.text = _root.str_title_over;
Symbol 487 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 2
img1.gotoAndStop(info);
img4.gotoAndStop(info);
Symbol 488 MovieClip Frame 10
img2.gotoAndStop(info);
Symbol 488 MovieClip Frame 21
img3.gotoAndStop(info);
Symbol 488 MovieClip Frame 32
stop();
Symbol 510 MovieClip Frame 1
tutorText("1a");
tutorText("1b");
tutorText("1c");
tutorText("1d");
tutorText("1e");
tutorText("1f");
Symbol 510 MovieClip Frame 2
tutorText("2a");
tutorText("2b");
Symbol 510 MovieClip Frame 4
tutorText("4a");
tutorText("4b");
tutorText("4c");
tutorText("4d");
tutorText("4e");
Symbol 519 MovieClip Frame 1
stop();
Symbol 528 Button
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
_root.lvl = id;
if (_root.trans._currentframe == 1) {
_root.trans.gotoAndPlay(2);
_root.loadLevel = true;
_root.norestart = true;
}
}
Symbol 535 MovieClip Frame 1
img.txt.text = _root.str_level_new;
Symbol 542 Button
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
_root.lvl = id;
if (_root.trans._currentframe == 1) {
_root.trans.gotoAndPlay(2);
_root.loadLevel = true;
_root.norestart = true;
}
}
Symbol 548 Button
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
_root.lvl = id;
if (_root.trans._currentframe == 1) {
_root.trans.gotoAndPlay(2);
_root.loadLevel = true;
_root.norestart = true;
}
}
Symbol 555 Button
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
}
Symbol 576 Button
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
getURL (addtoyoursiteurl, "_blank");
}
Symbol 599 Button
on (rollOver) {
_root.play_on.start();
}
on (release) {
getURL ("http://www.silengames.com", "_blank");
_root.play_pre.start();
}
Symbol 622 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (timer > 0) {
timer--;
if (timer == 1) {
gotoAndPlay (3);
playSound("star");
if (_name == "s3") {
playSound("holy");
}
}
}
};
Symbol 622 MovieClip Frame 13
gotoAndStop (2);
Symbol 629 MovieClip Frame 1
stop();
timer = 0;
close = true;
tar = "exit";
gotoAndStop ("exit");
onEnterFrame = function () {
if (close == false) {
if (_xscale != 100) {
if (_xscale < 100) {
_yscale = (_yscale + 30);
_xscale = (_yscale + 30);
} else {
_yscale = (_yscale - 10);
_xscale = (_yscale - 10);
}
}
} else if (_xscale > 30) {
_yscale = (_yscale - 40);
_xscale = (_yscale - 40);
} else if (_currentframe != tar) {
close = false;
gotoAndStop(tar);
}
if (_currentframe < 60) {
if (timer == 0) {
timer = 50 + random(40);
obj = _root.attachMovie("part_star4", "part", _root.getNextHighestDepth());
obj._x = 505;
obj._y = 28;
} else {
timer--;
if (timer == 10) {
obj = _root.attachMovie("part_star4", "part", _root.getNextHighestDepth());
obj._x = 27;
obj._y = 100;
}
}
}
};
Symbol 629 MovieClip Frame 2
stop();
_root.showLogo(1);
txt_level.text = _root.str_stat_level;
txt_star.text = _root.str_stat_star;
txt_achi.text = _root.str_stat_achi;
txt_total.text = _root.str_stat_total;
txt_easy.text = _root.str_level_easy;
txt_medium.text = _root.str_level_medium;
txt_hard.text = _root.str_level_hard;
b1.txt.text = _root.str_but_main.toUpperCase();
b2.txt.text = _root.str_but_achi.toUpperCase();
b1.but.onRelease = function () {
_root.openMenu("main");
};
b2.but.onRelease = function () {
_root.openMenu("achi");
};
back1.gotoAndStop(1);
back2.gotoAndStop(2);
back3.gotoAndStop(3);
stat_star = 0;
stat_lvl = 0;
i = 1;
while (i < 31) {
this["l" + i].id = i;
if (_root.lvlmedal[i] == undefined) {
this["l" + i].gotoAndStop(4);
} else if (_root.lvlmedal[i] < 3) {
if (_root.lvlmedal[i] == -1) {
this["l" + i].gotoAndStop(1);
} else {
this["l" + i].gotoAndStop(2);
}
} else {
this["l" + i].gotoAndStop(3);
}
this["l" + i].star.gotoAndStop(_root.lvlmedal[i] + 2);
if (_root.lvlmedal[i] > 0) {
stat_star = stat_star + _root.lvlmedal[i];
stat_lvl++;
}
if (_root.lvlrec[i] != undefined) {
this["l" + i].scoretxt = _root.lvlrec[i];
}
i++;
}
gachis = 0;
i = 0;
while (i < _root.gachi.length) {
j = 0;
while (j < _root.gachi[i].length) {
if (_root.gachi[i][j] == -1) {
gachis++;
}
j++;
}
i++;
}
setStat(5, stat_star);
saveStat();
Symbol 629 MovieClip Frame 11
stop();
_root.logo.gotoAndStop(1);
_root.showLogo(1);
txt_main.text = _root.str_but_main.toUpperCase();
b1.txt.text = _root.str_but_start.toUpperCase();
b2.txt.text = _root.str_but_achi.toUpperCase();
b3.txt.text = _root.str_but_walk.toUpperCase();
b4.txt.text = _root.str_but_cred.toUpperCase();
b1.but.onRelease = function () {
_root.openMenu("select");
};
b2.but.onRelease = function () {
_root.openMenu("achi");
};
b3.but.onRelease = function () {
getURL (walkurl, "_blank");
};
b4.but.onRelease = function () {
_root.openMenu("credit");
};
Symbol 629 MovieClip Frame 21
stop();
_root.showLogo(1);
_root.initAchi();
txt_achi.text = _root.str_but_achi.toUpperCase();
txt_achistat.text = _root.str_stat_achi;
b1.txt.text = _root.str_but_select.toUpperCase();
b2.txt.text = _root.str_but_main.toUpperCase();
b1.but.onRelease = function () {
_root.openMenu("select");
};
b2.but.onRelease = function () {
_root.openMenu("main");
};
gachis = 0;
i = 0;
while (i < _root.gachi.length) {
j = 0;
while (j < _root.gachi[i].length) {
if (_root.gachi[i][j] == -1) {
gachis++;
}
j++;
}
i++;
}
Symbol 629 MovieClip Frame 31
stop();
txt_cred.text = _root.str_but_cred.toUpperCase();
txt_dev1.text = _root.str_dev_1;
txt_dev2.text = _root.str_dev_2;
b1.txt.text = _root.str_but_main.toUpperCase();
b1.but.onRelease = function () {
_root.openMenu("main");
};
Symbol 629 MovieClip Frame 41
stop();
_root.showLogo(2);
playSound("win");
rectxt._visible = false;
addtxt._visible = false;
totaladd = 0;
if (_root.lvlrec[_root.lvl] == undefined) {
totaladd = _root.score;
} else if (_root.score > _root.lvlrec[_root.lvl]) {
totaladd = _root.score - _root.lvlrec[_root.lvl];
}
if (totaladd > 0) {
_root.lvlrec[_root.lvl] = _root.score;
_root.my_so.data.lvlrec[_root.lvl] = _root.score;
rectxt._visible = true;
addtxt._visible = true;
addtxt.text = "+" + totaladd;
}
_root.totalscore = _root.totalscore + totaladd;
setStat(3, _root.totalscore);
i = 1;
while (i < 4) {
zz = this["s" + i];
if (i > _root.lvlmedal[_root.lvl]) {
zz.gotoAndStop(1);
} else {
zz.gotoAndStop(2);
}
if (i <= _root.stars) {
zz.timer = 12 * i;
} else {
zz.timer = 0;
}
i++;
}
if (_root.lvlmedal[_root.lvl] < _root.stars) {
_root.lvlmedal[_root.lvl] = _root.stars;
_root.my_so.data.lvlmedal[_root.lvl] = _root.stars;
}
if (_root.lvlmedal[_root.lvl + 1] == undefined) {
_root.lvlmedal[_root.lvl + 1] = -1;
_root.my_so.data.lvlmedal[_root.lvl + 1] = -1;
}
stat_lvl = 0;
i = 1;
while (i < 31) {
if (_root.lvlmedal[i] > 0) {
stat_lvl++;
}
i++;
}
setStat(4, stat_lvl);
testAward();
saveStat();
txt_comp.text = _root.str_title_comp;
txt_score.text = _root.str_stat_score;
txt_total.text = _root.str_stat_total;
rectxt.text = _root.str_level_rec + "!";
b1.txt.text = _root.str_but_cont.toUpperCase();
b2.txt.text = _root.str_but_submit.toUpperCase();
b3.txt.text = _root.str_but_replay.toUpperCase();
b1.but.onRelease = function () {
_root.openMenu("select");
};
b2.but.onRelease = function () {
_root.openMenu("score");
};
b3.but.onRelease = function () {
_root.trans.gotoAndPlay(2);
_root.loadLevel = true;
_root.norestart = false;
};
Symbol 629 MovieClip Frame 51
stop();
_root.showLogo(3);
playSound("def");
txt_over.text = _root.str_title_over;
b1.txt.text = _root.str_but_try.toUpperCase();
b2.txt.text = _root.str_but_select.toUpperCase();
b3.txt.text = _root.str_but_more;
b1.but.onRelease = function () {
_root.trans.gotoAndPlay(2);
_root.loadLevel = true;
_root.norestart = false;
};
b2.but.onRelease = function () {
_root.openMenu("select");
};
b3.but.onRelease = function () {
getURL (sponsorurl, "_blank");
};
Symbol 629 MovieClip Frame 61
txt_submit.text = _root.str_stat_total.toUpperCase();
b1.txt.text = _root.str_but_submit.toUpperCase();
b2.txt.text = _root.str_but_select.toUpperCase();
b1.but.onRelease = function () {
_root.submitScore();
_root.openMenu("select");
};
b2.but.onRelease = function () {
_root.openMenu("select");
};
Symbol 629 MovieClip Frame 71
stop();
Symbol 646 Button
on (rollOver) {
playSound("mouseon");
}
Symbol 653 MovieClip Frame 1
stop();
Symbol 656 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.paused == true) {
if (_alpha > 0) {
_alpha = (_alpha - 15);
} else {
_visible = false;
}
}
};
txt_level.text = _root.str_inter_level;
txt_score.text = _root.str_inter_score;
ib3.ico.gotoAndStop(3);
ib4.ico.gotoAndStop(4);
ib3.title = _root.str_but_replay.toUpperCase();
ib4.title = _root.str_inter_quit;
ib3.but.onPress = function () {
playSound("click");
_root.mouseClick = true;
if (_root.trans._currentframe == 1) {
_root.paused = true;
_root.trans.gotoAndPlay(2);
_root.loadLevel = true;
_root.norestart = false;
}
};
ib4.but.onPress = function () {
playSound("click");
_root.mouseClick = true;
if (_root.trans._currentframe == 1) {
_root.paused = true;
_root.trans.gotoAndPlay(2);
_root.cursor._visible = false;
_root.openMenu("select");
}
};
Instance of Symbol 385 MovieClip "logo_mainscreen" in Symbol 656 MovieClip Frame 1
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
getURL (sponsorurl, "_blank");
}
Symbol 657 Button
on (rollOver) {
playSound("mouseon");
}
on (release) {
playSound("click");
getURL (walkurl, "_blank");
}
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 7
trace("tar=" + _root.opt.tar);
if (_root.loadLevel == true) {
_root.createLevel();
_root.loadLevel = false;
} else {
_root.clearLevel();
}
Symbol 664 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 1
stop();
_visible = false;
Symbol 669 MovieClip Frame 2
_visible = true;
txt_new.text = _root.str_achi_new;
playSound("achi2");
Symbol 669 MovieClip Frame 11
playSound("holy");