Combined Code
frame 1 {
total = int(_root.getBytesTotal() / 1000);
download = int(_root.getBytesLoaded() / 1000);
bar_size = Math.round((download / 470) * 100);
preloader.bar_bar._xscale = bar_size;
if (download >= total) {
gotoAndPlay(3);
} else {
play();
}
}
movieClip 4 {
}
movieClip 5 {
frame 1 {
stop();
}
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 13 {
}
frame 2 {
gotoAndPlay(1);
}
frame 51 {
static_mouse_pos = 0;
footy_action = 0;
mouse_x_pos = _xmouse;
motion_number = 0;
player_motion = 0;
full_motion = 0;
doing_button_click = 0;
player_speed = 0;
kick_x_pos = 0;
kick_y_pos = 0;
football_position = 0;
footy_action = 0;
contact_1 = false;
hit_section = 0;
hit_section_x_pos = 0;
block_contact = 0;
volley = 0;
hit_area = 0;
kick_type = 0;
player_dir = 0;
ball_height = 0;
main_menu_selection = 0;
shirt_selected = 1;
gender_selected = 1;
ball_selected = 1;
hiscore = 3000;
top_score = 3000;
top_chain = 8;
player_score = 0;
volley_score = 0;
chain_count = 0;
chain_total = 0;
total_volley_count = 0;
links = 0;
link_total = 0;
longest_chain = 0;
right_foot_kick = 0;
left_foot_kick = 0;
right_knee_knee = 0;
left_knee_knee = 0;
head_head = 0;
summersault = 0;
}
frame 52 {
boost = 0;
boost_word = 0;
bw_1 = 0;
bw_2 = 0;
bw_3 = 0;
bw_4 = 0;
bw_5 = 0;
bw_6 = 0;
bw_7 = 0;
bw_8 = 0;
bw_9 = 0;
bw_10 = 0;
nighttime = 0;
broken_window = 0;
shatter_proof = 12;
distance = 0;
distance_new = 0;
distance_travelled = 0;
total_hits = 0;
foot_total = 0;
foot_total_percentage = 0;
knee_total = 0;
knee_total_percentage = 0;
headers_total = 0;
headers_total_percentage = 0;
specials_total = 0;
specials_total_percentage = 0;
kickup = 0;
kickup_high = 1;
number_of_kickups = 0;
number_of_single_kickups = 0;
kickup_percentage = 0;
game_percentage = 0;
rating = 'A Fair All Round Player';
skill_comment_points = 0;
bonus_item_1 = 0;
bonus_item_2 = 0;
bonus_item_3 = 0;
bonus_item_4 = 0;
bonus_item_5 = 0;
bonus_item_score = 0;
game_percentage = 0;
game_score = 0;
rank = 'Unclassified';
ball_gravity = 0.8;
ball_floaty = 120;
actual_ball = 1;
boarded_up_early = 0;
burst_ball = 0;
name = '';
name_1 = 'AAA';
name_2 = 'BBB';
name_3 = 'CCC';
score_1 = 25000;
score_2 = 20000;
score_3 = 15000;
}
frame 65 {
stop();
}
button 20 {
on (rollOver) {
tellTarget ('_root.highlight_movie') {
gotoAndPlay('options');
}
}
on (rollOut) {
tellTarget ('_root.highlight_movie') {
gotoAndStop('options');
}
}
on (release) {
main_menu_selection = 3;
gotoAndPlay(66);
}
}
button 21 {
on (rollOver) {
tellTarget ('_root.highlight_movie') {
gotoAndPlay('scores');
}
}
on (rollOut) {
tellTarget ('_root.highlight_movie') {
gotoAndStop('scores');
}
}
on (release) {
main_menu_selection = 4;
gotoAndPlay(66);
}
}
button 22 {
on (rollOver) {
tellTarget ('_root.highlight_movie') {
gotoAndPlay('rules');
}
}
on (rollOut) {
tellTarget ('_root.highlight_movie') {
gotoAndStop('rules');
}
}
on (release) {
main_menu_selection = 2;
gotoAndPlay(66);
}
}
button 23 {
on (rollOver) {
tellTarget ('_root.highlight_movie') {
gotoAndPlay('play');
}
}
on (rollOut) {
tellTarget ('_root.highlight_movie') {
gotoAndStop('play');
}
}
on (release) {
main_menu_selection = 1;
gotoAndPlay(66);
}
}
movieClip 28 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(2);
}
frame 20 {
gotoAndPlay(12);
}
frame 30 {
gotoAndPlay(22);
}
frame 40 {
gotoAndPlay(32);
}
}
frame 72 {
stop();
if (main_menu_selection == 1) {
gotoAndStop(136);
}
if (main_menu_selection == 2) {
gotoAndPlay(73);
}
if (main_menu_selection == 3) {
gotoAndPlay(94);
}
if (main_menu_selection == 4) {
gotoAndPlay(115);
}
}
frame 83 {
stop();
}
button 32 {
on (rollOver) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndPlay('main_menu');
}
}
on (rollOut) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndStop('main_menu');
}
}
on (release) {
play();
}
}
movieClip 34 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(2);
}
}
frame 93 {
gotoAndPlay(57);
}
frame 99 {
eval('_root.options_image_movie.options_' + /:shirt_selected)._alpha = 100;
eval('_root.options_image_movie.options_' + (/:gender_selected + 4))._alpha = 100;
eval('_root.options_image_movie.options_' + (/:ball_selected + 6))._alpha = 100;
}
movieClip 37 {
}
movieClip 38 {
}
movieClip 40 {
frame 1 {
stop();
}
}
frame 104 {
stop();
}
button 41 {
on (rollOver) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndPlay('main_menu');
}
}
on (rollOut) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndStop('main_menu');
}
}
on (release) {
play();
}
}
button 42 {
on (release) {
_root.options_image_movie.options_1._alpha = 100;
tellTarget ('_root.options_image_movie.options_1') {
play();
}
/:shirt_selected = 1;
_root.options_image_movie.options_2._alpha = 0;
_root.options_image_movie.options_3._alpha = 0;
_root.options_image_movie.options_4._alpha = 0;
}
}
button 43 {
on (release) {
_root.options_image_movie.options_2._alpha = 100;
tellTarget ('_root.options_image_movie.options_2') {
play();
}
/:shirt_selected = 2;
_root.options_image_movie.options_1._alpha = 0;
_root.options_image_movie.options_3._alpha = 0;
_root.options_image_movie.options_4._alpha = 0;
}
}
button 44 {
on (release) {
_root.options_image_movie.options_3._alpha = 100;
tellTarget ('_root.options_image_movie.options_3') {
play();
}
/:shirt_selected = 3;
_root.options_image_movie.options_1._alpha = 0;
_root.options_image_movie.options_2._alpha = 0;
_root.options_image_movie.options_4._alpha = 0;
}
}
button 45 {
on (release) {
_root.options_image_movie.options_4._alpha = 100;
tellTarget ('_root.options_image_movie.options_4') {
play();
}
/:shirt_selected = 4;
_root.options_image_movie.options_1._alpha = 0;
_root.options_image_movie.options_2._alpha = 0;
_root.options_image_movie.options_3._alpha = 0;
}
}
button 46 {
on (release) {
_root.options_image_movie.options_5._alpha = 100;
tellTarget ('_root.options_image_movie.options_5') {
play();
}
/:gender_selected = 1;
_root.options_image_movie.options_6._alpha = 0;
}
}
button 47 {
on (release) {
_root.options_image_movie.options_6._alpha = 100;
tellTarget ('_root.options_image_movie.options_6') {
play();
}
/:gender_selected = 2;
_root.options_image_movie.options_5._alpha = 0;
}
}
button 48 {
on (release) {
/:actual_ball = 3;
/:ball_floaty = 70;
_root.options_image_movie.options_9._alpha = 100;
tellTarget ('_root.options_image_movie.options_9') {
play();
}
/:ball_selected = 3;
_root.options_image_movie.options_8._alpha = 0;
_root.options_image_movie.options_7._alpha = 0;
}
}
button 49 {
on (release) {
/:actual_ball = 2;
/:ball_gravity = 0.95;
_root.options_image_movie.options_8._alpha = 100;
tellTarget ('_root.options_image_movie.options_8') {
play();
}
/:ball_selected = 2;
_root.options_image_movie.options_7._alpha = 0;
_root.options_image_movie.options_9._alpha = 0;
}
}
button 50 {
on (release) {
/:actual_ball = 1;
_root.options_image_movie.options_7._alpha = 100;
tellTarget ('_root.options_image_movie.options_7') {
play();
}
/:ball_selected = 1;
_root.options_image_movie.options_8._alpha = 0;
_root.options_image_movie.options_9._alpha = 0;
}
}
frame 114 {
gotoAndPlay(57);
}
frame 125 {
stop();
}
button 64 {
on (rollOver) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndPlay('main_menu');
}
}
on (rollOut) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndStop('main_menu');
}
}
on (release) {
play();
}
}
frame 135 {
gotoAndPlay(57);
}
frame 136 {
stop();
tellTarget ('mouse_pos_check') {
play();
}
/:full_motion = 0;
}
button 65 {
on (rollOver) {
/:hit_area = 1;
/:footy_action = 1;
}
on (release, rollOut) {
/:hit_area = 1;
}
on (release) {
if (/:doing_button_click == 0) {
tellTarget ('_root.player_movie') {
gotoAndPlay('dive_' + /:hit_area + '_' + /:player_dir);
}
}
}
}
button 66 {
on (rollOver) {
/:footy_action = 1;
/:hit_area = 2;
}
on (rollOut) {
/:footy_action = 1;
/:hit_area = 1;
}
on (release) {
if (/:full_motion == 0) {
tellTarget ('_root.player_movie') {
gotoAndPlay('dive_' + /:player_speed);
}
}
}
}
button 67 {
on (rollOver) {
/:footy_action = 1;
/:hit_area = 3;
}
on (rollOut) {
/:footy_action = 1;
/:hit_area = 2;
}
on (release) {
if (/:doing_button_click == 0) {
tellTarget ('_root.player_movie') {
gotoAndPlay('dive_2_' + /:player_dir);
}
}
}
}
button 68 {
on (rollOver) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndPlay('main_menu');
}
}
on (rollOut) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndStop('main_menu');
}
}
on (release) {
stop();
gotoAndPlay(50);
}
}
button 69 {
on (rollOver) {
tellTarget ('_root.results_highlight_movie') {
gotoAndPlay('results');
}
}
on (rollOut) {
tellTarget ('_root.results_highlight_movie') {
gotoAndStop('results');
}
}
on (release) {
stop();
gotoAndPlay(142);
}
}
movieClip 70 {
frame 1 {
if (/:actual_ball == 2) {
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
button 72 {
on (release) {
tellTarget ('_root.') {
gotoAndStop('pee');
stop();
}
}
}
movieClip 73 {
}
button 74 {
on (release) {
tellTarget ('_root.') {
gotoAndStop('egypt');
stop();
}
}
}
movieClip 75 {
}
movieClip 79 {
frame 1 {
stop();
}
frame 25 {
/:bonus_item_3 = 1;
}
frame 26 {
stop();
}
}
movieClip 83 {
frame 1 {
play_cat = random(5);
}
frame 69 {
if (play_cat == 4) {
gotoAndPlay(70);
} else {
gotoAndPlay(1);
}
}
frame 70 {
cat_visible = 0;
}
frame 78 {
cat_visible += 1;
}
frame 79 {
if (cat_visible >= 10) {
gotoAndPlay(80);
} else {
gotoAndPlay(76);
}
}
frame 87 {
gotoAndPlay(1);
}
}
movieClip 85 {
frame 1 {
stop();
}
frame 36 {
/:bonus_item_2 = 1;
}
frame 57 {
stop();
}
}
movieClip 87 {
}
movieClip 88 {
}
movieClip 90 {
frame 8 {
stop();
}
}
movieClip 97 {
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 106 {
}
movieClip 109 {
}
movieClip 111 {
frame 30 {
stop();
if (/:actual_ball == 2) {
/:boarded_up_early = 1;
tellTarget ('_root.boarded_up_movie') {
gotoAndStop('boarded');
}
}
}
}
movieClip 112 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
/:broken_window = 1;
}
}
movieClip 114 {
}
movieClip 115 {
frame 1 {
stop();
}
frame 7 {
stop();
gotoAndStop(1);
}
}
movieClip 117 {
frame 1 {
stop();
if (/:boarded_up_early == 1) {
gotoAndStop(2);
}
if (/:burst_ball >= 4 and /:actual_ball < 3) {
gotoAndStop(2);
}
}
frame 2 {
stop();
/:bonus_item_1 = 1;
}
}
movieClip 120 {
}
movieClip 121 {
frame 1 {
stop();
}
}
movieClip 122 {
frame 1 {
stop();
if (/:burst_ball >= 4 and /:actual_ball == 3) {
gotoAndStop(2);
}
}
frame 2 {
stop();
/:bonus_item_1 = 1;
}
}
movieClip 124 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 132 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 141 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 143 {
}
movieClip 148 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 155 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 156 {
}
movieClip 158 {
}
movieClip 161 {
}
movieClip 163 {
}
movieClip 166 {
}
movieClip 167 {
frame 1 {
stop();
if (/:gender_selected == 2) {
gotoAndStop(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
movieClip 169 {
}
movieClip 171 {
}
movieClip 172 {
}
movieClip 173 {
}
movieClip 178 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 180 {
}
movieClip 185 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 187 {
}
movieClip 188 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 193 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 198 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 203 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 208 {
}
movieClip 209 {
frame 1 {
stop();
if (/:gender_selected == 2) {
gotoAndStop(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
movieClip 210 {
}
movieClip 212 {
}
movieClip 213 {
}
movieClip 214 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 215 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 216 {
}
movieClip 221 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 223 {
}
movieClip 224 {
}
movieClip 225 {
}
movieClip 230 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 234 {
}
movieClip 235 {
frame 1 {
stop();
if (/:gender_selected == 2) {
gotoAndStop(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
movieClip 236 {
}
movieClip 237 {
}
movieClip 238 {
}
movieClip 239 {
}
movieClip 240 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 242 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 244 {
}
movieClip 249 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 254 {
frame 1 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 2 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 3 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
frame 4 {
stop();
gotoAndStop('shirt_' + /:shirt_selected);
}
}
movieClip 256 {
}
movieClip 258 {
}
movieClip 259 {
}
movieClip 260 {
frame 1 {
stop();
if (/:gender_selected == 2) {
gotoAndStop(2);
} else {
stop();
}
}
frame 2 {
stop();
}
}
movieClip 264 {
}
movieClip 269 {
frame 1 {
stop();
}
frame 37 {
stop();
}
}
movieClip 271 {
}
movieClip 272 {
}
movieClip 281 {
frame 1 {
stop();
}
frame 1 {
/:player_dir = 0;
}
frame 2 {
/:player_motion = 1;
}
frame 2 {
/:player_dir = 1;
}
frame 3 {
/:player_dir = 1;
}
frame 4 {
/:player_dir = 1;
}
frame 5 {
/:player_dir = 1;
}
frame 6 {
/:player_dir = 1;
}
frame 7 {
/:player_dir = 1;
}
frame 8 {
/:player_dir = 1;
}
frame 9 {
/:player_dir = 1;
}
frame 10 {
/:player_dir = 1;
}
frame 11 {
/:player_dir = 1;
}
frame 12 {
/:player_motion = 0;
stop();
gotoAndPlay(2);
}
frame 12 {
/:player_dir = 1;
}
frame 13 {
/:player_motion = 1;
}
frame 13 {
/:player_dir = 1;
}
frame 14 {
/:player_dir = 1;
}
frame 15 {
/:player_dir = 1;
}
frame 16 {
/:player_dir = 1;
}
frame 17 {
/:player_dir = 1;
}
frame 18 {
/:player_dir = 1;
}
frame 19 {
/:player_dir = 1;
}
frame 20 {
/:player_dir = 1;
}
frame 21 {
/:player_motion = 0;
stop();
gotoAndPlay(13);
}
frame 21 {
/:player_dir = 1;
}
frame 22 {
/:player_motion = 1;
}
frame 22 {
/:player_dir = 1;
}
frame 23 {
/:player_dir = 1;
}
frame 24 {
/:player_dir = 1;
}
frame 25 {
/:player_dir = 1;
}
frame 26 {
/:player_dir = 1;
}
frame 27 {
/:player_motion = 0;
stop();
gotoAndPlay(22);
}
frame 27 {
/:player_dir = 1;
}
frame 28 {
/:player_motion = 1;
}
frame 28 {
/:player_dir = 1;
}
frame 29 {
/:player_dir = 1;
}
frame 30 {
/:player_dir = 1;
}
frame 31 {
/:player_dir = 1;
}
frame 32 {
/:player_dir = 1;
}
frame 33 {
/:player_motion = 0;
stop();
gotoAndPlay(28);
}
frame 33 {
/:player_dir = 1;
}
frame 34 {
/:player_motion = 1;
}
frame 34 {
/:player_dir = 2;
}
frame 35 {
/:player_dir = 2;
}
frame 36 {
/:player_dir = 2;
}
frame 37 {
/:player_dir = 2;
}
frame 38 {
/:player_dir = 2;
}
frame 39 {
/:player_dir = 2;
}
frame 40 {
/:player_dir = 2;
}
frame 41 {
/:player_dir = 2;
}
frame 42 {
/:player_dir = 2;
}
frame 43 {
/:player_dir = 2;
}
frame 44 {
/:player_motion = 0;
stop();
gotoAndPlay(34);
}
frame 44 {
/:player_dir = 2;
}
frame 45 {
/:player_motion = 1;
}
frame 45 {
/:player_dir = 2;
}
frame 46 {
/:player_dir = 2;
}
frame 47 {
/:player_dir = 2;
}
frame 48 {
/:player_dir = 2;
}
frame 49 {
/:player_dir = 2;
}
frame 50 {
/:player_dir = 2;
}
frame 51 {
/:player_dir = 2;
}
frame 52 {
/:player_dir = 2;
}
frame 53 {
/:player_motion = 0;
stop();
gotoAndPlay(45);
}
frame 53 {
/:player_dir = 2;
}
frame 54 {
/:player_motion = 1;
}
frame 54 {
/:player_dir = 2;
}
frame 55 {
/:player_dir = 2;
}
frame 56 {
/:player_dir = 2;
}
frame 57 {
/:player_dir = 2;
}
frame 58 {
/:player_dir = 2;
}
frame 59 {
/:player_motion = 0;
stop();
gotoAndPlay(54);
}
frame 59 {
/:player_dir = 2;
}
frame 60 {
/:player_motion = 1;
}
frame 60 {
/:player_dir = 2;
}
frame 61 {
/:player_dir = 2;
}
frame 62 {
/:player_dir = 2;
}
frame 63 {
/:player_dir = 2;
}
frame 64 {
/:player_dir = 2;
}
frame 65 {
/:player_motion = 0;
stop();
gotoAndPlay(60);
}
frame 65 {
/:player_dir = 2;
}
frame 68 {
/:player_motion = 1;
/:volley_score = 20;
}
frame 73 {
stop();
/:player_motion = 0;
}
frame 74 {
/:player_motion = 1;
/:volley_score = 20;
}
frame 79 {
stop();
/:player_motion = 0;
}
frame 80 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 85 {
stop();
/:player_motion = 0;
}
frame 86 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 91 {
stop();
/:player_motion = 0;
}
frame 92 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 97 {
stop();
/:player_motion = 0;
}
frame 98 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 103 {
stop();
/:player_motion = 0;
}
frame 104 {
/:player_motion = 1;
/:volley_score = 50;
}
frame 111 {
stop();
/:player_motion = 0;
}
frame 112 {
/:player_motion = 1;
/:volley_score = 50;
}
frame 119 {
stop();
/:player_motion = 0;
}
frame 120 {
/:player_motion = 1;
/:volley_score = 50;
}
frame 127 {
stop();
/:player_motion = 0;
}
frame 128 {
/:player_motion = 1;
/:volley_score = 50;
}
frame 135 {
stop();
/:player_motion = 0;
}
frame 138 {
/:player_motion = 1;
/:volley_score = 20;
}
frame 143 {
stop();
/:player_motion = 0;
}
frame 144 {
/:player_motion = 1;
/:volley_score = 20;
}
frame 149 {
stop();
/:player_motion = 0;
}
frame 150 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 155 {
stop();
/:player_motion = 0;
}
frame 156 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 161 {
stop();
/:player_motion = 0;
}
frame 162 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 167 {
stop();
/:player_motion = 0;
}
frame 168 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 173 {
stop();
/:player_motion = 0;
}
frame 176 {
/:player_motion = 1;
/:volley_score = 20;
}
frame 182 {
stop();
/:player_motion = 0;
}
frame 183 {
/:player_motion = 1;
/:volley_score = 20;
}
frame 189 {
stop();
/:player_motion = 0;
}
frame 190 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 196 {
stop();
/:player_motion = 0;
}
frame 197 {
/:player_motion = 1;
/:volley_score = 30;
}
frame 203 {
stop();
/:player_motion = 0;
}
frame 204 {
/:player_motion = 1;
/:volley_score = 100;
}
frame 215 {
stop();
/:player_motion = 0;
}
frame 216 {
/:player_motion = 1;
/:volley_score = 100;
}
frame 227 {
stop();
/:player_motion = 0;
}
frame 229 {
/:player_motion = 1;
/:volley_score = 200;
}
frame 239 {
stop();
/:player_motion = 0;
}
frame 240 {
/:player_motion = 1;
/:volley_score = 200;
}
frame 250 {
stop();
/:player_motion = 0;
}
frame 252 {
/:player_motion = 50;
/:volley_score = 50;
/:full_motion = 0;
/:doing_button_click = 1;
}
frame 265 {
stop();
/:player_motion = 0;
/:full_motion = 0;
/:doing_button_click = 0;
}
frame 266 {
/:player_motion = 1;
/:volley_score = 50;
/:full_motion = 0;
/:doing_button_click = 1;
}
frame 279 {
stop();
/:player_motion = 0;
/:full_motion = 0;
/:doing_button_click = 0;
}
frame 280 {
/:player_motion = 1;
/:volley_score = 50;
/:full_motion = 0;
/:doing_button_click = 1;
}
frame 289 {
stop();
/:player_motion = 0;
/:full_motion = 0;
/:doing_button_click = 0;
}
frame 290 {
/:player_motion = 1;
/:volley_score = 50;
/:full_motion = 0;
/:doing_button_click = 1;
}
frame 299 {
stop();
/:player_motion = 0;
/:full_motion = 0;
/:doing_button_click = 0;
}
frame 301 {
/:player_motion = 1;
/:full_motion = 1;
}
frame 326 {
stop();
/:player_motion = 0;
/:full_motion = 1;
}
frame 327 {
/:player_motion = 1;
/:full_motion = 1;
}
frame 352 {
stop();
/:player_motion = 0;
/:full_motion = 1;
}
frame 353 {
/:player_motion = 1;
/:full_motion = 1;
pee_jump = 0;
}
frame 359 {
pee_jump += 1;
}
frame 368 {
if (pee_jump >= 7) {
gotoAndPlay(369);
} else {
gotoAndPlay(359);
}
}
frame 369 {
pee = 0;
}
frame 379 {
tellTarget ('_root.player_movie.pee_movie') {
play();
}
}
frame 390 {
pee += 1;
if (pee >= 10) {
gotoAndPlay(391);
} else {
gotoAndPlay(380);
}
}
frame 391 {
/:bonus_item_5 = 1;
}
frame 402 {
stop();
tellTarget ('_root') {
gotoAndStop('in');
}
/:player_motion = 0;
/:full_motion = 1;
}
frame 403 {
/:player_motion = 1;
/:full_motion = 1;
egyptian = 0;
}
frame 422 {
egyptian += 1;
if (egyptian >= 5) {
gotoAndPlay(423);
} else {
gotoAndPlay(415);
}
}
frame 423 {
/:bonus_item_4 = 1;
}
frame 434 {
stop();
tellTarget ('_root') {
gotoAndStop('in');
}
/:player_motion = 0;
/:full_motion = 1;
}
}
instance player_movie of movieClip 281 {
onClipEvent (enterFrame) {
if (/:full_motion == 0) {
_x = _x + _xmouse / 5;
}
}
}
movieClip 282 {
frame 1 {
startDrag('', true);
}
}
movieClip 283 {
}
movieClip 288 {
frame 1 {
stop();
if (4 < /:burst_ball) {
/:burst_ball = 4;
}
gotoAndStop('plaster_' + /:burst_ball);
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 289 {
}
movieClip 291 {
}
movieClip 293 {
frame 1 {
stop();
gotoAndStop('ball_' + /:ball_selected);
}
instance ball_detector of movieClip 283 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player_movie.body_block) == true and /:player_speed >= 2 and /:block_contact == 0) {
tellTarget ('_root.ball_movie') {
call('dunch');
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 1) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 1) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.right_knee) == true and /:player_speed == 1 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_knee_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.left_knee) == true and /:player_speed == 1 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_knee_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.right_knee) == true and /:player_speed == 2 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_knee_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_knee) == true and /:player_speed == 2 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_knee_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.head_close) == true and /:player_speed == 1 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.head_close_left) == true and /:player_speed == 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_2_1');
}
}
if (this.hitTest(_root.player_movie.head_close_right) == true and /:player_speed == 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_2_2');
}
}
if (this.hitTest(_root.player_movie.head_far_left) == true and /:player_speed >= 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_dive_left');
}
}
if (this.hitTest(_root.player_movie.head_far_right) == true and /:player_speed >= 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_dive_right');
}
}
if (this.hitTest(_root.player_movie.special_1_left) == true and /:player_speed >= 2 and /:hit_area >= 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('summersault_left');
}
}
if (this.hitTest(_root.player_movie.special_1_right) == true and /:player_speed >= 2 and /:hit_area >= 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('summersault_right');
}
}
if (this.hitTest(_root.player_movie.right_foot_hotspot) == true and /:hit_area >= 1) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.right_foot))._x;
tellTarget ('_root.player_movie.right_foot_hotspot') {
play();
}
/:boost = random(4) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.right_foot_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.left_foot_hotspot) == true and /:hit_area >= 1) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.left_foot))._x;
tellTarget ('_root.player_movie.left_foot_hotspot') {
play();
}
/:boost = random(4) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.left_foot_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.right_knee_hotspot) == true and /:hit_area == 2) {
/:total_hits += 1;
/:knee_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.right_knee))._x;
tellTarget ('_root.player_movie.right_knee_hotspot') {
play();
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.right_knee_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.left_knee_hotspot) == true and /:hit_area == 2) {
/:total_hits += 1;
/:knee_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.left_knee))._x;
tellTarget ('_root.player_movie.left_knee_hotspot') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.left_knee_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.head_close_hotspot) == true and /:hit_area == 3) {
/:total_hits += 1;
/:headers_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.head_close))._x;
/:head_head += 1;
tellTarget ('_root.player_movie.head_close_hotspot') {
play();
}
/:boost = random(3) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.head_close_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.summersault_hotspot) == true and /:hit_area >= 2) {
/:total_hits += 1;
/:specials_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.special))._x;
/:boost = random(3) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
/:summersault += 1;
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (this.hitTest(_root.player_movie.dive_foot_hotspot) == true) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.dive_foot_hotspot))._x;
/:boost = random(5) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (this.hitTest(_root.player_movie.dive_head_hotspot) == true) {
/:total_hits += 1;
/:headers_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.dive_head_hotspot))._x;
/:boost = random(5) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (/:top_score < /:player_score and /:boost_top_score_shown == 0) {
/:boost_top_score_shown = 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_10');
}
}
if (/:top_chain < /:chain_total and /:boost_top_chain_shown == 0) {
/:boost_top_chain_shown = 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_9');
}
}
if (this.hitTest(_root.branch_movie_1) == true) {
tellTarget ('_root.bunch_1') {
play();
}
leaf_fall = random(2) + 1;
leaf_number = random(2) + 1;
if (leaf_fall == 1) {
tellTarget (''_root.falling_leaf_' + leaf_number') {
play();
}
}
}
if (this.hitTest(_root.branch_movie_2) == true) {
tellTarget ('_root.bunch_2') {
play();
}
leaf_fall = random(2) + 1;
leaf_number = random(2) + 3;
if (leaf_fall == 1) {
tellTarget (''_root.falling_leaf_' + leaf_number') {
play();
}
}
}
if (this.hitTest(_root.window_pane) == true and /:broken_window == 0) {
/:shatter_proof -= /:player_speed;
tellTarget ('_root.window_crack') {
play();
}
if (0 >= /:shatter_proof) {
tellTarget ('_root.window_crack') {
gotoAndStop('smashed');
}
}
}
if (this.hitTest(_root.window_pane) == true and /:broken_window == 1 and /:burst_ball < 4) {
stop();
tellTarget ('_root.') {
gotoAndStop('burst_ball');
}
}
if (this.hitTest(_root.bird_movie.bird_hit_spot) == true) {
tellTarget ('_root.bird_movie') {
gotoAndPlay('fallen');
}
}
}
}
frame 2 {
stop();
}
instance ball_detector of movieClip 289 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player_movie.body_block) == true and /:player_speed >= 2 and /:block_contact == 0) {
tellTarget ('_root.ball_movie') {
call('dunch');
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 1) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 1) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.right_knee) == true and /:player_speed == 1 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_knee_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.left_knee) == true and /:player_speed == 1 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_knee_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.right_knee) == true and /:player_speed == 2 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_knee_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_knee) == true and /:player_speed == 2 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_knee_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.head_close) == true and /:player_speed == 1 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.head_close_left) == true and /:player_speed == 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_2_1');
}
}
if (this.hitTest(_root.player_movie.head_close_right) == true and /:player_speed == 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_2_2');
}
}
if (this.hitTest(_root.player_movie.head_far_left) == true and /:player_speed >= 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_dive_left');
}
}
if (this.hitTest(_root.player_movie.head_far_right) == true and /:player_speed >= 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_dive_right');
}
}
if (this.hitTest(_root.player_movie.special_1_left) == true and /:player_speed >= 2 and /:hit_area >= 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('summersault_left');
}
}
if (this.hitTest(_root.player_movie.special_1_right) == true and /:player_speed >= 2 and /:hit_area >= 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('summersault_right');
}
}
if (this.hitTest(_root.player_movie.right_foot_hotspot) == true and /:hit_area >= 1) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.right_foot))._x;
tellTarget ('_root.player_movie.right_foot_hotspot') {
play();
}
/:boost = random(4) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.right_foot_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.left_foot_hotspot) == true and /:hit_area >= 1) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.left_foot))._x;
tellTarget ('_root.player_movie.left_foot_hotspot') {
play();
}
/:boost = random(4) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.left_foot_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.right_knee_hotspot) == true and /:hit_area == 2) {
/:total_hits += 1;
/:knee_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.right_knee))._x;
tellTarget ('_root.player_movie.right_knee_hotspot') {
play();
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.right_knee_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.left_knee_hotspot) == true and /:hit_area == 2) {
/:total_hits += 1;
/:knee_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.left_knee))._x;
tellTarget ('_root.player_movie.left_knee_hotspot') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.left_knee_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.head_close_hotspot) == true and /:hit_area == 3) {
/:total_hits += 1;
/:headers_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.head_close))._x;
/:head_head += 1;
tellTarget ('_root.player_movie.head_close_hotspot') {
play();
}
/:boost = random(3) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.head_close_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.summersault_hotspot) == true and /:hit_area >= 2) {
/:total_hits += 1;
/:specials_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.special))._x;
/:boost = random(3) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
/:summersault += 1;
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (this.hitTest(_root.player_movie.dive_foot_hotspot) == true) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.dive_foot_hotspot))._x;
/:boost = random(5) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (this.hitTest(_root.player_movie.dive_head_hotspot) == true) {
/:total_hits += 1;
/:headers_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.dive_head_hotspot))._x;
/:boost = random(5) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (/:top_score < /:player_score and /:boost_top_score_shown == 0) {
/:boost_top_score_shown = 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_10');
}
}
if (/:top_chain < /:chain_total and /:boost_top_chain_shown == 0) {
/:boost_top_chain_shown = 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_9');
}
}
if (this.hitTest(_root.branch_movie_1) == true) {
tellTarget ('_root.bunch_1') {
play();
}
leaf_fall = random(2) + 1;
leaf_number = random(2) + 1;
if (leaf_fall == 1) {
tellTarget (''_root.falling_leaf_' + leaf_number') {
play();
}
}
}
if (this.hitTest(_root.branch_movie_2) == true) {
tellTarget ('_root.bunch_2') {
play();
}
leaf_fall = random(2) + 1;
leaf_number = random(2) + 3;
if (leaf_fall == 1) {
tellTarget (''_root.falling_leaf_' + leaf_number') {
play();
}
}
}
if (this.hitTest(_root.window_pane) == true and /:broken_window == 0) {
/:shatter_proof = 0;
tellTarget ('_root.window_crack') {
play();
}
if (0 >= /:shatter_proof) {
tellTarget ('_root.window_crack') {
gotoAndStop('smashed');
}
}
}
if (this.hitTest(_root.window_pane) == true and /:broken_window == 1 and /:burst_ball < 4 and /:actual_ball == 1) {
stop();
tellTarget ('_root.') {
gotoAndStop('burst_ball');
}
}
if (this.hitTest(_root.window_pane) == true and /:broken_window == 1 and /:burst_ball < 4 and /:actual_ball == 3) {
stop();
tellTarget ('_root.') {
gotoAndStop('burst_ball');
}
}
if (this.hitTest(_root.bird_movie.bird_hit_spot) == true) {
tellTarget ('_root.bird_movie') {
gotoAndPlay('fallen');
}
}
}
}
frame 3 {
stop();
}
instance ball_detector of movieClip 291 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player_movie.body_block) == true and /:player_speed >= 2 and /:block_contact == 0) {
tellTarget ('_root.ball_movie') {
call('dunch');
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 1) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 1) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.right_foot) == true and /:player_speed == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_foot) == true and /:player_speed == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_foot_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.right_knee) == true and /:player_speed == 1 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_knee_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.left_knee) == true and /:player_speed == 1 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_knee_animation_' + /:player_speed);
}
}
if (this.hitTest(_root.player_movie.right_knee) == true and /:player_speed == 2 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('right_knee_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.left_knee) == true and /:player_speed == 2 and /:hit_area == 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('left_knee_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.head_close) == true and /:player_speed == 1 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_' + /:player_speed + '_' + /:player_dir);
}
}
if (this.hitTest(_root.player_movie.head_close_left) == true and /:player_speed == 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_2_1');
}
}
if (this.hitTest(_root.player_movie.head_close_right) == true and /:player_speed == 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_2_2');
}
}
if (this.hitTest(_root.player_movie.head_far_left) == true and /:player_speed >= 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_dive_left');
}
}
if (this.hitTest(_root.player_movie.head_far_right) == true and /:player_speed >= 2 and /:hit_area == 3) {
tellTarget ('_root.player_movie') {
gotoAndPlay('head_animation_dive_right');
}
}
if (this.hitTest(_root.player_movie.special_1_left) == true and /:player_speed >= 2 and /:hit_area >= 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('summersault_left');
}
}
if (this.hitTest(_root.player_movie.special_1_right) == true and /:player_speed >= 2 and /:hit_area >= 2) {
tellTarget ('_root.player_movie') {
gotoAndPlay('summersault_right');
}
}
if (this.hitTest(_root.player_movie.right_foot_hotspot) == true and /:hit_area >= 1) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.right_foot))._x;
tellTarget ('_root.player_movie.right_foot_hotspot') {
play();
}
/:boost = random(4) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.right_foot_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.left_foot_hotspot) == true and /:hit_area >= 1) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.left_foot))._x;
tellTarget ('_root.player_movie.left_foot_hotspot') {
play();
}
/:boost = random(4) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.left_foot_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.right_knee_hotspot) == true and /:hit_area == 2) {
/:total_hits += 1;
/:knee_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.right_knee))._x;
tellTarget ('_root.player_movie.right_knee_hotspot') {
play();
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.right_knee_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.left_knee_hotspot) == true and /:hit_area == 2) {
/:total_hits += 1;
/:knee_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.left_knee))._x;
tellTarget ('_root.player_movie.left_knee_hotspot') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.left_knee_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.head_close_hotspot) == true and /:hit_area == 3) {
/:total_hits += 1;
/:headers_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.head_close))._x;
/:head_head += 1;
tellTarget ('_root.player_movie.head_close_hotspot') {
play();
}
/:boost = random(3) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
tellTarget ('_root.player_movie.head_close_hotspot') {
play();
}
}
if (this.hitTest(_root.player_movie.summersault_hotspot) == true and /:hit_area >= 2) {
/:total_hits += 1;
/:specials_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.special))._x;
/:boost = random(3) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
/:summersault += 1;
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (this.hitTest(_root.player_movie.dive_foot_hotspot) == true) {
/:total_hits += 1;
/:foot_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.dive_foot_hotspot))._x;
/:boost = random(5) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (this.hitTest(_root.player_movie.dive_head_hotspot) == true) {
/:total_hits += 1;
/:headers_total += 1;
/:hit_section_x_pos = (eval(_root.player_movie.dive_head_hotspot))._x;
/:boost = random(5) + 1;
if (/:boost == 1 and /:player_speed == 3) {
/:boost_word = random(8) + 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_' + /:boost_word);
}
}
tellTarget ('_root.chain_movie') {
play();
}
tellTarget ('_root.ball_movie') {
call('kick');
}
}
if (/:top_score < /:player_score and /:boost_top_score_shown == 0) {
/:boost_top_score_shown = 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_10');
}
}
if (/:top_chain < /:chain_total and /:boost_top_chain_shown == 0) {
/:boost_top_chain_shown = 1;
tellTarget ('_root.boost_movie') {
gotoAndPlay('flashy');
}
tellTarget ('_root.boost_movie.boost_movie_word') {
gotoAndStop('word_9');
}
}
if (this.hitTest(_root.branch_movie_1) == true) {
tellTarget ('_root.bunch_1') {
play();
}
leaf_fall = random(2) + 1;
leaf_number = random(2) + 1;
if (leaf_fall == 1) {
tellTarget (''_root.falling_leaf_' + leaf_number') {
play();
}
}
if (/:burst_ball >= 4) {
tellTarget ('_root.netted_up_movie.netting') {
play();
}
}
}
if (this.hitTest(_root.branch_movie_2) == true) {
tellTarget ('_root.bunch_2') {
play();
}
leaf_fall = random(2) + 1;
leaf_number = random(2) + 3;
if (leaf_fall == 1) {
tellTarget (''_root.falling_leaf_' + leaf_number') {
play();
}
}
if (/:burst_ball >= 4) {
tellTarget ('_root.netted_up_movie.netting') {
play();
}
}
}
if (this.hitTest(_root.branch_movie_2) == true and /:burst_ball < 4) {
stop();
tellTarget ('_root.') {
gotoAndStop('burst_ball_2');
}
}
if (this.hitTest(_root.bird_movie.bird_hit_spot) == true) {
tellTarget ('_root.bird_movie') {
gotoAndPlay('fallen');
}
}
}
}
}
movieClip 295 {
frame 1 {
stop();
}
}
movieClip 296 {
frame 1 {
g = /:ball_floaty;
kicked = 0;
elastic = /:ball_gravity;
score = 0;
bestscore = 0;
BallRadius = Ball._height / 2;
}
frame 2 {
elastic = /:ball_gravity;
if (/:kickup_high < /:kickup) {
/:kickup_high = /:kickup;
}
t = Number(t) + 0.1;
oldx = x;
oldy = y;
x = Ball._x;
y = Ball._y;
vy = Number(vy) + Number(g / 10);
x = Number(x) + Number(vx / 10);
y = Number(y) + Number(vy / 10);
if (Number(x) < Number(20 + BallRadius) and Number(y) < Number(-125 + BallRadius)) {
stop();
tellTarget ('../') {
gotoAndStop('out');
}
}
if (Number(x) < Number(380 - BallRadius) and Number(y) < Number(-125 + BallRadius)) {
stop();
tellTarget ('../') {
gotoAndStop('out');
}
}
if (Number(300 - BallRadius) < Number(y)) {
if (Number(kicked) == 1) {
kicked = 0;
}
if (1 < /:kickup) {
/:number_of_kickups += 1;
/:number_of_single_kickups += /:kickup;
/:kickup = 0;
}
/:kickup = 0;
/:total_volley_count = /:chain_total;
if (/:longest_chain < /:total_volley_count) {
/:longest_chain = /:total_volley_count;
}
/:chain_count = 0;
/:chain_total = 0;
tellTarget ('_root.chain_movie') {
gotoAndStop('chain_0');
}
y = 300 - BallRadius;
vx *= elastic;
vy = -(vy * elastic);
}
if (Number(x) < Number(20 + BallRadius)) {
x = 20 + BallRadius;
vx = -(vx * elastic);
vy *= elastic;
}
if (Number(380 - BallRadius) < Number(x)) {
x = 380 - BallRadius;
vx = -(vx * elastic);
vy *= elastic;
}
Ball._x = x;
Ball._y = y;
Ball._rotation = x;
Ball._xscale = 100;
Ball._yscale = 100;
_root.ball_movie.football_shadow._x = x;
_root.ball_movie.football_shadow._alpha = y - 200;
_root.ball_movie.football_shadow._xscale = y - 225;
_root.ball_movie.football_shadow._yscale = y - 225;
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
elastic = /:ball_gravity * /:player_speed;
/:kickup += 1;
if (/:kickup_high < /:kickup) {
/:kickup_high = /:kickup;
}
kicked = 1;
t = Number(t) + 0.1;
oldx = x;
oldy = y;
x = Ball._x;
y = Ball._y;
vx = Number((Ball._x - mouse._x) * 2) - Number(random(3) / 10 - 0.15 * /:player_speed);
vy = Number(-50) - Number(y - mouse._y);
dx = Ball._x - mouse._x;
if (0 < Number(dx)) {
vy = Number(vy) - Number(dx);
} else {
if (Number(dx) < 0) {
vy -= dx;
}
}
if (Number(x) < Number(20 + BallRadius) and Number(y) < Number(-125 + BallRadius)) {
stop();
tellTarget ('../') {
gotoAndStop('out');
}
}
if (Number(x) < Number(380 - BallRadius) and Number(y) < Number(-125 + BallRadius)) {
stop();
tellTarget ('../') {
gotoAndStop('out');
}
}
if (Number(300 - BallRadius) < Number(y)) {
if (1 < /:kickup) {
/:number_of_kickups += 1;
/:number_of_single_kickups += /:kickup;
/:kickup = 0;
}
/:kickup = 0;
/:total_volley_count = /:chain_total * 8 + /:links;
if (/:longest_chain < /:total_volley_count) {
/:longest_chain = /:total_volley_count;
}
/:chain_count = 0;
/:chain_total = 0;
tellTarget ('_root.chain_movie') {
gotoAndStop('chain_0');
}
y = 300 - BallRadius;
vx *= elastic;
vy = -(vy * elastic);
}
if (Number(x) < Number(20 + BallRadius)) {
x = 20 + BallRadius;
vx = -(vx * elastic);
vy *= elastic;
}
if (Number(380 - BallRadius) < Number(x)) {
x = 380 - BallRadius;
vx = -(vx * elastic);
vy *= elastic;
}
if (Number(/:hit_section_x_pos) < Number(x)) {
vx = -(vx * elastic);
}
if (Number(x) < Number(/:hit_section_x_pos)) {
vx = -(vx * elastic);
}
Ball._x = x;
Ball._y = y;
Ball._rotation = x;
Ball._xscale = 100;
Ball._yscale = 100;
gotoAndPlay(2);
_root.ball_movie.football_shadow._x = x;
_root.ball_movie.football_shadow._alpha = y - 200;
_root.ball_movie.football_shadow._xscale = y - 225;
_root.ball_movie.football_shadow._yscale = y - 225;
}
frame 5 {
/:block_contact = 1;
if (/:kickup_high < /:kickup) {
/:kickup_high = /:kickup;
}
t = Number(t) + 0.1;
oldx = x;
oldy = y;
x = Ball._x;
y = Ball._y;
vx = Number((Ball._x - mouse._x) * 2) - Number(random(3) / 10 - 0.15);
vy = Number(-75) - Number(y - mouse._y);
dx = Ball._x - mouse._x;
if (0 < Number(dx)) {
vy = Number(vy) - Number(dx);
} else {
if (Number(dx) < 0) {
vy -= dx;
}
}
if (Number(x) < Number(20 + BallRadius) and Number(y) < Number(-125 + BallRadius)) {
stop();
tellTarget ('../') {
gotoAndStop('out');
}
}
if (Number(x) < Number(380 - BallRadius) and Number(y) < Number(-125 + BallRadius)) {
stop();
tellTarget ('../') {
gotoAndStop('out');
}
}
if (Number(300 - BallRadius) < Number(y)) {
if (Number(bestscore) < Number(score)) {
}
if (1 < kickup) {
/:number_of_kickups += 1;
/:number_of_single_kickups += /:kickup;
/:kickup = 0;
}
/:kickup = 0;
/:total_volley_count = /:chain_total * 8 + /:links;
if (/:longest_chain < /:total_volley_count) {
/:longest_chain = /:total_volley_count;
}
/:chain_count = 0;
/:chain_total = 0;
tellTarget ('_root.chain_movie') {
gotoAndStop('chain_0');
}
y = 300 - BallRadius;
vx *= elastic;
vy = -(vy * elastic);
}
if (Number(x) < Number(20 + BallRadius)) {
x = 20 + BallRadius;
vx = -(vx * elastic);
vy *= elastic;
}
if (Number(380 - BallRadius) < Number(x)) {
x = 380 - BallRadius;
vx = -(vx * elastic);
vy *= elastic;
}
if (Number(/:hit_section_x_pos) < Number(x)) {
vx = -(vx * elastic);
}
if (Number(x) < Number(/:hit_section_x_pos)) {
vx *= elastic;
}
Ball._x = x;
Ball._y = y;
Ball._rotation = x;
Ball._xscale = 100;
Ball._yscale = 100;
gotoAndPlay(2);
/:block_contact = 0;
_root.ball_movie.football_shadow._x = x;
_root.ball_movie.football_shadow._alpha = y - 200;
_root.ball_movie.football_shadow._xscale = y - 225;
_root.ball_movie.football_shadow._yscale = y - 225;
}
}
movieClip 298 {
}
movieClip 301 {
frame 8 {
stop();
}
}
movieClip 303 {
frame 1 {
stop();
}
frame 25 {
tellTarget ('_root.bird_leggit') {
gotoAndPlay('leggit');
}
}
frame 26 {
gotoAndStop(1);
}
}
movieClip 304 {
frame 1 {
/:player_x_pos = (eval(_root.player_movie))._x;
/:motion_number = /:player_x_pos - _xmouse;
if (_xmouse < /:player_x_pos and /:player_motion == 0) {
tellTarget ('../player_movie') {
if (80 < /:motion_number) {
/:player_speed = 3;
/:distance += 3;
gotoAndPlay('run_left');
}
if (35 < /:motion_number and 80 >= /:motion_number) {
/:player_speed = 2;
/:distance += 1.5;
gotoAndPlay('jog_left');
}
if (10 < /:motion_number and 35 >= /:motion_number) {
/:player_speed = 1;
/:distance += 0.5;
gotoAndPlay('round_left');
}
if (-8 < /:motion_number and 10 >= /:motion_number) {
/:player_speed = 1;
gotoAndPlay('stand_left');
}
}
}
if (/:player_x_pos < _xmouse and /:player_motion == 0) {
tellTarget ('../player_movie') {
if (/:motion_number < -80) {
/:player_speed = 3;
/:distance += 3;
gotoAndPlay('run_right');
}
if (/:motion_number < -35 and /:motion_number >= -80) {
/:player_speed = 2;
/:distance += 1.5;
gotoAndPlay('jog_right');
}
if (/:motion_number < -10 and /:motion_number >= -35) {
/:player_speed = 1;
/:distance += 0.5;
gotoAndPlay('round_right');
}
if (/:motion_number < 0 and /:motion_number >= -10) {
/:player_speed = 1;
gotoAndPlay('stand_right');
}
}
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 305 {
frame 1 {
mouse_check_x_1 = _xmouse;
mouse_check_y_1 = _ymouse;
}
frame 249 {
mouse_check_x_2 = _xmouse;
mouse_check_y_2 = _ymouse;
}
frame 250 {
if (mouse_check_x_1 == mouse_check_x_2 and mouse_check_y_1 == mouse_check_y_2) {
tellTarget ('_root.') {
stop();
gotoAndPlay('ver');
}
} else {
gotoAndPlay(1);
}
}
}
movieClip 307 {
}
movieClip 314 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(2);
}
}
movieClip 326 {
frame 1 {
stop();
}
frame 2 {
stop();
/:bw_1 = 1;
}
frame 3 {
stop();
/:bw_2 = 1;
}
frame 4 {
stop();
/:bw_3 = 1;
}
frame 5 {
stop();
/:bw_4 = 1;
}
frame 6 {
stop();
/:bw_5 = 1;
}
frame 7 {
stop();
/:bw_6 = 1;
}
frame 8 {
stop();
/:bw_7 = 1;
}
frame 9 {
stop();
/:bw_8 = 1;
}
frame 10 {
stop();
/:bw_9 = 1;
}
frame 11 {
stop();
/:bw_10 = 1;
}
}
movieClip 327 {
frame 1 {
stop();
}
frame 32 {
stop();
gotoAndStop(1);
}
}
frame 137 {
stop();
/:full_motion = 1;
tellTarget ('_root.player_movie') {
gotoAndPlay('peeing_animation');
}
}
frame 138 {
stop();
/:full_motion = 1;
tellTarget ('_root.player_movie') {
gotoAndPlay('egypt_animation');
}
}
frame 139 {
stop();
/:full_motion = 1;
tellTarget ('_root.player_movie') {
gotoAndPlay('out_of_bounds_anim');
}
}
button 332 {
on (rollOver) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndPlay('main_menu');
}
}
on (rollOut) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndStop('main_menu');
}
}
on (release) {
stop();
/:footy_action = 0;
/:mouse_x_pos = _xmouse;
/:motion_number = 0;
/:player_motion = 0;
/:player_speed = 0;
/:kick_x_pos = 0;
/:kick_y_pos = 0;
/:football_position = 0;
/:footy_action = 0;
/:contact_1 = false;
/:hit_section = 0;
/:hit_section_x_pos = 0;
/:block_contact = 0;
/:hit_area = 0;
/:kick_type = 0;
/:player_dir = 0;
/:ball_height = 0;
/:main_menu_selection = 0;
/:score = 0;
/:hiscore = 1000000;
gotoAndPlay(57);
}
}
button 333 {
on (rollOver) {
tellTarget ('_root.out_of_bounds_movie.ret_highlight') {
gotoAndPlay('highlight');
}
}
on (rollOut) {
tellTarget ('_root.out_of_bounds_movie.ret_highlight') {
gotoAndStop('highlight');
}
}
on (release) {
tellTarget ('_root.player_movie') {
stop();
}
/:full_motion = 0;
tellTarget ('_root.out_of_bounds_movie') {
gotoAndPlay('play_out');
}
}
}
movieClip 340 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(2);
}
}
movieClip 341 {
frame 18 {
stop();
}
frame 20 {
/:full_motion = 0;
if (350 < (eval(_root.player_movie))._x) {
tellTarget ('_root.player_movie') {
gotoAndPlay('jog_left');
}
}
if (350 >= (eval(_root.player_movie))._x) {
tellTarget ('_root.player_movie') {
gotoAndPlay('jog_right');
}
}
}
frame 24 {
stop();
tellTarget ('../') {
gotoAndStop('in');
}
}
}
frame 140 {
stop();
/:full_motion = 1;
tellTarget ('_root.player_movie') {
gotoAndPlay('burst_ball_anim');
}
}
button 342 {
on (rollOver) {
tellTarget ('_root.burst_ball_options_movie.fix_highlight') {
gotoAndPlay('highlight');
}
}
on (rollOut) {
tellTarget ('_root.burst_ball_options_movie.fix_highlight') {
gotoAndStop('highlight');
}
}
on (release) {
tellTarget ('_root.player_movie') {
stop();
}
/:full_motion = 0;
tellTarget ('_root.burst_ball_options_movie') {
gotoAndPlay('play_out');
}
}
}
movieClip 346 {
frame 1 {
stop();
gotoAndStop('ball_' + /:ball_selected);
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 349 {
frame 37 {
tellTarget ('_root.burst_ball_options_movie') {
gotoAndPlay(2);
}
}
frame 46 {
stop();
}
}
movieClip 353 {
frame 1 {
stop();
}
frame 10 {
gotoAndPlay(2);
}
}
movieClip 354 {
frame 1 {
stop();
}
frame 18 {
stop();
/:burst_ball += 1;
}
frame 19 {
if (/:burst_ball >= 4 and /:actual_ball < 3) {
tellTarget ('_root.boarded_up_movie') {
gotoAndStop('boarded');
}
}
if (/:burst_ball >= 4 and /:actual_ball == 3) {
tellTarget ('_root.netted_up_movie') {
gotoAndStop('netted');
}
}
}
frame 20 {
/:full_motion = 0;
if (350 < (eval(_root.player_movie))._x) {
tellTarget ('_root.player_movie') {
gotoAndPlay('jog_left');
}
}
if (350 >= (eval(_root.player_movie))._x) {
tellTarget ('_root.player_movie') {
gotoAndPlay('jog_right');
}
}
}
frame 24 {
stop();
tellTarget ('../') {
gotoAndStop('in');
}
}
}
frame 141 {
stop();
/:full_motion = 1;
tellTarget ('_root.player_movie') {
gotoAndPlay('burst_ball_anim');
}
}
movieClip 355 {
frame 37 {
tellTarget ('_root.burst_ball_options_movie') {
gotoAndPlay(2);
}
}
frame 46 {
stop();
}
}
frame 206 {
stop();
}
button 358 {
on (rollOver) {
tellTarget ('_root.stats_movie.continue_highlight') {
gotoAndPlay('highlight');
}
}
on (rollOut) {
tellTarget ('_root.stats_movie.continue_highlight') {
gotoAndStop('no_highlight');
}
}
on (release) {
gotoAndPlay(207);
}
}
movieClip 380 {
frame 1 {
stop();
}
frame 12 {
gotoAndPlay(2);
}
}
movieClip 382 {
frame 1 {
stop();
}
frame 12 {
gotoAndPlay(2);
}
}
movieClip 383 {
}
movieClip 394 {
frame 1 {
stop();
if (/:bw_1 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 396 {
frame 1 {
stop();
if (/:bw_2 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 398 {
frame 1 {
stop();
if (/:bw_3 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 400 {
frame 1 {
stop();
if (/:bw_4 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 402 {
frame 1 {
stop();
if (/:bw_5 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 404 {
frame 1 {
stop();
if (/:bw_6 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 406 {
frame 1 {
stop();
if (/:bw_7 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 408 {
frame 1 {
stop();
if (/:bw_8 == 1) {
/:skill_comment_points += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 419 {
frame 1 {
stop();
if (/:bonus_item_1 == 1) {
/:bonus_item_score += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 420 {
frame 1 {
stop();
if (/:bonus_item_2 == 1) {
/:bonus_item_score += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 422 {
frame 1 {
stop();
if (/:bonus_item_3 == 1) {
/:bonus_item_score += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 424 {
frame 1 {
stop();
if (/:bonus_item_4 == 1) {
/:bonus_item_score += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 426 {
frame 1 {
stop();
if (/:bonus_item_5 == 1) {
/:bonus_item_score += 1;
gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 429 {
frame 1 {
stop();
}
frame 12 {
gotoAndPlay(2);
}
}
movieClip 430 {
frame 24 {
/:kickup_percentage = Math.round((/:number_of_single_kickups / /:total_hits) * 100);
/:foot_total_percentage = Math.round((/:foot_total / /:total_hits) * 100);
/:knee_total_percentage = Math.round((/:knee_total / /:total_hits) * 100);
/:headers_total_percentage = Math.round((/:headers_total / /:total_hits) * 100);
/:specials_total_percentage = Math.round((/:specials_total / /:total_hits) * 100);
if (/:knee_total < /:foot_total and /:headers_total < /:foot_total and /:specials_total < /:foot_total) {
/:rating = 'Fancy Footwork Specialist';
}
if (/:foot_total < /:knee_total and /:headers_total < /:knee_total and /:specials_total < /:knee_total) {
/:rating = 'Close Control Freak!';
}
if (/:foot_total < /:headers_total and /:knee_total < /:headers_total and /:specials_total < /:headers_total) {
/:rating = 'High Brow Headhunter';
}
if (/:foot_total < /:specials_total and /:knee_total < /:specials_total and /:headers_total < /:specials_total) {
/:rating = 'Just A Great Big Showoff!!';
}
/:distance_new = math.round(/:distance);
/:distance_travelled = /:distance_new / 500;
/:game_percentage = Math.round(((/:bonus_item_score + /:skill_comment_points + 1) / 14) * 100);
/:game_score = /:bonus_item_score * 1000 + /:skill_comment_points * 1000 + /:kickup_high * 10;
}
frame 25 {
if (/:game_percentage >= 100) {
tellTarget ('_root.stats_movie.ggggggg.game_score_movie') {
play();
}
tellTarget ('_root.stats_movie.ggggggg.hhhhhhh') {
play();
}
}
}
frame 39 {
stop();
}
}
frame 207 {
stop();
if (/:game_percentage == 100 and /:game_score >= /:score_3) {
gotoAndPlay(208);
} else {
gotoAndPlay(50);
}
}
frame 218 {
stop();
}
button 437 {
on (rollOver) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndPlay('main_menu');
}
}
on (rollOut) {
tellTarget ('_root.mm_highlight_movie') {
gotoAndStop('main_menu');
}
}
on (release) {
play();
}
}
frame 223 {
if (/:score_1 < /:game_score) {
/:name_3 = /:name_2;
/:score_3 = /:score_2;
/:name_2 = /:name_1;
/:score_2 = /:score_1;
/:name_1 = /:name;
/:score_1 = /:game_score;
stop();
gotoAndPlay(224);
}
if (/:score_2 < /:game_score and /:game_score < /:score_1) {
/:name_3 = /:name_2;
/:score_3 = /:score_2;
/:name_2 = /:name;
/:score_2 = /:game_score;
stop();
gotoAndPlay(224);
}
if (/:score_3 < /:game_score and /:game_score < /:score_2) {
/:name_3 = /:name;
/:score_3 = /:game_score;
stop();
gotoAndPlay(224);
}
}
frame 228 {
gotoAndPlay(57);
}