Frame 2
_quality = "HIGH";
if (_framesloaded < _totalframes) {
temp = Math.round((getBytesLoaded() / getBytesTotal()) * 100);
percent = temp + "%";
_root.stars._alpha = temp;
gotoAndPlay (1);
}
Frame 180
stopAllSounds();
Frame 181
function update_high_scores() {
loadVariablesNum ("http://www.seawana.com/update_high_scores.php", 0, "POST");
loading = "YES";
}
function get_code(level) {
offset = (temp = 0);
code = "";
version = new String(getVersion());
q = 0;
while (q < version.length) {
offset = offset + version.charCodeAt(q);
q++;
}
offset = (offset * level) / 11;
if ((offset % 2) == 0) {
offset++;
}
q = 0;
while (q < 5) {
temp = temp + offset;
while (_root.code_bits.length < temp) {
temp = temp - _root.code_bits.length;
}
code = code + _root.code_bits.charAt(temp);
q++;
}
return(code);
}
function check_code() {
_root.level_delta = 0;
_root.map_code_valid = 0;
i = 0;
while (8 >= i) {
if (_root.ar_codes[i] == _root.map_code) {
_root.level_delta = i;
_root.map_code_valid = 1;
}
i++;
}
}
stopAllSounds();
quality = 3;
hud_quality = "H";
lives = 3;
score = 0;
bonus_extra = (bonus_points = (bonus_health = (bonus_fuel = (bonus_person = 0))));
map = 0;
health = (health_max = 200);
fuel = (fuel_max = 100);
people_max = (people_saved = (people_transit = 0));
people_transit_max = 0;
people_weight = 0.005;
people_rescue_bonus = 50;
bonus_points_equation = "";
gravity = 0.04;
thrust_power_y = 0.1;
thrust_power_x = 0.06;
thrust_fuel_y = 0.05;
thrust_fuel_x = 0.03;
delta_x = (delta_y = (delta_r = 0));
timer = 0;
ship_status = 0;
ship_old_x = (ship_old_y = 0);
snd_thrust = new Sound();
snd_engine = new Sound();
snd_ship = new Sound();
snd_engine = (snd_thruster = (snd_hit = 0));
map_x = (map_y = (map_x_max = (map_y_max = 0)));
ar_used_bonus = new Array();
bonus_ar_base_person = 0;
bonus_ar_base_fuel_full = 1000;
bonus_ar_base_fuel_half = 2000;
bonus_ar_base_health_full = 3000;
bonus_ar_base_health_half = 4000;
bonus_ar_base_bonus_points = 5000;
bonus_ar_base_switch = 9000;
ar_map_data = new Array();
map_name = "";
name1 = (name2 = (name3 = (name4 = (name5 = (name6 = (name7 = (name8 = (name9 = (name10 = "Empty")))))))));
score1 = (score2 = (score3 = (score4 = (score5 = (score6 = (score7 = (score8 = (score9 = (score10 = 0)))))))));
level_delta = (map_code_valid = 0);
code_bits = "1abc2def3gh4ijk5lmn6op7qrs8tuv9wxyz1abc2def3gh4ijk5lmn6op7qrs8tuv9wxyz";
ar_codes = new Array();
i = 0;
while (8 >= i) {
ar_codes[i] = get_code(i);
code_bits = code_bits.slice(2);
i++;
}
Instance of Symbol 30 MovieClip "cursor" in Frame 181
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 184
gotoAndPlay (183);
Frame 185
function new_game() {
stopAllSounds();
_root.score = 0;
_root.people_saved = 0;
_root.people_transit = 0;
_root.lives = 3;
_root.map = 1 + _root.level_delta;
_root.health = _root.health_max;
_root.fuel = _root.fuel_max;
_root.people_transit_max = 2;
_root.delta_x = (_root.delta_y = (_root.delta_r = 0));
new_map();
}
function new_map() {
_root.ar_used_bonus = new Array();
_root.ar_used_switch = new Array();
_root.maps.gotoAndStop(_root.map);
ar_map_data_all = new Array("Settler's Home", 1, 1, 1, 1, 1, "Outpost Alpha", 2, 1, 1, 1, 2, "Mountain Town", 4, 1, 1, 1, 4, "Minor Mine", 2, 2, 1, 1, 3, "Secret Base X-1", 3, 3, 2, 1, 5, "Fallout Shelter", 3, 3, 3, 1, 5, "The Abandoned Mines", 4, 4, 2, 1, 7, "Towering Hill", 3, 4, 1, 2, 5, "Acro Mining Facility", 5, 5, 4, 1, 7);
ar_map_data = ar_map_data_all.slice((_root.map * 6) - 6, _root.map * 6);
_root.map_name = ar_map_data[0];
_root.map_code = _root.ar_codes[_root.map - 1];
_root.map_x_max = ar_map_data[1];
_root.map_y_max = ar_map_data[2];
_root.map_x = ar_map_data[3];
_root.map_y = ar_map_data[4];
_root.people_max = ar_map_data[5];
_root.ship_old_x = (_root.maps.screens.ship._x = _root.maps.screens.ship_loc._x);
_root.ship_old_y = (_root.maps.screens.ship._y = _root.maps.screens.ship_loc._y);
_root.maps.screens.ship_loc._x = 8000;
_root.people_saved = 0;
_root.people_transit = 0;
setup_screen();
}
function setup_screen() {
hide_thrusters();
show_map_screen();
_root.maps.screens.ship.gotoAndStop("ship_healthy");
_root.maps.screens.ship._rotation = 0;
_root.maps.screens.ship._x = _root.ship_old_x;
_root.maps.screens.ship._y = _root.ship_old_y;
_root.delta_x = (_root.delta_y = (_root.delta_r = 0));
_root.ship_status = 0;
if (_root.ship_old_y == 401) {
_root.delta_y = -0.5;
} else {
_root.delta_y = 0;
}
_root.level_timer = _root.timer;
}
function show_map_screen() {
temp = (((_root.map_y - 1) * _root.map_x_max) + _root.map_x) + 1;
_root.maps.screens.gotoAndStop(temp);
_root.maps.screens.backing.stop();
}
function update_bonuses() {
if (0 < _root.bonus_points) {
temp = Math.round(_root.bonus_points / 100) + 1;
_root.bonus_points = _root.bonus_points - temp;
_root.score = _root.score + temp;
}
if (0 < _root.bonus_extra) {
temp = Math.round(_root.bonus_extra / 100) + 1;
_root.bonus_extra = _root.bonus_extra - temp;
_root.score = _root.score + temp;
}
if (0 < _root.bonus_health) {
_root.bonus_health--;
if (_root.health < _root.health_max) {
_root.health++;
_root.health = Math.min(_root.health, _root.health_max);
} else {
_root.score++;
}
}
if (0 < _root.bonus_fuel) {
_root.bonus_fuel--;
if (_root.fuel < _root.fuel_max) {
_root.fuel++;
_root.fuel = Math.min(_root.fuel, _root.fuel_max);
} else {
_root.score++;
}
}
display_stats();
}
function display_stats() {
if (_root.fuel < 0) {
_root.fuel = 0;
}
_root.score = Math.abs(_root.score);
_root.fuel_bar.bar._width = Math.round((_root.fuel / _root.fuel_max) * 100);
_root.fuel_bar.percent_disp = (" " + _root.fuel_bar.bar._width) + "%";
if (_root.health < 0) {
_root.health = 0;
}
_root.health_bar.bar._width = Math.round((_root.health / _root.health_max) * 100);
_root.health_bar.percent_disp = (" " + _root.health_bar.bar._width) + "%";
ar_qualities = new Array("L", "M", "H");
_root.hud_quality = ar_qualities[_root.quality - 1];
_root.hud_people = (((_root.people_transit + "/") + _root.people_saved) + "/") + _root.people_max;
}
function get_damage() {
if ((_root.delta_y * 10) != 0) {
temp1 = Math.pow(Math.abs(_root.delta_y * 10), 2);
}
if ((_root.delta_x * 10) != 0) {
temp2 = Math.pow(Math.abs(_root.delta_x * 10), 2);
}
if ((0 < temp1) and (0 < temp2)) {
damage = temp1 * temp2;
} else {
damage = temp1 + temp2;
}
if (1 < damage) {
_root.health = _root.health - damage;
_root.delta_x = (_root.delta_y = 0);
}
display_stats();
if (0 >= _root.health) {
crashed();
} else if (_root.snd_hit == 0) {
_root.sound_hit.play();
}
}
function check_hit_ground() {
temp1 = _root.maps.screens.ground.hitTest(_root.maps.screens.ship._x + _root.maps.screens.ship.cp1._x, (_root.maps.screens.ship._y + _root.maps.screens.ship.cp1._y) + 16, true);
temp2 = _root.maps.screens.ground.hitTest(_root.maps.screens.ship._x + _root.maps.screens.ship.cp2._x, (_root.maps.screens.ship._y + _root.maps.screens.ship.cp2._y) + 16, true);
temp3 = _root.maps.screens.ground.hitTest(_root.maps.screens.ship._x + _root.maps.screens.ship.cp3._x, (_root.maps.screens.ship._y + _root.maps.screens.ship.cp3._y) + 16, true);
temp4 = _root.maps.screens.ground.hitTest(_root.maps.screens.ship._x + _root.maps.screens.ship.cp4._x, (_root.maps.screens.ship._y + _root.maps.screens.ship.cp4._y) + 16, true);
temp5 = _root.maps.screens.ground.hitTest(_root.maps.screens.ship._x + _root.maps.screens.ship.cp5._x, (_root.maps.screens.ship._y + _root.maps.screens.ship.cp5._y) + 16, true);
if ((((temp1 or temp2) or temp3) or temp4) or temp5) {
get_damage();
}
}
function get_pad_hit() {
if (_root.maps.screens.pad1.hit_pad.hitTest(_root.maps.screens.ship.cp4) and _root.maps.screens.pad1.hit_pad.hitTest(_root.maps.screens.ship.cp5)) {
return(1);
}
return(0);
}
function save_ship_location() {
_root.ship_old_x = _root.maps.screens.ship._x;
_root.ship_old_y = _root.maps.screens.ship._y;
}
function update_ship() {
_root.delta_y = _root.delta_y + _root.gravity;
_root.maps.screens.ship._x = _root.maps.screens.ship._x + _root.delta_x;
_root.maps.screens.ship._y = _root.maps.screens.ship._y + _root.delta_y;
if (_root.delta_r < 0) {
_root.delta_r = _root.delta_r + 0.2;
if (-7 < _root.maps.screens.ship._rotation) {
_root.maps.screens.ship._rotation = _root.maps.screens.ship._rotation + _root.delta_r;
}
} else {
_root.delta_r = _root.delta_r - 0.2;
if (_root.maps.screens.ship._rotation < 7) {
_root.maps.screens.ship._rotation = _root.maps.screens.ship._rotation + _root.delta_r;
}
}
if (_root.maps.screens.ship._rotation < 0) {
_root.maps.screens.ship._rotation = _root.maps.screens.ship._rotation + 0.3;
} else {
_root.maps.screens.ship._rotation = _root.maps.screens.ship._rotation - 0.3;
}
if (_root.maps.screens.ship._y < -16) {
if (_root.map_y == 1) {
_root.off_screen._x = _root.maps.screens.ship._x;
_root.off_screen.off_screen = Math.abs(Math.round(_root.maps.screens.ship._y));
} else {
_root.map_y--;
_root.maps.screens.ship._y = _root.maps.screens.border._height;
save_ship_location();
show_map_screen();
}
} else {
_root.off_screen._x = 8000;
}
if (_root.maps.screens.border._height < _root.maps.screens.ship._y) {
_root.maps.screens.ship._y = 0;
save_ship_location();
_root.map_y++;
show_map_screen();
}
if (_root.maps.screens.ship._x < 0) {
_root.maps.screens.ship._x = _root.maps.screens.border._width;
save_ship_location();
_root.map_x--;
if (_root.map_x < 1) {
_root.map_x = _root.map_x_max;
}
show_map_screen();
}
if (_root.maps.screens.border._width < _root.maps.screens.ship._x) {
_root.maps.screens.ship._x = 0;
save_ship_location();
_root.map_x++;
if (_root.map_x_max < _root.map_x) {
_root.map_x = 1;
}
show_map_screen();
}
}
function check_move_ship() {
if (0 < _root.fuel) {
if (Key.isDown(Key.RIGHT)) {
if (_root.snd_thruster == 0) {
_root.sound_thruster.play();
}
_root.delta_x = _root.delta_x + (_root.thrust_power_x - (_root.people_weight * _root.people_transit));
_root.maps.screens.ship.thrust_right.gotoAndStop("ship_thrust_right_on");
if (_root.delta_r < 0.6) {
_root.delta_r = _root.delta_r + 0.3;
}
_root.fuel = _root.fuel - _root.thrust_fuel_x;
} else {
_root.maps.screens.ship.thrust_right.gotoAndStop("ship_thrust_right_off");
}
if (Key.isDown(Key.LEFT)) {
if (_root.snd_thruster == 0) {
_root.sound_thruster.play();
}
_root.delta_x = _root.delta_x - (_root.thrust_power_x - (_root.people_weight * _root.people_transit));
_root.maps.screens.ship.thrust_left.gotoAndStop("ship_thrust_left_on");
if (-0.6 < _root.delta_r) {
_root.delta_r = _root.delta_r - 0.3;
}
_root.fuel = _root.fuel - _root.thrust_fuel_x;
} else {
_root.maps.screens.ship.thrust_left.gotoAndStop("ship_thrust_left_off");
}
if (Key.isDown(Key.UP)) {
if (_root.snd_engine == 0) {
_root.sound_engine.play();
}
_root.delta_y = _root.delta_y - (_root.thrust_power_y - (_root.people_weight * _root.people_transit));
_root.maps.screens.ship.thrust_up.gotoAndStop("ship_thrust_up_on");
_root.fuel = _root.fuel - _root.thrust_fuel_y;
} else {
_root.maps.screens.ship.thrust_up.gotoAndStop("ship_thrust_up_off");
}
} else {
hide_thrusters();
}
}
function check_key_presses() {
key_hit = Key.getCode();
if (key_hit == 187) {
_root.level++;
setup_screen();
}
if (key_hit == 189) {
_root.level--;
setup_screen();
}
if (key_hit == 27) {
ship_status = 2;
}
}
function landed() {
hide_thrusters();
_root.bonus_points = _root.people_rescue_bonus * _root.people_transit;
_root.bonus_points_equation = ((_root.people_transit + " people x $") + _root.people_rescue_bonus) + "= $";
_root.delta_x = (_root.delta_y = 0);
_root.people_saved = _root.people_saved + _root.people_transit;
save_ship_location();
if (_root.people_transit == 0) {
_root.ship_status = 0.2;
_root.dialog_no_people._x = 200;
_root.dialog_no_people._y = 200;
temp = _root.people_max - _root.people_saved;
if (1 < temp) {
_root.dialog_no_people.people_to_rescue = ("There are " + temp) + " people that\nneed to be rescued.";
} else {
_root.dialog_no_people.people_to_rescue = ("There is " + temp) + " person that\nneeds to be rescued.";
}
} else {
_root.sound_land.play();
_root.people_transit = 0;
if (_root.people_saved < _root.people_max) {
_root.ship_status = 0.5;
_root.dialog_land._x = 200;
_root.dialog_land._y = 200;
temp = _root.people_max - _root.people_saved;
if (1 < temp) {
_root.dialog_land.people_to_rescue = ("There are still " + temp) + " \npeople to rescue.";
} else {
_root.dialog_land.people_to_rescue = ("There is still " + temp) + " \nperson to rescue.";
}
} else {
_root.bonus_health = Math.round(_root.health);
_root.bonus_fuel = Math.round(_root.fuel);
_root.bonus_extra = Math.round(_root.health) + Math.round(_root.fuel);
_root.health = (_root.fuel = 0);
_root.map++;
if (_root.maps._totalframes < _root.map) {
_root.ship_status = 0.8;
_root.dialog_game_completed._x = 200;
_root.dialog_game_completed._x = 200;
} else {
_root.ship_status = 1;
_root.dialog_map_complete._x = 200;
_root.dialog_map_complete._y = 200;
}
}
}
}
function crashed() {
_root.sound_crash.play();
hide_thrusters();
_root.delta_x = (_root.delta_y = 0);
_root.maps.screens.ship.gotoAndStop("ship_crashed");
if (1 < _root.lives) {
_root.ship_status = 2;
_root.dialog_crash._x = 200;
_root.dialog_crash._y = 200;
} else {
_root.ship_status = 3;
_root.dialog_game_over._x = 200;
_root.dialog_game_over._y = 200;
}
}
function hide_dialogs() {
_root.dialog_crash._x = 8000;
_root.dialog_land._x = 8000;
_root.dialog_game_over._x = 8000;
_root.dialog_map_complete._x = 8000;
_root.dialog_no_people._x = 8000;
_root.dialog_game_completed._x = 8000;
}
function hide_thrusters() {
_root.maps.screens.ship.thrust_right.gotoAndStop("ship_thrust_right_off");
_root.maps.screens.ship.thrust_left.gotoAndStop("ship_thrust_left_off");
_root.maps.screens.ship.thrust_up.gotoAndStop("ship_thrust_up_off");
}
Frame 186
new_game();
display_stats();
Frame 188
timer++;
if (ship_status == 0) {
check_move_ship();
check_key_presses();
check_hit_ground();
update_bonuses();
pad_hit = get_pad_hit();
if (pad_hit) {
get_damage();
if (0 < health) {
landed();
}
}
update_ship();
display_stats();
gotoAndPlay (187);
}
if ((ship_status == 0.5) or (ship_status == 0.2)) {
update_bonuses();
if (high_score < score) {
high_score = score;
}
if (Key.isDown(Key.SPACE)) {
score = score + bonus_points;
temp1 = bonus_fuel - (fuel_max - fuel);
temp2 = bonus_health - (health_max - health);
if (0 < temp1) {
score = score + temp1;
}
if (0 < temp2) {
score = score + temp2;
}
fuel = fuel + bonus_fuel;
fuel = Math.min(fuel, fuel_max);
health = health + bonus_health;
health = Math.min(health, health_max);
hide_dialogs();
ship_status = 0;
display_stats();
_root.maps.screens.ship._y--;
delta_y = -0.5;
}
gotoAndPlay (187);
}
if (ship_status == 0.8) {
update_bonuses();
if (high_score < score) {
high_score = score;
}
if (Key.isDown(Key.SPACE)) {
score = score + bonus_points;
temp1 = bonus_fuel - (fuel_max - fuel);
temp2 = bonus_health - (health_max - health);
if (0 < temp1) {
score = score + temp1;
}
if (0 < temp2) {
score = score + temp2;
}
fuel = fuel + bonus_fuel;
fuel = Math.min(fuel, fuel_max);
health = health + bonus_health;
health = Math.min(health, health_max);
hide_dialogs();
display_stats();
gotoAndPlay (189);
} else {
gotoAndPlay (187);
}
}
if (ship_status == 1) {
update_bonuses();
if (high_score < score) {
high_score = score;
}
if (Key.isDown(Key.SPACE)) {
score = score + bonus_points;
temp1 = bonus_fuel - (fuel_max - fuel);
temp2 = bonus_health - (health_max - health);
if (0 < temp1) {
score = score + temp1;
}
if (0 < temp2) {
score = score + temp2;
}
fuel = fuel + bonus_fuel;
fuel = Math.min(fuel, fuel_max);
health = health + bonus_health;
health = Math.min(health, health_max);
hide_dialogs();
ship_status = 0;
display_stats();
new_map();
}
gotoAndPlay (187);
}
if (ship_status == 2) {
if (Key.isDown(Key.SPACE)) {
hide_dialogs();
ship_status = 0;
lives--;
display_stats();
if (0 < lives) {
health = health_max;
fuel = fuel_max;
setup_screen();
}
}
gotoAndPlay (187);
}
if (ship_status == 3) {
if (Key.isDown(Key.SPACE)) {
hide_dialogs();
gotoAndPlay (436);
} else {
gotoAndPlay (187);
}
}
Instance of Symbol 30 MovieClip in Frame 436
onClipEvent (enterFrame) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 437
_root.temp = _root.name;
_root.name = "";
_root.update_high_scores();
_root.name = _root.temp;
Frame 438
if ((_root.score10 < _root.score) && (_root.level_delta == 0)) {
submit_score.gotoAndStop(1);
} else {
submit_score.gotoAndStop(2);
}
Frame 440
gotoAndPlay (439);
Symbol 12 Button
on (keyPress "<Space>") {
gotoAndPlay (180);
}
Symbol 40 MovieClip Frame 103
stop();
Symbol 48 Button
on (release) {
_root.gotoAndPlay("new_game");
}
Symbol 53 Button
on (release) {
_root.check_code();
if (_root.map_code_valid != 0) {
_root.gotoAndPlay("new_game");
} else {
_root.map_code = "invalid";
}
}
Symbol 61 Button
on (release) {
_root.update_high_scores();
gotoAndPlay (5);
}
Symbol 66 Button
on (release) {
gotoAndPlay (3);
}
Symbol 75 Button
on (release) {
gotoAndPlay (1);
}
Symbol 83 MovieClip Frame 1
temp = _root.bonus_ar_base_health_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 83 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 83 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + _root.health_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 83 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 88 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 88 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 88 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 88 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 94 MovieClip Frame 1
temp = _root.bonus_ar_base_bonus_points;
this.bonus.points = point_value;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 94 MovieClip Frame 7
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 94 MovieClip Frame 9
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.bonus_points = _root.bonus_points + point_value;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 94 MovieClip Frame 30
this._x = 8000;
this.stop();
Symbol 103 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 103 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 103 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 103 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 103 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 110 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
gotoAndPlay (20);
}
Symbol 110 MovieClip Frame 2
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 110 MovieClip Frame 4
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 110 MovieClip Frame 20
if (_root.ar_used_bonus[bonus_num + temp] == 0) {
gotoAndPlay (1);
}
Symbol 110 MovieClip Frame 21
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 110 MovieClip Frame 23
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = Math.abs(_root.ar_used_bonus[bonus_num + temp] - 1);
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 162 Button
on (release) {
getURL ("http://www.seawana.com", "_new");
}
Symbol 164 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 83 MovieClip in Symbol 164 MovieClip Frame 3
onClipEvent (load) {
bonus_num = "defaultValue";
}
Instance of Symbol 88 MovieClip in Symbol 164 MovieClip Frame 3
onClipEvent (load) {
bonus_num = "defaultValue";
}
Instance of Symbol 94 MovieClip in Symbol 164 MovieClip Frame 3
onClipEvent (load) {
point_value = 50;
bonus_num = "defaultValue";
}
Instance of Symbol 103 MovieClip in Symbol 164 MovieClip Frame 3
onClipEvent (load) {
bonus_num = "defaultValue";
}
Instance of Symbol 110 MovieClip in Symbol 164 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 0;
}
Symbol 164 MovieClip Frame 4
gotoAndPlay (3);
Symbol 164 MovieClip Frame 6
temp = _root.name;
_root.name = "";
_root.update_high_scores();
_root.name = temp;
Symbol 164 MovieClip Frame 8
gotoAndPlay (7);
Symbol 199 MovieClip Frame 1
_root.snd_hit = 0;
stop();
Symbol 199 MovieClip Frame 2
_root.snd_hit = 1;
Symbol 201 MovieClip Frame 1
_root.snd_engine = 0;
stop();
Symbol 201 MovieClip Frame 2
_root.snd_engine = 1;
Symbol 203 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
_root.snd_thruster = 0;
stop();
Symbol 204 MovieClip Frame 2
_root.snd_thruster = 1;
Symbol 206 MovieClip Frame 1
stop();
Symbol 208 Button
on (release, keyPress "q") {
_root.quality++;
if (3 < _root.quality) {
_root.quality = 1;
}
ar_quality = new Array("LOW", "MEDIUM", "HIGH");
_root._quality = ar_quality[_root.quality - 1];
_root.display_stats();
}
Symbol 246 MovieClip Frame 1
timer = (rot = (pause = 0));
Symbol 246 MovieClip Frame 3
timer++;
if (0 < rot) {
rot--;
if (this.dish._rotation < 90) {
this.dish._rotation++;
}
}
if (rot < 0) {
rot++;
if (-90 < this.dish._rotation) {
this.dish._rotation--;
}
}
if (rot == 0) {
if (0 < pause) {
pause--;
} else {
rot = Math.round(Math.random() * 50) - 25;
pause = Math.round(Math.random() * 50) + 30;
}
}
gotoAndPlay (2);
Symbol 258 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 258 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 258 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 258 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 258 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 261 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 261 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 261 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 261 MovieClip Frame 29
this._x = 8000;
this.stop();
Instance of Symbol 258 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip Frame 2
onClipEvent (load) {
bonus_num = 0;
}
Symbol 270 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 270 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 270 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 270 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 271 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 271 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 271 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 271 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 271 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 272 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
gotoAndPlay (20);
}
Symbol 272 MovieClip Frame 2
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 272 MovieClip Frame 4
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 272 MovieClip Frame 20
if (_root.ar_used_bonus[bonus_num + temp] == 0) {
gotoAndPlay (1);
}
Symbol 272 MovieClip Frame 21
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 272 MovieClip Frame 23
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = Math.abs(_root.ar_used_bonus[bonus_num + temp] - 1);
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 273 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 273 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 273 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 273 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 273 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 277 MovieClip Frame 1
temp = _root.bonus_ar_base_health_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 277 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 277 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + (_root.health_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 277 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 281 MovieClip Frame 1
flying = (rock_x = (rock_y = 0));
Symbol 281 MovieClip Frame 3
if (flying == 1) {
rock._x = rock._x + rock_x;
rock._y = rock._y + rock_y;
rock._rotation = rock._rotation + rock_rot;
rock_y = rock_y + (_root.gravity * 20);
if ((y_max < rock._y) or (x_max < rock._x)) {
flying = 0;
}
} else {
rock._x = (rock._y = 0);
rock_x = (Math.random() * x_speed) + 0.5;
rock_y = (Math.random() * (y_speed - (2 * y_speed))) + 0.1;
rock_rot = (Math.random() * 10) - 5;
rock._width = (Math.random() * size_max) + 3;
rock._height = (Math.random() * size_max) + 3;
flying = 1;
}
gotoAndPlay (2);
Symbol 287 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Instance of Symbol 281 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
x_max = 20;
y_max = 30;
size_max = 4;
x_speed = 2;
y_speed = 2;
}
Instance of Symbol 281 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
x_max = 20;
y_max = 30;
size_max = 4;
x_speed = 2;
y_speed = 2;
}
Instance of Symbol 281 MovieClip in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
x_max = 20;
y_max = 30;
size_max = 4;
x_speed = 2;
y_speed = 2;
}
Symbol 287 MovieClip Frame 5
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 287 MovieClip Frame 12
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Symbol 289 MovieClip Frame 2
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay(1);
}
Instance of Symbol 287 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
switch_num = 1;
}
Instance of Symbol 289 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) {
switch_num = 1;
}
Instance of Symbol 270 MovieClip in Symbol 291 MovieClip Frame 2
onClipEvent (load) {
bonus_num = 122;
}
Instance of Symbol 271 MovieClip in Symbol 291 MovieClip Frame 2
onClipEvent (load) {
bonus_num = 121;
}
Instance of Symbol 272 MovieClip in Symbol 291 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 273 MovieClip in Symbol 291 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 112;
}
Instance of Symbol 277 MovieClip in Symbol 291 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 111;
}
Symbol 299 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 299 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 299 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 299 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 299 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 305 MovieClip Frame 1
temp = _root.bonus_ar_base_health_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 305 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 305 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + (_root.health_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 305 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 306 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 306 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 306 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 306 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 306 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 307 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 307 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 307 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 307 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 307 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 310 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 310 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 310 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 310 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 311 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 311 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 311 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 311 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 311 MovieClip Frame 54
this.gotoAndPlay("not_over");
Instance of Symbol 299 MovieClip in Symbol 315 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 305 MovieClip in Symbol 315 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 306 MovieClip in Symbol 315 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 307 MovieClip in Symbol 315 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 310 MovieClip in Symbol 315 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 311 MovieClip in Symbol 315 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 4;
}
Symbol 325 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Symbol 325 MovieClip Frame 3
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 325 MovieClip Frame 101
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Instance of Symbol 325 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
switch_num = 1;
}
Symbol 335 MovieClip Frame 1
pause = grow_time;
delta_y = 0;
Symbol 335 MovieClip Frame 3
if (0 < pause) {
this.drip._height = size * (1 - (pause / grow_time));
this.drip._width = this.drip._height * 0.5;
this.drip._y = 0;
pause--;
this.gotoAndPlay(2);
} else {
delta_y = delta_y + (_root.gravity * gravity_multiplier);
this.drip._y = this.drip._y + delta_y;
if (this.drip._y < fall_dist) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 335 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (load) {
gravity_multiplier = 3;
size = 5;
grow_time = 30;
fall_dist = 76;
}
Symbol 339 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 339 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 339 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 339 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 339 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 340 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 340 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 340 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 340 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 341 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 341 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 341 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 341 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 341 MovieClip Frame 54
this.gotoAndPlay("not_over");
Instance of Symbol 272 MovieClip in Symbol 344 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 305 MovieClip in Symbol 344 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 258 MovieClip in Symbol 344 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 339 MovieClip in Symbol 344 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 340 MovieClip in Symbol 344 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 341 MovieClip in Symbol 344 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 325 MovieClip in Symbol 346 MovieClip Frame 1
onClipEvent (load) {
switch_num = 1;
}
Symbol 347 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 347 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 347 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 347 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 348 MovieClip Frame 1
temp = _root.bonus_ar_base_health_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 348 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 348 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + (_root.health_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 348 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 350 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Instance of Symbol 281 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
x_max = 20;
y_max = 30;
size_max = 4;
x_speed = 2;
y_speed = 2;
}
Instance of Symbol 281 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
x_max = 20;
y_max = 30;
size_max = 4;
x_speed = 2;
y_speed = 2;
}
Instance of Symbol 281 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (load) {
x_max = 20;
y_max = 30;
size_max = 4;
x_speed = 2;
y_speed = 2;
}
Symbol 350 MovieClip Frame 5
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 350 MovieClip Frame 12
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Instance of Symbol 350 MovieClip in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
switch_num = "defaultValue";
}
Symbol 360 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 360 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 360 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 360 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 366 MovieClip Frame 1
height = (pause = 0);
direction = 1;
this.column._height = height_max;
this.platform._y = -height_max;
Symbol 366 MovieClip Frame 3
if (0 < height) {
height--;
if (this.column._height < this.height_max) {
this.column._height++;
this.platform._y--;
}
}
if (height < 0) {
height++;
if (this.height_min < this.column._height) {
this.column._height--;
this.platform._y++;
}
}
if (height == 0) {
if (0 < pause) {
pause--;
} else {
if (stops == 0) {
height = Math.round(Math.random() * (this.height_max * 2)) - this.height_max;
} else {
if ((this.column._height == this.height_max) or (this.column._height == this.height_min)) {
direction = -direction;
}
height = direction * Math.round((this.height_max - this.height_min) / stops);
}
pause = Math.round(Math.random() * (this.pause_max - this.pause_min)) + this.pause_min;
}
}
gotoAndPlay (2);
Symbol 369 MovieClip Frame 1
pause = grow_time;
delta_y = 0;
Symbol 369 MovieClip Frame 3
if (0 < pause) {
this.drip._height = size * (1 - (pause / grow_time));
this.drip._width = this.drip._height * 0.5;
this.drip._y = 0;
pause--;
this.gotoAndPlay(2);
} else {
delta_y = delta_y + (_root.gravity * gravity_multiplier);
this.drip._y = this.drip._y + delta_y;
if (this.drip._y < fall_dist) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 366 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
stops = 0;
height_max = 13;
height_min = 0;
pause_max = 30;
pause_min = 10;
}
Instance of Symbol 369 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
size = 4;
grow_time = 30;
fall_dist = 50;
gravity_multiplier = 4;
}
Symbol 372 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
gotoAndPlay (20);
}
Symbol 372 MovieClip Frame 2
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 372 MovieClip Frame 4
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 372 MovieClip Frame 20
if (_root.ar_used_bonus[bonus_num + temp] == 0) {
gotoAndPlay (1);
}
Symbol 372 MovieClip Frame 21
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 372 MovieClip Frame 23
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = Math.abs(_root.ar_used_bonus[bonus_num + temp] - 1);
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 374 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Symbol 374 MovieClip Frame 3
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 374 MovieClip Frame 100
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Instance of Symbol 374 MovieClip in Symbol 376 MovieClip Frame 1
onClipEvent (load) {
switch_num = 2;
}
Symbol 377 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
gotoAndPlay (20);
}
Symbol 377 MovieClip Frame 2
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 377 MovieClip Frame 4
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 377 MovieClip Frame 20
if (_root.ar_used_bonus[bonus_num + temp] == 0) {
gotoAndPlay (1);
}
Symbol 377 MovieClip Frame 21
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 377 MovieClip Frame 23
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = Math.abs(_root.ar_used_bonus[bonus_num + temp] - 1);
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 381 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Symbol 381 MovieClip Frame 3
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 381 MovieClip Frame 100
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Instance of Symbol 381 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
switch_num = 3;
}
Symbol 383 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 383 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 383 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 383 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 384 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Symbol 384 MovieClip Frame 3
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 384 MovieClip Frame 101
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Instance of Symbol 384 MovieClip in Symbol 386 MovieClip Frame 1
onClipEvent (load) {
switch_num = "defaultValue";
}
Symbol 389 MovieClip Frame 1
flying = (rock_x = (rock_y = 0));
Symbol 389 MovieClip Frame 3
if (flying == 1) {
rock._x = rock._x + rock_x;
rock._y = rock._y + rock_y;
rock._rotation = rock._rotation + rock_rot;
rock_y = rock_y + (_root.gravity * 20);
if ((y_max < rock._y) or (x_max < rock._x)) {
flying = 0;
}
} else {
rock._x = (rock._y = 0);
rock_x = (Math.random() * x_speed) + 0.5;
rock_y = (Math.random() * (y_speed - (2 * y_speed))) + 0.1;
rock_rot = (Math.random() * 10) - 5;
rock._width = (Math.random() * size_max) + 3;
rock._height = (Math.random() * size_max) + 3;
flying = 1;
}
gotoAndPlay (2);
Symbol 390 MovieClip Frame 1
flying = (rock_x = (rock_y = 0));
Symbol 390 MovieClip Frame 3
if (flying == 1) {
rock._x = rock._x + rock_x;
rock._y = rock._y + rock_y;
rock._rotation = rock._rotation + rock_rot;
rock_y = rock_y + (_root.gravity * 20);
if ((y_max < rock._y) or (x_max < rock._x)) {
flying = 0;
}
} else {
rock._x = (rock._y = 0);
rock_x = (Math.random() * x_speed) + 0.5;
rock_y = (Math.random() * (y_speed - (2 * y_speed))) + 0.1;
rock_rot = (Math.random() * 10) - 5;
rock._width = (Math.random() * size_max) + 3;
rock._height = (Math.random() * size_max) + 3;
flying = 1;
}
gotoAndPlay (2);
Symbol 395 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 395 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 395 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 395 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 396 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 396 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 396 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 396 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 396 MovieClip Frame 54
this.gotoAndPlay("not_over");
Instance of Symbol 272 MovieClip in Symbol 402 MovieClip Frame 2
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 299 MovieClip in Symbol 402 MovieClip Frame 2
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 347 MovieClip in Symbol 402 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 348 MovieClip in Symbol 402 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 360 MovieClip in Symbol 402 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 306 MovieClip in Symbol 402 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 307 MovieClip in Symbol 402 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 372 MovieClip in Symbol 402 MovieClip Frame 6
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 377 MovieClip in Symbol 402 MovieClip Frame 7
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 383 MovieClip in Symbol 402 MovieClip Frame 8
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 311 MovieClip in Symbol 402 MovieClip Frame 8
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 389 MovieClip in Symbol 402 MovieClip Frame 9
onClipEvent (load) {
x_max = 10;
y_max = 32;
size_max = 4;
x_speed = 1;
y_speed = 0;
}
Instance of Symbol 389 MovieClip in Symbol 402 MovieClip Frame 9
onClipEvent (load) {
x_max = 10;
y_max = 32;
size_max = 4;
x_speed = 1;
y_speed = 0;
}
Instance of Symbol 390 MovieClip in Symbol 402 MovieClip Frame 9
onClipEvent (load) {
x_max = 10;
y_max = 30;
size_max = 4;
x_speed = 1;
y_speed = 0;
}
Instance of Symbol 389 MovieClip in Symbol 402 MovieClip Frame 9
onClipEvent (load) {
x_max = 10;
y_max = 32;
size_max = 4;
x_speed = 1;
y_speed = 0;
}
Instance of Symbol 390 MovieClip in Symbol 402 MovieClip Frame 9
onClipEvent (load) {
x_max = 10;
y_max = 30;
size_max = 4;
x_speed = 1;
y_speed = 0;
}
Instance of Symbol 395 MovieClip in Symbol 402 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 396 MovieClip in Symbol 402 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 5;
}
Symbol 408 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 408 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 408 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 408 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 409 MovieClip Frame 1
temp = _root.bonus_ar_base_health_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 409 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 409 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + (_root.health_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 409 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 416 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
gotoAndPlay (20);
}
Symbol 416 MovieClip Frame 2
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 416 MovieClip Frame 4
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 416 MovieClip Frame 20
if (_root.ar_used_bonus[bonus_num + temp] == 0) {
gotoAndPlay (1);
}
Symbol 416 MovieClip Frame 21
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 416 MovieClip Frame 23
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = Math.abs(_root.ar_used_bonus[bonus_num + temp] - 1);
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 428 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Symbol 428 MovieClip Frame 3
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 428 MovieClip Frame 100
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Symbol 429 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Symbol 429 MovieClip Frame 3
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 429 MovieClip Frame 100
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Symbol 430 MovieClip Frame 1
pause = grow_time;
delta_y = 0;
Symbol 430 MovieClip Frame 3
if (0 < pause) {
this.drip._height = size * (1 - (pause / grow_time));
this.drip._width = this.drip._height * 0.5;
this.drip._y = 0;
pause--;
this.gotoAndPlay(2);
} else {
delta_y = delta_y + (_root.gravity * gravity_multiplier);
this.drip._y = this.drip._y + delta_y;
if (this.drip._y < fall_dist) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 428 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (load) {
switch_num = 1;
}
Instance of Symbol 429 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (load) {
switch_num = 0;
}
Instance of Symbol 430 MovieClip in Symbol 431 MovieClip Frame 1
onClipEvent (load) {
size = 3;
grow_time = 20;
fall_dist = 6;
gravity_multiplier = 4;
}
Symbol 432 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 432 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 432 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 432 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 432 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 433 MovieClip Frame 1
height = (pause = 0);
direction = 1;
this.column._height = height_max;
this.platform._y = -height_max;
Symbol 433 MovieClip Frame 3
if (0 < height) {
height--;
if (this.column._height < this.height_max) {
this.column._height++;
this.platform._y--;
}
}
if (height < 0) {
height++;
if (this.height_min < this.column._height) {
this.column._height--;
this.platform._y++;
}
}
if (height == 0) {
if (0 < pause) {
pause--;
} else {
if (stops == 0) {
height = Math.round(Math.random() * (this.height_max * 2)) - this.height_max;
} else {
if ((this.column._height == this.height_max) or (this.column._height == this.height_min)) {
direction = -direction;
}
height = direction * Math.round((this.height_max - this.height_min) / stops);
}
pause = Math.round(Math.random() * (this.pause_max - this.pause_min)) + this.pause_min;
}
}
gotoAndPlay (2);
Symbol 434 MovieClip Frame 1
height = (pause = 0);
direction = 1;
this.column._height = height_max;
this.platform._y = -height_max;
Symbol 434 MovieClip Frame 3
if (0 < height) {
height--;
if (this.column._height < this.height_max) {
this.column._height++;
this.platform._y--;
}
}
if (height < 0) {
height++;
if (this.height_min < this.column._height) {
this.column._height--;
this.platform._y++;
}
}
if (height == 0) {
if (0 < pause) {
pause--;
} else {
if (stops == 0) {
height = Math.round(Math.random() * (this.height_max * 2)) - this.height_max;
} else {
if ((this.column._height == this.height_max) or (this.column._height == this.height_min)) {
direction = -direction;
}
height = direction * Math.round((this.height_max - this.height_min) / stops);
}
pause = Math.round(Math.random() * (this.pause_max - this.pause_min)) + this.pause_min;
}
}
gotoAndPlay (2);
Instance of Symbol 433 MovieClip in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
stops = 0;
height_max = 20;
height_min = 0;
pause_max = 30;
pause_min = 20;
}
Instance of Symbol 434 MovieClip in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
stops = 1;
height_max = 22;
height_min = 0;
pause_max = 120;
pause_min = 90;
}
Symbol 441 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 441 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 441 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 441 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 443 MovieClip Frame 1
flying = (rock_x = (rock_y = 0));
Symbol 443 MovieClip Frame 3
if (flying == 1) {
rock._x = rock._x + rock_x;
rock._y = rock._y + rock_y;
rock._rotation = rock._rotation + rock_rot;
rock_y = rock_y + (_root.gravity * gravity_multiplier);
if ((y_max < rock._y) or (x_max < rock._x)) {
flying = 0;
pause = ((Math.random() * pause_max) - pause_min) + pause_min;
}
} else if (0 < pause) {
pause--;
} else {
rock._x = (rock._y = 0);
rock_x = (Math.random() * (x_speed_max - x_speed_min)) + x_speed_min;
rock_y = (Math.random() * (y_speed_max - y_speed_min)) + y_speed_min;
rock_rot = (Math.random() * 10) - 5;
rock._width = (Math.random() * (size_max - size_min)) + size_min;
rock._height = (Math.random() * (size_max - size_min)) + size_min;
flying = 1;
}
gotoAndPlay (2);
Instance of Symbol 443 MovieClip in Symbol 444 MovieClip Frame 1
onClipEvent (load) {
pause_min = 1;
pause_max = 90;
x_max = 40;
y_max = 120;
size_min = 6;
size_max = 9;
x_speed_min = 0.5;
x_speed_max = 0.75;
y_speed_min = 0.1;
y_speed_max = 0.4;
gravity_multiplier = 3;
}
Symbol 447 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 447 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 447 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 447 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 447 MovieClip Frame 54
this.gotoAndPlay("not_over");
Instance of Symbol 258 MovieClip in Symbol 450 MovieClip Frame 2
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 408 MovieClip in Symbol 450 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 409 MovieClip in Symbol 450 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 341 MovieClip in Symbol 450 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 339 MovieClip in Symbol 450 MovieClip Frame 6
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 272 MovieClip in Symbol 450 MovieClip Frame 6
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 416 MovieClip in Symbol 450 MovieClip Frame 6
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 432 MovieClip in Symbol 450 MovieClip Frame 7
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 441 MovieClip in Symbol 450 MovieClip Frame 8
onClipEvent (load) {
bonus_num = "defaultValue";
}
Instance of Symbol 447 MovieClip in Symbol 450 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 4;
}
Symbol 454 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 454 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 454 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 454 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 455 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 455 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 455 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 455 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 464 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 464 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 464 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 464 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 465 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 465 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 465 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 465 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 465 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 470 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 470 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 470 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 470 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 483 MovieClip Frame 1
pause = grow_time;
delta_y = 0;
Symbol 483 MovieClip Frame 3
if (0 < pause) {
this.drip._height = size * (1 - (pause / grow_time));
this.drip._width = this.drip._height * 0.5;
this.drip._y = 0;
pause--;
this.gotoAndPlay(2);
} else {
delta_y = delta_y + (_root.gravity * gravity_multiplier);
this.drip._y = this.drip._y + delta_y;
if (this.drip._y < fall_dist) {
this.gotoAndPlay(2);
}
}
Symbol 484 MovieClip Frame 1
pause = grow_time;
delta_y = 0;
Symbol 484 MovieClip Frame 3
if (0 < pause) {
this.drip._height = size * (1 - (pause / grow_time));
this.drip._width = this.drip._height * 0.5;
this.drip._y = 0;
pause--;
this.gotoAndPlay(2);
} else {
delta_y = delta_y + (_root.gravity * gravity_multiplier);
this.drip._y = this.drip._y + delta_y;
if (this.drip._y < fall_dist) {
this.gotoAndPlay(2);
}
}
Symbol 487 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 487 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 487 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 487 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 488 MovieClip Frame 1
temp = _root.bonus_ar_base_health_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 488 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 488 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + _root.health_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 488 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 489 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 489 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 489 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 489 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 494 MovieClip Frame 1
pause = grow_time;
delta_y = 0;
Symbol 494 MovieClip Frame 3
if (0 < pause) {
this.drip._height = size * (1 - (pause / grow_time));
this.drip._width = this.drip._height * 0.5;
this.drip._y = 0;
pause--;
this.gotoAndPlay(2);
} else {
delta_y = delta_y + (_root.gravity * gravity_multiplier);
this.drip._y = this.drip._y + delta_y;
if (this.drip._y < fall_dist) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 494 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
size = 5;
grow_time = 90;
fall_dist = 80;
gravity_multiplier = 3;
}
Symbol 496 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 496 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 496 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + (_root.fuel_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 496 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 497 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 497 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 497 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 497 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 497 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 498 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 498 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 498 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 498 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 498 MovieClip Frame 54
this.gotoAndPlay("not_over");
Instance of Symbol 454 MovieClip in Symbol 501 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 455 MovieClip in Symbol 501 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 360 MovieClip in Symbol 501 MovieClip Frame 3
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 464 MovieClip in Symbol 501 MovieClip Frame 6
onClipEvent (load) {
bonus_num = "defaultValue";
}
Instance of Symbol 465 MovieClip in Symbol 501 MovieClip Frame 6
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 470 MovieClip in Symbol 501 MovieClip Frame 8
onClipEvent (load) {
bonus_num = 6;
}
Instance of Symbol 299 MovieClip in Symbol 501 MovieClip Frame 8
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 306 MovieClip in Symbol 501 MovieClip Frame 9
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 483 MovieClip in Symbol 501 MovieClip Frame 14
onClipEvent (load) {
size = 5;
grow_time = 60;
fall_dist = 25;
gravity_multiplier = 3;
}
Instance of Symbol 484 MovieClip in Symbol 501 MovieClip Frame 14
onClipEvent (load) {
size = 5;
grow_time = 30;
fall_dist = 35;
gravity_multiplier = 3;
}
Instance of Symbol 307 MovieClip in Symbol 501 MovieClip Frame 14
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 487 MovieClip in Symbol 501 MovieClip Frame 15
onClipEvent (load) {
bonus_num = 6;
}
Instance of Symbol 488 MovieClip in Symbol 501 MovieClip Frame 15
onClipEvent (load) {
bonus_num = 7;
}
Instance of Symbol 489 MovieClip in Symbol 501 MovieClip Frame 15
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 447 MovieClip in Symbol 501 MovieClip Frame 15
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 496 MovieClip in Symbol 501 MovieClip Frame 17
onClipEvent (load) {
bonus_num = 5;
}
Instance of Symbol 497 MovieClip in Symbol 501 MovieClip Frame 17
onClipEvent (load) {
bonus_num = 5;
}
Instance of Symbol 498 MovieClip in Symbol 501 MovieClip Frame 17
onClipEvent (load) {
bonus_num = 6;
}
Symbol 516 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
gotoAndPlay (20);
}
Symbol 516 MovieClip Frame 2
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 516 MovieClip Frame 4
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("off_over");
} else {
this.gotoAndPlay("off");
}
Symbol 516 MovieClip Frame 20
if (_root.ar_used_bonus[bonus_num + temp] == 0) {
gotoAndPlay (1);
}
Symbol 516 MovieClip Frame 21
if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 516 MovieClip Frame 23
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = Math.abs(_root.ar_used_bonus[bonus_num + temp] - 1);
} else if (_root.maps.screens.ship.hull.hitTest(this.switch_mc)) {
this.gotoAndPlay("on_over");
} else {
this.gotoAndPlay("on");
}
Symbol 517 MovieClip Frame 1
temp = _root.bonus_ar_base_bonus_points;
this.bonus.points = point_value;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 517 MovieClip Frame 7
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 517 MovieClip Frame 9
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.bonus_points = _root.bonus_points + point_value;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 517 MovieClip Frame 30
this._x = 8000;
this.stop();
Instance of Symbol 325 MovieClip in Symbol 519 MovieClip Frame 1
onClipEvent (load) {
switch_num = 1;
}
Instance of Symbol 465 MovieClip in Symbol 524 MovieClip Frame 4
onClipEvent (load) {
bonus_num = 0;
}
Instance of Symbol 464 MovieClip in Symbol 524 MovieClip Frame 5
onClipEvent (load) {
bonus_num = "defaultValue";
}
Instance of Symbol 396 MovieClip in Symbol 524 MovieClip Frame 9
onClipEvent (load) {
bonus_num = 5;
}
Instance of Symbol 383 MovieClip in Symbol 524 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 516 MovieClip in Symbol 524 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 517 MovieClip in Symbol 524 MovieClip Frame 10
onClipEvent (load) {
point_value = 100;
bonus_num = 1;
}
Instance of Symbol 306 MovieClip in Symbol 524 MovieClip Frame 11
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 454 MovieClip in Symbol 524 MovieClip Frame 11
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 311 MovieClip in Symbol 524 MovieClip Frame 12
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 307 MovieClip in Symbol 524 MovieClip Frame 12
onClipEvent (load) {
bonus_num = 3;
}
Symbol 527 MovieClip Frame 1
temp = _root.bonus_ar_base_health_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 527 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 527 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + _root.health_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 527 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 530 MovieClip Frame 1
temp = _root.bonus_ar_base_switch;
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("on");
}
Symbol 530 MovieClip Frame 3
if (_root.ar_used_bonus[temp + switch_num] != 1) {
this.gotoAndPlay("off");
}
Symbol 530 MovieClip Frame 101
if (_root.ar_used_bonus[temp + switch_num] != 0) {
this.gotoAndPlay("on");
}
Instance of Symbol 530 MovieClip in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
switch_num = 2;
}
Instance of Symbol 325 MovieClip in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
switch_num = 1;
}
Symbol 540 MovieClip Frame 1
height = (pause = 0);
direction = 1;
this.wire._height = height_max;
this.ball._y = -72 + height_max;
temp = _root.bonus_ar_base_switch;
Symbol 540 MovieClip Frame 3
if (0 < height) {
height--;
if (this.height_min < this.wire._height) {
this.wire._height--;
this.ball._y--;
}
}
if (height < 0) {
height++;
if (this.wire._height < this.height_max) {
this.wire._height++;
this.ball._y++;
}
}
if (height == 0) {
if (0 < pause) {
pause--;
} else {
if (stops == 0) {
height = Math.round(Math.random() * (this.height_max * 2)) - this.height_max;
} else {
if ((this.wire._height == this.height_max) or (this.wire._height == this.height_min)) {
direction = -direction;
}
height = direction * Math.round((this.height_max - this.height_min) / stops);
}
pause = Math.round(Math.random() * (this.pause_max - this.pause_min)) + this.pause_min;
}
}
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("off");
} else {
this.gotoAndPlay("on");
}
Symbol 540 MovieClip Frame 5
if (_root.ar_used_bonus[temp + switch_num] == 0) {
this.gotoAndPlay("on");
} else {
this.gotoAndPlay("off");
}
Instance of Symbol 540 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (load) {
switch_num = "defaultValue";
stops = 1;
height_max = 50;
height_min = 0;
pause_max = 60;
pause_min = 30;
}
Symbol 547 MovieClip Frame 1
temp = _root.bonus_ar_base_health_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 547 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 547 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + (_root.health_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 547 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 556 MovieClip Frame 2
this.wheel._rotation = this.wheel._rotation + speed;
Instance of Symbol 556 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 560 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Symbol 561 MovieClip Frame 1
temp = _root.bonus_ar_base_bonus_points;
this.bonus.points = point_value;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 561 MovieClip Frame 7
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 561 MovieClip Frame 9
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.bonus_points = _root.bonus_points + point_value;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 561 MovieClip Frame 30
this._x = 8000;
this.stop();
Symbol 562 MovieClip Frame 1
temp = _root.bonus_ar_base_health_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 562 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 562 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + _root.health_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 562 MovieClip Frame 29
this._x = 8000;
this.stop();
Instance of Symbol 556 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Instance of Symbol 556 MovieClip in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
}
Symbol 577 MovieClip Frame 1
height = (pause = 0);
direction = 1;
this.wire._height = height_max;
this.ball._y = -72 + height_max;
temp = _root.bonus_ar_base_switch;
Symbol 577 MovieClip Frame 3
if (0 < height) {
height--;
if (this.height_min < this.wire._height) {
this.wire._height--;
this.ball._y--;
}
}
if (height < 0) {
height++;
if (this.wire._height < this.height_max) {
this.wire._height++;
this.ball._y++;
}
}
if (height == 0) {
if (0 < pause) {
pause--;
} else {
if (stops == 0) {
height = Math.round(Math.random() * (this.height_max * 2)) - this.height_max;
} else {
if ((this.wire._height == this.height_max) or (this.wire._height == this.height_min)) {
direction = -direction;
}
height = direction * Math.round((this.height_max - this.height_min) / stops);
}
pause = Math.round(Math.random() * (this.pause_max - this.pause_min)) + this.pause_min;
}
}
if (_root.ar_used_bonus[temp + switch_num] == 1) {
this.gotoAndPlay("off");
} else {
this.gotoAndPlay("on");
}
Symbol 577 MovieClip Frame 5
if (_root.ar_used_bonus[temp + switch_num] == 0) {
this.gotoAndPlay("on");
} else {
this.gotoAndPlay("off");
}
Instance of Symbol 577 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
switch_num = "defaultValue";
stops = 1;
height_max = 100;
height_min = 0;
pause_max = 70;
pause_min = 20;
}
Symbol 579 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 579 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 579 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 579 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 583 MovieClip Frame 1
height = (pause = 0);
direction = 1;
this.column._height = height_max;
this.platform._y = -height_max;
Symbol 583 MovieClip Frame 3
if (0 < height) {
height--;
if (this.column._height < this.height_max) {
this.column._height++;
this.platform._y--;
}
}
if (height < 0) {
height++;
if (this.height_min < this.column._height) {
this.column._height--;
this.platform._y++;
}
}
if (height == 0) {
if (0 < pause) {
pause--;
} else {
if (stops == 0) {
height = Math.round(Math.random() * (this.height_max * 2)) - this.height_max;
} else {
if ((this.column._height == this.height_max) or (this.column._height == this.height_min)) {
direction = -direction;
}
height = direction * Math.round((this.height_max - this.height_min) / stops);
}
pause = Math.round(Math.random() * (this.pause_max - this.pause_min)) + this.pause_min;
}
}
gotoAndPlay (2);
Instance of Symbol 350 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
switch_num = "defaultValue";
}
Instance of Symbol 583 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
stops = 1;
height_max = 25;
height_min = 0;
pause_max = 150;
pause_min = 90;
}
Symbol 592 MovieClip Frame 1
temp = _root.bonus_ar_base_health_half;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 592 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 592 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_health = _root.bonus_health + (_root.health_max * 0.5);
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 592 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 593 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 593 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 593 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 593 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 594 MovieClip Frame 1
temp = _root.bonus_ar_base_bonus_points;
this.bonus.points = point_value;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 594 MovieClip Frame 7
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 594 MovieClip Frame 9
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.bonus_points = _root.bonus_points + point_value;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 594 MovieClip Frame 30
this._x = 8000;
this.stop();
Symbol 599 MovieClip Frame 1
temp = _root.bonus_ar_base_switch + 99;
temp = 1;
if (_root.ar_used_bonus[temp] == 1) {
this.gotoAndStop("done");
}
pause = 300;
Symbol 599 MovieClip Frame 3
pause--;
if (0 < pause) {
this.gotoAndPlay("paused");
}
Symbol 599 MovieClip Frame 4
_root.ar_used_bonus[temp] = 1;
Symbol 599 MovieClip Frame 89
this.stop();
Symbol 602 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 602 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 602 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 602 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 602 MovieClip Frame 54
this.gotoAndPlay("not_over");
Symbol 605 MovieClip Frame 1
temp = _root.bonus_ar_base_fuel_full;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 605 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay(1);
}
Symbol 605 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
_root.bonus_fuel = _root.bonus_fuel + _root.fuel_max;
_root.ar_used_bonus[bonus_num + temp] = 1;
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 605 MovieClip Frame 31
this._x = 8000;
this.stop();
Symbol 606 MovieClip Frame 1
temp = _root.bonus_ar_base_person;
if (_root.ar_used_bonus[bonus_num + temp] == 1) {
this._x = 8000;
}
Symbol 606 MovieClip Frame 2
if (!_root.maps.screens.ship.hull.hitTest(this.bonus)) {
this.gotoAndPlay("not_over");
}
Symbol 606 MovieClip Frame 4
if (_root.maps.screens.ship.hull.hitTest(this.bonus)) {
if (Key.isDown(Key.SPACE)) {
if (_root.people_transit < _root.people_transit_max) {
_root.people_transit++;
_root.ar_used_bonus[bonus_num + temp] = 1;
_root.save_ship_location();
} else {
this.gotoAndPlay("no_room");
}
} else {
this.gotoAndPlay("over");
}
} else {
this.gotoAndPlay("not_over");
}
Symbol 606 MovieClip Frame 29
this._x = 8000;
this.stop();
Symbol 606 MovieClip Frame 54
this.gotoAndPlay("not_over");
Instance of Symbol 360 MovieClip in Symbol 611 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 395 MovieClip in Symbol 611 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 527 MovieClip in Symbol 611 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 372 MovieClip in Symbol 611 MovieClip Frame 5
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 383 MovieClip in Symbol 611 MovieClip Frame 6
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 496 MovieClip in Symbol 611 MovieClip Frame 8
onClipEvent (load) {
bonus_num = 5;
}
Instance of Symbol 516 MovieClip in Symbol 611 MovieClip Frame 9
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 547 MovieClip in Symbol 611 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 7;
}
Instance of Symbol 470 MovieClip in Symbol 611 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 6;
}
Instance of Symbol 341 MovieClip in Symbol 611 MovieClip Frame 10
onClipEvent (load) {
bonus_num = 1;
}
Instance of Symbol 561 MovieClip in Symbol 611 MovieClip Frame 12
onClipEvent (load) {
point_value = 50;
bonus_num = 9;
}
Instance of Symbol 562 MovieClip in Symbol 611 MovieClip Frame 12
onClipEvent (load) {
bonus_num = 8;
}
Instance of Symbol 306 MovieClip in Symbol 611 MovieClip Frame 15
onClipEvent (load) {
bonus_num = 2;
}
Instance of Symbol 307 MovieClip in Symbol 611 MovieClip Frame 17
onClipEvent (load) {
bonus_num = 3;
}
Instance of Symbol 579 MovieClip in Symbol 611 MovieClip Frame 18
onClipEvent (load) {
bonus_num = 10;
}
Instance of Symbol 311 MovieClip in Symbol 611 MovieClip Frame 18
onClipEvent (load) {
bonus_num = 4;
}
Instance of Symbol 396 MovieClip in Symbol 611 MovieClip Frame 20
onClipEvent (load) {
bonus_num = 5;
}
Instance of Symbol 592 MovieClip in Symbol 611 MovieClip Frame 23
onClipEvent (load) {
bonus_num = 12;
}
Instance of Symbol 593 MovieClip in Symbol 611 MovieClip Frame 23
onClipEvent (load) {
bonus_num = 11;
}
Instance of Symbol 594 MovieClip in Symbol 611 MovieClip Frame 23
onClipEvent (load) {
point_value = 100;
bonus_num = 13;
}
Instance of Symbol 602 MovieClip in Symbol 611 MovieClip Frame 24
onClipEvent (load) {
bonus_num = 6;
}
Instance of Symbol 605 MovieClip in Symbol 611 MovieClip Frame 25
onClipEvent (load) {
bonus_num = 14;
}
Instance of Symbol 606 MovieClip in Symbol 611 MovieClip Frame 25
onClipEvent (load) {
bonus_num = 7;
}
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
stop();
Symbol 612 MovieClip Frame 3
stop();
Symbol 612 MovieClip Frame 4
stop();
Symbol 612 MovieClip Frame 5
stop();
Symbol 612 MovieClip Frame 6
stop();
Symbol 612 MovieClip Frame 7
stop();
Symbol 612 MovieClip Frame 8
stop();
Symbol 612 MovieClip Frame 9
stop();
Symbol 613 Button
on (keyPress "<Space>") {
gotoAndPlay (436);
}
Symbol 621 MovieClip Frame 1
messages = new Array("Worst", "Man, you really stink at this.", "Pathetic", "What was that? Were you even\trying to save the people?", "Terrible", "That was not good.\nTry a little harder next time.", "Bad", "You COULD have saved more people\n... but whatever.", "Average", "I'd say that's an average day's work.", "Fine", "That was okay.\nYou're not all that bad at this.", "Good", "Not great, but good.", "Great", "Nice work. You saved\na bunch of people in need.", "Superb", "Wow! You almost\nsaved everyone! Keep trying!", "Perfect", "Hooray! You saved everybody\nand completed the game!");
message_1 = (_root.map + "/10 - ") + messages[(_root.map * 2) - 2];
message_2 = messages[(_root.map * 2) - 1];
this.stop();
Symbol 631 Button
on (release) {
gotoAndPlay (181);
}
Symbol 638 Button
on (release) {
_root.update_high_scores();
this.play();
}
Symbol 644 MovieClip Frame 1
_root.name = "";
this.stop();
Symbol 644 MovieClip Frame 2
this.stop();