[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.Frame 2 (220 B)
LOADINGByte = int(_root.getBytesLoaded() / 1024) - 12;
LOADINGper = int((LOADINGByte / 90) * 100);
huzza_load.gotoAndStop(LOADINGper);
if (LOADINGByte >= 90) {
gotoAndPlay (4);
}
LOADINGper = LOADINGper + "%";
Frame 3 (17 B)
gotoAndPlay (2);
Frame 230 (49 B)
LoadedBYTE = int(_root.getBytesLoaded() / 1024);
Frame 231 (473 B)
real_TotalBYTE = int(_root.getBytesTotal() / 1024);
TotalBYTE = real_TotalBYTE - LoadedBYTE;
LoadBYTE = int(_root.getBytesLoaded() / 1024);
if (real_TotalBYTE == LoadBYTE) {
gotoAndPlay (248);
}
per = int(((LoadBYTE - LoadedBYTE) / TotalBYTE) * 100);
Time = int(getTimer() / 1000);
rate = int((LoadBYTE / Time) * 100) / 100;
LoadBYTE = LoadBYTE - LoadedBYTE;
TotalBYTE = TotalBYTE + "K";
LoadBYTE = LoadBYTE + "k";
rate = rate + "k/s";
load.gotoAndStop(per);
Frame 243 (19 B)
gotoAndPlay (231);
Frame 248 (259 B)
Set("/:name1", "huzzabox");
Set("/:name2", "huzzabox");
Set("/:name3", "huzzabox");
Set("/:name4", "huzzabox");
Set("/:name5", "huzzabox");
Set("/:score1", 0);
Set("/:score2", 0);
Set("/:score3", 0);
Set("/:score4", 0);
Set("/:score5", 0);
stop();
Frame 252 (8 B)
stop();
Frame 259 (8 B)
stop();
Frame 265 (47 B)
Set("/:hammer_number", 0);
Set("/:score", 0);
Frame 278 (310 B)
i = 1;
while (7 >= i) {
var ram = random(6);
if ((ram == 2) or (ram == 3)) {
} else {
tellTarget ("bird" add i) {
gotoAndStop ("green");
};
}
var ram = random(4);
if ((ram == 2) or (ram == 3)) {
} else {
tellTarget ("bat" add i) {
gotoAndStop ("yellow");
};
}
i++;
}
Frame 287 (406 B)
startDrag ("scapegoat", true);
Mouse.hide();
Set("/:scene_game", "game1");
Set("/:bug_number_end", 0);
Set("/:bat_number_end", 0);
Set("/:bird_number_end", 0);
Set("/:ying_number_end", 0);
Set("/:enemy_time", 0);
Set("/:hit", 1);
Set("/:qq", 0);
direction = 0;
Set("/:z", 0);
Set("/:hammer", 0);
Set("/:hit_able", 1);
Set("/:hammer_control", 0);
Set("/:level_con", 0);
Set("/:qq_live", 4);
Frame 288 (3.34 KiB) ●
updateAfterEvent(mouseMove);
setProperty("/qq", _x , _xmouse);
if (0 >= _xmouse) {
setProperty("/qq", _x , 30.8);
}
if (_xmouse >= 700) {
setProperty("/qq", _x , 669.2);
}
Bird_left_x = getProperty(bird1, _x);
Bat_left_x = getProperty(bad1, _x);
Bug_left_x = getProperty(bug1, _x);
if ((Bird_left_x < Bat_left_x) < Bug_left_x) {
left_x = Bird_left_x;
} else if ((Bat_left_x < Bug_left_x) < Bird_left_x) {
left_x = Bat_left_x;
} else if ((Bug_left_x < Bat_left_x) < Bird_left_x) {
left_x = Bug_left_x;
}
Bird_right_x = getProperty(bird7, _x);
Bat_right_x = getProperty(bad7, _x);
Bug_right_x = getProperty(bug8, _x);
if ((Bird_right_x < Bat_right_x) < Bug_right_x) {
right_x = Bird_right_x;
} else if ((Bat_right_x < Bug_right_x) < Bird_right_x) {
right_x = Bat_right_x;
} else if ((Bug_right_x < Bat_right_x) < Bird_right_x) {
right_x = Bug_right_x;
}
if (direction == 1) {
if (50 >= left_x) {
direction = 0;
} else {
i = 1;
while (7 >= i) {
x1 = getProperty("bird" add i, _x);
x2 = getProperty("bat" add i, _x);
setProperty("bird" add i, _x , x1 - 10);
setProperty("bat" add i, _x , x2 - 10);
i++;
}
i = 1;
while (8 >= i) {
x = getProperty("bug" add i, _x);
setProperty("bug" add i, _x , x - 10);
i++;
}
}
}
if (direction == 0) {
if (right_x >= 660) {
direction = 1;
} else {
i = 1;
while (7 >= i) {
x1 = getProperty("bird" add i, _x);
x2 = getProperty("bat" add i, _x);
setProperty("bird" add i, _x , x1 + 10);
setProperty("bat" add i, _x , x2 + 10);
i++;
}
i = 1;
while (8 >= i) {
x = getProperty("bug" add i, _x);
setProperty("bug" add i, _x , x + 10);
i++;
}
}
}
if (/:enemy_time == 5) {
select = random(3) + 1;
if (select == 1) {
bird_no = random(7) + 1;
if (eval (("/bird" add bird_no) add "/:bird_life") == 0) {
} else {
Set("/:enemy_time", 0);
bird_x = getProperty("bird" add bird_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bird_bullet", "bird_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bird_bullet" add /:b_b_no, _x , bird_x);
tellTarget (bird_program) {
play();
};
}
} else if (select == 2) {
bat_no = random(7) + 1;
if (eval (("/bat" add bat_no) add "/:bat_life") == 0) {
} else {
Set("/:enemy_time", 0);
bat_x = getProperty("bat" add bat_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bat_bullet", "bat_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bat_bullet" add /:b_b_no, _x , bat_x - 5);
tellTarget (bat_program) {
play();
};
}
} else if (select == 3) {
bug_no = random(8) + 1;
if (eval (("/bug" add bug_no) add "/:bug_life") == 0) {
} else {
Set("/:enemy_time", 0);
bug_x = getProperty("bug" add bug_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bug_bullet", "bug_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bug_bullet" add /:b_b_no, _x , bug_x);
tellTarget (bug_program) {
play();
};
}
}
} else {
Set("/:enemy_time", /:enemy_time + 1);
}
if (/:hammer_control < 0) {
Set("/:hammer_control", 0);
} else if (/:hammer_control == 2) {
Set("/:hammer_number", /:hammer_number + 1);
Set("/:hammer_control", 0);
}
if (/:level_con >= 22) {
gotoAndPlay (295);
}
Frame 289 (19 B)
gotoAndPlay (288);
Frame 294 (34 B)
gotoAndPlay (356);
Mouse.show();
Frame 295 (68 B)
tellTarget ("qq_state_bar") {
gotoAndStop("q" add /:qq_live);
};
Frame 308 (310 B)
i = 1;
while (7 >= i) {
var ram = random(6);
if ((ram == 2) or (ram == 3)) {
} else {
tellTarget ("bird" add i) {
gotoAndStop ("green");
};
}
var ram = random(4);
if ((ram == 2) or (ram == 3)) {
} else {
tellTarget ("bat" add i) {
gotoAndStop ("yellow");
};
}
i++;
}
Frame 317 (297 B)
startDrag ("scapegoat", true);
Mouse.hide();
Set("/:scene_this", "game2");
Set("/:scene_game", "game2");
Set("/:enemy_time", 0);
Set("/:level_con", 0);
Set("/:hit", 1);
Set("/:qq", 0);
direction = 0;
Set("/:z", 0);
Set("/:hammer", 0);
Set("/:hit_able", 1);
Set("/:hammer_control", 0);
Frame 318 (3.46 KiB) ●
updateAfterEvent(mouseMove);
setProperty("/qq", _x , _xmouse);
if (0 >= _xmouse) {
setProperty("/qq", _x , 30.8);
}
if (_xmouse >= 700) {
setProperty("/qq", _x , 669.2);
}
Bird_left_x = getProperty(bird1, _x);
Bat_left_x = getProperty(bad1, _x);
Bug_left_x = getProperty(bug1, _x);
if ((Bird_left_x < Bat_left_x) < Bug_left_x) {
left_x = Bird_left_x;
} else if ((Bat_left_x < Bug_left_x) < Bird_left_x) {
left_x = Bat_left_x;
} else if ((Bug_left_x < Bat_left_x) < Bird_left_x) {
left_x = Bug_left_x;
}
Bird_right_x = getProperty(bird7, _x);
Bat_right_x = getProperty(bad7, _x);
Bug_right_x = getProperty(bug8, _x);
if ((Bird_right_x < Bat_right_x) < Bug_right_x) {
right_x = Bird_right_x;
} else if ((Bat_right_x < Bug_right_x) < Bird_right_x) {
right_x = Bat_right_x;
} else if ((Bug_right_x < Bat_right_x) < Bird_right_x) {
right_x = Bug_right_x;
}
if (direction == 1) {
if (50 >= left_x) {
direction = 0;
} else {
i = 1;
while (7 >= i) {
x1 = getProperty("bird" add i, _x);
x2 = getProperty("bat" add i, _x);
setProperty("bird" add i, _x , x1 - 10);
setProperty("bat" add i, _x , x2 - 10);
i++;
}
i = 1;
while (8 >= i) {
x = getProperty("bug" add i, _x);
setProperty("bug" add i, _x , x - 10);
i++;
}
}
}
if (direction == 0) {
if (right_x >= 660) {
direction = 1;
} else {
i = 1;
while (7 >= i) {
x1 = getProperty("bird" add i, _x);
x2 = getProperty("bat" add i, _x);
setProperty("bird" add i, _x , x1 + 10);
setProperty("bat" add i, _x , x2 + 10);
i++;
}
i = 1;
while (8 >= i) {
x = getProperty("bug" add i, _x);
setProperty("bug" add i, _x , x + 10);
i++;
}
}
}
if (/:enemy_time == 5) {
select = random(3) + 1;
if (select == 1) {
bird_no = random(7) + 1;
if (eval (("/bird" add bird_no) add "/:bird_life") == 0) {
} else {
Set("/:enemy_time", 0);
i = 1;
while (i < 31) {
if ((i == 1) or (i == 30)) {
bird_x = getProperty("bird" add bird_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bird_bullet", "bird_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bird_bullet" add /:b_b_no, _x , (bird_x - i) + 15);
tellTarget (bird_program) {
play();
};
}
i++;
}
}
} else if (select == 2) {
bat_no = random(7) + 1;
if (eval (("/bat" add bat_no) add "/:bat_life") == 0) {
} else {
Set("/:enemy_time", 0);
bat_x = getProperty("bat" add bat_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bat_bullet", "bat_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bat_bullet" add /:b_b_no, _x , bat_x - 5);
tellTarget (bat_program) {
play();
};
}
} else if (select == 3) {
bug_no = random(8) + 1;
if (eval (("/bug" add bug_no) add "/:bug_life") == 0) {
} else {
Set("/:enemy_time", 0);
bug_x = getProperty("bug" add bug_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bug_bullet", "bug_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bug_bullet" add /:b_b_no, _x , bug_x);
tellTarget (bug_program) {
play();
};
}
}
} else {
Set("/:enemy_time", /:enemy_time + 1);
}
if (/:hammer_control < 0) {
Set("/:hammer_control", 0);
} else if (/:hammer_control == 2) {
Set("/:hammer_number", /:hammer_number + 1);
Set("/:hammer_control", 0);
}
if (/:level_con >= 22) {
gotoAndPlay (325);
}
Frame 319 (19 B)
gotoAndPlay (318);
Frame 324 (34 B)
gotoAndPlay (356);
Mouse.show();
Frame 325 (68 B)
tellTarget ("qq_state_bar") {
gotoAndStop("q" add /:qq_live);
};
Frame 338 (341 B)
i = 1;
while (7 >= i) {
var ram = random(6);
if ((ram == 2) or (ram == 3)) {
} else {
tellTarget ("bird" add i) {
gotoAndStop ("green");
};
}
var ram = random(4);
if ((ram == 2) or (ram == 3)) {
} else {
tellTarget ("bat" add i) {
gotoAndStop ("yellow");
};
}
i++;
}
Set("/:scene_this", "game3");
Frame 347 (266 B)
startDrag ("scapegoat", true);
Mouse.hide();
Set("/:scene_game", "game3");
Set("/:enemy_time", 0);
Set("/:level_con", 0);
Set("/:hit", 1);
Set("/:qq", 0);
direction = 0;
Set("/:z", 0);
Set("/:hammer", 0);
Set("/:hit_able", 1);
Set("/:hammer_control", 0);
Frame 348 (3.71 KiB) ●
updateAfterEvent(mouseMove);
setProperty("/qq", _x , _xmouse);
if (0 >= _xmouse) {
setProperty("/qq", _x , 30.8);
}
if (_xmouse >= 700) {
setProperty("/qq", _x , 669.2);
}
Bird_left_x = getProperty(bird1, _x);
Bat_left_x = getProperty(bad1, _x);
Bug_left_x = getProperty(bug1, _x);
if ((Bird_left_x < Bat_left_x) < Bug_left_x) {
left_x = Bird_left_x;
} else if ((Bat_left_x < Bug_left_x) < Bird_left_x) {
left_x = Bat_left_x;
} else if ((Bug_left_x < Bat_left_x) < Bird_left_x) {
left_x = Bug_left_x;
}
Bird_right_x = getProperty(bird7, _x);
Bat_right_x = getProperty(bad7, _x);
Bug_right_x = getProperty(bug8, _x);
if ((Bird_right_x < Bat_right_x) < Bug_right_x) {
right_x = Bird_right_x;
} else if ((Bat_right_x < Bug_right_x) < Bird_right_x) {
right_x = Bat_right_x;
} else if ((Bug_right_x < Bat_right_x) < Bird_right_x) {
right_x = Bug_right_x;
}
if (direction == 1) {
if (50 >= left_x) {
direction = 0;
} else {
i = 1;
while (6 >= i) {
x3 = getProperty("ying" add i, _x);
setProperty("ying" add i, _x , x3 - 10);
i++;
}
i = 1;
while (7 >= i) {
x1 = getProperty("bird" add i, _x);
x2 = getProperty("bat" add i, _x);
setProperty("bird" add i, _x , x1 - 10);
setProperty("bat" add i, _x , x2 - 10);
i++;
}
i = 1;
while (8 >= i) {
x = getProperty("bug" add i, _x);
setProperty("bug" add i, _x , x - 10);
i++;
}
}
}
if (direction == 0) {
if (right_x >= 660) {
direction = 1;
} else {
i = 1;
while (6 >= i) {
x3 = getProperty("ying" add i, _x);
setProperty("ying" add i, _x , x3 + 10);
i++;
}
i = 1;
while (7 >= i) {
x1 = getProperty("bird" add i, _x);
x2 = getProperty("bat" add i, _x);
setProperty("bird" add i, _x , x1 + 10);
setProperty("bat" add i, _x , x2 + 10);
i++;
}
i = 1;
while (8 >= i) {
x = getProperty("bug" add i, _x);
setProperty("bug" add i, _x , x + 10);
i++;
}
}
}
if (/:enemy_time == 5) {
select = random(3) + 1;
if (select == 1) {
bird_no = random(7) + 1;
if (eval (("/bird" add bird_no) add "/:bird_life") == 0) {
} else {
Set("/:enemy_time", 0);
i = 1;
while (i < 31) {
if ((i == 1) or (i == 30)) {
bird_x = getProperty("bird" add bird_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bird_bullet", "bird_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bird_bullet" add /:b_b_no, _x , (bird_x - i) + 15);
tellTarget (bird_program) {
play();
};
}
i++;
}
}
} else if (select == 2) {
bat_no = random(7) + 1;
if (eval (("/bat" add bat_no) add "/:bat_life") == 0) {
} else {
Set("/:enemy_time", 0);
bat_x = getProperty("bat" add bat_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bat_bullet", "bat_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bat_bullet" add /:b_b_no, _x , bat_x - 5);
tellTarget (bat_program) {
play();
};
}
} else if (select == 3) {
bug_no = random(8) + 1;
if (eval (("/bug" add bug_no) add "/:bug_life") == 0) {
} else {
Set("/:enemy_time", 0);
bug_x = getProperty("bug" add bug_no, _x);
Set("/:b_b_no", /:b_b_no + 1);
duplicateMovieClip ("bug_bullet", "bug_bullet" add /:b_b_no, /:b_b_no + 50);
setProperty("bug_bullet" add /:b_b_no, _x , bug_x);
tellTarget (bug_program) {
play();
};
}
}
} else {
Set("/:enemy_time", /:enemy_time + 1);
}
if (/:hammer_control < 0) {
Set("/:hammer_control", 0);
} else if (/:hammer_control == 2) {
Set("/:hammer_number", /:hammer_number + 1);
Set("/:hammer_control", 0);
}
if (/:level_con >= 36) {
gotoAndPlay (396);
}
Frame 349 (19 B)
gotoAndPlay (348);
Frame 354 (34 B)
gotoAndPlay (356);
Mouse.show();
Frame 356 (14 B)
Mouse.show();
Frame 394 (119 B)
i = 0;
while (5 >= i) {
if (eval ("/:socre" add i) < /:score) {
gotoAndStop (496);
break;
}
i++;
}
Frame 395 (19 B)
gotoAndStop (498);
Frame 396 (14 B)
Mouse.show();
Frame 494 (119 B)
i = 0;
while (5 >= i) {
if (eval ("/:socre" add i) < /:score) {
gotoAndStop (496);
break;
}
i++;
}
Frame 495 (19 B)
gotoAndStop (498);
Frame 496 (8 B)
stop();
Frame 497 (13 B)
prevFrame();
Frame 498 (82 B)
stop();
Set("/:score", (/:score + (/:qq_live * 500)) + (/:hammer_number * 200));
Frame 499 (13 B)
prevFrame();
Frame 500 (8 B)
stop();
Symbol 7 MovieClip Frame 1 (8 B)
stop();
Symbol 7 MovieClip Frame 100 (8 B)
stop();
Symbol 26 MovieClip Frame 26 (8 B)
stop();
Symbol 37 MovieClip Frame 25 (8 B)
stop();
Symbol 137 MovieClip Frame 1 (8 B)
stop();
Symbol 137 MovieClip Frame 100 (8 B)
stop();
Symbol 181 Button (36 B)
on (release) {
gotoAndPlay (265);
}
Symbol 193 Button (36 B)
on (release) {
gotoAndPlay (253);
}
Symbol 224 MovieClip Frame 1 (8 B)
stop();
Symbol 225 MovieClip Frame 1 (8 B)
stop();
Symbol 232 MovieClip Frame 1 (8 B)
stop();
Symbol 232 MovieClip Frame 2 (30 B)
stop();
Set("/:qq_live", 3);
Symbol 232 MovieClip Frame 3 (30 B)
stop();
Set("/:qq_live", 2);
Symbol 232 MovieClip Frame 4 (30 B)
stop();
Set("/:qq_live", 1);
Symbol 232 MovieClip Frame 5 (69 B)
Set("/:qq_live", 0);
tellTarget ("/") {
gotoAndPlay ("lost");
};
Symbol 252 MovieClip Frame 1 (26 B)
stop();
Set("/:hit", 1);
Symbol 252 MovieClip Frame 13 (71 B)
Set("/:qq", 1);
tellTarget ("/:qq") {
gotoAndStop ("qq_faint");
};
Symbol 252 MovieClip Frame 17 (137 B)
Set("/:hit", 0);
tellTarget ("/qq") {
gotoAndPlay ("qq_die");
};
tellTarget ("/qq_state_bar") {
nextFrame();
};
Set("/:qq", 0);
Symbol 276 MovieClip Frame 1 (8 B)
stop();
Symbol 276 MovieClip Frame 2 (37 B)
my_target = _target;
Set("/:z", 1);
Symbol 276 MovieClip Frame 7 (827 B)
my_x = getProperty(my_target, _x);
my_width = (getProperty(my_target, _width) / 2) - 5;
i = 1;
while (8 >= i) {
if (getProperty("/bug" add i, _visible) == 0) {
} else {
var x = getProperty("/bug" add i, _x);
var width = (getProperty("/bug" add i, _width) / 2);
if ((((x - width) < (my_x + my_width)) and ((my_x + my_width) < (x + width))) or (((x - width) < (my_x - my_width)) and ((my_x - my_width) < (x + width)))) {
if (eval (("/bug" add i) add "/:bug_life") == 0) {
} else {
Set("/:score", /:score + 50);
Set("/:bug_number_end", /:bug_number_end + 1);
Set("/:level_con", /:level_con + 1);
Set("/:hammer_control", /:hammer_control - 1);
tellTarget ("/bug" add i) {
gotoAndPlay ("die");
};
gotoAndPlay (12);
break;
}
}
}
i++;
}
Symbol 276 MovieClip Frame 9 (1.01 KiB) ●
my_x = getProperty(my_target, _x);
my_width = (getProperty(my_target, _width) / 2) - 5;
i = 1;
while (7 >= i) {
if (getProperty("/bat" add i, _visible) == 0) {
} else {
var x = getProperty("/bat" add i, _x);
var width = ((getProperty("/bat" add i, _width) / 2) - 5);
if ((((x - width) < (my_x + my_width)) and ((my_x + my_width) < (x + width))) or (((x - width) < (my_x - my_width)) and ((my_x - my_width) < (x + width)))) {
if (eval (("/bat" add i) add "/:bat_life") == 0) {
} else {
Set("/:score", /:score + 100);
Set("/:hammer_control", /:hammer_control - 1);
if (eval (("/bat" add i) add "/:bat_life") == 2) {
tellTarget ("/bat" add i) {
gotoAndPlay ("yellow");
};
}
if (eval (("/bat" add i) add "/:bat_life") == 1) {
Set("/:level_con", /:level_con + 1);
Set("/:bat_number_end", /:bat_number_end + 1);
tellTarget ("/bat" add i) {
gotoAndPlay ("die");
};
}
gotoAndPlay (12);
break;
}
}
}
i++;
}
Symbol 276 MovieClip Frame 10 (1.09 KiB) ●
my_x = getProperty(my_target, _x);
my_width = (getProperty(my_target, _width) / 2) - 5;
i = 1;
while (7 >= i) {
if (getProperty("/bird" add i, _visible) == 0) {
} else {
var x = getProperty("/bird" add i, _x);
var width = ((getProperty("/bird" add i, _width) / 2) - 10);
if ((((x - width) < (my_x + my_width)) and ((my_x + my_width) < (x + width))) or (((x - width) < (my_x - my_width)) and ((my_x - my_width) < (x + width)))) {
if (eval (("/bird" add i) add "/:bird_life") == 0) {
} else {
Set("/:score", /:score + 150);
if (eval (("/bird" add i) add "/:bird_life") == 2) {
tellTarget ("/bird" add i) {
gotoAndPlay ("green");
};
}
if (eval (("/bird" add i) add "/:bird_life") == 1) {
Set("/:level_con", /:level_con + 1);
if (/:scene_game == "game1") {
Set("/:ying_number_end", /:ying_number_end + 1);
} else {
Set("/:bird_number_end", /:bird_number_end + 1);
}
tellTarget ("/bird" add i) {
gotoAndPlay ("die");
};
}
gotoAndPlay (12);
break;
}
}
}
i++;
}
Symbol 276 MovieClip Frame 12 (44 B)
Set("/:z", 0);
removeMovieClip(my_target);
Symbol 287 MovieClip Frame 1 (8 B)
stop();
Symbol 287 MovieClip Frame 4 (17 B)
gotoAndStop (1);
Symbol 287 MovieClip Frame 10 (84 B)
if (/:qq == 0) {
gotoAndStop (1);
} else if (/:qq == 1) {
gotoAndStop (15);
}
Symbol 287 MovieClip Frame 14 (17 B)
gotoAndStop (1);
Symbol 287 MovieClip Frame 15 (8 B)
stop();
Symbol 287 MovieClip Frame 18 (18 B)
gotoAndStop (15);
Symbol 287 MovieClip Frame 19 (62 B)
Set("/:hit_able", 0);
var i = 5;
if (i == 5) {
play();
}
Symbol 287 MovieClip Frame 41 (90 B)
Set("/:hit_able", 1);
gotoAndStop (1);
tellTarget ("/qq_time") {
gotoAndStop (1);
};
Symbol 291 MovieClip Frame 1 (8 B)
stop();
Symbol 291 MovieClip Frame 2 (101 B)
my_target = _target;
my_x = getProperty(my_target, _x);
my_width = getProperty(my_target, _width);
Symbol 291 MovieClip Frame 11 (312 B)
qq_x = getProperty("/qq", _x);
qq_width = (getProperty("/qq", _width) / 2) - 10;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
tellTarget ("/qq_time") {
nextFrame();
};
gotoAndPlay (14);
}
}
Symbol 291 MovieClip Frame 12 (312 B)
qq_x = getProperty("/qq", _x);
qq_width = (getProperty("/qq", _width) / 2) - 10;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
tellTarget ("/qq_time") {
nextFrame();
};
gotoAndPlay (14);
}
}
Symbol 291 MovieClip Frame 14 (21 B)
removeMovieClip("");
Symbol 292 MovieClip Frame 1 (8 B)
stop();
Symbol 292 MovieClip Frame 2 (21 B)
my_target = _target;
Symbol 292 MovieClip Frame 6 (688 B)
my_x = getProperty(my_target, _x);
my_width = (getProperty(my_target, _width) / 2) - 5;
i = 1;
while (8 >= i) {
if (getProperty("/bug" add i, _visible) == 0) {
} else {
var x = getProperty("/bug" add i, _x);
var width = (getProperty("/bug" add i, _width) / 2);
if ((((x - width) < (my_x + my_width)) and ((my_x + my_width) < (x + width))) or (((x - width) < (my_x - my_width)) and ((my_x - my_width) < (x + width)))) {
if (eval (("/bug" add i) add "/:bug_life") == 0) {
} else {
Set("/:level_con", /:level_con + 1);
tellTarget ("/bug" add i) {
gotoAndPlay ("die");
};
gotoAndPlay (12);
break;
}
}
}
i++;
}
Symbol 292 MovieClip Frame 7 (898 B)
my_x = getProperty(my_target, _x);
my_width = (getProperty(my_target, _width) / 2) - 5;
i = 1;
while (7 >= i) {
if (getProperty("/bat" add i, _visible) == 0) {
} else {
var x = getProperty("/bat" add i, _x);
var width = ((getProperty("/bat" add i, _width) / 2) - 5);
if ((((x - width) < (my_x + my_width)) and ((my_x + my_width) < (x + width))) or (((x - width) < (my_x - my_width)) and ((my_x - my_width) < (x + width)))) {
if (eval (("/bat" add i) add "/:bat_life") == 0) {
} else {
if (eval (("/bat" add i) add "/:bat_life") == 2) {
tellTarget ("/bat" add i) {
gotoAndPlay ("yellow");
};
}
if (eval (("/bat" add i) add "/:bat_life") == 1) {
Set("/:level_con", /:level_con + 1);
tellTarget ("/bat" add i) {
gotoAndPlay ("die");
};
}
gotoAndPlay (12);
break;
}
}
}
i++;
}
Symbol 292 MovieClip Frame 9 (909 B)
my_x = getProperty(my_target, _x);
my_width = (getProperty(my_target, _width) / 2) - 5;
i = 1;
while (7 >= i) {
if (getProperty("/bird" add i, _visible) == 0) {
} else {
var x = getProperty("/bird" add i, _x);
var width = ((getProperty("/bird" add i, _width) / 2) - 10);
if ((((x - width) < (my_x + my_width)) and ((my_x + my_width) < (x + width))) or (((x - width) < (my_x - my_width)) and ((my_x - my_width) < (x + width)))) {
if (eval (("/bird" add i) add "/:bird_life") == 0) {
} else {
if (eval (("/bird" add i) add "/:bird_life") == 2) {
tellTarget ("/bird" add i) {
gotoAndPlay ("green");
};
}
if (eval (("/bird" add i) add "/:bird_life") == 1) {
Set("/:level_con", /:level_con + 1);
tellTarget ("/bird" add i) {
gotoAndPlay ("die");
};
}
gotoAndPlay (12);
break;
}
}
}
i++;
}
Symbol 292 MovieClip Frame 12 (21 B)
removeMovieClip("");
Symbol 297 MovieClip Frame 1 (8 B)
stop();
Symbol 297 MovieClip Frame 2 (105 B)
my_target = _target;
my_x = getProperty(my_target, _x);
my_width = getProperty(my_target, _width) / 2;
Symbol 297 MovieClip Frame 13 (393 B)
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width) / 2;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (1);
}
}
Symbol 297 MovieClip Frame 14 (393 B)
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width) / 2;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (1);
}
}
Symbol 297 MovieClip Frame 16 (21 B)
removeMovieClip("");
Symbol 314 MovieClip Frame 1 (23 B)
stop();
bat_life = 2;
Symbol 314 MovieClip Frame 5 (17 B)
gotoAndStop (1);
Symbol 314 MovieClip Frame 12 (14 B)
bat_life = 1;
Symbol 314 MovieClip Frame 16 (18 B)
gotoAndStop (12);
Symbol 314 MovieClip Frame 23 (14 B)
bat_life = 0;
Symbol 314 MovieClip Frame 30 (24 B)
stop();
_visible = 0;
Symbol 327 MovieClip Frame 1 (8 B)
stop();
Symbol 327 MovieClip Frame 5 (14 B)
bug_life = 0;
Symbol 327 MovieClip Frame 10 (33 B)
gotoAndStop (1);
_visible = 0;
Symbol 384 MovieClip Frame 15 (8 B)
stop();
Symbol 385 MovieClip Frame 1 (25 B)
bird_life = 2;
stop();
Symbol 385 MovieClip Frame 12 (25 B)
bird_life = 1;
stop();
Symbol 385 MovieClip Frame 23 (63 B)
bird_life = 0;
Set("/:hammer_control", /:hammer_control + 1);
Symbol 385 MovieClip Frame 37 (26 B)
_visible = "0";
stop();
Symbol 388 MovieClip Frame 1 (8 B)
stop();
Symbol 388 MovieClip Frame 2 (101 B)
my_target = _target;
my_x = getProperty(my_target, _x);
my_width = getProperty(my_target, _width);
Symbol 388 MovieClip Frame 11 (434 B)
my_width = getProperty(my_target, _width);
qq_width = getProperty("/qq", _width);
qq_x = getProperty("/qq", _x);
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (18);
}
}
Symbol 388 MovieClip Frame 12 (434 B)
my_width = getProperty(my_target, _width);
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width);
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (18);
}
}
Symbol 388 MovieClip Frame 13 (434 B)
my_width = getProperty(my_target, _width);
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width);
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (18);
}
}
Symbol 388 MovieClip Frame 14 (434 B)
my_width = getProperty(my_target, _width);
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width);
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (18);
}
}
Symbol 388 MovieClip Frame 15 (434 B)
my_width = getProperty(my_target, _width);
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width);
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (18);
}
}
Symbol 388 MovieClip Frame 16 (434 B)
my_width = getProperty(my_target, _width);
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width);
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (18);
}
}
Symbol 388 MovieClip Frame 17 (434 B)
my_width = getProperty(my_target, _width);
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width);
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (18);
}
}
Symbol 388 MovieClip Frame 18 (30 B)
removeMovieClip("");
stop();
Symbol 390 Button (313 B)
on (release) {
if (/:hit_able == 1) {
if (/:z == 1) {
} else {
tellTarget ("/qq") {
play();
};
X = getProperty("/qq", _x) - 30;
Y = getProperty("/qq", _y) - 15;
duplicateMovieClip ("/tomato", "t1", 20);
setProperty("/t1", _x , X);
tellTarget ("/program") {
play();
};
}
}
}
Symbol 392 MovieClip Frame 1 (8 B)
stop();
Symbol 392 MovieClip Frame 2 (44 B)
tellTarget ("/t1") {
gotoAndPlay (2);
};
Symbol 393 MovieClip Frame 1 (8 B)
stop();
Symbol 393 MovieClip Frame 2 (56 B)
tellTarget ("/bug_bullet" add /:b_b_no) {
play();
};
Symbol 394 MovieClip Frame 1 (8 B)
stop();
Symbol 394 MovieClip Frame 2 (56 B)
tellTarget ("/bat_bullet" add /:b_b_no) {
play();
};
Symbol 395 MovieClip Frame 1 (8 B)
stop();
Symbol 395 MovieClip Frame 2 (57 B)
tellTarget ("/bird_bullet" add /:b_b_no) {
play();
};
Symbol 396 Button (161 B)
on (keyPress "<Space>") {
if (0 < /:hammer_number) {
Set("/:hammer_number", /:hammer_number - 1);
tellTarget ("/hammer_hit") {
play();
};
}
}
Symbol 397 MovieClip Frame 1 (8 B)
stop();
Symbol 397 MovieClip Frame 2 (101 B)
i = 1;
while (i < 5) {
duplicateMovieClip ("/hammer", "h_h" add i, 300 + i);
i++;
}
i = 1;
Symbol 397 MovieClip Frame 4 (205 B)
if (i < 5) {
tellTarget ("/qq") {
play();
};
X = getProperty("/qq", _x) - 30;
setProperty("/h_h" add i, _x , X);
tellTarget ("/h_h" add i) {
play();
};
} else {
gotoAndStop (1);
}
Symbol 397 MovieClip Frame 6 (29 B)
i = i + 1;
gotoAndPlay (4);
Symbol 406 MovieClip Frame 1 (30 B)
stop();
Set("/:qq_live", 4);
Symbol 406 MovieClip Frame 2 (30 B)
stop();
Set("/:qq_live", 3);
Symbol 406 MovieClip Frame 3 (30 B)
stop();
Set("/:qq_live", 2);
Symbol 406 MovieClip Frame 4 (30 B)
stop();
Set("/:qq_live", 1);
Symbol 406 MovieClip Frame 5 (70 B)
Set("/:qq_live", 0);
tellTarget ("/") {
gotoAndPlay ("lost2");
};
Symbol 441 MovieClip Frame 1 (25 B)
bird_life = 2;
stop();
Symbol 441 MovieClip Frame 13 (25 B)
bird_life = 1;
stop();
Symbol 441 MovieClip Frame 25 (109 B)
bird_life = 0;
if (/:scene_this == "game3") {
} else {
Set("/:hammer_control", /:hammer_control + 1);
}
Symbol 441 MovieClip Frame 26 (101 B)
my_target = _target;
my_x = getProperty(my_target, _x);
my_width = getProperty(my_target, _width);
Symbol 441 MovieClip Frame 41 (258 B)
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width) / 2;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq_time") {
gotoAndStop ("qq_end");
};
gotoAndStop (44);
}
}
Symbol 441 MovieClip Frame 42 (258 B)
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width) / 2;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq_time") {
gotoAndStop ("qq_end");
};
gotoAndStop (44);
}
}
Symbol 441 MovieClip Frame 44 (167 B)
if (/:scene_this == "game3") {
if (no == 2) {
stop();
_visible = "0";
} else {
_visible = "1";
play();
}
} else {
stop();
_visible = "0";
}
Symbol 441 MovieClip Frame 47 (13 B)
no = no + 1;
Symbol 445 MovieClip Frame 1 (8 B)
stop();
Symbol 445 MovieClip Frame 2 (101 B)
my_target = _target;
my_x = getProperty(my_target, _x);
my_width = getProperty(my_target, _width);
Symbol 445 MovieClip Frame 8 (394 B)
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width) / 2;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (11);
}
}
Symbol 445 MovieClip Frame 9 (394 B)
qq_x = getProperty("/qq", _x);
qq_width = getProperty("/qq", _width) / 2;
if (((qq_x - qq_width) < my_x) and (my_x < (qq_x + qq_width))) {
if (/:hit == 1) {
tellTarget ("/qq") {
gotoAndPlay ("hit_qq");
};
i = 1;
while (i < 3) {
if (/:hit == 0) {
break;
}
tellTarget ("/qq_time") {
nextFrame();
};
i++;
}
gotoAndPlay (11);
}
}
Symbol 445 MovieClip Frame 11 (21 B)
removeMovieClip("");
Symbol 446 MovieClip Frame 1 (8 B)
stop();
Symbol 446 MovieClip Frame 2 (82 B)
tellTarget ("/bird_bullet" add /:b_b_no) {
play();
};
var a = (/:b_b_no - 1);
Symbol 446 MovieClip Frame 6 (50 B)
tellTarget ("/bird_bullet" add a) {
play();
};
Symbol 451 MovieClip Frame 1 (30 B)
stop();
Set("/:qq_live", 4);
Symbol 451 MovieClip Frame 2 (30 B)
stop();
Set("/:qq_live", 3);
Symbol 451 MovieClip Frame 3 (30 B)
stop();
Set("/:qq_live", 2);
Symbol 451 MovieClip Frame 4 (30 B)
stop();
Set("/:qq_live", 1);
Symbol 451 MovieClip Frame 5 (70 B)
Set("/:qq_live", 0);
tellTarget ("/") {
gotoAndPlay ("lost2");
};
Symbol 490 Button (67 B)
on (release) {
Set("/:name_t", /:your_name);
gotoAndStop (498);
}
Symbol 495 MovieClip Frame 1 (8 B)
stop();
Symbol 496 Button (405 B)
on (release) {
Set("/:score_t", /:score);
Set("/:name_temp", /:name_t);
i = 1;
while (5 >= i) {
if (eval ("/:score" add i) < /:score) {
Set("/:score_t", eval ("/:score" add i));
Set("/:score" add i, /:score);
Set("/:score", /:score_t);
Set("/:name_temp", eval ("/:name" add i));
Set("/:name" add i, /:name_t);
Set("/:name_t", /:name_temp);
}
i++;
}
gotoAndPlay (265);
}
Symbol 505 Button (405 B)
on (release) {
Set("/:score_t", /:score);
Set("/:name_temp", /:name_t);
i = 1;
while (5 >= i) {
if (eval ("/:score" add i) < /:score) {
Set("/:score_t", eval ("/:score" add i));
Set("/:score" add i, /:score);
Set("/:score", /:score_t);
Set("/:name_temp", eval ("/:name" add i));
Set("/:name" add i, /:name_t);
Set("/:name_t", /:name_temp);
}
i++;
}
gotoAndPlay (500);
}
Symbol 525 Button (36 B)
on (release) {
gotoAndPlay (265);
}