Frame 1
function save_initialize() {
_root.saves.data.data_flg = 3;
_root.saves.data.clear_flg = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
_root.saves.data.c_point = [10000, 10000];
_root.saves.data.a_max = [[8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.a_defense = [[8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.a_move = [[8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.b_max = [[8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.b_pw = [[8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.b_recv = [[8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.shopwep = [[8, 1, 0, 0, 0, 1, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 1, 0, 0, 0, 1, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.getwep = [[8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.shoparmor = [[8, 2, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 2, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.getarmor = [[8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9], [8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9]];
_root.saves.data.eqwep = [[9, 1, 0], [9, 1, 0]];
_root.saves.data.eqarmor = [1, 1];
_root.saves.data.total_destroy_num = [0, 0];
_root.saves.flush();
}
function save_initialize1104() {
_root.saves.data.data_flg = 3;
i = 41;
while (50 >= i) {
_root.saves.data.getwep[0][i] = 0;
_root.saves.data.getwep[1][i] = 0;
i++;
}
_root.saves.data.getwep[0][51] = 9;
_root.saves.data.getwep[1][51] = 9;
_root.saves.flush();
}
function save_write1() {
_root.saves.data.data_flg = 3;
_root.saves.data.c_point[0] = _root.c_point;
i = 0;
while (22 >= i) {
_root.saves.data.a_max[0][i] = _root.a_max[i];
_root.saves.data.a_defense[0][i] = _root.a_defense[i];
_root.saves.data.a_move[0][i] = _root.a_move[i];
_root.saves.data.b_max[0][i] = _root.b_max[i];
_root.saves.data.b_pw[0][i] = _root.b_pw[i];
_root.saves.data.b_recv[0][i] = _root.b_recv[i];
_root.saves.data.getarmor[0][i] = _root.getarmor_now[i];
_root.saves.data.shoparmor[0][i] = _root.shop_armor[i];
i++;
}
i = 0;
while (52 >= i) {
_root.saves.data.getwep[0][i] = _root.getwep_now[i];
_root.saves.data.shopwep[0][i] = _root.shop_wep[i];
i++;
}
i = 0;
while (2 >= i) {
_root.saves.data.eqwep[0][i] = _root.equip_wep[i];
i++;
}
i = 0;
while (32 >= i) {
_root.saves.data.clear_flg[0][i] = _root.clear_flg_main[i];
i++;
}
_root.saves.data.total_destroy_num[0] = _root.total_destroy;
_root.saves.data.eqarmor[0] = _root.equip_armor;
_root.saves.flush();
}
function save_read1() {
_root.saves.data.data_flg = 3;
_root.c_point = _root.saves.data.c_point[0];
i = 0;
while (22 >= i) {
_root.a_max[i] = _root.saves.data.a_max[0][i];
_root.a_defense[i] = _root.saves.data.a_defense[0][i];
_root.a_move[i] = _root.saves.data.a_move[0][i];
_root.b_max[i] = _root.saves.data.b_max[0][i];
_root.b_pw[i] = _root.saves.data.b_pw[0][i];
_root.b_recv[i] = _root.saves.data.b_recv[0][i];
_root.getarmor_now[i] = _root.saves.data.getarmor[0][i];
_root.shop_armor[i] = _root.saves.data.shoparmor[0][i];
i++;
}
i = 0;
while (52 >= i) {
_root.getwep_now[i] = _root.saves.data.getwep[0][i];
_root.shop_wep[i] = _root.saves.data.shopwep[0][i];
i++;
}
i = 0;
while (2 >= i) {
_root.equip_wep[i] = _root.saves.data.eqwep[0][i];
i++;
}
i = 0;
while (32 >= i) {
_root.clear_flg_main[i] = _root.saves.data.clear_flg[0][i];
i++;
}
_root.total_destroy = _root.saves.data.total_destroy_num[0];
_root.equip_armor = _root.saves.data.eqarmor[0];
_root.saves.flush();
}
function save_write2() {
_root.saves.data.data_flg = 3;
_root.saves.data.c_point[1] = _root.c_point;
i = 0;
while (22 >= i) {
_root.saves.data.a_max[1][i] = _root.a_max[i];
_root.saves.data.a_defense[1][i] = _root.a_defense[i];
_root.saves.data.a_move[1][i] = _root.a_move[i];
_root.saves.data.b_max[1][i] = _root.b_max[i];
_root.saves.data.b_pw[1][i] = _root.b_pw[i];
_root.saves.data.b_recv[1][i] = _root.b_recv[i];
_root.saves.data.getarmor[1][i] = _root.getarmor_now[i];
_root.saves.data.shoparmor[1][i] = _root.shop_armor[i];
i++;
}
i = 0;
while (52 >= i) {
_root.saves.data.getwep[1][i] = _root.getwep_now[i];
_root.saves.data.shopwep[1][i] = _root.shop_wep[i];
i++;
}
i = 0;
while (2 >= i) {
_root.saves.data.eqwep[1][i] = _root.equip_wep[i];
i++;
}
i = 0;
while (32 >= i) {
_root.saves.data.clear_flg[1][i] = _root.clear_flg_main[i];
i++;
}
_root.saves.data.total_destroy_num[1] = _root.total_destroy;
_root.saves.data.eqarmor[1] = _root.equip_armor;
_root.saves.flush();
}
function save_read2() {
_root.saves.data.data_flg = 3;
_root.c_point = _root.saves.data.c_point[1];
i = 0;
while (22 >= i) {
_root.a_max[i] = _root.saves.data.a_max[1][i];
_root.a_defense[i] = _root.saves.data.a_defense[1][i];
_root.a_move[i] = _root.saves.data.a_move[1][i];
_root.b_max[i] = _root.saves.data.b_max[1][i];
_root.b_pw[i] = _root.saves.data.b_pw[1][i];
_root.b_recv[i] = _root.saves.data.b_recv[1][i];
_root.getarmor_now[i] = _root.saves.data.getarmor[1][i];
_root.shop_armor[i] = _root.saves.data.shoparmor[1][i];
i++;
}
i = 0;
while (52 >= i) {
_root.getwep_now[i] = _root.saves.data.getwep[1][i];
_root.shop_wep[i] = _root.saves.data.shopwep[1][i];
i++;
}
i = 0;
while (2 >= i) {
_root.equip_wep[i] = _root.saves.data.eqwep[1][i];
i++;
}
i = 0;
while (32 >= i) {
_root.clear_flg_main[i] = _root.saves.data.clear_flg[1][i];
i++;
}
_root.total_destroy = _root.saves.data.total_destroy_num[1];
_root.equip_armor = _root.saves.data.eqarmor[1];
_root.saves.flush();
}
_quality = "LOW";
Stage.showMenu = false;
_root.saves = SharedObject.getLocal("comv_saves");
_root.shop_wep = [8, 1, 0, 0, 0, 1, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.ammo_wep = [8, 50, 15, 0, 0, 10, 0, 0, 0, 0, 6, 0, 0, 0, 0, 15, 0, 0, 0, 0, 6, 3, 0, 0, 0, 5, 0, 0, 0, 0, 5, 0, 0, 0, 0, 1, 13, 0, 0, 0, 1, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 9];
_root.wep_reload = [8, 30, 45, 0, 0, 45, 0, 0, 0, 0, 120, 0, 0, 0, 0, 80, 0, 0, 0, 0, 150, 80, 0, 0, 0, 120, 0, 0, 0, 0, 200, 0, 0, 0, 0, 60, 80, 0, 0, 0, 1, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 9];
_root.shop_armor = [8, 2, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.cost_armor = [8, 1, 2, 1.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.armor_reload = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
function player_set() {
_root.p_hp = (_root.a_max_main = _root.p_hp_default[_root.equip_armor] * (1 + ((_root.a_max[_root.equip_armor] / 10) * 2)));
_root.a_defense_main = _root.a_defense_default[_root.equip_armor] * (1 + ((_root.a_defense[_root.equip_armor] / 10) * 2));
_root.a_move_main = _root.p_movmax_default[_root.equip_armor] * (1 + ((_root.a_move[_root.equip_armor] / 10) * 2));
_root.p_bp = (_root.b_max_main = _root.p_bp_default[_root.equip_armor] * (1 + ((_root.b_max[_root.equip_armor] / 10) * 2)));
_root.b_pw_main = _root.p_pwmax_default[_root.equip_armor] * (1 + ((_root.b_pw[_root.equip_armor] / 10) * 2));
_root.b_recv_main = _root.b_recv_default[_root.equip_armor] * (1 + ((_root.b_recv[_root.equip_armor] / 10) * 2));
}
function player_set2() {
_root.equip_wep[1] = 1;
_root.equip_wep[2] = 5;
_root.p_hp = (_root.a_max_main = _root.p_hp_default[_root.equip_armor] * 1.2);
_root.a_defense_main = _root.a_defense_default[_root.equip_armor] * 1.2;
_root.a_move_main = _root.p_movmax_default[_root.equip_armor] * 2;
_root.p_bp = (_root.b_max_main = _root.p_bp_default[_root.equip_armor] * 2);
_root.b_pw_main = _root.p_pwmax_default[_root.equip_armor] * 2;
_root.b_recv_main = _root.b_recv_default[_root.equip_armor] * 2;
}
function p_initialize() {
_root.p_hp_default = [8, 300, 250, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.a_defense_default = [8, 5, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.p_movmax_default = [8, 4, 6, 3.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.p_bp_default = [8, 300, 400, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.p_pwmax_default = [8, 15, 20, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.b_recv_default = [8, 2, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.c_point = 10000;
_root.a_max = [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.a_defense = [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.a_move = [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.b_max = [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.b_pw = [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.b_recv = [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.a_max_main = 0;
_root.a_defense_main = 0;
_root.a_move_main = 0;
_root.b_max_main = 0;
_root.b_pw_main = 0;
_root.b_recv_main = 0;
_root.p_hp = 0;
_root.p_bp = 0;
_root.p_pw = 0;
_root.p_mov_x = 0;
_root.p_mov_y = 0;
_root.p_pos_x = 100;
_root.p_pos_y = 0;
_root.sight_pos = 0;
_root.dash_defense = 0;
_root.p_dmg_flg = 0;
_root.p_shot_num = 0;
_root.p_efct_num = 0;
_root.hit_mov_x = 0;
_root.hit_mov_y = 0;
_root.p_dmg = 0;
_root.equip_wep = [9, 1, 0];
_root.getwep_now = [8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.equip_armor = 1;
_root.getarmor_now = [8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9];
_root.total_destroy = 0;
}
function p_initialize2() {
_root.p_mov_x = 0;
_root.p_mov_y = 0;
_root.p_pos_x = 100;
_root.p_pos_y = 0;
_root.sight_pos = 0;
_root.dash_defense = 0;
_root.p_dmg_flg = 0;
_root.p_shot_num = 0;
_root.p_efct_num = 0;
_root.hit_mov_x = 0;
_root.hit_mov_y = 0;
_root.p_dmg = 0;
_root.boss_destroy_flg = 0;
}
function e_initialize() {
_root.e_efct_num = 0;
_root.e_shot_num = 0;
_root.e_msl = 0;
_root.e_num = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function game_initialize() {
_root.field_flg = 0;
_root.sky_flg = 0;
_root.ex_mission_flg = 0;
_root.ground_left = [0, 0, 0, 0, 0, 0];
_root.ground_right = [0, 0, 0, 0, 0, 0];
_root.ground_up = [0, 0, 0, 0, 0, 0];
_root.ground_down = [0, 0, 0, 0, 0, 0];
_root.e_hp_max = 0;
_root.e_hp = 0;
_root.get_points = 0;
_root.alert_flg = 0;
_root.time_bonus = 0;
_root.time_now = 0;
_root.score_now = 0;
_root.score = 0;
_root.max_combo = 0;
_root.destroy_num = 0;
_root.t_score = 0;
_root.life_bonus = 0;
_root.combo_cnt = 0;
_root.combo_time = 0;
_root.combo_limit = 120;
_root.key_l = 0;
_root.key_r = 0;
_root.key_u = 0;
_root.key_d = 0;
_root.anime_flg = 0;
_root.jump_flg = 0;
}
_root.efct_switch = 1;
_root.time = 0;
_root.time_limit = 0;
_root.tgt_destroy = 0;
game_flg = 0;
screen_flg = 0;
mission_num = 0;
_root.clear_flg_main = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
Frame 2
if (_root.saves.data.data_flg == 4) {
} else if (((_root.saves.data.data_flg == 1) || (_root.saves.data.data_flg == 2)) || (_root.saves.data.data_flg == 3)) {
_root.save_initialize1104();
} else {
_root.save_initialize();
}
_root.p_initialize();
_root.e_initialize();
_root.game_initialize();
this.gotoAndStop(2);
stopAllSounds();
mu_bgm = new Sound(_root);
mu_bgm.attachSound("mu_title");
mu_bgm.start(0, 999);
mu_bgm.setVolume(50);
Instance of Symbol 572 MovieClip "p_sight" in Frame 2
onClipEvent (mouseDown) {
_root.shot_flg = 1;
}
onClipEvent (mouseUp) {
_root.shot_flg = 0;
}
Frame 3
stopAllSounds();
mu_bgm = new Sound(_root);
mu_bgm.attachSound("mu_menu");
mu_bgm.start(0, 999);
mu_bgm.setVolume(50);
this.gotoAndStop(3);
Frame 4
function logo_warning() {
this.attachMovie("logo_warning", "logo_warning2", 1000);
this.logo_warning2._x = 200;
this.logo_warning2._y = 120;
this.logo_warning2._xscale = 100;
this.logo_warning2._yscale = 100;
}
stopAllSounds();
mu_bgm = new Sound(_root);
mu_bgm.attachSound("mu_combat1");
mu_bgm.start(0, 999);
mu_bgm.setVolume(50);
this.gotoAndStop(4);
Symbol 20 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 20 MovieClip Frame 4
_root.root.e_efct_box.e_shot02(this.shot_x, this.shot_y, 500, 40, (this.shot_rot - 5) + random(10), 60, 30);
Symbol 25 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 34 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 34 MovieClip Frame 7
this.gotoAndPlay(5);
Symbol 34 MovieClip Frame 70
_root.e_num[_parent.num] = 0;
_root.boss_destroy_flg++;
_parent.removeMovieClip();
Symbol 35 MovieClip [e_boss03] Frame 1
this.gun_flg = 0;
this.msl_flg = 0;
this.atk_flg = 1;
this.time = 0;
this.lag = 50 + random(80);
this.time2 = 0;
this.lag2 = 60 + random(80);
this.time3 = 0;
this.lag3 = 20 + random(80);
this.time4 = 0;
Symbol 35 MovieClip [e_boss03] Frame 2
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
if (this.e_propela.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.hit_mov_y = 20;
_root.p_hp = _root.p_hp - ((50 - _root.a_defense_main) - _root.dash_defense);
if (this.mov_x < 0) {
_root.root.efct_box.efct_crash01(_root.p_pos_x, _root.p_pos_y - 50, -100, 100);
_root.hit_mov_x = -20;
_root.root.p_box.player.anime_flg = 9;
}
if (0 < this.mov_x) {
_root.root.efct_box.efct_crash01(_root.p_pos_x, _root.p_pos_y - 50, 100, 100);
_root.hit_mov_x = 20;
_root.root.p_box.player.anime_flg = 9;
}
_root.p_mov_x = _root.hit_mov_x;
_root.p_mov_y = _root.hit_mov_y;
}
}
if (0 >= this.hp) {
this.mov_x = this.mov_x / 2;
if (this._y < 500) {
this.mov_y = 3;
} else {
this.mov_y = 0;
this._y = 500;
}
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
if (this.e_main._currentframe == 1) {
this.e_main.gotoAndPlay(5);
_root.destroy_num++;
_root.display.combo_counter.combo(1200);
}
if (this.time4 < 120) {
this.gun_flg = 1;
this.time++;
if (this.time >= this.lag) {
_root.root.e_efct_box.e_bom01(this._x, this._y + 20, 45);
this.time = 0;
this.lag = 15;
}
this.efct_num++;
if (2 < this.efct_num) {
this.efct_num = 0;
new Color(this).setRGB(16777215);
_root.root.efct_box.efct_bom01((this._x + 150) - random(300), this._y - random(150), 100, 100);
}
this.time4++;
}
if (this.e_main._currentframe == 5) {
if (this.time4 >= 120) {
this.e_shadow._visible = 0;
this.e_main.gotoAndPlay(8);
}
}
} else {
if (this.atk_flg == 1) {
this.time3++;
if (this.time3 >= this.lag3) {
this.gun_flg = 1;
if (this.time3 >= (this.lag3 + 120)) {
this.gun_flg = 0;
this.time3 = 0;
this.lag3 = 30 + random(80);
}
}
if ((_root.p_pos_y - 150) < this._y) {
if (-20 < mov_y) {
mov_y = mov_y - (1 + random(2));
}
if (-10 < this.e_main._rotation) {
this.e_main._rotation--;
}
}
if ((_root.p_pos_y - 150) >= this._y) {
if (20 >= mov_y) {
mov_y = mov_y + (1 + random(2));
}
if (this.e_main._rotation < 10) {
this.e_main._rotation++;
}
}
if (_root.p_pos_x < this._x) {
this._xscale = 100;
}
if (_root.p_pos_x >= this._x) {
this._xscale = -100;
}
if (this._x >= (_root.p_pos_x + 500)) {
if (-30 < mov_x) {
mov_x = mov_x - 1;
}
} else if ((_root.p_pos_x - 500) >= this._x) {
if (mov_x < 30) {
mov_x = mov_x + 1;
}
}
if (((_root.p_pos_x - 700) < this._x) && (this._x < (_root.p_pos_x + 700))) {
if (mov_x < -5) {
mov_x = mov_x + 1;
}
if (5 < mov_x) {
mov_x = mov_x - 1;
}
this.time2++;
if (this.time2 >= this.lag2) {
_root.root.e_efct_box.e_bom01(this._x, this._y + 20, 45);
this.time2 = 0;
this.lag2 = 120 + random(80);
}
}
this.time++;
if (this.time >= this.lag) {
this.time = 0;
this.lag = 10 + random(20);
this.atk_flg = 2 + random(4);
}
}
if (this.atk_flg == 2) {
this.time++;
if (this.time >= this.lag) {
this.msl_flg = 1;
this.time = 0;
this.lag = 120 + random(80);
this.atk_flg = 2 + random(2);
} else {
this.msl_flg = 0;
}
this.gun_flg = 1;
if (150 < this._y) {
if (-20 < mov_y) {
mov_y = mov_y - (1 + random(2));
}
if (-10 < this.e_main._rotation) {
this.e_main._rotation--;
}
}
if (150 >= this._y) {
if (20 >= mov_y) {
mov_y = mov_y + (1 + random(2));
}
if (this.e_main._rotation < 10) {
this.e_main._rotation++;
}
}
if (this._x < (_root.p_pos_x + 1000)) {
this._xscale = -100;
if (mov_x < 30) {
mov_x = mov_x + 1;
}
if (-20 < this.e_main._rotation) {
this.e_main._rotation--;
}
} else if (this._x >= (_root.p_pos_x + 1000)) {
this.time = 0;
this.lag = 60 + random(80);
atksel = random(3);
if (atksel == 0) {
this.atk_flg = 1;
}
if (atksel == 1) {
this.atk_flg = 3;
}
if (atksel == 2) {
this.atk_flg = 5;
}
this.gun_flg = 0;
}
}
if (this.atk_flg == 3) {
this.time++;
if (this.time >= this.lag) {
this.msl_flg = 1;
this.time = 0;
this.lag = 120 + random(80);
this.atk_flg = 2 + random(2);
} else {
this.msl_flg = 0;
}
this.gun_flg = 1;
if (150 < this._y) {
if (-20 < mov_y) {
mov_y = mov_y - (1 + random(2));
}
if (-10 < this.e_main._rotation) {
this.e_main._rotation--;
}
}
if (150 >= this._y) {
if (20 >= mov_y) {
mov_y = mov_y + (1 + random(2));
}
if (this.e_main._rotation < 10) {
this.e_main._rotation++;
}
}
if ((_root.p_pos_x - 1000) < this._x) {
this._xscale = 100;
if (-30 < mov_x) {
mov_x = mov_x - 1;
}
if (-20 < this.e_main._rotation) {
this.e_main._rotation--;
}
} else if ((_root.p_pos_x - 1000) >= this._x) {
this.time = 0;
this.lag = 60 + random(80);
atksel = random(3);
if (atksel == 0) {
this.atk_flg = 1;
}
if (atksel == 1) {
this.atk_flg = 2;
}
if (atksel == 2) {
this.atk_flg = 4;
}
this.gun_flg = 0;
}
}
if (this.atk_flg == 4) {
this.time++;
if (this.time >= this.lag) {
_root.root.e_efct_box.e_bom01(this._x, this._y + 20, 60);
this.time = 0;
this.lag = 10;
}
if (0 < this._y) {
if (-20 < mov_y) {
mov_y = mov_y - (1 + random(2));
}
if (-10 < this.e_main._rotation) {
this.e_main._rotation--;
}
}
if (0 >= this._y) {
if (20 >= mov_y) {
mov_y = mov_y + (1 + random(2));
}
if (this.e_main._rotation < 10) {
this.e_main._rotation++;
}
}
if (this._x < (_root.p_pos_x + 1000)) {
this._xscale = -100;
if (mov_x < 30) {
mov_x = mov_x + 1;
}
if (-20 < this.e_main._rotation) {
this.e_main._rotation--;
}
} else if (this._x >= (_root.p_pos_x + 1000)) {
this.time = 0;
this.lag = 60 + random(80);
atksel = random(3);
if (atksel == 0) {
this.atk_flg = 1;
}
if (atksel == 1) {
this.atk_flg = 3;
}
if (atksel == 2) {
this.atk_flg = 5;
}
this.gun_flg = 0;
}
}
if (this.atk_flg == 5) {
this.time++;
if (this.time >= this.lag) {
_root.root.e_efct_box.e_bom01(this._x, this._y + 20, 60);
this.time = 0;
this.lag = 10;
}
if (0 < this._y) {
if (-20 < mov_y) {
mov_y = mov_y - (1 + random(2));
}
if (-10 < this.e_main._rotation) {
this.e_main._rotation--;
}
}
if (0 >= this._y) {
if (20 >= mov_y) {
mov_y = mov_y + (1 + random(2));
}
if (this.e_main._rotation < 10) {
this.e_main._rotation++;
}
}
if ((_root.p_pos_x - 1000) < this._x) {
this._xscale = 100;
if (-30 < mov_x) {
mov_x = mov_x - 1;
}
if (-20 < this.e_main._rotation) {
this.e_main._rotation--;
}
} else if ((_root.p_pos_x - 1000) >= this._x) {
this.time = 0;
this.lag = 60 + random(80);
atksel = random(3);
if (atksel == 0) {
this.atk_flg = 1;
}
if (atksel == 1) {
this.atk_flg = 2;
}
if (atksel == 2) {
this.atk_flg = 4;
}
this.gun_flg = 0;
}
}
}
if (this.gun_flg == 1) {
this.lock_x = _root.p_pos_x;
this.lock_y = _root.p_pos_y - 20;
if (0 < this._xscale) {
this.can_rot = ((-Math.atan2((this.lock_x - this._x) + this.e_main.e_gun._x, this.lock_y - (this._y - 190))) / (Math.PI/180)) - 90;
this.e_main.e_gun.shot_rot = this.e_main.e_gun._rotation + 180;
this.e_main.e_gun.shot_x = this._x + this.e_main.e_gun._x;
this.e_main.e_gun.shot_y = this._y + (this.e_main.e_gun._y * Math.sin(this.e_main._rotation));
}
if (this._xscale < 0) {
this.can_rot = (Math.atan2((this.lock_x - this._x) - this.e_main.e_gun._x, this.lock_y - (this._y - 190)) / (Math.PI/180)) - 90;
this.e_main.e_gun.shot_rot = -this.e_main.e_gun._rotation;
this.e_main.e_gun.shot_x = this._x - this.e_main.e_gun._x;
this.e_main.e_gun.shot_y = this._y + (this.e_main.e_gun._y * Math.sin(this.e_main._rotation));
}
if (30 < this.can_rot) {
this.can_rot = 40;
}
if (this.can_rot < -40) {
this.can_rot = -60;
}
if (this.e_main.e_gun._currentframe == 1) {
this.e_main.e_gun.gotoAndPlay(3);
}
} else {
this.can_rot = 0;
}
if (this.msl_flg == 1) {
this.shot_x2 = this._x;
if (this.e_main.e_mslpod._currentframe == 1) {
this.e_main.e_mslpod.gotoAndPlay(3);
}
}
if ((this.e_main.e_mslpod._currentframe == 5) || (this.e_main.e_mslpod._currentframe == 12)) {
i = 0;
while (i < 1) {
_root.root.e_efct_box.e_msl01(this.shot_x2, this._y - 20, -180 + random(360), 5, 40);
i++;
}
}
if (this.can_rot < this.e_main.e_gun._rotation) {
this.e_main.e_gun._rotation = this.e_main.e_gun._rotation - 3;
}
if (this.e_main.e_gun._rotation < this.can_rot) {
this.e_main.e_gun._rotation = this.e_main.e_gun._rotation + 3;
}
this.e_main.e_gun._x = this.e_main.wep_pos1._x;
this.e_main.e_gun._y = this.e_main.wep_pos1._y;
this.e_main.e_mslpod._x = this.e_main.wep_pos2._x;
this.e_main.e_mslpod._y = this.e_main.wep_pos2._y;
this._x = this._x + mov_x;
this._y = this._y + mov_y;
if (((_root.ground_left[2] + 150) < this._x) && (this._x < (_root.ground_right[2] - 150))) {
this.gnd_flg = 2;
} else {
this.gnd_flg = 1;
}
if (this.gnd_flg == 2) {
this.e_shadow._y = _root.ground_up[2] - this._y;
} else {
this.e_shadow._y = _root.root.bg_box.ground._y - this._y;
}
Symbol 35 MovieClip [e_boss03] Frame 3
this.gotoAndPlay(2);
Symbol 40 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 40 MovieClip Frame 4
_root.root.e_efct_box.e_mine01(this.shot_x, this.shot_y, 5 - random(10), -random(5), 60 + random(30), 20);
Symbol 40 MovieClip Frame 75
_parent_parent.lag = 20 + random(20);
_parent_parent.atk_flg = 0;
_parent_parent.time = 0;
_parent_parent.anime_flg = random(5);
Symbol 47 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 47 MovieClip Frame 30
this.gotoAndPlay(10);
Symbol 47 MovieClip Frame 60
this.gotoAndPlay(40);
Symbol 47 MovieClip Frame 71
this.gotoAndPlay(70);
Symbol 47 MovieClip Frame 76
this.gotoAndPlay(75);
Symbol 47 MovieClip Frame 86
this.gotoAndPlay(1);
Symbol 47 MovieClip Frame 135
_root.e_num[_parent.num] = 0;
_parent.removeMovieClip();
Symbol 50 MovieClip Frame 5
this.gotoAndPlay(1);
Symbol 51 MovieClip [e_walker01] Frame 1
this.tgt_rot = 0;
this.atk_flg = 0;
this.anime_flg = 0;
this.jump_flg = 1;
this.time = 0;
this.lag = 60 + random(60);
this.time2 = 0;
this.lag2 = 30 + random(60);
this.efct_cnt = -1;
this.end_flg = 0;
this.c = 0;
Symbol 51 MovieClip [e_walker01] Frame 2
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
this.smoke._visible = 0;
if (0 >= this.hp) {
this.smoke._visible = 0;
if (89 >= this.e_main._currentframe) {
_root.destroy_num++;
_root.display.combo_counter.combo(17);
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
this.time = 0;
this.e_main.gotoAndPlay(90);
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((-1 < this.mov_x) && (this.mov_x < 1)) {
this.mov_x = 0;
}
this.time++;
if ((90 < this.e_main._currentframe) && (this.time < 135)) {
if ((120 < this.e_main._currentframe) && (this.time < 135)) {
this.e_shadow._visible = 0;
if (this.e_main.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.p_dmg = 15;
new Color(_root.root.p_box.player).setRGB(16777215);
}
}
}
if (_root.efct_switch == 1) {
this.efct_num++;
if (5 < this.efct_num) {
this.efct_num = 0;
new Color(this).setRGB(16777215);
this.bom_size = random30 + 60;
_root.root.efct_box.efct_bom01((this._x + 50) - random(100), this._y - random(100), this.bom_size, this.bom_size);
}
}
} else if (235 < this.e_main._currentframe) {
this.e_shadow._alpha = 0;
}
this.atk_flg = 0;
} else {
if (this.atk_flg == 0) {
this.tgt_rot = 0;
this.time++;
if (this.lag < this.time) {
this.lag = 20 + random(60);
this.atk_flg = 1;
this.time = 0;
}
}
if (this.jump_flg == 0) {
if (this.anime_flg == 0) {
if (((_root.p_pos_x - 200) < this._x) && (this._x < (_root.p_pos_x + 200))) {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = random(7);
this.time2 = 0;
}
}
if (((_root.p_pos_x + 200) < this._x) && (this._x < (_root.p_pos_x + 500))) {
this.anime_flg = 1;
}
if ((this._x < (_root.p_pos_x - 200)) && ((_root.p_pos_x - 500) < this._x)) {
this.anime_flg = 2;
}
if (this._x >= (_root.p_pos_x + 1000)) {
this.anime_flg = 1;
}
if ((_root.p_pos_x - 1000) >= this._x) {
this.anime_flg = 2;
}
}
if ((this.anime_flg == 1) || (this.anime_flg == 2)) {
if (this._x >= (_root.p_pos_x + 1000)) {
this.anime_flg = 1;
}
if ((_root.p_pos_x - 1000) >= this._x) {
this.anime_flg = 2;
} else {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = random(5);
this.time2 = 0;
}
}
}
} else {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = 2 + random(2);
this.time2 = 0;
}
}
if (this.atk_flg == 1) {
this.lock_x = _root.p_pos_x;
this.lock_y = _root.p_pos_y - 20;
if (0 < this._xscale) {
this.tgt_rot = ((-Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 120))) / (Math.PI/180)) - 90;
}
if (this._xscale < 0) {
this.tgt_rot = (Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 120)) / (Math.PI/180)) - 90;
}
if (60 < this.tgt_rot) {
this.tgt_rot = 60;
}
if (this.tgt_rot < -60) {
this.tgt_rot = -60;
}
if (((_root.p_pos_x - 1500) < this._x) && (this._x < (_root.p_pos_x + 1500))) {
if (this.e_main.weparm1.weparm_main._currentframe == 1) {
this.e_main.weparm1.weparm_main.gotoAndPlay(3);
}
if (this.e_main.weparm2.weparm_main._currentframe == 1) {
this.e_main.weparm2.weparm_main.gotoAndPlay(3);
}
if (0 < this._xscale) {
this.e_main.weparm1.weparm_main.shot_rot = this.e_main.weparm1._rotation + 180;
this.e_main.weparm2.weparm_main.shot_rot = this.e_main.weparm2._rotation + 180;
this.e_main.weparm1.weparm_main.shot_x = this._x;
this.e_main.weparm1.weparm_main.shot_y = (this._y + this.e_main.arm1_pos._y) + 10;
this.e_main.weparm2.weparm_main.shot_x = this._x;
this.e_main.weparm2.weparm_main.shot_y = (this._y + this.e_main.arm2_pos._y) + 10;
}
if (this._xscale < 0) {
this.e_main.weparm1.weparm_main.shot_rot = -this.e_main.weparm1._rotation;
this.e_main.weparm2.weparm_main.shot_rot = -this.e_main.weparm2._rotation;
this.e_main.weparm1.weparm_main.shot_x = this._x;
this.e_main.weparm1.weparm_main.shot_y = (this._y + this.e_main.arm1_pos._y) + 10;
this.e_main.weparm2.weparm_main.shot_x = this._x;
this.e_main.weparm2.weparm_main.shot_y = (this._y + this.e_main.arm2_pos._y) + 10;
}
}
this.time++;
if (this.lag < this.time) {
this.lag = 20 + random(20);
this.atk_flg = 0;
this.time = 0;
this.anime_flg = random(5);
}
}
if (this.e_main._currentframe == 1) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
}
if (this._x < _root.p_pos_x) {
this._xscale = -100;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
if (this.anime_flg == 4) {
this.e_main.gotoAndPlay(73);
}
if (this.anime_flg == 3) {
this.e_main.gotoAndPlay(67);
}
if (this.anime_flg == 2) {
this._xscale = -100;
this.e_main.gotoAndPlay(5);
}
if (this.anime_flg == 1) {
this._xscale = 100;
this.e_main.gotoAndPlay(5);
}
}
if ((5 < this.e_main._currentframe) && (65 >= this.e_main._currentframe)) {
if ((5 < this.e_main._currentframe) && (30 >= this.e_main._currentframe)) {
if (this.anime_flg == 4) {
this.e_main.gotoAndPlay(166);
}
if (this.anime_flg == 3) {
this.e_main.gotoAndPlay(152);
}
if (this.anime_flg == 2) {
if (6 >= this.mov_x) {
this.mov_x++;
}
if (6 < this.mov_x) {
this.mov_x--;
}
if (this.atk_flg == 1) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
this.e_main.gotoAndPlay(35);
}
}
if (this.atk_flg == 0) {
this._xscale = -100;
}
}
if (this.anime_flg == 1) {
if (this.mov_x >= -6) {
this.mov_x--;
}
if (this.mov_x < -6) {
this.mov_x++;
}
if (this.atk_flg == 1) {
if (this._x < _root.p_pos_x) {
this._xscale = -100;
this.e_main.gotoAndPlay(35);
}
}
if (this.atk_flg == 0) {
this._xscale = 100;
}
}
if (this.anime_flg == 0) {
this.e_main.gotoAndPlay(1);
}
}
if ((35 < this.e_main._currentframe) && (65 >= this.e_main._currentframe)) {
if (this.anime_flg == 4) {
this.e_main.gotoAndPlay(166);
}
if (this.anime_flg == 3) {
this.e_main.gotoAndPlay(152);
}
if (this.anime_flg == 2) {
if (6 >= this.mov_x) {
this.mov_x++;
}
if (6 < this.mov_x) {
this.mov_x--;
}
if (this.atk_flg == 0) {
this._xscale = -100;
this.e_main.gotoAndPlay(5);
}
}
if (this.anime_flg == 1) {
if (this.mov_x >= -6) {
this.mov_x--;
}
if (this.mov_x < -6) {
this.mov_x++;
}
if (this.atk_flg == 0) {
this._xscale = 100;
this.e_main.gotoAndPlay(5);
}
}
if (this.anime_flg == 0) {
this.e_main.gotoAndPlay(1);
}
}
}
if (this.e_main._currentframe == 68) {
this.mov_y = -5 - random(15);
}
if ((65 < this.e_main._currentframe) && (85 >= this.e_main._currentframe)) {
if (this.e_main._currentframe == 70) {
if (this.mov_y >= 0) {
this.e_main.gotoAndPlay(72);
}
}
if (this.e_main._currentframe == 75) {
if (this.jump_flg == 0) {
this.anime_flg = 0;
this.e_main.gotoAndPlay(77);
}
}
}
if ((77 < this.e_main._currentframe) && (85 >= this.e_main._currentframe)) {
if (this.jump_flg == 0) {
this.smoke._visible = 1;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
} else {
this.efct_cnt = -1;
}
if (this.tgt_rot < this.e_main.weparm1._rotation) {
this.e_main.weparm1._rotation = this.e_main.weparm1._rotation - 2;
}
if (this.e_main.weparm1._rotation < this.tgt_rot) {
this.e_main.weparm1._rotation = this.e_main.weparm1._rotation + 2;
}
if (this.tgt_rot < this.e_main.weparm2._rotation) {
this.e_main.weparm2._rotation = this.e_main.weparm2._rotation - 2;
}
if (this.e_main.weparm2._rotation < this.tgt_rot) {
this.e_main.weparm2._rotation = this.e_main.weparm2._rotation + 2;
}
}
if (this.gnd_hit.hitTest(_root.root.bg_box.ground.ground_hit) && (this.mov_y >= 0)) {
this.jump_flg = 0;
this.mov_y = 0;
this._y = _root.root.bg_box.ground._y;
} else {
this.jump_flg = 1;
}
if (this.jump_flg == 1) {
if (this.mov_y >= 0) {
this.anime_flg = 4;
}
if (this.mov_y < 30) {
this.mov_y++;
}
}
this.e_main.weparm1._x = this.e_main.arm1_pos._x;
this.e_main.weparm1._y = this.e_main.arm1_pos._y;
this.e_main.weparm2._x = this.e_main.arm2_pos._x;
this.e_main.weparm2._y = this.e_main.arm2_pos._y;
this.e_main.weparm1.gotoAndStop(this.type1);
this.e_main.weparm2.gotoAndStop(this.type2);
this._x = this._x + this.mov_x;
this._y = this._y + this.mov_y;
this.e_shadow._y = _root.root.bg_box.ground._y - this._y;
Symbol 51 MovieClip [e_walker01] Frame 3
this.gotoAndPlay(2);
Symbol 77 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 77 MovieClip Frame 3
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_mg(shot_pos_x, shot_pos_y, _parent._rotation + 180, 50, 1);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_mg(shot_pos_x, shot_pos_y, -_parent._rotation, 50, 1);
}
_root.shot_cnt = 1;
Symbol 80 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 80 MovieClip Frame 2
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
if (_root.now_ammo_num == 1) {
_root.root.p_box.p_shot_sr(shot_pos_x, shot_pos_y, ((_parent._rotation + 180) - 5) + random(10), 80, 15);
} else {
_root.root.p_box.p_shot_sr(shot_pos_x, shot_pos_y, (_parent._rotation + 180) + random(10), 80, 2);
}
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
if (_root.now_ammo_num == 1) {
_root.root.p_box.p_shot_sr(shot_pos_x, shot_pos_y, (-_parent._rotation) + random(10), 80, 15);
} else {
_root.root.p_box.p_shot_sr(shot_pos_x, shot_pos_y, (-_parent._rotation) + random(10), 80, 2);
}
}
_root.shot_cnt = 1;
Symbol 84 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 84 MovieClip Frame 3
i = 0;
while (4 >= i) {
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) + 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_sg(shot_pos_x, shot_pos_y, _parent._rotation + 180, 40 + random(25), 1);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_sg(shot_pos_x, shot_pos_y, -_parent._rotation, 40 + random(25), 1);
}
i++;
}
_root.shot_cnt = 1;
Symbol 88 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 88 MovieClip Frame 3
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_sr(shot_pos_x, shot_pos_y, _parent._rotation + 180, 100, 10);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_sr(shot_pos_x, shot_pos_y, -_parent._rotation, 100, 10);
}
_root.shot_cnt = 1;
Symbol 93 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 93 MovieClip Frame 3
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
shot_pos_x = _root.root.p_box.player._x;
_root.root.p_box.p_shot_msl01(shot_pos_x, shot_pos_y, 5);
_root.shot_cnt = 1;
Symbol 96 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 96 MovieClip Frame 3
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_gr(shot_pos_x, shot_pos_y, _parent._rotation + 180, 25, 1);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_gr(shot_pos_x, shot_pos_y, -_parent._rotation, 25, 1);
}
_root.shot_cnt = 1;
Symbol 100 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 100 MovieClip Frame 3
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) + 10;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_pb01(shot_pos_x, shot_pos_y, _parent._rotation + 180, 2);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_pb01(shot_pos_x, shot_pos_y, -_parent._rotation, 2);
}
_root.shot_cnt = 1;
Symbol 103 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 103 MovieClip Frame 3
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_bz(shot_pos_x, shot_pos_y, _parent._rotation + 180, 50, 10);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_bz(shot_pos_x, shot_pos_y, -_parent._rotation, 50, 10);
}
_root.shot_cnt = 1;
Symbol 111 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 111 MovieClip Frame 3
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_pr(shot_pos_x, shot_pos_y, _parent._rotation + 180, 4);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_pr(shot_pos_x, shot_pos_y, -_parent._rotation, 4);
}
_root.shot_cnt = 1;
Symbol 120 MovieClip Frame 1
this.chage = 10;
this.gotoAndStop(1);
Symbol 120 MovieClip Frame 4
if (_root.shot_flg == 1) {
this.efct_charge._alpha = 100;
this.efct_charge._xscale = (this.efct_charge._yscale = this.chage);
if (120 >= this.chage) {
this.chage = this.chage + 2;
}
this.gotoAndPlay(3);
if (this.chage >= 120) {
this.gotoAndPlay(15);
}
} else {
this.gotoAndPlay(5);
}
Symbol 120 MovieClip Frame 5
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_rg(shot_pos_x, shot_pos_y, this.chage * 5, this.chage / 5, _parent._rotation + 180, 50, this.chage / 10);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_rg(shot_pos_x, shot_pos_y, this.chage * 5, this.chage / 5, -_parent._rotation, 50, this.chage / 10);
}
_root.shot_cnt = 1;
Symbol 120 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 120 MovieClip Frame 26
if (_root.shot_flg == 1) {
this.efct_charge._alpha = 100;
this.efct_charge._xscale = (this.efct_charge._yscale = this.chage);
this.gotoAndPlay(25);
} else {
this.gotoAndPlay(27);
}
Symbol 120 MovieClip Frame 27
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 5;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_rg(shot_pos_x, shot_pos_y, this.chage * 5, this.chage / 5, _parent._rotation + 180, 80, this.chage / 3);
_root.p_mov_x = _root.p_mov_x + ((Math.cos(_parent._rotation * (Math.PI/180)) * this.chage) / 3);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_rg(shot_pos_x, shot_pos_y, this.chage * 5, this.chage / 5, -_parent._rotation, 80, this.chage / 3);
_root.p_mov_x = _root.p_mov_x + (((-Math.cos(_parent._rotation * (Math.PI/180))) * this.chage) / 3);
}
_root.shot_cnt = 1;
Symbol 120 MovieClip Frame 60
this.gotoAndStop(1);
Symbol 126 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 126 MovieClip Frame 5
this.atk = 50;
if (_root.p_bp >= this.atk) {
_root.p_bp = _root.p_bp - this.atk;
} else if (_root.p_bp < this.atk) {
this.atk = _root.p_bp;
_root.p_bp = 0;
}
shot_pos_y = (_root.root.p_box.player._y + (_parent._parent.wep_arm_pos._y * 0.55)) - 7;
if (0 < _root.root.p_box.player._xscale) {
shot_pos_x = _root.root.p_box.player._x + (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_br(shot_pos_x, shot_pos_y, _parent._rotation + 180, 50, this.atk / 10);
}
if (_root.root.p_box.player._xscale < 0) {
shot_pos_x = _root.root.p_box.player._x - (_parent._parent.wep_arm_pos._x / 2);
_root.root.p_box.p_shot_br(shot_pos_x, shot_pos_y, -_parent._rotation, 50, this.atk / 10);
}
_root.shot_cnt = 1;
Symbol 126 MovieClip Frame 11
if (_root.shot_flg == 1) {
this.gotoAndPlay(10);
}
Symbol 129 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 136 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 136 MovieClip Frame 13
i = 0;
while (20 >= i) {
if (this.bld_saw.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if ((_root.e_hp = 0 < _root.root.e_box["enemy" + i].hp)) {
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - 3;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
efct_pos_x = (_root.root.e_box["enemy" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = ((_root.root.e_box["enemy" + i]._y + _root.root.e_box["enemy" + i].e_core._y) + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
}
}
if (this.bld_saw.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
i++;
}
Symbol 136 MovieClip Frame 14
i = 0;
while (20 >= i) {
if (this.bld_saw.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if ((_root.e_hp = 0 < _root.root.e_box["enemy" + i].hp)) {
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - 3;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
efct_pos_x = (_root.root.e_box["enemy" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = ((_root.root.e_box["enemy" + i]._y + _root.root.e_box["enemy" + i].e_core._y) + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
}
}
if (this.bld_saw.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
i++;
}
Symbol 136 MovieClip Frame 15
if ((_root.shot_flg == 1) && (_root.shot_able == 1)) {
if (_root.p_dmg_flg != 1) {
_root.shot_cnt = 1;
this.gotoAndPlay(13);
}
} else {
this.gotoAndPlay(16);
}
Symbol 188 MovieClip Frame 60
this.gotoAndPlay(1);
Symbol 188 MovieClip Frame 90
this.gotoAndPlay(70);
Symbol 188 MovieClip Frame 120
this.gotoAndPlay(100);
Symbol 188 MovieClip Frame 136
this.gotoAndPlay(135);
Symbol 188 MovieClip Frame 155
this.gotoAndPlay(1);
Symbol 188 MovieClip Frame 166
this.gotoAndPlay(165);
Symbol 188 MovieClip Frame 185
this.gotoAndPlay(1);
Symbol 188 MovieClip Frame 196
this.gotoAndPlay(195);
Symbol 188 MovieClip Frame 201
this.gotoAndPlay(200);
Symbol 188 MovieClip Frame 215
this.gotoAndPlay(1);
Symbol 188 MovieClip Frame 226
this.gotoAndPlay(225);
Symbol 188 MovieClip Frame 231
this.gotoAndPlay(230);
Symbol 188 MovieClip Frame 236
this.gotoAndPlay(225);
Symbol 188 MovieClip Frame 241
this.gotoAndPlay(240);
Symbol 188 MovieClip Frame 246
this.gotoAndPlay(225);
Symbol 188 MovieClip Frame 251
this.gotoAndPlay(250);
Symbol 188 MovieClip Frame 256
this.gotoAndPlay(255);
Symbol 188 MovieClip Frame 266
this.gotoAndPlay(265);
Symbol 188 MovieClip Frame 280
this.gotoAndPlay(1);
_parent.anime_flg = 0;
Symbol 189 MovieClip [player03] Frame 1
this.anime_flg = 6;
this.jump_flg = 1;
this.dash_cnt = 0;
this.tlg = 0;
this.efct = 0;
this.jump_pw = 0;
Symbol 189 MovieClip [player03] Frame 2
if (((_root.p_dmg_flg == 0) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if (_root.p_sight._x < ((this._x + _root.root._x) - 200)) {
this._xscale = 100;
_root.sight_pos = 0;
} else if (_root.p_sight._x >= ((this._x + _root.root._x) - 200)) {
this._xscale = -100;
_root.sight_pos = 1;
}
} else if ((this.anime_flg != 10) && (this.anime_flg != 11)) {
if (0 < _root.p_mov_x) {
this._xscale = 100;
}
if (_root.p_mov_x < 0) {
this._xscale = -100;
}
}
if (0 < this.dash_cnt) {
this.dash_cnt--;
} else if (this.dash_cnt < 0) {
this.dash_cnt++;
}
if ((((this.anime_flg != 9) && (this.anime_flg != 95)) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if (_root.key_l == 1) {
if (this.tlg == 0) {
if (0 < this.dash_cnt) {
this.anime_flg = 3;
this.tlg = 1;
}
if (0 >= this.dash_cnt) {
this.dash_cnt = 10;
this.tlg = 1;
}
} else if (this.anime_flg != 3) {
if (this.jump_flg == 0) {
this.anime_flg = 1;
} else if (this.jump_flg == 1) {
if (this.anime_flg == 7) {
this.anime_flg = 76;
} else if (((this.anime_flg != 7) && (this.anime_flg != 76)) && (this.anime_flg != 77)) {
this.anime_flg = 6;
}
}
}
if (this.jump_flg == 1) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x / 1.5;
}
}
if ((this.anime_flg == 4) || (this.anime_flg == 2)) {
this.anime_flg = 0;
}
}
if (_root.key_r == 1) {
if (this.tlg == 0) {
if (this.dash_cnt < 0) {
this.anime_flg = 4;
this.tlg = 1;
}
if (this.dash_cnt >= 0) {
this.dash_cnt = -10;
this.tlg = 1;
}
} else if (this.anime_flg != 4) {
if (this.jump_flg == 0) {
this.anime_flg = 2;
} else if (this.jump_flg == 1) {
if (this.anime_flg == 7) {
this.anime_flg = 77;
} else if (((this.anime_flg != 7) && (this.anime_flg != 76)) && (this.anime_flg != 77)) {
this.anime_flg = 6;
}
}
}
if (this.jump_flg == 1) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = _root.p_mov_x / 1.5;
}
}
if ((this.anime_flg == 3) || (this.anime_flg == 1)) {
this.anime_flg = 0;
}
}
if (((_root.key_l == 0) && (_root.key_r == 0)) || ((_root.key_l == 1) && (_root.key_r == 1))) {
this.tlg = 0;
if (this.jump_flg == 0) {
this.anime_flg = 0;
}
if (this.jump_flg == 1) {
_root.p_mov_x = _root.p_mov_x / 1.1;
if (((0 < _root.p_mov_y) && (this.anime_flg != 6)) && (this.anime_flg != 65)) {
this.anime_flg = 6;
}
}
}
if (_root.key_d == 1) {
if (this.jump_flg == 1) {
if (_root.p_mov_y < 10) {
_root.p_mov_y = 30;
}
}
}
}
if (_root.key_u == 1) {
if (this.jump_tlg == 0) {
if ((this.jump_flg == 0) || (this.anime_flg == 95)) {
if ((_root.p_pw * 3) < _root.p_bp) {
this.jump_pw = _root.b_pw_main * 2;
_root.p_pw = 0;
this.anime_flg = 5;
} else if (_root.p_bp < (_root.p_pw * 3)) {
this.jump_pw = 0;
_root.p_pw = 0;
}
}
this.jump_tlg = 1;
} else if (this.jump_flg == 1) {
if (this.jump_tlg == 1) {
if (((this.anime_flg != 7) && (this.anime_flg != 76)) && (this.anime_flg != 77)) {
if ((this.anime_flg == 6) || (this.anime_flg == 65)) {
this.anime_flg = 7;
}
}
}
if (((_root.key_l == 0) && (_root.key_r == 0)) || ((_root.key_l == 1) && (_root.key_r == 1))) {
if ((this.anime_flg == 76) || (this.anime_flg == 77)) {
this.anime_flg = 7;
}
}
}
}
if (_root.key_u == 0) {
if ((((this.anime_flg == 7) || (this.anime_flg == 75)) || (this.anime_flg == 76)) || (this.anime_flg == 77)) {
this.anime_flg = 6;
}
this.jump_tlg = 0;
}
if ((this.p_main._currentframe >= 1) && (60 >= this.p_main._currentframe)) {
if (this.anime_flg == 1) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(65);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(95);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(160);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(160);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(190);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 7) {
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(250);
}
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
if ((this.p_main._currentframe >= 65) && (90 >= this.p_main._currentframe)) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 1) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(160);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(160);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(190);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (((this.anime_flg == 7) || (this.anime_flg == 76)) || (this.anime_flg == 77)) {
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(250);
}
if (this.anime_flg == 1) {
if ((-_root.a_move_main) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < (-_root.a_move_main)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 2) {
if (_root.p_mov_x < _root.a_move_main) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if (_root.a_move_main < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
}
if ((this.p_main._currentframe >= 95) && (120 >= this.p_main._currentframe)) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 1) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(160);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(160);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(190);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (((this.anime_flg == 7) || (this.anime_flg == 76)) || (this.anime_flg == 77)) {
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(250);
}
if (this.anime_flg == 1) {
if ((-_root.a_move_main) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 1;
}
if (_root.p_mov_x < (-_root.a_move_main)) {
_root.p_mov_x = _root.p_mov_x + 1;
}
}
if (this.anime_flg == 2) {
if (_root.p_mov_x < _root.a_move_main) {
_root.p_mov_x = _root.p_mov_x + 1;
}
if (_root.a_move_main < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 1;
}
}
}
if ((this.p_main._currentframe >= 125) && (175 >= this.p_main._currentframe)) {
this.jump_tlg = 0;
_root.dash_defense = 0;
this.p_main.p_boost._xscale = Math.abs(_root.p_mov_x * 2) + 20;
this.p_main.p_boost._yscale = Math.abs(_root.p_mov_x * 2) + 20;
_root.anime_flg = this.anime_flg;
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(190);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (((this.anime_flg == 7) || (this.anime_flg == 76)) || (this.anime_flg == 77)) {
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(250);
}
if (this.p_main._currentframe == 134) {
if (_root.efct_switch == 1) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y - 30, _root.b_pw_main / 2, _root.b_pw_main * 2, 0);
}
_root.p_bp = _root.p_bp - (_root.b_pw_main * 2);
if (this.anime_flg == 3) {
_root.p_mov_x = _root.p_mov_x - ((_root.b_pw_main / 5) * 4);
}
if (this.anime_flg == 4) {
_root.p_mov_x = _root.p_mov_x + ((_root.b_pw_main / 5) * 4);
}
}
if (this.p_main._currentframe == 135) {
_root.p_bp = _root.p_bp - ((_root.a_move_main + _root.b_pw_main) / 5);
if (0 >= _root.p_bp) {
if (this.jump_flg == 0) {
this.anime_flg = 0;
}
if (this.jump_flg == 1) {
this.anime_flg = 6;
}
}
if (1 < _root.p_mov_y) {
_root.p_mov_y = 1;
}
if ((this.anime_flg != 3) && (this.anime_flg != 4)) {
this.p_main.gotoAndPlay(142);
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 3) {
if (((-_root.a_move_main) * 2) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < ((-_root.a_move_main) * 2)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 4) {
if (_root.p_mov_x < (_root.a_move_main * 2)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if ((_root.a_move_main * 2) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
} else {
_root.p_mov_x = _root.p_mov_x / 1.1;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
if (this.p_main._currentframe == 164) {
if (_root.efct_switch == 1) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y - 30, _root.b_pw_main / 2, _root.b_pw_main * 2, 0);
}
_root.p_bp = _root.p_bp - (_root.b_pw_main * 3);
if (this.anime_flg == 3) {
_root.p_mov_x = _root.p_mov_x - ((_root.b_pw_main / 5) * 4);
}
if (this.anime_flg == 4) {
_root.p_mov_x = _root.p_mov_x + ((_root.b_pw_main / 5) * 4);
}
}
if (this.p_main._currentframe == 165) {
_root.p_bp = _root.p_bp - ((_root.a_move_main + _root.b_pw_main) / 5);
if (0 >= _root.p_bp) {
if (this.jump_flg == 0) {
this.anime_flg = 0;
}
if (this.jump_flg == 1) {
this.anime_flg = 6;
}
}
if (1 < _root.p_mov_y) {
_root.p_mov_y = 1;
}
if ((this.anime_flg != 3) && (this.anime_flg != 4)) {
this.p_main.gotoAndPlay(167);
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(135);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(135);
}
}
if (this.anime_flg == 3) {
if (((-_root.a_move_main) * 2) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < ((-_root.a_move_main) * 2)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 4) {
if (_root.p_mov_x < (_root.a_move_main * 2)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if ((_root.a_move_main * 2) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
} else {
_root.p_mov_x = _root.p_mov_x / 1.1;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
} else {
_root.dash_defense = 0;
}
if ((this.p_main._currentframe >= 185) && (215 >= this.p_main._currentframe)) {
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(160);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(160);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(190);
}
if (this.p_main._currentframe == 193) {
_root.p_bp = _root.p_bp - (this.jump_pw * 3);
if (0 >= _root.p_bp) {
_root.p_bp = 0;
}
_root.p_mov_y = (-this.jump_pw) / 4;
this.jump_pw = 0;
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(250);
}
if (this.p_main._currentframe == 195) {
if (_root.p_mov_y >= 0) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
}
if (this.p_main._currentframe == 200) {
if (((this.anime_flg == 7) || (this.anime_flg == 76)) || (this.anime_flg == 77)) {
this.p_main.gotoAndPlay(220);
}
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(202);
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(190);
}
}
if ((this.p_main._currentframe >= 202) && (215 >= this.p_main._currentframe)) {
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
}
if ((this.p_main._currentframe >= 220) && (245 >= this.p_main._currentframe)) {
_root.p_bp = _root.p_bp - ((_root.a_move_main + _root.b_pw_main) / 3);
if (0 >= _root.p_bp) {
this.jump_tlg = 2;
if (this.jump_flg == 0) {
this.anime_flg = 0;
}
if (this.jump_flg == 1) {
this.anime_flg = 6;
}
}
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(202);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(250);
}
if (this.anime_flg == 76) {
if ((-(_root.a_move_main * 2)) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < (-(_root.a_move_main * 2))) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 77) {
if (_root.p_mov_x < (_root.a_move_main * 2)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if ((_root.a_move_main * 2) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
if (((-_root.b_pw_main) / 5) < _root.p_mov_y) {
_root.p_mov_y = _root.p_mov_y - (_root.b_pw_main / 10);
}
if (this.p_main._currentframe == 225) {
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
if (this.anime_flg == 76) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(227);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(237);
}
}
if (this.anime_flg == 77) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(227);
}
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(237);
}
}
}
if (this.p_main._currentframe == 230) {
if (this.anime_flg == 7) {
this.p_main.gotoAndPlay(232);
}
if (this.anime_flg == 76) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(237);
}
}
if (this.anime_flg == 77) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(237);
}
}
}
if (this.p_main._currentframe == 240) {
if (this.anime_flg == 7) {
this.p_main.gotoAndPlay(242);
}
if (this.anime_flg == 76) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(227);
}
}
if (this.anime_flg == 77) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(227);
}
}
}
}
if ((this.p_main._currentframe >= 250) && (280 >= this.p_main._currentframe)) {
_root.p_dmg_flg = 1;
if (0 < _root.p_hp) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 5) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y, 50, 15, 0);
this.anime_flg = 55;
this.p_main.gotoAndPlay(190);
}
if (((this.anime_flg == 7) || (this.anime_flg == 76)) || (this.anime_flg == 77)) {
this.p_main.gotoAndPlay(220);
}
}
if (this.p_main._currentframe == 250) {
if (0 >= _root.p_hp) {
this.efct_num = 0;
bom_x = (((_root.root.p_box._x - _root.root.pos_box._x) + this._x) + 30) - random(60);
bom_y = (((_root.root.p_box._y - _root.root.pos_box._y) + this._y) + 30) - random(60);
_root.root.efct_box.efct_bom01(bom_x, bom_y, 100, 100);
}
if (_root.p_mov_y >= 0) {
this.p_main.gotoAndPlay(252);
}
}
if (this.p_main._currentframe == 255) {
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(257);
}
}
if (this.p_main._currentframe == 265) {
_root.p_mov_x = _root.p_mov_x / 1.1;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
if ((_root.p_mov_x == 0) && (0 < _root.p_hp)) {
this.p_main.gotoAndPlay(267);
}
}
if (this.p_main._currentframe >= 276) {
this.anime_flg = 0;
}
} else {
_root.p_dmg_flg = 0;
}
if (this.p_main._currentframe < 255) {
this.tgt_x = (this._x + _root.root._x) - 200;
this.tgt_y = (this._y + _root.root._y) - 150;
if (_root.sight_pos == 1) {
this.wep_arm_rot = (Math.atan2(_root.p_sight._x - this.tgt_x, _root.p_sight._y - this.tgt_y) / (Math.PI/180)) - 95;
this.p_head_rot = this.wep_arm_rot;
}
if (_root.sight_pos == 0) {
this.wep_arm_rot = ((-Math.atan2(_root.p_sight._x - this.tgt_x, _root.p_sight._y - this.tgt_y)) / (Math.PI/180)) - 95;
this.p_head_rot = this.wep_arm_rot;
}
if (40 < this.p_head_rot) {
this.p_head_rot = 40;
}
if (this.p_head_rot < -40) {
this.p_head_rot = -40;
}
if (_root.shop_wep[_root.p_weps] == 2) {
this.wep_arm_rot = 0;
}
} else {
this.p_head_rot = 0;
this.wep_arm_rot = 0;
}
this.p_main.p_wep_arm._rotation = this.wep_arm_rot;
this.p_main.p_head._rotation = this.p_head_rot;
this.p_main.p_wep_arm._x = this.p_main.wep_arm_pos._x;
this.p_main.p_wep_arm._y = this.p_main.wep_arm_pos._y;
this.p_main.p_head._x = this.p_main.head_pos._x;
this.p_main.p_head._y = this.p_main.head_pos._y;
if (_root.p_pos_x < 0) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 0;
}
if (5000 < _root.p_pos_x) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 5000;
}
if (_root.p_pos_y < -1000) {
_root.p_mov_y++;
if (_root.p_mov_y < 0) {
_root.p_mov_y = _root.p_mov_y / 2;
}
}
if (_root.efct_switch == 1) {
if (this.jump_flg == 0) {
if ((this.p_main._currentframe >= 125) && (134 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
if ((this.p_main._currentframe >= 150) && (159 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
if ((this.p_main._currentframe >= 141) && (150 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(20) + 50, random(20) + 50);
}
if ((this.p_main._currentframe >= 166) && (175 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(20) + 50, random(20) + 50);
}
if (((this.p_main._currentframe >= 125) && (175 >= this.p_main._currentframe)) && (5 < Math.abs(_root.p_mov_x))) {
this.efct++;
if (3 < this.efct) {
efct = 0;
_root.root.efct_box.efct_dash01(_root.p_pos_x, _root.p_pos_y, -(_root.p_mov_x * 4), Math.abs(_root.p_mov_x * 3));
}
}
}
if ((this.p_main._currentframe >= 180) && (220 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if (((this.p_main._currentframe >= 0) && (60 >= this.p_main._currentframe)) && (5 < Math.abs(_root.p_mov_x))) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if (((this.p_main._currentframe >= 291) && (315 >= this.p_main._currentframe)) && (_root.p_mov_x != 0)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
}
if ((((this.anime_flg != 9) && (this.anime_flg != 95)) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if ((_root.shot_flg == 1) && (_root.shot_able == 1)) {
if (_root.p_dmg_flg != 1) {
if (_root.shop_wep[_root.p_weps] == 2) {
this.anime_flg = 10;
}
if (_root.shop_weps[_root.p_weps] != 2) {
if (this.p_main.p_wep_arm.p_weparm._currentframe == 1) {
this.p_main.p_wep_arm.p_weparm.gotoAndPlay(2);
}
}
}
}
}
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (c < 2) {
this.c++;
} else if (c >= 2) {
this.c = 0;
new Color(this).setTransform(ColorTrans);
}
_root.p_pos_x = _root.p_pos_x + _root.p_mov_x;
_root.p_pos_y = _root.p_pos_y + _root.p_mov_y;
this.p_main.p_wep_arm.gotoAndStop(_root.p_weps);
this.p_main.p_wep_arm.p_weparm.weparm_h.gotoAndStop(3);
this.p_main.p_wep_arm.p_weparm.weparm_s.gotoAndStop(3);
_root.anime_flg = this.anime_flg;
_root.jump_flg = this.jump_flg;
_root.anime_cnt = this.p_main._currentframe;
this.p_hit_tall._y = _root.p_mov_y;
if (0 < this._xscale) {
this.p_hit_side._x = _root.p_mov_x;
}
if (this._xscale < 0) {
this.p_hit_side._x = -_root.p_mov_x;
}
Symbol 189 MovieClip [player03] Frame 3
if (_root.p_pos_x < 0) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 0;
}
if (5000 < _root.p_pos_x) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 5000;
}
this.gotoAndPlay(2);
Symbol 196 MovieClip Frame 1
gotoAndStop (1);
Symbol 196 MovieClip Frame 3
_root.root.e_efct_box.e_shot01(this.shot_x, this.shot_y, 200, 40, this.shot_rot, 30, 30);
Symbol 211 MovieClip Frame 1
gotoAndStop (1);
Symbol 211 MovieClip Frame 3
_root.root.e_efct_box.e_shot01(this.shot_x, this.shot_y, 200, 40, this.shot_rot, 30, 30);
Symbol 217 MovieClip Frame 60
gotoAndPlay (1);
Symbol 217 MovieClip Frame 85
this.gotoAndPlay(65);
Symbol 217 MovieClip Frame 110
this.gotoAndPlay(90);
Symbol 217 MovieClip Frame 120
this.gotoAndPlay(119);
Symbol 217 MovieClip Frame 130
gotoAndPlay (1);
Symbol 217 MovieClip Frame 140
this.gotoAndPlay(139);
Symbol 217 MovieClip Frame 150
gotoAndPlay (1);
Symbol 217 MovieClip Frame 158
this.gotoAndPlay(157);
Symbol 217 MovieClip Frame 165
this.gotoAndPlay(164);
Symbol 217 MovieClip Frame 180
_parent.anime_flg = random(3);
this.gotoAndPlay(1);
Symbol 217 MovieClip Frame 283
_root.e_num[_parent.num] = 0;
_root.boss_destroy_flg++;
_parent.removeMovieClip();
Symbol 218 MovieClip [e_boss02] Frame 1
this.tgt_rot = 0;
this.atk_flg = 0;
this.anime_flg = 3;
this.jump_flg = 1;
this.time = 0;
this.lag = 60 + random(60);
this.time2 = 0;
this.lag2 = 30 + random(60);
this.efct_cnt = -1;
this.efct_num = 0;
this.gnd_flg = 0;
Symbol 218 MovieClip [e_boss02] Frame 2
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
this.smoke._visible = 0;
if (0 >= this.hp) {
this.smoke._visible = 0;
if (180 >= this.e_main._currentframe) {
_root.destroy_num++;
_root.display.combo_counter.combo(1200);
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
this.time = 0;
this.e_main.gotoAndPlay(181);
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((-1 < this.mov_x) && (this.mov_x < 1)) {
this.mov_x = 0;
}
this.time++;
if ((220 < this.e_main._currentframe) && (this.time < 160)) {
this.efct_num++;
if (2 < this.efct_num) {
this.efct_num = 0;
new Color(this).setRGB(16777215);
_root.root.efct_box.efct_bom01((this._x + 150) - random(300), this._y - random(150), 100, 100);
}
this.e_main.gotoAndPlay(218);
} else if (235 < this.e_main._currentframe) {
this.e_shadow._alpha = 0;
}
this.atk_flg = 0;
} else {
if (this.atk_flg == 0) {
this.tgt_rot = 0;
this.time++;
if (this.lag < this.time) {
this.lag = 20 + random(60);
this.atk_flg = 1;
this.time = 0;
}
}
if (this.jump_flg == 0) {
if (this.anime_flg == 0) {
if (((_root.p_pos_x - 200) < this._x) && (this._x < (_root.p_pos_x + 200))) {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = random(7);
this.time2 = 0;
}
}
if (((_root.p_pos_x + 200) < this._x) && (this._x < (_root.p_pos_x + 500))) {
this.anime_flg = 1;
}
if (this._x >= (_root.p_pos_x + 500)) {
this.anime_flg = 5;
}
if ((this._x < (_root.p_pos_x - 200)) && ((_root.p_pos_x - 500) < this._x)) {
this.anime_flg = 2;
}
if ((_root.p_pos_x - 500) >= this._x) {
this.anime_flg = 6;
}
}
if ((this.anime_flg == 1) || (this.anime_flg == 2)) {
if (this._x >= (_root.p_pos_x + 500)) {
this.anime_flg = 5;
} else if ((_root.p_pos_x - 500) >= this._x) {
this.anime_flg = 6;
} else {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = random(7);
this.time2 = 0;
}
}
}
if ((this.anime_flg == 5) || (this.anime_flg == 6)) {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.time2 = 0;
this.anime_flg = random(7);
}
}
} else {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = 5 + random(2);
this.time2 = 0;
}
}
if (this.atk_flg == 1) {
this.lock_x = _root.p_pos_x;
this.lock_y = _root.p_pos_y - 20;
if (0 < this._xscale) {
this.tgt_rot = ((-Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 120))) / (Math.PI/180)) - 90;
}
if (this._xscale < 0) {
this.tgt_rot = (Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 120)) / (Math.PI/180)) - 90;
}
if (40 < this.tgt_rot) {
this.tgt_rot = 40;
}
if (this.tgt_rot < -40) {
this.tgt_rot = -40;
}
if (((_root.p_pos_x - 1500) < this._x) && (this._x < (_root.p_pos_x + 1500))) {
if (this.e_main.weparm1.weparm1_main._currentframe == 1) {
this.e_main.weparm1.weparm1_main.gotoAndPlay(3);
}
if (this.e_main.weparm1.weparm1_main._currentframe == 12) {
this.e_main.weparm2.weparm2_main.gotoAndPlay(3);
}
if (0 < this._xscale) {
this.e_main.weparm1.weparm1_main.shot_rot = this.e_main.weparm1._rotation + 180;
this.e_main.weparm2.weparm2_main.shot_rot = this.e_main.weparm2._rotation + 180;
this.e_main.weparm1.weparm1_main.shot_x = this._x - 60;
this.e_main.weparm1.weparm1_main.shot_y = (this._y + this.e_main.weparm1._y) + 80;
this.e_main.weparm2.weparm2_main.shot_x = this._x - 60;
this.e_main.weparm2.weparm2_main.shot_y = (this._y + this.e_main.weparm2._y) + 80;
}
if (this._xscale < 0) {
this.e_main.weparm1.weparm1_main.shot_rot = -this.e_main.weparm1._rotation;
this.e_main.weparm2.weparm2_main.shot_rot = -this.e_main.weparm2._rotation;
this.e_main.weparm1.weparm1_main.shot_x = this._x + 60;
this.e_main.weparm1.weparm1_main.shot_y = (this._y + this.e_main.weparm1._y) + 80;
this.e_main.weparm2.weparm2_main.shot_x = this._x + 60;
this.e_main.weparm2.weparm2_main.shot_y = (this._y + this.e_main.weparm2._y) + 80;
}
}
this.time++;
if (this.lag < this.time) {
i = 0;
while (i < 2) {
if (0 < this._xscale) {
_root.root.e_efct_box.e_msl01(this._x + 50, this._y - 150, -180 + random(360), 10, 30);
}
if (this._xscale < 0) {
_root.root.e_efct_box.e_msl01(this._x - 50, this._y - 150, -180 + random(360), 10, 30);
}
i++;
}
this.lag = 30 + random(40);
this.atk_flg = 0;
this.time = 0;
this.anime_flg = 2 + random(5);
}
}
if (60 >= this.e_main._currentframe) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
}
if (this._x < _root.p_pos_x) {
this._xscale = -100;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
if (this.anime_flg == 6) {
this._xscale = -100;
this.e_main.gotoAndPlay(115);
}
if (this.anime_flg == 5) {
this._xscale = 100;
this.e_main.gotoAndPlay(115);
}
if (this.anime_flg == 4) {
this.e_main.gotoAndPlay(166);
}
if (this.anime_flg == 3) {
this.e_main.gotoAndPlay(152);
}
if (this.anime_flg == 2) {
this._xscale = -100;
this.e_main.gotoAndPlay(65);
}
if (this.anime_flg == 1) {
this._xscale = 100;
this.e_main.gotoAndPlay(65);
}
}
if ((60 < this.e_main._currentframe) && (115 >= this.e_main._currentframe)) {
if ((60 < this.e_main._currentframe) && (85 >= this.e_main._currentframe)) {
if (this.anime_flg == 6) {
this._xscale = -100;
this.e_main.gotoAndPlay(115);
}
if (this.anime_flg == 5) {
this._xscale = 100;
this.e_main.gotoAndPlay(115);
}
if (this.anime_flg == 4) {
this.e_main.gotoAndPlay(166);
}
if (this.anime_flg == 3) {
this.e_main.gotoAndPlay(152);
}
if (this.anime_flg == 2) {
if (6 >= this.mov_x) {
this.mov_x++;
}
if (6 < this.mov_x) {
this.mov_x--;
}
if (this.atk_flg == 1) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
this.e_main.gotoAndPlay(95);
}
}
if (this.atk_flg == 0) {
this._xscale = -100;
}
}
if (this.anime_flg == 1) {
if (this.mov_x >= -6) {
this.mov_x--;
}
if (this.mov_x < -6) {
this.mov_x++;
}
if (this.atk_flg == 1) {
if (this._x < _root.p_pos_x) {
this._xscale = -100;
this.e_main.gotoAndPlay(95);
}
}
if (this.atk_flg == 0) {
this._xscale = 100;
}
}
if (this.anime_flg == 0) {
this.e_main.gotoAndPlay(1);
}
}
if ((90 < this.e_main._currentframe) && (115 >= this.e_main._currentframe)) {
if (this.anime_flg == 6) {
this._xscale = -100;
this.e_main.gotoAndPlay(115);
}
if (this.anime_flg == 5) {
this._xscale = 100;
this.e_main.gotoAndPlay(115);
}
if (this.anime_flg == 4) {
this.e_main.gotoAndPlay(166);
}
if (this.anime_flg == 3) {
this.e_main.gotoAndPlay(152);
}
if (this.anime_flg == 2) {
if (6 >= this.mov_x) {
this.mov_x++;
}
if (6 < this.mov_x) {
this.mov_x--;
}
if (this.atk_flg == 0) {
this._xscale = -100;
this.e_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 1) {
if (this.mov_x >= -6) {
this.mov_x--;
}
if (this.mov_x < -6) {
this.mov_x++;
}
if (this.atk_flg == 0) {
this._xscale = 100;
this.e_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 0) {
this.e_main.gotoAndPlay(1);
}
}
}
if ((this.e_main._currentframe >= 110) && (150 >= this.e_main._currentframe)) {
if (this.jump_flg == 0) {
this.smoke._visible = 1;
}
if (this.anime_flg == 3) {
this.e_main.gotoAndPlay(152);
}
if ((this.e_main._currentframe == 118) || (this.e_main._currentframe == 138)) {
if (this.anime_flg == 5) {
this.mov_x = -30;
}
if (this.anime_flg == 6) {
this.mov_x = 30;
}
}
if (this.e_main._currentframe == 119) {
if ((this.anime_flg != 5) && (this.anime_flg != 6)) {
this.e_main.gotoAndPlay(122);
}
if (this.anime_flg == 5) {
if (this.atk_flg == 1) {
if (this._x < _root.p_pos_x) {
this._xscale = -100;
this.e_main.gotoAndPlay(135);
}
}
if (-15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < -15) {
this.mov_x++;
}
}
if (this.anime_flg == 6) {
if (this.atk_flg == 1) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
this.e_main.gotoAndPlay(135);
}
}
if (15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 15) {
this.mov_x++;
}
}
}
if (this.e_main._currentframe == 139) {
if ((this.anime_flg != 5) && (this.anime_flg != 6)) {
this.e_main.gotoAndPlay(142);
}
if (this.anime_flg == 5) {
if (this.atk_flg == 0) {
this._xscale = 100;
this.e_main.gotoAndPlay(115);
}
if (-15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < -15) {
this.mov_x++;
}
}
if (this.anime_flg == 6) {
if (this.atk_flg == 0) {
this._xscale = -100;
this.e_main.gotoAndPlay(115);
}
if (15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 15) {
this.mov_x++;
}
}
}
}
if (this.e_main._currentframe == 156) {
this.mov_y = -15 - random(20);
}
if ((150 < this.e_main._currentframe) && (180 >= this.e_main._currentframe)) {
if (this.e_main._currentframe == 157) {
if (this.mov_y >= 0) {
this.e_main.gotoAndPlay(159);
}
}
if (this.e_main._currentframe == 164) {
if (this.jump_flg == 0) {
this.anime_flg = 0;
this.e_main.gotoAndPlay(166);
}
}
}
if ((166 < this.e_main._currentframe) && (180 >= this.e_main._currentframe)) {
this.efct_cnt++;
if (1 < this.efct_cnt) {
this.efct_cnt = -1;
_root.root._y = 150 + this.efct_cnt;
if ((167 < this.e_main._currentframe) && (175 >= this.e_main._currentframe)) {
_root.root.efct_box.efct_wave01(this._x, this._y, 200, 200, 0);
}
}
if (this.jump_flg == 0) {
this.smoke._visible = 1;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
} else {
this.efct_cnt = -1;
}
if (this.tgt_rot < this.e_main.weparm1._rotation) {
this.e_main.weparm1._rotation = this.e_main.weparm1._rotation - 2;
}
if (this.e_main.weparm1._rotation < this.tgt_rot) {
this.e_main.weparm1._rotation = this.e_main.weparm1._rotation + 2;
}
if (this.tgt_rot < this.e_main.weparm2._rotation) {
this.e_main.weparm2._rotation = this.e_main.weparm2._rotation - 2;
}
if (this.e_main.weparm2._rotation < this.tgt_rot) {
this.e_main.weparm2._rotation = this.e_main.weparm2._rotation + 2;
}
}
if (this.gnd_hit.hitTest(_root.root.bg_box.ground.ground_hit) && (this.mov_y >= 0)) {
this.jump_flg = 0;
this.mov_y = 0;
this._y = _root.root.bg_box.ground._y;
} else if (this.gnd_hit.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.mov_y >= 0)) {
this.jump_flg = 0;
this.mov_y = 0;
this._y = _root.root.bg_box.ground._y + (((_root.root.bg_box.ground.ground_hit2._y - (_root.root.bg_box.ground.ground_hit2._yscale / 2)) * _root.root.bg_box.ground._yscale) / 100);
} else {
this.gnd_flg = 0;
this.jump_flg = 1;
}
if (this.jump_flg == 1) {
if (this.mov_y >= 0) {
this.anime_flg = 4;
}
if (this.mov_y < 30) {
this.mov_y++;
}
}
if ((220 < this.e_main._currentframe) && (270 >= this.e_main._currentframe)) {
if ((this.e_main._currentframe >= 225) && (230 >= this.e_main._currentframe)) {
if (0 < this.mov_y) {
this.e_main.gotoAndPlay(231);
}
}
if ((this.e_main._currentframe >= 235) && (240 >= this.e_main._currentframe)) {
if (0 >= this.mov_y) {
this.e_main.gotoAndPlay(241);
}
}
if ((this.e_main._currentframe >= 255) && (260 >= this.e_main._currentframe)) {
if (this.jump_flg == 0) {
this.smoke._visible = 1;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
if ((0 < this.e_hp) && (this.mov_x != 0)) {
this.e_main.gotoAndPlay(261);
}
}
}
this.e_main.weparm1._x = this.e_main.arm1_pos._x;
this.e_main.weparm1._y = this.e_main.arm1_pos._y;
this.e_main.weparm2._x = this.e_main.arm2_pos._x;
this.e_main.weparm2._y = this.e_main.arm2_pos._y;
if ((_root.ground_left[2] < this._x) && (this._x < _root.ground_right[2])) {
this.gnd_flg = 2;
} else {
this.gnd_flg = 1;
}
if (((_root.ground_left[2] + 50) < this._x) && (this._x < (_root.ground_right[2] - 50))) {
this.e_shadow._y = _root.ground_up[2] - this._y;
} else {
this.e_shadow._y = _root.root.bg_box.ground._y - this._y;
}
if (this.gnd_hit.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.gnd_flg != 2)) {
this.anime_flg = 3;
}
this._x = this._x + this.mov_x;
this._y = this._y + this.mov_y;
Symbol 218 MovieClip [e_boss02] Frame 3
this.gotoAndPlay(2);
Symbol 260 MovieClip Frame 60
this.gotoAndPlay(1);
Symbol 260 MovieClip Frame 90
this.gotoAndPlay(70);
Symbol 260 MovieClip Frame 120
this.gotoAndPlay(100);
Symbol 260 MovieClip Frame 150
this.gotoAndPlay(1);
Symbol 260 MovieClip Frame 185
this.gotoAndPlay(1);
Symbol 260 MovieClip Frame 200
this.gotoAndPlay(199);
Symbol 260 MovieClip Frame 205
this.gotoAndPlay(204);
Symbol 260 MovieClip Frame 215
this.gotoAndPlay(1);
Symbol 260 MovieClip Frame 221
this.gotoAndPlay(220);
Symbol 260 MovieClip Frame 226
this.gotoAndPlay(225);
Symbol 260 MovieClip Frame 246
this.gotoAndPlay(245);
Symbol 260 MovieClip Frame 256
this.gotoAndPlay(1);
Symbol 260 MovieClip Frame 285
this.gotoAndPlay(1);
_parent.anime_flg = 0;
Symbol 260 MovieClip Frame 301
this.gotoAndPlay(295);
Symbol 260 MovieClip Frame 317
this.gotoAndPlay(1);
_parent.anime_flg = 0;
Symbol 261 MovieClip [player02] Frame 1
this.anime_flg = 6;
this.jump_flg = 1;
this.dash_cnt = 0;
this.tlg = 0;
this.efct = 0;
this.jump_pw = 0;
Symbol 261 MovieClip [player02] Frame 2
if (((_root.p_dmg_flg == 0) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if (_root.p_sight._x < ((this._x + _root.root._x) - 200)) {
this._xscale = 100;
_root.sight_pos = 0;
} else if (_root.p_sight._x >= ((this._x + _root.root._x) - 200)) {
this._xscale = -100;
_root.sight_pos = 1;
}
} else if ((this.anime_flg != 10) && (this.anime_flg != 11)) {
if (0 < _root.p_mov_x) {
this._xscale = 100;
}
if (_root.p_mov_x < 0) {
this._xscale = -100;
}
}
if (0 < this.dash_cnt) {
this.dash_cnt--;
} else if (this.dash_cnt < 0) {
this.dash_cnt++;
}
if ((((this.anime_flg != 9) && (this.anime_flg != 95)) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if (_root.key_l == 1) {
if (this.tlg == 0) {
if (0 < this.dash_cnt) {
this.dash_pw = -_root.b_pw_main;
this.anime_flg = 3;
this.tlg = 1;
}
if (0 >= this.dash_cnt) {
this.dash_cnt = 10;
this.tlg = 1;
}
} else if (this.anime_flg != 3) {
if (this.jump_flg == 0) {
this.anime_flg = 1;
}
if ((this.jump_flg == 1) && (this.anime_flg != 35)) {
this.anime_flg = 6;
}
}
if (this.jump_flg == 1) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x / 1.5;
}
}
if ((this.anime_flg == 4) || (this.anime_flg == 2)) {
this.anime_flg = 0;
}
}
if (_root.key_r == 1) {
if (this.tlg == 0) {
if (this.dash_cnt < 0) {
this.dash_pw = _root.b_pw_main;
this.anime_flg = 4;
this.tlg = 1;
}
if (this.dash_cnt >= 0) {
this.dash_cnt = -10;
this.tlg = 1;
}
} else if (this.anime_flg != 4) {
if (this.jump_flg == 0) {
this.anime_flg = 2;
}
if ((this.jump_flg == 1) && (this.anime_flg != 45)) {
this.anime_flg = 6;
}
}
if (this.jump_flg == 1) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = _root.p_mov_x / 1.5;
}
}
if ((this.anime_flg == 3) || (this.anime_flg == 1)) {
this.anime_flg = 0;
}
}
if (((_root.key_l == 0) && (_root.key_r == 0)) || ((_root.key_l == 1) && (_root.key_r == 1))) {
this.tlg = 0;
if (this.jump_flg == 0) {
if ((((this.anime_flg != 5) && (this.anime_flg != 55)) && (this.anime_flg != 6)) && (this.anime_flg != 65)) {
this.anime_flg = 0;
}
}
if (this.jump_flg == 1) {
_root.p_mov_x = _root.p_mov_x / 1.1;
if (((0 < _root.p_mov_y) && (this.anime_flg != 6)) && (this.anime_flg != 65)) {
this.anime_flg = 6;
}
}
}
if (_root.key_d == 1) {
if (this.jump_flg == 1) {
if (_root.p_mov_y < 15) {
_root.p_mov_y = 30;
}
}
}
}
if (_root.key_u == 1) {
if (this.jump_tlg == 0) {
this.jump_tlg = 1;
if (_root.p_bp >= (_root.b_pw_main * 4)) {
this.jump_pw = _root.b_pw_main;
this.anime_flg = 5;
_root.p_pw = _root.b_pw_main;
}
}
}
if (_root.key_u == 0) {
_root.p_pw = 0;
this.jump_tlg = 0;
}
if ((this.p_main._currentframe >= 1) && (60 >= this.p_main._currentframe)) {
if (this.anime_flg == 1) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(65);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(95);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 3) {
this.anime_flg = 35;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 4) {
this.anime_flg = 45;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(165);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(202);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(265);
}
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
if ((this.p_main._currentframe >= 65) && (90 >= this.p_main._currentframe)) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 1) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 3) {
this.anime_flg = 35;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 4) {
this.anime_flg = 45;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(165);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(202);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(265);
}
if (this.anime_flg == 1) {
if ((-_root.a_move_main) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < (-_root.a_move_main)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 2) {
if (_root.p_mov_x < _root.a_move_main) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if (_root.a_move_main < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
}
if ((this.p_main._currentframe >= 95) && (120 >= this.p_main._currentframe)) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 1) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 3) {
this.anime_flg = 35;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 4) {
this.anime_flg = 45;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(165);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(202);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(265);
}
if (this.anime_flg == 1) {
if (((-_root.a_move_main) / 2) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 1;
}
if (_root.p_mov_x < ((-_root.a_move_main) / 2)) {
_root.p_mov_x = _root.p_mov_x + 1;
}
}
if (this.anime_flg == 2) {
if (_root.p_mov_x < (_root.a_move_main / 2)) {
_root.p_mov_x = _root.p_mov_x + 1;
}
if ((_root.a_move_main / 2) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 1;
}
}
}
if ((this.p_main._currentframe >= 125) && (185 >= this.p_main._currentframe)) {
this.p_main.p_boost._xscale = Math.abs(_root.p_mov_x * 2) + 20;
this.p_main.p_boost._yscale = Math.abs(_root.p_mov_x * 2) + 20;
_root.dash_defense = 15;
if (this.anime_flg == 3) {
this.anime_flg = 35;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 4) {
this.anime_flg = 45;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(165);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(204);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(290);
}
if ((this.p_main._currentframe >= 133) && (150 >= this.p_main._currentframe)) {
if (_root.p_mov_x < 0) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(this.p_main._currentframe + 35);
}
}
if (0 < _root.p_mov_x) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(this.p_main._currentframe + 35);
}
}
}
if ((this.p_main._currentframe >= 168) && (185 >= this.p_main._currentframe)) {
if (_root.p_mov_x < 0) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(this.p_main._currentframe - 35);
}
}
if (0 < _root.p_mov_x) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(this.p_main._currentframe - 35);
}
}
}
if (this.p_main._currentframe == 132) {
if ((_root.b_pw_main * 7) < _root.p_bp) {
_root.p_bp = _root.p_bp - (_root.b_pw_main * 7);
_root.p_mov_x = this.dash_pw;
this.dash_pw = 0;
} else {
_root.p_bp = 0;
_root.p_mov_x = this.dash_pw / 3;
this.dash_pw = 0;
}
if (_root.efct_switch == 1) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y - 30, _root.p_mov_x / 2, _root.p_mov_x * 2, 0);
}
}
if (this.p_main._currentframe == 167) {
if ((_root.b_pw_main * 7) < _root.p_bp) {
_root.p_bp = _root.p_bp - (_root.b_pw_main * 7);
_root.p_mov_x = this.dash_pw;
this.dash_pw = 0;
} else {
_root.p_bp = 0;
_root.p_mov_x = this.dash_pw / 3;
this.dash_pw = 0;
}
if (_root.efct_switch == 1) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y - 30, _root.p_mov_x / 2, _root.p_mov_x * 2, 0);
}
}
if (((this.p_main._currentframe >= 140) && (150 >= this.p_main._currentframe)) || ((this.p_main._currentframe >= 175) && (185 >= this.p_main._currentframe))) {
if (this.jump_flg == 0) {
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
} else {
this.anime_flg = 6;
}
}
} else {
_root.dash_defense = 0;
}
if ((this.p_main._currentframe >= 190) && (215 >= this.p_main._currentframe)) {
if (this.anime_flg == 3) {
this.anime_flg = 35;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 4) {
this.anime_flg = 45;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(165);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(198);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(220);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(290);
}
if (this.p_main._currentframe == 198) {
_root.p_bp = _root.p_bp - (_root.b_pw_main * 3);
if (0 >= _root.p_bp) {
_root.p_bp = 0;
}
_root.p_mov_y = (-this.jump_pw) / 3;
this.jump_pw = 0;
}
if (this.p_main._currentframe == 199) {
if (_root.p_mov_y >= 0) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(202);
}
}
if ((this.p_main._currentframe >= 201) && (206 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(207);
}
}
}
if ((this.p_main._currentframe >= 220) && (260 >= this.p_main._currentframe)) {
_root.p_dmg_flg = 1;
if (0 < _root.p_hp) {
if (this.anime_flg == 5) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y, 50, 15, 0);
this.anime_flg = 55;
this.p_main.gotoAndPlay(197);
}
}
if (this.p_main._currentframe == 220) {
if (0 >= _root.p_hp) {
this.efct_num = 0;
bom_x = (((_root.root.p_box._x - _root.root.pos_box._x) + this._x) + 30) - random(60);
bom_y = (((_root.root.p_box._y - _root.root.pos_box._y) + this._y) + 30) - random(60);
_root.root.efct_box.efct_bom01(bom_x, bom_y, 100, 100);
}
if (_root.p_mov_y >= 0) {
this.p_main.gotoAndPlay(222);
}
}
if (this.p_main._currentframe == 225) {
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(227);
}
}
if (this.p_main._currentframe == 245) {
_root.p_mov_x = _root.p_mov_x / 1.1;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
if ((_root.p_mov_x == 0) && (0 < _root.p_hp)) {
this.p_main.gotoAndPlay(247);
}
}
if (this.p_main._currentframe >= 254) {
this.anime_flg = 0;
}
} else {
_root.p_dmg_flg = 0;
}
if ((this.p_main._currentframe >= 260) && (430 >= this.p_main._currentframe)) {
if (((this.p_main._currentframe >= 260) && (285 >= this.p_main._currentframe)) || ((this.p_main._currentframe >= 303) && (315 >= this.p_main._currentframe))) {
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
} else {
_root.p_mov_x = _root.p_mov_x / 1.05;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
if (this.anime_flg == 3) {
this.anime_flg = 35;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(130);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(165);
}
}
if (this.anime_flg == 4) {
this.anime_flg = 45;
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(165);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(130);
}
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(220);
}
if ((this.p_main._currentframe == 291) || (this.p_main._currentframe == 406)) {
_root.p_mov_y = -10;
}
if ((this.p_main._currentframe >= 295) && (300 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(302);
}
}
if ((((this.p_main._currentframe >= 270) && (272 >= this.p_main._currentframe)) || ((this.p_main._currentframe >= 290) && (300 >= this.p_main._currentframe))) || ((this.p_main._currentframe >= 428) && (430 >= this.p_main._currentframe))) {
i = 0;
while (20 >= i) {
if (0 < _root.root.e_box["enemy" + i].hp) {
if (this.p_main.p_wep_blade.hitTest(_root.root.e_box["enemy" + i].e_core)) {
efct_pos_x = (_root.root.e_box["enemy" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = (_root.root.e_box["enemy" + i]._y + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - 5;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
}
if (this.p_main.p_wep_blade.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit == 0) {
efct_pos_x = (_root.root.e_efct_box["e_msl" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = (_root.root.e_efct_box["e_msl" + i]._y + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
_root.root.e_efct_box["e_msl" + i].hit = 1;
}
}
if (this.p_main.p_wep_blade.hitTest(_root.root.e_efct_box["e_shot" + i])) {
if (_root.root.e_efct_box["e_msl" + i].hit == 0) {
efct_pos_x = (_root.root.e_efct_box["e_msl" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = (_root.root.e_efct_box["e_msl" + i]._y + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
_root.root.e_efct_box["e_msl" + i].hit = 1;
}
}
i++;
}
}
}
if (this.p_main._currentframe < 215) {
this.tgt_x = (this._x + _root.root._x) - 200;
this.tgt_y = (this._y + _root.root._y) - 150;
if (_root.sight_pos == 1) {
this.wep_arm_rot = (Math.atan2(_root.p_sight._x - this.tgt_x, _root.p_sight._y - this.tgt_y) / (Math.PI/180)) - 95;
this.p_head_rot = this.wep_arm_rot;
}
if (_root.sight_pos == 0) {
this.wep_arm_rot = ((-Math.atan2(_root.p_sight._x - this.tgt_x, _root.p_sight._y - this.tgt_y)) / (Math.PI/180)) - 95;
this.p_head_rot = this.wep_arm_rot;
}
if (40 < this.p_head_rot) {
this.p_head_rot = 40;
}
if (this.p_head_rot < -40) {
this.p_head_rot = -40;
}
if (_root.shop_wep[_root.p_weps] == 2) {
this.wep_arm_rot = 0;
}
} else {
this.p_head_rot = 0;
this.wep_arm_rot = 0;
}
this.p_main.p_wep_arm._rotation = this.wep_arm_rot;
this.p_main.p_head._rotation = this.p_head_rot;
this.p_main.p_wep_arm._x = this.p_main.wep_arm_pos._x;
this.p_main.p_wep_arm._y = this.p_main.wep_arm_pos._y;
this.p_main.p_head._x = this.p_main.head_pos._x;
this.p_main.p_head._y = this.p_main.head_pos._y;
if (_root.p_pos_x < 0) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 0;
}
if (5000 < _root.p_pos_x) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 5000;
}
if (_root.efct_switch == 1) {
if (this.jump_flg == 0) {
if ((this.p_main._currentframe >= 130) && (133 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
if ((this.p_main._currentframe >= 165) && (168 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
if ((this.p_main._currentframe >= 140) && (150 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(20) + 50, random(20) + 50);
}
if ((this.p_main._currentframe >= 175) && (185 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(20) + 50, random(20) + 50);
}
if (((this.p_main._currentframe >= 125) && (185 >= this.p_main._currentframe)) && (5 < Math.abs(_root.p_mov_x))) {
this.efct++;
if (3 < this.efct) {
efct = 0;
_root.root.efct_box.efct_dash01(_root.p_pos_x, _root.p_pos_y, -(_root.p_mov_x * 4), Math.abs(_root.p_mov_x * 3));
}
}
}
if ((this.p_main._currentframe >= 195) && (200 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if ((this.p_main._currentframe >= 205) && (215 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if (((this.p_main._currentframe >= 0) && (60 >= this.p_main._currentframe)) && (5 < Math.abs(_root.p_mov_x))) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if (((this.p_main._currentframe >= 230) && (245 >= this.p_main._currentframe)) && (_root.p_mov_x != 0)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if ((this.p_main._currentframe >= 303) && (315 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01((_root.p_pos_x + 20) - random(40), _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
}
if ((((this.anime_flg != 9) && (this.anime_flg != 95)) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if ((_root.shot_flg == 1) && (_root.shot_able == 1)) {
if (_root.p_dmg_flg != 1) {
if (_root.shop_wep[_root.p_weps] == 2) {
this.anime_flg = 10;
}
if (_root.shop_weps[_root.p_weps] != 2) {
if (this.p_main.p_wep_arm.p_weparm._currentframe == 1) {
this.p_main.p_wep_arm.p_weparm.gotoAndPlay(2);
}
}
}
}
}
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (c < 2) {
this.c++;
} else if (c >= 2) {
this.c = 0;
new Color(this).setTransform(ColorTrans);
}
_root.p_pos_x = _root.p_pos_x + _root.p_mov_x;
_root.p_pos_y = _root.p_pos_y + _root.p_mov_y;
this.p_main.p_wep_arm.gotoAndStop(_root.p_weps);
this.p_main.p_wep_arm.p_weparm.weparm_h.gotoAndStop(2);
this.p_main.p_wep_arm.p_weparm.weparm_s.gotoAndStop(2);
_root.anime_flg = this.anime_flg;
_root.jump_flg = this.jump_flg;
this.p_hit_tall._y = _root.p_mov_y;
if (0 < this._xscale) {
this.p_hit_side._x = _root.p_mov_x;
}
if (this._xscale < 0) {
this.p_hit_side._x = -_root.p_mov_x;
}
Symbol 261 MovieClip [player02] Frame 3
if (_root.p_pos_x < 0) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 0;
}
if (5000 < _root.p_pos_x) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 5000;
}
this.gotoAndPlay(2);
Symbol 265 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 265 MovieClip Frame 10
this.gotoAndPlay(5);
Symbol 265 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 267 MovieClip [p_shot_pb01] Frame 1
this.hit_flg = 0;
this.efct_num = 0;
this.gnd_flg = 0;
this._x = this._x + (this.m_x - _root.p_mov_x);
this._y = this._y + (this.m_y - _root.p_mov_y);
Symbol 267 MovieClip [p_shot_pb01] Frame 2
if (this.hit_flg == 0) {
this.m_y = this.m_y + 1;
this._rotation = ((-Math.atan2(this.m_x, this.m_y)) / (Math.PI/180)) + 90;
if (this.pb_core.hitTest(_root.root.bg_box.ground.ground_hit)) {
this.gnd_flg = 1;
}
if (this.pb_core.hitTest(_root.root.bg_box.ground.ground_hit2)) {
this.gnd_flg = 1;
}
if (this.pb_core.hitTest(_root.root.bg_box.ground.ground_hit3)) {
this.gnd_flg = 1;
}
if (this.pb_core.hitTest(_root.root.bg_box.ground.ground_hit4)) {
this.gnd_flg = 1;
}
if (this.gnd_flg == 1) {
this.gnd_flg = 2;
this.pb_main.gotoAndPlay(5);
this.m_x = 0;
this.m_y = 0;
this.hit_flg = 1;
}
i = 0;
while (10 >= i) {
if (this.pb_core.hitTest(_root.root.e_box["enemy" + i].e_core)) {
this.pb_main.gotoAndPlay(5);
this.num = _root.root.e_box["enemy" + i].num;
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.m_x = 0;
this.m_y = 0;
this.hit_flg = 2;
}
i++;
}
}
if (this.hit_flg != 2) {
this._x = this._x + (this.m_x - _root.p_mov_x);
this._y = this._y + (this.m_y - _root.p_mov_y);
} else if (this.hit_flg == 2) {
if (0 >= _root.root.e_box["enemy" + this.num].hp) {
this.time = 60;
this.hit_flg = 3;
}
this._x = this._x + (_root.root.e_box["enemy" + this.num].mov_x - _root.p_mov_x);
this._y = this._y + (_root.root.e_box["enemy" + this.num].mov_y - _root.p_mov_y);
}
if (60 >= this.time) {
this.time++;
}
if ((60 < this.time) && (this.pb_main._currentframe < 15)) {
this.pb_main.gotoAndPlay(15);
}
if ((15 < this.pb_main._currentframe) && (30 >= this.pb_main._currentframe)) {
if (_root.efct_switch == 1) {
this.efct_num++;
if (5 < this.efct_num) {
this.efct_num = 0;
bom_x = (((_root.root.p_box._x - _root.root.pos_box._x) + this._x) + 25) - random(50);
bom_y = (((_root.root.p_box._y - _root.root.pos_box._y) + this._y) + 25) - random(50);
_root.root.efct_box.efct_bom01(bom_x, bom_y, 60, 60);
}
}
if (this.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.p_dmg = 15;
new Color(_root.root.p_box.player).setRGB(16777215);
}
}
i = 0;
while (10 >= i) {
if (this.hitTest(_root.root.e_box["enemy" + i].e_core)) {
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
this.m_x = 0;
this.m_y = 0;
this.hit_flg = 3;
}
i++;
}
}
Symbol 267 MovieClip [p_shot_pb01] Frame 3
this.gotoAndPlay(2);
Symbol 275 MovieClip Frame 3
this.gotoAndPlay(1);
Symbol 275 MovieClip Frame 24
_parent.removeMovieClip();
Symbol 275 MovieClip Frame 40
_parent.removeMovieClip();
Symbol 278 MovieClip [p_msl01] Frame 1
this.hit_flg = 0;
this.time = 0;
Symbol 278 MovieClip [p_msl01] Frame 2
if (this.hit_flg == 0) {
this.time++;
if (50 < this.time) {
this.hit_flg = 1;
}
if (spd < 20) {
spd++;
}
mov_x1 = Math.sin((-this.p_msl_main._rotation) * (Math.PI/180)) * spd;
mov_y1 = Math.cos((-this.p_msl_main._rotation) * (Math.PI/180)) * spd;
cnt++;
if (1 < cnt) {
cnt = 0;
if (mov_x1 < mov_x2) {
mov_x2 = mov_x2 - 2;
}
if (mov_x2 < mov_x1) {
mov_x2 = mov_x2 + 2;
}
if (mov_y1 < mov_y2) {
mov_y2 = mov_y2 - 1;
}
if (mov_y2 < mov_y1) {
mov_y2 = mov_y2 + 1;
}
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit3) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit4) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
i = 0;
while (20 >= i) {
if (0 < _root.root.e_box["enemy" + i].hp) {
if (this.msl_core.hitTest(_root.root.e_box["enemy" + i].e_core)) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hit_flg = 1;
}
}
if (this.hitTest(_root.root.e_efct_box["e_msl" + i]) && (_root.root.e_efct_box["e_msl" + i].hit_flg == 0)) {
_root.combo_counter.combo(5);
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
this._xscale = 50;
this._yscale = 50;
this._rotation = this._rotation + (150 + random(60));
this.p_shot01_main.gotoAndPlay(5);
this.hit_flg = 1;
}
i++;
}
tgt_x = ((_root.p_sight._x - _root.root._x) + 200) - this._x;
tgt_y = ((_root.p_sight._y - _root.root._y) + 150) - this._y;
this.p_msl_main._rotation = (-Math.atan2(tgt_x, tgt_y)) / (Math.PI/180);
}
if (this.hit_flg == 1) {
this.p_msl_main.gotoAndPlay(5);
this.hit_flg = 2;
mov_x2 = 0;
mov_y2 = 0;
}
if (this.hit_flg == 3) {
this.p_msl_main._rotation = 0;
this.p_msl_main.gotoAndPlay(25);
this.hit_flg = 2;
mov_x2 = 0;
mov_y2 = 0;
}
this._x = this._x + (this.mov_x2 - _root.p_mov_x);
this._y = this._y + (this.mov_y2 - _root.p_mov_y);
Symbol 278 MovieClip [p_msl01] Frame 3
this.gotoAndPlay(2);
Symbol 281 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 282 MovieClip [p_beam01] Frame 1
if (1000 >= this._xscale) {
this._xscale = this._xscale + 100;
}
if (0 < _root.p_bp) {
_root.p_bp = _root.p_bp - 15;
i = 0;
while (20 >= i) {
if (this.p_shot_core1.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if (0 < _root.root.e_box["enemy" + i].hp) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
if (this.p_shot_core1.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
if (this.p_shot_core2.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if (0 < _root.root.e_box["enemy" + i].hp) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk / 2);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
if (this.p_shot_core2.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
if (this.p_shot_core3.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if (0 < _root.root.e_box["enemy" + i].hp) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk / 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
if (this.p_shot_core3.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
if (this.p_shot_core4.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if (0 < _root.root.e_box["enemy" + i].hp) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk / 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
if (this.p_shot_core4.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
i++;
}
}
Symbol 282 MovieClip [p_beam01] Frame 2
this.gotoAndPlay(1);
Symbol 283 MovieClip [efct_sw01] Frame 10
this.removeMovieClip();
Symbol 285 MovieClip [efct_crash01] Frame 20
this.removeMovieClip();
Symbol 286 MovieClip [efct_bom01] Frame 21
this.removeMovieClip();
Symbol 295 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 295 MovieClip Frame 9
_parent.removeMovieClip();
Symbol 295 MovieClip Frame 22
_parent.removeMovieClip();
Symbol 298 MovieClip [e_shot02] Frame 1
m_x = (Math.cos(this._rotation * (Math.PI/180)) * spd) * 2;
m_y = (Math.sin(this._rotation * (Math.PI/180)) * spd) * 2;
this._x = this._x + (m_x * 2);
this._y = this._y + (m_y * 2);
this.gnd_flg = 0;
this.hit_flg = 0;
this.time = 0;
Symbol 298 MovieClip [e_shot02] Frame 2
if (this.hit_flg == 0) {
m_x = Math.cos(this._rotation * (Math.PI/180)) * spd;
m_y = Math.sin(this._rotation * (Math.PI/180)) * spd;
if (this.hitTest(_root.root.bg_box.ground.ground_hit) && (this.hit_flg == 0)) {
this.gnd_flg = 1;
}
if (this.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.hit_flg == 0)) {
this.gnd_flg = 1;
}
if (this.hitTest(_root.root.bg_box.ground.ground_hit3) && (this.hit_flg == 0)) {
this.gnd_flg = 1;
}
if (this.hitTest(_root.root.bg_box.ground.ground_hit4) && (this.hit_flg == 0)) {
this.gnd_flg = 1;
}
if (this.gnd_flg == 1) {
this._xscale = 70;
this._yscale = 70;
this._rotation = 0;
this.hit_flg = 1;
this.e_shot_main.gotoAndPlay(15);
}
if (this.e_shot_core.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.p_dmg = this.dmg;
new Color(_root.root.p_box.player).setRGB(16777215);
_root.hit_mov_y = -10;
if (m_x < 0) {
_root.hit_mov_x = -15;
}
if (0 < m_x) {
_root.hit_mov_x = 15;
}
}
m_x = 0;
m_y = 0;
this._xscale = 100;
this._yscale = 100;
this._rotation = this._rotation + (30 - random(60));
this.e_shot_main.gotoAndPlay(5);
this.hit_flg = 1;
}
this.time++;
if (30 < this.time) {
this.removeMovieClip();
}
this._x = this._x + m_x;
this._y = this._y + m_y;
} else if (this.hit_flg != 0) {
m_x = 0;
m_y = 0;
this._x = this._x + m_x;
this._y = this._y + m_y;
}
Symbol 298 MovieClip [e_shot02] Frame 3
this.gotoAndPlay(2);
Symbol 300 MovieClip [msl_mark] Frame 1
this._x = _root.root.p_box.player._x;
this._y = _root.root.p_box.player._y - 20;
msl_x = _root.root.e_efct_box["e_msl" + this.num]._x;
msl_y = _root.root.e_efct_box["e_msl" + this.num]._y;
if (_root.root.e_efct_box["e_msl" + this.num].hit != 0) {
this.removeMovieClip();
}
this._rotation = Math.atan2(msl_x - _root.p_pos_x, (_root.p_pos_y - 20) - msl_y) / (Math.PI/180);
Symbol 300 MovieClip [msl_mark] Frame 2
this._x = _root.root.p_box.player._x;
this._y = _root.root.p_box.player._y - 20;
msl_x = _root.root.e_efct_box["e_msl" + this.num]._x;
msl_y = _root.root.e_efct_box["e_msl" + this.num]._y;
if (_root.root.e_efct_box["e_msl" + this.num].hit != 0) {
this.removeMovieClip();
}
this._rotation = Math.atan2(msl_x - _root.p_pos_x, (_root.p_pos_y - 20) - msl_y) / (Math.PI/180);
this.gotoAndPlay(1);
Symbol 303 MovieClip Frame 4
this.gotoAndPlay(1);
Symbol 303 MovieClip Frame 25
_parent.removeMovieClip();
Symbol 303 MovieClip Frame 45
_parent.removeMovieClip();
Symbol 304 MovieClip [e_msl01] Frame 1
mov_x2 = Math.sin((-this.e_msl_main._rotation) * (Math.PI/180)) * spd;
mov_y2 = Math.cos((-this.e_msl_main._rotation) * (Math.PI/180)) * spd;
this.hit_flg = 0;
Symbol 304 MovieClip [e_msl01] Frame 2
if (this.msl_core.hitTest(_root.root.p_box.player.p_hit_area) && (this.hit_flg == 0)) {
_root.p_dmg = this.dmg;
_root.hit_mov_y = -5;
if (this.mov_x2 < 0) {
_root.hit_mov_x = -8;
}
if (0 < this.mov_x2) {
_root.hit_mov_x = 8;
}
this.hit_flg = 1;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit3) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit4) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.hit_flg == 0) {
time++;
if (180 < time) {
this.hit_flg = 1;
}
if (this.spd < 10) {
spd++;
}
if (this.spd >= 10) {
spd--;
}
mov_x1 = Math.sin((-this.e_msl_main._rotation) * (Math.PI/180)) * spd;
mov_y1 = Math.cos((-this.e_msl_main._rotation) * (Math.PI/180)) * spd;
cnt++;
if (3 < cnt) {
cnt = 0;
if (mov_x1 < mov_x2) {
mov_x2--;
}
if (mov_x2 < mov_x1) {
mov_x2++;
}
if (mov_y1 < mov_y2) {
mov_y2 = mov_y2 - 1;
}
if (mov_y2 < mov_y1) {
mov_y2 = mov_y2 + 1;
}
}
this.e_msl_main._rotation = ((-Math.atan2(_root.p_pos_x - this._x, (_root.p_pos_y - 20) - this._y)) / (Math.PI/180)) % 360;
this._x = this._x + this.mov_x2;
this._y = this._y + this.mov_y2;
} else if (this.hit_flg == 1) {
this.hit_flg = 2;
this.e_msl_main.gotoAndPlay(5);
} else if (this.hit_flg == 5) {
_root.display.combo_counter.combo(1);
this.hit_flg = 2;
this.e_msl_main.gotoAndPlay(5);
} else if (this.hit_flg == 3) {
this.e_msl_main._rotation = 0;
this.hit_flg = 4;
this.e_msl_main.gotoAndPlay(30);
}
if (this.hit_flg != 0) {
_root.root.p_box["m_m" + this.num].removeMovieClip();
}
Symbol 304 MovieClip [e_msl01] Frame 3
this.gotoAndPlay(2);
Symbol 313 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 313 MovieClip Frame 4
_root.root.e_efct_box.e_shot02(this.shot_x, this.shot_y, 100, 20, this.shot_rot, 30, 5);
Symbol 313 MovieClip Frame 15
this.gotoAndPlay(1);
Symbol 316 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 316 MovieClip Frame 4
_root.root.e_efct_box.e_shot_bz(this.shot_x, this.shot_y, 100, 100, this.shot_rot, 40, 30);
Symbol 316 MovieClip Frame 35
this.gotoAndPlay(1);
Symbol 319 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 319 MovieClip Frame 4
_root.root.e_efct_box.e_msl01(this.shot_x, this.shot_y, -180 - random(80), 5, 15);
_root.root.e_efct_box.e_msl01(this.shot_x, this.shot_y, 180 + random(80), 5, 15);
Symbol 319 MovieClip Frame 80
this.gotoAndPlay(1);
Symbol 358 MovieClip Frame 60
this.gotoAndPlay(1);
Symbol 358 MovieClip Frame 85
this.gotoAndPlay(65);
Symbol 358 MovieClip Frame 115
this.gotoAndPlay(95);
Symbol 358 MovieClip Frame 135
this.gotoAndPlay(130);
Symbol 358 MovieClip Frame 145
_parent.anime_flg = 0;
this.gotoAndPlay(1);
Symbol 358 MovieClip Frame 160
this.gotoAndPlay(155);
Symbol 358 MovieClip Frame 170
_parent.anime_flg = 0;
this.gotoAndPlay(1);
Symbol 358 MovieClip Frame 185
this.gotoAndPlay(180);
Symbol 358 MovieClip Frame 195
this.gotoAndPlay(190);
Symbol 358 MovieClip Frame 215
_parent.anime_flg = random(3);
this.gotoAndPlay(1);
Symbol 358 MovieClip Frame 230
this.gotoAndPlay(225);
Symbol 358 MovieClip Frame 240
this.gotoAndPlay(235);
Symbol 358 MovieClip Frame 260
this.gotoAndPlay(255);
Symbol 358 MovieClip Frame 270
this.gotoAndPlay(1);
Symbol 359 MovieClip [e_armor01] Frame 1
this.tgt_rot = 0;
this.atk_flg = 0;
this.anime_flg = 0;
this.jump_flg = 1;
this.time = 0;
this.lag = 60 + random(60);
this.time2 = 0;
this.lag2 = 30 + random(60);
this.efct_cnt = -1;
this.end_flg = 0;
this.c = 0;
Symbol 359 MovieClip [e_armor01] Frame 2
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
this.smoke._visible = 0;
if (0 >= this.hp) {
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
if (215 >= this.ea01_main._currentframe) {
_root.destroy_num++;
_root.display.combo_counter.combo(15);
this.mov_y = -10;
this.ea01_main.gotoAndPlay(221);
}
if ((((_root.p_pos_x - 300) < this._x) && (this._x < (_root.p_pos_x + 300))) && (_root.efct_switch == 1)) {
this.efct_num++;
if (7 < this.efct_num) {
this.efct_num = 0;
_root.root.efct_box.efct_bom01((this._x + 25) - random(50), this._y - random(50), 60, 60);
}
}
this.ea01_main._alpha = this.ea01_main._alpha - 6;
if (5 >= this.ea01_main._alpha) {
if (this.hp_max >= 100) {
_root.boss_destroy_flg++;
}
_root.e_num[this.num] = 0;
this.removeMovieClip();
}
this.ea01_main.head._rotation = this.ea01_main.body._rotation;
this.ea01_main.wep_arm._rotation = this.ea01_main.head._rotation - 90;
this.atk_flg = 0;
} else {
if (this.atk_flg == 0) {
this.tgt_rot = 0;
this.time++;
if (this.lag < this.time) {
this.lag = 60 + random(60);
this.atk_flg = 1;
this.time = 0;
}
}
if (this.jump_flg == 0) {
if (this.anime_flg == 0) {
if (((_root.p_pos_x - 200) < this._x) && (this._x < (_root.p_pos_x + 200))) {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = random(7);
this.time2 = 0;
}
}
if (((_root.p_pos_x + 200) < this._x) && (this._x < (_root.p_pos_x + 500))) {
this.anime_flg = 1;
}
if (this._x >= (_root.p_pos_x + 500)) {
this.anime_flg = 5;
}
if ((this._x < (_root.p_pos_x - 200)) && ((_root.p_pos_x - 500) < this._x)) {
this.anime_flg = 2;
}
if ((_root.p_pos_x - 500) >= this._x) {
this.anime_flg = 6;
}
}
if ((this.anime_flg == 1) || (this.anime_flg == 2)) {
if (this._x >= (_root.p_pos_x + 500)) {
this.anime_flg = 5;
} else if ((_root.p_pos_x - 500) >= this._x) {
this.anime_flg = 6;
} else {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = random(7);
this.time2 = 0;
}
}
}
if ((this.anime_flg == 5) || (this.anime_flg == 6)) {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = random(7);
this.time2 = 0;
}
}
} else {
this.time2++;
if (this.lag2 < this.time2) {
this.lag2 = 30 + random(60);
this.anime_flg = 5 + random(2);
this.time2 = 0;
}
}
if (this.atk_flg == 1) {
this.lock_x = _root.p_pos_x;
this.lock_y = _root.p_pos_y - 20;
if (0 < this._xscale) {
this.tgt_rot = ((-Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 20))) / (Math.PI/180)) - 90;
}
if (this._xscale < 0) {
this.tgt_rot = (Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 20)) / (Math.PI/180)) - 90;
}
if (60 < this.tgt_rot) {
this.tgt_rot = 60;
}
if (this.tgt_rot < -60) {
this.tgt_rot = -60;
}
if (((_root.p_pos_x - 500) < this._x) && (this._x < (_root.p_pos_x + 500))) {
if (this.ea01_main.wep_arm.e_weparm._currentframe == 1) {
this.ea01_main.wep_arm.e_weparm.gotoAndPlay(3);
}
this.ea01_main.wep_arm.e_weparm.shot_x = this._x;
this.ea01_main.wep_arm.e_weparm.shot_y = (this._y + this.ea01_main.wep_arm._y) - 5;
if (0 < this._xscale) {
this.ea01_main.wep_arm.e_weparm.shot_rot = this.ea01_main.wep_arm._rotation + 180;
}
if (this._xscale < 0) {
this.ea01_main.wep_arm.e_weparm.shot_rot = -this.ea01_main.wep_arm._rotation;
}
}
this.time++;
if (this.lag < this.time) {
this.lag = 30 + random(40);
this.atk_flg = 0;
this.time = 0;
}
}
if (60 >= this.ea01_main._currentframe) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
}
if (this._x < _root.p_pos_x) {
this._xscale = -100;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
if (this.anime_flg == 6) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(120);
}
if (this.anime_flg == 5) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(120);
}
if (this.anime_flg == 4) {
this.ea01_main.gotoAndPlay(187);
}
if (this.anime_flg == 3) {
this.ea01_main.gotoAndPlay(171);
}
if (this.anime_flg == 2) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(61);
}
if (this.anime_flg == 1) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(61);
}
}
if ((60 < this.ea01_main._currentframe) && (115 >= this.ea01_main._currentframe)) {
if ((60 < this.ea01_main._currentframe) && (85 >= this.ea01_main._currentframe)) {
if (this.anime_flg == 6) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(120);
}
if (this.anime_flg == 5) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(120);
}
if (this.anime_flg == 4) {
this.ea01_main.gotoAndPlay(187);
}
if (this.anime_flg == 3) {
this.ea01_main.gotoAndPlay(171);
}
if (this.anime_flg == 2) {
if (4 >= this.mov_x) {
this.mov_x++;
}
if (4 < this.mov_x) {
this.mov_x--;
}
if (this.atk_flg == 1) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(91);
}
}
if (this.atk_flg == 0) {
this._xscale = -100;
}
}
if (this.anime_flg == 1) {
if (this.mov_x >= -4) {
this.mov_x--;
}
if (this.mov_x < -4) {
this.mov_x++;
}
if (this.atk_flg == 1) {
if (this._x < _root.p_pos_x) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(91);
}
}
if (this.atk_flg == 0) {
this._xscale = 100;
}
}
if (this.anime_flg == 0) {
this.ea01_main.gotoAndPlay(1);
}
}
if ((90 < this.ea01_main._currentframe) && (115 >= this.ea01_main._currentframe)) {
if (this.anime_flg == 6) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(120);
}
if (this.anime_flg == 5) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(120);
}
if (this.anime_flg == 4) {
this.ea01_main.gotoAndPlay(187);
}
if (this.anime_flg == 3) {
this.ea01_main.gotoAndPlay(171);
}
if (this.anime_flg == 2) {
if (3 >= this.mov_x) {
this.mov_x++;
}
if (3 < this.mov_x) {
this.mov_x--;
}
if (this.atk_flg == 0) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(61);
}
}
if (this.anime_flg == 1) {
if (this.mov_x >= -3) {
this.mov_x--;
}
if (this.mov_x < -3) {
this.mov_x++;
}
if (this.atk_flg == 0) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(61);
}
}
if (this.anime_flg == 0) {
this.ea01_main.gotoAndPlay(1);
}
}
}
if ((this.ea01_main._currentframe >= 120) && (170 >= this.ea01_main._currentframe)) {
if (this.jump_flg == 0) {
this.smoke._visible = 1;
}
if (this.anime_flg == 3) {
this.ea01_main.gotoAndPlay(171);
}
if ((this.ea01_main._currentframe == 128) || (this.ea01_main._currentframe == 153)) {
if (this.anime_flg == 5) {
this.mov_x = -20;
}
if (this.anime_flg == 6) {
this.mov_x = 20;
}
}
if ((this.ea01_main._currentframe >= 120) && (145 >= this.ea01_main._currentframe)) {
if ((this.ea01_main._currentframe >= 130) && (135 >= this.ea01_main._currentframe)) {
if ((this.anime_flg != 5) && (this.anime_flg != 6)) {
this.ea01_main.gotoAndPlay(137);
}
if (this.anime_flg == 5) {
if (this.atk_flg == 1) {
if (this._x < _root.p_pos_x) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(154);
}
}
if (-15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < -15) {
this.mov_x++;
}
}
if (this.anime_flg == 6) {
if (this.atk_flg == 1) {
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(154);
}
}
if (15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 15) {
this.mov_x++;
}
}
}
}
if ((this.ea01_main._currentframe >= 145) && (170 >= this.ea01_main._currentframe)) {
if ((this.ea01_main._currentframe >= 155) && (160 >= this.ea01_main._currentframe)) {
if ((this.anime_flg != 5) && (this.anime_flg != 6)) {
this.ea01_main.gotoAndPlay(162);
}
if (this.anime_flg == 5) {
if (this.atk_flg == 0) {
this._xscale = 100;
this.ea01_main.gotoAndPlay(129);
}
if (-15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < -15) {
this.mov_x++;
}
}
if (this.anime_flg == 6) {
if (this.atk_flg == 0) {
this._xscale = -100;
this.ea01_main.gotoAndPlay(129);
}
if (15 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 15) {
this.mov_x++;
}
}
}
}
}
if ((170 < this.ea01_main._currentframe) && (180 >= this.ea01_main._currentframe)) {
if (this.ea01_main._currentframe == 179) {
this.mov_y = -13 - random(15);
}
}
if ((180 < this.ea01_main._currentframe) && (195 >= this.ea01_main._currentframe)) {
if ((this.ea01_main._currentframe >= 180) && (185 >= this.ea01_main._currentframe)) {
if (this.mov_y >= 0) {
this.ea01_main.gotoAndPlay(186);
}
}
if ((145 < this.ea01_main._currentframe) && (195 >= this.ea01_main._currentframe)) {
if (this.jump_flg == 0) {
this.anime_flg = 0;
this.ea01_main.gotoAndPlay(196);
}
}
}
if ((195 < this.ea01_main._currentframe) && (215 >= this.ea01_main._currentframe)) {
if (this.jump_flg == 0) {
this.smoke._visible = 1;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
}
this.ea01_main.head._rotation = this.tgt_rot;
if (this.tgt_rot < this.ea01_main.wep_arm._rotation) {
this.ea01_main.wep_arm._rotation = this.ea01_main.wep_arm._rotation - 2;
}
if (this.ea01_main.wep_arm._rotation < this.tgt_rot) {
this.ea01_main.wep_arm._rotation = this.ea01_main.wep_arm._rotation + 2;
}
}
if (this.gnd_hit.hitTest(_root.root.bg_box.ground.ground_hit) && (this.mov_y >= 0)) {
this.jump_flg = 0;
this.mov_y = 0;
this._y = _root.root.bg_box.ground._y;
} else if (this.gnd_hit.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.mov_y >= 0)) {
this.jump_flg = 0;
this.mov_y = 0;
this._y = _root.root.bg_box.ground._y + (((_root.root.bg_box.ground.ground_hit2._y - (_root.root.bg_box.ground.ground_hit2._yscale / 2)) * _root.root.bg_box.ground._yscale) / 100);
} else {
this.gnd_flg = 0;
this.jump_flg = 1;
}
if (this.jump_flg == 1) {
if (this.mov_y >= 0) {
this.anime_flg = 4;
}
if (this.mov_y < 30) {
this.mov_y++;
}
}
if ((220 < this.ea01_main._currentframe) && (270 >= this.ea01_main._currentframe)) {
if ((this.ea01_main._currentframe >= 225) && (230 >= this.ea01_main._currentframe)) {
if (0 < this.mov_y) {
this.ea01_main.gotoAndPlay(231);
}
}
if ((this.ea01_main._currentframe >= 235) && (240 >= this.ea01_main._currentframe)) {
if (0 >= this.mov_y) {
this.ea01_main.gotoAndPlay(241);
}
}
if ((this.ea01_main._currentframe >= 255) && (260 >= this.ea01_main._currentframe)) {
if (this.jump_flg == 0) {
this.smoke._visible = 1;
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((this.mov_x < 1) && (this.mov_x < -1)) {
this.mov_x = 0;
}
if ((0 < this.e_hp) && (this.mov_x != 0)) {
this.ea01_main.gotoAndPlay(261);
}
}
}
this.ea01_main.head._x = this.ea01_main.head_pos._x;
this.ea01_main.head._y = this.ea01_main.head_pos._y;
this.ea01_main.wep_arm._x = this.ea01_main.wep_arm_pos._x;
this.ea01_main.wep_arm._y = this.ea01_main.wep_arm_pos._y;
this.ea01_main.wep_arm.gotoAndStop(this.type1);
this._x = this._x + this.mov_x;
this._y = this._y + this.mov_y;
if ((_root.ground_left[2] < this._x) && (this._x < _root.ground_right[2])) {
this.gnd_flg = 2;
} else {
this.gnd_flg = 1;
}
if (this.gnd_flg == 2) {
this.e_shadow._y = _root.ground_up[2] - this._y;
} else {
this.e_shadow._y = _root.root.bg_box.ground._y - this._y;
}
if (this.gnd_hit.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.gnd_flg == 1)) {
this.anime_flg = 3;
if (this._x < _root.ground_left[2]) {
this.anime_flg = 3;
this._x = _root.ground_left[2] - 25;
}
if (_root.ground_right[2] < this._x) {
this.anime_flg = 3;
this._x = _root.ground_right[2] + 25;
}
}
Symbol 359 MovieClip [e_armor01] Frame 3
this.gotoAndPlay(2);
Symbol 365 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 365 MovieClip Frame 19
_parent.removeMovieClip();
Symbol 365 MovieClip Frame 45
_parent.removeMovieClip();
Symbol 366 MovieClip [e_bom01] Frame 1
this.mov_y = 0;
this.hit_flg = 0;
Symbol 366 MovieClip [e_bom01] Frame 2
if (this.hit_flg == 0) {
this.mov_y++;
this._y = this._y + this.mov_y;
if (this.e_bom01_main.hitTest(_root.root.bg_box.ground.ground_hit)) {
this.hit_flg = 3;
}
if (this.e_bom01_main.hitTest(_root.root.bg_box.ground.ground_hit2)) {
this.hit_flg = 3;
}
if (this.e_bom01_main.hitTest(_root.root.bg_box.ground.ground_hit3)) {
this.hit_flg = 3;
}
if (this.e_bom01_main.hitTest(_root.root.bg_box.ground.ground_hit4)) {
this.hit_flg = 3;
}
}
if (this.e_bom01_main.bom_hitarea.hitTest(_root.root.p_box.player.p_hit_area) && (this.hit_flg == 4)) {
_root.p_dmg = this.dmg;
_root.hit_mov_y = -10;
if (_root.p_pos_x < this._x) {
_root.hit_mov_x = -15;
}
if (this._x < _root.p_pos_x) {
_root.hit_mov_x = 15;
}
}
if (this.hit_flg == 1) {
this.e_bom01_main.gotoAndPlay(5);
this.hit_flg = 2;
} else if (this.hit_flg == 3) {
this.e_bom01_main.gotoAndPlay(20);
this.hit_flg = 4;
} else if (this.hit_flg == 5) {
_root.display.combo_counter.combo(1);
this.e_bom01_main.gotoAndPlay(5);
this.hit_flg = 2;
}
Symbol 366 MovieClip [e_bom01] Frame 3
this.gotoAndPlay(2);
Symbol 379 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 379 MovieClip Frame 15
this.gotoAndPlay(1);
Symbol 384 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 384 MovieClip Frame 10
this.gotoAndPlay(1);
Symbol 387 MovieClip Frame 60
this.gotoAndPlay(1);
Symbol 387 MovieClip Frame 115
this.gotoAndPlay(75);
Symbol 387 MovieClip Frame 150
this.gotoAndPlay(145);
Symbol 387 MovieClip Frame 165
_parent.atk_flg = 0;
_parent.time = 0;
this.gotoAndPlay(1);
Symbol 387 MovieClip Frame 190
this.gotoAndPlay(185);
Symbol 387 MovieClip Frame 200
if (((_root.p_pos_x - 300) < _parent._x) && (_parent._x < (_root.p_pos_x + 300))) {
_parent.atk_flg = random(2);
} else {
_parent.atk_flg = 2 + random(2);
}
_parent.time = 0;
_parent.lag = 20 + random(30);
this.gotoAndPlay(1);
Symbol 387 MovieClip Frame 305
_root.e_num[_parent.num] = 0;
_root.boss_destroy_flg++;
_parent.removeMovieClip();
Symbol 388 MovieClip [e_boss01] Frame 1
this.time = 0;
this.time2 = 0;
this.lock_num = 0;
this.efct_num = 0;
if (_root._p_pos_x < this._x) {
this.atk_flg = 4;
}
if (this._x < _root._p_pos_x) {
this.atk_flg = 5;
}
Symbol 388 MovieClip [e_boss01] Frame 2
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
if (0 >= this.hp) {
this.smoke_tankdash._visible = 0;
if (200 >= this.boss_main._currentframe) {
_root.alert_flg = 0;
_root.destroy_num++;
_root.display.combo_counter.combo(600);
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
this.time = 0;
this.boss_main.gotoAndPlay(205);
}
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((-1 < this.mov_x) && (this.mov_x < 1)) {
this.mov_x = 0;
}
this.time++;
if ((241 < this.boss_main._currentframe) && (this.time < 160)) {
this.boss_main.gotoAndPlay(240);
this.efct_num++;
if (2 < this.efct_num) {
this.efct_num = 0;
new Color(this).setRGB(16777215);
_root.root.efct_box.efct_bom01((this._x + 300) - random(600), this._y - random(300), 100, 100);
}
} else if (245 < this.boss_main._currentframe) {
this.e_shadow._alpha = 0;
}
} else {
if ((-300 >= this._x) || (this._x >= 5300)) {
this.atk_flg = 1;
}
this.time++;
if (this.boss_main.boss_dmgarea.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.hit_mov_y = -20;
_root.p_hp = _root.p_hp - ((50 - _root.a_defense_main) - _root.dash_defense);
if (this.mov_x < 0) {
_root.root.efct_box.efct_crash01(_root.p_pos_x, _root.p_pos_y - 50, -100, 100);
_root.hit_mov_x = -20;
_root.root.p_box.player.anime_flg = 9;
}
if (0 < this.mov_x) {
_root.root.efct_box.efct_crash01(_root.p_pos_x, _root.p_pos_y - 50, 100, 100);
_root.hit_mov_x = 20;
_root.root.p_box.player.anime_flg = 9;
}
_root.p_mov_x = _root.hit_mov_x;
_root.p_mov_y = _root.hit_mov_y;
}
}
if (this.atk_flg == 5) {
_root.alert_flg = 1;
if (!((this.boss_main._currentframe >= 120) && (165 >= this.boss_main._currentframe))) {
this.boss_main.gotoAndPlay(121);
}
if ((this.boss_main._currentframe >= 145) && (150 >= this.boss_main._currentframe)) {
this.smoke_tankdash._visible = 1;
if (this.mov_x < 30) {
this.mov_x++;
}
if ((_root.p_pos_x + 400) < this._x) {
this.boss_main.gotoAndPlay(151);
}
}
} else if (this.atk_flg == 4) {
_root.alert_flg = 1;
if (!((this.boss_main._currentframe >= 120) && (165 >= this.boss_main._currentframe))) {
this.boss_main.gotoAndPlay(121);
}
if ((this.boss_main._currentframe >= 145) && (150 >= this.boss_main._currentframe)) {
this.smoke_tankdash._visible = 1;
if (-30 < this.mov_x) {
this.mov_x--;
}
if (this._x < (_root.p_pos_x - 400)) {
this.boss_main.gotoAndPlay(151);
}
}
} else {
_root.alert_flg = 0;
this.smoke_tankdash._visible = 0;
}
if (this.atk_flg == 2) {
if (_root.p_pos_x < this._x) {
this._xscale = 100;
this.atk_flg = 4;
}
if (this._x < _root.p_pos_x) {
this._xscale = -100;
this.atk_flg = 5;
}
}
if (this.atk_flg == 3) {
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((-1 < this.mov_x) && (this.mov_x < 1)) {
this.mov_x = 0;
}
if (!((this.boss_main._currentframe >= 165) && (200 >= this.boss_main._currentframe))) {
this.boss_main.gotoAndPlay(166);
this.time2 = 0;
if (_root.p_pos_x < this._x) {
this._xscale = 100;
}
if (this._x < _root.p_pos_x) {
this._xscale = -100;
}
}
if ((this.boss_main._currentframe >= 185) && (190 >= this.boss_main._currentframe)) {
if (this.boss_main.boss01_cannon._currentframe == 7) {
this.shot_x = this._x;
this.shot_y = (this._y + this.boss_main.boss01_cannon._y) - 25;
if (0 < this._xscale) {
this.can_rot2 = this.boss_main.boss01_cannon._rotation + 180;
}
if (this._xscale < 0) {
this.can_rot2 = -this.boss_main.boss01_cannon._rotation;
}
_root.root.e_efct_box.e_shot01(this.shot_x, this.shot_y, 400, 70, this.can_rot2, 100, 80);
this.lock_hold = 0;
}
this.lag = 40;
if (this.lag < this.time) {
this.boss_main.boss01_mslpod.gotoAndPlay(5);
_root.root.e_efct_box.e_msl01(this._x, this._y - 100, 90 + random(180), random(8), 30);
this.time = 0;
}
this.time2++;
if ((this.time2 % 20) == 0) {
this.lock_num++;
_root.root.e_efct_box.e_lock02(this._x, this._y - 170, this.num, this.lock_num);
}
if (240 < this.time2) {
this.lock_num = 0;
this.time2 = 0;
this.boss_main.gotoAndPlay(191);
}
this.lock_x = _root.p_pos_x;
this.lock_y = _root.p_pos_y - 20;
if (0 < this._xscale) {
this.can_rot = ((-Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 190))) / (Math.PI/180)) - 90;
}
if (this._xscale < 0) {
this.can_rot = (Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 190)) / (Math.PI/180)) - 90;
}
if (40 < this.can_rot) {
this.can_rot = 40;
}
if (this.can_rot < -20) {
this.can_rot = -20;
}
if (this.cannon_flg == 1) {
this.boss_main.boss01_cannon.gotoAndPlay(5);
this.cannon_flg = 0;
}
}
} else {
this.can_rot = 0;
}
if (this.atk_flg == 1) {
if ((_root.p_pos_x + 200) < this._x) {
this._xscale = 100;
if (-6 < this.mov_x) {
this.mov_x--;
}
}
if (this._x < (_root.p_pos_x - 200)) {
this._xscale = -100;
if (this.mov_x < 6) {
this.mov_x++;
}
}
if (!((this.boss_main._currentframe >= 60) && (135 >= this.boss_main._currentframe))) {
this.boss_main.gotoAndPlay(65);
}
if (this.lag < this.time) {
if ((this._x >= (_root.p_pos_x - 300)) && ((_root.p_pos_x + 300) >= this._x)) {
this.time = 0;
this.time2 = 0;
this.lag = 20 + random(10);
this.atk_flg = random(3);
} else if ((this._x < (_root.p_pos_x - 300)) || ((_root.p_pos_x + 300) < this._x)) {
this.time = 0;
this.time2 = 0;
this.lag = 20 + random(10);
this.atk_flg = 2 + random(2);
}
}
if (this.boss_main._currentframe == 87) {
this.time2 = 0;
this.boss_main.boss01_mslpod.gotoAndPlay(5);
_root.root.e_efct_box.e_msl01(this._x, this._y - 100, 90 + random(180), 5 + random(8), 30);
}
}
if (this.atk_flg == 0) {
if (0 < this.mov_x) {
this.mov_x--;
}
if (this.mov_x < 0) {
this.mov_x++;
}
if ((-1 < this.mov_x) && (this.mov_x < 1)) {
this.mov_x = 0;
}
if (60 < this.boss_main._currentframe) {
this.boss_main.gotoAndPlay(1);
}
if (this.lag < this.time) {
if ((this._x >= (_root.p_pos_x - 300)) && ((_root.p_pos_x + 300) >= this._x)) {
this.time = 0;
this.time2 = 0;
this.lag = 20 + random(10);
this.atk_flg = random(4);
}
if ((this._x < (_root.p_pos_x - 300)) || ((_root.p_pos_x + 300) < this._x)) {
this.time = 0;
this.time2 = 0;
this.lag = 20 + random(10);
this.atk_flg = 1 + random(3);
} else {
this.time = 0;
this.time2 = 0;
this.lag = 20 + random(10);
this.atk_flg = 1;
}
}
}
if (this.can_rot < this.boss_main.boss01_cannon._rotation) {
this.boss_main.boss01_cannon._rotation--;
}
if (this.boss_main.boss01_cannon._rotation < this.can_rot) {
this.boss_main.boss01_cannon._rotation++;
}
}
this._x = this._x + this.mov_x;
_root.anime_flg = this.lock_num;
Symbol 388 MovieClip [e_boss01] Frame 3
if (_root.efct_switch == 1) {
if ((-200 < (this._x + _root.pos_box._x)) && ((this._x + _root.pos_box._x) < 840)) {
if ((this.boss_main._currentframe == 85) || (this.boss_main._currentframe == 105)) {
_root.efct_num++;
_root.p_shot_box.smoke02(this._x - 150, this._y - 20, 70 + random(50), 70 + random(50), 50 - random(100));
_root.efct_num++;
_root.p_shot_box.smoke02(this._x + 150, this._y - 20, 70 + random(50), 70 + random(50), 50 - random(100));
_root.efct_num++;
_root.p_shot_box.smoke02(this._x - 150, this._y - 20, 70 + random(50), 70 + random(50), 50 - random(100));
_root.efct_num++;
_root.p_shot_box.smoke02(this._x + 150, this._y - 20, 70 + random(50), 70 + random(50), 50 - random(100));
}
}
}
this.gotoAndPlay(2);
Symbol 391 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 391 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 391 MovieClip Frame 55
_parent.removeMovieClip();
Symbol 392 MovieClip [e_shot01] Frame 1
m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd;
m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd;
this._x = this._x + (m_x * 2);
this._y = this._y + (m_y * 2);
this.time = 0;
this.hit_flg = 0;
Symbol 392 MovieClip [e_shot01] Frame 2
if (this.hit_flg == 3) {
this._rotation = 0;
this._xscale = 100;
this._yscale = 100;
this.e_shot01_main.gotoAndPlay(5);
this.hit_flg = 4;
}
if (this.hit_flg == 1) {
this._rotation = 0;
this._xscale = 100;
this._yscale = 100;
this.e_shot01_main.gotoAndPlay(35);
this.hit_flg = 4;
}
if (this.hit_flg == 0) {
this._time++;
m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd;
m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd;
this._x = this._x + m_x;
this._y = this._y + m_y;
this.time++;
if (30 < this.time) {
this.removeMovieClip();
}
if (this.hitTest(_root.root.bg_box.ground.ground_hit) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.hitTest(_root.root.bg_box.ground.ground_hit3) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.hitTest(_root.root.bg_box.ground.ground_hit4) && (this.hit_flg == 0)) {
this.hit_flg = 3;
}
if (this.shot_core.hitTest(_root.root.p_box.player.p_hit_area) && (this.hit_flg == 0)) {
_root.p_dmg = this.dmg;
_root.hit_mov_y = -10;
if (m_x < 0) {
_root.hit_mov_x = -15;
}
if (0 < m_x) {
_root.hit_mov_x = 15;
}
this.hit_flg = 1;
}
}
Symbol 392 MovieClip [e_shot01] Frame 3
this.gotoAndPlay(2);
Symbol 395 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 395 MovieClip Frame 28
_root.e_num[_parent.num] = 0;
_parent.removeMovieClip();
Symbol 396 MovieClip [e_fly01] Frame 1
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
if (0 >= this.hp) {
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
if (5 >= this.e_main._currentframe) {
this.e_main.gotoAndPlay(15);
_root.destroy_num++;
_root.display.combo_counter.combo(10);
}
} else {
if ((_root.p_pos_y - 250) < this._y) {
if (-20 < mov_y) {
mov_y = mov_y - (1 + random(2));
}
if (-10 < this._rotation) {
this._rotation--;
}
}
if ((_root.p_pos_y - 250) >= this._y) {
if (20 >= mov_y) {
mov_y = mov_y + (1 + random(2));
}
if (this._rotation < 10) {
this._rotation++;
}
}
if (_root.p_pos_x < this._x) {
this._xscale = 100;
}
if (_root.p_pos_x >= this._x) {
this._xscale = -100;
}
if (this._x >= (_root.p_pos_x + 500)) {
if (-10 < mov_x) {
mov_x = mov_x - 1;
}
} else if ((_root.p_pos_x - 500) >= this._x) {
if (mov_x < 10) {
mov_x = mov_x + 1;
}
}
if (((_root.p_pos_x - 500) < this._x) && (this._x < (_root.p_pos_x + 500))) {
if (mov_x < -5) {
mov_x = mov_x + 1;
}
if (5 < mov_x) {
mov_x = mov_x - 1;
}
}
this.time++;
if (this.time >= this.lag) {
_root.root.e_efct_box.e_bom01(this._x, this._y + 20, 45);
this.time = 0;
this.lag = 120 + random(80);
}
this._x = this._x + mov_x;
this._y = this._y + mov_y;
}
if (_root.efct_switch == 1) {
this.e_main.destroy_sw._visible = 1;
} else {
this.e_main.destroy_sw._visible = 0;
}
Symbol 396 MovieClip [e_fly01] Frame 2
this.gotoAndPlay(1);
Symbol 399 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 399 MovieClip Frame 15
_parent.gotoAndPlay(12);
Symbol 405 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 405 MovieClip Frame 11
this.gotoAndPlay(10);
Symbol 405 MovieClip Frame 25
this.gotoAndPlay(1);
Symbol 405 MovieClip Frame 50
_root.e_num[_parent.num] = 0;
_parent.removeMovieClip();
Symbol 406 MovieClip [e_tank02] Frame 1
this.max_x = 7;
Symbol 406 MovieClip [e_tank02] Frame 2
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
if (0 >= this.hp) {
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
this.e_shadow._alpha = this.e_shadow._alpha - 10;
if (this.e_main._currentframe < 30) {
this.e_main.gotoAndPlay(30);
_root.destroy_num++;
_root.display.combo_counter.combo(12);
}
} else {
if (this.atk_flg == 0) {
this.can_rot = 0;
if (this._x < _root.p_pos_x) {
this._xscale = -100;
}
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
}
if (((_root.p_pos_x - 500) < this._x) && (this._x < (_root.p_pos_x + 500))) {
this.time++;
if ((this.lag < this.time) && (this.atk_flg == 0)) {
this.atk_flg = 1;
this.time = 0;
}
}
if (((_root.p_pos_x - 150) < this._x) && (this._x < (_root.p_pos_x + 150))) {
if (this._x < _root.p_pos_x) {
if ((-this.max_x) < this.mov_x) {
this.mov_x--;
}
}
if (_root.p_pos_x < this._x) {
if (this.mov_x < this.max_x) {
this.mov_x++;
}
}
} else if (this._x < (_root.p_pos_x - 500)) {
if (this.mov_x < this.max_x) {
this.mov_x++;
}
} else if ((_root.p_pos_x + 500) < this._x) {
if ((-this.max_x) < this.mov_x) {
this.mov_x--;
}
} else if (this.m_x != 0) {
this.mov_x = this.mov_x / 1.2;
if ((-1 < this.m_x) && (this.m_x < 1)) {
this.mov_x = 0;
}
}
}
if (this.atk_flg == 1) {
this.atk_flg = 2;
this.e_main.gotoAndPlay(5);
}
if (this.atk_flg == 2) {
this.mov_x = this.mov_x / 2;
if ((this.mov_x < 1) && (-1 < this.mov_x)) {
this.mov_x = 0;
}
this.time++;
if (30 < this.time) {
if (0 < this._xscale) {
this.shot_x = this._x - 40;
}
if (this._xscale < 0) {
this.shot_x = this._x + 40;
}
_root.root.e_efct_box.e_msl01(shot_x, this._y - 100, -180 + random(360), 5, 30);
this.e_main.e_msl_pod.gotoAndPlay(3);
this.atk_flg = 3;
}
}
if (this.atk_flg != 0) {
if (this.e_main.e_msl_pod._currentframe >= 14) {
this.e_main.gotoAndPlay(12);
}
if (this.e_main._currentframe >= 24) {
this.atk_flg = 0;
this.e_main.gotoAndPlay(1);
}
}
this._x = this._x + this.mov_x;
}
if (1 < Math.abs(this.m_x)) {
this.smoke_tankdash._visible = 1;
} else {
this.smoke_tankdash._visible = 0;
}
if (_root.efct_switch == 1) {
this.e_main.destroy_sw._visible = 1;
} else {
this.e_main.destroy_sw._visible = 0;
}
Symbol 406 MovieClip [e_tank02] Frame 3
this.gotoAndPlay(2);
Symbol 408 MovieClip [e_point] Frame 1
point_x = _root.root.e_box["enemy" + this.num]._x - _root.p_pos_x;
point_y = _root.root.e_box["enemy" + this.num]._y - _root.p_pos_y;
this._x = point_x / 20;
this._y = point_y / 20;
if (120 < this._x) {
this._x = 120;
}
if (this._x < -120) {
this._x = -120;
}
if (25 < this._y) {
this._y = 25;
}
if (this._y < -45) {
this._y = -45;
}
Symbol 408 MovieClip [e_point] Frame 2
this.gotoAndPlay(1);
Symbol 411 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 411 MovieClip Frame 15
this.gotoAndPlay(1);
Symbol 415 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 415 MovieClip Frame 30
_root.e_num[_parent.num] = 0;
_parent.removeMovieClip();
Symbol 416 MovieClip [e_tank01] Frame 1
this.max_x = 10;
Symbol 416 MovieClip [e_tank01] Frame 2
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (this.c < 1) {
this.c++;
} else if (this.c >= 1) {
new Color(this).setTransform(ColorTrans);
}
if (0 >= this.hp) {
_root.display.rader.rader_main["e_p" + this.num].removeMovieClip();
this.e_shadow._alpha = this.e_shadow._alpha - 10;
if (5 >= this.e_main._currentframe) {
this.e_main.gotoAndPlay(10);
_root.destroy_num++;
_root.display.combo_counter.combo(13);
}
} else {
if (this.atk_flg == 0) {
this.can_rot = 0;
if (this._x < _root.p_pos_x) {
this._xscale = -100;
}
if (this._x >= _root.p_pos_x) {
this._xscale = 100;
}
this.time++;
if ((this.lag < this.time) && (this.atk_flg == 0)) {
this.atk_flg = 1;
_root.root.e_efct_box.e_lock01(this._x, this._y - 40, 70, 70, this.num);
}
if (((_root.p_pos_x - 150) < this._x) && (this._x < (_root.p_pos_x + 150))) {
if (this._x < _root.p_pos_x) {
if ((-this.max_x) < this.mov_x) {
this.mov_x--;
}
}
if (_root.p_pos_x < this._x) {
if (this.mov_x < this.max_x) {
this.mov_x++;
}
}
} else if (this._x < (_root.p_pos_x - 500)) {
if (this.mov_x < this.max_x) {
this.mov_x++;
}
} else if ((_root.p_pos_x + 500) < this._x) {
if ((-this.max_x) < this.mov_x) {
this.mov_x--;
}
} else if (this.mov_x != 0) {
this.mov_x = this.mov_x / 1.2;
if ((-1 < this.mov_x) && (this.mov_x < 1)) {
this.mov_x = 0;
}
}
}
if (this.atk_flg == 1) {
this.lock_x = _root.root.e_efct_box["e_lock" + this.num]._x;
this.lock_y = _root.root.e_efct_box["e_lock" + this.num]._y;
if (0 < this._xscale) {
this.can_rot = ((-Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 60))) / (Math.PI/180)) - 90;
}
if (this._xscale < 0) {
this.can_rot = (Math.atan2(this.lock_x - this._x, this.lock_y - (this._y - 60)) / (Math.PI/180)) - 90;
}
if (40 < this.can_rot) {
this.can_rot = 40;
}
if (this.can_rot < -20) {
this.can_rot = -20;
}
}
if (this.cannon_flg == 1) {
this.e_main.e_cannon.gotoAndPlay(3);
this.atk_flg = 3;
this.cannon_flg = 0;
}
if (this.atk_flg == 3) {
if (this.e_main.e_cannon._currentframe == 4) {
this.shot_x = this._x + this.e_main.e_cannon._x;
this.shot_y = (this._y + (this.e_main.e_cannon._y / 2)) - 30;
if (0 < this._xscale) {
this.can_rot2 = this.e_main.e_cannon._rotation + 180;
}
if (this._xscale < 0) {
this.can_rot2 = -this.e_main.e_cannon._rotation;
}
_root.root.e_efct_box.e_shot01(this.shot_x, this.shot_y, 300, 60, this.can_rot2, 70, 50);
}
if (this.e_main.e_cannon._currentframe >= 13) {
this.time = 0;
this.can_rot = 0;
this.lag = 100 + random(60);
this.atk_flg = 0;
}
}
if (this.atk_flg != 0) {
if (this.mov_x != 0) {
this.mov_x = this.mov_x / 1.2;
if ((-1 < this.mov_x) && (this.mov_x < 1)) {
this.mov_x = 0;
}
}
}
if (this.can_rot < this.e_main.e_cannon._rotation) {
this.e_main.e_cannon._rotation--;
}
if (this.e_main.e_cannon._rotation < this.can_rot) {
this.e_main.e_cannon._rotation++;
}
this._x = this._x + this.mov_x;
}
if (1 < Math.abs(this.mov_x)) {
this.smoke_tankdash._visible = 1;
} else {
this.smoke_tankdash._visible = 0;
_root.anime_flg = this.can_rot2;
}
if (_root.efct_switch == 1) {
this.e_main.destroy_sw._visible = 1;
} else {
this.e_main.destroy_sw._visible = 0;
}
Symbol 416 MovieClip [e_tank01] Frame 3
this.gotoAndPlay(2);
Symbol 449 MovieClip Frame 60
this.gotoAndPlay(1);
Symbol 449 MovieClip Frame 90
this.gotoAndPlay(70);
Symbol 449 MovieClip Frame 120
this.gotoAndPlay(100);
Symbol 449 MovieClip Frame 140
this.gotoAndPlay(135);
Symbol 449 MovieClip Frame 150
this.gotoAndPlay(1);
Symbol 449 MovieClip Frame 165
this.gotoAndPlay(160);
Symbol 449 MovieClip Frame 174
this.gotoAndPlay(1);
Symbol 449 MovieClip Frame 195
this.gotoAndPlay(190);
Symbol 449 MovieClip Frame 205
this.gotoAndPlay(200);
Symbol 449 MovieClip Frame 220
_parent.anime_flg = 0;
this.gotoAndPlay(1);
Symbol 449 MovieClip Frame 280
this.gotoAndPlay(275);
Symbol 449 MovieClip Frame 290
this.gotoAndPlay(285);
Symbol 449 MovieClip Frame 315
this.gotoAndPlay(310);
Symbol 449 MovieClip Frame 330
this.gotoAndPlay(1);
Symbol 449 MovieClip Frame 373
this.gotoAndPlay(1);
_parent.anime_flg = 0;
Symbol 449 MovieClip Frame 390
this.gotoAndPlay(389);
Symbol 449 MovieClip Frame 400
this.gotoAndPlay(1);
_parent.anime_flg = 0;
Symbol 449 MovieClip Frame 430
this.gotoAndPlay(429);
Symbol 450 MovieClip [player01] Frame 1
this.anime_flg = 6;
this.jump_flg = 1;
this.dash_cnt = 0;
this.tlg = 0;
this.efct = 0;
this.jump_pw = 0;
Symbol 450 MovieClip [player01] Frame 2
if (((_root.p_dmg_flg == 0) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if (_root.p_sight._x < ((this._x + _root.root._x) - 200)) {
this._xscale = 100;
_root.sight_pos = 0;
} else if (_root.p_sight._x >= ((this._x + _root.root._x) - 200)) {
this._xscale = -100;
_root.sight_pos = 1;
}
} else if ((this.anime_flg != 10) && (this.anime_flg != 11)) {
if (0 < _root.p_mov_x) {
this._xscale = 100;
}
if (_root.p_mov_x < 0) {
this._xscale = -100;
}
}
if (0 < this.dash_cnt) {
this.dash_cnt--;
} else if (this.dash_cnt < 0) {
this.dash_cnt++;
}
if ((((this.anime_flg != 9) && (this.anime_flg != 95)) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if (_root.key_l == 1) {
if (this.tlg == 0) {
if (0 < this.dash_cnt) {
this.anime_flg = 3;
this.tlg = 1;
}
if (0 >= this.dash_cnt) {
this.dash_cnt = 10;
this.tlg = 1;
}
} else if (this.anime_flg != 3) {
if (this.jump_flg == 0) {
this.anime_flg = 1;
}
if (this.jump_flg == 1) {
this.anime_flg = 6;
}
}
if (this.jump_flg == 1) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x / 1.5;
}
}
if ((this.anime_flg == 4) || (this.anime_flg == 2)) {
this.anime_flg = 0;
}
}
if (_root.key_r == 1) {
if (this.tlg == 0) {
if (this.dash_cnt < 0) {
this.anime_flg = 4;
this.tlg = 1;
}
if (this.dash_cnt >= 0) {
this.dash_cnt = -10;
this.tlg = 1;
}
} else if (this.anime_flg != 4) {
if (this.jump_flg == 0) {
this.anime_flg = 2;
}
if (this.jump_flg == 1) {
this.anime_flg = 6;
}
}
if (this.jump_flg == 1) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = _root.p_mov_x / 1.5;
}
}
if ((this.anime_flg == 3) || (this.anime_flg == 1)) {
this.anime_flg = 0;
}
}
if (((_root.key_l == 0) && (_root.key_r == 0)) || ((_root.key_l == 1) && (_root.key_r == 1))) {
this.tlg = 0;
if (this.jump_flg == 0) {
this.anime_flg = 0;
}
if (this.jump_flg == 1) {
_root.p_mov_x = _root.p_mov_x / 1.1;
if (((0 < _root.p_mov_y) && (this.anime_flg != 6)) && (this.anime_flg != 65)) {
this.anime_flg = 6;
}
}
}
if (_root.key_d == 1) {
if (this.jump_flg == 1) {
if (_root.p_mov_y < 10) {
_root.p_mov_y = 30;
}
}
}
}
if (_root.key_u == 1) {
if (_root.p_pw < _root.b_pw_main) {
if ((_root.p_pw * 3) < _root.p_bp) {
_root.p_pw = _root.p_pw + (_root.b_pw_main / 15);
}
}
}
if (_root.key_u == 0) {
if (0 < _root.p_pw) {
if ((_root.p_pw * 3) < _root.p_bp) {
this.jump_pw = _root.p_pw;
_root.p_pw = 0;
this.anime_flg = 5;
} else if (_root.p_bp < (_root.p_pw * 3)) {
this.jump_pw = 0;
_root.p_pw = 0;
}
}
}
if ((this.p_main._currentframe >= 1) && (60 >= this.p_main._currentframe)) {
if (this.anime_flg == 1) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(65);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(95);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(132);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(157);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(157);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(132);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(187);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(273);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(345);
}
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
if ((this.p_main._currentframe >= 65) && (90 >= this.p_main._currentframe)) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 1) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(95);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(132);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(157);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(157);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(132);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(187);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(273);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(345);
}
if (this.anime_flg == 1) {
if ((-_root.a_move_main) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < (-_root.a_move_main)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 2) {
if (_root.p_mov_x < _root.a_move_main) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if (_root.a_move_main < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
}
if ((this.p_main._currentframe >= 95) && (120 >= this.p_main._currentframe)) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 1) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 2) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(65);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(132);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(157);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(157);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(132);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(187);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(273);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(345);
}
if (this.anime_flg == 1) {
if ((-_root.a_move_main) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 1;
}
if (_root.p_mov_x < (-_root.a_move_main)) {
_root.p_mov_x = _root.p_mov_x + 1;
}
}
if (this.anime_flg == 2) {
if (_root.p_mov_x < _root.a_move_main) {
_root.p_mov_x = _root.p_mov_x + 1;
}
if (_root.a_move_main < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 1;
}
}
}
if ((this.p_main._currentframe >= 125) && (175 >= this.p_main._currentframe)) {
_root.dash_defense = Math.abs(_root.p_mov_x) / 2;
this.p_main.p_boost._xscale = Math.abs(_root.p_mov_x * 2) + 20;
this.p_main.p_boost._yscale = Math.abs(_root.p_mov_x * 2) + 20;
_root.anime_flg = this.anime_flg;
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(187);
}
if (this.anime_flg == 6) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(273);
}
if (this.p_main._currentframe == 134) {
if (_root.efct_switch == 1) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y - 30, _root.b_pw_main / 2, _root.b_pw_main * 2, 0);
}
_root.p_bp = _root.p_bp - (_root.b_pw_main * 2);
if (this.anime_flg == 3) {
_root.p_mov_x = _root.p_mov_x - _root.b_pw_main;
}
if (this.anime_flg == 4) {
_root.p_mov_x = _root.p_mov_x + _root.b_pw_main;
}
}
if ((this.p_main._currentframe >= 135) && (140 >= this.p_main._currentframe)) {
_root.p_bp = _root.p_bp - ((_root.a_move_main + _root.b_pw_main) / 5);
if (0 >= _root.p_bp) {
if (this.jump_flg == 0) {
this.anime_flg = 0;
}
if (this.jump_flg == 1) {
this.anime_flg = 6;
}
}
if (5 < _root.p_mov_y) {
_root.p_mov_y = 5;
}
if ((this.anime_flg != 3) && (this.anime_flg != 4)) {
this.p_main.gotoAndPlay(142);
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(160);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(160);
}
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(375);
}
if (this.anime_flg == 3) {
if (((-_root.a_move_main) * 3) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < ((-_root.a_move_main) * 3)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 4) {
if (_root.p_mov_x < (_root.a_move_main * 3)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if ((_root.a_move_main * 3) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
}
if (this.p_main._currentframe == 159) {
if (_root.efct_switch == 1) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y - 30, _root.b_pw_main / 2, _root.b_pw_main * 2, 0);
}
_root.p_bp = _root.p_bp - (_root.b_pw_main * 3);
if (this.anime_flg == 3) {
_root.p_mov_x = _root.p_mov_x - _root.b_pw_main;
}
if (this.anime_flg == 4) {
_root.p_mov_x = _root.p_mov_x + _root.b_pw_main;
}
}
if ((this.p_main._currentframe >= 160) && (165 >= this.p_main._currentframe)) {
_root.p_bp = _root.p_bp - ((_root.a_move_main + _root.b_pw_main) / 5);
if (0 >= _root.p_bp) {
if (this.jump_flg == 0) {
this.anime_flg = 0;
}
if (this.jump_flg == 1) {
this.anime_flg = 6;
}
}
if (5 < _root.p_mov_y) {
_root.p_mov_y = 5;
}
if ((this.anime_flg != 3) && (this.anime_flg != 4)) {
this.p_main.gotoAndPlay(167);
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(135);
}
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(135);
}
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(405);
}
if (this.anime_flg == 3) {
if (((-_root.a_move_main) * 3) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
if (_root.p_mov_x < ((-_root.a_move_main) * 3)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
}
if (this.anime_flg == 4) {
if (_root.p_mov_x < (_root.a_move_main * 3)) {
_root.p_mov_x = _root.p_mov_x + 2;
}
if ((_root.a_move_main * 3) < _root.p_mov_x) {
_root.p_mov_x = _root.p_mov_x - 2;
}
}
}
} else {
_root.dash_defense = 0;
}
if ((this.p_main._currentframe >= 180) && (220 >= this.p_main._currentframe)) {
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(132);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(157);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(157);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(132);
}
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(186);
}
if (this.p_main._currentframe == 188) {
_root.p_bp = _root.p_bp - (this.jump_pw * 3);
if (0 >= _root.p_bp) {
_root.p_bp = 0;
}
_root.p_mov_y = ((-this.jump_pw) / 4) * 3;
this.jump_pw = 0;
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(273);
}
if (this.anime_flg == 10) {
this.anime_flg = 11;
this.p_main.gotoAndPlay(375);
}
if ((this.p_main._currentframe >= 190) && (195 >= this.p_main._currentframe)) {
if (_root.p_mov_y >= 0) {
this.anime_flg = 65;
this.p_main.gotoAndPlay(197);
}
}
if ((this.p_main._currentframe >= 200) && (205 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(206);
}
if (this.anime_flg == 5) {
this.anime_flg = 55;
this.p_main.gotoAndPlay(187);
}
}
if ((this.p_main._currentframe >= 210) && (220 >= this.p_main._currentframe)) {
_root.p_mov_x = _root.p_mov_x / 2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
}
}
if ((this.p_main._currentframe >= 270) && (330 >= this.p_main._currentframe)) {
_root.p_dmg_flg = 1;
if (0 < _root.p_hp) {
if (this.anime_flg == 0) {
this.p_main.gotoAndPlay(1);
}
if (this.anime_flg == 5) {
_root.root.efct_box.efct_sw01(_root.p_pos_x, _root.p_pos_y, 50, 15, 0);
this.anime_flg = 55;
this.p_main.gotoAndPlay(187);
}
}
if ((this.p_main._currentframe >= 275) && (280 >= this.p_main._currentframe)) {
if (0 >= _root.p_hp) {
this.efct_num = 0;
bom_x = (((_root.root.p_box._x - _root.root.pos_box._x) + this._x) + 30) - random(60);
bom_y = (((_root.root.p_box._y - _root.root.pos_box._y) + this._y) + 30) - random(60);
_root.root.efct_box.efct_bom01(bom_x, bom_y, 100, 100);
}
if (_root.p_mov_y >= 0) {
this.p_main.gotoAndPlay(281);
}
}
if ((this.p_main._currentframe >= 281) && (290 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(291);
}
}
if ((this.p_main._currentframe >= 310) && (315 >= this.p_main._currentframe)) {
_root.p_mov_x = _root.p_mov_x / 1.1;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
if ((_root.p_mov_x == 0) && (0 < _root.p_hp)) {
this.p_main.gotoAndPlay(316);
}
}
if (this.p_main._currentframe >= 329) {
this.anime_flg = 0;
}
} else {
_root.p_dmg_flg = 0;
}
if ((this.p_main._currentframe >= 340) && (430 >= this.p_main._currentframe)) {
_root.p_mov_x = _root.p_mov_x / 1.2;
if ((-1 < _root.p_mov_x) && (_root.p_mov_x < 1)) {
_root.p_mov_x = 0;
}
if (this.anime_flg == 3) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(132);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(157);
}
}
if (this.anime_flg == 4) {
if (_root.sight_pos == 0) {
this.p_main.gotoAndPlay(157);
}
if (_root.sight_pos == 1) {
this.p_main.gotoAndPlay(132);
}
}
if (this.anime_flg == 9) {
this.anime_flg = 95;
this.p_main.gotoAndPlay(273);
}
if ((this.p_main._currentframe == 376) || (this.p_main._currentframe == 406)) {
_root.p_mov_y = -14;
}
if (((this.p_main._currentframe >= 387) && (389 >= this.p_main._currentframe)) || ((this.p_main._currentframe >= 428) && (430 >= this.p_main._currentframe))) {
_root.p_mov_y = 30;
if (this.jump_flg == 0) {
this.p_main.gotoAndPlay(391);
}
}
if ((((this.p_main._currentframe >= 348) && (350 >= this.p_main._currentframe)) || ((this.p_main._currentframe >= 388) && (391 >= this.p_main._currentframe))) || ((this.p_main._currentframe >= 428) && (430 >= this.p_main._currentframe))) {
i = 0;
while (20 >= i) {
if (0 < _root.root.e_box["enemy" + i].hp) {
if (this.p_main.p_wep_blade.hitTest(_root.root.e_box["enemy" + i].e_core)) {
efct_pos_x = (_root.root.e_box["enemy" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = (_root.root.e_box["enemy" + i]._y + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - 5;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
}
if (this.p_main.p_wep_blade.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit == 0) {
efct_pos_x = (_root.root.e_efct_box["e_msl" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = (_root.root.e_efct_box["e_msl" + i]._y + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
_root.root.e_efct_box["e_msl" + i].hit = 1;
}
}
if (this.p_main.p_wep_blade.hitTest(_root.root.e_efct_box["e_shot" + i])) {
if (_root.root.e_efct_box["e_msl" + i].hit == 0) {
efct_pos_x = (_root.root.e_efct_box["e_msl" + i]._x + _root.p_pos_x) / 2;
efct_pos_y = (_root.root.e_efct_box["e_msl" + i]._y + _root.p_pos_y) / 2;
_root.root.efct_box.efct_slash01(efct_pos_x, efct_pos_y);
_root.root.e_efct_box["e_msl" + i].hit = 1;
}
}
i++;
}
}
}
if (this.p_main._currentframe < 255) {
this.tgt_x = (this._x + _root.root._x) - 200;
this.tgt_y = (this._y + _root.root._y) - 150;
if (_root.sight_pos == 1) {
this.wep_arm_rot = (Math.atan2(_root.p_sight._x - this.tgt_x, _root.p_sight._y - this.tgt_y) / (Math.PI/180)) - 95;
this.p_head_rot = this.wep_arm_rot;
}
if (_root.sight_pos == 0) {
this.wep_arm_rot = ((-Math.atan2(_root.p_sight._x - this.tgt_x, _root.p_sight._y - this.tgt_y)) / (Math.PI/180)) - 95;
this.p_head_rot = this.wep_arm_rot;
}
if (40 < this.p_head_rot) {
this.p_head_rot = 40;
}
if (this.p_head_rot < -40) {
this.p_head_rot = -40;
}
if (_root.shop_wep[_root.p_weps] == 2) {
this.wep_arm_rot = 0;
}
} else {
this.p_head_rot = 0;
this.wep_arm_rot = 0;
}
this.p_main.p_wep_arm._rotation = this.wep_arm_rot;
this.p_main.p_head._rotation = this.p_head_rot;
this.p_main.p_wep_arm._x = this.p_main.wep_arm_pos._x;
this.p_main.p_wep_arm._y = this.p_main.wep_arm_pos._y;
this.p_main.p_head._x = this.p_main.head_pos._x;
this.p_main.p_head._y = this.p_main.head_pos._y;
if (_root.p_pos_x < 0) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 0;
}
if (5000 < _root.p_pos_x) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 5000;
}
if (_root.p_pos_y < -1000) {
_root.p_mov_y++;
if (_root.p_mov_y < 0) {
_root.p_mov_y = _root.p_mov_y / 2;
}
}
if (_root.efct_switch == 1) {
if (this.jump_flg == 0) {
if ((this.p_main._currentframe >= 125) && (134 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
if ((this.p_main._currentframe >= 150) && (159 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
if ((this.p_main._currentframe >= 141) && (150 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(20) + 50, random(20) + 50);
}
if ((this.p_main._currentframe >= 166) && (175 >= this.p_main._currentframe)) {
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(20) + 50, random(20) + 50);
}
if (((this.p_main._currentframe >= 125) && (175 >= this.p_main._currentframe)) && (5 < Math.abs(_root.p_mov_x))) {
this.efct++;
if (3 < this.efct) {
efct = 0;
_root.root.efct_box.efct_dash01(_root.p_pos_x, _root.p_pos_y, -(_root.p_mov_x * 4), Math.abs(_root.p_mov_x * 3));
}
}
}
if ((this.p_main._currentframe >= 180) && (220 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if (((this.p_main._currentframe >= 0) && (60 >= this.p_main._currentframe)) && (5 < Math.abs(_root.p_mov_x))) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if (((this.p_main._currentframe >= 291) && (315 >= this.p_main._currentframe)) && (_root.p_mov_x != 0)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01(_root.p_pos_x, _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
if ((this.p_main._currentframe >= 391) && (400 >= this.p_main._currentframe)) {
if (this.jump_flg == 0) {
efct++;
if (3 < efct) {
efct = 0;
_root.root.efct_box.efct_jump01((_root.p_pos_x + 20) - random(40), _root.p_pos_y, random(50) + 50, random(50) + 50);
}
}
}
}
if ((((this.anime_flg != 9) && (this.anime_flg != 95)) && (this.anime_flg != 10)) && (this.anime_flg != 11)) {
if (_root.p_dmg_flg != 1) {
if ((_root.shot_flg == 1) && (_root.shot_able == 1)) {
if (_root.shop_wep[_root.p_weps] == 2) {
this.anime_flg = 10;
}
if (_root.shop_weps[_root.p_weps] != 2) {
if (this.p_main.p_wep_arm.p_weparm._currentframe == 1) {
this.p_main.p_wep_arm.p_weparm.gotoAndPlay(2);
}
}
}
}
}
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
if (c < 2) {
this.c++;
} else if (c >= 2) {
this.c = 0;
new Color(this).setTransform(ColorTrans);
}
_root.p_pos_x = _root.p_pos_x + _root.p_mov_x;
_root.p_pos_y = _root.p_pos_y + _root.p_mov_y;
this.p_main.p_wep_arm.gotoAndStop(_root.p_weps);
this.p_main.p_wep_arm.p_weparm.weparm_h.gotoAndStop(1);
this.p_main.p_wep_arm.p_weparm.weparm_s.gotoAndStop(1);
_root.anime_flg = this.anime_flg;
_root.jump_flg = this.jump_flg;
this.p_hit_tall._y = _root.p_mov_y;
if (0 < this._xscale) {
this.p_hit_side._x = _root.p_mov_x;
}
if (this._xscale < 0) {
this.p_hit_side._x = -_root.p_mov_x;
}
Symbol 450 MovieClip [player01] Frame 3
if (_root.p_pos_x < 0) {
if (_root.p_mov_x < 0) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 0;
}
if (5000 < _root.p_pos_x) {
if (0 < _root.p_mov_x) {
_root.p_mov_x = 0;
}
_root.p_pos_x = 5000;
}
this.gotoAndPlay(2);
Symbol 455 MovieClip [ground01] Frame 2
if (this.ground_hit.hitTest(_root.root.p_box.player.p_hit_tall) && (_root.p_mov_y >= 0)) {
_root.p_pos_y = this._y;
_root.p_mov_y = 0;
_root.root.p_box.player.jump_flg = 0;
} else if (this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_tall) && (_root.p_mov_y >= 0)) {
_root.p_pos_y = this._y + ((this.ground_hit2._y * this._yscale) / 100);
_root.p_mov_y = 0;
_root.root.p_box.player.jump_flg = 0;
} else if ((!this.ground_hit.hitTest(_root.root.p_box.player.p_hit_tall)) && (!this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_tall))) {
_root.root.p_box.player.jump_flg = 1;
}
if (this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_side)) {
if (0 < _root.p_mov_x) {
_root.p_pos_x = (this._x + ((this.ground_hit2._x * this._xscale) / 100)) - 21;
} else if (_root.p_mov_x < 0) {
_root.p_pos_x = (this._x + (((this.ground_hit2._x + this.ground_hit2._xscale) * this._xscale) / 100)) + 21;
}
}
if (_root.root.p_box.player.jump_flg == 1) {
if (_root.p_mov_y < 30) {
_root.p_mov_y++;
}
}
Symbol 455 MovieClip [ground01] Frame 3
gotoAndPlay (2);
Symbol 460 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 461 MovieClip [efct_dash01] Frame 2
this.gotoAndPlay(1);
Symbol 465 MovieClip Frame 25
_parent.removeMovieClip();
Symbol 466 MovieClip [efct_jump01] Frame 2
this.gotoAndPlay(1);
Symbol 467 MovieClip [p_shot_mg] Frame 1
this.m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd;
this.m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd;
this._x = this._x + this.m_x;
this._y = this._y + this.m_y;
this.gnd_flg = 0;
Symbol 467 MovieClip [p_shot_mg] Frame 2
i = 0;
while (20 >= i) {
if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core3) && (this.hit_flg == 0)) {
if ((this.m_y < 0) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
if (this.atk < 20) {
this.hit_flg = 1;
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = 200;
this._yscale = 200;
this.p_shot_main.gotoAndPlay(5);
}
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
if (this.atk < 20) {
this.hit_flg = 1;
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = 100;
this._yscale = 100;
this.p_shot_main.gotoAndPlay(5);
}
}
} else if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core2) && (this.hit_flg == 0)) {
if ((0 < this.m_y) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
if (this.atk < 20) {
this.hit_flg = 1;
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = 200;
this._yscale = 200;
this.p_shot_main.gotoAndPlay(5);
}
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
if (this.atk < 20) {
this.hit_flg = 1;
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = 100;
this._yscale = 100;
this.p_shot_main.gotoAndPlay(5);
}
}
} else if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core) && (this.hit_flg == 0)) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
if (this.atk < 20) {
this.hit_flg = 1;
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = 100;
this._yscale = 100;
this.p_shot_main.gotoAndPlay(5);
}
}
}
if (this.shot_core.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core) && (this.hit_flg == 0)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
if (this.atk < 20) {
this.hit_flg = 1;
this.p_shot_main.gotoAndPlay(5);
}
}
}
i++;
}
if (this.hit_flg == 0) {
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit)) {
this.gnd_flg = 1;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit2)) {
this.gnd_flg = 1;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit3)) {
this.gnd_flg = 1;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit4)) {
this.gnd_flg = 1;
}
}
if (this.gnd_flg == 1) {
this.gnd_flg = 2;
this.hit_flg = 1;
this.spd = 0;
this._rotation = 0;
this._xscale = 100;
this._yscale = 100;
this.p_shot_main.gotoAndPlay(15);
}
this.m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd;
this.m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd;
if (this.hit_flg == 0) {
this.time++;
if (10 < this.time) {
this.removeMovieClip();
}
this._x = this._x + this.m_x;
this._y = this._y + this.m_y;
}
if (this.hit_flg != 0) {
this._x = this._x - _root.p_mov_x;
this._y = this._y - _root.p_mov_y;
}
Symbol 467 MovieClip [p_shot_mg] Frame 3
this.gotoAndPlay(2);
Symbol 471 MovieClip [p_shadow] Frame 1
if ((_root.ground_left[2] < _root.p_pos_x) && (_root.p_pos_x < _root.ground_right[2])) {
this.gnd_flg = 2;
} else {
this.gnd_flg = 1;
}
this._x = _root.root.p_box.player._x;
if (this.gnd_flg == 1) {
this._y = (_root.root.bg_box._y - _root.root.p_box._y) + _root.root.bg_box.ground._y;
} else if (this.gnd_flg == 2) {
this._y = (_root.root.bg_box._y - _root.root.p_box._y) + _root.ground_up[2];
}
this._alpha = 100 - ((this._y - _root.root.p_box.player._y) / 2);
if ((100 - ((this._y - _root.root.p_box.player._y) / 2)) < 0) {
this._alpha = 0;
}
Symbol 471 MovieClip [p_shadow] Frame 2
this.gotoAndPlay(1);
Symbol 475 MovieClip Frame 15
this.gotoAndPlay(1);
Symbol 475 MovieClip Frame 25
this.gotoAndPlay(20);
Symbol 475 MovieClip Frame 45
_parent.removeMovieClip();
Symbol 476 MovieClip [e_lock] Frame 1
this._xscale = 100;
this._yscale = 100;
this.lock_flg = 0;
this.time = 0;
Symbol 476 MovieClip [e_lock] Frame 2
this.time++;
if (0 >= _root.root.e_box["enemy" + this.num].hp) {
this.removeMovieClip();
}
if (this.lock_flg == 0) {
this.mov_x = (_root.p_pos_x - this._x) / 5;
this.mov_y = ((_root.p_pos_y - 25) - this._y) / 5;
this._x = this._x + this.mov_x;
this._y = this._y + this.mov_y;
if (80 < this.time) {
this.time = 0;
this.lock_flg = 1;
}
}
if (this.lock_flg == 1) {
if (this.e_lock01_main._currentframe < 20) {
this.e_lock01_main.gotoAndPlay(20);
}
if (this.time >= 30) {
_root.root.e_box["enemy" + this.num].cannon_flg = 1;
this.lock_flg = 2;
this.e_lock01_main.gotoAndPlay(30);
}
}
Symbol 476 MovieClip [e_lock] Frame 3
this.gotoAndPlay(2);
Symbol 479 MovieClip [efct_slash01] Frame 8
this.removeMovieClip();
Symbol 480 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 480 MovieClip Frame 9
_parent.removeMovieClip();
Symbol 480 MovieClip Frame 30
_parent.removeMovieClip();
Symbol 481 MovieClip [p_shot_rg] Frame 1
efct_x = (_root.root.p_box._x - _root.root.pos_box._x) + this._x;
efct_y = (_root.root.p_box._y - _root.root.pos_box._y) + this._y;
Symbol 481 MovieClip [p_shot_rg] Frame 2
i = 0;
while (20 >= i) {
if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core3) && (this.hit_flg == 0)) {
if ((this.m_y < 0) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
_root.root.efct_box.efct_sw02(efct_x, efct_y, thi.atk + 4, (thi.atk * 5) + 20, this._rotation);
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
if (_root.root.e_box["enemy" + i].hp >= 0) {
this.atk = this.atk - _root.root.e_box["enemy" + i].hp;
}
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
_root.root.efct_box.efct_sw02(efct_x, efct_y, thi.atk + 4, (thi.atk * 5) + 20, this._rotation);
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
if (_root.root.e_box["enemy" + i].hp >= 0) {
this.atk = this.atk - _root.root.e_box["enemy" + i].hp;
}
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
} else if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core2) && (this.hit_flg == 0)) {
if ((0 < this.m_y) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
_root.root.efct_box.efct_sw02(efct_x, efct_y, thi.atk + 4, (thi.atk * 5) + 20, this._rotation);
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
if (_root.root.e_box["enemy" + i].hp >= 0) {
this.atk = this.atk - _root.root.e_box["enemy" + i].hp;
}
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
_root.root.efct_box.efct_sw02(efct_x, efct_y, thi.atk + 4, (thi.atk * 5) + 20, this._rotation);
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
if (_root.root.e_box["enemy" + i].hp >= 0) {
this.atk = this.atk - _root.root.e_box["enemy" + i].hp;
}
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
} else if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core) && (this.hit_flg == 0)) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
_root.root.efct_box.efct_sw02(efct_x, efct_y, thi.atk + 4, (thi.atk * 5) + 20, this._rotation);
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
if (_root.root.e_box["enemy" + i].hp >= 0) {
this.atk = this.atk - _root.root.e_box["enemy" + i].hp;
}
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
if (this.shot_core.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core) && (this.hit_flg == 0)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
i++;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit3) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit4) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (0 >= this.atk) {
this.atk = 0;
this.hit_flg = 1;
}
this.m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd;
this.m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd;
if (this.hit_flg == 0) {
if (_root.efct_switch == 1) {
if (20 < this.atk) {
_root.root.efct_box.efct_sw01(efct_x, efct_y, thi.atk + 10, thi.atk + 50, this._rotation);
_root.root.efct_box.efct_rg01(efct_x, efct_y, 200, 100, this._rotation);
}
}
this.time++;
if (20 < this.time) {
this.removeMovieClip();
}
this._x = this._x + this.m_x;
this._y = this._y + this.m_y;
} else if ((this.hit_flg == 1) && (this.p_shot_main._currentframe < 5)) {
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = this.atk + 50;
this._yscale = this.atk + 50;
this.p_shot_main.gotoAndPlay(5);
}
if ((this.hit_flg == 2) && (this.p_shot_main._currentframe < 5)) {
this.spd = 0;
this._rotation = 0;
this._xscale = this.atk + 50;
this._yscale = this.atk + 50;
this.p_shot_main.gotoAndPlay(15);
}
if (this.hit_flg != 0) {
this._x = this._x - _root.p_mov_x;
this._y = this._y - _root.p_mov_y;
}
efct_x = (_root.root.p_box._x - _root.root.pos_box._x) + this._x;
efct_y = (_root.root.p_box._y - _root.root.pos_box._y) + this._y;
Symbol 481 MovieClip [p_shot_rg] Frame 3
this.gotoAndPlay(2);
Symbol 482 MovieClip [efct_sw02] Frame 10
this.removeMovieClip();
Symbol 483 MovieClip [efct_rg] Frame 7
this.removeMovieClip();
Symbol 489 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 489 MovieClip Frame 20
_parent.removeMovieClip();
_parent.removeMovieClip();
Symbol 489 MovieClip Frame 40
_parent.removeMovieClip();
_parent.removeMovieClip();
Symbol 490 MovieClip [p_shot_bz] Frame 1
this.spd2 = 10;
this.time = 0;
this.m_x = Math.cos(this._rotation * (Math.PI/180)) * 50;
this.m_y = Math.sin(this._rotation * (Math.PI/180)) * 50;
this._x = this._x + (this.m_x - _root.p_mov_x);
this._y = this._y + (this.m_y - _root.p_mov_y);
Symbol 490 MovieClip [p_shot_bz] Frame 2
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit3) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit4) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
i = 0;
while (20 >= i) {
if (this.hit_flg == 0) {
if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core3)) {
if ((this.m_y < 0) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hit_flg = 1;
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = 200;
this._yscale = 200;
this.p_shot_main.gotoAndPlay(5);
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hit_flg = 1;
this.spd = 0;
}
} else if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core2)) {
if ((0 < this.m_y) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hit_flg = 1;
this.spd = 0;
this._rotation = this._rotation + (15 - random(30));
this._xscale = 200;
this._yscale = 200;
this.p_shot_main.gotoAndPlay(5);
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hit_flg = 1;
this.spd = 0;
}
} else if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hit_flg = 1;
this.spd = 0;
}
}
if (this.shot_core.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
this.hit_flg = 1;
}
}
} else if (this.hit_flg != 0) {
if (this.shot_core2.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - 1;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
}
}
if (this.shot_core2.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
}
i++;
}
if (this.hit_flg == 1) {
hit_flg = 3;
this.spd = 0;
this.spd2 = 0;
this._rotation = 0;
this._xscale = 100;
this._yscale = 100;
this.p_shot_main.gotoAndPlay(5);
}
if (this.hit_flg == 2) {
hit_flg = 3;
this.spd = 0;
this.spd2 = 0;
this._rotation = 0;
this._xscale = 100;
this._yscale = 100;
this.p_shot_main.gotoAndPlay(25);
}
if (this.spd2 < this.spd) {
this.spd2++;
}
this.m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd2;
this.m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd2;
if (this.hit_flg == 0) {
this.time++;
if (60 < this.time) {
this.hit_flg = 1;
}
}
if (this.hit_flg != 0) {
if (this.shot_core2.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.p_dmg = 15;
new Color(_root.root.p_box.player).setRGB(16777215);
}
}
if (_root.efct_switch == 1) {
this.efct_num++;
if (3 < this.efct_num) {
this.efct_num = 0;
bom_x = (((_root.root.p_box._x - _root.root.pos_box._x) + this._x) + 50) - random(100);
bom_y = (((_root.root.p_box._y - _root.root.pos_box._y) + this._y) + 50) - random(100);
_root.root.efct_box.efct_bom01(bom_x, bom_y, 60, 60);
}
}
}
this._x = this._x + (this.m_x - _root.p_mov_x);
this._y = this._y + (this.m_y - _root.p_mov_y);
Symbol 490 MovieClip [p_shot_bz] Frame 3
this.gotoAndPlay(2);
Symbol 494 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 494 MovieClip Frame 20
_parent.removeMovieClip();
Symbol 495 MovieClip [p_shot_gr] Frame 1
this._x = this._x + (this.m_x - _root.p_mov_x);
this._y = this._y + (this.m_y - _root.p_mov_y);
this.time = 0;
this.hit_flg = 0;
Symbol 495 MovieClip [p_shot_gr] Frame 2
if (this.hit_flg == 0) {
if (this.hitarea_tall.hitTest(_root.root.bg_box.ground.ground_hit)) {
if (this.m_y >= 0) {
this.m_x = this.m_x;
this.m_y = -Math.abs(this.m_y);
} else if (this.m_y < 0) {
this.m_x = this.m_x;
this.m_y = Math.abs(this.m_y);
}
}
if (this.hitarea_tall.hitTest(_root.root.bg_box.ground.ground_hit2)) {
if (this.m_y >= 0) {
this.m_x = this.m_x;
this.m_y = -Math.abs(this.m_y);
} else if (this.m_y < 0) {
this.m_x = this.m_x;
this.m_y = Math.abs(this.m_y);
}
}
if (this.hitarea_side.hitTest(_root.root.bg_box.ground.ground_hit2)) {
if (this.m_x >= 0) {
this.m_x = -Math.abs(this.m_x);
this.m_y = this.m_y;
} else if (this.m_x < 0) {
this.m_x = Math.abs(this.m_x);
this.m_y = this.m_y;
}
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit2) && (0 < this.m_y)) {
this.m_x = this.m_x * ((7 + random(3)) / 10);
this.m_y = this.m_y * ((7 + random(3)) / 10);
this.m_y = this.m_y * -1;
}
if (this.m_y < 30) {
this.m_y = this.m_y + 1;
}
this.p_shot_main._rotation = ((-Math.atan2(this.m_x, this.m_y)) / (Math.PI/180)) + 90;
i = 0;
while (10 >= i) {
if (this.shot_core.hitTest(_root.root.e_box["enemy" + i].e_core)) {
this.hit_flg = 1;
}
i++;
}
if (60 >= this.time) {
this.time++;
}
if (60 < this.time) {
this.hit_flg = 1;
}
if (this.hit_flg == 1) {
this.hit_flg = 2;
this.p_shot_main.gotoAndPlay(5);
}
} else if (this.hit_flg == 2) {
this.m_y = 0;
this.m_x = 0;
if (_root.efct_switch == 1) {
this.efct_num++;
if (5 < this.efct_num) {
this.efct_num = 0;
bom_x = (((_root.root.p_box._x - _root.root.pos_box._x) + this._x) + 25) - random(50);
bom_y = (((_root.root.p_box._y - _root.root.pos_box._y) + this._y) + 25) - random(50);
_root.root.efct_box.efct_bom01(bom_x, bom_y, 60, 60);
}
}
if (this.shot_core2.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.p_dmg = 15;
new Color(_root.root.p_box.player).setRGB(16777215);
}
}
i = 0;
while (20 >= i) {
if (this.shot_core2.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
}
}
if (this.shot_core2.hitTest(_root.root.e_box["enemy" + i].e_core)) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
this.m_x = 0;
this.m_y = 0;
}
}
i++;
}
}
this.hitarea_side._x = this.m_x / 2;
this.hitarea_tall._y = this.m_y / 2;
this._x = this._x + (this.m_x - _root.p_mov_x);
this._y = this._y + (this.m_y - _root.p_mov_y);
Symbol 495 MovieClip [p_shot_gr] Frame 3
this.gotoAndPlay(2);
Symbol 498 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 499 MovieClip [efct_wave01] Frame 1
if (_root.jump_flg == 0) {
if ((_root.root.p_box.player.anime_flg != 9) && (_root.root.p_box.player.anime_flg != 95)) {
if (this.hitTest(_root.root.p_box.player)) {
_root.hit_mov_y = -15;
_root.p_hp = _root.p_hp - ((50 - _root.a_defense_main) - _root.dash_defense);
_root.root.p_box.player.anime_flg = 9;
}
}
}
Symbol 499 MovieClip [efct_wave01] Frame 2
this.gotoAndPlay(1);
Symbol 502 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 502 MovieClip Frame 19
_parent.removeMovieClip();
Symbol 502 MovieClip Frame 45
_parent.removeMovieClip();
Symbol 503 MovieClip [e_mine01] Frame 1
this.hit_flg = 0;
this.gnd_flg = 0;
this.time = 0;
Symbol 503 MovieClip [e_mine01] Frame 2
if (this.hit_flg == 0) {
if (this.mov_y < 30) {
this.mov_y++;
}
if (this.e_mine_main.hitTest(_root.root.bg_box.ground.ground_hit)) {
this.gnd_flg = 1;
}
if (this.e_mine_main.hitTest(_root.root.bg_box.ground.ground_hit2)) {
this.gnd_flg = 1;
}
if (this.e_mine_main.hitTest(_root.root.bg_box.ground.ground_hit3)) {
this.gnd_flg = 1;
}
if (this.e_mine_main.hitTest(_root.root.bg_box.ground.ground_hit4)) {
this.gnd_flg = 1;
}
if (this.gnd_flg == 1) {
this.gnd_flg = 2;
this.mov_x = 0;
this.mov_y = 0;
this.time++;
if (this.time >= this.lag) {
this.hit_flg = 3;
}
if (this.hit_area.hitTest(_root.root.p_box.player.p_hit_area)) {
this.time = this.time + 5;
if (this.time >= this.lag) {
this.hit_flg = 3;
}
}
}
}
if (this.e_mine_main.bom_hitarea.hitTest(_root.root.p_box.player.p_hit_area) && (this.hit_flg == 4)) {
_root.p_dmg = this.dmg;
_root.hit_mov_y = -10;
if (_root.p_pos_x < this._x) {
_root.hit_mov_x = -15;
}
if (this._x < _root.p_pos_x) {
_root.hit_mov_x = 15;
}
}
if (this.hit_flg == 1) {
this.mov_x = 0;
this.mov_y = 0;
this.e_mine_main.gotoAndPlay(5);
this.hit_flg = 2;
} else if (this.hit_flg == 3) {
this.mov_x = 0;
this.mov_y = 0;
this.e_mine_main.gotoAndPlay(20);
this.hit_flg = 4;
} else if (this.hit_flg == 5) {
this.mov_x = 0;
this.mov_y = 0;
_root.display.combo_counter.combo(1);
this.e_mine_main.gotoAndPlay(5);
this.hit_flg = 2;
}
this._x = this._x + this.mov_x;
this._y = this._y + this.mov_y;
Symbol 503 MovieClip [e_mine01] Frame 3
this.gotoAndPlay(2);
Symbol 506 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 506 MovieClip Frame 12
_parent.removeMovieClip();
Symbol 506 MovieClip Frame 22
_parent.removeMovieClip();
Symbol 507 MovieClip [p_shot_br] Frame 1
this.m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd;
this.m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd;
this._x = this._x + this.m_x;
this._y = this._y + this.m_y;
this.hp = this.atk;
this.gnd_flg = 0;
Symbol 507 MovieClip [p_shot_br] Frame 2
i = 0;
while (20 >= i) {
if (this.hitTest(_root.root.e_box["enemy" + i].e_core3) && (this.hit_flg == 0)) {
if ((this.m_y < 0) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hp = this.hp - 1;
this.atk = this.atk - 1;
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hp = this.hp - 1;
this.atk = this.atk - 1;
}
} else if (this.hitTest(_root.root.e_box["enemy" + i].e_core2) && (this.hit_flg == 0)) {
if ((0 < this.m_y) && (Math.abs(this.m_y) >= Math.abs(this.m_x))) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16711680);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - (this.atk * 3);
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hp = this.hp - 1;
this.atk = this.atk - 1;
}
} else if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hp = this.hp - 1;
this.atk = this.atk - 1;
}
} else if (this.hitTest(_root.root.e_box["enemy" + i].e_core) && (this.hit_flg == 0)) {
if (_root.root.e_box["enemy" + i].hp >= 0) {
new Color(_root.root.e_box["enemy" + i]).setRGB(16777215);
_root.root.e_box["enemy" + i].c = 0;
_root.root.e_box["enemy" + i].hp = _root.root.e_box["enemy" + i].hp - this.atk;
_root.e_hp = _root.root.e_box["enemy" + i].hp;
_root.e_hp_max = _root.root.e_box["enemy" + i].hp_max;
this.hp = this.hp - 1;
this.atk = this.atk - 1;
}
}
if (this.shot_core.hitTest(_root.root.e_efct_box["e_msl" + i].msl_core) && (this.hit_flg == 0)) {
if (_root.root.e_efct_box["e_msl" + i].hit_flg == 0) {
_root.root.e_efct_box["e_msl" + i].hit_flg = 5;
this.hp = this.hp - 1;
this.atk = this.atk - 1;
}
}
if (0 >= this.hp) {
this.hit = 1;
i = 20;
}
i++;
}
if (this.hit_flg == 0) {
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit)) {
this.gnd_flg = 1;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit2)) {
this.gnd_flg = 1;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit3)) {
this.gnd_flg = 1;
}
if (this.shot_core.hitTest(_root.root.bg_box.ground.ground_hit4)) {
this.gnd_flg = 1;
}
}
if (this.gnd_flg == 1) {
this.gnd_flg = 2;
this.hit_flg = 3;
this.spd = 0;
this._rotation = 0;
this._xscale = 100;
this._yscale = 100;
this.p_shot_main.gotoAndPlay(15);
}
this.m_x = Math.cos(this._rotation * (Math.PI/180)) * this.spd;
this.m_y = Math.sin(this._rotation * (Math.PI/180)) * this.spd;
if (this.hit_flg == 0) {
this.time++;
if (10 < this.time) {
this.removeMovieClip();
}
this._x = this._x + this.m_x;
this._y = this._y + this.m_y;
}
if (this.hit_flg == 1) {
this.hit_flg = 2;
this.p_shot_main.gotoAndPlay(5);
}
if (this.hit_flg != 0) {
this._x = this._x - _root.p_mov_x;
this._y = this._y - _root.p_mov_y;
}
Symbol 507 MovieClip [p_shot_br] Frame 3
this.gotoAndPlay(2);
Symbol 512 MovieClip [ground02] Frame 1
_root.ground_left[1] = this._x + (((this.ground_hit._x - (this.ground_hit._xscale / 2)) * this._xscale) / 100);
_root.ground_right[1] = this._x + (((this.ground_hit._x + (this.ground_hit._xscale / 2)) * this._xscale) / 100);
_root.ground_up[1] = this._y + (((this.ground_hit._y - (this.ground_hit._yscale / 2)) * this._yscale) / 100);
_root.ground_down[1] = this._y + (((this.ground_hit._y + (this.ground_hit._yscale / 2)) * this._yscale) / 100);
_root.ground_left[2] = this._x + (((this.ground_hit2._x - (this.ground_hit2._xscale / 2)) * this._xscale) / 100);
_root.ground_right[2] = this._x + (((this.ground_hit2._x + (this.ground_hit2._xscale / 2)) * this._xscale) / 100);
_root.ground_up[2] = this._y + (((this.ground_hit2._y - (this.ground_hit2._yscale / 2)) * this._yscale) / 100);
_root.ground_down[2] = this._y + (((this.ground_hit2._y + (this.ground_hit2._yscale / 2)) * this._yscale) / 100);
_root.ground_left[3] = this._x + (((this.ground_hit3._x - (this.ground_hit3._xscale / 2)) * this._xscale) / 100);
_root.ground_right[3] = this._x + (((this.ground_hit3._x + (this.ground_hit3._xscale / 2)) * this._xscale) / 100);
_root.ground_up[3] = this._y + (((this.ground_hit3._y - (this.ground_hit3._yscale / 2)) * this._yscale) / 100);
_root.ground_down[3] = this._y + (((this.ground_hit3._y + (this.ground_hit3._yscale / 2)) * this._yscale) / 100);
_root.ground_left[4] = this._x + (((this.ground_hit4._x - (this.ground_hit4._xscale / 2)) * this._xscale) / 100);
_root.ground_right[4] = this._x + (((this.ground_hit4._x + (this.ground_hit4._xscale / 2)) * this._xscale) / 100);
_root.ground_up[4] = this._y + (((this.ground_hit4._y - (this.ground_hit4._yscale / 2)) * this._yscale) / 100);
_root.ground_down[4] = this._y + (((this.ground_hit4._y + (this.ground_hit4._yscale / 2)) * this._yscale) / 100);
_root.p_shadow_y = _root.ground_up[2];
_root.ground_cent[1] = this._x + ((this.ground_hit._x * this._xscale) / 100);
_root.ground_cent[2] = this._x + ((this.ground_hit2._x * this._xscale) / 100);
_root.ground_cent[3] = this._x + ((this.ground_hit3._x * this._xscale) / 100);
_root.ground_cent[4] = this._x + ((this.ground_hit4._x * this._xscale) / 100);
_root.ground_cent[5] = this._x + ((this.ground_hit5._x * this._xscale) / 100);
Symbol 512 MovieClip [ground02] Frame 2
if (this.ground_hit.hitTest(_root.root.p_box.player.p_hit_tall) && (_root.p_mov_y >= 0)) {
_root.p_pos_y = this._y;
_root.p_mov_y = 0;
_root.root.p_box.player.jump_flg = 0;
} else if (this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_tall) && (_root.p_mov_y >= 0)) {
_root.p_pos_y = this._y + (((this.ground_hit2._y - (this.ground_hit2._yscale / 2)) * this._yscale) / 100);
_root.p_mov_y = 0;
_root.root.p_box.player.jump_flg = 0;
} else if ((!this.ground_hit.hitTest(_root.root.p_box.player.p_hit_tall)) && (!this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_tall))) {
_root.root.p_box.player.jump_flg = 1;
}
if (this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_side)) {
if (_root.p_pos_x < (this._x + ((this.ground_hit2._x * this._xscale) / 100))) {
if (0 < _root.p_mov_x) {
_root.p_pos_x = (this._x + (((this.ground_hit2._x - (this.ground_hit2._xscale / 2)) * this._xscale) / 100)) - 21;
_root.p_mov_x = 0;
}
} else if ((this._x + ((this.ground_hit2._x * this._xscale) / 100)) < _root.p_pos_x) {
if (_root.p_mov_x < 0) {
_root.p_pos_x = (this._x + (((this.ground_hit2._x + (this.ground_hit2._xscale / 2)) * this._xscale) / 100)) + 21;
_root.p_mov_x = 0;
}
}
}
if (_root.root.p_box.player.jump_flg == 1) {
if (_root.p_mov_y < 30) {
_root.p_mov_y++;
}
}
Symbol 512 MovieClip [ground02] Frame 3
gotoAndPlay (2);
Symbol 519 MovieClip [ground03] Frame 2
if (this.ground_hit.hitTest(_root.root.p_box.player.p_hit_tall) && (_root.p_mov_y >= 0)) {
_root.p_pos_y = this._y;
_root.p_mov_y = 0;
_root.root.p_box.player.jump_flg = 0;
} else if (this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_tall) && (_root.p_mov_y >= 0)) {
_root.p_pos_y = this._y + ((this.ground_hit2._y * this._yscale) / 100);
_root.p_mov_y = 0;
_root.root.p_box.player.jump_flg = 0;
} else if ((!this.ground_hit.hitTest(_root.root.p_box.player.p_hit_tall)) && (!this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_tall))) {
_root.root.p_box.player.jump_flg = 1;
}
if (this.ground_hit2.hitTest(_root.root.p_box.player.p_hit_side)) {
if (0 < _root.p_mov_x) {
_root.p_pos_x = (this._x + ((this.ground_hit2._x * this._xscale) / 100)) - 21;
} else if (_root.p_mov_x < 0) {
_root.p_pos_x = (this._x + (((this.ground_hit2._x + this.ground_hit2._xscale) * this._xscale) / 100)) + 21;
}
}
if (_root.root.p_box.player.jump_flg == 1) {
if (_root.p_mov_y < 30) {
_root.p_mov_y++;
}
}
Symbol 519 MovieClip [ground03] Frame 3
gotoAndPlay (2);
Symbol 523 MovieClip [logo_warning] Frame 1
this.roop = 0;
Symbol 523 MovieClip [logo_warning] Frame 20
if (this.roop < 5) {
this.roop++;
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(21);
}
Symbol 523 MovieClip [logo_warning] Frame 30
_root.root.e_box.warning_flg = 2;
this.removeMovieClip();
Symbol 526 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 526 MovieClip Frame 20
_parent.removeMovieClip();
_parent.removeMovieClip();
Symbol 526 MovieClip Frame 40
_parent.removeMovieClip();
_parent.removeMovieClip();
Symbol 527 MovieClip [e_shot_bz] Frame 1
this.spd2 = 10;
this.time = 0;
this.m_x = Math.cos(this.e_shot_main._rotation * (Math.PI/180)) * 50;
this.m_y = Math.sin(this.e_shot_main._rotation * (Math.PI/180)) * 50;
this._x = this._x + (this.m_x - _root.p_mov_x);
this._y = this._y + (this.m_y - _root.p_mov_y);
this.hit_flg = 0;
Symbol 527 MovieClip [e_shot_bz] Frame 2
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit2) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit3) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.msl_core.hitTest(_root.root.bg_box.ground.ground_hit4) && (this.hit_flg == 0)) {
this.hit_flg = 2;
}
if (this.hit_flg == 1) {
this.hit_flg = 3;
this.spd = 0;
this.spd2 = 0;
this._xscale = 100;
this._yscale = 100;
this.e_shot_main.gotoAndPlay(5);
}
if (this.hit_flg == 2) {
this.hit_flg = 3;
this.spd = 0;
this.spd2 = 0;
this._xscale = 100;
this._yscale = 100;
this.e_shot_main.gotoAndPlay(25);
}
if (this.spd2 < this.spd) {
this.spd2++;
}
this.m_x = Math.cos(this.e_shot_main._rotation * (Math.PI/180)) * this.spd2;
this.m_y = Math.sin(this.e_shot_main._rotation * (Math.PI/180)) * this.spd2;
if (this.hit_flg == 0) {
if (this.msl_core.hitTest(_root.root.p_box.player.p_hit_area) && (this.hit_flg == 0)) {
_root.p_dmg = this.dmg;
_root.hit_mov_y = -15;
if (m_x < 0) {
_root.hit_mov_x = -15;
}
if (0 < m_x) {
_root.hit_mov_x = 15;
}
this.hit_flg = 1;
}
this.time++;
if (60 < this.time) {
this.hit_flg = 1;
}
}
if (this.hit_flg == 5) {
this.spd = 0;
this.spd2 = 0;
_root.display.combo_counter.combo(1);
this.hit_flg = 6;
this.e_shot_main.gotoAndPlay(5);
}
if (this.hit_flg != 0) {
this.e_shot_main._rotation = 0;
if (this.shot_core2.hitTest(_root.root.p_box.player.p_hit_area)) {
if (_root.p_dmg_flg == 0) {
_root.p_dmg = 15;
new Color(_root.root.p_box.player).setRGB(16777215);
}
}
}
this._x = this._x + this.m_x;
this._y = this._y + this.m_y;
Symbol 527 MovieClip [e_shot_bz] Frame 3
this.gotoAndPlay(2);
Symbol 529 MovieClip [title_flash] Frame 2
if (_root._currentframe == 2) {
if (_root.shot_flg == 1) {
this.gotoAndPlay(3);
} else {
this.gotoAndPlay(1);
}
}
Symbol 529 MovieClip [title_flash] Frame 50
this.gotoAndPlay(49);
Symbol 553 MovieClip Frame 1
loaded = _root.getBytesLoaded();
totalloaded = _root.getBytesTotal();
if (loaded >= totalloaded) {
_root.gotoAndStop(2);
} else {
load_parcent = (loaded / totalloaded) * 100;
load_parcent_main = Math.round(load_parcent);
this.loading_bar._xscale = (loaded / totalloaded) * 100;
_root.stop();
}
Symbol 553 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 554 MovieClip Frame 2
if (_root._currentframe == 2) {
if (_root.title_flash._currentframe == 35) {
this.gotoAndPlay(5);
}
}
if (_root.screen_flg == 1) {
_root.screen_flg = 0;
this.gotoAndPlay(5);
}
if (_root.screen_flg == 2) {
_root.screen_flg = 0;
this.gotoAndPlay(65);
}
Symbol 554 MovieClip Frame 3
this.gotoAndPlay(2);
Symbol 554 MovieClip Frame 35
if (_root.mission_num == 0) {
_root.game_flg = 0;
_root.gotoAndPlay(3);
_root.menu.gotoAndPlay(1);
} else {
if (_root.game_flg == 1) {
_root.game_flg = 0;
_root.gotoAndPlay(3);
_root.menu.gotoAndPlay(45);
}
if (_root.game_flg == 2) {
_root.game_flg = 0;
_root.gotoAndPlay(2);
}
if (_root.game_flg == 3) {
_root.gotoAndPlay(3);
_root.menu.gotoAndPlay(45);
}
if (_root._currentframe == 2) {
_root.gotoAndStop(3);
}
}
_root.screen_flg = 0;
Symbol 554 MovieClip Frame 63
this.gotoAndPlay(2);
Symbol 554 MovieClip Frame 96
if (_root.mission_num == 0) {
_root.game_flg = 0;
_root.screen_flg = 0;
_root.gotoAndPlay(3);
_root.menu.gotoAndPlay(1);
} else {
_root.screen_flg = 0;
_root.gotoAndPlay(3);
_root.menu.gotoAndPlay(45);
}
Symbol 554 MovieClip Frame 124
this.gotoAndPlay(2);
Symbol 560 MovieClip Frame 60
this.gotoAndPlay(1);
Symbol 564 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 572 MovieClip Frame 1
tlg = 0;
time = 10;
Symbol 572 MovieClip Frame 2
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
if (_root.p_sight._x < (_root.root._x - 80)) {
if (_root.root._x < 300) {
_root.root._x = _root.root._x + 10;
}
}
if ((_root.root._x + 80) < _root.p_sight._x) {
if (100 < _root.root._x) {
_root.root._x = _root.root._x - 10;
}
}
if ((_root.p_sight._x >= (_root.root._x - 80)) && ((_root.root._x + 80) >= _root.p_sight._x)) {
if (190 < _root.root._x) {
_root.root._x = _root.root._x - 10;
}
if (_root.root._x < 210) {
_root.root._x = _root.root._x + 10;
}
}
if (_root.p_sight._y < (_root.root._y - 70)) {
if (_root.root._y < 210) {
_root.root._y = _root.root._y + 10;
}
}
if ((_root.p_sight._y >= (_root.root._y - 70)) && ((_root.root._y + 70) >= _root.p_sight._y)) {
if (_root.root._y < 120) {
_root.root._y = _root.root._y + 10;
}
if (170 < _root.root._y) {
_root.root._y = _root.root._y - 10;
}
}
if (((_root.root._y + 70) < _root.p_sight._y) && (_root.jump_flg == 1)) {
if (90 < _root.root._y) {
_root.root._y = _root.root._y - 10;
}
}
if (_root.jump_flg == 0) {
if (_root.root._y < 210) {
_root.root._y = _root.root._y + 10;
}
}
if ((_root.equip_armor == 2) && (_root.shop_wep[_root.p_weps] != 5)) {
if ((10 < Math.abs(_root.p_mov_x)) || (10 < Math.abs(_root.p_mov_y))) {
if (((100 - Math.abs(_root.p_mov_x)) < _root.root._xscale) || ((100 - Math.abs(_root.p_mov_y)) < _root.root._xscale)) {
if (70 < _root.root._xscale) {
_root.root._xscale = _root.root._xscale - 3;
_root.root._yscale = _root.root._xscale;
}
}
if ((_root.root._xscale < (100 - Math.abs(_root.p_mov_x))) && (_root.root._xscale < (100 - Math.abs(_root.p_mov_y)))) {
_root.root._xscale = _root.root._xscale + 3;
_root.root._yscale = _root.root._xscale;
}
} else if (100 >= _root.root._xscale) {
_root.root._xscale = _root.root._xscale + 3;
_root.root._yscale = _root.root._xscale;
}
} else if (_root.shop_wep[_root.p_weps] == 5) {
mouse_x = Math.abs(_root.root._x - this._x);
mouse_y = Math.abs(_root.root._y - this._y);
_root.long_mouse_root = Math.round(Math.sqrt((mouse_x * mouse_x) + (mouse_y * mouse_y)) / 5);
if ((100 - (_root.long_mouse_root - 2)) < _root.root._xscale) {
if (50 < _root.root._xscale) {
_root.root._xscale = _root.root._xscale - 3;
_root.root._yscale = _root.root._xscale;
}
} else if (_root.root._xscale < (100 - (_root.long_mouse_root + 2))) {
_root.root._xscale = _root.root._xscale + 3;
_root.root._yscale = _root.root._xscale;
}
} else if (100 >= _root.root._xscale) {
_root.root._xscale = _root.root._xscale + 3;
_root.root._yscale = _root.root._xscale;
}
if (Key.isDown(37) || (Key.isDown(90))) {
_root.key_l = 1;
}
if ((!Key.isDown(37)) && (!Key.isDown(90))) {
_root.key_l = 0;
}
if ((Key.isDown(39) || (Key.isDown(67))) || (Key.isDown(86))) {
_root.key_r = 1;
}
if (((!Key.isDown(39)) && (!Key.isDown(67))) && (!Key.isDown(86))) {
_root.key_r = 0;
}
if ((Key.isDown(38) || (Key.isDown(83))) || (Key.isDown(68))) {
_root.key_u = 1;
}
if (((!Key.isDown(38)) && (!Key.isDown(83))) && (!Key.isDown(68))) {
_root.key_u = 0;
}
if (Key.isDown(40) || (Key.isDown(88))) {
_root.key_d = 1;
}
if ((!Key.isDown(40)) && (!Key.isDown(88))) {
_root.key_d = 0;
}
if (Key.isDown(32) || (Key.isDown(17))) {
_root.key_wepchange = 1;
}
if ((!Key.isDown(32)) && (!Key.isDown(17))) {
_root.key_wepchange = 0;
}
if (Key.isDown(13)) {
_root.key_efctchange = 1;
}
if (!Key.isDown(13)) {
_root.key_efctchange = 0;
}
Symbol 572 MovieClip Frame 3
this._x = _root._xmouse;
this._y = _root._ymouse;
this.gotoAndPlay(2);
Symbol 586 Button
on (release) {
if ((_root.game_flg != 1) && (_root.screen_flg != 1)) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.p_initialize();
_root.p_initialize2();
_root.e_initialize();
_root.game_initialize();
this.gotoAndPlay(5);
_root.comment = "@";
}
}
on (rollOver) {
_root.comment = "ʼn‚©‚çƒvƒŒƒC‚µ‚Ü‚·B";
}
Symbol 591 Button
on (release) {
if ((_root.game_flg != 1) && (_root.screen_flg != 1)) {
_root.p_initialize2();
_root.e_initialize();
_root.game_initialize();
this.continue_flg = 1;
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.comment = "@";
this.gotoAndPlay(41);
}
}
on (rollOver) {
_root.comment = "‘±‚«‚©‚çƒvƒŒƒC‚µ‚Ü‚·B";
}
Symbol 596 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.mission_num = 0;
_root.time = (_root.time_limit = 50);
_root.tgt_destroy = 20;
_root.e_initialize();
_root.game_initialize();
_root.player_set2();
_root.game_flg = 1;
_root.screen_flg = 1;
_root.field_flg = 1;
_root.sky_flg = 1;
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒQ[ƒ€‚Ì‘€ìŒP—û‚ðs‚¢‚Ü‚·B";
}
Symbol 604 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(33);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒ~ƒbƒVƒ‡ƒ“‚ð‘I‘ð‚µ‚Ü‚·B";
}
Symbol 609 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(29);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒvƒŒƒCƒ„[‚̃ZƒbƒgƒAƒbƒv‚ðs‚¢‚Ü‚·B";
}
Symbol 614 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(9);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "‘•”õ•i‚Ìw“üE”„‹p‚ðs‚¢‚Ü‚·B";
}
Symbol 619 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(37);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒvƒŒƒCƒf[ƒ^‚ð•Û‘¶‚µ‚Ü‚·B";
}
Symbol 624 Button
on (release) {
this.continue_flg = 0;
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(41);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒvƒŒƒCƒf[ƒ^‚ð“Ç‚Ýž‚Ý‚Ü‚·B";
}
Symbol 635 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(13);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "•Ší‚ðw“ü‚µ‚Ü‚·B";
}
Symbol 640 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(17);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "•Ší‚𔄋p‚µ‚Ü‚·B";
}
Symbol 641 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(21);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚ðw“ü‚µ‚Ü‚·B";
}
Symbol 642 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(25);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚𔄋p‚µ‚Ü‚·B";
}
Symbol 647 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(5);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒƒCƒ“ƒƒjƒ…[‚É–ß‚è‚Ü‚·B";
}
Symbol 659 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_wep;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i++;
if (_root.getwep_now[this.i] == 9) {
i = 1;
}
if (i != 1) {
if (((((_root.shop_wep[this.i] == 1) || (_root.shop_wep[this.i] == 2)) || (_root.shop_wep[this.i] == 3)) || (_root.shop_wep[this.i] == 4)) || (_root.shop_wep[this.i] == 5)) {
if (_root.getwep_now[this.i] == 0) {
this.shopicon_wep = i;
i = -2;
}
}
}
}
}
Symbol 661 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_wep;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
if (_root.getwep_now[this.i] == 8) {
i = 50;
}
i--;
if (((((_root.shop_wep[this.i] == 1) || (_root.shop_wep[this.i] == 2)) || (_root.shop_wep[this.i] == 3)) || (_root.shop_wep[this.i] == 4)) || (_root.shop_wep[this.i] == 5)) {
if (_root.getwep_now[this.i] == 0) {
this.shopicon_wep = i;
i = -2;
}
}
}
}
Symbol 691 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(10);
_root.comment = "@";
}
Symbol 692 Button
on (release) {
if ((this.shopicon_wep != 0) && (this.shopicon_wep != 1)) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_get_item");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= this.price) {
_root.getwep_now[this.shopicon_wep] = _root.shop_wep[this.shopicon_wep];
_root.c_point = _root.c_point - this.price;
this.gotoAndPlay(13);
}
}
}
Symbol 702 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_wep;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i++;
if (_root.getwep_now[this.i] == 9) {
i = 1;
}
if (((((_root.shop_wep[this.i] == 1) || (_root.shop_wep[this.i] == 2)) || (_root.shop_wep[this.i] == 3)) || (_root.shop_wep[this.i] == 4)) || (_root.shop_wep[this.i] == 5)) {
if (_root.getwep_now[this.i] != 0) {
this.shopicon_wep = i;
i = -2;
}
}
}
}
Symbol 703 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_wep;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
if (_root.getwep_now[this.i] == 8) {
i = 50;
}
i--;
if (((((_root.shop_wep[this.i] == 1) || (_root.shop_wep[this.i] == 2)) || (_root.shop_wep[this.i] == 3)) || (_root.shop_wep[this.i] == 4)) || (_root.shop_wep[this.i] == 5)) {
if (_root.getwep_now[this.i] != 0) {
this.shopicon_wep = i;
i = -2;
}
}
}
}
Symbol 704 Button
on (release) {
if ((this.shopicon_wep != 0) && (this.shopicon_wep != 1)) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_select");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.getwep_now[this.shopicon_wep] = 0;
if (_root.equip_wep[1] == this.shopicon_wep) {
_root.equip_wep[1] = 1;
}
if (_root.equip_wep[2] == this.shopicon_wep) {
_root.equip_wep[2] = 0;
}
_root.c_point = _root.c_point + this.price;
this.gotoAndPlay(17);
}
}
Symbol 715 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_armor;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i++;
if (_root.getarmor_now[this.i] == 9) {
i = 1;
}
if (i != 1) {
if (((((_root.shop_armor[this.i] == 1) || (_root.shop_armor[this.i] == 2)) || (_root.shop_armor[this.i] == 3)) || (_root.shop_armor[this.i] == 4)) || (_root.shop_armor[this.i] == 5)) {
if (_root.getarmor_now[this.i] == 0) {
this.shopicon_armor = i;
i = -2;
}
}
}
}
}
Symbol 716 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_armor;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
if (_root.getarmor_now[this.i] == 8) {
i = 20;
}
i--;
if (((((_root.shop_armor[this.i] == 1) || (_root.shop_armor[this.i] == 2)) || (_root.shop_armor[this.i] == 3)) || (_root.shop_armor[this.i] == 4)) || (_root.shop_armor[this.i] == 5)) {
if (_root.getarmor_now[this.i] == 0) {
this.shopicon_armor = i;
i = -2;
}
}
}
}
Symbol 726 Button
on (release) {
if ((this.shopicon_armor != 0) && (this.shopicon_armor != 1)) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_get_item");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= this.price) {
_root.getarmor_now[this.shopicon_armor] = _root.shop_armor[this.shopicon_armor];
_root.c_point = _root.c_point - this.price;
this.gotoAndPlay(21);
}
}
}
Symbol 738 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_armor;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i++;
if (_root.getarmor_now[this.i] == 9) {
i = 1;
}
if (((((_root.shop_armor[this.i] == 1) || (_root.shop_armor[this.i] == 2)) || (_root.shop_armor[this.i] == 3)) || (_root.shop_armor[this.i] == 4)) || (_root.shop_armor[this.i] == 5)) {
if (_root.getarmor_now[this.i] != 0) {
this.shopicon_armor = i;
i = -2;
}
}
}
}
Symbol 739 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.i = this.shopicon_armor;
j = 0;
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
if (_root.getarmor_now[this.i] == 8) {
i = 20;
}
i--;
if (((((_root.shop_armor[this.i] == 1) || (_root.shop_armor[this.i] == 2)) || (_root.shop_armor[this.i] == 3)) || (_root.shop_armor[this.i] == 4)) || (_root.shop_armor[this.i] == 5)) {
if (_root.getarmor_now[this.i] != 0) {
this.shopicon_armor = i;
i = -2;
}
}
}
}
Symbol 740 Button
on (release) {
if ((this.shopicon_armor != 0) && (this.shopicon_armor != 1)) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_select");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.getarmor_now[this.shopicon_armor] = 0;
if (_root.equip_armor == this.shopicon_armor) {
_root.equip_armor = 1;
}
_root.c_point = _root.c_point + this.price;
this.gotoAndPlay(25);
}
}
Symbol 753 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
j = 0;
i = _root.equip_armor;
while (i != -2) {
j++;
if (j >= 100) {
j = -1;
}
i++;
if (_root.getarmor_now[this.i] == 9) {
i = 1;
}
if (((((_root.getarmor_now[this.i] == 1) || (_root.getarmor_now[this.i] == 2)) || (_root.getarmor_now[this.i] == 3)) || (_root.getarmor_now[this.i] == 4)) || (_root.getarmor_now[this.i] == 5)) {
_root.equip_armor = i;
i = -2;
}
}
}
on (rollOver) {
_root.comment = "‘•”õ‚·‚éƒA[ƒ}[‚ð‘I‚ñ‚Å‚‚¾‚³‚¢B";
_root.comment2 = " ";
_root.comment3 = "";
}
Symbol 754 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
j = 0;
i = _root.equip_armor;
while (i != -2) {
j++;
if (j >= 100) {
j = -1;
}
i--;
if (_root.getarmor_now[this.i] == 8) {
i = 20;
}
if (((((_root.getarmor_now[this.i] == 1) || (_root.getarmor_now[this.i] == 2)) || (_root.getarmor_now[this.i] == 3)) || (_root.getarmor_now[this.i] == 4)) || (_root.getarmor_now[this.i] == 5)) {
_root.equip_armor = i;
i = -2;
}
}
}
on (rollOver) {
_root.comment = "‘•”õ‚·‚éƒA[ƒ}[‚ð‘I‚ñ‚Å‚‚¾‚³‚¢B";
_root.comment2 = " ";
_root.comment3 = "";
}
Symbol 757 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
j = 0;
if (_root.shop_armor[_root.equip_armor] != 5) {
i = _root.equip_wep[1];
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i++;
if (_root.getwep_now[this.i] == 9) {
i = 1;
}
if ((_root.getwep_now[this.i] == 1) || (_root.getwep_now[this.i] == 5)) {
_root.equip_wep[1] = i;
i = -2;
}
if (_root.getwep_now[this.i] == 2) {
if ((_root.shop_armor[_root.equip_armor] == 3) || (_root.shop_armor[_root.equip_armor] == 4)) {
i++;
} else {
_root.equip_wep[1] = i;
i = -2;
}
}
}
}
}
on (rollOver) {
_root.comment = "‘•”õ‚·‚é•Ší‚ð‘I‚ñ‚Å‚‚¾‚³‚¢B";
_root.comment2 = " ";
_root.comment3 = "";
}
Symbol 758 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
j = 0;
if (_root.shop_armor[_root.equip_armor] != 5) {
i = _root.equip_wep[1];
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i--;
if (_root.getwep_now[this.i] == 8) {
i = 50;
}
if ((_root.getwep_now[this.i] == 1) || (_root.getwep_now[this.i] == 5)) {
_root.equip_wep[1] = i;
i = -2;
}
if (_root.getwep_now[this.i] == 2) {
if ((_root.shop_armor[_root.equip_armor] == 3) || (_root.shop_armor[_root.equip_armor] == 4)) {
i--;
} else {
_root.equip_wep[1] = i;
i = -2;
}
}
}
}
}
on (rollOver) {
_root.comment = "‘•”õ‚·‚é•Ší‚ð‘I‚ñ‚Å‚‚¾‚³‚¢B";
_root.comment2 = " ";
_root.comment3 = "";
}
Symbol 759 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
j = 0;
if ((_root.shop_armor[_root.equip_armor] == 2) || (_root.shop_armor[_root.equip_armor] == 4)) {
i = _root.equip_wep[2];
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i++;
if (_root.getwep_now[this.i] == 9) {
i = 0;
}
if (((_root.getwep_now[this.i] == 1) || (_root.getwep_now[this.i] == 5)) || (_root.getwep_now[this.i] == 8)) {
_root.equip_wep[2] = i;
i = -2;
}
if (_root.getwep_now[this.i] == 2) {
if ((_root.shop_armor[_root.equip_armor] == 3) || (_root.shop_armor[_root.equip_armor] == 4)) {
i++;
} else {
_root.equip_wep[2] = i;
i = -2;
}
}
}
}
}
on (rollOver) {
_root.comment = "‘•”õ‚·‚é•Ší‚ð‘I‚ñ‚Å‚‚¾‚³‚¢B";
_root.comment2 = " ";
_root.comment3 = "";
}
Symbol 760 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
j = 0;
if ((_root.shop_armor[_root.equip_armor] == 2) || (_root.shop_armor[_root.equip_armor] == 4)) {
i = _root.equip_wep[2];
while ((i != -2) && (j != -1)) {
j++;
if (j >= 100) {
j = -1;
}
i--;
if (i < 0) {
i = 50;
}
if (((_root.getwep_now[this.i] == 1) || (_root.getwep_now[this.i] == 5)) || (_root.getwep_now[this.i] == 8)) {
_root.equip_wep[2] = i;
i = -2;
}
if (_root.getwep_now[this.i] == 2) {
if ((_root.shop_armor[_root.equip_armor] == 3) || (_root.shop_armor[_root.equip_armor] == 4)) {
i--;
} else {
_root.equip_wep[2] = i;
i = -2;
}
}
}
}
}
on (rollOver) {
_root.comment = "‘•”õ‚·‚é•Ší‚ð‘I‚ñ‚Å‚‚¾‚³‚¢B";
_root.comment2 = " ";
_root.comment3 = "";
}
Symbol 768 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= (((200 * (_root.a_max[_root.equip_armor] + 1)) * (_root.a_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor])) {
if (_root.a_max[_root.equip_armor] < 10) {
_root.c_point = _root.c_point - (((200 * (_root.a_max[_root.equip_armor] + 1)) * (_root.a_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor]);
_root.a_max[_root.equip_armor]++;
_root.comment3 = ((200 * (_root.a_max[_root.equip_armor] + 1)) * (_root.a_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
if (_root.a_max[_root.equip_armor] >= 10) {
_root.a_max[_root.equip_armor] = 10;
_root.comment3 = "‹‰»ŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚Ì‘Ï‹vŒÀŠE‚ð‹‰»‚µ‚Ü‚·B";
_root.comment2 = "•K—vCPF";
if (_root.a_max[_root.equip_armor] >= 10) {
_root.comment3 = "‹‰»ŒÀŠE";
} else {
_root.comment3 = ((200 * (_root.a_max[_root.equip_armor] + 1)) * (_root.a_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 769 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= (((300 * (_root.a_defense[_root.equip_armor] + 1)) * (_root.a_defense[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor])) {
if (_root.a_defense[_root.equip_armor] < 10) {
_root.c_point = _root.c_point - (((300 * (_root.a_defense[_root.equip_armor] + 1)) * (_root.a_defense[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor]);
_root.a_defense[_root.equip_armor]++;
_root.comment3 = ((300 * (_root.a_defense[_root.equip_armor] + 1)) * (_root.a_defense[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
if (_root.a_defense[_root.equip_armor] >= 10) {
_root.a_defense[_root.equip_armor] = 10;
_root.comment3 = "‹‰»ŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚Ì–hŒä—Í‚ð‹‰»‚µ‚Ü‚·B";
_root.comment2 = "•K—vCPF";
if (_root.a_defense[_root.equip_armor] >= 10) {
_root.comment3 = "‹‰»ŒÀŠE";
} else {
_root.comment3 = ((300 * (_root.a_defense[_root.equip_armor] + 1)) * (_root.a_defense[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 770 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= (((500 * (_root.a_move[_root.equip_armor] + 1)) * (_root.a_move[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor])) {
if (_root.a_move[_root.equip_armor] < 10) {
_root.c_point = _root.c_point - (((500 * (_root.a_move[_root.equip_armor] + 1)) * (_root.a_move[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor]);
_root.a_move[_root.equip_armor]++;
_root.comment3 = ((500 * (_root.a_move[_root.equip_armor] + 1)) * (_root.a_move[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
if (_root.a_move[_root.equip_armor] >= 10) {
_root.a_move[_root.equip_armor] = 10;
_root.comment3 = "‹‰»ŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚̈ړ®”\\—Í‚ð‹‰»‚µ‚Ü‚·B";
_root.comment2 = "•K—vCPF";
if (_root.a_move[_root.equip_armor] >= 10) {
_root.comment3 = "‹‰»ŒÀŠE";
} else {
_root.comment3 = ((500 * (_root.a_move[_root.equip_armor] + 1)) * (_root.a_move[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 771 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= (((200 * (_root.b_max[_root.equip_armor] + 1)) * (_root.b_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor])) {
if (_root.b_max[_root.equip_armor] < 10) {
_root.c_point = _root.c_point - (((200 * (_root.b_max[_root.equip_armor] + 1)) * (_root.b_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor]);
_root.b_max[_root.equip_armor]++;
_root.comment3 = ((200 * (_root.b_max[_root.equip_armor] + 1)) * (_root.b_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
if (_root.b_max[_root.equip_armor] >= 10) {
_root.b_max[_root.equip_armor] = 10;
_root.comment3 = "‹‰»ŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒu[ƒXƒg‚ÌŒp‘±ŽžŠÔ‚ð‹‰»‚µ‚Ü‚·B";
_root.comment2 = "•K—vCPF";
if (_root.b_max[_root.equip_armor] >= 10) {
_root.comment3 = "‹‰»ŒÀŠE";
} else {
_root.comment3 = ((200 * (_root.b_max[_root.equip_armor] + 1)) * (_root.b_max[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 772 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= (((500 * (_root.b_pw[_root.equip_armor] + 1)) * (_root.b_pw[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor])) {
if (_root.b_pw[_root.equip_armor] < 10) {
_root.c_point = _root.c_point - (((500 * (_root.b_pw[_root.equip_armor] + 1)) * (_root.b_pw[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor]);
_root.b_pw[_root.equip_armor]++;
_root.comment3 = ((500 * (_root.b_pw[_root.equip_armor] + 1)) * (_root.b_pw[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
if (_root.b_pw[_root.equip_armor] >= 10) {
_root.b_pw[_root.equip_armor] = 10;
_root.comment3 = "‹‰»ŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒu[ƒXƒg‚Ìo—Í‚ð‹‰»‚µ‚Ü‚·B";
_root.comment2 = "•K—vCPF";
if (_root.b_pw[_root.equip_armor] >= 10) {
_root.comment3 = "‹‰»ŒÀŠE";
} else {
_root.comment3 = ((500 * (_root.b_pw[_root.equip_armor] + 1)) * (_root.b_pw[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 773 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.c_point >= (((300 * (_root.b_recv[_root.equip_armor] + 1)) * (_root.b_recv[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor])) {
if (_root.b_recv[_root.equip_armor] < 10) {
_root.c_point = _root.c_point - (((300 * (_root.b_recv[_root.equip_armor] + 1)) * (_root.b_recv[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor]);
_root.b_recv[_root.equip_armor]++;
_root.comment3 = ((300 * (_root.b_recv[_root.equip_armor] + 1)) * (_root.b_recv[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
if (_root.b_recv[_root.equip_armor] >= 10) {
_root.b_recv[_root.equip_armor] = 10;
_root.comment3 = "‹‰»ŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒu[ƒXƒg‚̉ñ•œ—Í‚ð‹‰»‚µ‚Ü‚·B";
_root.comment2 = "•K—vCPF";
if (_root.b_recv[_root.equip_armor] >= 10) {
_root.comment3 = "‹‰»ŒÀŠE";
} else {
_root.comment3 = ((300 * (_root.b_recv[_root.equip_armor] + 1)) * (_root.b_recv[_root.equip_armor] + 1)) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 775 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (0 < _root.a_max[_root.equip_armor]) {
_root.c_point = _root.c_point + (((200 * _root.a_max[_root.equip_armor]) * _root.a_max[_root.equip_armor]) * _root.cost_armor[_root.equip_armor]);
_root.a_max[_root.equip_armor]--;
_root.comment3 = ((200 * _root.a_max[_root.equip_armor]) * _root.a_max[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
if (0 >= _root.a_max[_root.equip_armor]) {
_root.a_max[_root.equip_armor] = 0;
_root.comment3 = "’ቺŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚Ì‘Ï‹vŒÀŠE‚ð’ቺ‚³‚¹‚Ü‚·B";
_root.comment2 = "ŠÒŒ³CPF";
if (0 >= _root.a_max[_root.equip_armor]) {
_root.comment3 = "’ቺŒÀŠE";
} else {
_root.comment3 = ((200 * _root.a_max[_root.equip_armor]) * _root.a_max[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 776 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (0 < _root.a_defense[_root.equip_armor]) {
_root.c_point = _root.c_point + (((300 * _root.a_defense[_root.equip_armor]) * _root.a_defense[_root.equip_armor]) * _root.cost_armor[_root.equip_armor]);
_root.a_defense[_root.equip_armor]--;
_root.comment3 = ((300 * _root.a_defense[_root.equip_armor]) * _root.a_defense[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
if (0 >= _root.a_defense[_root.equip_armor]) {
_root.a_defense[_root.equip_armor] = 0;
_root.comment3 = "’ቺŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚Ì–hŒä—Í‚ð’ቺ‚³‚¹‚Ü‚·B";
_root.comment2 = "ŠÒŒ³CPF";
if (0 >= _root.a_defense[_root.equip_armor]) {
_root.comment3 = "’ቺŒÀŠE";
} else {
_root.comment3 = ((300 * _root.a_defense[_root.equip_armor]) * _root.a_defense[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 777 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (0 < _root.a_move[_root.equip_armor]) {
_root.c_point = _root.c_point + (((500 * _root.a_move[_root.equip_armor]) * _root.a_move[_root.equip_armor]) * _root.cost_armor[_root.equip_armor]);
_root.a_move[_root.equip_armor]--;
_root.comment3 = ((500 * _root.a_move[_root.equip_armor]) * _root.a_move[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
if (0 >= _root.a_move[_root.equip_armor]) {
_root.a_move[_root.equip_armor] = 0;
_root.comment3 = "’ቺŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒA[ƒ}[‚̈ړ®”\\—Í‚ð’ቺ‚³‚¹‚Ü‚·B";
_root.comment2 = "ŠÒŒ³CPF";
if (0 >= _root.a_move[_root.equip_armor]) {
_root.comment3 = "’ቺŒÀŠE";
} else {
_root.comment3 = ((500 * _root.a_move[_root.equip_armor]) * _root.a_move[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 778 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (0 < _root.b_max[_root.equip_armor]) {
_root.c_point = _root.c_point + (((200 * _root.b_max[_root.equip_armor]) * _root.b_max[_root.equip_armor]) * _root.cost_armor[_root.equip_armor]);
_root.b_max[_root.equip_armor]--;
_root.comment3 = ((200 * _root.b_max[_root.equip_armor]) * _root.b_max[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
if (0 >= _root.b_max[_root.equip_armor]) {
_root.b_max[_root.equip_armor] = 0;
_root.comment3 = "’ቺŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒu[ƒXƒg‚ÌŒp‘±ŽžŠÔ‚ð’ቺ‚³‚¹‚Ü‚·B";
_root.comment2 = "ŠÒŒ³CPF";
if (0 >= _root.b_max[_root.equip_armor]) {
_root.comment3 = "’ቺŒÀŠE";
} else {
_root.comment3 = ((200 * _root.b_max[_root.equip_armor]) * _root.b_max[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 779 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (0 < _root.b_pw[_root.equip_armor]) {
_root.c_point = _root.c_point + (((500 * _root.b_pw[_root.equip_armor]) * _root.b_pw[_root.equip_armor]) * _root.cost_armor[_root.equip_armor]);
_root.b_pw[_root.equip_armor]--;
_root.comment3 = ((500 * _root.b_pw[_root.equip_armor]) * _root.b_pw[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
if (0 >= _root.b_pw[_root.equip_armor]) {
_root.b_pw[_root.equip_armor] = 0;
_root.comment3 = "’ቺŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒu[ƒXƒg‚Ìo—Í‚ð’ቺ‚³‚¹‚Ü‚·B";
_root.comment2 = "ŠÒŒ³CPF";
if (0 >= _root.b_pw[_root.equip_armor]) {
_root.comment3 = "’ቺŒÀŠE";
} else {
_root.comment3 = ((500 * _root.b_pw[_root.equip_armor]) * _root.b_pw[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 780 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (0 < _root.b_recv[_root.equip_armor]) {
_root.c_point = _root.c_point + (((300 * _root.b_recv[_root.equip_armor]) * _root.b_recv[_root.equip_armor]) * _root.cost_armor[_root.equip_armor]);
_root.b_recv[_root.equip_armor]--;
_root.comment3 = ((300 * _root.b_recv[_root.equip_armor]) * _root.b_recv[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
if (0 >= _root.b_recv[_root.equip_armor]) {
_root.b_recv[_root.equip_armor] = 0;
_root.comment3 = "’ቺŒÀŠE";
}
}
on (rollOver) {
_root.comment = "ƒu[ƒXƒg‚̉ñ•œ—Í‚ð’ቺ‚³‚¹‚Ü‚·B";
_root.comment2 = "ŠÒŒ³CPF";
if (0 >= _root.b_recv[_root.equip_armor]) {
_root.comment3 = "’ቺŒÀŠE";
} else {
_root.comment3 = ((300 * _root.b_recv[_root.equip_armor]) * _root.b_recv[_root.equip_armor]) * _root.cost_armor[_root.equip_armor];
}
}
Symbol 781 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(5);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒJƒXƒ^ƒ}ƒCƒY‚ðI—¹‚µ‚Ü‚·B";
}
Symbol 809 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (_root.mission_num != 0) {
_root.player_set();
_root.game_flg = 1;
_root.screen_flg = 1;
}
_root.comment = "@";
}
on (rollOver) {
_root.comment = "oŒ‚‚µ‚Ü‚·B";
}
Symbol 814 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(5);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒƒCƒ“ƒƒjƒ…[‚É–ß‚è‚Ü‚·B";
}
Symbol 819 Button
on (release) {
if (_root.game_flg == 0) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.mission_num--;
if (_root.mission_num < 1) {
_root.mission_num = 11;
}
}
}
Symbol 820 Button
on (release) {
if (_root.game_flg == 0) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.mission_num++;
if (11 < _root.mission_num) {
_root.mission_num = 1;
}
}
}
Symbol 843 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
this.gotoAndPlay(5);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒƒCƒ“ƒƒjƒ…[‚É–ß‚è‚Ü‚·B";
}
Symbol 856 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.save_write1();
_root.comment = "@";
this.gotoAndPlay(37);
}
on (rollOver) {
_root.comment = "ƒf[ƒ^‚P‚É•Û‘¶‚µ‚Ü‚·B";
}
Symbol 857 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.save_write2();
_root.comment = "@";
this.gotoAndPlay(37);
}
on (rollOver) {
_root.comment = "ƒf[ƒ^‚Q‚É•Û‘¶‚µ‚Ü‚·B";
}
Symbol 861 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
if (this.continue_flg == 1) {
this.continue_flg = 0;
this.gotoAndPlay(1);
} else {
this.gotoAndPlay(5);
}
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒƒCƒ“ƒƒjƒ…[‚É–ß‚è‚Ü‚·B";
}
Symbol 874 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.save_read1();
_root.comment = "@";
this.gotoAndPlay(5);
}
on (rollOver) {
_root.comment = "ƒf[ƒ^‚P‚ð“Ç‚Ýž‚Ý‚Ü‚·B";
}
Symbol 875 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.save_read2();
_root.comment = "@";
this.gotoAndPlay(5);
}
on (rollOver) {
_root.comment = "ƒf[ƒ^‚Q‚ð“Ç‚Ýž‚Ý‚Ü‚·B";
}
Symbol 892 Button
on (release) {
mu_bgm = new Sound(_root);
mu_bgm.attachSound("se_decision");
mu_bgm.start(0, 1);
mu_bgm.setVolume(50);
_root.c_point = _root.c_point + Math.round(_root.get_points);
if (9999999999 < _root.c_point) {
_root.c_point = 9999999999;
}
_root.total_destroy = _root.total_destroy + _root.destroy_num;
if (10000 < _root.total_destroy) {
_root.shop_wep[35] = 5;
}
if (5000 < _root.total_destroy) {
_root.shop_wep[36] = 1;
}
_root.game_flg = 0;
_root.game_initialize();
this.gotoAndPlay(5);
_root.comment = "@";
}
on (rollOver) {
_root.comment = "ƒŠƒUƒ‹ƒg‚ðI—¹‚µ‚Ü‚·B";
}
Symbol 903 MovieClip Frame 1
_root.comment = "";
Symbol 903 MovieClip Frame 2
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 3
this.gotoAndPlay(2);
Symbol 903 MovieClip Frame 6
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 7
this.gotoAndPlay(6);
Symbol 903 MovieClip Frame 10
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 11
this.gotoAndPlay(10);
Symbol 903 MovieClip Frame 13
this.shopicon_wep = 0;
this.wep_icons.gotoAndStop(this.shopicon_wep + 1);
Symbol 903 MovieClip Frame 14
if (this.shopicon_wep == 0) {
this.bar_attack._xscale = 0;
this.bar_rapid._xscale = 0;
this.bar_range._xscale = 0;
this.bar_bullets._xscale = 0;
this.bar_reload._xscale = 0;
this.price = "----";
_root.comment = "w“ü‚·‚é•Ší‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B";
this.name_wep1 = "----";
} else if (this.shopicon_wep == 1) {
this.bar_attack._xscale = 5;
this.bar_rapid._xscale = 90;
this.bar_range._xscale = 30;
this.bar_bullets._xscale = 45;
this.bar_reload._xscale = 50;
this.price = "----";
_root.comment = "˜AŽË”\\—Í‚Ì‚‚¢ƒ}ƒVƒ“ƒKƒ“‚Å‚·B";
this.name_wep1 = "TMG-001 THE VOICE";
} else if (this.shopicon_wep == 2) {
this.bar_attack._xscale = 10;
this.bar_rapid._xscale = 95;
this.bar_range._xscale = 30;
this.bar_bullets._xscale = 15;
this.bar_reload._xscale = 70;
this.price = 39000;
_root.comment = "UŒ‚—͂̉ü—Ç‚ðŽ{‚µ‚½ƒ}ƒVƒ“ƒKƒ“‚Å‚·";
this.name_wep1 = "TMG-013S ANTARES";
} else if (this.shopicon_wep == 5) {
this.bar_attack._xscale = 25;
this.bar_rapid._xscale = 35;
this.bar_range._xscale = 25;
this.bar_bullets._xscale = 25;
this.bar_reload._xscale = 40;
this.price = 19000;
_root.comment = "ŠgŽU’e‚ð”ŽË‚·‚éƒVƒ‡ƒbƒgƒKƒ“‚Å‚·B";
this.name_wep1 = "TSG-001 RAIN";
} else if (this.shopicon_wep == 10) {
this.bar_attack._xscale = 25;
this.bar_rapid._xscale = 30;
this.bar_range._xscale = 90;
this.bar_bullets._xscale = 40;
this.bar_reload._xscale = 50;
this.price = 54000;
_root.comment = "’·‹——£¸–§ŽËŒ‚‚ª‰Â”\\‚ȃXƒiƒCƒp[ƒ‰ƒCƒtƒ‹‚Å‚·B";
this.name_wep1 = "TSR-022 HAWK-EYE";
} else if (this.shopicon_wep == 15) {
this.bar_attack._xscale = 15;
this.bar_rapid._xscale = 65;
this.bar_range._xscale = 60;
this.bar_bullets._xscale = 30;
this.bar_reload._xscale = 40;
this.price = 75000 /* 0x0124F8 */;
_root.comment = "”CˆÓ—U“±‚ª‰Â”\\‚ȃ~ƒTƒCƒ‹ƒ|ƒbƒh‚Å‚·B";
this.name_wep1 = "MSL-001 PHANTOM-TAILS";
} else if (this.shopicon_wep == 20) {
this.bar_attack._xscale = 75;
this.bar_rapid._xscale = 35;
this.bar_range._xscale = 15;
this.bar_bullets._xscale = 25;
this.bar_reload._xscale = 40;
this.price = 89000 /* 0x015BA8 */;
_root.comment = "ˆê’莞ŠÔ‚Å”š”‚·‚é’e‚ðŒ‚‚ÂƒOƒŒƒl[ƒhƒ‰ƒ“ƒ`ƒƒ[‚Å‚·B";
this.name_wep1 = "GRB-013 BOUNDARY";
} else if (this.shopicon_wep == 21) {
this.bar_attack._xscale = 65;
this.bar_rapid._xscale = 45;
this.bar_range._xscale = 15;
this.bar_bullets._xscale = 10;
this.bar_reload._xscale = 70;
this.price = 168000 /* 0x029040 */;
_root.comment = "–Ú•W‚ÉŽh‚³‚èAŽžŠÔ·”š”‚ð‹N‚±‚·ƒOƒŒƒl[ƒhƒpƒCƒ‹‚Å‚·B";
this.name_wep1 = "NGP-003 ECLIPSE";
} else if (this.shopicon_wep == 25) {
this.bar_attack._xscale = 55;
this.bar_rapid._xscale = 15;
this.bar_range._xscale = 40;
this.bar_bullets._xscale = 15;
this.bar_reload._xscale = 30;
this.price = 280000 /* 0x0445C0 */;
_root.comment = "’…’eŒã”š”‚·‚é’e‚ðŒ‚‚ÂƒoƒY[ƒJ‚Å‚·B";
this.name_wep1 = "TBZ-013 AGONY";
} else if (this.shopicon_wep == 30) {
this.bar_attack._xscale = 80;
this.bar_rapid._xscale = 45;
this.bar_range._xscale = 70;
this.bar_bullets._xscale = 10;
this.bar_reload._xscale = 1;
this.price = 28000000 /* 0x1AB3F00 */;
_root.comment = "‚o—͂̃|ƒWƒgƒƒ“ƒ‰ƒCƒtƒ‹‚Å‚·B";
this.name_wep1 = "PSR-X71 REQUIEM";
} else if (this.shopicon_wep == 35) {
this.bar_attack._xscale = 75;
this.bar_rapid._xscale = 5;
this.bar_range._xscale = 80;
this.bar_bullets._xscale = 5;
this.bar_reload._xscale = 15;
this.price = 35000000 /* 0x2160EC0 */;
_root.comment = "ƒ`ƒƒ[ƒWƒVƒ‡ƒbƒg‚ð•ú‚ƒŒ[ƒ‹ƒKƒ“‚Å‚·B";
this.name_wep1 = "RGN-050C LONGINUS";
} else if (this.shopicon_wep == 36) {
this.bar_attack._xscale = 75;
this.bar_rapid._xscale = 50;
this.bar_range._xscale = 80;
this.bar_bullets._xscale = 30;
this.bar_reload._xscale = 20;
this.price = 1500000 /* 0x16E360 */;
_root.comment = "”Ä—p«‚Ì‚‚¢ƒr[ƒ€ƒ‰ƒCƒtƒ‹‚Å‚·B";
this.name_wep1 = "BMR-250 DESIRE";
} else if (this.shopicon_wep == 40) {
this.bar_attack._xscale = 60;
this.bar_rapid._xscale = 20;
this.bar_range._xscale = 10;
this.bar_bullets._xscale = 100;
this.bar_reload._xscale = 100;
this.price = 120000 /* 0x01D4C0 */;
_root.comment = "‹ßÚí—p‚Ì•¨—ƒuƒŒ[ƒh‚Å‚·B";
this.name_wep1 = "BLD-S05 ’fb“";
} else if (this.shopicon_wep == 45) {
this.bar_attack._xscale = 90;
this.bar_rapid._xscale = 90;
this.bar_range._xscale = 10;
this.bar_bullets._xscale = 100;
this.bar_reload._xscale = 100;
this.price = 235;
_root.comment = "‹ßÚí—p‚Ì‘•b•ºŠíˆ—‘•’uEƒuƒŒ[ƒhƒ\\[‚Å‚·B";
this.name_wep1 = "BLS-913 GENOS";
} else {
this.bar_attack._xscale = 0;
this.bar_rapid._xscale = 0;
this.bar_range._xscale = 0;
this.bar_bullets._xscale = 0;
this.bar_reload._xscale = 0;
this.price = "----";
_root.comment = "w“ü‚·‚é•Ší‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B";
this.name_wep1 = "----";
}
this.wep_icons.gotoAndStop(this.shopicon_wep + 1);
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 15
this.gotoAndPlay(14);
Symbol 903 MovieClip Frame 17
this.shopicon_wep = 0;
this.wep_icons.gotoAndStop(this.shopicon_wep + 1);
Symbol 903 MovieClip Frame 18
if (this.shopicon_wep == 0) {
this.bar_attack._xscale = 0;
this.bar_rapid._xscale = 0;
this.bar_range._xscale = 0;
this.bar_bullets._xscale = 0;
this.bar_reload._xscale = 0;
this.price = "----";
_root.comment = "”„‹p‚·‚é•Ší‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B";
this.name_wep1 = "----";
} else if (this.shopicon_wep == 1) {
this.bar_attack._xscale = 5;
this.bar_rapid._xscale = 90;
this.bar_range._xscale = 30;
this.bar_bullets._xscale = 45;
this.bar_reload._xscale = 50;
this.price = "----";
_root.comment = "˜AŽË”\\—Í‚Ì‚‚¢ƒ}ƒVƒ“ƒKƒ“‚Å‚·B";
this.name_wep1 = "TMG-001 THE VOICE";
} else if (this.shopicon_wep == 2) {
this.bar_attack._xscale = 10;
this.bar_rapid._xscale = 95;
this.bar_range._xscale = 30;
this.bar_bullets._xscale = 15;
this.bar_reload._xscale = 70;
this.price = 39000;
_root.comment = "UŒ‚—͂̉ü—Ç‚ðŽ{‚µ‚½ƒ}ƒVƒ“ƒKƒ“‚Å‚·";
this.name_wep1 = "TMG-013S ANTARES";
} else if (this.shopicon_wep == 5) {
this.bar_attack._xscale = 25;
this.bar_rapid._xscale = 35;
this.bar_range._xscale = 25;
this.bar_bullets._xscale = 25;
this.bar_reload._xscale = 40;
this.price = 19000;
_root.comment = "ŠgŽU’e‚ð”ŽË‚·‚éƒVƒ‡ƒbƒgƒKƒ“‚Å‚·B";
this.name_wep1 = "TSG-001 RAIN";
} else if (this.shopicon_wep == 10) {
this.bar_attack._xscale = 25;
this.bar_rapid._xscale = 30;
this.bar_range._xscale = 90;
this.bar_bullets._xscale = 40;
this.bar_reload._xscale = 50;
this.price = 54000;
_root.comment = "’·‹——£¸–§ŽËŒ‚‚ª‰Â”\\‚ȃXƒiƒCƒp[ƒ‰ƒCƒtƒ‹‚Å‚·B";
this.name_wep1 = "TSR-022 HAWK-EYE";
} else if (this.shopicon_wep == 15) {
this.bar_attack._xscale = 15;
this.bar_rapid._xscale = 65;
this.bar_range._xscale = 60;
this.bar_bullets._xscale = 30;
this.bar_reload._xscale = 40;
this.price = 75000 /* 0x0124F8 */;
_root.comment = "”CˆÓ—U“±‚ª‰Â”\\‚ȃ~ƒTƒCƒ‹ƒ|ƒbƒh‚Å‚·B";
this.name_wep1 = "MSL-001 PHANTOM-TAILS";
} else if (this.shopicon_wep == 20) {
this.bar_attack._xscale = 75;
this.bar_rapid._xscale = 35;
this.bar_range._xscale = 15;
this.bar_bullets._xscale = 25;
this.bar_reload._xscale = 40;
this.price = 89000 /* 0x015BA8 */;
_root.comment = "ˆê’莞ŠÔ‚Å”š”‚·‚é’e‚ðŒ‚‚ÂƒOƒŒƒl[ƒhƒ‰ƒ“ƒ`ƒƒ[‚Å‚·B";
this.name_wep1 = "GRB-013 BOUNDARY";
} else if (this.shopicon_wep == 21) {
this.bar_attack._xscale = 65;
this.bar_rapid._xscale = 45;
this.bar_range._xscale = 15;
this.bar_bullets._xscale = 10;
this.bar_reload._xscale = 70;
this.price = 168000 /* 0x029040 */;
_root.comment = "–Ú•W‚ÉŽh‚³‚èAŽžŠÔ·”š”‚ð‹N‚±‚·ƒOƒŒƒl[ƒhƒpƒCƒ‹‚Å‚·B";
this.name_wep1 = "NGP-003 ECLIPSE";
} else if (this.shopicon_wep == 25) {
this.bar_attack._xscale = 55;
this.bar_rapid._xscale = 15;
this.bar_range._xscale = 40;
this.bar_bullets._xscale = 15;
this.bar_reload._xscale = 30;
this.price = 280000 /* 0x0445C0 */;
_root.comment = "’…’eŒã”š”‚·‚é’e‚ðŒ‚‚ÂƒoƒY[ƒJ‚Å‚·B";
this.name_wep1 = "TBZ-013 AGONY";
} else if (this.shopicon_wep == 30) {
this.bar_attack._xscale = 80;
this.bar_rapid._xscale = 45;
this.bar_range._xscale = 70;
this.bar_bullets._xscale = 10;
this.bar_reload._xscale = 1;
this.price = 28000000 /* 0x1AB3F00 */;
_root.comment = "‚o—͂̃|ƒWƒgƒƒ“ƒ‰ƒCƒtƒ‹‚Å‚·B";
this.name_wep1 = "PSR-X71 REQUIEM";
} else if (this.shopicon_wep == 35) {
this.bar_attack._xscale = 75;
this.bar_rapid._xscale = 5;
this.bar_range._xscale = 80;
this.bar_bullets._xscale = 5;
this.bar_reload._xscale = 15;
this.price = 35000000 /* 0x2160EC0 */;
_root.comment = "ƒ`ƒƒ[ƒWƒVƒ‡ƒbƒg‚ð•ú‚ƒŒ[ƒ‹ƒKƒ“‚Å‚·B";
this.name_wep1 = "RGN-050C LONGINUS";
} else if (this.shopicon_wep == 36) {
this.bar_attack._xscale = 75;
this.bar_rapid._xscale = 50;
this.bar_range._xscale = 80;
this.bar_bullets._xscale = 30;
this.bar_reload._xscale = 20;
this.price = 1500000 /* 0x16E360 */;
_root.comment = "”Ä—p«‚Ì‚‚¢ƒr[ƒ€ƒ‰ƒCƒtƒ‹‚Å‚·B";
this.name_wep1 = "BMR-250 DESIRE";
} else if (this.shopicon_wep == 40) {
this.bar_attack._xscale = 60;
this.bar_rapid._xscale = 20;
this.bar_range._xscale = 10;
this.bar_bullets._xscale = 100;
this.bar_reload._xscale = 100;
this.price = 120000 /* 0x01D4C0 */;
_root.comment = "‹ßÚí—p‚Ì•¨—ƒuƒŒ[ƒh‚Å‚·B";
this.name_wep1 = "BLD-S05 ’fb“";
} else if (this.shopicon_wep == 45) {
this.bar_attack._xscale = 90;
this.bar_rapid._xscale = 90;
this.bar_range._xscale = 10;
this.bar_bullets._xscale = 100;
this.bar_reload._xscale = 100;
this.price = 235;
_root.comment = "‹ßÚí—p‚Ì‘•b•ºŠíˆ—‘•’uEƒuƒŒ[ƒhƒ\\[‚Å‚·B";
this.name_wep1 = "BLS-913 GENOS";
} else {
this.bar_attack._xscale = 0;
this.bar_rapid._xscale = 0;
this.bar_range._xscale = 0;
this.bar_bullets._xscale = 0;
this.bar_reload._xscale = 0;
this.price = "----";
_root.comment = "w“ü‚·‚é•Ší‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B";
this.name_wep1 = "----";
}
this.wep_icons.gotoAndStop(this.shopicon_wep + 1);
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 19
this.gotoAndPlay(18);
Symbol 903 MovieClip Frame 21
this.shopicon_armor = 0;
this.armor_icons.gotoAndStop(this.shopicon_armor + 1);
Symbol 903 MovieClip Frame 22
if (this.shopicon_armor == 0) {
this.bar_armor._xscale = 0;
this.bar_deffense._xscale = 0;
this.bar_boost._xscale = 0;
this.bar_power._xscale = 0;
this.bar_recv._xscale = 0;
this.price = "----";
_root.comment = "w“ü‚·‚éƒA[ƒ}[‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B";
_root.comment2 = "----";
this.armor_profile = "----";
this.armor_profile2 = "----";
this.armor_profile3 = "----";
this.armor_profile4 = "----";
}
if (this.shopicon_armor == 1) {
this.bar_armor._xscale = 50;
this.bar_deffense._xscale = 40;
this.bar_boost._xscale = 40;
this.bar_power._xscale = 50;
this.bar_recv._xscale = 30;
this.price = "----";
_root.comment = "ƒx[ƒVƒbƒN‚È”\\—Í‚ðŽ‚ƒA[ƒ}[‚Å‚·B";
_root.comment2 = "TAT-001C FANG";
this.armor_profile = "ƒWƒƒƒ“ƒvƒ^ƒCƒvFƒ`ƒƒ[ƒWƒWƒƒƒ“ƒv";
this.armor_profile2 = "ƒ_ƒbƒVƒ…ƒ^ƒCƒvFƒƒ“ƒOƒ_ƒbƒVƒ…";
this.armor_profile3 = "ƒ_ƒbƒVƒ…’†–hŒä—ÍUP";
this.armor_profile4 = "‘•”õ‰Â”\\•Ší”F‚Q";
}
if (this.shopicon_armor == 2) {
this.bar_armor._xscale = 40;
this.bar_deffense._xscale = 30;
this.bar_boost._xscale = 50;
this.bar_power._xscale = 70;
this.bar_recv._xscale = 40;
this.price = 190000 /* 0x02E630 */;
_root.comment = "uŠÔ“I‚Ȉړ®”\\—Í‚É’·‚¯‚½ƒA[ƒ}[‚Å‚·";
_root.comment2 = "TAT-003 GALE";
this.armor_profile = "ƒWƒƒƒ“ƒvƒ^ƒCƒvFƒgƒŠƒK[ƒWƒƒƒ“ƒv";
this.armor_profile2 = "ƒ_ƒbƒVƒ…ƒ^ƒCƒvFƒVƒ‡[ƒgƒ_ƒbƒVƒ…";
this.armor_profile3 = "ƒ_ƒbƒVƒ…’†–hŒä—ÍUP";
this.armor_profile4 = "‘•”õ‰Â”\\•Ší”F‚P";
}
if (this.shopicon_armor == 3) {
this.bar_armor._xscale = 60;
this.bar_deffense._xscale = 50;
this.bar_boost._xscale = 60;
this.bar_power._xscale = 40;
this.bar_recv._xscale = 35;
this.price = 210000 /* 0x033450 */;
_root.comment = "ƒzƒoƒŠƒ“ƒO‚É‚æ‚è‹ó’†‚Å‚Ì퓬—Í‚ª‚‚¢ƒA[ƒ}[‚Å‚·B";
_root.comment2 = "TAT-015 JAVELIN";
this.armor_profile = "ƒWƒƒƒ“ƒvƒ^ƒCƒvFƒgƒŠƒK[ƒWƒƒƒ“ƒv";
this.armor_profile2 = "ƒ_ƒbƒVƒ…ƒ^ƒCƒvFƒƒ“ƒOƒ_ƒbƒVƒ…";
this.armor_profile3 = "‹ó’†‚Ū‚ŃzƒoƒŠƒ“ƒOAƒuƒŒ[ƒh‘•”õ•s‰Â";
this.armor_profile4 = "‘•”õ‰Â”\\•Ší”F‚Q";
}
this.armor_icons.gotoAndStop(this.shopicon_armor + 1);
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 23
this.gotoAndPlay(22);
Symbol 903 MovieClip Frame 25
this.shopicon_armor = 0;
this.armor_icons.gotoAndStop(this.shopicon_armor + 1);
Symbol 903 MovieClip Frame 26
if (this.shopicon_armor == 0) {
this.bar_armor._xscale = 0;
this.bar_deffense._xscale = 0;
this.bar_boost._xscale = 0;
this.bar_power._xscale = 0;
this.bar_recv._xscale = 0;
this.price = "----";
_root.comment = "”„‹p‚·‚éƒA[ƒ}[‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢B";
_root.comment2 = "----";
this.armor_profile = "----";
this.armor_profile2 = "----";
this.armor_profile3 = "----";
this.armor_profile4 = "----";
}
if (this.shopicon_armor == 1) {
this.bar_armor._xscale = 50;
this.bar_deffense._xscale = 40;
this.bar_boost._xscale = 40;
this.bar_power._xscale = 50;
this.bar_recv._xscale = 30;
this.price = "----";
_root.comment = "ƒx[ƒVƒbƒN‚È”\\—Í‚ðŽ‚ƒA[ƒ}[‚Å‚·B";
_root.comment2 = "TAT-001C FANG";
this.armor_profile = "ƒWƒƒƒ“ƒvƒ^ƒCƒvFƒ`ƒƒ[ƒWƒWƒƒƒ“ƒv";
this.armor_profile2 = "ƒ_ƒbƒVƒ…ƒ^ƒCƒvFƒƒ“ƒOƒ_ƒbƒVƒ…";
this.armor_profile3 = "ƒ_ƒbƒVƒ…’†–hŒä—ÍUP";
this.armor_profile4 = "‘•”õ‰Â”\\•Ší”F‚Q";
}
if (this.shopicon_armor == 2) {
this.bar_armor._xscale = 40;
this.bar_deffense._xscale = 30;
this.bar_boost._xscale = 50;
this.bar_power._xscale = 70;
this.bar_recv._xscale = 40;
this.price = 190000 /* 0x02E630 */;
_root.comment = "uŠÔ“I‚Ȉړ®”\\—Í‚É’·‚¯‚½ƒA[ƒ}[‚Å‚·";
_root.comment2 = "TAT-003 GALE";
this.armor_profile = "ƒWƒƒƒ“ƒvƒ^ƒCƒvFƒgƒŠƒK[ƒWƒƒƒ“ƒv";
this.armor_profile2 = "ƒ_ƒbƒVƒ…ƒ^ƒCƒvFƒVƒ‡[ƒgƒ_ƒbƒVƒ…";
this.armor_profile3 = "ƒ_ƒbƒVƒ…’†–hŒä—ÍUP";
this.armor_profile4 = "‘•”õ‰Â”\\•Ší”F‚P";
}
if (this.shopicon_armor == 3) {
this.bar_armor._xscale = 60;
this.bar_deffense._xscale = 50;
this.bar_boost._xscale = 60;
this.bar_power._xscale = 40;
this.bar_recv._xscale = 35;
this.price = 210000 /* 0x033450 */;
_root.comment = "ƒzƒoƒŠƒ“ƒO‚É‚æ‚è‹ó’†‚Å‚Ì퓬—Í‚ª‚‚¢ƒA[ƒ}[‚Å‚·B";
_root.comment2 = "TAT-015 JAVELIN";
this.armor_profile = "ƒWƒƒƒ“ƒvƒ^ƒCƒvFƒgƒŠƒK[ƒWƒƒƒ“ƒv";
this.armor_profile2 = "ƒ_ƒbƒVƒ…ƒ^ƒCƒvFƒƒ“ƒOƒ_ƒbƒVƒ…";
this.armor_profile3 = "‹ó’†‚Ū‚ŃzƒoƒŠƒ“ƒOAƒuƒŒ[ƒh‘•”õ•s‰Â";
this.armor_profile4 = "‘•”õ‰Â”\\•Ší”F‚Q";
}
this.armor_icons.gotoAndStop(this.shopicon_armor + 1);
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 27
this.gotoAndPlay(26);
Symbol 903 MovieClip Frame 29
this.bar_a_max._xscale = _root.a_max[_root.equip_armor] * 10;
this.bar_a_defense._xscale = _root.a_defense[_root.equip_armor] * 10;
this.bar_a_move._xscale = _root.a_move[_root.equip_armor] * 10;
this.bar_b_max._xscale = _root.b_max[_root.equip_armor] * 10;
this.bar_b_pw._xscale = _root.b_pw[_root.equip_armor] * 10;
this.bar_b_recv._xscale = _root.b_recv[_root.equip_armor] * 10;
this.wep_icons1.gotoAndStop(_root.equip_wep[1] + 1);
this.wep_icons2.gotoAndStop(_root.equip_wep[2] + 1);
this.armor_icons.gotoAndStop(_root.equip_armor + 1);
if (_root.shop_armor[_root.equip_armor] == 1) {
_root.equip_wep[2] = 0;
}
_root.player_set();
_root.comment = "ƒvƒŒƒCƒ„[‚̃ZƒbƒgƒAƒbƒv‚ð‚·‚é‚±‚Æ‚ª‚Å‚«‚Ü‚·B";
_root.comment2 = " ";
_root.comment3 = " ";
Symbol 903 MovieClip Frame 30
if (_root.equip_wep[2] == 0) {
this.name_wep2 = "----";
} else if (_root.equip_wep[2] == 1) {
this.name_wep2 = "TMG-001 THE VOICE";
} else if (_root.equip_wep[2] == 2) {
this.name_wep2 = "TMG-013S ANTARES";
} else if (_root.equip_wep[2] == 5) {
this.name_wep2 = "TSG-001 RAIN";
} else if (_root.equip_wep[2] == 10) {
this.name_wep2 = "TSR-022 HAWK-EYE";
} else if (_root.equip_wep[2] == 15) {
this.name_wep2 = "MSL-001 PHANTOM-TAILS";
} else if (_root.equip_wep[2] == 20) {
this.name_wep2 = "GRB-013 BOUNDARY";
} else if (_root.equip_wep[2] == 21) {
this.name_wep2 = "NGP-003 ECLIPSE";
} else if (_root.equip_wep[2] == 25) {
this.name_wep2 = "TBZ-013 AGONY";
} else if (_root.equip_wep[2] == 30) {
this.name_wep2 = "PSR-X71 REQUIEM";
} else if (_root.equip_wep[2] == 35) {
this.name_wep2 = "RGN-050C LONGINUS";
} else if (_root.equip_wep[2] == 36) {
this.name_wep2 = "BMR-250 DESIRE";
} else if (_root.equip_wep[2] == 40) {
this.name_wep2 = "BLD-S05 ’fb“";
} else if (_root.equip_wep[2] == 45) {
this.name_wep2 = "BLS-913 GENOS";
} else {
this.name_wep2 = "----";
}
if (_root.equip_wep[1] == 0) {
this.name_wep1 = "----";
} else if (_root.equip_wep[1] == 1) {
this.name_wep1 = "TMG-001 THE VOICE";
} else if (_root.equip_wep[1] == 2) {
this.name_wep1 = "TMG-013S ANTARES";
} else if (_root.equip_wep[1] == 5) {
this.name_wep1 = "TSG-001 RAIN";
} else if (_root.equip_wep[1] == 10) {
this.name_wep1 = "TSR-022 HAWK-EYE";
} else if (_root.equip_wep[1] == 15) {
this.name_wep1 = "MSL-001 PHANTOM-TAILS";
} else if (_root.equip_wep[1] == 20) {
this.name_wep1 = "GRB-013 BOUNDARY";
} else if (_root.equip_wep[1] == 21) {
this.name_wep1 = "NGP-003 ECLIPSE";
} else if (_root.equip_wep[1] == 25) {
this.name_wep1 = "TBZ-013 AGONY";
} else if (_root.equip_wep[1] == 30) {
this.name_wep1 = "PSR-X71 REQUIEM";
} else if (_root.equip_wep[1] == 35) {
this.name_wep1 = "RGN-050C LONGINUS";
} else if (_root.equip_wep[1] == 36) {
this.name_wep1 = "BMR-250 DESIRE";
} else if (_root.equip_wep[1] == 40) {
this.name_wep1 = "BLD-S05 ’fb“";
} else if (_root.equip_wep[1] == 45) {
this.name_wep1 = "BLS-913 GENOS";
} else {
this.name_wep2 = "----";
}
if (_root.equip_armor == 1) {
this.comment_armor = "ƒx[ƒVƒbƒN‚È”\\—Í‚ðŽ‚ƒA[ƒ}[‚Å‚·B•Ší‘•”õ‰Â”\\”‚Q";
this.name_armor = "TAT-001C FANG";
}
if (_root.equip_armor == 2) {
this.comment_armor = "uŠÔ“I‚Ȉړ®”\\—Í‚É’·‚¯‚½ƒA[ƒ}[‚Å‚·B•Ší‘•”õ‰Â”\\”‚P";
this.name_armor = "TAT-003 GALE";
}
if (_root.equip_armor == 3) {
this.comment_armor = "‹ó’†‚Å‚Ì퓬”\\—Í‚ª‚‚¢ƒA[ƒ}[‚Å‚·B•Ší‘•”õ‰Â”\\”‚QBƒuƒŒ[ƒh•s‰Â";
this.name_armor = "TAT-015 JAVELIN";
}
this.bar_a_max._xscale = _root.a_max[_root.equip_armor] * 10;
this.bar_a_defense._xscale = _root.a_defense[_root.equip_armor] * 10;
this.bar_a_move._xscale = _root.a_move[_root.equip_armor] * 10;
this.bar_b_max._xscale = _root.b_max[_root.equip_armor] * 10;
this.bar_b_pw._xscale = _root.b_pw[_root.equip_armor] * 10;
this.bar_b_recv._xscale = _root.b_recv[_root.equip_armor] * 10;
this.wep_icons1.gotoAndStop(_root.equip_wep[1] + 1);
this.wep_icons2.gotoAndStop(_root.equip_wep[2] + 1);
this.armor_icons.gotoAndStop(_root.equip_armor + 1);
if ((_root.shop_armor[_root.equip_armor] == 1) || (_root.shop_armor[_root.equip_armor] == 3)) {
_root.equip_wep[2] = 0;
}
if (_root.shop_armor[_root.equip_armor] == 5) {
_root.equip_wep[1] = 0;
_root.equip_wep[2] = 0;
}
if ((_root.shop_armor[_root.equip_armor] == 3) || (_root.shop_armor[_root.equip_armor] == 4)) {
if (_root.getwep_now[_root.equip_wep[1]] == 2) {
_root.equip_wep[1] = 1;
}
if (_root.getwep_now[_root.equip_wep[2]] == 2) {
_root.equip_wep[2] = 0;
}
}
_root.player_set();
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 31
this.gotoAndPlay(30);
Symbol 903 MovieClip Frame 33
_root.player_set();
_root.mission_num = 1;
Symbol 903 MovieClip Frame 34
_root.player_set();
_root.e_initialize();
_root.game_initialize();
_root.custom_bonus = 2 - (Math.round((((((_root.a_defense[_root.equip_armor] + _root.a_max[_root.equip_armor]) + _root.a_move[_root.equip_armor]) + _root.b_max[_root.equip_armor]) + _root.b_pw[_root.equip_armor]) + _root.b_recv[_root.equip_armor]) / 3) / 10);
if (_root.clear_flg_main[_root.mission_num] == 2) {
this.logo_cleared.gotoAndStop(3);
} else if (_root.clear_flg_main[_root.mission_num] == 1) {
this.logo_cleared.gotoAndStop(2);
} else {
this.logo_cleared.gotoAndStop(1);
}
if (_root.mission_num == 0) {
_root.menu.comment1 = "----";
_root.menu.comment2 = "----";
_root.menu.comment3 = "----";
_root.clear_bonus = "----";
_root.time = 100;
_root.tgt_destroy = 30;
_root.field_flg = 1;
_root.sky_flg = 1;
this.mission_bgs.gotoAndStop(1);
}
if (_root.mission_num == 1) {
_root.menu.comment1 = "100•bˆÈ“à‚Ì“Gí—Í‚ÌŸr–Å";
_root.menu.comment2 = "“G퓬ŽÔ—¼20‹@";
_root.menu.comment3 = "š";
_root.clear_bonus = 500;
_root.time = (_root.time_limit = 100);
_root.tgt_destroy = 20;
this.mission_bgs.gotoAndStop(2);
_root.field_flg = 1;
_root.sky_flg = 1;
}
if (_root.mission_num == 2) {
_root.menu.comment1 = "100•bˆÈ“à‚Ì“Gí—Í‚ÌŸr–Å";
_root.menu.comment2 = "“G퓬ŽÔ—¼30‹@";
_root.menu.comment3 = "šš";
_root.clear_bonus = 1000;
_root.time = (_root.time_limit = 100);
_root.tgt_destroy = 30;
this.mission_bgs.gotoAndStop(2);
_root.field_flg = 1;
_root.sky_flg = 1;
}
if (_root.mission_num == 3) {
_root.menu.comment1 = "150•bˆÈ“à‚Ì“Gí—Í‚ÌŸr–Å";
_root.menu.comment2 = "“G퓬•ºŠíŒQ40‹@";
_root.menu.comment3 = "ššš";
_root.clear_bonus = 5000;
_root.time = (_root.time_limit = 150);
_root.tgt_destroy = 40;
this.mission_bgs.gotoAndStop(2);
_root.field_flg = 1;
_root.sky_flg = 1;
}
if (_root.mission_num == 4) {
_root.menu.comment1 = "250•bˆÈ“à‚Ì“Gí—Í‚ÌŸr–Å";
_root.menu.comment2 = "“G퓬•ºŠíŒQ60‹@";
_root.menu.comment3 = "šššššš";
_root.clear_bonus = 7000;
_root.time = (_root.time_limit = 250);
_root.tgt_destroy = 60;
this.mission_bgs.gotoAndStop(2);
_root.field_flg = 1;
_root.sky_flg = 1;
}
if (_root.mission_num == 5) {
_root.menu.comment1 = "“GTAT•”‘àŸr–Å";
_root.menu.comment2 = "“GTAT•º40‹@";
_root.menu.comment3 = "ššššššš";
_root.clear_bonus = 8500;
_root.time = (_root.time_limit = 250);
_root.tgt_destroy = 40;
this.mission_bgs.gotoAndStop(3);
_root.field_flg = 2;
_root.sky_flg = 2;
}
if (_root.mission_num == 6) {
_root.menu.comment1 = "“Gí—Í‚ÌŸr–Å";
_root.menu.comment2 = "“G‹@“®•º‘•ŒQ50‹@";
_root.menu.comment3 = "šššššššš";
_root.clear_bonus = 10000;
_root.time = (_root.time_limit = 500);
_root.tgt_destroy = 50;
this.mission_bgs.gotoAndStop(2);
_root.field_flg = 1;
_root.sky_flg = 1;
}
if (_root.mission_num == 7) {
_root.menu.comment1 = "‘åŒ^퓬ŽÔ—¼Œ‚”j";
_root.menu.comment2 = "‘åŒ^퓬ŽÔ—¼@ƒ†ƒjƒR[ƒ““󎮂̌‚”j";
_root.menu.comment3 = "šššššš";
_root.clear_bonus = 7500;
_root.time = (_root.time_limit = 999);
this.mission_bgs.gotoAndStop(2);
_root.field_flg = 1;
_root.sky_flg = 1;
}
if (_root.mission_num == 8) {
_root.menu.comment1 = "‘åŒ^퓬ŽÔ—¼ŒQŒ‚”j";
_root.menu.comment2 = "‘åŒ^퓬ŽÔ—¼@ƒ†ƒjƒR[ƒ““óŽ®3‹@";
_root.menu.comment3 = "ššššššššš";
_root.clear_bonus = 15000;
_root.time = (_root.time_limit = 999);
this.mission_bgs.gotoAndStop(2);
_root.field_flg = 1;
_root.sky_flg = 1;
}
if (_root.mission_num == 9) {
_root.menu.comment1 = "“ñ‹r‹@“®•ºŠíŒ‚”j";
_root.menu.comment2 = "“ñ‹r‹@“®•ºŠí@ƒTƒCƒNƒƒvƒXC‚ÌŒ‚”j";
_root.menu.comment3 = "šššššššš";
_root.clear_bonus = 16000;
_root.time = (_root.time_limit = 999);
this.mission_bgs.gotoAndStop(3);
_root.field_flg = 2;
_root.sky_flg = 2;
}
if (_root.mission_num == 10) {
_root.menu.comment1 = "‚‹@“®”Ä—p퓬ƒwƒŠŒ‚”j";
_root.menu.comment2 = "‚‹@“®”Ä—p퓬ƒwƒŠ@ƒOƒŠƒtƒHƒ“ƒÀŒ‚”j";
_root.menu.comment3 = "ššššššš";
_root.clear_bonus = 19000;
_root.time = (_root.time_limit = 999);
this.mission_bgs.gotoAndStop(3);
_root.field_flg = 2;
_root.sky_flg = 2;
}
if (_root.mission_num == 11) {
_root.menu.comment1 = "ˆ«–²";
_root.menu.comment2 = "“Gí—Í•s–¾";
_root.menu.comment3 = "----";
_root.clear_bonus = 5000000 /* 0x4C4B40 */;
_root.time = (_root.time_limit = 999);
_root.field_flg = 3;
_root.sky_flg = 3;
this.mission_bgs.gotoAndStop(1);
}
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 35
this.gotoAndPlay(34);
Symbol 903 MovieClip Frame 37
this.wep_num1 = 0;
this.armor_num1 = 0;
this.wep_num2 = 0;
this.armor_num2 = 0;
this.clear1 = 0;
this.clear2 = 0;
i = 0;
while (52 >= i) {
if (((((_root.saves.data.getwep[0][i] == 1) || (_root.saves.data.getwep[0][i] == 2)) || (_root.saves.data.getwep[0][i] == 3)) || (_root.saves.data.getwep[0][i] == 4)) || (_root.saves.data.getwep[0][i] == 5)) {
this.wep_num1++;
}
if (((((_root.saves.data.getwep[1][i] == 1) || (_root.saves.data.getwep[1][i] == 2)) || (_root.saves.data.getwep[1][i] == 3)) || (_root.saves.data.getwep[1][i] == 4)) || (_root.saves.data.getwep[1][i] == 5)) {
this.wep_num2++;
}
if (((((_root.saves.data.getarmor[0][i] == 1) || (_root.saves.data.getarmor[0][i] == 2)) || (_root.saves.data.getarmor[0][i] == 3)) || (_root.saves.data.getarmor[0][i] == 4)) || (_root.saves.data.getarmor[0][i] == 5)) {
this.armor_num1++;
}
if (((((_root.saves.data.getarmor[1][i] == 1) || (_root.saves.data.getarmor[1][i] == 2)) || (_root.saves.data.getarmor[1][i] == 3)) || (_root.saves.data.getarmor[1][i] == 4)) || (_root.saves.data.getarmor[1][i] == 5)) {
this.armor_num2++;
}
if ((_root.saves.data.clear_flg[0][i] == 1) || (_root.saves.data.clear_flg[0][i] == 2)) {
this.clear1++;
}
if ((_root.saves.data.clear_flg[1][i] == 1) || (_root.saves.data.clear_flg[1][i] == 2)) {
this.clear2++;
}
i++;
}
this.c_point1 = _root.saves.data.c_point[0];
this.c_point2 = _root.saves.data.c_point[1];
this.total_destroy1 = _root.saves.data.total_destroy_num[0];
this.total_destroy2 = _root.saves.data.total_destroy_num[1];
Symbol 903 MovieClip Frame 38
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 39
this.gotoAndPlay(38);
Symbol 903 MovieClip Frame 41
this.wep_num1 = 0;
this.armor_num1 = 0;
this.wep_num2 = 0;
this.armor_num2 = 0;
this.clear1 = 0;
this.clear2 = 0;
i = 0;
while (52 >= i) {
if (((((_root.saves.data.getwep[0][i] == 1) || (_root.saves.data.getwep[0][i] == 2)) || (_root.saves.data.getwep[0][i] == 3)) || (_root.saves.data.getwep[0][i] == 4)) || (_root.saves.data.getwep[0][i] == 5)) {
this.wep_num1++;
}
if (((((_root.saves.data.getwep[1][i] == 1) || (_root.saves.data.getwep[1][i] == 2)) || (_root.saves.data.getwep[1][i] == 3)) || (_root.saves.data.getwep[1][i] == 4)) || (_root.saves.data.getwep[1][i] == 5)) {
this.wep_num2++;
}
if (((((_root.saves.data.getarmor[0][i] == 1) || (_root.saves.data.getarmor[0][i] == 2)) || (_root.saves.data.getarmor[0][i] == 3)) || (_root.saves.data.getarmor[0][i] == 4)) || (_root.saves.data.getarmor[0][i] == 5)) {
this.armor_num1++;
}
if (((((_root.saves.data.getarmor[1][i] == 1) || (_root.saves.data.getarmor[1][i] == 2)) || (_root.saves.data.getarmor[1][i] == 3)) || (_root.saves.data.getarmor[1][i] == 4)) || (_root.saves.data.getarmor[1][i] == 5)) {
this.armor_num2++;
}
if ((_root.saves.data.clear_flg[0][i] == 1) || (_root.saves.data.clear_flg[0][i] == 2)) {
this.clear1++;
}
if ((_root.saves.data.clear_flg[1][i] == 1) || (_root.saves.data.clear_flg[1][i] == 2)) {
this.clear2++;
}
i++;
}
this.c_point1 = _root.saves.data.c_point[0];
this.c_point2 = _root.saves.data.c_point[1];
this.total_destroy1 = _root.saves.data.total_destroy_num[0];
this.total_destroy2 = _root.saves.data.total_destroy_num[1];
Symbol 903 MovieClip Frame 42
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 43
this.gotoAndPlay(42);
Symbol 903 MovieClip Frame 45
this.time_bonus = 0;
Symbol 903 MovieClip Frame 46
_root.p_initialize2();
_root.e_initialize();
_root.time_bonus = 1 + (Math.round((_root.time / _root.time_limit) * 100) / 100);
this.tech_bonus = Math.round((_root.destroy_num * _root.max_combo) * _root.time_bonus);
this.getscore = Math.round((_root.score + _root.clear_bonus) * _root.life_bonus);
_root.get_points = Math.round(this.tech_bonus + this.getscore);
if (_root.game_flg == 3) {
if (_root.ex_mission_flg == 10) {
this.result_mission.gotoAndStop(1);
} else {
this.result_mission.gotoAndStop(2);
}
}
if (_root.game_flg == 9) {
_root.clear_bonus = 0;
this.result_mission.gotoAndStop(3);
}
if (99999999 < _root.c_point) {
_root.c_point = 99999999 /* 0x5F5E0FF */;
}
Symbol 903 MovieClip Frame 47
this.gotoAndPlay(46);
Symbol 911 MovieClip Frame 1
if (_root.sky_flg == 3) {
this.bg_main.gotoAndStop(3);
} else if (_root.sky_flg == 2) {
this.bg_main.gotoAndStop(2);
} else if (_root.sky_flg == 1) {
this.bg_main.gotoAndStop(1);
}
Symbol 912 MovieClip Frame 2
this._x = -_root.p_pos_x;
this._y = -_root.p_pos_y;
if (Key.isDown(13)) {
_root.pause = 1;
} else {
_root.pause = 0;
}
Symbol 912 MovieClip Frame 3
this._x = -_root.p_pos_x;
this._y = -_root.p_pos_y;
this.gotoAndPlay(2);
Symbol 914 MovieClip Frame 1
if (_root.field_flg == 3) {
this.attachMovie("ground03", "ground", 1);
this.ground._x = -200;
this.ground._y = 500;
this.ground._xscale = 1000;
this.ground._yscale = 450;
this.attachMovie("ground03_2", "ground2", 0);
this.ground2._x = 0;
this.ground2._y = 400;
this.ground2._xscale = 600;
this.ground2._yscale = 400;
} else if (_root.field_flg == 2) {
this.attachMovie("ground02", "ground", 1);
this.ground._x = -200;
this.ground._y = 500;
this.ground._xscale = 1000;
this.ground._yscale = 450;
this.attachMovie("ground02_2", "ground2", 0);
this.ground2._x = 0;
this.ground2._y = 400;
this.ground2._xscale = 600;
this.ground2._yscale = 400;
} else if (_root.field_flg == 1) {
this.attachMovie("ground01", "ground", 1);
this.ground._x = -200;
this.ground._y = 500;
this.ground._xscale = 1000;
this.ground._yscale = 450;
this.attachMovie("ground01_2", "ground2", 0);
this.ground2._x = 0;
this.ground2._y = 400;
this.ground2._xscale = 650;
this.ground2._yscale = 200;
}
Symbol 914 MovieClip Frame 2
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
this.ground2._x = (-this._x) / 2;
this.ground2._y = ((-this._y) / 2) + 200;
if (_root.efct_switch == 0) {
this.ground2._visible = 0;
} else if (_root.efct_switch == 1) {
this.ground2._visible = 1;
}
Symbol 914 MovieClip Frame 3
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
this.ground2._x = (-this._x) / 2;
this.ground2._y = ((-this._y) / 2) + 300;
this.gotoAndPlay(2);
Symbol 915 MovieClip Frame 1
function e_tank01(hp, num) {
this.attachMovie("e_tank01", "enemy" + num, num);
this["enemy" + num]._y = 500;
this["enemy" + num].num = num;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].lag = 60 + random(80);
this["enemy" + num].time = 0;
this["enemy" + num].atk_flg = 0;
this["enemy" + num].c = 0;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 100, 100);
}
function e_tank02(hp, num) {
this.attachMovie("e_tank02", "enemy" + num, num);
this["enemy" + num]._y = 500;
this["enemy" + num].num = num;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].lag = 60 + random(80);
this["enemy" + num].time = 0;
this["enemy" + num].atk_flg = 0;
this["enemy" + num].c = 0;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 100, 100);
}
function e_fly01(hp, num) {
this.attachMovie("e_fly01", "enemy" + num, num);
this["enemy" + num]._y = _root.p_pos_y - 400;
this["enemy" + num].num = num;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].lag = 60 + random(80);
this["enemy" + num].time = 0;
this["enemy" + num].atk_flg = 0;
this["enemy" + num].c = 0;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 100, 100);
}
function e_armor01(hp, type1, num) {
this.attachMovie("e_armor01", "enemy" + num, num);
this["enemy" + num]._y = _root.p_pos_y - 350;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].type1 = type1;
this["enemy" + num].num = num;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 100, 100);
}
function e_walker01(hp, type1, type2, num) {
this.attachMovie("e_walker01", "enemy" + num, num);
this["enemy" + num]._y = _root.p_pos_y - 350;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].num = num;
this["enemy" + num].type1 = type1;
this["enemy" + num].type2 = type2;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 100, 100);
}
function e_boss01(hp, num) {
this.attachMovie("e_boss01", "enemy" + num, num);
this["enemy" + num]._y = 500;
this["enemy" + num].num = num;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].lag = 60 + random(80);
this["enemy" + num].time = 0;
this["enemy" + num].atk_flg = 0;
this["enemy" + num].c = 0;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 200, 200);
}
function e_boss02(hp, num) {
this.attachMovie("e_boss02", "enemy" + num, num);
this["enemy" + num].num = num;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].lag = 60 + random(80);
this["enemy" + num].time = 0;
this["enemy" + num].atk_flg = 0;
this["enemy" + num].c = 0;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 200, 200);
}
function e_boss03(hp, num) {
this.attachMovie("e_boss03", "enemy" + num, num);
this["enemy" + num]._y = 0;
this["enemy" + num].num = num;
this["enemy" + num].hp = hp;
this["enemy" + num].hp_max = hp;
this["enemy" + num].lag = 60 + random(80);
this["enemy" + num].time = 0;
this["enemy" + num].atk_flg = 0;
this["enemy" + num].c = 0;
_root.e_num[num] = 1;
_root.display.rader.e_point(num, 200, 200);
}
this.e_num_local = 0;
this.warning_flg = 0;
Symbol 915 MovieClip Frame 2
if (_root.mission_num == 11) {
this.e_hp = 3 - _root.custom_bonus;
if (_root.boss_destroy_flg >= 15) {
_root.shop_wep[35] = 5;
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
if (this.warning_flg == 0) {
this.warning_flg = 1;
_root.logo_warning();
} else if (this.warning_flg == 2) {
if (this.e_num_local == 0) {
this.e_num_local = 1;
this.e_boss01(100 * this.e_hp, 1);
this.e_boss01(100 * this.e_hp, 2);
this.e_boss01(100 * this.e_hp, 3);
this.enemy1._x = _root.p_pos_x + 500;
this.enemy2._x = _root.p_pos_x + 1500;
this.enemy3._x = _root.p_pos_x + 2500;
}
}
if ((_root.boss_destroy_flg >= 3) && (this.e_num_local == 1)) {
this.e_num_local = 2;
}
if ((_root.boss_destroy_flg >= 6) && (this.e_num_local == 3)) {
this.e_num_local = 4;
}
if ((_root.boss_destroy_flg >= 9) && (this.e_num_local == 5)) {
this.e_num_local = 6;
}
if ((_root.boss_destroy_flg >= 12) && (this.e_num_local == 7)) {
this.e_num_local = 8;
}
if (this.e_num_local == 2) {
this.e_boss02(100 * this.e_hp, 1);
this.e_boss02(100 * this.e_hp, 2);
this.e_boss02(100 * this.e_hp, 3);
this.enemy1._x = _root.p_pos_x + 1500;
this.enemy2._x = _root.p_pos_x - 1500;
this.enemy3._x = _root.p_pos_x + 2500;
this.e_num_local = 3;
}
if (this.e_num_local == 4) {
this.e_boss03(100 * this.e_hp, 1);
this.e_boss03(100 * this.e_hp, 2);
this.e_boss03(100 * this.e_hp, 3);
this.enemy1._x = _root.p_pos_x + 1500;
this.enemy2._x = _root.p_pos_x - 2500;
this.enemy3._x = _root.p_pos_x - 1500;
this.e_num_local = 5;
}
if (this.e_num_local == 6) {
this.e_boss01(100 * this.e_hp, 1);
this.e_boss02(100 * this.e_hp, 2);
this.e_boss03(100 * this.e_hp, 3);
this.enemy1._x = _root.p_pos_x + 1500;
this.enemy2._x = _root.p_pos_x - 2500;
this.enemy3._x = _root.p_pos_x - 1500;
this.e_num_local = 7;
}
if (this.e_num_local == 8) {
this.e_boss01(200 * this.e_hp, 1);
this.e_boss02(200 * this.e_hp, 2);
this.e_boss03(200 * this.e_hp, 3);
this.enemy1._x = _root.p_pos_x + 1500;
this.enemy2._x = _root.p_pos_x - 2500;
this.enemy3._x = _root.p_pos_x - 1500;
this.e_num_local = 9;
}
}
if (_root.mission_num == 10) {
if (_root.ex_mission_flg == 0) {
if (_root.boss_destroy_flg >= 1) {
if (50 < Math.round((_root.p_hp / _root.a_max_main) * 100)) {
_root.ex_mission_flg = 10;
this.e_boss02(100, 5);
this.e_boss03(100, 6);
this.e_boss03(100, 7);
this.enemy5._x = _root.p_pos_x;
this.enemy6._x = _root.p_pos_x - 1500;
this.enemy7._x = _root.p_pos_x + 1500;
} else {
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 4) {
_root.shop_wep[36] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
if (this.warning_flg == 0) {
this.warning_flg = 1;
_root.logo_warning();
} else if (this.warning_flg == 2) {
if (this.e_num_local == 0) {
this.e_num_local = 1;
if (0.3 < _root.custom_bonus) {
this.e_boss03(300, 1);
}
if (0.3 >= _root.custom_bonus) {
this.e_boss03(500, 1);
}
this.enemy1._x = _root.p_pos_x + 2000;
}
}
}
if (_root.mission_num == 9) {
if (_root.ex_mission_flg == 0) {
if (_root.boss_destroy_flg >= 1) {
if (50 < Math.round((_root.p_hp / _root.a_max_main) * 100)) {
_root.ex_mission_flg = 10;
this.e_boss02(150, 6);
this.e_boss02(150, 7);
this.enemy6._x = _root.p_pos_x - 1500;
this.enemy7._x = _root.p_pos_x + 1500;
} else {
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 3) {
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
if (this.warning_flg == 0) {
this.warning_flg = 1;
_root.logo_warning();
} else if (this.warning_flg == 2) {
if (this.e_num_local == 0) {
this.e_num_local = 1;
if (0.3 < _root.custom_bonus) {
this.e_boss02(300, 1);
this.enemy1._x = _root.p_pos_x + 1000;
this.enemy1._y = 0;
}
if (0.3 >= _root.custom_bonus) {
this.e_boss02(500, 1);
this.enemy1._x = _root.p_pos_x + 1000;
this.enemy1._y = 0;
}
}
}
}
if (_root.mission_num == 8) {
if (_root.ex_mission_flg == 0) {
if (_root.boss_destroy_flg >= 3) {
if (50 < Math.round((_root.p_hp / _root.a_max_main) * 100)) {
_root.ex_mission_flg = 10;
this.e_boss01(100, 5);
this.e_boss01(100, 6);
this.e_boss02(100, 7);
this.enemy5._x = _root.p_pos_x + 1500;
this.enemy6._x = _root.p_pos_x - 1500;
this.enemy7._x = _root.p_pos_x;
} else {
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 6) {
_root.shop_wep[30] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
if (this.warning_flg == 0) {
this.warning_flg = 1;
_root.logo_warning();
} else if (this.warning_flg == 2) {
if (this.e_num_local == 0) {
this.e_num_local = 1;
this.enemy1._x = _root.p_pos_x - 1500;
if (0.3 < _root.custom_bonus) {
this.e_boss01(300, 1);
this.e_boss01(300, 2);
this.e_boss01(300, 3);
}
if (0.3 >= _root.custom_bonus) {
this.e_boss01(500, 1);
this.e_boss01(500, 2);
this.e_boss01(500, 3);
}
this.enemy1._x = _root.p_pos_x - 1500;
this.enemy2._x = _root.p_pos_x + 1500;
this.enemy3._x = _root.p_pos_x + 2500;
}
}
}
if (_root.mission_num == 7) {
if (_root.ex_mission_flg == 0) {
if (_root.boss_destroy_flg >= 1) {
_root.shop_wep[25] = 1;
if ((Math.round((_root.p_hp / _root.a_max_main) * 100) < 20) && (0.7 >= _root.custom_bonus)) {
_root.ex_mission_flg = 10;
this.e_armor01(100, 1, 5);
this.e_armor01(100, 2, 6);
this.e_boss02(150, 7);
this.enemy5._x = _root.p_pos_x + 1500;
this.enemy6._x = _root.p_pos_x - 1500;
this.enemy7._x = _root.p_pos_x;
} else {
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 4) {
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
if (this.warning_flg == 0) {
this.warning_flg = 1;
_root.logo_warning();
} else if (this.warning_flg == 2) {
if (this.e_num_local == 0) {
this.e_num_local = 1;
if (0.3 < _root.custom_bonus) {
this.e_boss01(300, 1);
}
if (0.3 >= _root.custom_bonus) {
this.e_boss01(500, 1);
}
this.enemy1._x = _root.p_pos_x + 1500;
}
}
}
if (_root.mission_num == 6) {
if (_root.ex_mission_flg == 0) {
if (_root.destroy_num >= _root.tgt_destroy) {
if (this.warning_flg == 0) {
if ((50 < Math.round((_root.p_hp / _root.a_max_main) * 100)) && (0.8 >= _root.custom_bonus)) {
this.warning_flg = 1;
_root.logo_warning();
} else {
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
if (this.warning_flg == 2) {
_root.ex_mission_flg = 10;
this.e_boss02(100, 5);
this.e_boss03(100, 6);
this.e_boss03(100, 7);
this.enemy5._x = _root.p_pos_x;
this.enemy6._x = _root.p_pos_x + 2000;
this.enemy7._x = _root.p_pos_x - 2000;
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 3) {
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
i = 0;
while (4 >= i) {
if (_root.e_num[i] == 0) {
this.e_num_local++;
if (_root.tgt_destroy >= this.e_num_local) {
e = random(8);
this.e_hp = Math.round(_root.combo_cnt / (3 + _root.custom_bonus)) + random(5);
if (100 < this.e_hp) {
this.e_hp = 99;
}
if (e == 0) {
this.e_tank01(this.e_hp + 5, i);
}
if (e == 1) {
this.e_tank02(this.e_hp + 7, i);
}
if (e == 2) {
this.e_fly01(this.e_hp + 4, i);
}
if (e == 3) {
this.e_armor01(this.e_hp + 10, 1, i);
}
if (e == 4) {
this.e_armor01(this.e_hp + 10, 2, i);
}
if (e == 5) {
this.e_armor01(this.e_hp + 10, 3, i);
}
if (e == 6) {
this.e_walker01(this.e_hp + 12, 1, 1, i);
}
if (e == 7) {
this.e_walker01(this.e_hp + 12, 1, 1, i);
}
if ((_root.p_pos_x >= 1000) && (_root.p_pos_x < 4000)) {
e = random(2);
if (e == 0) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e == 1) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x >= 4000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x < 1000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
}
}
}
i++;
}
}
if (_root.mission_num == 5) {
if (_root.ex_mission_flg == 0) {
if (_root.destroy_num >= _root.tgt_destroy) {
if (this.warning_flg == 0) {
if ((50 < Math.round((_root.p_hp / _root.a_max_main) * 100)) && (0.8 >= _root.custom_bonus)) {
this.warning_flg = 1;
_root.logo_warning();
} else {
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
if (this.warning_flg == 2) {
_root.ex_mission_flg = 10;
this.e_boss02(100, 5);
this.e_boss03(100, 6);
this.enemy5._x = _root.p_pos_x + 1500;
this.enemy6._x = _root.p_pos_x + 2000;
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 2) {
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
i = 0;
while (4 >= i) {
if (_root.e_num[i] == 0) {
this.e_num_local++;
if (_root.tgt_destroy >= this.e_num_local) {
e = random(6);
this.e_hp = Math.round(_root.combo_cnt / (3 + _root.custom_bonus)) + random(5);
if (100 < this.e_hp) {
this.e_hp = 99;
}
if (e == 0) {
this.e_armor01(this.e_hp + 10, 1, i);
}
if (e == 1) {
this.e_armor01(this.e_hp + 10, 2, i);
}
if (e == 2) {
this.e_armor01(this.e_hp + 10, 3, i);
}
if (e == 3) {
this.e_armor01(this.e_hp + 10, 1, i);
}
if (e == 4) {
this.e_armor01(this.e_hp + 10, 2, i);
}
if (e == 5) {
this.e_armor01(this.e_hp + 10, 3, i);
}
if ((_root.p_pos_x >= 1000) && (_root.p_pos_x < 4000)) {
e = random(2);
if (e == 0) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e == 1) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x >= 4000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x < 1000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
}
}
}
i++;
}
}
if (_root.mission_num == 4) {
if (_root.ex_mission_flg == 0) {
if (_root.destroy_num >= _root.tgt_destroy) {
if (this.warning_flg == 0) {
if ((50 < Math.round((_root.p_hp / _root.a_max_main) * 100)) && (0.7 >= _root.custom_bonus)) {
this.warning_flg = 1;
_root.logo_warning();
} else {
_root.shop_wep[21] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
if (this.warning_flg == 2) {
_root.ex_mission_flg = 10;
this.e_boss03(150, 5);
this.enemy5._x = _root.p_pos_x + 1500;
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 1) {
_root.shop_wep[21] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
i = 0;
while (4 >= i) {
if (_root.e_num[i] == 0) {
this.e_num_local++;
if (_root.tgt_destroy >= this.e_num_local) {
e = random(6);
this.e_hp = Math.round(((_root.destroy_num / 2) + _root.combo_cnt) / (3 + _root.custom_bonus)) + random(5);
if (100 < this.e_hp) {
this.e_hp = 99;
}
if (e == 0) {
this.e_tank01(this.e_hp + 5, i);
}
if (e == 1) {
this.e_tank02(this.e_hp + 7, i);
}
if (e == 2) {
this.e_fly01(this.e_hp + 4, i);
}
if (e == 3) {
this.e_armor01(this.e_hp + 10, 1, i);
}
if (e == 4) {
this.e_armor01(this.e_hp + 10, 3, i);
}
if (e == 5) {
this.e_armor01(this.e_hp + 10, 3, i);
}
if ((_root.p_pos_x >= 1000) && (_root.p_pos_x < 4000)) {
e = random(2);
if (e == 0) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e == 1) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x >= 4000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x < 1000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
}
}
}
i++;
}
}
if (_root.mission_num == 3) {
if (_root.ex_mission_flg == 0) {
if (_root.destroy_num >= _root.tgt_destroy) {
if (this.warning_flg == 0) {
if (80 < Math.round((_root.p_hp / _root.a_max_main) * 100)) {
this.warning_flg = 1;
_root.logo_warning();
} else {
_root.shop_wep[20] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
if (this.warning_flg == 2) {
_root.ex_mission_flg = 10;
this.e_armor01(100, 1, 5);
this.e_armor01(100, 2, 6);
this.e_armor01(100, 3, 7);
this.enemy5._x = _root.p_pos_x + 1000;
this.enemy6._x = _root.p_pos_x + 1100;
this.enemy7._x = _root.p_pos_x + 1200;
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 3) {
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
i = 0;
while (4 >= i) {
if (_root.e_num[i] == 0) {
this.e_num_local++;
if (_root.tgt_destroy >= this.e_num_local) {
e = random(4);
this.e_hp = Math.round((_root.destroy_num + _root.combo_cnt) / (3 + _root.custom_bonus)) + random(5);
if (100 < this.e_hp) {
this.e_hp = 99;
}
if (e == 0) {
this.e_tank01(this.e_hp + 5, i);
}
if (e == 1) {
this.e_tank02(this.e_hp + 7, i);
}
if (e == 2) {
this.e_fly01(this.e_hp + 4, i);
}
if (e == 3) {
this.e_armor01(this.e_hp + 10, 1, i);
}
if (e == 4) {
this.e_walker01(this.e_hp + 12, 1, 1, i);
}
if ((_root.p_pos_x >= 1000) && (_root.p_pos_x < 4000)) {
e = random(2);
if (e == 0) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e == 1) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x >= 4000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x < 1000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
}
}
}
i++;
}
}
if (_root.mission_num == 2) {
if (_root.ex_mission_flg == 0) {
if (_root.destroy_num >= _root.tgt_destroy) {
if (this.warning_flg == 0) {
if ((70 < Math.round((_root.p_hp / _root.a_max_main) * 100)) && (_root.custom_bonus >= 1)) {
this.warning_flg = 1;
_root.logo_warning();
} else {
_root.shop_wep[15] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
if (this.warning_flg == 2) {
_root.ex_mission_flg = 10;
this.e_boss02(100, 5);
this.enemy5._x = _root.p_pos_x + 1500;
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 1) {
_root.shop_wep[15] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
i = 0;
while (4 >= i) {
if (_root.e_num[i] == 0) {
this.e_num_local++;
if (_root.tgt_destroy >= this.e_num_local) {
e = random(2);
this.e_hp = _root.combo_cnt + random(5);
if (100 < this.e_hp) {
this.e_hp = 99;
}
if (e == 0) {
this.e_tank01(this.e_hp + 5, i);
}
if (e == 1) {
this.e_tank02(this.e_hp + 7, i);
}
if ((_root.p_pos_x >= 1000) && (_root.p_pos_x < 4000)) {
e = random(2);
if (e == 0) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e == 1) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x >= 4000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x < 1000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
}
}
}
i++;
}
}
if (_root.mission_num == 1) {
if (_root.ex_mission_flg == 0) {
if (_root.destroy_num >= _root.tgt_destroy) {
if (this.warning_flg == 0) {
if (90 < Math.round((_root.p_hp / _root.a_max_main) * 100)) {
this.warning_flg = 1;
_root.shop_wep[40] = 2;
_root.logo_warning();
} else {
_root.shop_wep[40] = 2;
_root.screen_flg = 1;
_root.game_flg = 3;
if (_root.clear_flg_main[_root.mission_num] != 2) {
_root.clear_flg_main[_root.mission_num] = 1;
}
}
}
if (this.warning_flg == 2) {
_root.ex_mission_flg = 10;
this.e_boss01(150, 5);
this.enemy5._x = _root.p_pos_x + 1500;
}
}
}
if (_root.ex_mission_flg == 10) {
if (_root.boss_destroy_flg >= 1) {
_root.shop_wep[2] = 1;
_root.screen_flg = 1;
_root.game_flg = 3;
_root.clear_flg_main[_root.mission_num] = 2;
}
}
i = 0;
while (4 >= i) {
if (_root.e_num[i] == 0) {
this.e_num_local++;
if (_root.tgt_destroy >= this.e_num_local) {
e = random(2);
this.e_hp = _root.combo_cnt + random(5);
if (100 < this.e_hp) {
this.e_hp = 99;
}
if (e == 0) {
this.e_tank01(this.e_hp + 5, i);
}
if (e == 1) {
this.e_tank02(this.e_hp + 7, i);
}
if ((_root.p_pos_x >= 1000) && (_root.p_pos_x < 4000)) {
e = random(2);
if (e == 0) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e == 1) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x >= 4000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x < 1000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
}
}
}
i++;
}
}
if (_root.mission_num == 0) {
if (_root.destroy_num >= _root.tgt_destroy) {
_root.screen_flg = 1;
_root.game_flg = 3;
}
i = 0;
while (4 >= i) {
if (_root.e_num[i] == 0) {
this.e_num_local++;
if (this.e_num_local < _root.tgt_destroy) {
e = random(2);
if (e == 0) {
this.e_tank01(4 + random(10), i);
}
if (e == 1) {
this.e_tank02(4 + random(10), i);
}
if (e == 2) {
this.e_fly01(4 + random(10), i);
}
if (e == 3) {
this.e_armor01(4 + random(10), 1, i);
}
if (e == 4) {
this.e_boss01(4 + random(10), i);
}
if ((_root.p_pos_x >= 1000) && (_root.p_pos_x < 4000)) {
e = random(2);
if (e == 0) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e == 1) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x >= 4000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
}
if (_root.p_pos_x < 1000) {
e = random(10);
if (e < 7) {
this["enemy" + i]._x = _root.p_pos_x + (500 + random(1500));
}
if (e >= 7) {
this["enemy" + i]._x = _root.p_pos_x - (500 + random(1500));
}
}
}
}
i++;
}
}
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
Symbol 915 MovieClip Frame 3
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
this.gotoAndPlay(2);
Symbol 916 MovieClip Frame 1
function p_shot_mg(x, y, rot, spd, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_mg", "p_shot" + _root.p_shot_num, _root.p_shot_num + 10);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num]._xscale = 300;
this["p_shot" + _root.p_shot_num]._yscale = 15;
this["p_shot" + _root.p_shot_num]._rotation = rot;
this["p_shot" + _root.p_shot_num].spd = spd;
this["p_shot" + _root.p_shot_num].atk = atk;
this["p_shot" + _root.p_shot_num].hit_flg = 0;
this["p_shot" + _root.p_shot_num].time = 0;
}
function p_shot_sg(x, y, rot, spd, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_mg", "p_shot" + _root.p_shot_num, _root.p_shot_num + 10);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num]._xscale = 80 + random(100);
this["p_shot" + _root.p_shot_num]._yscale = this["p_shot" + _root.p_shot_num]._xscale / 5;
this["p_shot" + _root.p_shot_num]._rotation = (rot + 20) - random(40);
this["p_shot" + _root.p_shot_num].spd = spd;
this["p_shot" + _root.p_shot_num].atk = atk;
this["p_shot" + _root.p_shot_num].hit_flg = 0;
this["p_shot" + _root.p_shot_num].time = 0;
}
function p_shot_sr(x, y, rot, spd, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_mg", "p_shot" + _root.p_shot_num, _root.p_shot_num + 10);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num]._xscale = 500;
this["p_shot" + _root.p_shot_num]._yscale = 20;
this["p_shot" + _root.p_shot_num]._rotation = rot;
this["p_shot" + _root.p_shot_num].spd = spd;
this["p_shot" + _root.p_shot_num].atk = atk;
this["p_shot" + _root.p_shot_num].hit_flg = 0;
this["p_shot" + _root.p_shot_num].time = 0;
}
function p_shot_rg(x, y, xscale, yscale, rot, spd, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_rg", "p_shot" + _root.p_shot_num, _root.p_shot_num + 10);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num]._xscale = xscale + 50;
this["p_shot" + _root.p_shot_num]._yscale = yscale + 5;
this["p_shot" + _root.p_shot_num]._rotation = rot;
this["p_shot" + _root.p_shot_num].spd = spd;
this["p_shot" + _root.p_shot_num].atk = atk;
this["p_shot" + _root.p_shot_num].hit_flg = 0;
}
function p_shot_br(x, y, rot, spd, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_br", "p_shot" + _root.p_shot_num, _root.p_shot_num + 10);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num]._xscale = 500;
this["p_shot" + _root.p_shot_num]._yscale = 30;
this["p_shot" + _root.p_shot_num]._rotation = rot;
this["p_shot" + _root.p_shot_num].spd = spd;
this["p_shot" + _root.p_shot_num].atk = atk;
this["p_shot" + _root.p_shot_num].hit_flg = 0;
this["p_shot" + _root.p_shot_num].time = 0;
}
function p_shot_bz(x, y, rot, spd, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_bz", "p_shot" + _root.p_shot_num, _root.p_shot_num + 10);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num]._rotation = rot;
this["p_shot" + _root.p_shot_num].spd = spd;
this["p_shot" + _root.p_shot_num].atk = atk;
this["p_shot" + _root.p_shot_num].hit_flg = 0;
}
function p_shot_gr(x, y, rot, spd, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_gr", "p_shot" + _root.p_shot_num, _root.p_shot_num + 10);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num].p_shot_main._rotation = rot;
this["p_shot" + _root.p_shot_num].spd = spd;
this["p_shot" + _root.p_shot_num].atk = atk;
if ((_root.p_mov_x * Math.cos(rot * (Math.PI/180))) >= 0) {
this["p_shot" + _root.p_shot_num].m_x = _root.p_mov_x + (Math.cos(rot * (Math.PI/180)) * spd);
} else if ((_root.p_mov_x * Math.cos(rot * (Math.PI/180))) < 0) {
this["p_shot" + _root.p_shot_num].m_x = Math.cos(rot * (Math.PI/180)) * spd;
}
this["p_shot" + _root.p_shot_num].m_y = _root.p_mov_y + (Math.sin(rot * (Math.PI/180)) * spd);
}
function p_shot_msl01(x, y, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_msl01", "p_shot" + _root.p_shot_num, 100 + _root.p_shot_num);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num].atk = atk;
}
function p_shot_pr(x, y, rot, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_beam01", "p_shot" + _root.p_shot_num, 100 + _root.p_shot_num);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num]._rotation = rot;
this["p_shot" + _root.p_shot_num].atk = atk;
}
function p_shot_pb01(x, y, rot, atk) {
_root.p_shot_num++;
if (20 < _root.p_shot_num) {
_root.p_shot_num = 0;
}
this.attachMovie("p_shot_pb01", "p_shot" + _root.p_shot_num, 100 + _root.p_shot_num);
this["p_shot" + _root.p_shot_num]._x = x;
this["p_shot" + _root.p_shot_num]._y = y;
this["p_shot" + _root.p_shot_num].atk = atk;
if ((_root.p_mov_x * Math.cos(rot * (Math.PI/180))) >= 0) {
this["p_shot" + _root.p_shot_num].m_x = _root.p_mov_x + (Math.cos(rot * (Math.PI/180)) * 30);
} else if ((_root.p_mov_x * Math.cos(rot * (Math.PI/180))) < 0) {
this["p_shot" + _root.p_shot_num].m_x = Math.cos(rot * (Math.PI/180)) * 30;
}
this["p_shot" + _root.p_shot_num].m_y = Math.sin(rot * (Math.PI/180)) * 30;
this["p_shot" + _root.p_shot_num]._rotation = rot;
}
function msl_mark(num) {
this.attachMovie("msl_mark", "m_m" + num, 550 + num);
this["m_m" + num]._x = 200;
this["m_m" + num]._y = 150;
this["m_m" + num]._xscale = 100;
this["m_m" + num]._yscale = 100;
this["m_m" + num].num = num;
this["m_m" + num].hit = 0;
}
if (_root.equip_armor == 1) {
this.attachMovie("player01", "player", 2);
} else if (_root.equip_armor == 2) {
this.attachMovie("player02", "player", 2);
} else if (_root.equip_armor == 3) {
this.attachMovie("player03", "player", 2);
} else {
this.attachMovie("player01", "player", 2);
}
this.player._x = 200;
this.player._y = 150;
this.attachMovie("p_shadow", "p_shadow", 1);
Symbol 916 MovieClip Frame 3
this.gotoAndPlay(2);
Symbol 918 MovieClip Frame 1
function efct_dash01(x, y, xscale, yscale) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_dash01", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = x;
this["efct" + _root.p_efct_num]._y = y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = random(60) - 30;
}
function efct_jump01(x, y, xscale, yscale) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_jump01", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = x;
this["efct" + _root.p_efct_num]._y = y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = random(160) - 80;
}
function efct_sw01(pos_x, pos_y, xscale, yscale, rot) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_sw01", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = pos_x;
this["efct" + _root.p_efct_num]._y = pos_y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = rot;
}
function efct_sw02(pos_x, pos_y, xscale, yscale, rot) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_sw02", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = pos_x;
this["efct" + _root.p_efct_num]._y = pos_y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = rot;
}
function efct_wave01(pos_x, pos_y, xscale, yscale, rot) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_wave01", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = pos_x;
this["efct" + _root.p_efct_num]._y = pos_y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = rot;
}
function efct_rg01(pos_x, pos_y, xscale, yscale, rot) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_rg", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = pos_x;
this["efct" + _root.p_efct_num]._y = pos_y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = rot;
}
function efct_bom01(pos_x, pos_y, xscale, yscale) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_bom01", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = pos_x;
this["efct" + _root.p_efct_num]._y = pos_y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = 0;
this["efct" + _root.p_efct_num].num = _root.efct_num;
}
function efct_crash01(pos_x, pos_y, xscale, yscale) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_crash01", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = pos_x;
this["efct" + _root.p_efct_num]._y = pos_y;
this["efct" + _root.p_efct_num]._xscale = xscale;
this["efct" + _root.p_efct_num]._yscale = yscale;
this["efct" + _root.p_efct_num]._rotation = 0;
}
function efct_slash01(pos_x, pos_y) {
_root.p_efct_num = _root.p_efct_num + 1;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.attachMovie("efct_slash01", "efct" + _root.p_efct_num, _root.p_efct_num);
this["efct" + _root.p_efct_num]._x = pos_x;
this["efct" + _root.p_efct_num]._y = pos_y;
this["efct" + _root.p_efct_num]._xscale = (this["efct" + _root.p_efct_num]._yscale = 50 + random(180));
this["efct" + _root.p_efct_num]._rotation = random(180);
this["efct" + _root.p_efct_num].num = _root.p_efct_num;
}
Symbol 918 MovieClip Frame 2
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
Symbol 918 MovieClip Frame 3
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
if (40 < _root.p_efct_num) {
_root.p_efct_num = 0;
}
this.gotoAndPlay(2);
Symbol 920 MovieClip Frame 1
function e_lock02(x, y, tgt_num, num) {
this.attachMovie("e_lock", "e_lock" + num, num);
this["e_lock" + num]._x = x;
this["e_lock" + num]._y = y;
this["e_lock" + num].num = tgt_num;
this["e_lock" + num].num2 = num;
}
function e_lock01(x, y, xscale, yscale, num) {
this.attachMovie("e_lock", "e_lock" + num, num);
this["e_lock" + num]._x = x;
this["e_lock" + num]._y = y;
this["e_lock" + num]._xscale = xscale;
this["e_lock" + num]._yscale = yscale;
this["e_lock" + num].lock_flg = 0;
this["e_lock" + num].num = num;
}
function e_shot01(x, y, xscale, yscale, rot, spd, dmg) {
_root.e_shot_num++;
if (20 < _root.e_shot_num) {
_root.e_shot_num = 0;
}
this.attachMovie("e_shot01", "e_shot" + _root.e_shot_num, _root.e_shot_num + 40);
this["e_shot" + _root.e_shot_num]._x = x;
this["e_shot" + _root.e_shot_num]._y = y;
this["e_shot" + _root.e_shot_num]._xscale = xscale;
this["e_shot" + _root.e_shot_num]._yscale = yscale;
this["e_shot" + _root.e_shot_num]._rotation = rot;
this["e_shot" + _root.e_shot_num].spd = spd;
this["e_shot" + _root.e_shot_num].dmg = dmg;
this["e_shot" + _root.e_shot_num].hit = 0;
}
function e_shot02(x, y, xscale, yscale, rot, spd, dmg) {
_root.e_shot_num++;
if (20 < _root.e_shot_num) {
_root.e_shot_num = 0;
}
this.attachMovie("e_shot02", "e_shot" + _root.e_shot_num, _root.e_shot_num + 40);
this["e_shot" + _root.e_shot_num]._x = x;
this["e_shot" + _root.e_shot_num]._y = y;
this["e_shot" + _root.e_shot_num]._xscale = xscale;
this["e_shot" + _root.e_shot_num]._yscale = yscale;
this["e_shot" + _root.e_shot_num]._rotation = rot;
this["e_shot" + _root.e_shot_num].spd = spd;
this["e_shot" + _root.e_shot_num].dmg = dmg;
this["e_shot" + _root.e_shot_num].hit = 0;
}
function e_shot_bz(x, y, xscale, yscale, rot, spd, dmg) {
_root.e_msl++;
if (20 < _root.e_msl) {
_root.e_msl = 0;
}
this.attachMovie("e_shot_bz", "e_msl" + _root.e_msl, _root.e_msl + 100);
this["e_msl" + _root.e_msl]._x = x;
this["e_msl" + _root.e_msl]._y = y;
this["e_msl" + _root.e_msl]._xscale = xscale;
this["e_msl" + _root.e_msl]._yscale = yscale;
this["e_msl" + _root.e_msl].e_shot_main._rotation = rot;
this["e_msl" + _root.e_msl].spd = spd;
this["e_msl" + _root.e_msl].dmg = dmg;
this["e_msl" + _root.e_msl].hit = 0;
}
function e_bom01(x, y, dmg) {
_root.e_msl++;
if (20 < _root.e_msl) {
_root.e_msl = 0;
}
this.attachMovie("e_bom01", "e_msl" + _root.e_msl, _root.e_msl + 100);
this["e_msl" + _root.e_msl]._x = x;
this["e_msl" + _root.e_msl]._y = y;
this["e_msl" + _root.e_msl].dmg = dmg;
this["e_msl" + _root.e_msl].hit = 0;
}
function e_msl01(x, y, rot, spd, dmg) {
_root.e_msl++;
if (20 < _root.e_msl) {
_root.e_msl = 0;
}
this.attachMovie("e_msl01", "e_msl" + _root.e_msl, _root.e_msl + 100);
this["e_msl" + _root.e_msl]._x = x;
this["e_msl" + _root.e_msl]._y = y;
this["e_msl" + _root.e_msl].e_msl_main._rotation = rot;
this["e_msl" + _root.e_msl].spd = spd;
this["e_msl" + _root.e_msl].num = _root.e_msl;
this["e_msl" + _root.e_msl].dmg = dmg;
this["e_msl" + _root.e_msl].hit = 0;
_root.root.p_box.msl_mark(_root.e_msl);
}
function e_mine01(x, y, mov_x, mov_y, lag, dmg) {
_root.e_msl++;
if (20 < _root.e_msl) {
_root.e_msl = 0;
}
this.attachMovie("e_mine01", "e_msl" + _root.e_msl, _root.e_msl + 100);
this["e_msl" + _root.e_msl]._x = x;
this["e_msl" + _root.e_msl]._y = y;
this["e_msl" + _root.e_msl].mov_x = mov_x;
this["e_msl" + _root.e_msl].mov_y = mov_y;
this["e_msl" + _root.e_msl]._rotation = 0;
this["e_msl" + _root.e_msl].lag = lag;
this["e_msl" + _root.e_msl].dmg = dmg;
this["e_msl" + _root.e_msl].hit = 0;
}
Symbol 920 MovieClip Frame 2
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
Symbol 920 MovieClip Frame 3
this._x = _root.root.pos_box._x;
this._y = _root.root.pos_box._y;
this.gotoAndPlay(2);
Symbol 928 MovieClip Frame 1
function e_point(num, xscale, yscale) {
this.rader_main.attachMovie("e_point", "e_p" + num, 500 + num);
this.rader_main["e_p" + num]._x = -50;
this.rader_main["e_p" + num]._y = -50;
this.rader_main["e_p" + num]._xscale = xscale;
this.rader_main["e_p" + num]._yscale = yscale;
this.rader_main["e_p" + num].num = num;
}
Symbol 928 MovieClip Frame 3
this.gotoAndPlay(2);
Symbol 989 MovieClip Frame 1
function combo(score) {
_root.combo_time = _root.combo_limit;
this._xscale = (this._yscale = 120);
_root.combo_cnt++;
_root.score_now = score * _root.combo_cnt;
_root.score = _root.score + _root.score_now;
}
function combo(this_score) {
_root.combo_time = _root.combo_limit;
this._xscale = (this._yscale = 120);
_root.combo_cnt++;
_root.score_now = this_score * _root.combo_cnt;
_root.score = _root.score + _root.score_now;
}
this._alpha = 0;
Symbol 989 MovieClip Frame 2
if (_root.max_combo < _root.combo_cnt) {
_root.max_combo = _root.combo_cnt;
}
if (_root.combo_cnt >= 1000) {
_root.combo_cnt = 999;
}
combo1 = Math.floor((_root.combo_cnt % 10) + 1);
combo2 = Math.floor(((_root.combo_cnt / 10) % 10) + 1);
combo3 = Math.floor((_root.combo_cnt / 100) + 1);
this.combo_nums1.gotoAndStop(combo1);
this.combo_nums2.gotoAndStop(combo2);
this.combo_nums3.gotoAndStop(combo3);
if (80 < this._xscale) {
this._xscale = (this._yscale = this._yscale - 5);
}
if (0 < _root.combo_time) {
_root.combo_time--;
this.combo_bar._xscale = (_root.combo_time / _root.combo_limit) * 100;
this._alpha = 100;
} else {
_root.score_now = " ";
if (0 < this._alpha) {
this._alpha = this._alpha - 5;
}
if (this._alpha < 10) {
_root.combo_cnt = 0;
this._alpha = 0;
}
}
Symbol 989 MovieClip Frame 3
this.gotoAndPlay(2);
Symbol 990 MovieClip Frame 1
this.wep_ammo_max = [0, 0, 0];
this.wep_ammo_now = [0, 0, 0];
this.wep_reload_time = [0, 0, 0];
this.reload_flg = [0, 0, 0];
this.reload_cnt = [0, 0, 0];
this.wep_ammo_max[1] = (this.wep_ammo_now[1] = _root.ammo_wep[_root.equip_wep[1]]);
this.wep_ammo_max[2] = (this.wep_ammo_now[2] = _root.ammo_wep[_root.equip_wep[2]]);
this.wep_reload_time[1] = _root.wep_reload[_root.equip_wep[1]];
this.wep_reload_time[2] = _root.wep_reload[_root.equip_wep[2]];
this.p_states_set.p_hp_bar._xscale = 0;
this.p_states_set.p_bp_bar._xscale = 0;
this.p_states_set.p_pw_bar._yscale = 0;
this.e_states_set.e_hp_bar._xscale = 0;
this.weps = 1;
this.tlg = 0;
Symbol 990 MovieClip Frame 2
if ((_root.key_wepchange == 1) && (this.tlg == 0)) {
if (_root.equip_wep[2] != 0) {
this.weps++;
this.tlg = 1;
if (2 < this.weps) {
this.weps = 1;
}
} else {
this.weps = 1;
}
}
if (_root.key_wepchange == 0) {
this.tlg = 0;
}
_root.p_weps = _root.equip_wep[this.weps];
this.wep_ctrl.gotoAndStop(this.weps);
this.wep_ctrl.wep_icons1.gotoAndStop(_root.equip_wep[1] + 1);
this.wep_ctrl.wep_icons2.gotoAndStop(_root.equip_wep[2] + 1);
this.wep_ammo_num = this.wep_ammo_now[this.weps];
if (_root.shot_cnt == 1) {
_root.shot_cnt = 0;
this.wep_ammo_now[this.weps]--;
}
if (0 >= this.wep_ammo_now[this.weps]) {
this.reload_flg[this.weps] = 1;
this.wep_ammo_now[this.weps] = 0;
}
_root.now_ammo_num = this.wep_ammo_now[this.weps];
if (_root.armor_reload[_root.equip_armor] == 0) {
if (this.reload_flg[this.weps] == 1) {
_root.shot_able = 0;
if (this.reload_cnt[this.weps] < this.wep_reload_time[this.weps]) {
this.reload_cnt[this.weps]++;
this.wep_ctrl.bar_wep_ammo._xscale = (this.reload_cnt[this.weps] / this.wep_reload_time[this.weps]) * 100;
}
if (this.reload_cnt[this.weps] >= this.wep_reload_time[this.weps]) {
this.reload_flg[this.weps] = 0;
this.reload_cnt[this.weps] = 0;
this.wep_ammo_now[this.weps] = this.wep_ammo_max[this.weps];
}
} else {
_root.shot_able = 1;
this.wep_ctrl.bar_wep_ammo._xscale = (this.wep_ammo_now[this.weps] / this.wep_ammo_max[this.weps]) * 100;
}
}
if (_root.armor_reload[_root.equip_armor] == 1) {
if (this.reload_flg[1] == 1) {
if (this.reload_cnt[1] < this.wep_reload_time[1]) {
this.reload_cnt[1]++;
}
if (this.reload_cnt[1] >= this.wep_reload_time[1]) {
this.reload_flg[1] = 0;
this.reload_cnt[1] = 0;
this.wep_ammo_now[1] = this.wep_ammo_max[1];
}
}
if (this.reload_flg[2] == 1) {
if (this.reload_cnt[2] < this.wep_reload_time[2]) {
this.reload_cnt[2]++;
}
if (this.reload_cnt[2] >= this.wep_reload_time[2]) {
this.reload_flg[2] = 0;
this.reload_cnt[2] = 0;
this.wep_ammo_now[2] = this.wep_ammo_max[2];
}
}
if (this.reload_flg[this.weps] == 1) {
_root.shot_able = 0;
this.wep_ctrl.bar_wep_ammo._xscale = (this.reload_cnt[this.weps] / this.wep_reload_time[this.weps]) * 100;
} else {
_root.shot_able = 1;
this.wep_ctrl.bar_wep_ammo._xscale = (this.wep_ammo_now[this.weps] / this.wep_ammo_max[this.weps]) * 100;
}
}
this.p_states_set.p_hp_bar._xscale = (_root.p_hp / _root.a_max_main) * 100;
this.p_states_set.p_bp_bar._xscale = (_root.p_bp / _root.b_max_main) * 100;
this.p_states_set.p_pw_bar._yscale = (_root.p_pw / _root.b_pw_main) * 100;
this.e_states_set.e_hp_bar._xscale = (_root.e_hp / _root.e_hp_max) * 100;
p_states_set.armor_icons.gotoAndStop(_root.equip_armor + 1);
if (0 < _root.p_dmg) {
if (0 < ((_root.p_dmg - _root.a_defense_main) - _root.dash_defense)) {
if (20 < ((_root.p_dmg - _root.a_defense_main) - _root.dash_defense)) {
if (_root.p_dmg_flg == 0) {
_root.p_hp = _root.p_hp - ((_root.p_dmg - _root.a_defense_main) - _root.dash_defense);
_root.root.p_box.player.anime_flg = 9;
_root.p_mov_x = _root.hit_mov_x;
_root.p_mov_y = _root.hit_mov_y;
}
_root.hit_mov_x = 0;
_root.hit_mov_y = 0;
} else {
_root.p_hp = _root.p_hp - ((_root.p_dmg - _root.a_defense_main) - _root.dash_defense);
_root.hit_mov_x = 0;
_root.hit_mov_y = 0;
}
} else if (0 >= ((_root.p_dmg - _root.a_defense_main) - _root.dash_defense)) {
_root.p_hp = _root.p_hp - 1;
_root.hit_mov_x = 0;
_root.hit_mov_y = 0;
}
_root.p_dmg = 0;
}
if (_root.game_flg == 3) {
_root.life_bonus = (Math.round((_root.p_hp / _root.a_max_main) * 100) / 100) + _root.custom_bonus;
}
if (0 >= _root.p_hp) {
_root.root.p_box.player.anime_flg = 9;
_root.p_hp = 0;
_root.game_flg = 9;
if ((_root.p_dmg_flg == 1) && (_root._currentframe == 4)) {
if (_root.p_mov_x == 0) {
_root.life_bonus = 0.1;
_root.screen_flg = 2;
}
}
}
if (_root.p_bp < 0) {
_root.p_bp = 0;
}
if (_root.p_bp < _root.b_max_main) {
_root.p_bp = _root.p_bp + _root.b_recv_main;
}
if (_root.time >= 0) {
_root.time_now--;
if (_root.time_now < 0) {
_root.time--;
_root.time_now = 45;
}
}
if (_root.time < 0) {
_root.time = 0;
_root.time_now = 0;
_root.screen_flg = 2;
_root.game_flg = 9;
}
if ((_root.key_efctchange == 1) && (this.efct_tlg == 0)) {
_root.efct_switch++;
this.efct_tlg = 1;
if (1 < _root.efct_switch) {
_root.efct_switch = 0;
}
}
if (_root.key_efctchange == 0) {
this.efct_tlg = 0;
}
Symbol 990 MovieClip Frame 3
this.gotoAndPlay(2);
Symbol 995 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 995 MovieClip Frame 4
this.gotoAndPlay(3);
Symbol 996 MovieClip Frame 1
this.gotoAndStop(1);
Symbol 996 MovieClip Frame 2
this.gotoAndStop(1);
Symbol 996 MovieClip Frame 20
this.gotoAndPlay(5);
Symbol 997 MovieClip Frame 1
this._visible = 0;
Symbol 997 MovieClip Frame 2
if (5 >= _root.p_pos_x) {
se_art.attachSound("se_art");
if (this.alert_main._currentframe < 5) {
this.alert_main.gotoAndPlay(5);
}
this.alert_main.alert.gotoAndPlay(1);
this._visible = 1;
} else if (_root.p_pos_x >= 4995) {
if (this.alert_main._currentframe < 5) {
this.alert_main.gotoAndPlay(5);
}
this.alert_main.alert.gotoAndPlay(1);
this._visible = 1;
} else if (_root.alert_flg == 1) {
this._visible = 1;
if (this.alert_main._currentframe < 5) {
this.alert_main.gotoAndPlay(5);
}
this.alert_main.alert.gotoAndPlay(3);
} else {
this.alert_main.gotoAndStop(1);
this._visible = 0;
}
Symbol 997 MovieClip Frame 3
this.gotoAndPlay(2);