[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Combined Code (171 KiB) ● ● ● ●
// unknown tag 88 length 143
movieClip 4 loadingNumMc {
}
movieClip 5 propBox {
frame 1 {
var nameNum;
stop();
}
}
movieClip 7 {
frame 1 {
this.onPress = function () {};
this.useHandCursor = false;
}
}
// unknown tag 88 length 137
// unknown tag 88 length 138
button 21 {
on (press) {
var mc = eval(input_txt3.text);
display_txt2.text = mc + ' mc : ';
for (var i in mc) {
if (typeof mc[i] == 'movieclip') {
display_txt2.text += i + ' , ';
}
}
display_txt2.text += '\n\n' + mc + ' var : ';
for (var i in mc) {
if (typeof mc[i] != 'movieclip' && typeof mc[i] != 'function') {
display_txt2.text += i + ' , ';
}
}
display_txt2.text += '\n\n' + mc + ' func : ';
for (var i in mc) {
if (typeof mc[i] == 'function') {
display_txt2.text += i + ' , ';
}
}
}
}
button 22 {
on (press) {
if (input_txt2.text != '') {
display_txt1.text = _parent.trace_str(input_txt1.text, int(input_txt2.text));
} else {
display_txt1.text = _parent.trace_str(input_txt1.text);
}
}
}
button 23 {
on (press) {
input_txt1.text = '_root.';
input_txt2.text = '';
display_txt1.text = ' ~ ! @ # $ % ^ & * ( ) _ + { } : " < > ? | ` 0 1 2 3 4 5 6 7 8 9 [ ] ; \' , . / \\a b c d e f g h i j k l m n o p q r s t u v w x y z ';
}
}
movieClip 27 {
}
movieClip 30 {
}
button 34 {
on (press) {
clearInterval(intervalID);
this.removeMovieClip();
this._x = -9999;
}
}
button 38 {
on (press) {
content_mc._visible = !content_mc._visible;
}
}
movieClip 39 trace_mc {
frame 1 {
function getIndexArr(str) {
var v5 = new Array();
var v2 = 0;
while (v2 < str.length) {
if (str.charAt(v2) == '[') {
var v4 = '';
var v1 = v2 + 1;
while (v1 < str.length) {
if (str.charAt(v1) == ']') {
v5.push(v4);
v2 = v1;
break;
} else {
v4 += str.charAt(v1);
}
++v1;
}
}
++v2;
}
return v5;
}
function getVal(parent, str, new_val) {
var i = 0;
while (i < str.length) {
if (str.charAt(i) == '[') {
var var1_var = (parent == undefined) ? str.substr(0, i) : parent[str.substr(0, i)];
break;
}
++i;
}
if (i == str.length) {
if (new_val != undefined) {
(parent == undefined) ? eval(str) : parent[str];
}
return (parent == undefined) ? eval(str) : parent[str];
}
var var2_index_arr = getIndexArr(str);
switch (var2_index_arr.length) {
case 1:
if (new_val != undefined) {
var1_var[Number(var2_index_arr[0])] = new_val;
}
return var1_var[Number(var2_index_arr[0])];
break;
case 2:
if (new_val != undefined) {
var1_var[Number(var2_index_arr[0])][Number(var2_index_arr[1])] = new_val;
}
return var1_var[Number(var2_index_arr[0])][Number(var2_index_arr[1])];
break;
case 3:
if (new_val != undefined) {
var1_var[Number(var2_index_arr[0])][Number(var2_index_arr[1])][Number(var2_index_arr[2])] = new_val;
}
return var1_var[Number(var2_index_arr[0])][Number(var2_index_arr[1])][Number(var2_index_arr[2])];
}
}
function trace_str(str, new_val) {
delete curr_val;
str = str.split('.');
var v1 = 0;
while (v1 < str.length) {
if (v1 == str.length - 1 && new_val != undefined) {
curr_val = getVal(curr_val, str[v1], new_val);
} else {
curr_val = getVal(curr_val, str[v1]);
}
++v1;
}
return String(curr_val);
}
function swap_depth() {
_parent.trace_mc.swapDepths(_parent.getNextHighestDepth() - 1);
}
roll_bar.useHandCursor = false;
intervalID = setInterval(swap_depth, 1000);
}
instance roll_bar of movieClip 30 {
onClipEvent (press) {
this._parent.startDrag();
}
onClipEvent (release) {
this._parent.stopDrag();
}
}
}
frame 1 {
function getLanFrame() {
if (gamelanVer == 'chinese') {
return 'chinese';
} else {
return 1;
}
}
function setPerFuncAll(perObject) {
for (var v3 in perObject) {
trace(' _root[ip] = ' + _root[v3]);
_root[v3] = perObject[v3];
}
}
function AllStop_func() {
this.createEmptyMovieClip('stop_fun', 22222);
stop_fun.onEnterFrame = function () {
if (_root.go_ON) {
game_pause = false;
delete this.onEnterFrame;
} else {
game_pause = true;
}
};
}
function next_leve_func() {
bg_sound.stop();
win_sound_ = new Sound(win_sound_mc_);
win_sound_.attachSound('win');
win_sound_.start();
var v2 = _root.attachMovie('appearPoint', 'appearPoint' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v2._x = 250;
v2._y = 250;
v2.addItemPoint = 1000;
delete _root.BAllID;
clearAll();
gameZT = '??';
trace('you win');
delete move_listener_mc.onEnterFrame;
superBall = false;
m_lock = true;
clearBall();
dir_mc.clear();
trace('clear ball ' + ball);
mouth.TX.play();
center_mc._rotation = 90;
move_listener_mc.onEnterFrame = function () {
if (!game_pause) {
center_mc._rotation = 90;
winMove();
}
};
holdBall_mc.hold_mc.unloadMovie();
hold_mx.num = 0;
delete _root.holdBall;
_root.holdBall2 == false;
}
function chch(num) {
var v2 = 1;
while (v2 <= 5) {
var v3 = _root['poop' + v2];
v3._alpha = num;
++v2;
}
}
function re_back_func_() {
var v2 = 1;
while (v2 <= 5) {
var v3 = _root['pop' + v2];
v3.gotoAndStop(1);
++v2;
}
}
function create_lost_Sound() {
fail_sound_ = new Sound(lost_sound_mc_);
fail_sound_.attachSound('fail');
trace(' one time ??? ');
fail_sound_.start(0, 1);
}
function get_ad(totalTools) {
trace('get_ad:' + totalTools);
var v1 = '2|nowtool=' + totalTools + '&totaltool=5&maxquestion=5';
}
function drawItem() {
var v3 = 0;
var v2 = 1;
while (v2 <= 5) {
if (this['propBox' + v2]._currentframe > 1) {
++v3;
} else {
break;
}
++v2;
}
var v4 = propNums - v3;
trace('newPropNums' + v4);
if (v4 > 0) {
v2 = v3 + 1;
while (v2 <= propNums) {
this['propBox' + v2].gotoAndStop(random(3) + 2);
++v2;
}
}
}
function getProp(mc) {
trace('!gameOver' + _root.PropUse);
if (this._currentframe > 15 && _root.gameOver == false && _root.PropUse == true && winMovie_mc._currentframe == 1 && startplay) {
if (mc == 1) {
return undefined;
}
if (mc == 2) {
teBrak = 1;
forward_bool = false;
forward_num = -10;
goback_all_balls();
PropUse = false;
}
if (mc == 3) {
if (_root.ball) {
dir_bool = true;
dir_num = 0;
PropUse = false;
} else {
trace('game is not start!');
return undefined;
}
}
if (mc == 4) {
var teConte = 100;
this.onEnterFrame = function () {
Allstop = true;
--teConte;
if (!teConte) {
Allstop = false;
delete this.onEnterFrame;
}
};
PropUse = false;
}
--_root.propNums;
var i = 1;
while (i < 5) {
if ((eval('propBox' + i))._currentframe == 1) {
var j = i;
while (j < 5) {
(eval('propBox' + j)).gotoAndStop((eval('propBox' + (j + 1)))._currentframe);
++j;
}
break;
}
++i;
}
propBox5.gotoAndStop(1);
var tempPropNum = 0;
_root.createEmptyMovieClip('tempProp', -1);
tempProp.onEnterFrame = function () {
++tempPropNum;
if (tempPropNum == 15) {
tempPropNum = 0;
PropUse = true;
delete tempProp.onEnterFrame;
}
};
trace('::propNums' + propNums);
}
}
pop_ = ['h', 'o', 'n', 'e', 'y'];
pos_arr_1 = [{'x': 0, 'y': 60, 'blo': false}, {'x': 450, 'y': 70, 'blo': false}, {'x': 36, 'y': 300, 'blo': false}, {'x': 0, 'y': 60, 'blo': false}];
pos_arr_2 = [{'x': 473, 'y': 75, 'blo': false}, {'x': 440, 'y': 310, 'blo': false}, {'x': 435, 'y': 92, 'blo': false}, {'x': 440, 'y': 315, 'blo': false}];
pos_arr_3 = [{'x': 154, 'y': 50, 'blo': false}, {'x': 375, 'y': 330, 'blo': false}, {'x': 325, 'y': 330, 'blo': false}];
speedStartNum1 = 6;
speedStartNum2 = 7;
speedStartNum3 = 8;
testModeStart = false;
testModeNum = 16;
testClassNum = 1;
gamelanVer = 'english';
if (gamelanVer == 'english') {
perObject = {'lan_CPU': 'CPU', 'lan_input_name': 'please input your name', 'localization_url1': 'http://www.gamesgames.com/moregames/', 'localization_url2': 'http://www.gamesgames.com/freegames/'};
}
if (gamelanVer == 'english2') {
perObject = {'lan_CPU': 'CPU', 'lan_input_name': 'please input your name', 'localization_url1': 'http://www.game.co.in/moregames/', 'localization_url2': 'http://www.game.co.in/freegames/'};
} else {
if (gamelanVer == 'brazilian') {
perObject = {'lan_moreGameAt': 'Mais jogos online grî…¥is em', 'lan_start_game': 'INICIAR O JOGO', 'lan_howtoplay': 'COMO JOGAR', 'lan_RECORDES': 'RECORDES', 'lan_more_game': 'MAIS JOGOS', 'lan_free_game': 'JOGOS GRì§IS PARA O SEU SITE', 'lan_QUALITY': 'QUALIDADE: ', 'lan_BEST': 'QUALIDADE: ALTA', 'lan_SOUND': 'SOM: ', 'lan_OFF': 'SOM: DESLIGADO', 'lan_NORMA': 'QUALIDADE: NORMAL', 'lan_ON': 'SOM: LIGADO', 'lan_BAD': 'QUALIDADE: BAIXA', 'lan_choose_world': 'escolha um mundo', 'lan_world_1': 'mundo 1', 'lan_world_2': 'mundo 2', 'lan_world_3': 'mundo 3', 'lan_complete1': 'complete o mundo 1 para desbloquear', 'lan_complete2': 'complete o mundo 2 para desbloquear', 'lan_easy': 'fî…”il', 'lan_nornal': 'normal', 'lan_hard': 'difî™°il', 'lan_Controls': 'Controles', 'lan_Aim': 'Fazer pontaria: ', 'lan_mouse': 'mouse', 'lan_Change_ball': 'Mudar de bola: ', 'lan_SPACE': 'BARRA DE ESPA?', 'lan_space_': 'barra de espa', 'lan_Special_balls': 'Bolas especiais', 'lan_bomb_ball': 'Bola bomba - destrî¡® as bolas que est? mais perto', 'lan_Reverse_ball': 'Bola recuo - move a bola um pouco para trî…¤', 'lan_Wall_ball': 'Bola parede - para as bolas por alguns instantes', 'lan_Black_hole_ball': 'Bola buraco negro - engole 3 bolas', 'lan_Black_ball': 'Bola preta - use uma bola especial sobre ela ou afaste-a de outras bolas', 'lan_Honey_ball': 'Bola de mel - fim da linha', 'lan_BACK': 'VOLTAR', 'lan_HIGHSCORES': 'RECORDES', 'lan_name': 'nome', 'lan_score': 'placar', 'lan_CPU': 'CPU', 'lan_3000_games': '3.000+ JOGOS', 'lan_congratulations': 'parab?s', 'lan_con_score': 'placar', 'lan_con_time': 'bus de tempo', 'lan_con_max_combo': 'mî…©imo bus combinado', 'lan_con_level': 'bus de nel', 'lan_con_final': 'placar final', 'lan_hint': 'Dica: Use a barra de espa para girar as bolas', 'lan_next': 'primo', 'lan_game_over': 'FIM DE JOGO', 'lan_your_score': 'SEU PLACAR', 'lan_your_name': 'SEU NOME', 'lan_input_name': 'Por favor, digite seu nome', 'lan_submit_score': 'ENVIAR PLACAR', 'lan_more_games': 'MAIS JOGOS', 'lan_well_done': 'Muito bem!', 'lan_collect_honeypot': 'Voc?pegou todos os potes de mel deste mundo!', 'lan_try_out_easy': 'Tente o modo normal para novos neis.', 'lan_try_out_normal': 'Tente o modo difî™°il para novos neis.', 'lan_try_out_hard': 'Voc?acha que pode bater o seu prrio placar novamente?', 'lan_press_space_to_continue': 'Aperte a barra de espa para continuar', 'localization_url1': 'http://www.ojogos.com.br/moregames/', 'localization_url2': 'http://www.ojogos.com.br/freegames/'};
} else {
if (gamelanVer == 'polish') {
perObject = {'lan_moreGameAt': 'Wi?cej bezp?atnych gier na', 'lan_start_game': 'START', 'lan_howtoplay': 'JAK GRA?', 'lan_RECORDES': 'RANKING', 'lan_more_game': 'WI?CEJ GIER', 'lan_free_game': 'DARMOWE GRY NA STRON?', 'lan_QUALITY': 'JAKO??: ', 'lan_BEST': 'JAKO??: DOBRA', 'lan_SOUND': 'D?WI?K: ', 'lan_OFF': 'D?WI?K: WY?.', 'lan_NORMA': 'JAKO??: ?REDNIA', 'lan_ON': 'D?WI?K: W?.', 'lan_BAD': 'JAKO??: NISKA', 'lan_choose_world': 'wybierz ?wiat', 'lan_world_1': '?wiat 1', 'lan_world_2': '?wiat 2', 'lan_world_3': '?wiat 3', 'lan_complete1': 'przejd? swiat 1, aby odblokowa?', 'lan_complete2': 'przejd? swiat 2, aby odblokowa?', 'lan_easy': '?atwy', 'lan_nornal': 'normalny', 'lan_hard': 'trudny', 'lan_Controls': 'Sterowanie', 'lan_Aim': 'Celowanie: ', 'lan_mouse': 'Mysz', 'lan_Change_ball': 'Zmie? kul?: ', 'lan_SPACE': 'SPACJA', 'lan_space_': 'spacja', 'lan_Special_balls': 'Specjalne kule', 'lan_bomb_ball': 'Kula bomba - niszczy wszystkie s?siednie kule', 'lan_Reverse_ball': 'Cofaj?ca kula - cofa kule lekko do ty?u', 'lan_Wall_ball': 'Kula ?ciana - w??cza krk? pauz?', 'lan_Black_hole_ball': 'Kula czarna dziura - poch?ania 3 kule', 'lan_Black_ball': 'Czarna kula - u?yj na ni? specjalnej kuli lub usu? s?siednie kule', 'lan_Honey_ball': 'Miodowa kula - koniec linii', 'lan_BACK': 'POWR縵', 'lan_HIGHSCORES': 'RANKING', 'lan_name': 'imi?', 'lan_score': 'wynik', 'lan_CPU': 'CPU', 'lan_3000_games': '3000+ GIER', 'lan_congratulations': 'gratulacje', 'lan_con_score': 'wynik', 'lan_con_time': 'bonus czasu', 'lan_con_max_combo': 'bonus kombinacji', 'lan_con_level': 'bonus poziomu', 'lan_con_final': 'ostateczny wynik', 'lan_hint': 'Wskazka: U?yj spacji, aby wymienia? kule', 'lan_next': 'dalej', 'lan_game_over': 'KONIEC GRY', 'lan_your_score': 'TW綰 WYNIK', 'lan_your_name': 'TWOJE IMI?', 'lan_input_name': 'Wpisz swoje imi?', 'lan_submit_score': 'ZAPISZ WYNIK', 'lan_more_games': 'WI?CEJ GIER', 'lan_well_done': 'Znakomicie!', 'lan_collect_honeypot': 'Zebra?e? wszystkie garnki z miodem w tym ?wiecie!', 'lan_try_out_easy': 'Wypruj tryb normalny, aby zagra? na nowych poziomach.', 'lan_try_out_normal': 'Wypruj tryb trudny, aby zagra? na nowych poziomach.', 'lan_try_out_hard': 'Czy my?lisz, ?e dasz rad? ponownie pobi? w?asny rekord?', 'lan_press_space_to_continue': 'Naci?nij spacj?, aby kontynuowa?', 'localization_url1': 'http://www.gry.pl/moregames/', 'localization_url2': 'http://www.gry.pl/freegames/'};
} else {
if (gamelanVer == 'portuguese') {
perObject = {'lan_moreGameAt': 'Mais jogos online gratuitos em', 'lan_start_game': 'INICIAR JOGO', 'lan_howtoplay': 'COMO JOGAR', 'lan_RECORDES': 'PONTUA뺴ES MAIS ALTAS', 'lan_more_game': 'MAIS JOGOS', 'lan_free_game': 'JOGOS GRATUITOS PARA O SEU SITE', 'lan_QUALITY': 'QUALIDADE: ', 'lan_BEST': 'QUALIDADE: MAIS ALTA', 'lan_SOUND': 'SOM: ', 'lan_OFF': 'SOM: DESLIGADO', 'lan_NORMA': 'QUALIDADE: NORMAL', 'lan_ON': 'SOM: LIGADO', 'lan_BAD': 'QUALIDADE: BAIXA', 'lan_choose_world': 'escolha um mundo', 'lan_world_1': 'mundo 1', 'lan_world_2': 'mundo 2', 'lan_world_3': 'mundo 3', 'lan_complete1': 'conclua o mundo 1 para desbloquear', 'lan_complete2': 'conclua o mundo 2 para desbloquear', 'lan_easy': 'fî…”il', 'lan_nornal': 'normal', 'lan_hard': 'difî™°il', 'lan_Controls': 'Comandos', 'lan_Aim': 'Fazer pontaria:', 'lan_mouse': 'rato', 'lan_Change_ball': 'Mudar de bola: ', 'lan_SPACE': 'SPACE', 'lan_space_': 'barra de espas', 'lan_Special_balls': 'Bolas especiais', 'lan_bomb_ball': 'Bola bomba - destrî¡® as bolas primas', 'lan_Reverse_ball': 'Bola recuo - faz recuar ligeiramente as bolas', 'lan_Wall_ball': 'Bola muro - coloca as bolas em pausa durante um momento', 'lan_Black_hole_ball': 'Bola buraco negro - absorve 3 bolas', 'lan_Black_ball': 'Bola preta - utilize uma bola especial sobre ela ou afaste-a de outras bolas', 'lan_Honey_ball': 'Bola mel - fim da linha', 'lan_BACK': 'RETROCEDER', 'lan_HIGHSCORES': 'PONTUA뺴ES MAIS ALTAS', 'lan_name': 'nome', 'lan_score': 'pontua展o', 'lan_CPU': 'CPU', 'lan_3000_games': '+ DE 3000 JOGOS', 'lan_congratulations': 'parab?s', 'lan_con_score': 'pontua展o', 'lan_con_time': 'bus de tempo', 'lan_con_max_combo': 'bus combinado mî…©imo', 'lan_con_level': 'bus de nel', 'lan_con_final': 'pontua展o final', 'lan_hint': 'Sugest?: Use a barra de espas para rodar as bolas', 'lan_next': 'seguinte', 'lan_game_over': 'FIM DO JOGO', 'lan_your_score': 'A SUA PONTUAì©O', 'lan_your_name': 'O SEU NOME', 'lan_input_name': 'Introduza o seu nome', 'lan_submit_score': 'SUBMETER PONTUAì©O', 'lan_more_games': 'MAIS JOGOS', 'lan_well_done': 'Muito bem!', 'lan_collect_honeypot': 'Recolheu todos os potes de mel deste mundo!', 'lan_try_out_easy': 'Experimente o modo normal para novos neis.', 'lan_try_out_normal': 'Experimente o modo difî™°il para novos neis.', 'lan_try_out_hard': 'Acha que consegue voltar a bater o seu prrio recorde?', 'lan_press_space_to_continue': 'Prima a barra de espas para continuar', 'localization_url1': 'http://www.ojogos.pt/moregames/', 'localization_url2': 'http://www.ojogos.pt/freegames/'};
} else {
if (gamelanVer == 'swedish') {
perObject = {'lan_moreGameAt': 'Fler gratis online spel p?', 'lan_start_game': 'STARTA SPEL', 'lan_howtoplay': 'HUR MAN SPELAR', 'lan_RECORDES': 'Hè ¹STA PO?G', 'lan_more_game': 'FLER SPEL', 'lan_free_game': 'GRATIS SPEL TILL DIN SIDA', 'lan_QUALITY': 'KVALITET: ', 'lan_BEST': 'KVALITET: B?T', 'lan_SOUND': 'LJUD: ', 'lan_OFF': 'LJUD: AV', 'lan_NORMA': 'KVALITET: NORMAL', 'lan_ON': 'LJUD: P?', 'lan_BAD': 'KVALITET: D?IG', 'lan_choose_world': 'Vj v?ld', 'lan_world_1': 'V?ld 1', 'lan_world_2': 'V?ld 2', 'lan_world_3': 'V?ld 3', 'lan_complete1': 'Klara av v?ld 1 f att la upp', 'lan_complete2': 'Klara av v?ld 2 f att la upp', 'lan_easy': 'L?t', 'lan_nornal': 'Normal', 'lan_hard': 'Sv', 'lan_Controls': 'Kontroller', 'lan_Aim': 'Sikta:', 'lan_mouse': 'mus', 'lan_Change_ball': 'Byt boll: ', 'lan_SPACE': 'MELLANSLAG', 'lan_space_': 'mellanslag', 'lan_Special_balls': 'Special bollar', 'lan_bomb_ball': 'Bomb boll - fst n?liggande bollar', 'lan_Reverse_ball': 'bak boll - flyttar bollar bak en bit', 'lan_Wall_ball': 'V➺g boll - pausar bollar f en stund', 'lan_Black_hole_ball': 'Svart h boll - absorberar 3 bollar', 'lan_Black_ball': 'Svart boll - anv?d en speciell boll p?den f att f?bort den fr andra bollar', 'lan_Honey_ball': 'Honung boll - slutet av linan', 'lan_BACK': 'TILLBAKA', 'lan_HIGHSCORES': 'Hè ¹STA PO?G', 'lan_name': 'Namn', 'lan_score': 'Po?g', 'lan_CPU': 'CPU', 'lan_3000_games': '3000+ SPEL', 'lan_congratulations': 'Grattis', 'lan_con_score': 'Po?g', 'lan_con_time': 'Tids bonus', 'lan_con_max_combo': 'Max kombo bonus', 'lan_con_level': 'Niv?bonus', 'lan_con_final': 'Slutpo?g', 'lan_hint': 'Tips: Anv?d mellanslag f att rotera bollarna', 'lan_next': 'N?ta', 'lan_game_over': 'SPEL SLUT', 'lan_your_score': 'DIN PO?G', 'lan_your_name': 'DITT NAMN', 'lan_input_name': 'Var god skriv in ditt namn', 'lan_submit_score': 'SPARA PO?G', 'lan_more_games': 'FLER SPEL', 'lan_well_done': 'Bra gjort!', 'lan_collect_honeypot': 'Du har samlat varje honungskruka i denna v?ld!', 'lan_try_out_easy': 'Pra normal l➺et f nya nivr.', 'lan_try_out_normal': 'Pra sv l➺et f nya nivr.', 'lan_try_out_hard': 'Tror du att du kan sl?din egna po?g igen?', 'lan_press_space_to_continue': 'Tryck p?mellanslag f att forts?ta', 'localization_url1': 'http://www.spela.se/moregames/', 'localization_url2': 'http://www.spela.se/freegames/'};
} else {
if (gamelanVer == 'italian') {
perObject = {'lan_moreGameAt': 'Altri giochi gratis online su GamesGames.com', 'lan_start_game': 'INIZIA GIOCO', 'lan_howtoplay': 'COME SI GIOCA', 'lan_RECORDES': 'PUNTEGGI', 'lan_more_game': 'ALTRI GIOCHI', 'lan_free_game': 'GIOCHI GRATIS PER IL TUO SITO', 'lan_QUALITY': 'QUALITA\': ', 'lan_BEST': 'QUALITA\': MIGLIORE', 'lan_SOUND': 'SONORO: ', 'lan_OFF': 'SONORO: OFF', 'lan_NORMA': 'QUALITA\': NORMALE', 'lan_ON': 'SONORO: ON', 'lan_BAD': 'QUALITA\': NON BUONA', 'lan_choose_world': 'scegli il mondo', 'lan_world_1': 'mondo 1', 'lan_world_2': 'mondo 2', 'lan_world_3': 'mondo 3', 'lan_complete1': 'finisci mondo 1 per aprire', 'lan_complete2': 'finisci mondo 2 per aprire', 'lan_easy': 'facile', 'lan_nornal': 'normale', 'lan_hard': 'difficile', 'lan_Controls': 'Comandi', 'lan_Aim': 'Mira:', 'lan_mouse': 'mouse', 'lan_Change_ball': 'Cambia palla: ', 'lan_SPACE': 'SPAZIO', 'lan_space_': 'spazio', 'lan_Special_balls': 'Palle speciali', 'lan_bomb_ball': 'Palla bomba - distrugge le palle vicine a te', 'lan_Reverse_ball': 'Palla inversata - sposta le palle indietro un p?', 'lan_Wall_ball': 'Palla al muro - ferma le palle per un p?di tempo', 'lan_Black_hole_ball': 'Palla dal buco nero - assorbe 3 palle', 'lan_Black_ball': 'Palla nera - usaci una palla speciale sopra oppure sgombera le palle che le sono vicino', 'lan_Honey_ball': 'Honey Ball - la fine della linea', 'lan_BACK': 'INDIETRO', 'lan_HIGHSCORES': 'PUNTEGGI', 'lan_name': 'nome', 'lan_score': 'punteggio', 'lan_CPU': 'CPU', 'lan_3000_games': 'Giochi 3000+', 'lan_congratulations': 'congratulazioni', 'lan_con_score': 'punteggio', 'lan_con_time': 'tempo bonus', 'lan_con_max_combo': 'bonus delle maxi combinazioni', 'lan_con_level': 'bonus del livello', 'lan_con_final': 'punteggio finale', 'lan_hint': 'Aiutino: usa lo spaziatore per far ruotare le palle', 'lan_next': 'avanti', 'lan_game_over': 'GAME OVER', 'lan_your_score': 'IL TUO PUNTEGGIO', 'lan_your_name': 'IL TUO NOME', 'lan_input_name': 'inserisci il tuo nome', 'lan_submit_score': 'INVIA PUNTEGGIO', 'lan_more_games': 'ALTRI GIOCHI', 'lan_well_done': 'Ben fatto!', 'lan_collect_honeypot': 'hai raccolto tutti i barattoli di miele in questo mondo!', 'lan_try_out_easy': 'Prova la modalit?normale per i livelli nuovi.', 'lan_try_out_normal': 'Prova la modalit?difficile per i livelli nuovi.', 'lan_try_out_hard': 'Riuscirai a battere il tuo stesso record?', 'lan_press_space_to_continue': 'Tasta lo spazio per continuare', 'localization_url1': 'http://www.gioco.it/moregames/', 'localization_url2': 'http://www.gioco.it/freegames/'};
} else {
if (gamelanVer == 'spanish') {
perObject = {'lan_moreGameAt': 'Mî„ juegos gratis en lî™»ea', 'lan_start_game': 'Jugar', 'lan_howtoplay': 'Cî žo se juega', 'lan_RECORDES': 'Puntuaciî Ÿ', 'lan_more_game': 'Mî„ juegos gratis en', 'lan_free_game': 'Juegos gratis para t?web', 'lan_QUALITY': 'Calidad: ', 'lan_BEST': 'Calidad: Buena', 'lan_SOUND': 'Sonido: ', 'lan_OFF': 'Sonido: Apagar', 'lan_NORMA': 'Calidad: Normal', 'lan_ON': 'Sonido: Abierto', 'lan_BAD': 'Calidad: Mala', 'lan_choose_world': 'Elige el mundo', 'lan_world_1': 'Mundo 1', 'lan_world_2': 'Mundo 2', 'lan_world_3': 'Mundo 3', 'lan_complete1': 'Completa el mundo 1 para abrir el siguiente', 'lan_complete2': 'Completa el mundo 2 para abrir el siguiente', 'lan_easy': 'Facil', 'lan_nornal': 'Normal', 'lan_hard': 'Dificil', 'lan_Controls': 'Controles', 'lan_Aim': 'Apuntar:', 'lan_mouse': 'ratî Ÿ', 'lan_Change_ball': 'Cambiar de bola:', 'lan_SPACE': 'barra de espacio', 'lan_space_': 'barra de espacio', 'lan_Special_balls': 'Bolas Especiales', 'lan_bomb_ball': 'Bola Bomba - destruye las bolas cercanas', 'lan_Reverse_ball': 'Bola hacia atrî„ - mueve las bolas un poco hacia atrî„', 'lan_Wall_ball': 'Bola de pared - para las bolas por un instante', 'lan_Black_hole_ball': 'Agujero negro - absorbe tres bolas', 'lan_Black_ball': 'Bola negra - usa una bola especial sobre ella o despejala de otras bolas', 'lan_Honey_ball': 'Bola de miel - el final de la linea', 'lan_BACK': 'ATRì—š', 'lan_HIGHSCORES': 'Puntuaciî Ÿes altas', 'lan_name': 'Nombre', 'lan_score': 'puntuaciî Ÿ', 'lan_CPU': 'CPU', 'lan_3000_games': '3000 + JUEGOS', 'lan_congratulations': 'Enorabuena', 'lan_con_score': 'Puntuaciî Ÿ', 'lan_con_time': 'Tiempo extra', 'lan_con_max_combo': 'Mî„¢imo Combo Bonus', 'lan_con_level': 'Bonus por el nivel', 'lan_con_final': 'Puntuaciî Ÿ final', 'lan_hint': 'Ayuda: Usa la barra de espacio para rotar las bolas', 'lan_next': 'Proxima', 'lan_game_over': 'FIN DEL JUEGO', 'lan_your_score': 'T?PUNTUACIç§', 'lan_your_name': 'T?NOMBRE', 'lan_input_name': 'Escribe t?nombre', 'lan_submit_score': 'Puntuaciî Ÿ final', 'lan_more_games': 'Mî„ juegos', 'lan_well_done': '?Bien echo!', 'lan_collect_honeypot': '?Has recogido todo los tarros de miel en este mundo!', 'lan_try_out_easy': 'Juega en el modo normal para poder jugar en nuevos niveles', 'lan_try_out_normal': 'Juega en el modo dificil para poder jugar en nuevos niveles', 'lan_try_out_hard': '?Crees que puedes superar t?propia puntuaci?', 'lan_press_space_to_continue': 'Presiona la barra de espacio para continuar', 'localization_url1': 'http://www.juegos.com/moregames/', 'localization_url2': 'http://www.juegos.com/freegames/'};
} else {
if (gamelanVer == 'german') {
perObject = {'lan_moreGameAt': 'Noch mehr kostenlose online Spiele unter:', 'lan_start_game': 'Spiel starten', 'lan_howtoplay': 'Spielanleitung', 'lan_RECORDES': 'Highscores', 'lan_more_game': 'Noch mehr Spiele', 'lan_free_game': 'Kostenlose Spiele fî« deine Seite', 'lan_QUALITY': 'Qualit?: ', 'lan_BEST': 'Qualit?: Beste', 'lan_SOUND': 'Sound: ', 'lan_OFF': 'Sound: Aus', 'lan_NORMA': 'Qualit?: Normal', 'lan_ON': 'Sound: An', 'lan_BAD': 'Qualit?: Schlecht', 'lan_choose_world': 'Welt aussuchen', 'lan_world_1': 'Welt 1', 'lan_world_2': 'Welt 2', 'lan_world_3': 'Welt 3', 'lan_complete1': 'Zum frei schalten Welt 1 beenden', 'lan_complete2': 'Zum frei schalten Welt 2 beenden', 'lan_easy': 'einfach', 'lan_nornal': 'normal', 'lan_hard': 'schwierig', 'lan_Controls': 'Steuerungen', 'lan_Aim': 'Zielen:', 'lan_mouse': 'Maus', 'lan_Change_ball': 'Ball wechseln:', 'lan_SPACE': 'Leertaste', 'lan_space_': 'Leertaste', 'lan_Special_balls': 'Spezial-Ble', 'lan_bomb_ball': 'Bomben Ball - zerstt nahe gelegene Ble', 'lan_Reverse_ball': 'Rîœkw?ts Ball - bewegt Ble etwas zurîœk', 'lan_Wall_ball': 'Mauer Ball - ht Ble fî« kurze Zeit auf', 'lan_Black_hole_ball': 'Schwarzer Loch Ball - absorbiert 3 Ble', 'lan_Black_ball': 'Schwarzer Ball - Spezial-Ball benutzen oder andere Ble lchen', 'lan_Honey_ball': 'Honig Ball - das Ende der Reihe', 'lan_BACK': 'Zurîœk', 'lan_HIGHSCORES': 'Highscores', 'lan_name': 'Name', 'lan_score': 'Score', 'lan_CPU': 'CPU', 'lan_3000_games': '3000+Spiele', 'lan_congratulations': 'Glîœkwunsch', 'lan_con_score': 'Punkte', 'lan_con_time': 'Zeit Bonus', 'lan_con_max_combo': 'Max Combo Bonus', 'lan_con_level': 'Level Bonus', 'lan_con_final': 'Finale Punkte', 'lan_hint': 'Hinweis: Benute die Leertaste, um die Ble zu rotieren', 'lan_next': 'Weiter', 'lan_game_over': 'Game Over', 'lan_your_score': 'Deine Punkte', 'lan_your_name': 'Dein Name', 'lan_input_name': 'Tippe bitte deinen Namen ein', 'lan_submit_score': 'Punkte registrieren', 'lan_more_games': 'Noch mehr Spiele', 'lan_well_done': 'Gut gemacht!', 'lan_collect_honeypot': 'Du hast alle Honigtfe der Welt gesammelt!', 'lan_try_out_easy': 'Probiere den normalen Modus aus, um neue Level zu spielen.', 'lan_try_out_normal': 'Probiere den schwierigen Modus aus, um neue Level zu spielen.', 'lan_try_out_hard': 'Denkst du, du kannst deine eigene Punktzahl noch einmal schlagen?', 'lan_press_space_to_continue': 'Drîœke die Leertaste, um weiter zu machen', 'localization_url1': 'http://www.jetztspielen.de/moregames/', 'localization_url2': 'http://www.jetztspielen.de/freegames/'};
} else {
if (gamelanVer == 'French') {
perObject = {'lan_moreGameAt': 'Plus de jeux en ligne sur', 'lan_start_game': 'JOUER', 'lan_howtoplay': 'INSTRUCTIONS', 'lan_RECORDES': 'MEILLEURS SCORES', 'lan_more_game': 'PLUS DE JEUX', 'lan_free_game': 'JEUX GRATUITS EN LIGNE POUR VOTRE SITE', 'lan_QUALITY': 'QUALITE: ', 'lan_BEST': 'QUALITE: HAUTE', 'lan_SOUND': 'SON: ', 'lan_OFF': 'SON: DESACTIVE', 'lan_NORMA': 'QUALITE: NORMALE', 'lan_ON': 'SON: ACTIVE', 'lan_BAD': 'QUALITE: BASSE', 'lan_choose_world': 'Choisis un monde', 'lan_world_1': 'Monde 1', 'lan_world_2': 'Monde 2', 'lan_world_3': 'Monde 3', 'lan_complete1': 'Compl?e le Monde 1 pour y acc?er', 'lan_complete2': 'Compl?e le Monde 2 pour y acc?er', 'lan_easy': 'Facile', 'lan_nornal': 'Moyen', 'lan_hard': 'Difficile', 'lan_Controls': 'Commandes', 'lan_Aim': 'Viser:', 'lan_mouse': 'souris', 'lan_Change_ball': 'Changer de balle:', 'lan_SPACE': 'ESPACE', 'lan_space_': 'Espace', 'lan_Special_balls': 'Balles spiales', 'lan_bomb_ball': 'Balle Bomb - d?ruit les balles adjacentes', 'lan_Reverse_ball': 'Balle Reverse - repousse momentan?ent les balles', 'lan_Wall_ball': 'Balle Wall - arrㆈe momentan?ent les balles', 'lan_Black_hole_ball': 'Balle Black hole - absorbe 3 balles', 'lan_Black_ball': 'Balle Black - utilise une balle spiale ou ?imine-la des autres balles', 'lan_Honey_ball': 'Balle Honey - la fin de la ligne', 'lan_BACK': 'RETOUR', 'lan_HIGHSCORES': 'MEILLEURS SCORES', 'lan_name': 'Nom', 'lan_score': 'Score', 'lan_CPU': 'PC', 'lan_3000_games': '3000+JEUX', 'lan_congratulations': 'BRAVO', 'lan_con_score': 'score', 'lan_con_time': 'temps bonus', 'lan_con_max_combo': 'bonus combo max', 'lan_con_level': 'bonus niveau', 'lan_con_final': 'score final', 'lan_hint': 'Astuce : Utilise la barre d\'Espace pour faire tourner les balles', 'lan_next': 'suivant', 'lan_game_over': 'PERDU', 'lan_your_score': 'TON SCORE', 'lan_your_name': 'TON NOM', 'lan_input_name': 'Entre ici ton nom', 'lan_submit_score': 'ENREGISTRER LE SCORE', 'lan_more_games': 'PLUS DE JEUX', 'lan_well_done': 'F?icitation!', 'lan_collect_honeypot': 'Tu as bien collect?tous les pots de miel de ce monde!', 'lan_try_out_easy': 'Essaye le Monde 2 pour de nouveaux niveaux.', 'lan_try_out_normal': 'Essaye le Monde 3 pour de nouveaux niveaux.', 'lan_try_out_hard': 'Penses-tu que tu puisses battre ton propre score de nouveau?', 'lan_press_space_to_continue': 'Appuie sur Espace pour continuer', 'localization_url1': 'http://www.jeux.fr/moregames/', 'localization_url2': 'http://www.jeux.fr/freegames/'};
} else {
if (gamelanVer == 'Dutch') {
perObject = {'lan_moreGameAt': 'Meer gratis online spellen op', 'lan_start_game': 'START SPEL', 'lan_howtoplay': 'SPEL UITLEG', 'lan_RECORDES': 'HOOGSTE SCORES', 'lan_more_game': 'MEER SPELLEN', 'lan_free_game': 'GRATIS SPELLEN VOOR JE SITE', 'lan_QUALITY': 'KWALITEIT: ', 'lan_BEST': 'KWALITEIT: UITSTEKEND', 'lan_SOUND': 'GELUID: ', 'lan_OFF': 'GELUID: UIT', 'lan_NORMA': 'KWALITEIT: NORMAAL', 'lan_ON': 'GELUID: AAN', 'lan_BAD': 'KWALITEIT: SLECHT', 'lan_choose_world': 'kies wereld', 'lan_world_1': 'wereld 1', 'lan_world_2': 'wereld 2', 'lan_world_3': 'wereld 3', 'lan_complete1': 'voltooi wereld 1 om te spelen', 'lan_complete2': 'voltooi wereld 2 om te spelen', 'lan_easy': 'makkelijk', 'lan_nornal': 'normaal', 'lan_hard': 'moeilijk', 'lan_Controls': 'Besturing', 'lan_Aim': 'Mikken: ', 'lan_mouse': 'muis', 'lan_Change_ball': 'Wissel bal: ', 'lan_SPACE': 'SPATIE', 'lan_space_': 'spatie', 'lan_Special_balls': 'Speciale ballen', 'lan_bomb_ball': 'Bom bal - blaast ballen dichtbij op', 'lan_Reverse_ball': 'Omgekeerde bal - duwt de ballen tijdelijk terug', 'lan_Wall_ball': 'Muur bal - pauzeert de ballen eventjes', 'lan_Black_hole_ball': 'Zwarte gat bal - slokt 3 ballen op, zonder dood te gaan.', 'lan_Black_ball': 'Zwarte bal - gebruik een speciale bal ertegen of haal de ballen er omheen weg', 'lan_Honey_ball': 'Honing bal - het einde van de lijn', 'lan_BACK': 'TERUG', 'lan_HIGHSCORES': 'HOOGSTE SCORES', 'lan_name': 'naam', 'lan_score': 'score', 'lan_CPU': 'COM', 'lan_3000_games': '3000+ SPELLEN', 'lan_congratulations': 'gefeliciteerd', 'lan_con_score': 'score', 'lan_con_time': 'tijd bonus', 'lan_con_max_combo': 'max combo bonus', 'lan_con_level': 'level bonus', 'lan_con_final': 'totaal score', 'lan_hint': 'Tip: Gebruik de spatiebalk om de ballen te wisselen', 'lan_next': 'volgende', 'lan_game_over': 'GAME OVER', 'lan_your_score': 'JE SCORE', 'lan_your_name': 'JE NAAM', 'lan_input_name': 'Voer je naam in', 'lan_submit_score': 'VERSTUUR SCORE', 'lan_more_games': 'MEER SPELLEN', 'lan_well_done': 'Goed gedaan!', 'lan_collect_honeypot': 'Je hebt alle honingpotten in deze wereld verzameld!', 'lan_try_out_easy': 'Speel de normale wereld voor nog meer levels.', 'lan_try_out_normal': 'Speel de moeilijke wereld voor nog meer levels.', 'lan_try_out_hard': 'Kan jij je beste score verhogen?', 'lan_press_space_to_continue': 'Druk spatie om verder te gaan', 'localization_url1': 'http://www.spelletjes.nl/moregames/', 'localization_url2': 'http://www.spelletjes.nl/freegames/'};
} else {
if (gamelanVer == 'chinese') {
perObject = {'lan_CPU': 'CPU', 'lan_input_name': 'please input your name', 'localization_url1': 'http://www.game.com.cn/moregames/', 'localization_url2': 'http://www.game.com.cn/downloads/'};
}
}
}
}
}
}
}
}
}
}
}
setPerFuncAll(perObject);
var i = 1;
while (i <= 7) {
_root['rollOutAllBall' + i] = 25;
_root['ballRollBackNum' + i] = 22;
++i;
}
var i = 8;
while (i <= 14) {
_root['rollOutAllBall' + i] = 17;
_root['ballRollBackNum' + i] = 11;
++i;
}
var i = 15;
while (i <= 22) {
_root['rollOutAllBall' + i] = 30;
_root['ballRollBackNum' + i] = 23;
++i;
}
rollAllBallCutNum = 2;
ballRollBackSpeeds = 70;
tgt_speedClass1 = 150;
tgt_speedClass2 = 150;
tgt_speedClass3 = 150;
trace('在???');
keyListen_trace = new Object();
var KeyPassWord = 'goqogame';
var KeyWord_array = KeyPassWord.split('');
var Key_chane = new Array(KeyWord_array.length);
i = 0;
while (i < KeyWord_array.length) {
Key_chane[i] = KeyWord_array[i].charCodeAt(0);
++i;
}
Key_chane = [71, 79, 81, 79, 71, 65, 77, 69];
key_trace = [];
ST_num = 0;
go_ON = false;
keyListen_trace.onKeyDown = function () {
if (Key.getAscii() == 83) {
++ST_num;
if (ST_num % 2 == 1) {
go_ON = false;
AllStop_func();
} else {
go_ON = true;
}
}
if (Key.getCode() == 37) {
key_trace = new Array();
} else {
temp = Key.getCode() - 96;
if (Key.getCode() >= 96 && Key.getCode() <= 105) {
if (Key.getCode() - 48 == 48 + temp) {
kao = 48 + temp;
key_trace.push(kao);
}
} else {
key_trace.push(Key.getCode());
}
if (Key_chane.length == key_trace.length) {
cnt = 0;
i = 0;
while (i < Key_chane.length) {
if (Key_chane[i] == key_trace[i]) {
++cnt;
if (cnt == Key_chane.length) {
_root.attachMovie('trace_mc', 'trace_mc', _root.getNextHighestDepth());
key_trace = [];
}
}
++i;
}
}
}
};
Key.addListener(keyListen_trace);
var Allstop = false;
playerVersion = function () {
var v1 = /:$version;
var v2 = v1.indexOf(',');
return int(v1.substring(v2 - 1, v2));
};
if (!ModeZT) {
ModeZT = 1;
}
_root.blackandom = random(30);
lost_game_blo = false;
if (start_time == undefined) {
start_time = 0;
}
stop();
_quality = 'HIGH';
if (gameQuality) {
_quality = gameQuality;
}
var ss1 = 0;
var xx1 = 0;
var tess1 = 0;
var texx1 = 0;
var show_mc_visible = true;
var randomhei1;
var randomhei2;
var randomhei3;
var tebl = random(100) / 100;
onEnterFrame = function () {
var v4 = getBytesLoaded();
var v5 = getBytesTotal();
var v3 = int((v4 / v5) * 100);
pre = v3 + '%';
_root.lcx = v3;
preloadMC.gotoAndStop(v3);
trace(' lcx = ' + lcx);
if (v4 == v5) {
var v6 = playerVersion();
if (v6 >= 8) {
} else {
attachMovie('playerVersionHint', 'playerVersionHint', getNextHighestDepth());
}
delete this.onEnterFrame;
}
};
stop();
}
movieClip 67 {
frame 350 {
stop();
}
}
button 70 {
on (release) {
getURL('http://www.nx8.com/?utm_source=honeytrouble&utm_medium=honeytrouble&utm_campaign=honeytrouble', '_blank');
}
}
movieClip 91 {
}
movieClip 98 {
}
movieClip 99 {
}
movieClip 111 {
}
movieClip 121 {
}
movieClip 122 {
}
button 126 {
on (release) {
stopAllSounds();
_root.gotoAndPlay('gameplay');
}
}
movieClip 127 {
frame 1 {
}
frame 1 {
function doSomething() {}
function doSomething2() {
getURL('http://www.nx8.com/?utm_source=honeytrouble&utm_medium=honeytrouble&utm_campaign=honeytrouble', _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned2 = new ContextMenuItem('Play Games on www.nx8.com', doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
}
instance of movieClip 67 {
onClipEvent (release) {
getURL('http://www.nx8.com/?utm_source=honeytrouble&utm_medium=honeytrouble&utm_campaign=honeytrouble', '_blank');
}
}
frame 271 {
stop();
}
}
movieClip 1015 __Packages.Ball {
#initclip
if (!_global.Ball) {
var v1 = function (mc, id, __x, __y, _type) {
this.holder = Ball.parentMC.attachMovie(mc, 'b' + id, id + 1000);
this.holder.setMask(_root.center_mc.mask);
this.x = __x;
this.y = __y;
this.holder._x = this.x;
this.holder._y = this.y;
this.holder._height = Ball.holder_width;
this.holder._width = this.holder._height;
this.type = _type;
this.holder.gotoAndStop(this.type);
AsBroadcaster.initialize(this);
};
_global.Ball = v1;
var v2 = v1.prototype;
v1.init = function (pMC, speed, width, height, ball_width, _timer) {
Ball.parentMC = pMC;
Ball.shootSpeed = speed;
Ball.sceneWidth = width + Ball.shootSpeed;
Ball.sceneHeight = height + Ball.shootSpeed;
Ball.holder_width = ball_width;
Ball.timer = _timer;
};
v2.shoot = function (x, y) {
var v2;
v2 = Ball.shootSpeed / Math.sqrt(x * x + y * y);
this.dx = x * v2;
this.dy = y * v2;
this.sht_val = setInterval(this, 'shootStep', Ball.timer);
};
v2.shootStep = function () {
this.x += this.dx;
this.y += this.dy;
if (this.outOfScene()) {
this.broadcastMessage('shootFinish', this);
this.clearBall();
} else {
this.holder._x = this.x;
this.holder._y = this.y;
this.broadcastMessage('shootStep', this);
}
updateAfterEvent();
};
v2.clearBall = function () {
clearInterval(this.sht_val);
this.holder.removeMovieClip();
false;
};
v2.moveStop = function () {
clearInterval(this.sht_val);
};
v2.outOfScene = function () {
return this.x < -Ball.shootSpeed || this.y < -Ball.shootSpeed || this.x > Ball.sceneWidth || this.y > Ball.sceneHeight;
};
ASSetPropFlags(_global.Ball.prototype, null, 1);
}
#endinitclip
}
movieClip 1016 __Packages.Grid {
#initclip
if (!_global.Grid) {
var v1 = function (__width, w, h, arr) {
this.width = __width;
this.xNum = w;
this.yNum = h;
this.area = arr;
};
_global.Grid = v1;
var v2 = v1.prototype;
v2.push = function (x, y, mc, name) {
var v2;
var v3;
var v6;
v2 = Math.floor(x / this.width);
v3 = Math.floor(y / this.width);
this.area[v2][v3][name].push(mc);
};
v2.pop = function (x, y, mc, name) {
var v3;
var v4;
var v2;
v3 = Math.floor(x / this.width);
v4 = Math.floor(y / this.width);
v2 = 0;
while (v2 < this.area[v3][v4][name].length) {
if (this.area[v3][v4][name][v2] == mc) {
trace(this.area);
this.area[v3][v4][name].splice(v2, 1);
trace(this.area);
break;
}
++v2;
}
};
ASSetPropFlags(_global.Grid.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
var zz = false;
if (!HQdaoju) {
bu1._alpha = 50;
bu1.enabled = false;
}
bu2.onPress = function () {
_root.gotoAndStop('mode');
};
bu1.onPress = function () {
this._alpha = 50;
this.enabled = false;
HQdaoju = false;
get_ad(_root.propNums);
};
}
// unknown tag 88 length 197
button 161 {
on (release) {
_root.gotoAndStop('ModeE');
_root.show_mc_visible = true;
}
}
button 162 {
on (release) {
_root.gotoAndStop('howToPlay');
}
}
button 163 {
on (release) {
_root.gotoAndStop('gameFail2');
}
}
button 164 {
on (release) {
getURL('http://www.nx8.com/?utm_source=honeytrouble&utm_medium=honeytrouble&utm_campaign=honeytrouble', '_blank');
}
}
movieClip 165 {
frame 27 {
stop();
bu1_btn.onRelease = function () {
_root.gotoAndStop('ModeE');
_root.show_mc_visible = true;
};
bu2.onPress = function () {
_root.gotoAndStop('gameFail2');
};
howtoplay.onPress = function () {
_root.gotoAndStop('howToPlay');
};
bu3.onRelease = function () {};
bu4.onRelease = function () {};
var my_so = SharedObject.getLocal('savedText', '/');
aaa.onRelease = function () {
_root.levelNum = Number(my_so.data.myTextSaved);
_root.unblack = undefined;
delete _root.unblack;
if (_root.pop_.length <= 0) {
_root.pop_ = ['h', 'o', 'n', 'e', 'y'];
}
_root.BOX_x.removeMovieClip();
_root.BOX_x.removeMovieClip();
_root.attachMovie('BOX_x', 'BOX_x', _root.getNextHighestDepth());
if (Number(_root.item_modified) >= 2) {
if (Number(_root.item_modified) >= 2) {
_root.ss1 *= 1.1;
_root.xx1 *= 1.1;
trace('_root.score:' + _root.score);
_root.setGoal(Math.floor(_root.goal_total * 0.1));
}
}
_root.ss1 += int(finalScore - _root.goal_total);
_root.setGoal(int(finalScore - _root.goal_total));
_root.goal_total = my_so.data.myTextSaved;
_root.score = 0;
_root.tess1 = _root.ss1;
_root.texx1 = _root.xx1;
++_root.levelNum;
_root.level_pass.stop();
trace(' _root.levelNum = ttt ' + _root.levelNum);
if (_root.levelNum == 8 || _root.levelNum == 15 || _root.levelNum == 22) {
trace(' xxxxx _root.levelNum = ' + _root.levelNum);
_root.gotoAndStop('gameWin');
} else {
trace('-------- _root.levelNum = ' + _root.levelNum);
_root.gotoAndStop('mode');
}
};
}
}
movieClip 172 {
}
movieClip 223 sp2 {
frame 38 {
this.removeMovieClip();
}
}
movieClip 237 {
}
movieClip 238 {
}
movieClip 245 hold {
}
movieClip 274 removeTX {
frame 1 {
_root.havingRemoveEffect = true;
}
frame 14 {
delete _root.havingRemoveEffect;
this.removeMovieClip();
}
}
movieClip 275 targetBall {
frame 1 {
roll_frame = 0;
roll_mc.stop();
stop();
}
frame 10 {
gotoAndStop('remove');
}
frame 14 {
if (flower) {
flower.removeMovieClip();
}
_root.removeTxName = _root.attachMovie('removeTX', 'removeTX' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': this._x, '_y': this._y, '_xscale': 150, '_yscale': 150});
trace('remove_id:ee' + remove_id);
_parent._parent.remove_movie_end(remove_id);
gotoAndPlay('rongyu');
}
frame 23 {
_parent._parent.remove_movie_end(remove_id);
gotoAndPlay('rongyu');
}
frame 33 {
_parent._parent.remove_movie_end(remove_id);
gotoAndPlay('rongyu');
}
frame 43 {
_parent._parent.remove_movie_end(remove_id);
gotoAndPlay('rongyu');
}
frame 48 {
_parent._parent.remove_movie_end(remove_id);
gotoAndPlay('rongyu');
}
frame 59 {
_parent._parent.remove_movie_end(remove_id);
gotoAndPlay('rongyu');
}
frame 64 {
trace('冗余?除');
_root.checkRemove(this, 0);
stop();
}
}
movieClip 279 {
}
movieClip 282 {
}
movieClip 287 attBall {
frame 1 {
stop();
}
}
movieClip 289 {
}
movieClip 290 ball_shadow_mc {
frame 4 {
this.removeMovieClip();
}
}
movieClip 305 booms {
frame 21 {
_root.crtNewBall();
this.removeMovieClip();
}
}
movieClip 308 {
}
movieClip 311 {
}
movieClip 312 {
}
movieClip 313 dot {
frame 7 {
this.removeMovieClip();
}
}
movieClip 316 {
frame 1 {
stop();
}
frame 17 {
this.gotoAndPlay('start');
}
}
movieClip 319 {
}
movieClip 320 dot2 {
frame 16 {
this.removeMovieClip();
}
}
movieClip 324 {
}
movieClip 360 sp1 {
frame 25 {
stop();
this.removeMovieClip();
}
}
movieClip 361 goback_mc {
frame 21 {
this.removeMovieClip();
}
}
movieClip 363 index_center_dot {
}
movieClip 365 index_end_dot {
}
movieClip 368 {
}
movieClip 370 {
}
movieClip 373 {
frame 8 {
stop();
}
}
movieClip 375 {
frame 1 {
stop();
}
}
movieClip 376 index_holder {
frame 1 {
_btn.useHandCursor = false;
}
}
movieClip 378 index_start_dot {
}
movieClip 399 mynum {
}
movieClip 420 mynum2 {
}
movieClip 422 {
}
movieClip 423 remove_mc {
frame 5 {
_parent._parent.removeBall(_parent);
}
}
movieClip 425 {
}
movieClip 426 shine2 {
frame 20 {
_parent._parent.winMovie_mc.gotoAndPlay(2);
this.removeMovieClip();
}
}
movieClip 427 superball_shadow_mc {
frame 8 {
this.removeMovieClip();
}
}
movieClip 429 topMenu {
frame 1 {
function game_pause(p) {
trace(p);
if (p) {
_parent.game_pause = true;
_parent.stopAll.obj = _root;
_parent.stopAll.gotoAndPlay(2);
stopAllSounds();
} else {
trace('游???');
_parent.speed_listener.initSpeed();
_parent.game_pause = false;
_parent.stopAll.playObj(_root);
if (_parent.bgSnd_bool) {
_parent.bg_sound.start(0, 1000);
}
if (!_parent.speedCheck) {
_quality = _parent.use_quality;
} else {
_parent.speed_listener.initSpeed();
}
}
play();
}
function reStart() {
delete _parent.pos_array;
_parent.clearAll();
_parent.setPara_default();
game_pause(false);
stopAllSounds();
_parent.gotoAndStop('start');
}
init_depth = this.getDepth();
obj = new MovieClip();
sobj = new MovieClip();
checkObj = function (obj) {
obj.stopChecked = true;
for (name in obj) {
if (typeof obj[name] == 'movieclip' && obj[name] != this) {
obj[name].frame55555 = obj[name]._currentframe;
if (!obj[name].stopChecked) {
checkObj(obj[name]);
}
}
}
};
stopObj = function (obj) {
obj.stoped55555 = true;
for (name in obj) {
if (typeof obj[name] == 'movieclip' && obj[name] != this) {
if (obj[name].frame55555 != obj[name]._currentframe && obj[name].frame55555 != undefined) {
obj[name].stop55555 = true;
obj[name].stop();
if (obj[name] == _parent.center_mc && obj[name]._currentframe == 1) {
delete obj[name].stop55555;
}
}
if (!obj[name].stoped55555 && obj[name] != _parent.center_mc) {
stopObj(obj[name]);
}
}
}
};
playObj = function (obj) {
delete obj.stoped55555;
delete obj.stopChecked;
for (name in obj) {
if (typeof obj[name] == 'movieclip' && obj[name] != this) {
if (obj[name].stop55555) {
obj[name].play();
delete obj[name].stop55555;
delete obj[name].frame55555;
}
if (obj[name].stoped55555 != undefined) {
playObj(obj[name]);
}
}
}
};
stop();
}
frame 2 {
this.swapDepths(100);
noClick_btn.useHandCursor = false;
}
frame 3 {
sobj = obj;
checkObj(obj);
}
frame 4 {
trace('游??åœ');
stopObj(sobj);
}
frame 11 {
stop();
}
frame 15 {
_root.pause_mc.gotoAndStop(1);
}
}
movieClip 430 {
frame 1 {
stop();
}
}
movieClip 431 flower {
frame 1 {
stop();
}
}
movieClip 433 {
}
movieClip 434 {
}
movieClip 437 {
}
movieClip 438 {
}
movieClip 449 {
frame 1 {
stop();
}
}
movieClip 450 showTebieCartoon {
frame 1 {
stop();
if (_root.BAllID != undefined) {
gotoAndPlay(2);
}
}
frame 11 {
this.pic.gotoAndStop(_root.BAllID);
}
frame 22 {
stop();
}
}
movieClip 453 {
frame 1 {
stop();
}
}
movieClip 455 {
}
movieClip 462 {
}
movieClip 465 hold_mc {
}
movieClip 467 {
}
movieClip 468 {
}
movieClip 471 {
}
movieClip 474 {
}
movieClip 476 {
}
movieClip 477 {
}
movieClip 479 {
}
movieClip 480 all_num_Pass {
frame 1 {
stop();
}
frame 2 {
_root.Allstop = true;
_root.setGoal(1000);
}
frame 52 {
_root.Allstop = false;
_root.re_back_func_();
var nowScore = _root.attachMovie('appearPoint', 'appearPoint' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
nowScore._x = 250;
nowScore._y = 250;
nowScore.addItemPoint = 1000;
_root.setGoal(1000);
}
}
movieClip 494 appearPoint {
frame 17 {
this.removeMovieClip();
}
}
movieClip 498 {
}
movieClip 499 {
frame 1 {
stop();
var Stop_ = _root.pop_[random(_root.pop_.length - 1)];
this.gotoAndStop(Stop_);
}
frame 2 {
stop();
this.id = 'h';
}
frame 3 {
this.id = 'o';
}
frame 4 {
this.id = 'n';
}
frame 5 {
this.id = 'e';
}
frame 6 {
this.id = 'y';
}
}
movieClip 500 BOX_x {
frame 1 {
stop();
this.gotoAndStop(3);
}
frame 2 {
function box_pos(arr) {
var v2 = random(arr.length - 1);
this._x = arr[v2].x;
this._y = arr[v2].y;
}
function fine_arr_menber(arr, what) {
var v2 = 0;
while (v2 < arr.length) {
if (arr[v2] == what) {
arr.splice(v2, 1);
_root.setGoal(100);
if (arr.length <= 0) {
_root.show_win_mc.gotoAndPlay(2);
break;
}
}
++v2;
}
}
stop();
if (_root.levelNum <= 7) {
box_pos(_root.pos_arr_1);
}
if (_root.levelNum > 7 && _root.levelNum <= 14) {
box_pos(_root.pos_arr_2);
}
if (_root.levelNum > 14 && _root.levelNum <= 21) {
box_pos(_root.pos_arr_3);
}
this.box_num2 = 0;
this.onEnterFrame = function () {
++box_num2;
if (box_num2 >= 250) {
if (_root.levelNum <= 7) {
box_pos(_root.pos_arr_1);
}
if (_root.levelNum > 7 && _root.levelNum <= 14) {
box_pos(_root.pos_arr_2);
}
if (_root.levelNum > 14 && _root.levelNum <= 21) {
box_pos(_root.pos_arr_3);
}
box_num2 = 0;
}
if (xiang.area.hitTest(_root.ball.holder)) {
var v3 = _root.attachMovie('appearPoint', 'appearPoint' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = _root.ball.holder._x;
v3._y = _root.ball.holder._y;
v3.addItemPoint = 100;
_root.remove_sound.start(0);
_root.ball.holder._visible = false;
if (xiang.id == 'h') {
_root.pop1.gotoAndStop(2);
fine_arr_menber(_root.pop_, xiang.id);
} else {
if (xiang.id == 'o') {
_root.pop2.gotoAndStop(3);
fine_arr_menber(_root.pop_, xiang.id);
} else {
if (xiang.id == 'n') {
_root.pop3.gotoAndStop(4);
fine_arr_menber(_root.pop_, xiang.id);
} else {
if (xiang.id == 'e') {
_root.pop4.gotoAndStop(5);
fine_arr_menber(_root.pop_, xiang.id);
} else {
if (xiang.id == 'y') {
_root.pop5.gotoAndStop(6);
fine_arr_menber(_root.pop_, xiang.id);
}
}
}
}
}
delete onEnterFrame;
_root.BAllID = xiang.id;
this.nextFrame();
}
};
}
frame 3 {
_root.once_time = 1;
this.count_num = 250;
this.onEnterFrame = function () {
--this.count_num;
if (this.count_num <= 0) {
delete this.onEnterFrame;
if (_root.pop_.length > 0) {
this.gotoAndStop(2);
}
}
};
}
}
movieClip 502 {
}
movieClip 513 {
frame 2 {
stop();
}
}
movieClip 515 {
}
movieClip 516 combo {
frame 4 {
shu.gotoAndStop(_root.maxcomboTE);
trace('_root.maxcomboTE=' + _root.maxcomboTE);
}
frame 23 {
this.removeMovieClip();
}
}
movieClip 518 playerVersionHint {
}
movieClip 520 test2 {
}
movieClip 539 {
}
frame 3 {
function attachSoundHandel(linkName) {
var v1 = new Sound(soundMC);
v1.attachSound(linkName);
return v1;
}
trace(start_time + 'hsdfhisduhfiushfuishfijshfijhsfiuhsijfh');
var old_levelNum;
if (Sound_blo_22 == undefined) {
Sound_blo_22 = 1;
start_sound_ = attachSoundHandel('last_win');
}
if (start_sound_Now == undefined) {
start_sound_Now = true;
start_sound_.start(0, 1100);
}
}
frame 4 {
play();
}
frame 5 {
function clearSO_road() {
delete so.data.use_road;
delete use_road;
so.data.use_road = new Array();
use_road = so.data.use_road;
}
function findRoadName(str) {
i = 0;
while (i < use_road.length) {
if (use_road[i].road_name == str) {
return i;
}
++i;
}
return undefined;
}
function crtIndexImg(pres, bili, save_data, holder) {
trace('create a index img');
var v4 = save_data.road;
var v7 = new Object();
v7 = save_data.center_pos;
var v8 = save_data.road_name;
var v5 = Math.floor(v4.length / pres);
var v1 = new Array();
i = 0;
while (i < v5) {
v1.push(v4[i * pres]);
++i;
}
if (v4.lngth % pres != 0) {
v1.push(v4[v4.length - 1]);
}
holder.obj.attachMovie('index_start_dot', 'dot1', 0);
holder.obj.dot1._x = v1[0].x * bili;
holder.obj.dot1._y = v1[0].y * bili;
holder.obj.attachMovie('index_end_dot', 'dot2', 1);
holder.obj.dot2._x = v1[v1.length - 1].x * bili;
holder.obj.dot2._y = v1[v1.length - 1].y * bili;
holder.obj.attachMovie('index_center_dot', 'dot3', 4);
holder.obj.dot3._x = v7.x * bili;
holder.obj.dot3._y = v7.y * bili;
holder.obj.lineStyle(1, 10053120, 100);
holder.obj.moveTo(v1[0].x * bili, v1[0].y * bili);
i = 1;
while (i < v1.length) {
holder.obj.lineTo(v1[i].x * bili, v1[i].y * bili);
++i;
}
holder.road_name = v8;
holder.pos_array = v4;
holder.center_pos = v7;
}
levelTotal = 22;
so = SharedObject.getLocal('mykaka_starBall_b');
if (!so.data.use_road) {
so.data.use_road = new Array();
}
var xCpu = lan_CPU;
if (so.data.scores == undefined) {
so.data.scores = new Array([xCpu, 70000], [xCpu, 50000], [xCpu, 30000], [xCpu, 10000], [xCpu, 5000], [xCpu, 3000], [xCpu, 1000]);
}
so.onStatus = function (code) {
trace(code);
};
use_road = so.data.use_road;
if (so.data.level_success == undefined) {
so.data.level_success = new Array();
var i = 0;
while (i < levelTotal) {
so.data.level_success[i] = false;
++i;
}
}
if (so.data.levelSec == undefined) {
so.data.levelSec = new Array();
}
levelSec = so.data.levelSec;
}
frame 6 {
var score = 0;
goal_total = score;
var maxcombo = 0;
var maxcombonum = 0;
var combotol = 0;
var RtoA = 57.29578;
var AtoR = 0.01745329;
width = 34;
posXishu = 200;
timer = 50;
life = 1;
level = '';
levelNum = 1;
game_pause = false;
flower_show_bool = false;
ball_shadow = false;
ball_shadowID = 800;
gameTest = false;
speedCheck = true;
use_quality = 1;
bgSnd_bool = true;
initCanRemoveNum = 2;
superBall_rnd = 20;
flower_array = [16750848, 39168, 3381759, 16724838, 7088039, 6710886, 1004471, 3947520, 8592129];
road_width = 6;
road_color = 16777215;
road_alpha = 40;
road_center_width = 2;
road_center_color = 0;
road_center_alpha = 100;
line_jingdu = 0.47;
line_width = width * line_jingdu;
lineXishu = posXishu * line_jingdu;
initMaxAngle = 20;
max_maxAngle = 45;
min_maxAngle = 2;
tagTime = 80;
tag_array = ['bo', 'bo', 'bo'];
boom_bool = false;
var teBrak = 0;
forward_bool = true;
forward_num_total = 20;
forward_num = 0;
all_forward_speed = -40;
dir_bool = false;
dir_num = 0;
dir_num_total = 500;
boom_bool = false;
boom_area = 100;
boom_lock_times = 0;
boom_lock_total = 20;
tgt_num = 0;
tgt_depth = 100;
b_depth = 1000;
balls_num = 0;
insert_total_times = 4;
insert_step = posXishu / insert_total_times / 2;
init_goback_speed = -15;
max_goback_speed = -100;
remove_arr_array = new Array();
break_array = new Array();
gameOver = false;
remove_num = 0;
goal_total = 0;
goal = 10;
goal_leave = 50;
tgt_totalNum = 220;
tgt_speed = 200;
min_speed = 18;
speed_a = 3;
tgt_type = 5;
type_num_array = new Array();
i = 1;
while (i <= tgt_type) {
type_num_array[i] = 0;
++i;
}
tgt_same_base = 1;
tgt_same_change = 3;
tgt_same_total = tgt_same_base + random(tgt_same_change);
tgt_same_num = 0;
last_pos = 0;
levelTimes = 0;
}
frame 7 {
function pushGrid(obj, isnew) {
if (!obj.removing) {
if (isnew || Math.floor(obj.oldx / grid_width) != Math.floor(obj._x / grid_width) || Math.floor(obj.oldy / grid_width) != Math.floor(obj._y / grid_width)) {
myGrid.pop(obj.oldx, obj.oldy, obj, 'tgt_ball');
myGrid.push(obj._x, obj._y, obj, 'tgt_ball');
}
}
}
function go(obj, frame) {
obj.roll_frame += frame;
obj.roll_frame %= obj.flower.roll_mc._totalframes;
obj.flower.roll_mc.gotoAndStop(Math.round(obj.roll_frame) + 1);
}
function dis_func(mc1, mc2) {
if (typeof mc1 != 'movieclip') {
var v3 = mc1.x - mc2._x;
var v4 = mc1.y - mc2._y;
dis = Math.sqrt(Math.pow(v3, 2) + Math.pow(v4, 2));
return dis;
}
if (typeof mc2 != 'movieclip') {
v3 = mc1._x - mc2.x;
v4 = mc1._y - mc2.y;
dis = Math.sqrt(Math.pow(v3, 2) + Math.pow(v4, 2));
return dis;
}
v3 = mc1._x - mc2._x;
v4 = mc1._y - mc2._y;
dis = Math.sqrt(Math.pow(v3, 2) + Math.pow(v4, 2));
return dis;
}
function updatePos(obj, _speed, isNew) {
if (_root.ball_number_n == 0 && balls_num < 18) {
now_type_tmp_arr = [];
for (var v7 in tgt_mcs) {
if (tgt_mcs[v7].type < 7 && tgt_mcs[v7].type != undefined && tgt_mcs[v7].type != 11 && tgt_mcs[v7].type != 9 && (String(typeof tgt_mcs[v7])).length != 0) {
now_type_tmp_arr.push(tgt_mcs[v7].type);
}
}
}
lost_pox = {'x': pos_array[pos_array.length - 1].x, 'y': pos_array[pos_array.length - 1].y};
hold_mx.x = pos_array[pos_array.length - 3].x;
hold_mx.y = pos_array[pos_array.length - 3].y;
obj.oldx = int(obj._x);
obj.oldy = int(obj._y);
if (obj.pos < pos_array.length * lineXishu) {
var v5 = Math.floor(obj.pos / lineXishu);
var v8 = obj.pos - v5 * lineXishu;
var v6 = new Object();
v6.dx = v8 * pos_array[v5].dx;
v6.dy = v8 * pos_array[v5].dy;
v6.dr = v8 * pos_array[v5].dr;
obj._x = int(pos_array[v5].x + v6.dx);
obj._y = int(pos_array[v5].y + v6.dy);
}
if (holdBall_mc.hold_mc != undefined && obj.hitTest(holdBall_mc.hold_mc.trg)) {
if (_root.EndBall != obj) {
++hold_mx.num;
var v2 = [obj];
sp_xiqiu = true;
var v3 = new Object();
v3.tgt_remove_num = 0;
v3.id = random(65535);
v3.remove_array = v2;
remove_arr_array[v3.id] = v3;
remove_sound.start(0);
i = 0;
while (i < v2.length) {
v2[i].remove_id = v3.id;
myGrid.pop(v2[i]._x, v2[i]._y, v2[i], 'tgt_ball');
v2[i].removing = true;
v2[i].gotoAndPlay('remove');
++i;
}
if (_root.ball == undefined) {
_root.crtNewBall();
}
if (hold_mx.num >= 3) {
_root.holdBall2 == false;
_root.holdBall = false;
holdBall_mc.hold_mc.unloadMovie();
hold_mx.num = 0;
}
}
}
holdBall_mc.hold_mc.show_txt.text = 3 - hold_mx.num;
}
function push_balls(obj, _speed) {
if (!Allstop) {
obj.pos += _speed;
} else {
obj.pos += 0;
}
updatePos(obj, _speed, false);
if (obj.right._name != undefined) {
if (obj._currentframe < 12) {
return push_balls(obj.right, _speed);
} else {
remove_movie_end(obj.remove_id);
}
} else {
return obj;
}
}
function pull_balls(obj, _speed) {
obj.pos += _speed;
trace(' carry from pull_balls ');
updatePos(obj, _speed, false);
if (obj.left._name != undefined) {
return pull_balls(obj.left, _speed);
} else {
return obj;
}
}
function find_break_ball(obj) {
if (obj.left._name != undefined) {
return find_break_ball(obj.left);
} else {
return obj;
}
}
function find_last() {
var v1;
if (last_ball._name == undefined) {
v1 = firstBall;
} else {}
v1 = last_ball;
for (;;) {
if (!(v1.right._name != undefined || v1.link_right._name != undefined)) break;
if (v1.right._name != undefined) {
v1 = v1.right;
} else {
if (v1.link_right._name != undefined) {
}
}
v1 = v1.link_right;
}
last_ball = v1;
if (last_ball._name != undefined) {
last_pos = last_ball.pos;
last_pos -= last_pos % posXishu;
}
}
function goback_all_balls() {
var v1 = firstBall;
v1.pos += all_forward_speed;
trace(all_forward_speed);
updatePos(v1, all_forward_speed, false);
trace(' carry from goback_all_balls ');
for (;;) {
if (!(v1.right._name != undefined || v1.link_right._name != undefined)) break;
if (v1.right._name != undefined) {
v1 = v1.right;
} else {
if (v1.link_right._name != undefined) {
v1 = v1.link_right;
}
}
v1.pos += all_forward_speed;
trace(' carry from all_forward_speed ');
updatePos(v1, all_forward_speed, false);
}
}
function align_left_balls(obj) {
while (obj._name != undefined) {
obj.pos = obj.left.pos + posXishu;
obj = obj.right;
}
}
function align_right_balls(obj) {
while (obj._name != undefined) {
obj.pos = obj.right.pos - posXishu;
obj = obj.left;
}
}
function break_array_pop(obj) {
i = 0;
while (i < break_array.length) {
if (break_array[i] == obj) {
obj.goback_speed = 0;
obj.goback_speed2 = 0;
break_array.splice(i, 1);
break;
}
++i;
}
}
function getNewType(oldtype) {
if (tgt_same_num < tgt_same_total) {
return oldtype;
} else {
tgt_same_num = 0;
tgt_same_total = tgt_same_base + random(tgt_same_change);
do {
var newType = random(tgt_type) + 1;
} while (newType == oldtype);
return newType;
}
}
function mcDistance(mc0, mc1) {
var v1 = mc0._x - mc1._x;
var v2 = mc0._y - mc1._y;
return Math.sqrt(v1 * v1 + v2 * v2);
}
function mcDistance2(mc0, mc1) {
return Math.abs(mc0.pos - mc1.pos);
}
function setTag(obj, tag_bool) {
obj.tag = '';
if (random(tagTime) == 0 && tag_bool) {
} else {
obj.flower.tag_mc.stop();
obj.flower.tag_mc._visible = false;
}
}
function setMotherDir(rada) {
if (dir_bool) {
var v1 = new Object();
var v2 = new Object();
var v3 = new Object();
v1.x = ball.x;
v1.y = ball.y;
v1 = find_dir(v1, rada);
v2.x = Math.round(ball.x - 3 * Math.sin(rada));
v2.y = Math.round(ball.y + 3 * Math.cos(rada));
v3.x = Math.round(ball.x + 3 * Math.sin(rada));
v3.y = Math.round(ball.y - 3 * Math.cos(rada));
dir_mc.clear();
dir_mc.beginFill(16711680, 30);
dir_mc.moveTo(v1.x, v1.y);
dir_mc.lineTo(v2.x, v2.y);
dir_mc.lineTo(v3.x, v3.y);
dir_mc.lineTo(v1.x, v1.y);
++dir_num;
trace(dir_num + ':' + dir_num_total);
if (dir_num >= dir_num_total) {
dir_bool = false;
dir_mc.clear();
}
}
}
function outOfScene(pos) {
return pos.x < 0 || pos.y < 0 || pos.x > sceneWidth || pos.y > sceneHeight || mouth_start.pro_area.hitTest(pos.x, pos.y, true);
}
function find_dir(pos, rada) {
var v4;
var v2 = width * 2 - 1;
while (!outOfScene(pos)) {
pos.x += v2 * Math.cos(rada);
pos.y += v2 * Math.sin(rada);
}
return pos;
}
function ball_boom(boom_obj) {
_root.Boom_blo = true;
_root.boom_num = 0;
if (firstBall._name != undefined && boom_obj._name != undefined) {
var v3 = firstBall;
var v6 = random(65535);
if (mcDistance(boom_obj, v3) < boom_area && _root.jumpBall != true) {
var v4 = new Object();
v4.tgt_remove_num = 0;
v4.id = v6;
v4.remove_array = new Array();
v4.remove_array.push(v3);
remove_arr_array[v6] = v4;
v3.remove_id = v6;
}
for (;;) {
if (!(v3.right._name != undefined || v3.link_right._name != undefined)) break;
if (v3.right._name != undefined) {
v3 = v3.right;
} else {
if (v3.link_right._name != undefined) {
v3 = v3.link_right;
}
}
if (mcDistance(boom_obj, v3) < boom_area && _root.jumpBall != true) {
++_root.boom_num;
v6 = random(65535);
v4 = new Object();
v4.tgt_remove_num = 0;
v4.id = v6;
v4.remove_array = new Array();
remove_arr_array[v6] = v4;
v3.checkTag = false;
v3.remove_id = v6;
remove_arr_array[v6].remove_array.push(v3);
if (v3.tag == 'bo') {
var v5 = v3.idnum;
var v8 = _root.attachMovie('showTebieCartoon', 'showTebieCartoon' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v8._x = v3._x;
v8._y = v3._y;
trace(' what_sig = ' + v5);
v8.pic.gotoAndStop(v5);
var v2 = 0;
while (v2 < cha_arr.length) {
if (v5 == cha_arr[v2] && cha_arr2[v2] != 1) {
if (cha_arr[v2] == 'h') {
_root.poop1.gotoAndStop(2);
} else {
if (cha_arr[v2] == 'n') {
_root.poop3.gotoAndStop(4);
} else {
if (cha_arr[v2] == 'o') {
_root.poop2.gotoAndStop(3);
} else {
if (cha_arr[v2] == 'e') {
_root.poop4.gotoAndStop(5);
} else {
if (cha_arr[v2] == 'y') {
_root.poop5.gotoAndStop(6);
}
}
}
}
}
cha_arr.splice(v2, 1);
cha_arr2.splice(v2, 1);
++cha_has;
}
if (cha_has >= 5) {
cha_has = 0;
cha_arr = ['h', 'o', 'n', 'e', 'y'];
cha_arr2 = [0, 0, 0, 0, 0];
re_back_func_();
_root.attachMovie('movieClassMC', 'movieClassMC' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 158, '_y': 172});
next_leve_func();
break;
}
++v2;
}
}
v3.gotoAndPlay('boom');
var v7 = _root.attachMovie('appearPoint', 'appearPoint' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v7._x = remove_array[i]._x;
v7._y = remove_array[i]._y;
v7.addItemPoint = 10;
myGrid.pop(v3._x, v3._y, v3, 'tgt_ball');
v3.removing = true;
}
}
}
_root.Boom_blo = false;
}
function setLife(num) {}
function setGoal(num) {
goal_total += num;
trace(_root.tebl * num);
_root.上一åŠåˆ†? += _root.tebl * num;
_root.下一åŠåˆ†? += (1 - _root.tebl) * num;
goal_total_mc.getNum(goal_total, goal_total_mc.obj, 'mynum', 12);
}
function setLevel(level_str) {
trace(level_str + level_mc.getNum);
level_mc.getNum(level_str, level_mc.obj, 'mynum', 12);
}
function setTgt_bar() {
tgtNum_bar.getBallGS(tgt_totalNum - tgt_num, tgtNum_bar.obj, 'mynum', 12);
}
function initShowPara() {
tgtNum_bar.bar._width = 0;
life_mc.getNum(life, life_mc.obj, 'mynum', 12);
goal_total_mc.getNum(0, goal_total_mc.obj, 'mynum', 12);
level_mc.getNum('_', level_mc.obj, 'mynum', 12);
}
function winMove() {
_root.center_mc._rotation = 90;
line2.attachMovie('dot2', 'dot2' + last_pos, last_pos);
line2['dot2' + last_pos]._x = pos_array[Math.floor(last_pos / lineXishu)].x;
line2['dot2' + last_pos]._y = pos_array[Math.floor(last_pos / lineXishu)].y;
EndBall._x = pos_array[Math.floor(last_pos / lineXishu)].x;
EndBall._y = pos_array[Math.floor(last_pos / lineXishu)].y;
setGoal(10);
last_pos += posXishu;
if (last_pos >= pos_array.length * lineXishu - posXishu) {
EndBall.removeMovieClip();
mouth.TX.gotoAndStop(1);
delete move_listener_mc.onEnterFrame;
mouth.attachMovie('shine2', 'shine', 0);
levelUp_sound.start(0);
}
}
if (_root.unblack != undefined) {
_root.unblack = undefined;
}
var hold_mx = {};
hold_mx.num = 0;
}
frame 8 {
function testClear() {
test_left.clear();
test_link_left.clear();
test_right.clear();
test_link_right.clear();
test_first.clear();
test_last.clear();
}
this.createEmptyMovieClip('sound_mc', 1);
this.createEmptyMovieClip('moveIn_sound_mc', 2);
this.createEmptyMovieClip('bg_sound_mc', 11);
this.createEmptyMovieClip('shoot_listener_mc', 3);
this.createEmptyMovieClip('move_listener_mc', 4);
this.createEmptyMovieClip('test_left', 5);
this.createEmptyMovieClip('test_right', 6);
this.createEmptyMovieClip('test_link_left', 7);
this.createEmptyMovieClip('test_link_right', 8);
this.createEmptyMovieClip('test_first', 9);
this.createEmptyMovieClip('test_last', 10);
this.createEmptyMovieClip('null_mc', 12);
}
frame 9 {
function tgt_forward() {
if (!startplay) {
startplay = true;
}
var v2 = 0;
for (var v3 in tgt_mcs) {
if (tgt_mcs[v3]._x > 0 && tgt_mcs[v3]._x < 560) {
if (tgt_mcs[v3]._y > 0 && tgt_mcs[v3]._y < 400) {
++v2;
}
}
}
if (v2 < _root['ballRollBackNum' + levelNum] && !setGameLevelStart) {
if (!(EndBall._x > 0 && EndBall._x < 560 && EndBall._y > 0 && EndBall._y < 400) && ((String(_root.removeTxName)).length == 0 || _root.removeTxName == undefined) && !insert_bool) {
tgt_speed = ballRollBackSpeeds;
}
}
if (tgt_speed > 50 && setGameLevelStart) {
setGameLevelStart = null;
}
if (tgt_speed > min_speed) {
if (v2 < _root['rollOutAllBall' + levelNum] - rollAllBallCutNum && tgt_speed > 50) {
tgt_speed -= speed_a;
} else {
if (v2 >= _root['rollOutAllBall' + levelNum] - rollAllBallCutNum || EndBall._x > 0 && EndBall._x < 560 && EndBall._y > 0 && EndBall._y < 400) {
tgt_speed -= speed_a;
setGameLevelStart = null;
}
}
} else {
if (tgt_speed < min_speed && tgt_speed > -posXishu && !Allstop) {
tgt_speed += speed_a;
}
}
if (firstBall.pos < -200 && tgt_speed < 100) {
if (!teBrak) {
tgt_speed += Math.round(Math.abs(tgt_speed / 4));
}
}
if (tgt_speed < speed_a * 2) {
}
if (boom_bool) {
++boom_lock_times;
if (boom_lock_times >= boom_lock_total) {
boom_bool = false;
forward_bool = true;
tgt_speed = min_speed;
}
} else {
if (!forward_bool) {
if (forward_num < forward_num_total) {
goback_all_balls();
++forward_num;
} else {
forward_bool = true;
tgt_speed = min_speed;
}
} else {
if (firstBall) {
push_balls(firstBall, tgt_speed);
}
}
}
crt_new_ball();
if (insert_bool) {
tgt_insert_move();
}
if (!boom_bool) {
move_break();
}
check_fail();
if (gameTest) {
draw_test_line();
}
if (speedCheck) {
speed_listener.showSpeed();
}
++levelTimes;
}
function crt_new_ball() {
if (tgt_num < tgt_totalNum) {
if (firstBall._name != undefined) {
var v1 = firstBall.pos;
if (v1 > 0) {
if (tgt_speed < posXishu) {
if (v1 >= posXishu) {
if (v1 < posXishu + tgt_speed) {
firstBall = tgt_push_first(v1 - posXishu, getNewType(firstBall.type), false);
} else {
firstBall = tgt_push_first(0, getNewType(firstBall.type), true);
}
}
} else {
firstBall = tgt_push_first(v1 - posXishu, getNewType(firstBall.type), false);
if (firstBall.pos > posXishu) {
crt_new_ball();
}
}
}
} else {
firstBall = tgt_push_first(0, random(tgt_type) + 1);
}
setTgt_bar();
}
}
function tgt_push_first(pos, type, break_bool) {
var v2 = tgt_mcs.attachMovie('targetBall', '_t' + tgt_depth, tgt_depth);
setTag(v2, true);
if (type == 10) {
type = 1;
}
if (_root.blackandom == tgt_num) {
v2.gotoAndStop(9);
_root.black_ball_mc = v2;
v2.type = 10;
randomhei1 = 0;
} else {
v2.gotoAndStop(type);
v2.type = type;
}
if (tgt_num == tgt_totalNum - 1) {
v2.gotoAndStop(11);
v2.type = 11;
EndBall = v2;
}
v2._x = pos_array[Math.floor(pos / lineXishu)].x;
v2._y = pos_array[Math.floor(pos / lineXishu)].y;
if (flower_show_bool) {
} else {
v2.cacheAsBitmap = true;
v2.flower.roll_mc._visible = false;
}
v2.goback_speed = 0;
v2.goback_speed2 = 0;
v2.pos = pos;
v2.depth = tgt_depth;
v2.removing = false;
v2.checkTag = true;
++tgt_depth;
++tgt_num;
++tgt_same_num;
++balls_num;
++type_num_array[type];
if (break_bool == false) {
211;
v2.right = firstBall;
v2.left = undefined;
v2.link_right = undefined;
v2.link_left = undefined;
firstBall.left = v2;
firstBall.link_left = undefined;
return v2;
}
if (break_bool) {
v2.right = undefined;
v2.left = undefined;
v2.link_right = firstBall;
v2.link_left = undefined;
firstBall.left = undefined;
firstBall.link_left = v2;
return v2;
}
v2.right = undefined;
v2.left = undefined;
v2.link_right = undefined;
v2.link_left = undefined;
return v2;
}
function tgt_insert_start(obj, dir) {
teindir_sp = dir;
insert_times = 0;
if (dir == 'left') {
move_left_ball = obj.left;
move_right_ball = obj;
insert_pos = obj.pos - posXishu / 2;
} else {
if (dir == 'right') {
move_left_ball = obj;
move_right_ball = obj.right;
insert_pos = obj.pos + posXishu / 2;
}
}
if (spSuperType == 10) {
}
insert_bool = true;
}
function tgt_insert_move() {
if (move_left_ball._name == undefined && move_right_ball._name == undefined) {
ball.holder.removeMovieClip();
delete ball;
crt_mc.gotoAndPlay(2);
insert_bool = false;
} else {
if (move_left_ball._name != undefined && move_right_ball._name != undefined) {
insert_pos = Math.round((move_left_ball.pos + move_right_ball.pos) / 2);
} else {
if (move_left_ball._name != undefined) {
insert_pos = move_left_ball.pos + posXishu;
} else {
insert_pos = move_right_ball.pos - posXishu;
}
}
var v1 = (pos_array[Math.floor(move_left_ball.pos / lineXishu) + 3].x + pos_array[Math.floor(move_left_ball.pos / lineXishu) + 2].x) / 2;
var v2 = (pos_array[Math.floor(move_left_ball.pos / lineXishu) + 3].y + pos_array[Math.floor(move_left_ball.pos / lineXishu) + 2].y) / 2;
var v3 = true;
ball.holder._x -= (ball.holder._x - v1) / 3;
ball.holder._y -= (ball.holder._y - v2) / 3;
if (teindir_sp == 'left') {
ball.holder._rotation -= 30;
} else {
ball.holder._rotation += 30;
}
++insert_times;
trace(' kinsert_times = ' + insert_times);
if (insert_times <= insert_total_times) {
push_balls(move_right_ball, insert_step);
pull_balls(move_left_ball, -insert_step);
}
if (insert_times == insert_total_times + 2) {
insert_bool = false;
tgt_insert_end(insert_type);
}
}
}
function tgt_insert_end(type) {
crtNewBall();
ball.holder.removeMovieClip();
delete ball;
var v3 = tgt_mcs.attachMovie('targetBall', '_ts' + b_depth, b_depth);
setTag(v3, false);
v3.gotoAndStop(type);
v3.type = type;
if (flower_show_bool) {
} else {
v3.cacheAsBitmap = true;
v3.flower.roll_mc._visible = false;
}
v3.depth = b_depth;
v3.pos = insert_pos;
v3.removing = false;
v3.checkTag = true;
v3.goback_speed = 0;
v3.goback_speed2 = 0;
trace(' carry from tgt_insert_end ');
updatePos(v3, 0, true);
++b_depth;
++balls_num;
++type_num_array[type];
if (move_left_ball._name != undefined) {
move_right_ball = move_left_ball.right;
}
if (move_right_ball._name != undefined) {
move_left_ball = move_right_ball.left;
}
if (move_left_ball.removing && move_right_ball.removing) {
--balls_num;
type_num_array[v3.type];
myGrid.pop(v3._x, v3._y, v3, 'tgt_ball');
v3.removeMovieClip();
} else {
if (move_left_ball._name != undefined && move_right_ball._name != undefined) {
v3.left = move_left_ball;
v3.right = move_right_ball;
v3.link_right = undefined;
v3.link_left = undefined;
move_left_ball.right = v3;
move_left_ball.link_right = undefined;
move_right_ball.left = v3;
move_right_ball.link_left = undefined;
} else {
if (move_left_ball._name == undefined && move_right_ball._name != undefined) {
v3.left = undefined;
v3.right = move_right_ball;
v3.link_left = move_right_ball.link_left;
v3.link_right = undefined;
move_right_ball.link_left.link_right = v3;
move_right_ball.left = v3;
move_right_ball.link_left = undefined;
if (move_right_ball == firstBall) {
firstBall = v3;
} else {
if (v3.type == v3.link_left.type) {
v3.goback_speed = init_goback_speed;
} else {
v3.goback_speed = 0;
}
break_array_pop(move_right_ball);
break_array.push(v3);
}
} else {
if (move_left_ball._name != undefined && move_right_ball._name == undefined) {
v3.left = move_left_ball;
v3.right = undefined;
v3.link_left = undefined;
v3.link_right = move_left_ball.link_right;
move_left_ball.link_right.link_left = v3;
move_left_ball.right = v3;
move_left_ball.link_right = undefined;
} else {
--balls_num;
--type_num_array[v3.type];
myGrid.pop(v3._x, v3._y, v3, 'tgt_ball');
v3.removeMovieClip();
}
}
}
if (v3.pos != undefined) {
if (v3.right._name != undefined) {
align_left_balls(v3.right);
}
if (v3.left._name != undefined) {
align_right_balls(v3.left);
}
if (insert_type == 7) {
this.attachMovie('sp1', 'sp1', this.getNextHighestDepth(), {'_x': v3._x, '_y': v3._y});
v3.type = 10;
checkRemove(v3, 0);
subtract();
teBrak = 1;
forward_bool = false;
forward_num = -10;
goback_all_balls();
PropUse = false;
} else {
if (insert_type == 8) {
v3.type = 10;
checkRemove(v3, 0);
subtract();
} else {
if (insert_type == 9) {
this.attachMovie('sp2', 'sp2', this.getNextHighestDepth(), {'_x': v3._x, '_y': v3._y});
v3.type = 10;
checkRemove(v3, 0);
subtract();
var teConte = 100;
this.onEnterFrame = function () {
Allstop = true;
--teConte;
if (!teConte) {
Allstop = false;
delete this.onEnterFrame;
}
};
PropUse = false;
}
}
}
if (_root.holdBall) {
checkRemove(v3, 0);
subtract();
}
if (_root.jumpBall) {
checkRemove(v3, 0);
} else {
checkRemove(v3, initCanRemoveNum);
}
}
}
}
function checkRemove(obj, CanRemoveNum) {
trace(' obj = ' + obj + ' CanRemoveNum = ' + CanRemoveNum);
var v3 = [obj];
var v5 = obj.right;
var v4 = obj.left;
var v12 = v5.right;
var v13 = v4.left;
if (_root.jumpBall) {
if (_root.ooo > 0) {
v3.unshift(v4);
}
} else {
for (;;) {
if (!(v5._name != undefined && obj.type == v5.type && !v5.removing)) break;
v3.push(v5);
v5 = v5.right;
}
for (;;) {
if (!(v4._name != undefined && obj.type == v4.type && !v4.removing)) break;
v3.unshift(v4);
v4 = v4.left;
}
}
if (_root.ooo) {
v3.shift();
}
if (v3.length > CanRemoveNum) {
sp_xiqiu = true;
var v7 = new Object();
v7.tgt_remove_num = 0;
v7.id = random(65535);
v7.remove_array = v3;
remove_arr_array[v7.id] = v7;
remove_sound.start(0);
i = 0;
while (i < v3.length) {
v3[i].remove_id = v7.id;
myGrid.pop(v3[i]._x, v3[i]._y, v3[i], 'tgt_ball');
v3[i].removing = true;
v3[i].gotoAndPlay('remove');
++i;
}
trace(' myGrid = ' + myGrid);
if (_root.ball == undefined) {
_root.crtNewBall();
if (_root.holdBall) {
_root.holdBall = false;
holdBall_mc.attachMovie('hold_mc', 'hold_mc', this.getDepth() + 1);
holdBall_mc.hold_mc._x = hold_mx.x;
holdBall_mc.hold_mc._y = hold_mx.y;
}
}
} else {
maxcomboTE = 0;
}
++_root.number_num;
if (_root.jumpBall) {
++_root.ooo;
if (_root.ooo < 6 && v4.left != _root.EndBall && v4.left != undefined && v4.left != firstBall) {
checkRemove(v4.left, 0);
subtract();
} else {
_root.ooo = 0;
_root.jumpBall = false;
}
}
trace('PowerMC.hong._x' + PowerMC.hong._x + 'PowerMC.hong2._x' + PowerMC.hong._x + '=====');
if (PowerMC.hong._x >= -6) {
PowerMC.hong._x = -110;
PowerMC.hong2._x = -110;
}
var v9 = _root.unblack == undefined;
var v10 = _root.black_ball_mc != undefined && _root.black_ball_mc != '';
var v8 = _root.black_ball_mc.left._currentframe >= 13 && _root.black_ball_mc.left._currentframe != undefined || _root.black_ball_mc.left == undefined;
var v11 = _root.black_ball_mc.right._currentframe >= 13 && _root.black_ball_mc.right._currentframe != undefined || _root.black_ball_mc.right == undefined;
trace([v9, v10, v8, v11, _root.black_ball_mc]);
if (v9 && v10 && v8 && v11 && (String(_root.black_ball_mc)).length != 0) {
trace('-------------------------------: remove the black ball:' + _root.black_ball_mc);
_root.unblack = 1;
checkRemove(_root.black_ball_mc, 0);
delete _root.unblack;
}
}
function remove_movie_end(id) {
if (remove_arr_array[id].remove_array.length > remove_arr_array[id].tgt_remove_num + 1) {
++remove_arr_array[id].tgt_remove_num;
} else {
remove_ball(id);
}
}
function remove_one(obj) {
var v1 = new Object();
v1.tgt_remove_num = 0;
v1.id = random(65535);
v1.remove_array = [obj];
remove_arr_array[v1.id] = v1;
obj.remove_id = v1.id;
obj.gotoAndPlay('remove_one');
obj.removing = true;
myGrid.pop(obj._x, obj._y, obj, 'tgt_ball');
}
function remove_ball(id) {
var v3 = remove_arr_array[id].remove_array;
delete remove_arr_array[id];
var v12 = v3[0];
var v11 = v3[v3.length - 1];
var v10 = v12.left;
var v9 = v11.right;
if (v10._name == undefined && v9._name == undefined) {
v12.link_left.link_right = v11.link_right;
v11.link_right.link_left = v12.link_left;
if (v12 == firstBall) {
firstBall = v11.link_right;
}
} else {
if (v10._name == undefined) {
v9.left = undefined;
v9.link_left = v12.link_left;
v9.link_left.link_right = v9;
if (v12 == firstBall) {
firstBall = v9;
}
} else {
if (v9._name == undefined) {
v10.right = undefined;
v10.link_right = v11.link_right;
v10.link_right.link_left = v10;
} else {
v10.right = undefined;
v9.left = undefined;
v10.link_right = v9;
v9.link_left = v10;
}
}
}
trace(goal * v3.length + '==AA==');
setGoal(int(goal * v3.length));
var v13 = _root.attachMovie('appearPoint', 'appearPoint' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v13._x = v11._x;
v13._y = v11._y;
v13.addItemPoint = goal * v3.length;
getPower();
if (comboPD) {
maxcombonumTE += v3.length;
if (sp_xiqiu) {
++combotol;
++maxcomboTE;
}
if (maxcomboTE > 0) {
if (!combo) {
_root.attachMovie('combo', 'combo', 10000);
combo._x = v13._x;
combo._y = v13._y;
} else {
combo.gotoAndPlay('disp');
}
setGoal(100 * combotol);
}
comboPD = false;
} else {
maxcomboTE = 0;
maxcombonumTE = v3.length;
}
if (maxcomboTE > maxcombo) {
maxcombo = maxcomboTE;
}
if (maxcombonumTE > maxcombonum) {
maxcombonum = maxcombonumTE;
}
i = 0;
while (i < v3.length) {
if (v3[i].checkTag) {
if (v3[i].tag == 'bo') {
var v5 = v3[i].idnum;
var v6 = _root.attachMovie('showTebieCartoon', 'showTebieCartoon' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v6._x = v3[i]._x;
v6._y = v3[i]._y;
v6.pic.gotoAndStop(v5);
var v2 = 0;
while (v2 < cha_arr.length) {
if (v5 == cha_arr[v2] && cha_arr2[v2] != 1) {
if (cha_arr[v2] == 'h') {
_root.poop1.gotoAndStop(2);
} else {
if (cha_arr[v2] == 'o') {
_root.poop2.gotoAndStop(3);
} else {
if (cha_arr[v2] == 'n') {
_root.poop3.gotoAndStop(4);
} else {
if (cha_arr[v2] == 'e') {
_root.poop4.gotoAndStop(5);
} else {
if (cha_arr[v2] == 'y') {
_root.poop5.gotoAndStop(6);
}
}
}
}
}
cha_arr.splice(v2, 1);
cha_arr2.splice(v2, 1);
++cha_has;
}
if (cha_has >= 5) {
cha_has = 0;
cha_arr = ['h', 'o', 'n', 'e', 'y'];
cha_arr2 = [0, 0, 0, 0, 0];
re_back_func_();
_root.attachMovie('movieClassMC', 'movieClassMC' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 158, '_y': 172});
next_leve_func();
break;
}
++v2;
}
}
if (v3[i].tag == 'dir') {
trace(v3[i].tag);
dir_bool = true;
dir_num = 0;
dir_sound.start(0);
var v4 = random(255);
tags_mc.attachMovie('dirs_mc', 'tags' + v4, v4);
tags_mc['tags' + v4]._x = v3[i]._x;
tags_mc['tags' + v4]._y = v3[i]._y;
} else {
if (insert_type == 8) {
boom_bool = true;
boom_lock_times = 0;
ball_boom(v3[i]);
boom_sound.start(0);
var v4 = random(255);
tags_mc.attachMovie('booms', 'tags' + v4, v4);
tags_mc['tags' + v4]._x = v3[i]._x;
tags_mc['tags' + v4]._y = v3[i]._y;
}
}
}
--balls_num;
--type_num_array[v3[i].type];
v3[i].removeMovieClip();
++i;
}
if (v9._name != undefined) {
if (v9.type == v9.link_left.type) {
comboPD = true;
v9.goback_speed = init_goback_speed;
} else {
v9.goback_speed = 0;
}
break_array.push(v9);
sp_xiqiu = false;
}
}
function cheangball() {
if (tgt_num >= tgt_totalNum && balls_num < 25) {
for (;;) {
if (!(type_num_array[ball.type] == 0 && balls_num != 0 && !superBall)) break;
ball.type = random(tgt_type) + 1;
ball.holder.gotoAndStop(ball.type);
center_mc.nextBall2.type = ball.type;
center_mc.nextBall.type = ball.type;
center_mc.nextBall.gotoAndStop(ball.type);
center_mc.nextBall2.gotoAndStop(ball.type);
}
}
}
function cheangballHS() {
if (ball) {
var v1 = ball.type;
tmp0_type = tmp_ball_ball_type_arr[0];
tmp1_type = tmp_ball_ball_type_arr[1];
tmp2_type = tmp_ball_ball_type_arr[2];
tmp_ball_ball_type_arr[0] = tmp2_type;
tmp_ball_ball_type_arr[1] = tmp0_type;
tmp_ball_ball_type_arr[2] = tmp1_type;
ball_type_change = true;
ball.holder.gotoAndStop(tmp_ball_ball_type_arr[0]);
center_mc.nextBall.gotoAndStop(tmp_ball_ball_type_arr[1]);
center_mc.nextBall2.gotoAndStop(tmp_ball_ball_type_arr[2]);
}
}
function move_break() {
var v2;
i = 0;
while (i < break_array.length) {
v2 = break_array[i];
if (v2.link_left._name != undefined) {
var v4;
if (v2.type != v2.link_left.type) {
v4 = posXishu;
} else {
v4 = posXishu - v2.goback_speed;
}
if (mcDistance2(v2, v2.link_left) <= v4) {
var v3 = find_break_ball(v2.link_left);
if (v3 == firstBall) {
if (v2.goback_speed2 == 0) {
tgt_speed += Math.round(v2.goback_speed * 0.6);
} else {
tgt_speed += Math.round(v2.goback_speed2 * 0.8);
}
tgt_speed = Math.max(tgt_speed, max_goback_speed);
} else {
if (v2.goback_speed2 == 0) {
v3.goback_speed2 = Math.round(v2.goback_speed * 0.8);
} else {
v3.goback_speed2 = Math.round(v2.goback_speed2 * 0.8);
}
}
v2.goback_speed = 0;
v2.goback_speed2 = 0;
attach_sound.start(0);
break_array_pop(v2);
v2.left = v2.link_left;
v2.left.right = v2;
v2.link_left = undefined;
v2.left.link_right = undefined;
if (v2.type == v2.left.type && _root.jumpBall != true) {
checkRemove(v2, initCanRemoveNum);
}
while (v2._name != undefined) {
v2.pos = v2.left.pos + posXishu;
v2 = v2.right;
}
} else {
if (v2.type == v2.link_left.type) {
push_balls(v2, v2.goback_speed);
v2.goback_speed += init_goback_speed * 0.8;
v2.goback_speed = Math.max(-posXishu * 1.2, v2.goback_speed);
} else {
if (v2.goback_speed2 < 0) {
push_balls(v2, v2.goback_speed2);
v2.goback_speed2 += 5;
}
}
}
}
++i;
}
}
function check_break(obj) {
if (obj.pos > 0 && obj.pos < pos_array.length * posXishu) {
if (obj.link_left._name != undefined) {
if (mcDistance2(obj, obj.link_left) <= posXishu) {
obj.left = obj.link_left;
obj.left.right = obj;
obj.link_left = undefined;
obj.left.link_right = undefined;
break_array_pop(obj);
align_right_balls(ball2);
}
}
if (obj.link_right._name != undefined) {
if (mcDistance2(obj, obj.link_right) <= posXishu) {
obj.right = obj.link_right;
obj.right.left = obj;
obj.link_right = undefined;
obj.right.link_left = undefined;
break_array_pop(obj);
align_left_balls(ball2);
}
}
}
}
function lost_func2() {
lost_game_blo = false;
_level0.BOX_x.unloadMovie();
delete _root.BAllID;
delete move_listener_mc.onEnterFrame;
setLife(-1);
dir_mc.clear();
failMovie_mc.gotoAndPlay(3);
}
function check_fail() {
find_last();
if (last_pos > pos_array.length * lineXishu && !last_ball.removing) {
holdBall_mc.hold_mc.unloadMovie();
hold_mx.num = 0;
delete _root.holdBall;
_root.holdBall2 == false;
if (!gameOver) {
_level0.BOX_x.unloadMovie();
delete _root.BAllID;
gameZT = '失?';
tgt_speed = 160;
min_speed = -10000;
tgt_totalNum = 0;
speed_a *= -1;
gameOver = true;
a;
m_lock = true;
clearBall();
bg_sound.stop();
create_lost_Sound();
}
if (_root.EndBall == firstBall || balls_num < 2 || lost_game_blo) {
lost_game_blo = false;
_level0.BOX_x.unloadMovie();
delete _root.BAllID;
delete move_listener_mc.onEnterFrame;
trace('?入失??? ');
lost_func2();
bg_sound.stop();
}
last_ball.left.right = undefined;
--balls_num;
--type_num_array[last_ball.type];
myGrid.pop(last_ball._x, last_ball._y, last_ball, 'tgt_ball');
last_ball.removeMovieClip();
} else {
if (balls_num <= 2 && _root.ball_number_n == 0 && _root.EndBall != undefined && String(typeof _root.EndBall.length > 0) && _root.EndBall.right == undefined && _root.EndBall.left == undefined) {
if (balls_num == 2) {
var v2 = [];
for (var v3 in _level0.tgt_mcs) {
v2.push(_level0.tgt_mcs[v3]);
if (v3.substr(2, 1) == 's') {
_level0.BOX_x.unloadMovie();
next_leve_func();
trace('+++++++++++++++++++++++++++++++++++');
break;
}
}
if (_root.dis_func(v2[0], v2[1]) < 15) {
_level0.BOX_x.unloadMovie();
delete _root.BAllID;
gameZT = '失?';
tgt_speed = 160;
min_speed = -10000;
tgt_totalNum = 0;
speed_a *= -1;
gameOver = true;
a;
m_lock = true;
clearBall();
}
} else {
if (balls_num == 1) {
_level0.BOX_x.unloadMovie();
next_leve_func();
trace('--------------------------------------------------------------------------');
}
}
} else {
if (balls_num <= 2 && _root.ball_number_n == 0 && _root.EndBall.right._currentframe == 9) {
holdBall_mc.hold_mc.unloadMovie();
hold_mx.num = 0;
delete _root.holdBall;
_root.holdBall2 == false;
if (balls_num <= 1 && _root.EndBall.right._currentframe == 9) {
_level0.BOX_x.unloadMovie();
delete _root.BAllID;
next_leve_func();
} else {
if (balls_num == 2 && _root.EndBall.right._currentframe == 9 && (String(_root.EndBall)).length != 0) {
_level0.BOX_x.unloadMovie();
delete _root.BAllID;
next_leve_func();
}
}
} else {
if ((last_ball._name == undefined && firstBall._name == undefined || balls_num == 1 && firstBall._name == EndBall._name) && tgt_num >= tgt_totalNum - 1) {
holdBall_mc.hold_mc.unloadMovie();
hold_mx.num = 0;
delete _root.holdBall;
_root.holdBall2 == false;
_level0.BOX_x.unloadMovie();
delete _root.BAllID;
gameZT = '??';
win_sound_.start();
delete move_listener_mc.onEnterFrame;
superBall = false;
m_lock = true;
clearBall();
dir_mc.clear();
trace('clear ball ' + ball);
mouth.TX.play();
move_listener_mc.onEnterFrame = function () {
if (!game_pause) {
winMove();
}
};
var v4 = 0;
cha_arr = ['h', 'o', 'n', 'e', 'y'];
cha_arr2 = [0, 0, 0, 0, 0];
}
}
}
}
lastBlackBall();
}
function getPower() {
if (PowerNum >= 10) {
return undefined;
}
++PowerNum;
if (boom_num > 0) {
--boom_num;
--PowerNum;
if (PowerMC.hong._x < -6) {
PowerMC.hong._x -= -6;
PowerMC.hong2._x -= -6;
}
}
if (PowerMC.hong._x < -6) {
PowerMC.hong._x += PowerStup;
PowerMC.hong2._x += PowerStup;
}
}
function subtract() {
--PowerNum;
if (PowerMC.hong._x < -6) {
PowerMC.hong._x -= PowerStup;
PowerMC.hong2._x -= PowerStup;
}
}
var EndBall;
var teindir_sp;
_root.ooo = 0;
var sp_xiqiu = false;
if (dd) {
_root.black_ball_mc._visible = false;
checkRemove(_root.black_ball_mc, 0);
}
var PowerStup = 12;
var PowerNum = 0;
}
frame 10 {
function crtNewBall() {
trace('crtNewBall 1.5:' + center_mc._currentframe);
center_mc.gotoAndPlay(2);
}
function crt_new() {
trace('crtNewBall 2.5');
if (ball == undefined) {
trace('?生新æ¯çƒ');
if (tmp_ball_ball_type_arr != undefined) {
center_mc.nextBall.type = tmp_ball_ball_type_arr[1];
center_mc.nextBall2.type = tmp_ball_ball_type_arr[2];
}
var v2 = center_mc.nextBall2.type;
if (tgt_num >= tgt_totalNum && balls_num < 11) {
for (;;) {
if (!(type_num_array[v2] == 0 && balls_num != 0)) break;
v2 = random(tgt_type) + 1;
}
}
superBall = false;
var v5 = type_arr[random(type_arr.length)];
var v4 = v2;
ball = new Ball('attBall', 0, center_mc._x, center_mc._y, v2);
_root.nowBall = ball;
canShoot = true;
shooting = false;
set_ball_pos(pos_r, center_mc._rotation * AtoR);
if (_root.jumpBall || _root.boomBall) {
superBall = false;
if (_root.boomBall) {
_root.boomBall = false;
} else {
if (_root.jumpBall) {
_root.jumpBall = false;
}
}
PowerNum = 0;
PowerMC.hong._x = -110;
PowerMC.hong2._x = -110;
}
if (_root.holdBall == undefined || _root.holdBall2 == true && holdBall_mc.hold_mc != undefined && v2 == 12 && hold_mx.num == 0 && heidong_vnt > 1) {
type_arr = [7, 9, 8, 12];
} else {
type_arr = [7, 8, 9];
}
if (_root.jumpBall || _root.boomBall || _root.holdBall) {
if (_root.boomBall) {
_root.boomBall = false;
} else {
if (_root.jumpBall) {
_root.jumpBall = false;
} else {
if (_root.holdBall) {
_root.holdBall = false;
}
}
}
PowerNum = 0;
PowerMC.hong._x = -110;
PowerMC.hong2._x = -110;
}
v2 = random(tgt_type) + 1;
if (tgt_num >= tgt_totalNum && balls_num < 11 || balls_num == 12) {
for (;;) {
if (!(type_num_array[v2] == 0 && balls_num != 0)) break;
v2 = random(tgt_type) + 1;
}
}
if (now_type_tmp_arr.length >= 0 && now_type_tmp_arr[0] != undefined) {
var v3 = random(now_type_tmp_arr.length);
v2 = now_type_tmp_arr[v3];
trace(' type = ' + v2 + 'randomNumx = ' + v3 + ' arr = ' + now_type_tmp_arr + '============ddddddddddddddddddddddddddddffffffffffffffffff================');
}
if (PowerNum >= 8) {
v2 = v5;
PowerNum = 0;
PowerMC.hong._x = -110;
PowerMC.hong2._x = -110;
}
center_mc.nextBall2.type = center_mc.nextBall.type;
center_mc.nextBall2.gotoAndStop(center_mc.nextBall.type);
center_mc.nextBall.type = v2;
center_mc.nextBall.gotoAndStop(v2);
tmp_ball_ball_type_arr = [v4, center_mc.nextBall.type, center_mc.nextBall2.type];
trace(' tmp_ball_ball_type_arr = ' + tmp_ball_ball_type_arr);
}
}
function set_ball_pos(w, rada) {
ball.x = center_mc._x + w * Math.cos(rada);
ball.y = center_mc._y + w * Math.sin(rada);
ball.holder._x = ball.x;
ball.holder._y = ball.y;
ball.holder.flower._rotation = center_mc._rotation;
}
function tgt_hitTest(obj) {
if (ball_type_change) {
ball_type_change = false;
obj.type = tmp_ball_ball_type_arr[0];
}
if (obj.type == 10) {
_root.jumpBall = true;
}
if (obj.type == 8) {
_root.boomBall = true;
}
if (obj.type == 12) {
_root.holdBall = true;
}
var v8 = Math.floor(obj.y / grid_width);
attachBall = undefined;
var v2 = 0;
var v6 = 31;
for (var v7 in tgt_mcs) {
var v3 = obj.x - tgt_mcs[v7]._x;
var v4 = obj.y - tgt_mcs[v7]._y;
v2 = Math.sqrt(v3 * v3 + v4 * v4);
if (v2 < 30 && v2 <= v6) {
trace(v7 + '+++++++++++++++++++hittest this mc');
v6 = v2;
attachBall = tgt_mcs[v7];
}
}
if (attachBall._currentframe > 12) {
trace('AAA_currentframe' + tgt_mcs[v7]._currentframe);
attachBall.removeMovieClip;
attachBall = undefined;
}
if (attachBall != undefined) {
attachBall.shine.gotoAndPlay(2);
insert_type = obj.type;
if (attachBall.type == 11) {
insert_type = obj.type;
}
trace(attachBall.type + '在?里æ’å…¥??:' + insert_type + ':' + attachBall._currentframe);
if (!superBall) {
attach_sound.start(0);
delete shoot_listener_mc.onEnterFrame;
if (attachBall.type == 11) {
tgt_insert_start(attachBall, 'right');
} else {
if (Math.atan2(obj.y - attachBall._y, obj.x - attachBall._x) % 360 <= Math.atan2(center_mc._y - attachBall._y, center_mc._x - attachBall._x) % 360) {
tgt_insert_start(attachBall, 'left');
} else {
tgt_insert_start(attachBall, 'right');
}
}
} else {
delete shoot_listener_mc.onEnterFrame;
attach_sound.start(0);
delete shoot_listener_mc.onEnterFrame;
if (Math.atan2(obj.y - attachBall._y, obj.x - attachBall._x) % 360 <= Math.atan2(center_mc._y - attachBall._y, center_mc._x - attachBall._x) % 360) {
tgt_insert_start(attachBall, 'left');
} else {
tgt_insert_start(attachBall, 'right');
}
trace('typetypetype:' + spSuperType);
}
}
}
function shoot(x, y) {
trace(':::' + ball.holder);
trace(':::' + ball);
center_mc.gotoAndPlay('shoot');
ball.holder.setMask(null);
var v1;
v1 = shootSpeed / Math.sqrt(x * x + y * y);
ball.dx = x * v1;
ball.dy = y * v1;
shoot_sound.start(0.1);
if (dir_bool) {
MballSD = 2;
} else {
MballSD = 1;
}
shoot_listener_mc.onEnterFrame = function () {
if (!game_pause) {
shootStep();
}
};
}
function shootStep() {
ball.x += ball.dx * MballSD;
ball.y += ball.dy * MballSD;
crtShadow();
if (ball.outOfScene()) {
clearBall();
if (!m_lock) {
crtNewBall();
}
} else {
if (mouth_start.pro_area.hitTest(ball.x, ball.y, true)) {
trace('��,第一次');
mouth_start.pro_area.gotoAndPlay(2);
pro_sound.start(0);
clearBall();
if (!m_lock) {
crtNewBall();
}
} else {
tgt_hitTest(ball);
}
}
if (attachBall == undefined) {
ball.x += ball.dx;
ball.y += ball.dy;
crtShadow();
if (ball.outOfScene()) {
clearBall();
if (!m_lock) {
crtNewBall();
}
} else {
if (mouth_start.pro_area.hitTest(ball.x, ball.y, true)) {
trace('��,第二次');
mouth_start.pro_area.gotoAndPlay(2);
pro_sound.start(0);
clearBall();
if (!m_lock) {
trace('?生新çƒ');
crtNewBall();
}
} else {
tgt_hitTest(ball);
}
}
}
ball.holder._x = ball.x;
ball.holder._y = ball.y;
updateAfterEvent();
}
function center_rotation() {
if (!m_lock && !drag_center) {
var v1 = Math.atan2(_ymouse - center_mc._y, _xmouse - center_mc._x);
center_mc._rotation = v1 * RtoA;
if (!shooting) {
set_ball_pos(pos_r, v1);
setMotherDir(v1);
}
}
}
function ballShoot() {
if (canShoot && !m_lock && ball != undefined) {
shoot(_xmouse - center_mc._x, _ymouse - center_mc._y);
shooting = true;
canShoot = false;
dir_mc.clear();
}
}
function crtShadow() {
if (ball_shadow && ball.holder != undefined) {
--ball_shadowID;
if (ball_shadowID <= 1) {
ball_shadowID = 800;
}
if (!superBall) {
ballScene.attachMovie('ball_shadow_mc', 'sh_mc' + ball_shadowID, ball_shadowID);
ballScene['sh_mc' + ball_shadowID].c = new Color(ballScene['sh_mc' + ball_shadowID]);
ballScene['sh_mc' + ball_shadowID].c.setRGB(flower_array[ball.type - 1]);
} else {
ballScene.attachMovie('superball_shadow_mc', 'sh_mc' + ball_shadowID, ball_shadowID);
}
ballScene['sh_mc' + ball_shadowID]._x = ball.x;
ballScene['sh_mc' + ball_shadowID]._y = ball.y;
}
}
shootSpeed = width * 0.6;
sceneWidth = 600;
sceneHeight = 450;
grid_width = 60;
pos_r = 36;
Ball.init(ballScene, shootSpeed, sceneWidth, sceneHeight, width, 20);
xNum = Math.ceil(sceneWidth / grid_width);
yNum = Math.ceil(sceneHeight / grid_width);
center_mc.nextBall._visible = false;
center_mc.nextBall.stop();
center_mc.nextBall2._visible = false;
center_mc.nextBall2.stop();
m_lock = false;
area = new Array();
i = 0;
while (i < xNum) {
area[i] = new Array();
j = 0;
while (j < yNum) {
area[i][j] = new Object();
area[i][j].tgt_ball = new Array();
++j;
}
++i;
}
myGrid = new Grid(grid_width, xNum, yNum, area);
var spSuperType;
type_arr = [7, 8, 9, 12];
}
movieClip 541 {
}
movieClip 542 {
}
frame 11 {
function addVolume2(snd, _volume) {
snd.setVolume(_volume + snd.getVolume());
}
function change_Sound_arr(arr) {}
function play_bg_snd(snd_str) {
if (bgSnd_bool) {
bg_sound.stop();
bg_sound.attachSound(snd_str);
bg_sound.start(0, 1000);
bg_sound.setVolume(20);
}
}
function rndPlay_bg_snd() {
if (bgSnd_bool) {
bg_sound.stop();
if (levelNum % 7 == 1) {
bg_snd_array.shuffle(cnt % 7);
if (bg_snd_array[1] == tmp_array_num2) {
bg_snd_array.shift();
bg_snd_array.push(tmp_array_num);
}
}
tmp_array_num = bg_snd_array[0];
bg_snd_array.shift();
bg_snd_array.push(tmp_array_num);
tmp_array_num2 = bg_snd_array[0];
var v1 = bg_snd_array[0];
bg_sound.attachSound(v1);
trace('背景音?:' + v1);
bg_sound.start(0, 1000);
}
}
function snd_move_in_start() {
moveIn_sound.setVolume(150);
moveIn_sound.start(0, 20);
moveIn_sound_mc.onEnterFrame = function () {
snd_move_in();
};
}
function snd_move_in() {
if (moveIn_sound.getVolume() > 0) {
addVolume2(moveIn_sound, -2);
} else {
moveIn_sound.stop();
delete moveIn_sound_mc.onEnterFrame;
}
}
Sound_con = new Sound();
Sound_con.attachSound('move_in');
moveIn_sound = new Sound(moveIn_sound_mc);
moveIn_sound.attachSound('move_in');
shoot_sound = new Sound(sound_mc);
shoot_sound.attachSound('shoot');
attach_sound = new Sound(sound_mc);
attach_sound.attachSound('attach');
super_attach_sound = new Sound(sound_mc);
super_attach_sound.attachSound('super_attach');
remove_sound = new Sound(sound_mc);
remove_sound.attachSound('remove');
goback_sound = new Sound(sound_mc);
goback_sound.attachSound('goback');
boom_sound = new Sound(sound_mc);
boom_sound.attachSound('boom');
dir_sound = new Sound(sound_mc);
dir_sound.attachSound('dir');
levelUp_sound = new Sound(bg_sound_mc);
levelUp_sound.attachSound('levelUp');
level_pass = new Sound(bg_sound_mc);
level_pass.attachSound('pass');
bg_snd_array = ['bg_1', 'bg_2', 'bg_3', 'bg_4'];
bg_sound = new Sound(bg_sound_mc);
bg_sound.setVolume(80);
var all_sound = ['moveIn_sound', 'shoot_sound', 'attach_sound', 'super_attach_sound', 'remove_sound', 'goback_sound', 'boom_sound', 'dir_sound', 'levelUp_sound', 'bg_sound'];
Array.prototype.shuffle = function (pnum) {
if (pnum == undefined) {
pnum = 1;
}
var v6 = 0;
while (v6 < pnum) {
var v4 = this.length;
var v2 = 0;
while (v2 < v4) {
var v3 = random(v4);
var v5 = this[v2];
this[v2] = this[v3];
this[v3] = v5;
++v2;
}
++v6;
}
};
bg_snd_array.shuffle();
pro_sound = new Sound(sound_mc);
pro_sound.attachSound('pro');
}
frame 12 {
function getCurve() {
pos_array[0].rotation = pos_array[1].rotation;
delete line.onEnterFrame;
line1.clear();
}
function clearUseDraw() {
board_use.save_btn._visible = false;
board_use.setup_btn._visible = false;
board_use.crt_road_btn._visible = false;
board_use.play_btn._visible = false;
delete line.onEnterFrame;
curvePos = 0;
line.clear();
line1.clear();
line2.clear();
}
function postoRoad(pos_array) {
mouth_start._x = pos_array[0].x;
mouth_start._y = pos_array[0].y;
mouth._x = pos_array[pos_array.length - 1].x;
mouth._y = pos_array[pos_array.length - 1].y;
line.clear();
line1.clear();
line2.clear();
line.lineStyle(road_width, road_color, road_alpha);
line2.lineStyle(road_center_width, road_center_color, road_center_alpha);
line.moveTo(pos_array[0].x, pos_array[0].y);
line2.moveTo(pos_array[0].x, pos_array[0].y);
i = 1;
while (i < pos_array.length) {
line.lineTo(pos_array[i].x, pos_array[i].y);
line2.lineTo(pos_array[i].x, pos_array[i].y);
++i;
}
line.cacheAsBitmap = true;
line1.cacheAsBitmap = true;
line2.cacheAsBitmap = true;
}
function show_pos(pos_array) {
var v3 = new Array();
var v2 = new Array();
v3[0] = pos_array[0].x;
v2[0] = pos_array[0].y;
i = 1;
while (i < pos_array.length) {
v3[i] = pos_array[i].x - pos_array[i - 1].x;
v2[i] = pos_array[i].y - pos_array[i - 1].y;
++i;
}
var v4 = String(v3) + '|' + String(v2);
trace('x_array=[' + v3 + ']');
trace('y_array=[' + v2 + ']');
return v4;
}
function set_pos(x_array, y_array) {
var v1 = new Array();
v1[0] = new Object();
v1[0].x = x_array[0];
v1[0].y = y_array[0];
i = 1;
while (i < x_array.length) {
v1[i] = new Object();
v1[i].x = x_array[i] + v1[i - 1].x;
v1[i].y = y_array[i] + v1[i - 1].y;
++i;
}
return v1;
}
function readyPlay() {
trace('?å–????' + pos_array.length);
pos_ID = 1;
mouth_start._x = pos_array[0].x;
mouth_start._y = pos_array[0].y;
mouth._x = pos_array[pos_array.length - 1].x;
mouth._y = pos_array[pos_array.length - 1].y;
i = 0;
while (i < pos_array.length) {
if (i < pos_array.length - 1) {
var v1 = pos_array[i + 1].x - pos_array[i].x;
var v2 = pos_array[i + 1].y - pos_array[i].y;
pos_array[i].rotation = Math.round(Math.atan2(v2, v1) * RtoA);
pos_array[i].dx = Math.round((v1 / lineXishu) * 100) / 100;
pos_array[i].dy = Math.round((v2 / lineXishu) * 100) / 100;
pos_array[i].dr = Math.round(((pos_array[i].rotation - pos_array[i - 1].rotation) / lineXishu) * 100) / 100;
} else {
pos_array[i].rotation = pos_array[i - 1].rotation;
pos_array[i].dx = 0;
pos_array[i].dy = 0;
pos_array[i].dr = 0;
}
pos_array[0].rotation = pos_array[1].rotation;
pos_array[0].dr = 0;
++i;
}
line.onEnterFrame = function () {
if (!game_pause) {
var v1 = 0;
while (v1 < 4) {
readyPlay2();
++v1;
}
}
};
}
function readyPlay2() {
line.attachMovie('dot', 'dot' + pos_ID, pos_ID);
line['dot' + pos_ID]._x = pos_array[pos_ID].x;
line['dot' + pos_ID]._y = pos_array[pos_ID].y;
++pos_ID;
if (pos_ID >= pos_array.length - 1) {
delete line.onEnterFrame;
trace('game play');
speed_listener.initSpeed();
play();
}
}
var pos_ID = 0;
}
frame 13 {
function initLevelPara(para) {
setGameLevelStart = true;
tgt_type = para.tgt_type;
tgt_totalNum = para.tgt_totalNum;
tgt_speed = para.tgt_speed;
min_speed = para.min_speed;
speed_a = para.speed_a;
speed_a = 4;
type_num_array = new Array();
i = 1;
while (i <= tgt_type) {
type_num_array[i] = 0;
++i;
}
tgt_same_base = para.tgt_same_base;
tgt_same_change = para.tgt_same_change;
tgt_same_total = tgt_same_base + random(tgt_same_change);
tgt_same_num = 0;
tagTime = para.tagTime;
superBall_rnd = para.superBall_rnd;
shooting = false;
levelTimes = 0;
}
function show_para(_para) {
trace('para=new Object()');
for (name in _para) {
trace('para.' + name + '=' + _para[name]);
}
}
function show_centerPos(pos) {
trace('pos=new Object()');
trace('pos.x=' + pos.x);
trace('pos.y=' + pos.y);
}
function traceRoad(road) {
trace('//------------');
show_pos(road.road);
show_para(road.para);
show_centerPos(road.center_pos);
trace('//------------');
}
function initMovie() {
for (var v2 in tgt_mcs) {
trace(' tgt_mas[it] = ' + tgt_mas[v2]);
}
trace('---------------init Movie--------------');
clearAll();
trace(' ------ ?生目çƒå’Œç›®?çƒ -----');
center_mc.nextBall._visible = true;
center_mc.nextBall.type = random(tgt_type) + 1;
center_mc.nextBall.gotoAndStop(center_mc.nextBall.type);
center_mc.nextBall2._visible = true;
center_mc.nextBall2.type = random(tgt_type) + 1;
center_mc.nextBall2.gotoAndStop(center_mc.nextBall2.type);
trace(center_mc.nextBall2.type + '^^^^^^^^^^^^^^^^^^^^^^^ï¿¡ï¿¡ï¿¡ï¿¡ï¿¡ï¿¡ï¿¡ï¿¡' + center_mc.nextBall.type);
crtNewBall();
snd_move_in_start();
crt_new_ball();
last_ball = firstBall;
move_listener_mc.onEnterFrame = function () {
if (!game_pause) {
if (Key.isDown(32) && !KEYtemp) {
if (_root.beijingGK.hitTest(_root.beijingGK._xmouse, _root.beijingGK._ymouse, false)) {
trace('change Ball');
_root.cheangballHS();
KEYtemp = true;
}
} else {
if (!Key.isDown(32) && KEYtemp) {
KEYtemp = false;
}
}
tgt_forward();
}
};
}
function setPara_default() {
trace(' ------ setPara_default -----');
firstBall = undefined;
last_ball = undefined;
gameOver = false;
m_lock = false;
boom_bool = false;
forward_bool = true;
forward_num = 0;
dir_bool = false;
dir_num = 0;
dir_num_total = 500;
boom_bool = false;
boom_lock_times = 0;
tgt_num = 0;
tgt_depth = 100;
b_depth = 1000;
balls_num = 0;
remove_arr_array = new Array();
break_array = new Array();
remove_num = 0;
last_pos = 0;
i = 0;
while (i < xNum) {
area[i] = new Array();
j = 0;
while (j < yNum) {
area[i][j] = new Object();
area[i][j].tgt_ball = new Array();
++j;
}
++i;
}
myGrid = new Grid(grid_width, xNum, yNum, area);
}
function initShoot() {
center_mc._x = center_bg._x;
center_mc._y = center_bg._y;
center_bg.move_btn._visible = false;
shoot_btn.useHandCursor = false;
center_mc.onMouseMove = function () {
if (!game_pause) {
center_rotation();
updateAfterEvent();
}
};
shoot_btn.onPress = function () {
if (!game_pause) {
if (ball != undefined) {
maxcomboTE = 0;
ballShoot();
} else {
if (_root._currentframe > 15 && _root.gameOver == false) {
trace('crtNewBall');
crtNewBall();
}
}
}
};
}
function clearAll() {
trace(' ----------clear All---------');
clearBall();
clearTgtBall();
}
function clearBall() {
delete now_type_tmp_arr;
delete shoot_listener_mc.onEnterFrame;
ball.holder.removeMovieClip();
delete ball;
}
function clearDraw() {
line.clear();
line2.clear();
dir_mc.clear();
}
function show_mainMc(bool) {
if (bool) {
center_mc._x = center_bg._x;
center_mc._y = center_bg._y;
center_bg.move_btn._visible = false;
}
center_mc._visible = bool;
center_bg._visible = bool;
mouth_start._visible = bool;
mouth._visible = bool;
}
function saveToLocal() {
trace('ä¿å˜åˆ°æœ¬åœ°');
if (pos_array.length > 1) {
if (road_name != '') {
board_save.road_name = road_name;
} else {
board_save.road_name = 'user_' + random(65535);
}
closeAllBoard();
openBoard(board_save);
Selection.setFocus(board_save.roadName);
trace('saveToLocal ' + board_save);
}
}
function openBoard(board) {
board.swapDepths(100);
center_bg.move_btn._visible = false;
road_btn.enabled = false;
board._visible = true;
}
function closeBoard(board) {
topMenu.swapDepths(topMenu.init_depth);
center_bg.move_btn._visible = true;
road_btn.enabled = true;
board._visible = false;
board._x = board.initx;
board._y = board.inity;
board.myicon.gotoAndStop(1);
}
function closeAllBoard() {
closeBoard(board_save);
closeBoard(board_open);
closeBoard(board_setup);
}
function levelRun(levleTitle, level_num, bg_snd) {
trace(' meiliyou ');
for (var v2 in _root.tgt_mcs) {
trace(' tgt_mcs -------- = ' + tgt_mcs[v2]);
}
old_levelNum = levelNum;
levelNum = level_num;
setLevel(levleTitle);
goal_total_mc.getNum(goal_total, goal_total_mc.obj, 'mynum', 12);
life_mc.getNum(life, life_mc.obj, 'mynum', 12);
setTgt_bar();
center_bg._x = pos.x;
center_bg._y = pos.y;
pos_array = new Array();
pos_array = set_pos(x_array, y_array, r_array);
setPara_default();
initLevelPara(para);
readyPlay();
show_mainMc(true);
m_lock = false;
rndPlay_bg_snd();
}
function openWin(win) {
win.swapDepths(100);
win._visible = true;
noclick_btn._visible = true;
}
function closeWin(win) {
trace('closeWin ' + win);
win._visible = false;
win._x = win.initx;
win._y = win.inity;
win.myicon.gotoAndStop(1);
noclick_btn._visible = false;
}
var KEYtemp = false;
clearLine = function () {
line.cacheAsBitmap = false;
line1.cacheAsBitmap = false;
line2.cacheAsBitmap = false;
line.clear();
line2.clear();
crtLine = false;
};
clearTgtBall = function () {
delete move_listener_mc.onEnterFrame;
for (name in tgt_mcs) {
if (name == _root.EndBall._name) {
continue;
}
if (typeof tgt_mcs[name] == 'movieclip') {
tgt_mcs[name].removeMovieClip();
}
}
};
setFlower = function () {
for (name in tgt_mcs) {
if (typeof tgt_mcs[name] == 'movieclip') {
tgt_mcs[name].flower.roll_mc._visible = flower_show_bool;
tgt_mcs[name].colors = new Color(tgt_mcs[name].flower.roll_mc);
tgt_mcs[name].colors.setRGB(flower_array[tgt_mcs[name].type - 1]);
}
}
};
}
frame 14 {
function getTB() {
trace('***********************************88');
var v2 = random(4) + 1;
TBMC.attachMovie('tebie', 'tebie' + TBMC.getNextHighestDepth(), TBMC.getNextHighestDepth(), {'_x': _root.beijingGK['st' + v2]._x, '_y': _root.beijingGK['st' + v2]._y});
}
function ShootTebie(type) {
tebie[type - 1] = 1;
var v3 = true;
trace('tebie:' + tebie);
var v2 = 0;
while (v2 < tebie.length) {
if (tebie[v2] == 0) {
v3 = false;
break;
}
++v2;
}
if (v3) {
_root.attachMovie('movieClassMC', 'movieClassMC' + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {'_x': 158, '_y': 172});
_root.setGoal(400);
_root.next_leve_func();
tebie = [0, 0, 0, 0, 0];
}
}
_root.createEmptyMovieClip('TBMC', _root.getNextHighestDepth());
var tebie = [0, 0, 0, 0, 0];
trace(' mei guan zai zhe -------- ');
var GamePassAll = false;
var MballSD = 1;
start_game();
clearAll();
clearLine();
level_select_bool = true;
var score = 0;
goal_total = 0;
mask._alpha = 100;
initShowPara();
noclick_btn._visible = false;
noclick_btn.useHandCursor = false;
play_btn.onRelease = function () {
nextFrame();
};
setUp_btn.onRelease = function () {
openWin(win_setup);
};
stop();
var item_modified;
var HQdaoju = true;
var propNums = 0;
}
movieClip 544 {
}
// unknown tag 88 length 51
movieClip 549 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 552 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 555 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 556 {
frame 1 {
stop();
if (_root.gameQuality == 'LOW') {
this.gotoAndStop(3);
} else {
if (_root.gameQuality == 'MEDIUM') {
this.gotoAndStop(2);
} else {
if (_root.gameQuality == 'HIGH') {
this.gotoAndStop(1);
}
}
}
this.onPress = function () {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.gameQuality = 'MEDIUM';
_root._quality = 'MEDIUM';
} else {
if (this._currentframe == 2) {
this.gotoAndStop(3);
_root.gameQuality = 'LOW';
_root._quality = 'LOW';
} else {
if (this._currentframe == 3) {
this.gotoAndStop(1);
_root.gameQuality = 'HIGH';
_root._quality = 'HIGH';
}
}
}
};
}
}
movieClip 560 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 563 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 564 {
frame 1 {
trace(' _root.SoundStop = ' + _root.SoundStop + ' _root.Sound_con. = ' + _root.Sound_con.getVolume());
if (_root.SoundStop == undefined) {
this.gotoAndStop(1);
_root.Sound_con.setVolume(100);
} else {
if (_root.SoundStop == false || _root.Sound_con.getVolume() == 0) {
this.gotoAndStop(2);
_root.Sound_con.setVolume(0);
}
}
this.onPress = function () {
trace(' _root.SoundStop = ' + _root.SoundStop);
if (_root.SoundStop == undefined) {
_root.Sound_con.setVolume(0);
_root.SoundStop = false;
this.gotoAndStop(2);
} else {
if (_root.SoundStop == false) {
_root.Sound_con.setVolume(100);
_root.SoundStop = null;
this.gotoAndStop(1);
}
}
};
stop();
}
}
frame 15 {
function selectLevel(mc) {
levelNum = mc.id;
trace('my id is ' + mc.id);
level_selected._x = mc._x;
level_selected._y = mc._y;
}
chch(100);
Key.removeListener(key_listener);
start_sound_.stop();
stop();
MballSD = 1;
_root.ball.holder.removeMovieClip();
var PropUse = true;
var startplay = false;
noclick_btn._visible = false;
noclick_btn.useHandCursor = false;
propNums += int(item_modified);
if (propNums > 5) {
propNums = 5;
}
item_modified = '0';
drawItem();
life = 1;
goal_total = score;
ss1 = tess1;
xx1 = texx1;
guansu.gotoAndStop(levelNum);
var maxcomboTE = 0;
var maxcombo = 0;
var comboPD = false;
var maxcombonum = 0;
var maxcombonumTE = 0;
var combotol = 0;
beijingGK.gotoAndStop(levelNum);
var gameZT = 'æ£å¸¸';
if (level_select_bool) {
var i = 1;
while (i <= levelTotal) {
this['lel' + i].id = i;
if (so.data.level_success[i - 1]) {
this['lel' + i].gotoAndStop(3);
}
++i;
}
} else {
startBtn_text.gotoAndStop(2);
level_selected.gotoAndStop(2);
var i = 1;
while (i < levelNum) {
this['lel' + i].gotoAndStop(2);
++i;
}
}
level_selected._x = this['lel' + levelNum]._x;
level_selected._y = this['lel' + levelNum]._y;
level_select_bool = false;
}
movieClip 583 {
}
movieClip 624 {
frame 1 {
stop();
}
}
movieClip 630 {
}
movieClip 634 {
}
movieClip 641 {
frame 2 {
_root.stopAllSounds();
_root.gotoAndStop('_root.level' + _root.levelNum);
trace('_root.level__________:::::::' + _root.levelNum);
}
frame 95 {
_root.stopAllSounds();
_root.gotoAndStop('_root.level' + _root.levelNum);
_root.gotoAndStop('ModeE');
trace('_root.level__________:::::::' + _root.levelNum);
}
}
movieClip 645 {
frame 1 {
stop();
}
}
movieClip 648 {
frame 1 {
stop();
}
}
instance pass_bnt of movieClip 648 {
onClipEvent (press) {
var c = this._currentframe;
if (_root.SoundStop) {
_root.Sound_con.setVolume(0);
this.gotoAndStop(2);
} else {
if (_root.SoundStop == false) {
_root.SoundStop = false;
_root.Sound_con.setVolume(100);
this.gotoAndStop(1);
}
}
}
onClipEvent (rollOver) {
this.an.gotoAndStop(2);
}
onClipEvent (rollOut) {
this.an.gotoAndStop(1);
}
}
movieClip 649 {
}
movieClip 651 {
frame 1 {
getNum = function (n, obj, num_mc, width) {
_root.score_n = n;
trace(_root.score_n);
var numStr;
numStr = String(n);
for (name in obj) {
if (typeof obj[name] == 'movieclip') {
obj[name].removeMovieClip();
}
}
i = 0;
while (i < numStr.length) {
t = Number(numStr.charAt(i));
obj.attachMovie(num_mc, num_mc + i, i + 5);
with (obj[num_mc + i]) {
_x = i * width;
gotoAndStop(t + 1);
}
++i;
}
};
trace('score2:' + _root.score);
getNum(_root.score, obj, 'mynum', 12);
}
}
movieClip 652 {
frame 1 {
System.useCodepage = true;
if (_root.readScoreXML == undefined) {
_root.readScoreXML = new XML();
_root.readScoreXML.ignoreWhite = true;
_root.readScoreXML.load(_root.scoreXMLAdd);
_root.readScoreXML.onLoad = function (success) {
if (success) {
_root.areaArr = [];
_root.goqoArr = [];
_root.readScoreXML_length = _root.readScoreXML.firstChild.childNodes.length;
var v2 = 0;
while (v2 < _root.readScoreXML.firstChild.childNodes.length) {
_root.areaArr[v2] = int(_root.readScoreXML.firstChild.childNodes[v2].childNodes[0].childNodes[0].nodeValue);
_root.goqoArr[v2] = int(_root.readScoreXML.firstChild.childNodes[v2].childNodes[1].childNodes[0].nodeValue);
++v2;
}
}
};
if (_root.ADD_POINT == undefined) {
_root.ADD_POINT = '10_1.5_20_2_30_3_';
}
_root.ADD_POINT_temp = _root.ADD_POINT;
_root.pointTime = [];
while (_root.ADD_POINT.length != 0) {
var nowInc1 = _root.ADD_POINT.indexOf('_', 0);
var cutString1 = Number(_root.ADD_POINT.substr(0, nowInc1));
_root.ADD_POINT = _root.ADD_POINT.substr(nowInc1 + 1);
var nowInc1 = _root.ADD_POINT.indexOf('_', 0);
var cutString2 = Number(_root.ADD_POINT.substr(0, nowInc1));
_root.ADD_POINT = _root.ADD_POINT.substr(nowInc1 + 1);
_root.pointTime.push({'Qtime': cutString1, 'Ptime': cutString2});
}
}
}
}
movieClip 660 {
frame 1 {
stop();
}
}
movieClip 662 {
}
movieClip 664 {
}
movieClip 667 {
}
movieClip 669 {
}
movieClip 674 {
frame 1 {
stop();
}
}
movieClip 677 {
}
movieClip 678 {
frame 1 {
stop();
}
}
movieClip 681 {
}
movieClip 682 {
frame 1 {
stop();
}
}
movieClip 683 {
frame 1 {
stop();
}
}
movieClip 686 {
}
movieClip 687 {
frame 1 {
stop();
}
}
frame 16 {
x_array = [597.25, -13.25, -13, -13, -13, -13, -14, -15, -14, -12, -10, -10, -9, -9, -9, -10, -9, -12, -13, -14, -15, -14, -14, -14, -14, -15, -14, -14, -14, -13, -14, -13, -13, -12, -12, -10, -10, -9, -9, -8, -9, -7, -4, -2, 0, 3, 3, 4, 3, 5, 8, 9, 9, 9, 9, 12, 14, 13, 14, 14, 14, 15, 14, 15, 14, 15, 14, 14, 13, 11, 6, -3, -12, -14, -14, -14, -14, -14, -14, -15, -14, -15, -11, -11, -11, -8, -9, 1, 2, 7, 6, 11, 12, 11, 14, 13, 14, 14, 15, 13, 12, 13, 15, 10];
y_array = [292.75, -6.75, -6, -6, -6, -6, -3, 1, 4, 8, 10, 11, 11, 11, 12, 11, 11, 8, 6, 3, 3, 2, 2, 3, 3, -3, -3, -5, -5, -4, -5, -6, -7, -8, -9, -9, -11, -11, -12, -12, -12, -13, -14, -14, -15, -14, -14, -14, -14, -13, -13, -11, -12, -11, -11, -8, -5, -5, -5, -5, -1, 0, 0, 0, 3, 2, 3, 5, 5, 10, 13, 14, 9, 0, -3, -4, -3, -4, 1, 0, 1, 0, 9, 10, 9, 12, 12, 14, 15, 13, 13, 9, 9, 9, 5, 5, 5, 2, 2, -7, -7, -7, -10, -16];
para = new Object();
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 60;
}
randomhei1 = random(para.tgt_totalNum);
para.tgt_speed = tgt_speedClass1;
para.min_speed = speedStartNum1;
trace(' para.min_speed = ' + para.min_speed);
para.speed_a = 9;
para.tgt_type = 4;
para.tgt_same_base = 1;
para.tgt_same_change = 3;
para.tagTime = 20;
para.superBall_rnd = 999;
pos = new Object();
pos.x = 260;
pos.y = 160;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
trace(' oh nooooooooo ');
levelRun('1-1', 1, 'bg01');
stop();
}
movieClip 691 {
}
movieClip 692 {
}
movieClip 693 {
}
movieClip 698 {
frame 1 {
move_btn.useHandCursor = false;
move_btn.onPress = function () {
this._parent.startDrag();
};
move_btn.onRelease = function () {
this._parent.stopDrag();
delete this._parent.onEnterFrame;
};
}
}
movieClip 702 {
}
movieClip 707 {
}
movieClip 712 {
}
movieClip 715 {
}
movieClip 717 {
}
movieClip 719 {
}
movieClip 725 {
}
movieClip 726 {
}
movieClip 733 {
}
movieClip 735 {
}
movieClip 739 {
}
movieClip 742 {
}
movieClip 743 {
frame 1 {
var teEnd = 0;
if (_root.gameZT == '??') {
trace('??');
this.gotoAndPlay('??');
} else {
if (_root.gameZT == '失?') {
this.gotoAndPlay('失?');
}
}
}
frame 2 {
this.gotoAndPlay(1);
}
frame 18 {
++teEnd;
if (teEnd == 4) {
if (_root.failMovie_mc._currentframe == 1) {
_root.failMovie_mc.gotoAndPlay(2);
teEnd = 0;
}
stop();
} else {
this.gotoAndPlay('失?');
}
}
frame 43 {
this.gotoAndPlay('??');
}
}
movieClip 745 {
}
movieClip 753 {
}
movieClip 754 {
frame 1 {
stop();
}
frame 5 {
_parent.crt_new();
trace('crtNewBall2');
gotoAndStop(1);
}
}
instance center_mc of movieClip 754 {
onClipEvent (load) {
_parent.initShoot();
}
}
// unknown tag 88 length 197
// unknown tag 88 length 137
movieClip 762 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 766 {
}
movieClip 771 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
// unknown tag 88 length 51
movieClip 775 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 778 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 781 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 784 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 785 {
}
movieClip 789 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 795 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 801 {
}
movieClip 802 {
}
movieClip 808 {
}
movieClip 809 {
}
movieClip 817 {
frame 1 {
this.swapDepths(_root.getNextHighestDepth());
}
frame 37 {
stop();
var thissec = int(_root.levelTimes / 25);
var timeBonus = thissec * 10;
var maxcomboBonus = _root.maxcombo * 10;
if (_root.levelNum > 0 && _root.levelNum < 8) {
var levelBonus = 500;
} else {
if (_root.levelNum >= 8 && _root.levelNum < 15) {
var levelBonus = 1000;
} else {
if (_root.levelNum >= 15 && _root.levelNum < 22) {
var levelBonus = 1500;
}
}
}
var finalScore = _root.goal_total + timeBonus + maxcomboBonus + levelBonus;
if (_root.show_mc_visible == true) {
show_mc._visible = true;
} else {
if (_root.show_mc_visible == false) {
show_mc._visible = false;
}
}
bu2.onPress = function () {
_root.win_sound_.stop();
_root.show_mc_visible = false;
show_mc._visible = false;
_root.unblack = undefined;
delete _root.unblack;
if (_root.pop_.length <= 0) {
_root.pop_ = ['h', 'o', 'n', 'e', 'y'];
}
_root.BOX_x.removeMovieClip();
_root.BOX_x.removeMovieClip();
_root.attachMovie('BOX_x', 'BOX_x', _root.getNextHighestDepth());
if (Number(_root.item_modified) >= 2) {
if (Number(_root.item_modified) >= 2) {
_root.ss1 *= 1.1;
_root.xx1 *= 1.1;
trace('_root.score:' + _root.score);
_root.setGoal(Math.floor(_root.goal_total * 0.1));
}
}
_root.ss1 += int(finalScore - _root.goal_total);
_root.setGoal(int(finalScore - _root.goal_total));
_root.goal_total = finalScore;
_root.score = _root.goal_total;
_root.tess1 = _root.ss1;
_root.texx1 = _root.xx1;
++_root.levelNum;
_root.level_pass.stop();
trace(' _root.levelNum = ttt ' + _root.levelNum);
if (_root.levelNum == 8 || _root.levelNum == 15 || _root.levelNum == 22) {
trace(' xxxxx _root.levelNum = ' + _root.levelNum);
_root.gotoAndStop('gameWin');
} else {
trace('-------- _root.levelNum = ' + _root.levelNum);
_root.gotoAndStop('mode');
}
};
var my_so = SharedObject.getLocal('savedText', '/');
var my_so1 = SharedObject.getLocal('savedText1', '/');
myText_ti.text = my_so.data.myTextSaved;
if (myText_ti.text == undefined) {
myText_ti.text = '';
}
save1.onRelease = function () {
my_so.data.myTextSaved = _root.levelNum;
my_so1.data.myTextSaved = _root.levelNum;
my_so.flush();
my_so1.flush();
};
}
}
movieClip 818 {
frame 1 {
stop();
}
frame 2 {
_root.ball.holder.removeMovieClip();
if (_parent.levelNum >= _parent.levelTotal) {
}
}
frame 31 {
_parent.bg_sound.stop();
}
frame 33 {
_parent.show_mainMc(false);
_parent.clearDraw();
_parent.clearBall();
}
frame 35 {
if (_parent.levelNum < _parent.levelTotal) {
gotoAndPlay('win');
} else {
gotoAndPlay('gameWin');
}
}
frame 39 {
sec = _parent.levelTimes / 25;
if (_parent.levelSec[_parent.levelNum] == undefined) {
_parent.levelSec[_parent.levelNum] = sec + 10;
}
hisSec = _parent.levelSec[_parent.levelNum];
if (sec < hisSec) {
_parent.levelSec[_parent.levelNum] = sec;
record_mc.gotoAndPlay(2);
trace(record._currentframe);
this.onEnterFrame = function () {
hisSec -= 0.5;
if (hisSec <= sec) {
delete this.onEnterFrame;
hisSec = sec;
}
};
}
stop();
}
frame 56 {
_parent.so.data.level_success[_parent.levelNum - 1] = true;
++_parent.levelNum;
_parent.gotoAndStop('mode');
gotoAndStop(1);
}
frame 111 {
_parent.clearAll();
_parent.topMenu.removeMovieClip();
_parent.gotoAndStop('gameWin');
}
}
movieClip 821 {
}
movieClip 822 {
frame 1 {
stop();
}
frame 2 {
delete _root.move_listener_mc.onEnterFrame;
_root.setLife(-1);
_root.dir_mc.clear();
}
frame 3 {
_root.ball.holder.removeMovieClip();
_parent.bg_sound.stop();
_parent.gotoAndStop('gameFail');
}
}
movieClip 826 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance pause_mc of movieClip 826 {
onClipEvent (press) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
_root.topMenu.game_pause(true);
}
}
}
movieClip 827 {
frame 1 {
getBallGS = function (n, obj, num_mc, width) {
_root.ball_number_n = n - int(num_mc);
var numStr;
numStr = String(n);
for (name in obj) {
if (typeof obj[name] == 'movieclip') {
obj[name].removeMovieClip();
}
}
i = 0;
while (i < numStr.length) {
t = Number(numStr.charAt(i));
obj.attachMovie(num_mc, num_mc + i, i + 5);
with (obj[num_mc + i]) {
_x = i * width;
gotoAndStop(t + 1);
}
++i;
}
};
getBallGS(_root.tgt_totalNum, obj, 'mynum', 12);
}
}
frame 17 {
initMovie();
trace('-------Level: 1-1--------');
stop();
}
frame 21 {
x_array = [463, -3, -3, -3, -3, -4, -3, -8, -11, -14, -14, -14, -15, -14, -14, -14, -15, -14, -14, -14, -15, -14, -15, -14, -14, -14, -14, -12, -12, -11, -12, -8, -4, -5, -4, -5, -2, -3, -2, 0, 1, 0, 4, 3, 4, 8, 9, 8, 12, 13, 13, 13, 14, 14, 13, 14, 15, 14, 14, 15, 14, 15, 14, 15, 14, 14, 14, 14, 12, 12, 12, 9, 4, 2, 3, 3, -2, -3, -2, -4, -5, -6, -8, -9, -10, -11, -12, -13, -13, -14, -15, -14, -14, -15, -14, -14, -15, -14, -14, -14, -13, -11, -9, -7, -6, -4, -2, -1, 0, 3, 5, 7, 10, 10, 9, 11, 13, 13, 14, 14, 14, 14, 15, 14, 14, 14, 13, 11, 8, 4, 3, 1, 0, -2, -3, -4, -6, -9, -11, -12, -14, -14, -14, -15, -14, -14, -14, -13, -12, -8, -2, -3];
y_array = [-46, 14, 14, 14, 14, 14, 14, 12, 9, 5, 3, -2, -3, -3, -2, -2, -2, -2, -3, 0, 0, 0, 0, 4, 4, 4, 4, 8, 9, 8, 9, 12, 14, 14, 14, 13, 14, 15, 14, 14, 15, 14, 14, 14, 14, 12, 12, 11, 8, 6, 7, 6, 4, 5, 4, 1, 1, 1, -1, -1, -1, -1, -1, -1, -4, -4, -5, -4, -8, -9, -8, -12, -14, -14, -14, -14, -14, -15, -14, -14, -14, -13, -12, -11, -11, -9, -8, -7, -5, -4, -2, -2, -1, -1, -2, -1, 1, 3, 4, 4, 7, 9, 11, 13, 13, 14, 15, 14, 15, 14, 14, 12, 11, 11, 11, 9, 8, 4, 4, 4, 4, 1, -1, -3, -4, -3, -7, -9, -12, -14, -14, -15, -14, -15, -14, -14, -13, -12, -9, -8, -5, -3, -1, -2, -1, 2, 4, 7, 8, 12, 14, 14];
para = new Object();
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 80;
}
randomhei1 = random(para.tgt_totalNum);
para.tgt_speed = tgt_speedClass1;
para.min_speed = speedStartNum1;
para.speed_a = 9;
para.tgt_type = 4;
para.tgt_same_base = 1;
para.tgt_same_change = 3;
para.tagTime = 20;
para.superBall_rnd = 999;
pos = new Object();
pos.x = 280;
pos.y = 240;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('1-2', 2, 'bg01');
stop();
}
frame 22 {
initMovie();
trace('-------Level: 1-2--------');
stop();
}
frame 26 {
x_array = [634, 12, 12, 12, 12, 12, 12, 12, 12, 12, 9, 4, -1, -2, -2, -1, -2, -1, -2, -2, -1, -2, -7, -10, -14, -14, -14, -12, -10, -11, -9, -9, -14, -13, -10, -13, -13, -13, -12, -13, -13, -13, -13, -14, -13, -14, -14, -14, -14, -14, -14, -14, -14, -15, -14, -15, -14, -14, -14, -15, -14, -15, -14, -14, -15, -14, -14, -14, -14, -12, -12, -11, -11, -10, -8, -9, -8, -8, -4, 1, 6, 10, 13, 15, 14, 11, 8, 7, 7, 7, 7, 9, 10, 11, 13, 13, 14, 14, 14, 14, 15, 14, 15, 14, 14, 14, 14, 14, 14, 13, 12, 11, 10, 8, 7, 6, 3, 2, 0, -2, -5, -6, -8, -10, -11, -13, -13, -14, -15, -14, -15, -14, -14, -14, -14, -14, -14, -14, -14, -14, -14];
y_array = [24, 8, 8, 8, 8, 8, 8, 8, 8, 8, 12, 14, 14, 14, 15, 14, 15, 14, 15, 14, 14, 15, 13, 10, 5, 1, -5, -8, -10, -10, -11, -12, -4, 5, 11, 7, 6, 7, 7, 7, 6, 7, 6, 5, 5, 4, 4, 5, 4, 4, 4, 3, 2, 2, 2, 2, 1, 2, 1, 0, 0, -2, -2, -2, -3, -2, -2, -4, -5, -7, -8, -9, -10, -11, -12, -12, -12, -12, -14, -14, -14, -10, -7, -1, 4, 8, 12, 13, 12, 13, 13, 12, 10, 9, 7, 5, 5, 5, 3, 2, 1, -1, -3, -3, -3, -4, -3, -3, -5, -6, -8, -9, -11, -12, -12, -14, -14, -14, -14, -15, -14, -13, -12, -10, -9, -8, -6, -3, -2, 1, 2, 4, 4, 3, 4, 4, 3, 4, 3, 4, 4];
para = new Object();
para.superBall_rnd = 999;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 4;
para.speed_a = 9;
para.min_speed = speedStartNum1;
para.tgt_speed = tgt_speedClass1 + 70;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 90;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 320;
pos.y = 185;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('1-3', 3, 'bg01');
stop();
}
frame 27 {
initMovie();
trace('-------Level: 1-3--------');
stop();
}
frame 31 {
x_array = [623, -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, -13, -13, -13, -13, -13, -14, -13, -13, -13, -13, -13, -14, -13, -13, -13, -13, -13, -14, -12, -13, -12, -13, -13, -12, -13, -12, -13, -12, -13, -13, -12, -13, -12, -13, -8, -1, 6, 11, 14, 14, 12, 12, 13, 12, 13, 12, 12, 13, 12, 13, 12, 12, 13, 14, 15, 13, 13, 14, 13, 13, 13, 14, 13, 13, 13, 14, 13, 13, 13, 14, 7, -2, -10, -12, -14, -14, -13, -14, -13, -13, -13, -14, -13, -13, -13, -13, -14, -13, -14, -15, -12, -12, -13, -12, -12, -12, -12, -12, -5, 5, 9, 10, 12];
y_array = [258, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 6, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, -5, -7, -7, -8, -7, -7, -7, -7, -8, -7, -7, -7, -7, -8, -7, -7, -7, -12, -15, -13, -9, -5, 5, 7, 8, 7, 8, 8, 7, 8, 7, 8, 7, 8, 7, 8, 0, 1, -6, -6, -6, -6, -6, -6, -5, -6, -6, -6, -6, -6, -6, -6, -6, -13, -14, -10, -8, -2, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, -3, -7, -8, -8, -8, -8, -8, -8, -8, -14, -13, -11, -11, -11];
para = new Object();
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 100;
}
randomhei1 = random(para.tgt_totalNum);
para.tgt_speed = tgt_speedClass1;
para.min_speed = speedStartNum1;
para.speed_a = 9;
para.tgt_type = 5;
para.tgt_same_base = 1;
para.tgt_same_change = 3;
para.tagTime = 20;
para.superBall_rnd = 999;
pos = new Object();
pos.x = 272.7;
pos.y = 94.59999999999999;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('1-4', 4, 'bg01');
stop();
}
frame 32 {
initMovie();
stop();
}
frame 36 {
x_array = [366, -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, -14, -10, 0, 4, 0, 1, 0, 0, 1, 0, 0, 1, 9, 13, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 14, 14, 8, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, -10, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -10, 0, 0, 0, 0, 0, 0, -10, -15, -14, -15, -14, -15, -14, -12, -8, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 8, 13, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 15];
y_array = [-62, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 15, 14, 14, 15, 14, 15, 14, 15, 14, 15, 12, 4, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 12, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 10, 3, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -10, -15, -14, -15, -14, -15, -14, -10, -1, 0, 0, 0, -1, 0, 7, 13, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 12, 7, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0];
para = new Object();
para.superBall_rnd = 999;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 5;
para.speed_a = 9;
para.min_speed = speedStartNum1;
para.tgt_speed = tgt_speedClass1 + 50;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 120;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 309.7;
pos.y = 195.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('1-5', 5, 'bg01');
stop();
}
frame 37 {
initMovie();
stop();
}
frame 41 {
x_array = [168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 12, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 14, 13, 11, 9, 3, -4, -10, -14, -14, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -14, -11, -7, -3, 5, 11, 14, 15, 14, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 14, 14, 11, 6, 1, 1, 0, 0, 1, 0, -5, -10, -13, -14, -14, -12, -9, -5, -3, -3, -7, -10, -13, -14, -14, -15, -14, -15, -14, -15, -14, -15, -14, -14, -13, -11, -9, -7];
y_array = [-82, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 13, 7, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 3, 7, 9, 12, 14, 14, 11, 5, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 5, 9, 13, 14, 14, 9, 2, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 4, 5, 10, 13, 14, 15, 14, 15, 14, 15, 14, 10, 7, 1, -3, -9, -12, -13, -14, -15, -13, -10, -7, -3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 3, 7, 9, 11, 11];
para = new Object();
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
para.tgt_speed = tgt_speedClass1 + 20;
para.min_speed = speedStartNum1;
para.speed_a = 9;
para.tgt_type = 6;
para.tgt_same_base = 1;
para.tgt_same_change = 3;
para.tagTime = 20;
para.superBall_rnd = 152;
pos = new Object();
pos.x = 243.7;
pos.y = 363.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-1', 6, 'bg01');
stop();
}
frame 42 {
initMovie();
trace('-------Level: 2-1--------');
stop();
}
frame 46 {
x_array = [-158, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 12, 10, 11, 11, 10, 11, 11, 10, 11, 11, 10, 11, 11, 10, 11, 11, 10, 11, 10, 11, 13, 15, 14, 12, 11, 10, 11, 10, 11, 11, 10, 11, 10, 11, 10, 11, 10, 11, 11, 10, 8, 3, -8, -15, -12, -6, -11, -10, -11, -10, -11, -10, -11, -11, -10, -11, -10, -11, -10, -13, -14, -15, -12, -11, -10, -11, -11, -11, -10, -11, -11, -10, -11, -11, -10, -11, -11, -11, -10, -3, 5, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 10, -1, -11, -11, -12, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15];
y_array = [298, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 0, 1, 0, -5, -10, -10, -11, -10, -11, -11, -10, -11, -10, -11, -10, -11, -10, -11, -10, -11, -11, -10, -11, -10, -7, -2, 4, 10, 10, 11, 11, 10, 11, 11, 10, 11, 10, 11, 11, 10, 11, 11, 10, 11, 13, 15, 12, 3, -8, -14, -11, -10, -11, -11, -10, -11, -11, -10, -11, -10, -11, -11, -10, -8, -4, 2, 9, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 15, 14, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, -7, -11, -15, -10, -9, -10, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 0];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 9;
para.min_speed = speedStartNum1;
para.tgt_speed = tgt_speedClass1 + 10;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 296.7;
pos.y = 207.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-2', 7, 'bg01');
stop();
}
frame 47 {
initMovie();
trace('-------Level: 2-2--------');
stop();
}
frame 51 {
x_array = [198, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 12, 3, -8, -14, -14, -14, -14, -14, -12, -3, 4, 2, 0, -1, -4, -6, -9, -11, -12, -14, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -14, -10, -7, -1, 3, 5, 11, 13, 15, 14, 15, 14, 15, 14, 13, 9, 4, -1, -6, -6, -13, -14, -15, -14, -15, -14, -14, -13, -12, -9, -4, 0, 5, 7, 7, 8, 12, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 14, 13, 11, 10, 6, 3, 2, 4, 5, 8, 11, 12, 14, 16];
y_array = [-75, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, 8, 14, 12, 3, -5, -3, -3, -3, 8, 14, 14, 14, 15, 14, 14, 13, 12, 9, 8, 4, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 5, 10, 13, 14, 14, 14, 10, 4, 1, 0, 0, 1, 0, 1, 7, 11, 14, 14, 13, 13, 7, 1, 1, 1, 2, 4, 5, 6, 8, 12, 13, 15, 13, 13, 12, 13, 8, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, -5, -6, -9, -11, -13, -14, -15, -14, -13, -13, -10, -7, -3, -2];
para = new Object();
para.superBall_rnd = 150;
randomhei1 = random(para.tgt_totalNum);
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 8;
para.min_speed = speedStartNum2;
para.tgt_speed = tgt_speedClass2 + 50;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
pos = new Object();
pos.x = 281.7;
pos.y = 171.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-3', 8, 'bg01');
stop();
}
frame 52 {
initMovie();
stop();
trace('-------Level: 2-3--------');
}
frame 56 {
x_array = [43, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 12, 6, -2, -2, -3, -2, -3, -7, -10, -12, -14, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -14, -14, -12, -10, -9, -5, -4, -1, 0, 1, 0, 1, 0, 0, 1, 4, 6, 9, 10, 13, 13, 14, 14, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 14, 9, 1, 0, 1, 1, 9, 15, 14, 15, 14, 15, 14, 15, 13, 9, 3, 0, 0, 0, -10, -14, -15, -14, -15, -14, -15, -14, -15, -14, -14, -13, -9, 0, -10, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -14, -11, -7, -1, -1, 0, 0, 0, 0];
y_array = [471, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -8, -13, -14, -15, -14, -14, -14, -13, -10, -8, -4, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, -3, -5, -8, -10, -12, -13, -14, -14, -15, -14, -15, -14, -15, -14, -15, -14, -13, -12, -9, -8, -5, -4, -4, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 11, 15, 14, 15, 14, 11, 3, 0, 0, -1, 0, 0, -1, 6, 11, 14, 15, 14, 15, 11, 0, 0, 0, 1, 0, 0, 0, 0, 0, 5, 4, 12, 14, 10, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, -3, -4, -9, -13, -14, -15, -14, -15, -14, -14];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 8;
para.min_speed = speedStartNum2;
para.tgt_speed = tgt_speedClass2 + 50;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 285.7;
pos.y = 173.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 9, 'bg01');
stop();
}
frame 57 {
initMovie();
stop();
}
frame 61 {
x_array = [-55, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 3, 5, 4, 5, 10, 12, 15, 14, 12, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 12, 6, 0, -2, -3, -9, -13, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -15, -14, -11, -7, -3, 1, 0, 0, 0, 0, 1, 0, 0, 6, 11, 13, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 14, 15, 13, 10, 4, 0, 1, 0, 1, 7, 11, 14, 14, 15, 14, 15, 14, 15, 14, 13, 8, 1, -6, -11, -14, -15, -14, -15, -14, -14];
y_array = [-2, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 13, 11, 7, 2, -3, -7, -3, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, -1, 0, 0, -2, -3, -9, -13, -14, -15, -14, -11, -7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5, -9, -13, -14, -15, -14, -15, -14, -15, -14, -15, -14, -13, -10, -4, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 6, 11, 13, 14, 15, 14, 15, 13, 9, 4, 0, -1, 0, -1, 0, -1, 0, 7, 12, 15, 13, 10, 3, 0, 0, 0, 0, 0];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 8;
para.min_speed = speedStartNum2;
para.tgt_speed = tgt_speedClass2 + 60;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 283.7;
pos.y = 173.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 10, 'bg01');
stop();
}
frame 62 {
initMovie();
stop();
}
frame 65 {
para = new Object();
x_array = [-109, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, 8, 12, 15, 14, 14, 15, 14, 15, 14, 14, 14, 13, 14, 12, 7, 8, 7, 7, 8, 7, 13, 14, 12, 5, -3, -7, -7, -8, -7, -7, -8, -7, -8, -7, -5, -3, 0, 0, 1, 5, 8, 11, 12, 11, 12, 12, 12, 12, 11, 14, 14, 14, 11, 3, -7, -13, -13, -14, -13, -13, -13, -10, -5, 1, 6, 12, 15, 13, 12, 13, 13, 13, 13, 13, 14, 13, 13, 13, 14, 15, 14, 14, 13, 11, 8, 7, 7, 6, 7, 3, 0, -4, -7, -7, -10, -12, -12, -12, -12, -12, -12];
y_array = [-37, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 12, 8, 3, 2, 2, 2, 1, 2, 4, 4, 5, 4, -2, -9, -12, -13, -12, -13, -12, -13, -7, 0, 9, 14, 14, 12, 13, 12, 13, 12, 13, 12, 13, 12, 14, 14, 14, 15, 14, 14, 12, 9, 9, 8, 9, 8, 8, 9, 8, 4, 0, -5, -9, -14, -13, -6, -6, -6, -5, -6, -6, -11, -13, -15, -13, -7, 1, 6, 7, 7, 7, 6, 6, 6, 6, 6, 7, 6, 4, 2, 1, -3, -6, -10, -12, -12, -13, -13, -13, -14, -15, -13, -13, -13, -11, -8, -8, -8, -8, -9, -9];
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 8;
para.min_speed = speedStartNum2;
para.tgt_speed = tgt_speedClass2 + 30;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 284.7;
pos.y = 173.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 11, 'bg01');
stop();
}
frame 66 {
initMovie();
stop();
}
frame 68 {
x_array = [329, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 8, 11, 14, 15, 15, 15, 14, 11, 8, 3, 0, 0, -6, -11, -15, -14, -15, -12, -7, 0, -1, 0, -4, -9, -11, -14, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -12, -8, -2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 7, 12, 15, 15, 15, 15, 15, 15, 12, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 11, 14, 15, 15, 15, 15, 15];
y_array = [-69, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 13, 10, 5, 1, 1, 1, 6, 9, 13, 15, 15, 15, 14, 10, 4, -1, 1, 8, 14, 15, 15, 15, 14, 13, 9, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -3, -4, -9, -13, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -13, -9, -2, 0, 0, 0, 2, 2, 9, 13, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 10, 5, 0, 0, 1, 0, 0];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 8;
para.min_speed = speedStartNum2;
para.tgt_speed = tgt_speedClass2;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 285.7;
pos.y = 174.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 12, 'bg01');
stop();
}
frame 69 {
initMovie();
stop();
}
frame 71 {
x_array = [35, 2, 2, 2, 2, 2, 2, 0, 0, 1, 0, 0, 9, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 12, 5, -5, -11, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -13, -11, -7, 0, 0, 1, 0, 1, 1, 5, 8, 11, 13, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 12, 8, 3, -2, 3, 8, 12, 14, 15, 15, 15, 15, 15];
y_array = [516, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -12, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5, -9, -14, -15, -9, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, -4, -7, -10, -14, -14, -15, -15, -15, -15, -15, -14, -13, -10, -7, -4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 5, 9, 13, 15, 15, 15, 12, 10, 5, 0, 0, -1, 0, 0];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 8;
para.min_speed = speedStartNum2;
para.tgt_speed = tgt_speedClass2;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 281.7;
pos.y = 174.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 13, 'bg01');
stop();
}
frame 72 {
initMovie();
stop();
}
frame 74 {
x_array = [325, -13, -13, -13, -13, -13, -13, -13, -13, -9, -10, -9, -10, -9, -10, -9, -10, -9, -10, -9, -10, -9, -10, -9, -10, -5, 0, 5, 10, 13, 14, 15, 13, 10, 10, 9, 10, 9, 10, 9, 10, 9, 9, 10, 9, 10, 13, 15, 12, 12, 11, 12, 12, 12, 12, 12, 12, 11, 10, 10, 1, -9, -10, -9, -9, -9, -10, -9, -11, -14, -14, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -13, -8, -2, 7, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15];
y_array = [-83, 8, 8, 8, 8, 8, 8, 8, 8, 12, 11, 12, 11, 12, 12, 11, 12, 12, 11, 12, 11, 12, 12, 11, 12, 14, 15, 14, 12, 7, 3, -2, -7, -11, -12, -11, -12, -12, -11, -12, -12, -11, -12, -11, -12, -12, -8, 2, 9, 9, 10, 9, 9, 9, 9, 10, 9, 9, 11, 11, 15, 12, 12, 12, 11, 12, 12, 12, 10, 7, 3, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, 7, 13, 15, 13, 4, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 8;
para.min_speed = speedStartNum2;
para.tgt_speed = tgt_speedClass2;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 281.7;
pos.y = 174.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 14, 'bg01');
stop();
}
frame 75 {
initMovie();
stop();
}
frame 77 {
x_array = [333, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, -6, -12, -14, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -13, -9, -2, 0, 1, 0, 7, 12, 15, 14, 14, 14, 14, 13, 14, 13, 14, 15, 15, 14, 15, 14, 13, 14, 14, 14, 15, 14, 13, 9, 11, 14, 15, 14, 13, 13, 13, 13, 13, 11, 9, -1, -10, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -12, -11, 0, 11, 13, 13, 13, 13, 13, 14, 14, 15, 15, 15, 15, 14, 14, 14, 14, 13, 14, 14, 14];
y_array = [-96, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 12, 15, 15, 15, 15, 13, 9, 2, -5, -6, -6, -6, -7, -6, -6, -6, -3, 0, 2, 5, 6, 6, 6, 6, 6, 1, -4, -8, -12, -10, -7, -1, 5, 7, 8, 8, 7, 8, 10, 12, 15, 11, 2, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 10, 11, 15, 11, 7, 8, 7, 7, 8, 4, 4, 4, 0, -1, -3, -3, -6, -6, -5, -6, -6, -6, -6];
para = new Object();
trace(' now 15 ');
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 7;
para.min_speed = speedStartNum3;
para.tgt_speed = tgt_speedClass3;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 130;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 489.7;
pos.y = 63.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 15, 'bg01');
stop();
}
frame 78 {
initMovie();
stop();
}
frame 80 {
x_array = [235, 2, 2, 2, 2, 2, 3, 4, 10, 14, 15, 15, 15, 15, 15, 14, 15, 14, 14, 13, 13, 12, 11, 10, 8, 8, 7, 5, 5, -2, -7, -13, -15, -14, -12, -9, -7, -6, -7, -6, -8, -10, -11, -13, -14, -15, -15, -15, -15, -15, -14, -15, -15, -15, -15, -14, -15, -14, -14, -13, -13, -13, -12, -11, -10, -9, -8, -4, -1, 3, 4, 4, 3, 7, 9, 12, 14, 14, 13, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 9, 2, -5, -11, -14, -15, -15, -15, -15, -15, -15, -15, -15, -13, -13, -11, -8, -7, -5, -3, 4, 10, 14, 15, 15, 15, 15];
y_array = [-54, 15, 15, 15, 15, 15, 15, 14, 11, 5, 0, 0, 1, 1, 3, 3, 4, 4, 5, 7, 8, 10, 10, 11, 12, 13, 13, 15, 14, 15, 13, 8, 2, -5, -9, -12, -13, -14, -13, -14, -13, -11, -10, -7, -6, -3, -1, 1, 3, 2, 3, 2, 3, 2, 3, 3, 5, 5, 5, 7, 7, 8, 9, 10, 11, 12, 13, 14, 15, 15, 15, 14, 15, 14, 11, 9, 6, 6, 6, 6, 2, 0, 1, 0, 0, 0, 1, 0, -2, -1, -2, -1, -7, -12, -15, -14, -10, -4, 0, -1, -2, -1, -1, -2, -1, -4, -6, -8, -10, -12, -13, -15, -14, -14, -11, -5, -3, -2, -2, -2];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 7;
para.min_speed = speedStartNum3;
para.tgt_speed = tgt_speedClass3;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 301.7;
pos.y = 217.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 16, 'bg01');
stop();
}
frame 81 {
initMovie();
stop();
}
frame 83 {
x_array = [658, -15, -15, -15, -15, -15, -15, -15, -15, -13, -9, -2, 0, 1, 0, -9, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -13, -11, -12, -13, -15, -15, -15, -14, -10, -2, -1, 4, 7, 12, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 10, 5, -1, -8, -12, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -12, -7, -3, 3, 8, 12, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15];
y_array = [258, 0, 0, 0, 0, 0, 0, 0, 0, -7, -12, -15, -15, -15, -15, -12, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4, -7, -11, -9, -7, -1, 0, 1, 4, 11, 15, 15, 15, 12, 10, 6, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 3, 6, 11, 14, 15, 13, 8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 10, 13, 15, 14, 13, 9, 5, -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 7;
para.min_speed = speedStartNum3;
para.tgt_speed = tgt_speedClass3;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 489.7;
pos.y = 364.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 17, 'bg01');
stop();
}
frame 84 {
initMovie();
stop();
}
frame 86 {
x_array = [675, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -12, -7, -3, 0, 0, 0, 0, 0, 0, 6, 11, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 7, 0, -8, -14, -15, -15, -14, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -11, -6, 2, 8, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 8, -1, -7, -12, -15, -15, -15, -15, -15, -15, -12, -7, 1, 1, 1, -2, -6, -12, -14, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15];
y_array = [149, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 5, 10, 13, 15, 15, 15, 15, 15, 15, 15, 14, 10, 6, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, -8, -13, -15, -12, -7, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, -5, -10, -14, -15, -12, -7, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 3, 6, 13, 15, 13, 9, 2, 0, 0, 1, 0, 2, 9, 13, 15, 15, 15, 15, 14, 10, 3, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 7;
para.min_speed = speedStartNum3;
para.tgt_speed = tgt_speedClass3;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 487.7;
pos.y = 363.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 18, 'bg01');
stop();
}
frame 87 {
initMovie();
stop();
}
frame 89 {
x_array = [328, 1, 1, 1, 1, 1, 0, 0, -1, 0, 0, 0, -1, 0, -6, -11, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -10, -4, 1, 8, 12, 15, 15, 15, 15, 15, 15, 15, 14, 14, 9, 3, -5, -11, -14, -15, -15, -15, -15, -15, -15, -15, -13, -10, -5, 1, 4, 9, 13, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 12, 7, 3, 1, 0, 1, 0, 1, 0, 1, 6, 10, 14, 15, 15, 15, 15, 15, 15, 15, 14, 12, 7, 3, -1, -1, -7, -12, -14, -15, -15];
y_array = [-83, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 10, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 6, 11, 15, 14, 14, 9, 3, 1, 1, 0, 1, 1, 1, 5, 6, 12, 15, 14, 10, 4, 1, 0, 1, 0, 1, 0, 1, 7, 11, 14, 15, 14, 12, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, -5, -10, -13, -14, -15, -15, -15, -15, -15, -15, -15, -14, -11, -6, -2, 0, 0, 0, -1, 0, 0, 5, 10, 13, 15, 15, 15, 13, 10, 3, -2, -5];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 7;
para.min_speed = speedStartNum3;
para.tgt_speed = tgt_speedClass3;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 535.7000000000001;
pos.y = 82.59999999999999;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 19, 'bg01');
stop();
}
frame 90 {
initMovie();
stop();
}
frame 92 {
x_array = [-110, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 9, 4, -1, -8, -14, -15, -14, -15, -11, -3, 0, 1, 0, 0, 1, 0, 0, 5, 8, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 11, 2, 0, -1, -11, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -11, -2, 8, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13, 8, 1, 0, 0, 8, 14, 15, 15, 15, 12, 6, 0, 1, 0, 0, 1, 11, 15, 15];
y_array = [134, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 12, 14, 15, 13, 6, 2, 1, 1, 10, 15, 15, 15, 15, 15, 15, 15, 15, 14, 13, 4, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -10, -15, -15, -15, -11, -1, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, -10, -15, -12, -3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7, -13, -15, -15, -15, -12, -6, 0, 0, 0, 8, 14, 15, 15, 15, 15, 15, 10, 1, -7];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 7;
para.min_speed = speedStartNum3;
para.tgt_speed = tgt_speedClass3;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 255.7;
pos.y = 178.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 20, 'bg01');
stop();
}
frame 93 {
initMovie();
stop();
}
frame 95 {
x_array = [363, -2, -2, -2, -2, -2, -2, -2, -9, -14, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -15, -13, -13, -13, -12, -10, -10, -9, -8, -7, -6, -5, -4, -2, -1, 1, 1, 3, 8, 13, 14, 15, 12, 6, -2, -2, 0, 2, 3, 5, 6, 7, 6, 10, 12, 14, 14, 14, 15, 14, 15, 15, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 14, 15, 14, 13, 10, 6, 2, 0, 0, -1, 0, 0, -4, -8, -11, -14, -14, -15, -14, -15, -15, -14, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -15, -14, -15, -15, -13, -12, -8, -5, -1, 3, 6, 6, 6, 10, 13, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 14, 13, 13, 10, 8, 4, 0];
y_array = [502, -15, -15, -15, -15, -15, -15, -15, -12, -6, 0, -1, -1, 0, -1, 0, -1, 0, -1, -4, -5, -7, -9, -9, -8, -10, -10, -11, -11, -12, -11, -12, -12, -14, -14, -14, -15, -15, -15, -13, -8, -3, 2, 9, 14, 15, 15, 15, 15, 14, 15, 13, 14, 13, 12, 8, 5, 5, 5, 5, 4, 3, 2, 1, 0, -1, -1, -1, -2, -1, -1, -2, -1, -2, -3, -4, -4, -5, -4, -8, -11, -14, -15, -15, -15, -15, -15, -15, -14, -13, -10, -7, -4, -4, -4, -3, -2, -1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 2, 3, 2, 2, 3, 7, 10, 12, 14, 15, 15, 13, 14, 14, 11, 7, 6, 5, 5, 2, 1, 2, 2, 1, -1, -1, -1, -1, -1, -3, -5, -6, -9, -11, -13, -14, -16];
para = new Object();
para.superBall_rnd = 150;
para.tagTime = 20;
para.tgt_same_change = 3;
para.tgt_same_base = 1;
para.tgt_type = 6;
para.speed_a = 7;
para.min_speed = speedStartNum3;
para.tgt_speed = tgt_speedClass3;
if (testModeStart) {
para.tgt_totalNum = testModeNum;
} else {
para.tgt_totalNum = 150;
}
randomhei1 = random(para.tgt_totalNum);
pos = new Object();
pos.x = 319.7;
pos.y = 193.6;
if (_root.passXS) {
para.tgt_totalNum = 10;
}
levelRun('2-4', 21, 'bg01');
stop();
}
frame 96 {
initMovie();
stop();
}
instance sound_mc of movieClip 648 {
onClipEvent (press) {
var c = this._currentframe;
if (_root.SoundStop) {
_root.Sound_con.setVolume(0);
this.gotoAndStop(2);
} else {
if (_root.SoundStop == false) {
_root.SoundStop = false;
_root.Sound_con.setVolume(100);
this.gotoAndStop(1);
}
}
}
onClipEvent (rollOver) {
this.an.gotoAndStop(2);
}
onClipEvent (rollOut) {
this.an.gotoAndStop(1);
}
}
frame 99 {
GamePassAll = true;
stop();
stopAllSounds();
_root.BOX_x.removeMovieClip();
start_sound_.start(0, 1100);
key_listener = new Object();
key_listener.onKeyDown = function () {
if (Key.getCode() == 32) {
++ModeZT;
gotoAndStop('ModeE');
_root.start_sound_.stop();
}
};
if (levelNum == 8) {
Dis.dis.gotoAndStop(1);
level2CanShow = true;
} else {
if (levelNum == 15) {
level3CanShow = true;
Dis.dis.gotoAndStop(2);
} else {
if (levelNum == 22) {
level3CanShow = true;
Dis.dis.gotoAndStop(3);
}
}
}
Key.addListener(key_listener);
trace(' _root.levelNum = ' + _root.levelNum);
stop();
}
movieClip 832 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 835 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 837 {
}
movieClip 840 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 843 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 844 {
}
movieClip 847 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 850 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 851 {
frame 1 {
stop();
nextClass.onPress = function () {
++_root.ModeZT;
_root.start_sound_.stop();
_root.gotoAndStop('ModeE');
};
}
}
movieClip 852 {
}
frame 109 {
stop();
BOX_x.removeMovieClip();
re_back_func_();
pop_ = ['h', 'o', 'n', 'e', 'y'];
_root.propNums = 0;
var i = 1;
while (i < 6) {
_root['propBox' + i].gotoAndStop(1);
++i;
}
bu.onPress = function () {
gotoAndPlay(1);
};
b2.onPress = function () {
getURL('http://www.nx8.com/?utm_source=honeytrouble&utm_medium=honeytrouble&utm_campaign=honeytrouble', '_blank');
};
start_sound_Now = null;
start_time = 0;
scoresxt.text = goal_total;
trace(' _root.score_n = ' + _root.score_n);
trace(' int(_root.ss1+_root.xx1) = ' + int(_root.ss1 + _root.xx1));
input_name.onSetFocus = function () {
this.text = '';
trace(' sehttjekjtket ');
inputMCx.gotoAndStop(1);
inputMCx.input_namex = '';
inputMCx._visible = false;
trace(' inputMCx._currentframe = ' + inputMCx._currentframe);
};
Selection.setFocus(txt);
input_namex = lan_input_name;
inputMCx._visible = true;
inputMCx.gotoAndStop(getLanFrame());
inputMCx.input_namex = lan_input_name;
b1.onRelease = function () {
trace(' string input_name.text = ' + int(input_name.text));
if (input_name.text == '' || input_name.text == lan_input_name || (String(input_name.text)).substr(0, 1) == ' ') {
inputMCx._visible = true;
inputMCx.gotoAndStop(getLanFrame());
inputMCx.input_namex = lan_input_name;
} else {
trace(' _root.score = ' + _root.score + ' _root.score_n = ' + _root.score_n);
so.data.scores.push([input_name.text, int(_root.ss1 + _root.xx1)]);
so.flush();
_root.score_n = 0;
gotoAndPlay('gameFail2');
stopAllSounds();
start_sound_Now = true;
start_sound_.start(0, 1100);
}
};
}
movieClip 860 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 865 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 870 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 873 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 876 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
instance sound_mc of movieClip 648 {
onClipEvent (press) {
var c = this._currentframe;
if (_root.SoundStop) {
_root.Sound_con.setVolume(0);
this.gotoAndStop(2);
} else {
if (_root.SoundStop == false) {
_root.SoundStop = false;
_root.Sound_con.setVolume(100);
this.gotoAndStop(1);
}
}
}
onClipEvent (rollOver) {
this.an.gotoAndStop(2);
}
onClipEvent (rollOut) {
this.an.gotoAndStop(1);
}
}
movieClip 881 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
frame 113 {
stop();
bu.onPress = function () {
trace(start_time + '--------------------------------------------------');
tmp_ball_ball_type_arr = [random(4) + 1, random(4) + 1, random(4) + 1];
_root.gotoAndPlay('gameplay');
};
moreGame.onRelease = function () {};
trace(so.data.scores + '=====');
var i = 0;
while (i < so.data.scores.length - 1) {
var j = i + 1;
while (j < so.data.scores.length) {
if (so.data.scores[i][1] > so.data.scores[j][1]) {
var tmp = so.data.scores[i];
so.data.scores[i] = so.data.scores[j];
so.data.scores[j] = tmp;
}
++j;
}
++i;
}
var i = 1;
while (i < 8) {
var name_txt = this['name_txt' + i];
var scores = this['scores' + i];
name_txt.text = so.data.scores[so.data.scores.length - i][0];
scores.text = so.data.scores[so.data.scores.length - i][1];
trace(' name_txt = ' + name_txt + ' scores = ' + scores);
trace(' name_txt.text = ' + name_txt.text + ' scores.text = ' + scores.text);
if (so.data.scores[so.data.scores.length - i][0] == undefined) {
name_txt.text = '';
scores.text = '';
}
++i;
}
}
movieClip 886 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 887 {
}
movieClip 892 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 896 {
}
movieClip 912 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 915 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
frame 120 {
delete now_type_tmp_arr;
_root.unblack = undefined;
_root.BOX_x.removeMovieClip();
b1.onPress = function () {
start_sound_.stop();
_root.attachMovie('BOX_x', 'BOX_x', _root.getNextHighestDepth());
re_back_func_();
_root.pop_ = ['h', 'o', 'n', 'e', 'y'];
if (testClassNum) {
levelNum = testClassNum;
} else {
levelNum = 1;
}
gotoAndPlay('mode');
};
b2.onPress = function () {
start_sound_.stop();
_root.attachMovie('BOX_x', 'BOX_x', _root.getNextHighestDepth());
re_back_func_();
_root.pop_ = ['h', 'o', 'n', 'e', 'y'];
levelNum = 8;
gotoAndPlay('mode');
};
b3.onPress = function () {
start_sound_.stop();
_root.attachMovie('BOX_x', 'BOX_x', _root.getNextHighestDepth());
re_back_func_();
_root.pop_ = ['h', 'o', 'n', 'e', 'y'];
levelNum = 15;
gotoAndPlay('mode');
};
if (level3CanShow) {
M2._alpha = 0;
M3._alpha = 0;
} else {
if (level2CanShow) {
b3._alpha = 50;
b3.enabled = false;
M2._alpha = 0;
} else {
b2._alpha = 50;
b2.enabled = false;
b3._alpha = 50;
b3.enabled = false;
}
}
Key.removeListener(key_listener);
}
movieClip 927 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 931 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 936 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 940 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 946 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 950 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 956 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 957 {
}
movieClip 960 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 961 {
}
movieClip 964 {
frame 1 {
stop();
trace(' xxxsddee = ' + _root.getLanFrame());
this.gotoAndStop(_root.getLanFrame());
}
frame 6 {
trace(' jumped------------- ');
trace(' _root.lan_choose_world = ' + _root.lan_choose_world);
}
}
frame 121 {
howToPlayBotten.onPress = function () {
_root.gotoAndPlay('gameplay');
};
}
movieClip 967 {
}
movieClip 968 {
}
movieClip 969 {
}
movieClip 970 {
}
movieClip 971 {
}
movieClip 975 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 976 {
}
movieClip 978 {
}
movieClip 981 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 984 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 987 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 990 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 993 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 996 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 999 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 1002 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 1005 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 1008 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 1011 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}
movieClip 1014 {
frame 1 {
stop();
this.gotoAndStop(_root.getLanFrame());
}
}