Frame 1
function ini_flame(type) {
ziki_mc._visible = type;
j = 0;
while (j < 3) {
i = 0;
while (i < 8) {
var _local2 = _root.damage_mc[(("z_tama" + j) + "_") + i];
_local2._visible = type;
i++;
}
j++;
}
if (type) {
var_ini();
gotoAndStop (3);
game_set();
delete push_z_mc.onEnterFrame;
} else {
push_z_mc._x = 20;
push_z_mc._y = 0;
push_z_mc.gotoAndPlay(1);
push_z_mc.onEnterFrame = function () {
if (Key.isDown(67)) {
ini_flame(true);
}
};
delete _root.onEnterFrame;
}
}
function var_ini() {
_quality = "low";
_root._y = 0;
_root.game_timer_mc.gotoAndStop(1);
_root.start_timer = getTimer();
_root.fps = 0;
_root.get_fps = 0;
_root.old_timer = 0;
_root.ziki_mc._x = 50;
_root.ziki_mc._y = 150;
_root.weight = 60;
_root.weight_lv = 1;
_root.laser_lv = _root.weight_lv + 10;
_root.ziki_mc.gotoAndStop(1);
_root.ziki_mc.umai_mc.gotoAndStop(1);
_root.bom_mc.gotoAndStop(1);
_root.bom_mc._x = -100;
_root.bom_mc._y = -100;
_root.live_flag = 1;
_root.ziki_speed = 0;
_root.ziki_d_height = 0;
_root.ziki_str = 10;
_root.push_z_mc._x = -100;
_root.push_z_mc._y = -100;
_root.push_z_mc.gotoAndStop(1);
j = 0;
while (j < 3) {
i = 0;
while (i < 8) {
var _local2 = _root.damage_mc[(("z_tama" + j) + "_") + i];
_local2._x = 500;
_local2._y = 500;
i++;
}
j++;
}
i = 1;
while (i <= 200) {
var _local2 = _root.damage_mc["tama" + i];
_local2.gotoAndStop(1);
_local2._x = -100;
_local2._y = -100;
i++;
}
_root.damage_mc.boss_mc.gotoAndStop(2);
_root.damage_mc.boss_mc._rotation = 0;
_root.damage_mc.boss_dummy_mc.gotoAndStop(1);
_root.damage_mc.boss_dummy_mc._visible = true;
_root.boss_life = 100000 /* 0x0186A0 */;
_root.timer1 = 0;
_root.boss_life_mc._yscale = _root.boss_life * 0.001;
_root.damage_mc.helper_1_mc.gotoAndStop(1);
_root.damage_mc.helper_1_mc._x = -100;
_root.damage_mc.helper_1_mc._y = -100;
_root.damage_mc.helper_2_mc.gotoAndStop(1);
_root.damage_mc.helper_2_mc._x = -100;
_root.damage_mc.helper_2_mc._y = -100;
boss_bomm_mc.gotoAndStop(1);
boss_bomm_mc._x = -100;
boss_bomm_mc._y = -100;
_root.game_mode = 0;
}
function ziki_hit() {
ziki_mc.umai_mc.gotoAndPlay(1);
weight = weight + 4;
if ((weight > 140) && (weight_lv == 5)) {
ziki_d_height = 7;
} else if ((weight > 120) && (weight_lv == 4)) {
weight_lv++;
laser_lv = weight_lv + 10;
ziki_mc.gotoAndStop(weight_lv);
ziki_d_height = 2.5;
if (game_mode == 0) {
ziki_str = ziki_str + 50;
} else {
ziki_str = ziki_str + 30;
}
} else if ((weight > 99) && (weight_lv == 3)) {
weight_lv++;
laser_lv = weight_lv + 10;
ziki_mc.gotoAndStop(weight_lv);
ziki_d_height = 0.3;
if (game_mode == 0) {
ziki_str = ziki_str + 21;
} else {
ziki_str = ziki_str + 4;
}
} else if ((weight > 70) && (weight_lv == 2)) {
weight_lv++;
laser_lv = weight_lv + 10;
ziki_mc.gotoAndStop(weight_lv);
if (game_mode == 0) {
ziki_str = ziki_str + 5;
} else {
ziki_str = ziki_str + 2;
}
} else if ((weight > 60) && (weight_lv == 1)) {
weight_lv++;
laser_lv = weight_lv + 10;
ziki_mc.gotoAndStop(weight_lv);
if (game_mode == 0) {
ziki_str = ziki_str + 3;
} else {
ziki_str = ziki_str + 1;
}
}
}
function fire(f_x, f_y, s_x, s_y, rot, ani) {
if (tama_arr.length > 0) {
var tama_num = _root.tama_arr.shift();
_root.txt = _root.tama_arr.length;
var _local3 = _root.damage_mc["tama" + tama_num];
_local3._x = f_x;
_local3._y = f_y;
_local3._rotation = rot;
_local3.gotoAndStop(ani);
var _local4 = Math.round(_local3._width * 0.5);
var _local5 = Math.round(_local3._height * 0.5);
_local3.min_x = -_local4;
_local3.min_y = -_local5;
_local3.max_x = 400 + _local4;
_local3.max_y = 300 + _local5;
_local3.onEnterFrame = function () {
if ((((this._x > this.min_x) && (this._x < this.max_x)) && (this._y > this.min_y)) && (this._y < this.max_y)) {
this._x = this._x + s_x;
this._y = this._y + s_y;
} else {
delete this.onEnterFrame;
this._x = 1000;
this._y = 1000;
this.gotoAndStop(1);
tama_arr.push(tama_num);
}
};
}
}
function ziki_rot(f_x, f_y) {
var _local3 = ziki_mc._x - f_x;
var _local2 = ziki_mc._y - f_y;
var _local1 = Math.floor((Math.atan2(_local2, _local3) * 180) / Math.PI);
if (_local1 < 0) {
_local1 = _local1 + 360;
}
return(_local1);
}
function sitei_rot(i, j, f_x, f_y) {
var _local3 = i - f_x;
var _local2 = j - f_y;
var _local1 = Math.floor((Math.atan2(_local2, _local3) * 180) / Math.PI);
if (_local1 < 0) {
_local1 = _local1 + 360;
}
return(_local1);
}
function game_set() {
_root.onEnterFrame = function () {
if (Key.isDown(67)) {
ini_flame(false);
ini_flame(true);
}
if (!Key.isDown(90)) {
ziki_speed = 5;
} else {
ziki_speed = 2;
}
if (Key.isDown(37)) {
if (ziki_mc._x > (ziki_speed + 5)) {
ziki_mc._x = ziki_mc._x - ziki_speed;
} else {
ziki_mc._x = 5;
}
}
if (Key.isDown(38)) {
if (ziki_mc._y > (ziki_speed + 3)) {
ziki_mc._y = ziki_mc._y - ziki_speed;
}
}
if (Key.isDown(39)) {
if (ziki_mc._x < 370) {
ziki_mc._x = ziki_mc._x + ziki_speed;
}
}
if (Key.isDown(40)) {
if (ziki_mc._y < 300) {
ziki_mc._y = ziki_mc._y + ziki_speed;
}
}
if (damage_mc.hitTest(ziki_mc._x, ziki_mc._y, true)) {
ziki_hit();
}
j = 0;
while (j < 3) {
z_t_rot = j - 1;
i = 0;
while (i < 8) {
var _local2 = _root.damage_mc[(("z_tama" + j) + "_") + i];
if ((z_tama_count % 8) != i) {
_local2._x = _local2._x + 50;
_local2._rotation = 0;
if (!Key.isDown(90)) {
_local2._y = _local2._y + (30 * z_t_rot);
_local2._rotation = 30 * z_t_rot;
}
if (_local2._currentframe == weight_lv) {
if (_local2.hitTest(damage_mc.boss_mc)) {
_local2.gotoAndStop(laser_lv);
_root.boss_life = _root.boss_life - ziki_str;
_root.boss_life_mc._yscale = _root.boss_life * 0.001;
}
} else if (_local2._currentframe == laser_lv) {
_local2.gotoAndStop(16);
}
} else {
shake = Math.floor(z_tama_count * 0.125);
if (shake > 5) {
shake = 10 - shake;
}
_local2._x = _root.ziki_mc._x + shake;
_local2._y = _root.ziki_mc._y + (10 * z_t_rot);
_local2.gotoAndStop(weight_lv);
}
i++;
}
j++;
}
if (z_tama_count != 71) {
z_tama_count++;
} else {
z_tama_count = 0;
}
ziki_mc._y = ziki_mc._y + ziki_d_height;
game_timer = Math.floor((getTimer() - start_timer) * 0.1);
if (game_timer > 3000) {
game_timer_mc.gotoAndStop(2);
}
if (ziki_mc._y > 310) {
bom_mc._x = ziki_mc._x;
bom_mc._y = 300;
bom_mc.gotoAndPlay(2);
live_flag = 0;
ini_flame(false);
}
get_fps++;
if (getTimer() >= (old_timer + 1000)) {
old_timer = getTimer();
fps = get_fps;
get_fps = 0;
}
};
}
var menu_cm = new ContextMenu();
menu_cm.hideBuiltInItems();
_root.menu = menu_cm;
Stage.scaleMode = "noScale";
var i;
var j;
var dip = 0;
j = 0;
while (j < 3) {
dip = 8 + (8 * j);
i = 0;
while (i < 8) {
var mc = _root.damage_mc.attachMovie("ziki_tama", (("z_tama" + j) + "_") + i, dip);
mc.stop();
dip--;
i++;
}
j++;
}
dip = dip + 8;
var tama_arr = new Array();
i = 1;
while (i <= 200) {
dip++;
var mc = _root.damage_mc.attachMovie("tama_mc", "tama" + i, dip);
tama_arr.push(i);
mc.gotoAndStop(1);
mc._x = -100;
mc._y = -100;
i++;
}
var v_x_arr = new Array();
var v_y_arr = new Array();
i = 0;
while (i < 360) {
rot = i;
var v_x = Math.cos((rot * Math.PI) / 180);
var v_y = Math.sin((rot * Math.PI) / 180);
v_x = Math.round(v_x * 100) * 0.01;
v_y = Math.round(v_y * 100) * 0.01;
v_x_arr.push(v_x);
v_y_arr.push(v_y);
i++;
}
var tama_num_arr = new Array();
j = 0;
i = 0;
while (i < 360) {
j = i % 6;
tama_num_arr[i] = j;
i++;
}
var fps = 0;
var get_fps = 0;
var old_timer = 0;
bom_mc.stop();
bom_mc._x = -100;
bom_mc._y = -100;
var game_timer_mc;
var start_timer;
var game_timer = 0;
var root_timer = 0;
var weight;
var weight_lv;
var laser_lv;
ziki_mc.gotoAndStop(1);
ziki_mc.umai_mc.gotoAndStop(1);
var ziki_speed = 0;
var ziki_square = 0;
var ziki_d_height = 0;
var z_m_x;
var z_m_y;
var ziki_str;
var live_flag;
ziki_tama_v(false);
var z_tama_count = 0;
var z_t_rot = 0;
var shake = 0;
var v1 = 0;
var rot = 0;
var z_rot = 0;
var f_x_1 = 0;
var f_y_1 = 0;
var s_x = 0;
var s_y = 0;
var ani_rot = 0;
var ani = 1;
var boss_mc = damage_mc.boss_mc;
var boss_dummy_mc = damage_mc.boss_dummy_mc;
var boss_life;
var timer1;
var timer2;
var timer3;
var count1;
var count2;
var count3;
var boss_x;
var boss_y;
var gotoFlame;
var helper_1_mc = damage_mc.helper_1_mc;
var helper_2_mc = damage_mc.helper_2_mc;
var val1;
var val2;
var game_mode;
push_z_mc._x = -100;
push_z_mc._y = -100;
var_ini();
ini_flame(false);
_quality = "high";
Frame 2
stop();
Frame 3
function boss_func() {
if (v_x_arr[count1] < 0) {
boss_x = 0;
boss_y = 0;
boss_mc._x = 300;
boss_mc._y = 150;
_root.nextFrame();
}
boss_mc._x = boss_mc._x + (v_x_arr[count1] * boss_x);
boss_mc._y = boss_mc._y + (v_x_arr[count1] * boss_y);
count1 = count1 + 1;
}
boss_mc._x = 239;
boss_mc._y = -162;
boss_mc.gotoAndStop(2);
boss_x = 3;
boss_y = 15;
count1 = 40;
boss_mc.onEnterFrame = function () {
boss_func();
};
Frame 4
function boss_func() {
if (boss_life < 66666) {
_root.nextFrame();
}
boss_mc._y = boss_mc._y + v_x_arr[count1];
count1 = count1 + 5;
if (count1 > 360) {
count1 = 0;
boss_mc._y = 148;
}
if (timer1 > 15) {
f_x_1 = boss_mc._x - 55;
f_y_1 = boss_mc._y;
z_rot = ziki_rot(f_x_1, f_y_1) - 30;
i = 0;
while (i < 5) {
rot = z_rot + (i * 15);
if (rot >= 360) {
rot = rot - 360;
} else if (rot < 0) {
rot = rot + 360;
}
s_x = v_x_arr[rot] * 3.5;
s_y = v_y_arr[rot] * 3.5;
ani_rot = 0;
ani = 1;
fire(f_x_1, f_y_1, s_x, s_y, ani_rot, ani);
i++;
}
timer1 = 0;
}
timer1++;
}
count1 = 180;
timer1 = 0;
Frame 5
function boss_func() {
boss_dummy_mc._y = boss_dummy_mc._y + v_x_arr[count1];
count1 = count1 + 5;
if (count1 > 360) {
count1 = 0;
boss_dummy_mc._y = 148;
}
helper_1_mc._x = helper_1_mc._x + (v_x_arr[count3] * 4);
helper_1_mc._y = helper_1_mc._y + (v_x_arr[count2] * 6);
helper_2_mc._x = helper_2_mc._x + (v_x_arr[count3] * 4);
helper_2_mc._y = helper_2_mc._y - (v_x_arr[count2] * 6);
if (count2 < 60) {
count2 = count2 + 3;
} else {
count2 = count2 + 1;
}
count3 = count3 + 1;
if (boss_dummy_mc.boss_move_mc._currentframe == 70) {
boss_bomm_mc._x = -100;
boss_bomm_mc._y = -100;
boss_bomm_mc.gotoAndStop(1);
boss_dummy_mc.gotoAndStop(1);
boss_mc.gotoAndStop(2);
boss_mc._x = boss_dummy_mc._x;
boss_mc._y = boss_dummy_mc._y;
nextFrame();
}
}
boss_mc.gotoAndStop(1);
boss_dummy_mc.gotoAndStop(2);
boss_dummy_mc._x = boss_mc._x;
boss_dummy_mc._y = boss_mc._y;
boss_bomm_mc._x = boss_mc._x;
boss_bomm_mc._y = boss_mc._y;
boss_bomm_mc.gotoAndPlay(2);
helper_1_mc._x = 200;
helper_1_mc._y = -50;
helper_1_mc.gotoAndStop(2);
helper_1_mc._rotation = 0;
helper_2_mc._x = 200;
helper_2_mc._y = 350;
helper_2_mc.gotoAndStop(2);
helper_2_mc._rotation = 0;
count2 = 0;
count3 = 0;
Frame 6
function boss_func() {
if (boss_life < 33333) {
_root.nextFrame();
}
boss_mc._y = boss_mc._y + v_x_arr[count1];
count1 = count1 + 5;
if (count1 > 360) {
count1 = 0;
boss_mc._y = 148;
}
if (count2 < 90) {
helper_1_mc._x = helper_1_mc._x - (v_y_arr[count2] * 8.5);
helper_1_mc._y = helper_1_mc._y - (v_x_arr[count2] * 6);
if ((count2 % 3) == 0) {
f_x_1 = helper_1_mc._x;
f_y_1 = helper_1_mc._y;
rot = ziki_rot(f_x_1, f_y_1);
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
fire(f_x_1, f_y_1, s_x, s_y, 0, 1);
}
if (count2 == 85) {
helper_2_mc._x = 420;
helper_2_mc._y = -50;
count3 = 0;
}
}
count2++;
if (count3 < 90) {
helper_2_mc._x = helper_2_mc._x - (v_y_arr[count3] * 8.5);
helper_2_mc._y = helper_2_mc._y + (v_x_arr[count3] * 6);
if ((count3 % 3) == 0) {
f_x_1 = helper_2_mc._x;
f_y_1 = helper_2_mc._y;
rot = ziki_rot(f_x_1, f_y_1);
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
fire(f_x_1, f_y_1, s_x, s_y, 0, 1);
}
if (count3 == 85) {
helper_1_mc._x = 420;
helper_1_mc._y = 350;
count2 = 0;
}
}
count3++;
}
helper_1_mc._x = 420;
helper_1_mc._y = 350;
helper_1_mc.gotoAndStop(2);
helper_2_mc._x = 420;
helper_2_mc._y = -50;
helper_2_mc.gotoAndStop(2);
timer1 = 280;
count2 = 0;
count3 = 1000;
Frame 7
function boss_func() {
boss_dummy_mc._y = boss_dummy_mc._y + v_x_arr[count1];
count1 = count1 + 5;
if (count1 > 360) {
count1 = 0;
boss_dummy_mc._y = 148;
}
if (count2 == 1) {
helper_1_mc._y = helper_1_mc._y - 8;
if (helper_1_mc._y < -30) {
helper_1_mc._x = 300;
helper_1_mc._y = -40;
count2 = 0;
}
}
if (count3 == 1) {
helper_2_mc._y = helper_2_mc._y + 8;
if (helper_2_mc._y > 330) {
helper_2_mc._x = 300;
helper_2_mc._y = 340;
count3 = 0;
}
}
if ((count2 == 0) && (count3 == 0)) {
if (helper_1_mc._y < 30) {
helper_1_mc._y = helper_1_mc._y + 1;
helper_2_mc._y = helper_2_mc._y - 1;
} else {
count2 = 2;
}
}
if (boss_dummy_mc.boss_move_mc._currentframe == 70) {
boss_dummy_mc.boss_move_mc.gotoAndStop(70);
}
if ((boss_dummy_mc.boss_move_mc._currentframe == 70) && (count2 == 2)) {
boss_bomm_mc._x = -100;
boss_bomm_mc._y = -100;
boss_bomm_mc.gotoAndStop(1);
boss_dummy_mc.gotoAndStop(1);
boss_mc.gotoAndStop(2);
boss_mc._x = boss_dummy_mc._x;
boss_mc._y = boss_dummy_mc._y;
nextFrame();
}
}
boss_mc.gotoAndStop(1);
boss_dummy_mc.gotoAndStop(2);
boss_dummy_mc._x = boss_mc._x;
boss_dummy_mc._y = boss_mc._y;
boss_bomm_mc._x = boss_mc._x;
boss_bomm_mc._y = boss_mc._y;
boss_bomm_mc.gotoAndPlay(2);
if (count2 > 90) {
count2 = 0;
helper_1_mc._x = 300;
helper_1_mc._y = -40;
} else {
count2 = 1;
}
if (count3 > 90) {
count3 = 0;
helper_2_mc._x = 300;
helper_2_mc._y = 340;
} else {
count3 = 1;
}
Frame 8
function boss_func() {
if (boss_life <= 0) {
_root.nextFrame();
}
boss_mc._y = boss_mc._y + v_x_arr[count1];
count1 = count1 + 5;
if (count1 > 360) {
count1 = 0;
boss_mc._y = 148;
}
if (timer1 < 360) {
f_x_1 = 250;
f_y_1 = boss_mc._y;
s_x = v_x_arr[timer1] * 2;
s_y = v_y_arr[timer1] * 2;
fire(f_x_1, f_y_1, s_x, s_y, 0, 4);
}
timer1 = timer1 + 30;
if (timer1 >= 360) {
timer1 = 0;
}
val1 = ziki_mc._y + 50;
val2 = ziki_mc._y - 50;
helper_1_mc._y = helper_1_mc._y + (v_y_arr[count2] * 6);
if ((count2 % 45) == 0) {
f_x_1 = helper_1_mc._x;
f_y_1 = helper_1_mc._y;
fire(f_x_1, f_y_1, -5, 0, 180, 2);
}
count2 = count2 + 3;
if (count2 >= 360) {
helper_1_mc._y = 30;
count2 = 0;
}
helper_2_mc._y = helper_2_mc._y - (v_y_arr[count3] * 6);
if ((count3 % 180) == 0) {
f_x_1 = helper_2_mc._x;
f_y_1 = helper_2_mc._y;
rot = ziki_rot(f_x_1, f_y_1);
s_x = v_x_arr[rot] * 3;
s_y = v_y_arr[rot] * 3;
fire(f_x_1, f_y_1, s_x, s_y, 0, 3);
}
count3 = count3 + 3;
if (count3 >= 360) {
helper_2_mc._y = 270;
count3 = 0;
}
}
timer1 = 0;
count2 = 0;
count3 = 0;
helper_1_mc._x = 300;
helper_1_mc._y = 30;
helper_1_mc.gotoAndStop(2);
helper_2_mc._x = 300;
helper_2_mc._y = 270;
helper_2_mc.gotoAndStop(2);
Frame 9
function boss_func() {
if (boss_dummy_mc._y < 380) {
boss_dummy_mc._x = boss_dummy_mc._x + (v_y_arr[count1] * 2);
boss_dummy_mc._y = boss_dummy_mc._y + 3;
count1 = count1 + 40;
if (count1 >= 360) {
count1 = 0;
}
if (boss_bomm_mc._currentframe == 30) {
boss_bomm_mc._x = boss_dummy_mc._x;
boss_bomm_mc._y = boss_dummy_mc._y;
boss_bomm_mc.gotoAndPlay(2);
}
} else if (count3 == 0) {
delete _root.onEnterFrame;
boss_bomm_mc._y = 300;
boss_bomm_mc.gotoAndPlay(31);
count3 = 1;
}
if (count2 <= 90) {
helper_1_mc._y = helper_1_mc._y + (v_y_arr[count2] * 10);
helper_2_mc._y = helper_2_mc._y + (v_y_arr[count2] * 10);
}
count2++;
}
boss_mc.gotoAndStop(1);
boss_dummy_mc.gotoAndStop(3);
boss_dummy_mc._x = boss_mc._x;
boss_dummy_mc._y = boss_mc._y;
boss_bomm_mc._x = boss_mc._x;
boss_bomm_mc._y = boss_mc._y;
boss_bomm_mc.gotoAndPlay(2);
count1 = 0;
count2 = 0;
count3 = 0;
stop();
Frame 10
function boss_func() {
}
boss_bomm_mc.gotoAndStop(1);
_quality = "high";
if (game_timer < 3000) {
_root.ziki_mc._x = 50;
_root.ziki_mc._y = 150;
_root.weight = 60;
_root.weight_lv = 1;
_root.laser_lv = _root.weight_lv + 10;
_root.ziki_mc.gotoAndStop(1);
_root.ziki_speed = 0;
_root.ziki_square = 0;
_root.ziki_d_height = 0;
_root.ziki_str = 10;
j = 0;
while (j < 3) {
i = 0;
while (i < 8) {
var mc = _root.damage_mc[(("z_tama" + j) + "_") + i];
mc._x = 500;
mc._y = 500;
i++;
}
j++;
}
clear_mc.gotoAndStop(6);
} else {
ini_flame(false);
clear_mc.gotoAndStop(weight_lv);
}
stop();
Frame 11
function boss_func() {
boss_life = boss_life + 1000;
boss_life_mc._yscale = boss_life * 0.001;
boss_mc._x = boss_mc._x + 0.1;
if (timer1 >= 100) {
boss_mc._x = 300;
nextFrame();
}
timer1++;
}
timer1 = 0;
timer2 = 0;
timer3 = 0;
count1 = 0;
count2 = 0;
count3 = 0;
boss_dummy_mc._x = 1000;
boss_dummy_mc._y = 1000;
boss_dummy_mc.gotoAndStop(1);
boss_mc._x = 290;
boss_mc._y = 150;
boss_mc.gotoAndStop(3);
game_mode = 1;
ziki_str = 8;
Frame 13
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
if (timer1 > 50) {
if (count1 == 0) {
count3 = 240;
count2 = 0;
timer2 = 0;
} else if (count1 == 1) {
count2 = 300;
timer2 = 180;
} else if (count1 == 2) {
timer2 = 0;
count2 = 0;
count3 = 200;
} else {
timer2 = 180;
count2 = 300;
count1 = -1;
}
count1++;
i = 0;
while (i < 30) {
rot = (i * 6) + timer2;
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
ani = tama_num_arr[i] + 17;
fire(count3, count2, s_x, s_y, rot, ani);
i++;
}
timer1 = 0;
}
timer1++;
if (timer3 > 50) {
rot = ziki_rot(300, 150);
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
fire(300, 150, s_x, s_y, 0, 24);
timer3 = 0;
}
timer3++;
if (root_timer > 651) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
timer3 = 0;
count1 = 0;
count2 = 0;
game_mode = 1;
ziki_str = 8;
Frame 14
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
if (root_timer > 100) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
Frame 15
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
if (timer1 > 85) {
i = 0;
while (i < 17) {
rot = (i * 10) + 100;
if (rot < 0) {
rot = rot + 360;
}
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
j = 0;
while (j < 6) {
count2 = (j * 20) + count3;
fire(250, count2, s_x, s_y, rot, tama_num_arr[j] + 5);
j++;
}
i++;
}
j = 0;
while (j < 6) {
count2 = ((j * 4) + 48) + count3;
fire(250, count2, -2, 0, 180, tama_num_arr[j] + 5);
j++;
}
timer1 = 0;
count3 = count3 + 30;
if (count3 >= 180) {
count3 = 0;
}
}
timer1++;
if (ziki_mc._x < 240) {
helper_1_mc._x = 1000;
helper_2_mc._y = 1000;
} else {
helper_1_mc._x = ziki_mc._x;
helper_2_mc._y = ziki_mc._y;
}
if (root_timer > 520) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
count1 = 0;
timer2 = 0;
count2 = 0;
count3 = 0;
helper_1_mc._x = 1000;
helper_1_mc._y = 34;
helper_1_mc._rotation = 90;
helper_1_mc.gotoAndStop(3);
helper_2_mc._x = 40;
helper_2_mc._y = 1000;
helper_2_mc._rotation = 0;
helper_2_mc.gotoAndStop(3);
Frame 16
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
helper_1_mc._y = helper_1_mc._y + 1;
helper_2_mc._y = helper_2_mc._y - 1;
if (root_timer > 100) {
nextFrame();
}
root_timer++;
}
helper_1_mc._x = 300;
helper_1_mc._y = -2;
helper_1_mc._rotation = 180;
helper_1_mc.gotoAndStop(3);
helper_2_mc._x = 300;
helper_2_mc._y = 302;
helper_2_mc._rotation = 180;
helper_2_mc.gotoAndStop(3);
root_timer = 0;
Frame 17
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
if (((boss_mc._y - 50) < ziki_mc._y) && ((boss_mc._y + 50) > ziki_mc._y)) {
helper_1_mc._rotation = 180;
helper_2_mc._rotation = 180;
boss_dummy_mc._visible = true;
} else {
helper_1_mc._rotation = ziki_rot(helper_1_mc._x, helper_1_mc._y);
helper_2_mc._rotation = ziki_rot(helper_2_mc._x, helper_2_mc._y);
boss_dummy_mc._visible = false;
}
boss_mc._y = boss_mc._y + count1;
boss_dummy_mc._y = boss_mc._y;
helper_1_mc._y = helper_1_mc._y + count1;
helper_2_mc._y = helper_2_mc._y + count1;
if ((boss_mc._y > 200) || (boss_mc._y < 100)) {
count1 = count1 * -1;
count2++;
if (count2 == 5) {
boss_dummy_mc.gotoAndStop(8);
}
}
if (timer2 > 30) {
i = 0;
while (i < 5) {
rot = 150 + (i * 15);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(270, boss_mc._y, s_x, s_y, 0, 23);
i++;
}
timer2 = 0;
}
timer2++;
if (ziki_mc._x < 300) {
boss_mc._x = 300;
} else {
boss_mc._x++;
}
if (root_timer > 1222) {
boss_dummy_mc.gotoAndStop(1);
nextFrame();
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
timer2 = 0;
count1 = 1;
count2 = 0;
count3 = 0;
boss_dummy_mc._x = boss_mc._x;
boss_dummy_mc._y = boss_mc._y;
boss_dummy_mc.gotoAndStop(7);
Frame 18
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
helper_1_mc._y = helper_1_mc._y - 1;
helper_2_mc._y = helper_2_mc._y + 1;
if (root_timer > 120) {
helper_1_mc.gotoAndStop(1);
helper_2_mc.gotoAndStop(1);
nextFrame();
}
root_timer++;
}
root_timer = 0;
Frame 19
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
if (timer1 > 18) {
count2 = (count1 * 1.3) + 200;
count3 = count1 + 150;
rot = ziki_rot(count2, 0);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(count2, 0, s_x, s_y, 0, 23);
rot = ziki_rot(count2, 300);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(count2, 300, s_x, s_y, 0, 23);
rot = ziki_rot(0, count3);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(0, count3, s_x, s_y, 0, 23);
rot = ziki_rot(400, count3);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(400, count3, s_x, s_y, 0, 23);
count2 = ((-count1) * 1.3) + 200;
count3 = (-count1) + 150;
rot = ziki_rot(count2, 0);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(count2, 0, s_x, s_y, 0, 23);
rot = ziki_rot(count2, 300);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(count2, 300, s_x, s_y, 0, 23);
rot = ziki_rot(0, count3);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(0, count3, s_x, s_y, 0, 23);
rot = ziki_rot(400, count3);
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(400, count3, s_x, s_y, 0, 23);
count1 = count1 + 30;
if (count1 > 150) {
count1 = 0;
}
timer1 = 0;
}
timer1++;
if (root_timer > 1200) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
timer2 = 1;
timer3 = 0;
count1 = 0;
count2 = 0;
count3 = 0;
Frame 20
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (21);
}
boss_mc._x = 290;
boss_mc._y = 150;
if (root_timer > 150) {
gotoAndStop (13);
}
root_timer++;
}
root_timer = 0;
Frame 21
function boss_func() {
boss_mc._x = boss_mc._x + (v_y_arr[count1] * 2);
boss_mc._y = boss_mc._y + 0.3;
count1 = count1 + 40;
if (count1 >= 360) {
count1 = 0;
}
if (root_timer > 200) {
nextFrame();
} else if ((root_timer % 30) == 0) {
boss_bomm_mc._x = boss_mc._x;
boss_bomm_mc._y = boss_mc._y;
boss_bomm_mc.gotoAndPlay(2);
}
root_timer++;
}
root_timer = 0;
boss_bomm_mc._x = boss_mc._x;
boss_bomm_mc._y = boss_mc._y;
boss_bomm_mc.gotoAndPlay(2);
helper_1_mc.gotoAndStop(1);
helper_2_mc.gotoAndStop(1);
boss_dummy_mc.gotoAndStop(1);
Frame 22
function boss_func() {
}
boss_bomm_mc.gotoAndPlay(31);
Frame 23
function boss_func() {
if (boss_mc._x < 450) {
boss_mc._x = boss_mc._x + (v_y_arr[count1] * 10);
}
count1 = count1 + 1;
if (count1 >= 360) {
count1 = 0;
}
boss_life = boss_life + 2000;
boss_life_mc._yscale = boss_life * 0.001;
if (root_timer >= 50) {
boss_mc.gotoAndStop(5);
gotoAndStop (25);
}
root_timer++;
}
root_timer = 0;
boss_mc.gotoAndStop(4);
boss_bomm_mc.gotoAndStop(1);
count1 = 0;
boss_life = 0;
Frame 25
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
boss_mc._rotation = boss_mc._rotation + count1;
if (count1 < 20) {
count1 = count1 + 0.2;
}
if (boss_mc._x > 210) {
boss_mc._x = boss_mc._x - 5;
}
if (boss_mc._y < ziki_mc._y) {
boss_mc._y = boss_mc._y + count2;
if (boss_mc._y > ziki_mc._y) {
boss_mc._y = ziki_mc._y;
}
} else if (boss_mc._y > ziki_mc._y) {
boss_mc._y = boss_mc._y - count2;
if (boss_mc._y < ziki_mc._y) {
boss_mc._y = ziki_mc._y;
}
}
count2 = count2 + 0.1;
if (root_timer > 100) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
count1 = 0;
count2 = 0;
Frame 26
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
boss_mc._rotation = boss_mc._rotation + 20;
boss_mc._y = ziki_mc._y;
if (timer1 > 2) {
count2 = 5 - (count1 % 3);
i = 0;
while (i < 8) {
rot = (i * 45) + count1;
if (rot >= 360) {
rot = rot - 360;
}
s_x = v_x_arr[rot] * count2;
s_y = v_y_arr[rot] * count2;
j = ziki_mc._y;
fire(210, j, s_x, s_y, 0, 24);
i++;
}
timer1 = 0;
count1 = count1 + 5;
if (count1 >= 360) {
count1 = 0;
}
}
timer1++;
if (root_timer > 300) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
count1 = 0;
Frame 27
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
if (boss_mc._x < 270) {
boss_mc._x = boss_mc._x + 2;
}
if (boss_mc._y < 150) {
boss_mc._y = boss_mc._y + 2;
if (boss_mc._y > 150) {
boss_mc._y = 150;
}
} else if (boss_mc._y > 150) {
boss_mc._y = boss_mc._y - 2;
if (boss_mc._y < 150) {
boss_mc._y = 150;
}
}
boss_mc._rotation = ziki_rot(boss_mc._x, boss_mc._y) + 180;
if (root_timer > 100) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
Frame 28
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
boss_mc._rotation = ziki_rot(boss_mc._x, boss_mc._y) + 180;
if (timer1 > 4) {
i = 0;
while (i < 4) {
rot = (i * 90) + count1;
if (rot >= 360) {
rot = rot - 360;
}
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
fire(270, 240, s_x, s_y, 0, 23);
rot = (i * 90) - count1;
if (rot < 0) {
rot = rot + 360;
}
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
fire(270, 60, s_x, s_y, 0, 23);
i++;
}
timer1 = 0;
count1 = count1 + 7;
if (count1 >= 360) {
count1 = 0;
}
}
timer1++;
if (timer2 > 50) {
rot = ziki_rot(270, 150);
i = 1;
while (i < 11) {
s_x = v_x_arr[rot] * i;
s_y = v_y_arr[rot] * i;
fire(270, 150, s_x, s_y, 0, 24);
i++;
}
timer2 = 0;
}
timer2++;
if (root_timer > 250) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
count1 = 0;
timer2 = 0;
stop();
Frame 29
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
boss_mc._rotation = ziki_rot(boss_mc._x, boss_mc._y) + 180;
if (timer1 > 4) {
i = 0;
while (i < 4) {
rot = (i * 90) + count1;
if (rot >= 360) {
rot = rot - 360;
}
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
fire(270, 240, s_x, s_y, 0, 23);
rot = (i * 90) - count1;
if (rot < 0) {
rot = rot + 360;
}
s_x = v_x_arr[rot] * 2;
s_y = v_y_arr[rot] * 2;
fire(270, 60, s_x, s_y, 0, 23);
i++;
}
timer1 = 0;
count1 = count1 + 7;
if (count1 >= 360) {
count1 = 0;
}
}
timer1++;
if (timer2 > 20) {
rot = ziki_rot(270, 150);
i = 2;
while (i < 10) {
s_x = v_x_arr[rot] * i;
s_y = v_y_arr[rot] * i;
fire(270, 150, s_x, s_y, 0, 24);
i++;
}
timer2 = 0;
}
timer2++;
if (root_timer > 500) {
gotoAndStop (32);
}
root_timer++;
}
boss_mc._x = 270;
boss_mc._y = 150;
root_timer = 0;
timer2 = 0;
Frame 30
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
root_timer++;
boss_mc._x--;
if (root_timer > 70) {
nextFrame();
}
}
root_timer = 0;
boss_mc._x = 270;
boss_mc._y = 150;
Frame 31
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
boss_mc._rotation = boss_mc._rotation + 20;
if (timer1 > 4) {
i = 0;
while (i < 8) {
rot = count2 + (45 * i);
if (rot >= 360) {
rot = rot - 360;
} else if (rot < 0) {
rot = rot + 360;
}
s_x = v_x_arr[rot] * 3;
s_y = v_y_arr[rot] * 3;
fire(220, 150, s_x, s_y, 0, 23);
rot = (-count1) + (45 * i);
if (rot >= 360) {
rot = rot - 360;
} else if (rot < 0) {
rot = rot + 360;
}
s_x = v_x_arr[rot] * 5;
s_y = v_y_arr[rot] * 5;
fire(220, 150, s_x, s_y, 0, 25);
i++;
}
timer1 = 0;
count1 = count1 + (6 * count3);
if (count1 >= 360) {
count3 = count3 * -1;
} else if (count1 <= -360) {
count3 = count3 * -1;
}
count2 = count2 + 6;
if (count2 >= 360) {
count2 = count2 - 360;
}
}
timer1++;
if (root_timer > 600) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
count1 = 0;
count2 = 0;
count3 = -1;
Frame 32
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
root_timer++;
if (boss_mc._x < 350) {
boss_mc._x = boss_mc._x + 3;
}
if (root_timer > 70) {
nextFrame();
}
}
root_timer = 0;
boss_mc._rotation = 0;
boss_mc._y = 150;
Frame 33
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
if (timer1 > 9) {
i = 0;
while (i < 16) {
rot = ((i * 6) + count1) + 130;
if (rot >= 360) {
rot = rot - 360;
}
s_x = v_x_arr[rot] * 3;
s_y = v_y_arr[rot] * 3;
fire(boss_mc._x, boss_mc._y, s_x, s_y, 0, 25);
i++;
}
timer1 = 0;
if (count1 == 0) {
count1 = 3;
} else {
count1 = 0;
}
}
timer1++;
boss_mc._y = (v_y_arr[count2] * 150) + 150;
count2++;
if (count2 > 360) {
count2 = count2 - 360;
}
if (root_timer >= 1080) {
boss_mc._y = 150;
gotoAndStop (25);
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
count1 = 0;
count2 = 0;
boss_mc._x = 350;
Frame 35
function boss_func() {
if (boss_mc._rotation > 0) {
boss_mc._rotation--;
} else {
boss_mc._rotation = 0;
}
if (boss_mc._x < 200) {
boss_mc._x = boss_mc._x + 1;
if (boss_mc._x > 200) {
boss_mc._x = 200;
}
} else if (boss_mc._x > 200) {
boss_mc._x = boss_mc._x - 1;
if (boss_mc._x < 200) {
boss_mc._x = 200;
}
}
if (boss_mc._y < 150) {
boss_mc._y = boss_mc._y + 1;
if (boss_mc._y > 150) {
boss_mc._y = 150;
}
} else if (boss_mc._y > 150) {
boss_mc._y = boss_mc._y - 1;
if (boss_mc._y < 150) {
boss_mc._y = 150;
}
}
boss_life = 33333;
if (root_timer > 150) {
nextFrame();
}
root_timer++;
}
root_timer = 0;
Frame 36
function boss_func() {
if (boss_life <= 0) {
gotoAndStop (37);
}
if (timer1 > 90) {
i = 0;
while (i < 24) {
rot = i * 15;
if (rot >= 360) {
rot = rot - 360;
}
s_x = v_x_arr[rot];
s_y = v_y_arr[rot];
fire(boss_mc._x, boss_mc._y, s_x, s_y, 0, 28);
i++;
}
timer1 = 0;
}
timer1++;
if (count3 > 10) {
if (count2 <= 40) {
boss_mc._y = boss_mc._y + 0.5;
} else if (count2 <= 120) {
boss_mc._y = boss_mc._y - 0.5;
} else if (count2 <= 160) {
boss_mc._y = boss_mc._y + 0.5;
} else {
trace(boss_mc._y);
count2 = 0;
}
count2++;
count3 = 0;
}
count3++;
if (root_timer < 150) {
boss_life = 33333;
}
root_timer++;
}
root_timer = 0;
timer1 = 90;
count1 = 0;
count2 = 0;
count3 = 0;
boss_mc._x = 200;
boss_mc._y = 150;
Frame 37
function boss_func() {
boss_mc._x = boss_mc._x + 0.3;
if (root_timer > 250) {
nextFrame();
} else if ((root_timer % 30) == 0) {
boss_bomm_mc._x = boss_mc._x;
boss_bomm_mc._y = boss_mc._y;
boss_bomm_mc.gotoAndPlay(2);
}
root_timer++;
}
root_timer = 0;
boss_bomm_mc._x = boss_mc._x;
boss_bomm_mc._y = boss_mc._y;
boss_bomm_mc.gotoAndPlay(2);
Frame 38
function boss_func() {
}
boss_bomm_mc.gotoAndPlay(31);
Frame 46
function boss_func() {
if (boss_life <= 33333) {
gotoAndStop (35);
}
if (timer1 > 9) {
i = 0;
while (i < 16) {
rot = ((i * 6) + count1) + 130;
if (rot >= 360) {
rot = rot - 360;
}
s_x = v_x_arr[rot] * 3;
s_y = v_y_arr[rot] * 3;
fire(boss_mc._x, boss_mc._y, s_x, s_y, 0, 25);
i++;
}
timer1 = 0;
if (count1 == 0) {
count1 = 3;
} else {
count1 = 0;
}
}
timer1++;
boss_mc._y = (v_y_arr[count2] * 130) + 150;
count2++;
if (count2 > 360) {
count2 = count2 - 360;
}
if (root_timer >= 1080) {
boss_mc._y = 150;
gotoAndStop (25);
}
root_timer++;
}
root_timer = 0;
timer1 = 0;
count1 = 0;
count2 = 0;
boss_mc._x = 350;
Frame 47
var mc = damage_mc.boss_mc;
mc._x = 300;
mc._y = 150;
mc.gotoAndStop(2);
f_x_1 = 300;
f_y_1 = 150;
damage_mc.boss_mc.onEnterFrame = function () {
if (getTimer() >= (timer1 + 500)) {
z_rot = ziki_rot(f_x_1, f_y_1) - 15;
if (z_rot < 0) {
z_rot = z_rot + 360;
}
i = 0;
while (i < 3) {
rot = z_rot + (i * 15);
if (rot > 360) {
rot = rot - 360;
}
s_x = v_x_arr[rot] * 4;
s_y = v_y_arr[rot] * 4;
ani_rot = 0;
ani = 1;
fire(f_x_1, f_y_1, s_x, s_y, ani_rot, ani);
i++;
}
timer1 = getTimer();
}
};
Symbol 94 MovieClip Frame 31
stop();
Symbol 117 MovieClip Frame 102
stop();
Symbol 118 MovieClip Frame 301
stop();
Symbol 136 MovieClip Frame 2
_root._y = 10;
Symbol 136 MovieClip Frame 4
_root._y = 0;
Symbol 136 MovieClip Frame 62
stop();
Symbol 141 MovieClip Frame 20
stop();
Symbol 144 MovieClip Frame 30
stop();
Symbol 144 MovieClip Frame 51
if (_root.live_flag == 1) {
_root.nextFrame();
}
stop();
Symbol 153 MovieClip Frame 16
stop();
Symbol 160 MovieClip Frame 16
function set_sm(txt) {
var n = 1;
onEnterFrame = function () {
if ((_root.count1 % 6) == 0) {
if (n <= txt.length) {
txt_box = txt.substr(0, n);
n++;
} else {
delete n;
delete onEnterFrame;
play();
}
}
if (Key.isDown(90)) {
delete n;
delete onEnterFrame;
gotoAndPlay (57);
}
_root.count1++;
};
}
var txt;
txt = "\u3000\u3088\u304F\u3082\u3053\u3053\u307E\u3067\u80A5\u3048\u305F\u3082\u306E\u3060\u3002 \n";
txt = txt + "\u8CB4\u69D8\u306F\u79C1\u305F\u3061\u306E\u5168\u3066\u3092\u596A\u3063\u3066\u3057\u307E\u3063\u305F\u3002 \n";
txt = txt + newline;
txt = txt + "\u3000\u3042\u3000\u307E\u3060\u6B8B\u3063\u3066\u305F\u3002 \n";
txt = txt + newline;
txt = txt + "\u3000\u3058\u3083\u3042\u3053\u306E\u6700\u7D42\u5099\u84C4\u30B1\u30FC\u30AD\u3092\u3082\u3063\u3066\n";
txt = txt + "\u8CB4\u69D8\u3092\u79C1\u81EA\u3089\u304C\u62DB\u5F85\u3059\u308B\u3002 \n";
txt = txt + newline;
txt = txt + "\u3000\u80A5\u3048\u6B7B\u306C\u304C\u3088\u3044\u3002";
_root.count1 = 0;
set_sm(txt);
stop();
Symbol 160 MovieClip Frame 57
_root._quality = "low";
_root.nextFrame();
_root.game_set();
Symbol 160 MovieClip Frame 133
stop();