Frame 1
function start_coltf(col_pre, col_post, frames, target) {
target.tf = clone_array(col_pre);
target.color_tf = new flash.geom.ColorTransform(target.tf[0], target.tf[1], target.tf[2], target.tf[3], target.tf[4], target.tf[5], target.tf[6], target.tf[7]);
target.transform.colorTransform = target.color_tf;
target.col_dif = [0, 0, 0, 0, 0, 0, 0, 0, 0];
i = 0;
for ( ; i < 7 ; i++) {
target.col_dif[i] = (col_post[i] - col_pre[i]) / frames;
}
target.col_dif[8] = frames;
target.mycol = _root.clone_array(col_post);
}
function ctf(target) {
if (0 >= target.col_dif[8]) {
target.transform.colorTransform = target.col_post;
target.col_dif[8] = 0;
} else {
target.tf_pre = clone_array(target.tf);
i = 0;
for ( ; i < 7 ; i++) {
target.tf[i] = target.tf[i] + target.col_dif[i];
}
target.col_dif[8]--;
target.color_tf = new flash.geom.ColorTransform(target.tf[0], target.tf[1], target.tf[2], target.tf[3], target.tf[4], target.tf[5], target.tf[6], target.tf[7]);
target.transform.colorTransform = target.color_tf;
}
}
function clone_array(target) {
tmp = new Array();
i = 0;
for ( ; i < target.length ; i++) {
tmp[i] = target[i];
}
return(tmp);
}
var menu_cm = new ContextMenu();
menu_cm.builtInItems.forward_back = false;
menu_cm.builtInItems.loop = false;
menu_cm.builtInItems.play = false;
menu_cm.builtInItems.print = false;
menu_cm.builtInItems.rewind = false;
var menu_pause = new ContextMenuItem(_root);
menu_pause.onSelect = function () {
_root.main.pause = 0;
};
menu_pause.caption = "\u30B2\u30FC\u30E0\u518D\u958B";
menu_pause.enabled = true;
menu_pause.separatorBefore = true;
menu_pause.visible = true;
menu_cm.customItems = [menu_pause];
_root.menu = menu_cm;
_root.debug = false;
Instance of Symbol 8 MovieClip [empty] "load_check" in Frame 1
onClipEvent (load) {
per = 0;
}
onClipEvent (enterFrame) {
var now = _root.getBytesLoaded();
var total = _root.getBytesTotal();
per = Math.floor((now / total) * 100);
if (isNaN(saitamaken) && (now == total)) {
_root.main.play();
_root.loading1._visible = false;
saitamaken = 1;
}
if (saitamaken == 1) {
var now_b = _root.main.bgm_ex01.getBytesLoaded();
var total_b = _root.main.bgm_ex01.getBytesTotal();
per = Math.floor((now_b / total_b) * 100);
if (now_b == total_b) {
_root.loading._visible = false;
this.removeMovieClip();
}
}
}
Instance of Symbol 395 MovieClip "main" in Frame 1
onClipEvent (load) {
_x = (Stage.width - 800) / 2;
_y = (Stage.height - 600) / 2;
}
onClipEvent (enterFrame) {
_global.main_x = _x;
_global.main_y = _y;
}
Instance of Symbol 396 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.main.effect_lvl != 3) {
if (_root.main.game_state != 1) {
_visible = false;
} else {
_visible = true;
}
} else if (_root.main.game_state != 1) {
_visible = true;
} else {
_visible = true;
}
}
Symbol 13 MovieClip Frame 1
_global.keyword = -1117349241;
url = "ero_1boss.swf?" + Math.floor(Math.random() * 1000);
loadMovie (url, this);
Symbol 24 MovieClip Frame 1
if (_root.main.player.shot_level == 1) {
gotoAndPlay(3);
}
Instance of Symbol 18 MovieClip "gp" in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!((!_root.main.mode_mouse_only) && (!_root.main.mode_key))) {
if (!_root.main.target.auto_flag) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (_root.main.player.shot_type != 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 24 MovieClip Frame 2
if (_root.main.player.shot_level != 1) {
gotoAndPlay(1);
} else {
gotoAndPlay(3);
}
Symbol 24 MovieClip Frame 3
if (_root.main.player.shot_level == 0) {
gotoAndPlay(1);
}
Instance of Symbol 23 MovieClip "gpc" in Symbol 24 MovieClip Frame 3
onClipEvent (enterFrame) {
if (!((!_root.main.mode_mouse_only) && (!_root.main.mode_key))) {
if (!_root.main.target.auto_flag) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
} else if (_root.main.player.shot_type != 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 24 MovieClip Frame 4
if (_root.main.player.shot_level != 0) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
Symbol 26 MovieClip Frame 1
if (_root.main.flash_off) {
this._visible = false;
}
if (!_root.main.player_damaged) {
gotoAndPlay(1);
} else {
gotoAndPlay(3);
}
Symbol 26 MovieClip Frame 3
if (!_root.main.player_damaged) {
gotoAndPlay("roop");
} else {
gotoAndPlay("start");
}
Symbol 26 MovieClip Frame 4
_root.main.player_damaged = 0;
Instance of Symbol 8 MovieClip [empty] in Symbol 26 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.main.player_damaged) {
_parent.gotoAndPlay("start");
}
}
Symbol 46 MovieClip Frame 1
count = 0;
spear_num = 1;
if (_root.main.uni.hpper < 58) {
wait = 8;
} else {
wait = 12;
}
wait2 = 8;
if (_root.main.uni.hpper < 58) {
wait3 = 4;
} else {
wait3 = 8;
}
spear_max = 10;
Instance of Symbol 8 MovieClip [empty] in Symbol 46 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.main.pause) {
_parent.grp.play();
} else {
_parent.grp.stop();
}
}
Symbol 46 MovieClip Frame 3
count++;
if (count < 8) {
gotoAndPlay("one");
} else {
count = 0;
gotoAndPlay("two");
}
Symbol 46 MovieClip Frame 7
_root.main.m_se16.start();
Symbol 46 MovieClip Frame 9
count++;
_root.main.uni.spear_go = false;
if (((count >= wait) && (spear_max >= spear_num)) && ((count % wait2) == 0)) {
_root.main.uni.spear(spear_num);
spear_num++;
}
if (count < ((wait + (wait2 * spear_max)) + wait3)) {
gotoAndPlay("three");
} else {
spear_num = 0;
count = 0;
gotoAndPlay("four");
}
Instance of Symbol 8 MovieClip [empty] in Symbol 46 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_root.main.uni.wince >= _root.main.uni.wince_max) {
_root.main.uni.uni_state = 2;
}
}
}
Symbol 46 MovieClip Frame 11
_root.main.uni.spear_go = true;
_root.main.uni.throw_longui();
_root.main.m_se17.start();
Symbol 46 MovieClip Frame 39
count++;
if (count < 20) {
gotoAndPlay("five");
} else {
count = 0;
_root.main.uni.uni_state = 5;
}
Symbol 59 MovieClip Frame 33
this.gotoAndPlay("loop");
Symbol 64 MovieClip Frame 2
if (_root.main.uni.wince_time < 15) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
Symbol 64 MovieClip Frame 14
gotoAndPlay("loop");
Symbol 66 MovieClip Frame 22
stop();
Symbol 66 MovieClip Frame 73
stop();
Instance of Symbol 91 MovieClip "uni_jump_hittest" in Symbol 92 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if ((_root.main.field["gun" + i].type == 1) && (_root.main.uni.muteki_cutter < 1)) {
if (this.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (this.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
_root.main.m_se10.start();
_root.main.CutterEffect(i, cut);
_root.main.uni.hp = _root.main.uni.hp - _root.main.field["gun" + i].power;
_root.main.score = _root.main.score + _root.main.score_calc(50);
_root.main.uni.wince = _root.main.uni.wince + _root.main.uni.wince_damage_c;
_root.main.uni.powerup = _root.main.uni.powerup + 2;
_root.main.uni.muteki_cutter = 30;
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (this.hitTest(_root.main.field["gun" + i].test))) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
_root.main.uni.hp = _root.main.uni.hp - _root.main.field["gun" + i].power;
_root.main.score = _root.main.score + _root.main.score_calc(20);
_root.main.uni.wince = _root.main.uni.wince + (2 * _root.main.uni.wince_damage);
_root.main.uni.powerup++;
_root.main.HitEffect(i, 1);
_root.main.GunDelete(i);
}
}
}
}
Symbol 92 MovieClip Frame 12
if (_parent.frame < 60) {
gotoAndPlay(1);
}
Symbol 92 MovieClip Frame 14
gotoAndPlay(13);
Symbol 92 MovieClip Frame 16
gotoAndPlay(15);
Symbol 92 MovieClip Frame 18
gotoAndPlay(17);
Symbol 92 MovieClip Frame 20
gotoAndPlay(19);
Symbol 92 MovieClip Frame 22
gotoAndPlay(21);
Symbol 92 MovieClip Frame 24
gotoAndPlay(23);
Symbol 92 MovieClip Frame 26
gotoAndPlay(25);
Symbol 92 MovieClip Frame 28
gotoAndPlay(27);
Symbol 93 MovieClip Frame 2
frame = 0;
if (_root.main.uni.time >= 7) {
gotoAndPlay("start");
} else {
gotoAndPlay(1);
}
Instance of Symbol 92 MovieClip "uni_graphic_jump_loop" in Symbol 93 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.main.uni.jump_hight = _y;
}
Symbol 93 MovieClip Frame 3
_root.main.se_unijump.start();
Symbol 93 MovieClip Frame 13
uni_graphic_jump_loop.gotoAndPlay(13);
Instance of Symbol 91 MovieClip in Symbol 93 MovieClip Frame 18
onClipEvent (load) {
this._visible = false;
_root.main.m_se01.start();
_root.main.uni.unigun1v(_root.main.uni._x, _root.main.uni._y - 110, 6 / _root.main.fps);
}
Symbol 93 MovieClip Frame 19
uni_graphic_jump_loop.gotoAndPlay(15);
Symbol 93 MovieClip Frame 21
uni_graphic_jump_loop.gotoAndPlay(17);
Symbol 93 MovieClip Frame 24
uni_graphic_jump_loop.gotoAndPlay(19);
Symbol 93 MovieClip Frame 26
if (_root.main.uni.wince < _root.main.uni.wince_max) {
if (_root.main.uni.count == 3) {
uni_graphic_jump_loop.gotoAndPlay(21);
}
} else {
uni_graphic_jump_loop.gotoAndPlay(23);
}
Symbol 93 MovieClip Frame 29
if (_root.main.uni.wince < _root.main.uni.wince_max) {
if (_root.main.uni.count != 3) {
uni_graphic_jump_loop.gotoAndPlay(25);
} else {
uni_graphic_jump_loop.gotoAndPlay(21);
}
} else {
uni_graphic_jump_loop.gotoAndPlay(23);
}
Symbol 93 MovieClip Frame 33
if (_root.main.uni.wince < _root.main.uni.wince_max) {
uni_graphic_jump_loop.gotoAndPlay(25);
} else {
uni_graphic_jump_loop.gotoAndPlay(23);
}
var se_uniland = new Sound(_root.sef);
se_uniland.attachSound("se_water");
se_uniland.start();
Symbol 93 MovieClip Frame 35
if (_root.main.uni.wince < _root.main.uni.wince_max) {
uni_graphic_jump_loop.gotoAndPlay(27);
} else {
uni_graphic_jump_loop.gotoAndPlay(23);
}
Symbol 93 MovieClip Frame 38
if (_root.main.uni.uni_state != 5) {
gotoAndPlay("loop");
} else {
gotoAndPlay(1);
}
Symbol 108 MovieClip Frame 23
count = 0;
Symbol 108 MovieClip Frame 25
gotoAndPlay("loop");
Symbol 109 MovieClip Frame 1
if (!_root.debug) {
_visible = false;
}
stop();
Symbol 113 MovieClip Frame 1
count = 0;
Symbol 113 MovieClip Frame 4
if (count < 100) {
n = getNextHighestDepth();
this.attachMovie("bang1", "bang" + n, n);
this["bang" + n]._x = Math.floor(Math.random() * 10);
this["bang" + n]._y = Math.floor(Math.random() * 10);
count++;
}
Symbol 113 MovieClip Frame 8
if (count < 10) {
n = getNextHighestDepth();
this.attachMovie("bang1", "bang" + n, n);
this["bang" + n]._x = Math.floor(Math.random() * 40) - 20;
this["bang" + n]._y = Math.floor(Math.random() * 40) - 20;
}
count++;
Symbol 113 MovieClip Frame 14
if (count < 12) {
gotoAndPlay("loop");
}
Symbol 113 MovieClip Frame 24
count = 0;
Symbol 113 MovieClip Frame 25
count++;
Symbol 113 MovieClip Frame 26
if (count < 15) {
gotoAndPlay("loop2");
}
Instance of Symbol 8 MovieClip [empty] in Symbol 113 MovieClip Frame 35
onClipEvent (load) {
dy = -20;
count = 0;
spd_x = (310 - _root.main.uni._x) / 40;
spd_y = (170 - _root.main.uni._y) / 40;
dx2 = spd_x;
dy2 = spd_y;
}
onClipEvent (enterFrame) {
if (_root.main.pause) {
_parent.grp_j.stop();
} else {
_parent.grp_j.play();
dy = dy + 1;
if ((0 < (_parent.grp_j._y + dy)) && (0 < _parent.grp_j._alpha)) {
_parent.grp_j._alpha = _parent.grp_j._alpha - 5;
}
if (120 < (_parent.grp_j._y + dy)) {
_parent.grp_j._y = 120;
} else {
_parent.grp_j._y = _parent.grp_j._y + dy;
}
if (40 >= count) {
_root.main.uni._x = _root.main.uni._x + dx2;
_root.main.uni._y = _root.main.uni._y + dy2;
count++;
}
if (count == 40) {
_root.main.m_se21.start();
_parent.kage._visible = false;
}
}
}
Symbol 113 MovieClip Frame 35
_root.main.se_unijump.start();
count = 0;
Symbol 113 MovieClip Frame 37
count++;
if (count >= 43) {
_root.main.uni.uni_state = 10;
}
gotoAndPlay("loop3");
Symbol 113 MovieClip Frame 39
gotoAndPlay("loop4");
Symbol 134 MovieClip [gflog_grp] Frame 1
stop();
Symbol 134 MovieClip [gflog_grp] Frame 2
count = 0;
wait = 3;
Symbol 134 MovieClip [gflog_grp] Frame 4
if (count < (wait * 5)) {
count++;
gotoAndPlay("l1");
} else {
count = 0;
gotoAndPlay("l2");
}
Symbol 134 MovieClip [gflog_grp] Frame 7
if (count < wait) {
count++;
gotoAndPlay("l2");
} else {
count = 0;
gotoAndPlay("l3");
}
Symbol 134 MovieClip [gflog_grp] Frame 10
if (count < (wait * 3)) {
count++;
gotoAndPlay("l3");
} else {
count = 0;
gotoAndPlay("l4");
}
Symbol 134 MovieClip [gflog_grp] Frame 13
if (count < wait) {
count++;
gotoAndPlay("l4");
} else {
count = 0;
gotoAndPlay("l1");
}
Instance of Symbol 8 MovieClip [empty] in Symbol 138 MovieClip [gflog] Frame 1
onClipEvent (load) {
_parent.attachMovie("gflog_mask", "mask", getNextHighestDepth());
_parent.mask.cacheAsBitmap = true;
_parent.grp.cacheAsBitmap = true;
_parent.grp.setMask(_parent.mask);
_parent.hamon_f._xscale = 0;
_parent.hamon_f._yscale = 0;
_parent.hamon_r._xscale = 0;
_parent.hamon_r._yscale = 0;
_parent.grp._y = _parent.grp._y + 300;
_parent.grp.dy = -3;
count = 0;
appear_trg = false;
goro_trg = false;
bgm02_trg = false;
phase = 0;
lr_sw = 0;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (phase != 0) {
if (phase == 1) {
if (lr_sw != 0) {
if (210 >= _x) {
lr_sw = 0;
} else {
_x = _x - 2;
}
} else if (_x >= 490) {
lr_sw = 1;
} else {
_x = _x + 2;
}
_root.hamon._x = _parent._x;
}
} else {
if (count == 5) {
_root.main.stopbgm();
_root.main.m_se19.start();
}
if (120 < count) {
if (!goro_trg) {
_root.main.m_se20.start(0, 3);
goro_trg = true;
}
if (count == 130) {
_root.main.player.rf_flag = false;
if (_root.main.bgm) {
_root.main.uni.bgm_ex02.start(0, 999);
}
}
appear_trg = true;
if (0 >= _parent.grp._y) {
if (!bgm02_trg) {
_root.main.uni.hp = _root.main.uni.maxhp;
_root.main.uni.gflog_awake = true;
_root.main.player.time_limit = _root.main.player.time_limit + 100;
bgm02_trg = true;
_root.main.uni.uni_state = 11;
_parent.grp.play();
phase = 1;
}
} else {
_parent.grp._y = _parent.grp._y + _parent.grp.dy;
_parent.hamon_f._xscale = _parent.hamon_f._xscale + (100 / (300 / (_parent.grp.dy * -1)));
_parent.hamon_f._yscale = _parent.hamon_f._yscale + (100 / (300 / (_parent.grp.dy * -1)));
_parent.hamon_r._xscale = _parent.hamon_r._xscale + (100 / (300 / (_parent.grp.dy * -1)));
_parent.hamon_r._yscale = _parent.hamon_r._yscale + (100 / (300 / (_parent.grp.dy * -1)));
}
}
}
count++;
}
}
Symbol 141 MovieClip Frame 10
_root.main.uni.kusyagun1(25, false, 1.05, 0);
h = 0;
for ( ; h < 10 ; h++) {
_root.main.uni.kusyagun1(30 - h, true, 1.05, 0);
_root.main.uni.kusyagun1(29 - h, true, 1.05, 0);
}
_root.main.m_se04.start();
Symbol 141 MovieClip Frame 25
_parent.state = 0;
Instance of Symbol 8 MovieClip [empty] in Symbol 142 MovieClip Frame 1
onClipEvent (load) {
count = 0;
_parent.gotoAndStop("nude");
_parent.state = 0;
}
onClipEvent (enterFrame) {
if (_root.main.pause) {
_parent.grp_nude.stop();
_parent.grp_kusya.stop();
} else {
_parent.grp_nude.play();
_parent.grp_kusya.play();
if (_parent.state != 0) {
if (_parent.state == 1) {
count = 0;
}
} else {
_parent.gotoAndStop("nude");
if ((count >= 120) && (550 < _root.main.player._y)) {
_parent.state = 1;
_parent.gotoAndStop("kusya");
}
count++;
}
}
}
Symbol 143 MovieClip Frame 1
count = 0;
wait = 3;
Symbol 143 MovieClip Frame 3
if (count < (wait * 5)) {
count++;
gotoAndPlay("l1");
} else {
count = 0;
gotoAndPlay("l2");
}
Symbol 143 MovieClip Frame 6
if (count < wait) {
count++;
gotoAndPlay("l2");
} else {
count = 0;
gotoAndPlay("l3");
}
Symbol 143 MovieClip Frame 9
if (count < (wait * 3)) {
count++;
gotoAndPlay("l3");
} else {
count = 0;
gotoAndPlay("l4");
}
Symbol 143 MovieClip Frame 12
if (count < wait) {
count++;
gotoAndPlay("l4");
} else {
count = 0;
gotoAndPlay("l1");
}
Instance of Symbol 145 MovieClip "test" in Symbol 146 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 155 MovieClip Frame 1
count = 0;
_root.main.m_se22.start();
Instance of Symbol 146 MovieClip "bero" in Symbol 155 MovieClip Frame 1
onClipEvent (load) {
function sinwave(tt, t, s, p) {
tmp = (Math.sin(((2 * Math.PI) * count) / tt) * s) + p;
return(tmp);
}
_root.main.player.eat_player = false;
bero_target = _root.main.field.enemy2;
mypos = {x:this._x, y:this._y};
this.localToGlobal(mypos);
state = 0;
bero_trg = false;
sw = 0;
sinnum = 100;
_yscale = 100;
_xscale = 100;
_visible = false;
count = 0;
count2 = 1;
count3 = 0;
}
onClipEvent (enterFrame) {
if (_root.main.pause) {
_parent.stop();
} else {
_parent.play();
if (!_parent._parent.eat_raikou) {
bero_target = _root.main.field.enemy2;
} else {
bero_target = _root.main.player;
}
rad = Math.atan2((bero_target._y + main_y) - mypos.y, (bero_target._x + main_x) - mypos.x);
if (state != 1) {
if (state != 2) {
if (state != 3) {
if (state == 4) {
state = 0;
_xscale = 0;
}
} else {
_visible = true;
if (6 < count2) {
if (10 < count2) {
if (count2 >= 14) {
state = 4;
if (_parent._parent.eat_raikou) {
_root.main.player.eat_player = false;
} else {
_parent._parent.eat_raikou = true;
bero_target = _root.main.player;
_root.main.field.enemy2.removeMovieClip();
}
_visible = false;
count = 0;
count2 = 0;
} else {
_xscale = _xscale - ((dist * 16) / 3);
if (_parent._parent.eat_raikou) {
if (_root.main.player.eat_player) {
fscommand ("ParaFlaTrace", "\u304F\u308F\u308C\u305F");
beropos = {x:this.saki._x, y:this.saki._y};
this.saki.localToGlobal(beropos);
_root.main.player._x = beropos.x - main_x;
_root.main.player._y = beropos.y - main_y;
}
} else {
bero_target.state = 1;
beropos = {x:this.saki._x, y:this.saki._y};
this.saki.localToGlobal(beropos);
bero_target._x = beropos.x - main_x;
bero_target._y = beropos.y - main_y;
}
count2++;
}
} else {
count2++;
if (_parent._parent.eat_raikou) {
if (0 >= _root.main.muteki) {
if (this.hitTest(bero_target._x + main_x, bero_target._y + main_y, true)) {
_root.main.player.eat_player = true;
if (30 >= _root.main.player_hp) {
if (1 >= _root.main.player_hp) {
_root.main.player_hp = 0;
} else {
_root.main.player_hp = 1;
}
} else {
_root.main.player_hp = _root.main.player_hp - 30;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.m_se03.start();
_root.main.Damage(i);
}
_root.main.muteki = 30;
}
} else {
bero_target.state = 1;
beropos = {x:this.saki._x, y:this.saki._y};
this.saki.localToGlobal(beropos);
bero_target._x = beropos.x - main_x;
bero_target._y = beropos.y - main_y;
}
}
} else {
_xscale = ((dist * 16) / 5) * count2;
count2++;
}
}
} else {
dist = Math.round(Math.sqrt(Math.pow((bero_target._y + main_y) - mypos.y, 2) + Math.pow((bero_target._x + main_x) - mypos.x, 2))) + 20;
state = 0;
}
} else {
_rotation = (rad * 180) / Math.PI;
state = 0;
}
count++;
}
}
Symbol 155 MovieClip Frame 17
this.bero.state = 1;
Symbol 155 MovieClip Frame 20
_root.main.m_se23.start();
this.bero.state = 2;
Symbol 155 MovieClip Frame 22
this.bero.state = 3;
Symbol 155 MovieClip Frame 25
count++;
if (this.bero.state != 4) {
gotoAndPlay("l1");
}
Symbol 155 MovieClip Frame 37
_parent.count = -120;
_parent.gotoAndStop("normal");
Symbol 156 MovieClip Frame 1
stop();
Instance of Symbol 8 MovieClip [empty] in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
eat_raikou = false;
_parent.count = 0;
count2 = 0;
count3 = 0;
sin_x = _root.main.uni._x - 60;
sin_y = _root.main.uni._y - 50;
shot_span = 64;
phase = 0;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_root.main.uni.hpper >= 15) {
if (_root.main.uni.hpper >= 40) {
if (_root.main.uni.hpper >= 65) {
if (_root.main.uni.hpper < 90) {
phase = 1;
shot_span = 24;
}
} else {
phase = 2;
shot_span = 32;
}
} else {
phase = 3;
shot_span = 12;
}
} else {
phase = 4;
shot_span = 24;
}
if (count3 >= shot_span) {
rad2 = Math.atan2(_root.main.player._y - sin_y, _root.main.player._x - sin_x);
if (phase != 1) {
if (phase != 3) {
if (phase != 1) {
way = 10;
wid = 60 * (Math.PI / 180);
}
} else {
way = 3;
wid = 90 * (Math.PI / 180);
}
} else {
way = 3;
wid = 90 * (Math.PI / 180);
}
_root.main.m_se01.start();
i = 0;
for ( ; i < way ; i++) {
j = (rad2 - (wid / 2)) + ((wid / (way - 1)) * i);
_root.main.uni.unigun_count++;
r = _root.main.uni.sinwave(100, count2, 0.2, 0);
if (50000 < _root.main.uni.unigun_count) {
_root.main.uni.unigun_count = 1;
}
if (!((i != 1) && ((phase == 1) || (phase == 3)))) {
_root.main.field.unigun.attachMovie("singun", "singun" + _root.main.uni.unigun_count, _root.main.uni.unigun_count);
} else {
_root.main.field.unigun.attachMovie("singun_b", "singun" + _root.main.uni.unigun_count, _root.main.uni.unigun_count);
}
_root.main.field.unigun["singun" + _root.main.uni.unigun_count]._x = sin_x;
_root.main.field.unigun["singun" + _root.main.uni.unigun_count]._y = sin_y;
_root.main.field.unigun["singun" + _root.main.uni.unigun_count].rad = j;
_root.main.field.unigun["singun" + _root.main.uni.unigun_count].spd = 5;
_root.main.field.unigun["singun" + _root.main.uni.unigun_count].time = 0;
_root.main.field.unigun["singun" + _root.main.uni.unigun_count].sw = sw;
}
if (sw != 0) {
sw = 0;
sin_x = _root.main.uni._x + 60;
} else {
sw = 1;
sin_x = _root.main.uni._x - 60;
}
count3 = 0;
}
_parent.count++;
count2++;
if (600 < count2) {
count2 = 0;
}
count3++;
}
}
Instance of Symbol 143 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!((_root.main.player._y < 400) && (_parent.count >= 0))) {
if (_parent.count >= 180) {
_parent.gotoAndStop("beron");
}
} else {
_parent.gotoAndStop("beron");
}
}
Symbol 157 MovieClip Frame 1
this._visible = false;
Symbol 158 MovieClip Frame 1
this._visible = false;
if ((0 >= _root.main.muteki) && (_root.main.uni.wince < _root.main.uni.wince_max)) {
if (this.hitTest(_root.main.player._x + main_x, (_root.main.player._y + 35) + main_y, true)) {
_root.main.m_se11.start();
_root.main.Damage(1000);
if (30 >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 10000;
} else {
_root.main.player_hp = 10000;
}
} else {
_root.main.player_hp = _root.main.player_hp;
}
_root.main.muteki = 60;
}
}
Instance of Symbol 28 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
state = 0;
}
onClipEvent (enterFrame) {
if (!_root.main.boss_bang) {
if (_root.main.uni.uni_state != 11) {
if (_root.main.uni.uni_state != 10) {
if (_root.main.uni.uni_state != 2) {
if (_root.main.uni.uni_state != 1) {
if (_root.main.uni.uni_state != 2) {
if (_root.main.uni.uni_state != 4) {
if (_root.main.uni.uni_state != 5) {
if (_root.main.uni.uni_state != 8) {
if (_root.main.uni.uni_state == 9) {
state = 10;
_root.main.uni.uni_state_flag = 1;
if (!_root.main.pause) {
_parent.uni_graphic_broken.play();
} else {
_parent.uni_graphic_broken.stop();
}
}
} else {
state = 9;
if (!_root.main.pause) {
_parent.uni_graphic_spear.play();
} else {
_parent.uni_graphic_spear.stop();
}
}
} else {
state = 6;
if (!_root.main.pause) {
_parent.uni_graphic_jump.play();
_parent.uni_graphic_jump.uni_graphic_jump_loop.play();
} else {
_parent.uni_graphic_jump.stop();
_parent.uni_graphic_jump.uni_graphic_jump_loop.stop();
}
if (_root.main.uni.time >= 4) {
if (_root.main.uni.time >= 36) {
state = 8;
} else {
state = 7;
}
} else {
state = 6;
}
}
} else {
state = 6;
if (!_root.main.pause) {
_parent.uni_graphic_jump.play();
_parent.uni_graphic_jump.uni_graphic_jump_loop.play();
} else {
_parent.uni_graphic_jump.stop();
_parent.uni_graphic_jump.uni_graphic_jump_loop.stop();
}
if (_root.main.uni.time >= 4) {
if (_root.main.uni.time >= 36) {
state = 8;
} else {
state = 7;
}
} else {
state = 6;
}
}
} else {
state = 3;
if (!_root.main.pause) {
_parent.uni_graphic_wince.play();
} else {
_parent.uni_graphic_wince.stop();
}
if (_root.main.uni.wince_time < 20) {
state = 4;
} else {
state = 3;
}
}
} else {
state = 0;
if (!_root.main.pause) {
_parent.uni_graphic_base.play();
} else {
_parent.uni_graphic_base.stop();
}
}
} else {
state = 3;
if (!_root.main.pause) {
_parent.uni_graphic_wince.play();
} else {
_parent.uni_graphic_wince.stop();
}
if (_root.main.uni.wince_time < 20) {
state = 4;
} else {
state = 3;
}
}
} else {
state = 11;
}
} else {
state = 12;
}
if (state != 0) {
if (state != 3) {
if (state != 4) {
if (state != 5) {
if (state != 6) {
if (state != 7) {
if (state != 8) {
if (state != 9) {
if (state != 10) {
if (state != 11) {
if (state == 12) {
_parent.gotoAndPlay("gflog_loop");
}
} else {
_parent.gotoAndPlay("gflog");
}
} else {
_parent.gotoAndPlay("broken");
}
} else {
_parent.gotoAndPlay("spear");
}
} else {
_parent.gotoAndPlay("jump_land");
}
} else {
_parent.gotoAndPlay("jumping");
}
} else {
_parent.gotoAndPlay("jump");
}
} else {
_parent.gotoAndPlay("counter_delay");
}
} else {
_parent.gotoAndPlay("wince_counter");
if (0 < _root.main.uni.wince_time) {
this.gotoAndPlay("wince_counter");
} else {
state = 5;
this.gotoAndPlay("counter_delay");
}
}
} else {
_parent.gotoAndPlay("wince");
}
} else {
_parent.gotoAndPlay("first");
}
} else {
_parent.gotoAndPlay("dead");
}
}
Instance of Symbol 59 MovieClip "uni_graphic_wince" in Symbol 159 MovieClip Frame 6
onClipEvent (load) {
trg = false;
}
onClipEvent (enterFrame) {
if (!trg) {
_root.main.m_se09.start();
trg = true;
}
}
Symbol 160 MovieClip Frame 1
this._visible = false;
Symbol 160 MovieClip Frame 2
Symbol 160 MovieClip Frame 3
if (_root.main.player_damaged) {
gotoAndPlay (2);
} else {
gotoAndPlay (2);
}
Symbol 160 MovieClip Frame 14
gotoAndPlay(2);
Symbol 193 MovieClip Frame 2
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 4
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 6
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 8
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 10
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 12
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 14
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 16
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 18
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 20
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 22
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 24
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 26
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 28
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 30
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 193 MovieClip Frame 32
if (!_root.main.player.damageflag) {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3");
} else {
gotoAndPlay("bee4");
}
} else {
gotoAndPlay("bee5");
}
} else {
gotoAndPlay("bee6");
}
} else {
gotoAndPlay("bee7");
}
} else {
gotoAndPlay("bee8");
}
} else {
gotoAndPlay("bee1");
}
} else {
gotoAndPlay("bee2");
}
} else {
gotoAndPlay("bee3");
}
} else if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
gotoAndPlay("bee3d");
} else {
gotoAndPlay("bee4d");
}
} else {
gotoAndPlay("bee5d");
}
} else {
gotoAndPlay("bee6d");
}
} else {
gotoAndPlay("bee7d");
}
} else {
gotoAndPlay("bee8d");
}
} else {
gotoAndPlay("bee1d");
}
} else {
gotoAndPlay("bee2d");
}
} else {
gotoAndPlay("bee3d");
}
Symbol 194 MovieClip Frame 1
if (_root.main.player_damaged) {
gotoAndPlay(3);
}
Symbol 194 MovieClip Frame 2
if (!_root.main.player_damaged) {
gotoAndPlay(1);
} else {
gotoAndPlay(3);
}
Symbol 194 MovieClip Frame 3
_root.main.player.damageflag = true;
Symbol 194 MovieClip Frame 13
gotoAndPlay(1);
Instance of Symbol 206 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.equip1 >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 206 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.equip1 >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 206 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.equip1 >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 206 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.equip1 >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 206 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.equip1 >= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 270 MovieClip Frame 1
count = 0;
Symbol 270 MovieClip Frame 34
_parent.pai_l.bound = false;
_parent.gotoAndStop(2);
Symbol 271 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 1
count = 0;
Symbol 278 MovieClip Frame 34
_parent.pai_r.bound = false;
_parent.gotoAndStop(2);
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 23
stop();
Instance of Symbol 257 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
titimax = 33;
pai_r_num = 2;
pai_l_num = 2;
mpos_x_r = _xmouse;
mpos_y_r = _ymouse;
mpos_x_l = _xmouse;
mpos_y_l = _ymouse;
trg_r = false;
trg_l = false;
_parent.pai_r.bound = false;
_parent.pai_l.bound = false;
dx_r = 0;
dy_r = 0;
dx_l = 0;
dx_l = 0;
}
onClipEvent (enterFrame) {
if (_parent.pai_r.hitTest(_xmouse + main_x, _ymouse + main_y, true)) {
if (Key.isDown(1)) {
trg_r = true;
}
}
if (_parent.pai_l.hitTest(_xmouse + main_x, _ymouse + main_y, true)) {
if (Key.isDown(1)) {
trg_l = true;
}
}
if (!Key.isDown(1)) {
trg_r = false;
trg_l = false;
}
if (1 == 1) {
if (!(trg_r && (titimax >= pai_r_num))) {
if (pai_r_num < titimax) {
dy_r = -4;
if ((pai_r_num + dy_r) >= 2) {
pai_r_num = pai_r_num + dy_r;
}
} else {
_parent.pai_r.gotoAndPlay(23);
pai_r_num = 2;
_parent.pai_r.gotoAndStop(titimax + 1);
_parent.pai_r.bound = true;
}
} else {
_parent.pai_r.bound = false;
if (mpos_y_r != _ymouse) {
dy_r = Math.ceil((mpos_y_r - _ymouse) / 1);
}
if (5 >= dy_r) {
if (dy_r < -5) {
dy_r = -5;
}
} else {
dy_r = 5;
}
if (_ymouse >= mpos_y_r) {
if (_ymouse != mpos_y_r) {
if (2 < pai_r_num) {
if ((pai_r_num + dy_r) < 2) {
pai_r_num = 2;
} else {
pai_r_num = pai_r_num + dy_r;
}
pai_r_num--;
}
}
} else if (pai_r_num < titimax) {
if (titimax < (pai_r_num + dy_r)) {
pai_r_num = titimax;
} else {
pai_r_num = pai_r_num + dy_r;
}
}
}
if (!_parent.pai_r.bound) {
_parent.pai_r.gotoAndStop(pai_r_num);
mpos_x = _xmouse;
mpos_y_r = _ymouse;
fscommand ("ParaFlaTrace", "trace");
}
}
if (1 == 1) {
if (!(trg_l && (titimax >= pai_l_num))) {
if (pai_l_num < titimax) {
dy_l = -4;
if ((pai_l_num + dy_l) >= 2) {
pai_l_num = pai_l_num + dy_l;
}
} else {
_parent.pai_l.gotoAndPlay(23);
pai_l_num = 2;
_parent.pai_l.gotoAndStop(titimax + 1);
_parent.pai_l.bound = true;
}
} else {
_parent.pai_l.bound = false;
if (mpos_y_l != _ymouse) {
dy_l = Math.ceil((mpos_y_l - _ymouse) / 1);
}
if (5 >= dy_l) {
if (dy_l < -5) {
dy_l = -5;
}
} else {
dy_l = 5;
}
if (_ymouse >= mpos_y_l) {
if (_ymouse != mpos_y_l) {
if (2 < pai_l_num) {
if ((pai_l_num + dy_l) < 2) {
pai_l_num = 2;
} else {
pai_l_num = pai_l_num + dy_l;
}
pai_l_num--;
}
}
} else if (pai_l_num < titimax) {
if (titimax < (pai_l_num + dy_l)) {
pai_l_num = titimax;
} else {
pai_l_num = pai_l_num + dy_l;
}
}
}
if (!_parent.pai_l.bound) {
_parent.pai_l.gotoAndStop(pai_l_num);
mpos_x = _xmouse;
mpos_y_l = _ymouse;
fscommand ("ParaFlaTrace", "trace");
}
}
}
Symbol 283 MovieClip Frame 1
_visible = false;
Symbol 283 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 1
stop();
Instance of Symbol 8 MovieClip [empty] "yure_ope" in Symbol 343 MovieClip Frame 1
onClipEvent (load) {
titi_yure_f_array = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
timer = 180;
ero = 0;
state = 0;
yure = false;
trigger = false;
_root.main.gauge.beni._visible = false;
n = 1;
count = 0;
_parent.titi_yure_f.stop();
}
onClipEvent (enterFrame) {
if (50 < ero) {
if (0 >= timer) {
_root.main.gauge.titi._visible = true;
_root.main.gauge.beni._visible = true;
_root.main.gauge.mouth._visible = true;
_root.main.gauge.eye._visible = true;
_root.main.gauge.mouth._visible = true;
_root.main.gauge.nude._visible = false;
_root.main.gauge.eye.gotoAndStop(1);
_root.main.gauge.mouth.gotoAndStop(1);
_root.main.gauge.mayu.gotoAndStop(1);
timer = 900000000 /* 0x35A4E900 */;
count = 0;
n = 0;
ero = 0;
} else {
_root.main.gauge.titi._visible = false;
_root.main.gauge.beni._visible = false;
_root.main.gauge.mouth._visible = false;
_root.main.gauge.eye._visible = false;
_root.main.gauge.mouth._visible = false;
_root.main.gauge.nude._visible = true;
}
} else {
if (_parent.hitTest(_root.main._xmouse, _root.main._ymouse)) {
if (!Key.isDown(1)) {
trigger = false;
} else {
yure = true;
if (10 < ero) {
if (20 < ero) {
if (1000 >= ero) {
_root.main.gauge.mayu.gotoAndStop(4);
_root.main.gauge.eye.gotoAndStop(5);
_root.main.gauge.mouth.gotoAndStop(2);
}
} else {
_root.main.gauge.mayu.gotoAndStop(1);
_root.main.gauge.eye.gotoAndStop(3);
_root.main.gauge.mouth.gotoAndStop(1);
}
} else {
_root.main.gauge.mouth.gotoAndStop(2);
}
trigger = true;
}
}
if (yure) {
if ((n == 5) && (trigger)) {
count = 0;
}
if (count < titi_yure_f_array[n]) {
count++;
} else {
count = 0;
n = n + 1;
if (14 < n) {
n = 0;
ero = ero + 1;
if (10 < ero) {
if (20 < ero) {
if (100 >= ero) {
_root.main.gauge.mayu.gotoAndStop(4);
_root.main.gauge.eye.gotoAndStop(2);
_root.main.gauge.mouth.gotoAndStop(2);
}
} else {
_root.main.gauge.mayu.gotoAndStop(1);
_root.main.gauge.eye.gotoAndStop(2);
_root.main.gauge.mouth.gotoAndStop(1);
}
} else {
_root.main.gauge.mouth.gotoAndStop(1);
}
yure = false;
}
}
_parent.titi_yure_f.gotoAndStop(n);
}
if (0 < ero) {
if (3 < ero) {
if (10 < ero) {
_root.main.gauge.beni._visible = true;
state = 3;
} else {
_root.main.gauge.beni._visible = true;
state = 2;
}
} else {
state = 1;
}
} else {
state = 0;
}
}
}
Symbol 343 MovieClip Frame 3
gotoAndPlay(2);
Symbol 358 Button
on (press) {
if ((_parent._parent.honey_tmp2 >= _parent.item.price) && ((_parent.item.cart + _parent.item.num) < _parent.item.num_max)) {
_parent._parent.honey_tmp2 = _parent._parent.honey_tmp2 - _parent.item.price;
_parent.item.cart++;
}
}
on () {
}
Symbol 359 Button
on (press) {
_parent._parent.honey_tmp2 = _parent._parent.honey_tmp2 + (_parent.item.price * _parent.item.cart);
_parent.item.cart = 0;
}
on () {
}
Symbol 360 MovieClip Frame 1
if (!_parent.item.flag) {
this._visible = false;
}
Symbol 363 MovieClip Frame 1
if (_parent.item.flag) {
this._visible = false;
}
Symbol 368 MovieClip Frame 1
url = "shop.swf?" + Math.floor(Math.random() * 1000);
loadMovie (url, this);
Symbol 369 Button
on (press) {
_root.main.equip1 = item1.item.num + item1.item.cart;
_root.main.obj.equip1 = _root.main.equip1;
_root.main.honey = honey_tmp2;
_root.main.obj.honey = _root.main.honey;
if (this.item2.item.cart == 0) {
_root.main.game_state = 1;
} else {
this.item2.item.cart = 0;
_root.main.game_state = 3;
_root.main.gotoAndPlay("winner");
_parent.gotoAndPlay("battle");
}
}
on () {
}
Symbol 370 MovieClip Frame 1
yunahit = false;
Instance of Symbol 366 MovieClip [shop_item1] "item1" in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
item = new Object();
item.flag = true;
item.mes = "\u25A0\u30E9\u30A4\u30D5\u30DD\u30C3\u30C8\u25A0\n\uFF28\uFF30\u304C\uFF11\u306B\u306A\u308B\u3068\u81EA\u52D5\u7684\u306B\uFF28\uFF30\u3092\u56DE\u5FA9\u3059\u308B\u3088\u3002\n\uFF15\u500B\u307E\u3067\u30B9\u30C8\u30C3\u30AF\u3067\u304D\u308B\u3051\u3069\n\u554F\u7B54\u7121\u7528\u3067\u767A\u52D5\u3059\u308B\u304B\u3089\u6C17\u3092\u3064\u3051\u3066\u306D\u3002\n";
if (!isNaN(_root.main.equip1)) {
item.num = _root.main.equip1;
} else {
item.num = 0;
}
item.num_max = 5;
item.cart = 0;
item.price = 200;
item.mes2 = (((((("\u6240\u6301\u6570\uFF1A" + item.num) + "\u3000\u4FA1\u683C\uFF1A") + item.price) + "\u3000\u8CFC\u5165\u6570\uFF1A") + item.cart) + "\u3000\u8CFC\u5165\u91D1\u984D\uFF1A") + (item.cart * item.price);
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_parent.select = true;
item.mes = "\u25A0\u30E9\u30A4\u30D5\u30DD\u30C3\u30C8\u25A0\n\uFF28\uFF30\u304C\uFF11\u306B\u306A\u308B\u3068\u81EA\u52D5\u7684\u306B\uFF28\uFF30\u3092\u56DE\u5FA9\u3059\u308B\u3088\u3002\n\uFF15\u500B\u307E\u3067\u30B9\u30C8\u30C3\u30AF\u3067\u304D\u308B\u3051\u3069\n\u554F\u7B54\u7121\u7528\u3067\u767A\u52D5\u3059\u308B\u304B\u3089\u6C17\u3092\u3064\u3051\u3066\u306D\u3002\n";
item.mes2 = (((((("\n\u6240\u6301\u6570\uFF1A" + item.num) + "\u3000\u4FA1\u683C\uFF1A") + item.price) + "\u3000\u8CFC\u5165\u6570\uFF1A") + item.cart) + "\u3000\u8CFC\u5165\u91D1\u984D\uFF1A") + (item.cart * item.price);
item.mes3 = "\n\uFF28\uFF2F\uFF2E\uFF25\uFF39\uFF1A" + _parent.honey_tmp2;
_parent.item = item;
}
}
Instance of Symbol 367 MovieClip [shop_item2] "item2" in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
item = new Object();
item.flag = true;
item.mes = "\u25A0\u76F4\u884C\u5238\u25A0\n\u6226\u308F\u305A\u3057\u3066\u30B9\u30AD\u30F3\u30B7\u30C3\u30D7\u306B\u76F4\u884C\uFF01\u3059\u3054\u3044\uFF01\n\u201D\u4F7F\u3044\u6368\u3066\u201D\u3060\u304B\u3089\u6C17\u3092\u3064\u3051\u3066\u306D\u2606";
item.num = 0;
item.num_max = 1;
item.cart = 0;
if (!_root.main.obj.st1) {
item.price = 5000;
} else {
item.price = 100;
}
item.mes2 = (((((("\u6240\u6301\u6570\uFF1A" + item.num) + "\u3000\u4FA1\u683C\uFF1A") + item.price) + "\u3000\u8CFC\u5165\u6570\uFF1A") + item.cart) + "\u3000\u8CFC\u5165\u91D1\u984D\uFF1A") + (item.cart * item.price);
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_parent.select = true;
item.mes = "\u25A0\u76F4\u884C\u5238\u25A0\n\u6226\u308F\u305A\u3057\u3066\u30B9\u30AD\u30F3\u30B7\u30C3\u30D7\u306B\u76F4\u884C\uFF01\u3059\u3054\u3044\uFF01\n\u201D\u4F7F\u3044\u6368\u3066\u201D\u3060\u304B\u3089\u6C17\u3092\u3064\u3051\u3066\u306D\u2606";
item.mes2 = (((((("\n\u6240\u6301\u6570\uFF1A" + item.num) + "\u3000\u4FA1\u683C\uFF1A") + item.price) + "\u3000\u8CFC\u5165\u6570\uFF1A") + item.cart) + "\u3000\u8CFC\u5165\u91D1\u984D\uFF1A") + (item.cart * item.price);
item.mes3 = "\n\uFF28\uFF2F\uFF2E\uFF25\uFF39\uFF1A" + _parent.honey_tmp2;
_parent.item = item;
}
}
Instance of Symbol 8 MovieClip [empty] in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
_parent.yuna_state = 0;
i = 0;
for ( ; i < 8 ; i++) {
j = 0;
for ( ; j < 3 ; j++) {
this.attachMovie("shop_noitem", (("shop_noitem" + i) + "_") + j, getNextHighestDepth());
this[(("shop_noitem" + i) + "_") + j]._x = 160 * j;
this[(("shop_noitem" + i) + "_") + j]._y = 60 * i;
}
}
if (!isNaN(_root.main.honey)) {
_parent.honey_tmp = _root.main.honey;
} else {
_parent.honey_tmp = 1000;
}
_parent.honey_tmp2 = _parent.honey_tmp;
_parent.select = false;
_parent.item = new Object();
var tf = this.createTextField("shop_mes", getNextHighestDepth(), 0, 480, 480, 120);
var format = new TextFormat();
format.align = "LEFT";
format.font = "\uFF2D\uFF33 \u30B4\u30B7\u30C3\u30AF";
format.size = 16;
format.Color = 16777215 /* 0xFFFFFF */;
format.bold = true;
format.italic = false;
format.underline = false;
format.bullet = false;
format.kerning = true;
format.blockIndent = 0;
format.indent = 0;
format.leading = 0;
format.leftMargin = 5;
format.rightMargin = 5;
format.letterSpacing = 0;
format.tabStops = [120];
format.url = null;
format.target = null;
tf.setNewTextFormat(format);
if (1 == 1) {
tf.antiAliasType = "normal";
tf.autoSize = "none";
tf.background = true;
tf.backgroundColor = 0;
tf.border = false;
tf.borderColor = 16777215 /* 0xFFFFFF */;
tf.condenseWhite = false;
tf.password = false;
tf.embedFonts = false;
tf.gridFitType = "none";
tf.maxChars = 10000;
tf.mouseWheelEnabled = true;
tf.multiline = true;
tf.selectable = false;
tf.sharpness = 0;
tf.textColor = 16777215 /* 0xFFFFFF */;
tf.thickness = 1;
tf.type = "dynamic";
tf.wordWrap = true;
}
}
onClipEvent (enterFrame) {
if (!_parent.yunahit) {
if (!_parent.select) {
_parent.item.mes = "\u306A\u3093\u306B\u3082\u306A\u3044\u3051\u3069\u6CA2\u5C71\u8CB7\u3063\u3066\u306D\uFF01";
_parent.item.mes2 = "\n\n\n\n\n";
_parent.item.mes3 = "\n\uFF28\uFF2F\uFF2E\uFF25\uFF39\uFF1A" + _parent.honey_tmp2;
}
} else if (_parent.yuna_state != 0) {
if (_parent.yuna_state != 1) {
if (_parent.yuna_state != 2) {
_parent.item.mes = "\u306A\u3093\u306B\u3082\u306A\u3044\u3051\u3069\u6CA2\u5C71\u8CB7\u3063\u3066\u306D\uFF01";
_parent.item.mes2 = "\n\n\n\n\n";
_parent.item.mes3 = "\n\uFF28\uFF2F\uFF2E\uFF25\uFF39\uFF1A" + _parent.honey_tmp2;
} else {
_parent.item.mes = "\u3082\u3046\u2026";
_parent.item.mes2 = "\n\u30A4\u30BF\u30BA\u30E9\u306F\u3060\u3081\u3060\u3088\uFF01\n\n\n\n";
_parent.item.mes3 = newline;
}
} else {
_parent.item.mes = "\u304D\u3083\u3063\uFF01";
_parent.item.mes2 = "\n\n\n\n\n";
_parent.item.mes3 = newline;
}
} else {
_parent.item.mes = "\u306A\u3093\u306B\u3082\u306A\u3044\u3051\u3069\u6CA2\u5C71\u8CB7\u3063\u3066\u306D\uFF01";
_parent.item.mes2 = "\n\n\n\n\n";
_parent.item.mes3 = "\n\uFF28\uFF2F\uFF2E\uFF25\uFF39\uFF1A" + _parent.honey_tmp2;
}
tf.text = (_parent.item.mes + _parent.item.mes2) + _parent.item.mes3;
if (Key.isDown(Key.SPACE)) {
_root.main.equip1 = _parent.item1.item.num + _parent.item1.item.cart;
_root.main.obj.equip1 = _root.main.equip1;
_root.main.honey = _parent.honey_tmp2;
_root.main.obj.honey = _root.main.honey;
_root.main.game_state = 1;
}
}
Instance of Symbol 109 MovieClip "yuna_hit" in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!this.hitTest(_root._xmouse, _root._ymouse)) {
_parent.yunahit = false;
} else {
_parent.yunahit = true;
}
}
Symbol 371 Button
on (press) {
_root.main.mouse_trigger = 1;
_root.main.game_state = 2;
_parent.gotoAndPlay("stage1");
}
on () {
}
Symbol 372 Button
on (press) {
_root.main.game_state = 5;
this.gotoAndPlay("shop");
}
on () {
}
Symbol 373 Button
on (press) {
_root.main.game_state = 4;
this.gotoAndPlay("config");
}
on () {
}
Symbol 374 Button
on (press) {
_root.main.reset_count++;
if (_root.main.reset_count >= 5) {
_root.main.score = 0;
_root.main.obj.hiscore = 10000;
_root.main.hiscore = 10000;
_root.main.honey = 0;
_root.main.obj.honey = 0;
_root.main.reset_count = 0;
}
}
on () {
}
Symbol 375 Button
on (press) {
if (_root.main.keyconfig == 0) {
_root.main.obj.ue = _root.main.ue;
_root.main.obj.shita = _root.main.shita;
_root.main.obj.hidari = _root.main.hidari;
_root.main.obj.migi = _root.main.migi;
_root.main.obj.key_shot = _root.main.key_shot;
_root.main.obj.key_target = _root.main.key_targat;
_root.main.obj.key_auto = _root.main.key_auto;
_root.main.obj.key_pause = _root.main.key_pause;
_root.main.obj.key_die = _root.main.key_die;
_root.main.obj.mode_key = _root.main.mode_key;
_root.main.obj.mode_mouse_only = _root.main.mode_mouse_only;
_root.main.obj.flash_off = _root.main.flash_off;
_root.main.obj.bgm = _root.main.bgm;
_root.main.obj.effect_lvl = _root.main.effect_lvl;
_root.main.game_state = 1;
this.gotoAndPlay("title");
}
}
on () {
}
Symbol 376 Button
on (press) {
if (!_root.main.mode_key) {
if (!_root.main.mode_mouse_only) {
_root.main.mode_key = true;
} else {
_root.main.mode_key = false;
_root.main.mode_mouse_only = false;
}
} else {
_root.main.mode_key = false;
_root.main.mode_mouse_only = true;
}
}
on () {
}
Symbol 377 Button
on (press) {
if (_root.main.flash_off) {
_root.main.flash_off = false;
_root.main.f_kouka = "\uFF2F\uFF2E";
} else {
_root.main.flash_off = true;
_root.main.f_kouka = "\uFF2F\uFF26\uFF26";
}
}
on () {
}
Symbol 378 Button
on (press) {
if (_root.main.bgm) {
_root.main.bgm = false;
_root.main.bgm_disp = "\uFF2F\uFF26\uFF26";
} else {
_root.main.bgm = true;
_root.main.bgm_disp = "\uFF2F\uFF2E";
}
}
on () {
}
Symbol 379 Button
on (press) {
if (_root.main.effect_lvl >= 3) {
_root.main.effect_lvl = 1;
} else {
_root.main.effect_lvl++;
}
if (_root.main.effect_lvl != 1) {
if (_root.main.effect_lvl != 2) {
eflv_disp = "\u6700\u9AD8";
} else {
eflv_disp = "\u901A\u5E38";
}
} else {
eflv_disp = "\u8EFD\u91CF";
}
}
on () {
}
Symbol 380 Button
on (press) {
if (_root.main.keyconfig >= 9) {
_root.main.keyconfig = 0;
} else {
_root.main.keyconfig++;
}
}
on () {
}
Symbol 381 MovieClip Frame 2
stop();
Instance of Symbol 8 MovieClip [empty] in Symbol 381 MovieClip Frame 2
onClipEvent (keyDown) {
if (Key.isDown(_root.main.key_shot)) {
if (_root.main.mode_key) {
_root.main.gotoAndPlay("stage1");
_root.main.game_state = 2;
}
}
}
Symbol 381 MovieClip Frame 3
this.gotoAndPlay("title");
Symbol 381 MovieClip Frame 4
_root.main.reset_count = 0;
this.gauge_player._xscale = (_root.main.player_hp / _root.main.player_maxhp) * 100;
this.gauge_boss._xscale = (_root.main.boss_hp / _root.main.boss_maxhp) * 100;
this.gauge_player_red._xscale = (_root.main.player_hp_looks / _root.main.player_maxhp) * 100;
this.gauge_boss_red._xscale = (_root.main.boss_hp_looks / _root.main.boss_maxhp) * 100;
Instance of Symbol 203 MovieClip "gauge_boss_red" in Symbol 381 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.main.boss_hp >= _root.main.boss_hp_looks) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 203 MovieClip "gauge_player_red" in Symbol 381 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.main.player_hp >= _root.main.player_hp_looks) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 381 MovieClip Frame 5
this.gauge_player._xscale = (_root.main.player_hp_looks / _root.main.player_maxhp) * 100;
this.gauge_boss._xscale = (_root.main.uni.hp / _root.main.uni.maxhp) * 100;
if (_root.main.game_state != 1) {
this.gotoAndPlay("battle");
} else {
this.gotoAndPlay("title");
}
Instance of Symbol 28 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (load) {
_root._quality = "high";
_root.main.trigger_anykey = false;
if (!_root.main.flash_off) {
_root.main.f_kouka = "\uFF2F\uFF2E";
} else {
_root.main.f_kouka = "\uFF2F\uFF26\uFF26";
}
if (!_root.main.bgm) {
_root.main.bgm_disp = "\uFF2F\uFF26\uFF26";
} else {
_root.main.bgm_disp = "\uFF2F\uFF2E";
}
if (_root.main.effect_lvl != 1) {
if (_root.main.effect_lvl != 2) {
_parent.eflv_disp = "\u6700\u9AD8";
} else {
_parent.eflv_disp = "\u901A\u5E38";
}
} else {
_parent.eflv_disp = "\u8EFD\u91CF";
}
}
onClipEvent (enterFrame) {
if (!_root.main.KeyPushCheck()) {
_root.main.trigger_anykey = false;
} else {
if ((_root.main.keyconfig == 0) && (!_root.main.trigger_anykey)) {
if (Key.isDown(_root.main.key_auto)) {
_root.main.game_state = 1;
}
_root.main.trigger_anykey = true;
}
if (!((_root.main.keyconfig == 1) && (!_root.main.trigger_anykey))) {
if (!((_root.main.keyconfig == 2) && (!_root.main.trigger_anykey))) {
if (!((_root.main.keyconfig == 3) && (!_root.main.trigger_anykey))) {
if (!((_root.main.keyconfig == 4) && (!_root.main.trigger_anykey))) {
if (!((_root.main.keyconfig == 5) && (!_root.main.trigger_anykey))) {
if (!((_root.main.keyconfig == 6) && (!_root.main.trigger_anykey))) {
if (!((_root.main.keyconfig == 7) && (!_root.main.trigger_anykey))) {
if (!((_root.main.keyconfig == 8) && (!_root.main.trigger_anykey))) {
if ((_root.main.keyconfig == 9) && (!_root.main.trigger_anykey)) {
tmp = Key.getCode();
if ((((((((tmp != _root.main.ue) && (tmp != _root.main.shita)) && (tmp != _root.main.hidari)) && (tmp != _root.main.migi)) && (tmp != _root.main.key_shot)) && (tmp != _root.main.key_target)) && (tmp != _root.main.key_auto)) && (tmp != _root.main.key_pause)) {
_root.main.key_die = tmp;
_root.main.keyconfig = 0;
}
}
} else {
tmp = Key.getCode();
if (((((((tmp != _root.main.ue) && (tmp != _root.main.shita)) && (tmp != _root.main.hidari)) && (tmp != _root.main.migi)) && (tmp != _root.main.key_shot)) && (tmp != _root.main.key_target)) && (tmp != _root.main.key_auto)) {
_root.main.key_pause = tmp;
_root.main.keyconfig++;
}
}
} else {
tmp = Key.getCode();
if ((((((tmp != _root.main.ue) && (tmp != _root.main.shita)) && (tmp != _root.main.hidari)) && (tmp != _root.main.migi)) && (tmp != _root.main.key_shot)) && (tmp != _root.main.key_target)) {
_root.main.key_auto = tmp;
_root.main.keyconfig++;
}
}
} else {
tmp = Key.getCode();
if (((((tmp != _root.main.ue) && (tmp != _root.main.shita)) && (tmp != _root.main.hidari)) && (tmp != _root.main.migi)) && (tmp != _root.main.key_shot)) {
_root.main.key_target = tmp;
_root.main.keyconfig++;
}
}
} else {
tmp = Key.getCode();
if ((((tmp != _root.main.ue) && (tmp != _root.main.shita)) && (tmp != _root.main.hidari)) && (tmp != _root.main.migi)) {
_root.main.key_shot = tmp;
_root.main.keyconfig++;
}
}
} else {
tmp = Key.getCode();
if (((tmp != _root.main.ue) && (tmp != _root.main.shita)) && (tmp != _root.main.hidari)) {
_root.main.migi = tmp;
_root.main.keyconfig++;
}
}
} else {
tmp = Key.getCode();
if ((tmp != _root.main.ue) && (tmp != _root.main.shita)) {
_root.main.hidari = tmp;
_root.main.keyconfig++;
}
}
} else {
tmp = Key.getCode();
if (tmp != _root.main.ue) {
_root.main.shita = tmp;
_root.main.keyconfig++;
}
}
} else {
_root.main.ue = Key.getCode();
_root.main.keyconfig++;
}
_root.main.trigger_anykey = true;
}
}
Instance of Symbol 230 MovieClip "disp_mouse" in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.main.mode_mouse_only) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 232 MovieClip "disp_m_and_k" in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!((!_root.main.mode_key) && (!_root.main.mode_mouse_only))) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 234 MovieClip "disp_key" in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.main.mode_key) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 2) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 3) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 4) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 5) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 6) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 7) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 8) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 247 MovieClip in Symbol 381 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.keyconfig != 9) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 381 MovieClip Frame 7
if (_root.main.game_state != 1) {
gotoAndPlay("config");
} else {
gotoAndPlay("title");
}
Instance of Symbol 370 MovieClip in Symbol 381 MovieClip Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
_root.main.game_state = 1;
fscommand ("ParaFlaTrace", _root.main.game_state);
}
}
Symbol 381 MovieClip Frame 9
if (_root.main.game_state != 1) {
gotoAndPlay("shop");
} else {
gotoAndPlay("title");
}
Instance of Symbol 8 MovieClip [empty] in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
_parent.grp.stop();
}
onClipEvent (enterFrame) {
if (_root.main.uni.gflogtrg) {
_parent.grp.gotoAndStop(2);
}
}
Symbol 392 Button
on (press) {
_root.main.game_state = 1;
gotoAndPlay("title");
}
on () {
}
Symbol 393 Button
on (press, keyPress "z") {
_root.main.game_state = 1;
gotoAndPlay("title");
}
on () {
}
Symbol 394 Button
on (press, keyPress "z") {
_root.main.game_state = 1;
gotoAndPlay("title");
}
on () {
}
Symbol 395 MovieClip Frame 1
function KeyPushCheck() {
var i;
i = 7;
for ( ; i < 126 ; i++) {
if (Key.isDown(i)) {
return(true);
}
}
i = 143;
for ( ; i < 145 ; i++) {
if (Key.isDown(i)) {
return(true);
}
}
i = 185;
for ( ; i < 223 ; i++) {
if (Key.isDown(i)) {
return(true);
}
}
return(false);
}
exbgm = true;
webver = true;
version_now = 1;
game_state = 1;
var so = SharedObject.getLocal("shoboi_shooting", "/");
var obj = so.data;
hiscore = obj.hiscore;
ue = obj.ue;
hidari = obj.hidari;
migi = obj.migi;
shita = obj.shita;
key_shot = obj.key_shot;
key_target = obj.key_target;
key_auto = obj.key_auto;
key_pause = obj.key_pause;
key_die = obj.key_die;
mode_key = obj.mode_key;
mode_mouse_only = obj.mode_mouse_only;
mode_reverse = obj.mode_reverse;
flash_off = obj.flash_off;
bgm = obj.bgm;
effect_lvl = obj.effect_lvl;
honey = obj.honey;
equip1 = obj.equip1;
vol_master = 1;
if (isNaN(obj.hiscore)) {
hiscore = 10000;
}
if (isNaN(obj.ue)) {
ue = Key.UP;
}
if (isNaN(obj.hidari)) {
hidari = Key.LEFT;
}
if (isNaN(obj.migi)) {
migi = Key.RIGHT;
}
if (isNaN(obj.shita)) {
shita = Key.DOWN;
}
if (isNaN(obj.key_shot)) {
key_shot = 90;
}
if (isNaN(obj.key_target)) {
key_target = Key.SHIFT;
}
if (isNaN(obj.key_auto)) {
key_auto = 88;
}
if (isNaN(obj.key_pause)) {
key_pause = Key.ENTER;
}
if (isNaN(obj.key_die)) {
key_die = Key.SPACE;
}
if (isNaN(obj.mode_key)) {
mode_key = false;
}
if (isNaN(obj.mode_mouse_only)) {
mode_mouse_only = false;
}
if (isNaN(obj.flash_off)) {
flash_off = false;
}
if (isNaN(obj.bgm)) {
bgm = true;
}
if (isNaN(obj.effect_lvl)) {
effect_lvl = 2;
}
if (isNaN(obj.honey)) {
honey = 0;
}
if (isNaN(obj.equip1)) {
equip1 = 0;
}
if (isNaN(obj.version)) {
obj.version = 0;
}
if (isNaN(obj.st1)) {
obj.st1 = false;
}
if (obj.version != version_now) {
hiscore = 10000;
obj.version = version_now;
}
if (!_root.minimode) {
Stage.scaleMode = "noScale";
}
reset_count = 0;
keyconfig = 0;
trigger_anykey = false;
_root.createEmptyMovieClip("bgmf", 50);
_root.createEmptyMovieClip("damagef", 51);
_root.createEmptyMovieClip("sef", 52);
_root.createEmptyMovieClip("shootf", 53);
_root.createEmptyMovieClip("hitf", 54);
_root.createEmptyMovieClip("burstf", 49);
m_se00 = new Sound(_root.shootf);
m_se00.attachSound("se_shoot");
m_se01 = new Sound(_root.sef);
m_se01.attachSound("sonic");
m_se02 = new Sound(_root.hitf);
m_se02.attachSound("se_hit");
m_se03 = new Sound(_root.damagef);
m_se03.attachSound("se_damage");
m_se04 = new Sound(_root.burstf);
m_se04.attachSound("se_slash");
m_se05 = new Sound(_root.sef);
m_se05.attachSound("se_cutter");
m_se06 = new Sound(_root.sef);
m_se06.attachSound("se_warp");
m_se07 = new Sound(_root.sef);
m_se07.attachSound("se_youwin");
m_se08 = new Sound(_root.sef);
m_se08.attachSound("se_cutter_ok");
m_se09 = new Sound(_root.sef);
m_se09.attachSound("se_wince");
m_se10 = new Sound(_root.sef);
m_se10.attachSound("se_cutterhit");
m_se11 = new Sound(_root.burstf);
m_se11.attachSound("se_smashhit");
m_se12 = new Sound(_root.sef);
m_se12.attachSound("se_gunbreak");
m_se13 = new Sound(_root.sef);
m_se13.attachSound("se_nodamage");
m_se14 = new Sound(_root.sef);
m_se14.attachSound("se_getitem1");
m_se15 = new Sound(_root.sef);
m_se15.attachSound("se_realize");
m_se16 = new Sound(_root.sef);
m_se16.attachSound("se_kin");
m_se17 = new Sound(_root.burstf);
m_se17.attachSound("se_swing");
m_se18 = new Sound(_root.burstf);
m_se18.attachSound("se_bonus");
m_se19 = new Sound(_root.sef);
m_se19.attachSound("semi");
m_se20 = new Sound(_root.sef);
m_se20.attachSound("goro");
m_se21 = new Sound(_root.sef);
m_se21.attachSound("se_water");
m_se22 = new Sound(_root.sef);
m_se22.attachSound("se_geko");
m_se23 = new Sound(_root.sef);
m_se23.attachSound("se_bero");
se_unijump = new Sound(_root.sef);
se_unijump.attachSound("se_jump");
se_bomb1 = new Sound(_root.sef);
se_bomb1.attachSound("se_bomb1");
m_se00.setVolume(30 * vol_master);
m_se01.setVolume(50 * vol_master);
m_se02.setVolume(25 * vol_master);
m_se03.setVolume(60 * vol_master);
m_se04.setVolume(70 * vol_master);
Symbol 395 MovieClip Frame 2
function stopbgm() {
bgm_ex01.stop();
m_bgm01.stop();
}
m_bgm01 = new Sound(_root.bgmf);
m_bgm01.setVolume(60 * vol_master);
var bgm_ex01 = new Sound(_root.bgmf);
bgm_ex01.onLoad = function (succ) {
if (!succ) {
bgm_ex01load = false;
} else {
m_bgm01 = bgm_ex01;
m_bgm01.setVolume(60 * vol_master);
bgm_ex01load = true;
}
};
if (exbgm) {
bgm_ex01.loadSound("bgm01.mp3", false);
}
bgm_ex01.setVolume(50 * vol_master);
bgm_ex01.stop();
m_bgm01.stop();
Symbol 395 MovieClip Frame 3
bgm_ex01.stop();
m_bgm01.stop();
yukarin = 0;
Instance of Symbol 381 MovieClip "gauge" in Symbol 395 MovieClip Frame 3
onClipEvent (load) {
trg_pl = false;
count_pl = 10;
trg_boss = false;
boss_wait = 20;
count_boss = boss_wait;
pre = 0;
}
onClipEvent (enterFrame) {
_root.main.obj.hiscore = _root.main.hiscore;
_root.main.pooz();
_root.main.yukarin();
if (_root.main.hiscore < _root.main.score) {
_root.main.hiscore = _root.main.score;
}
if (_root.main.player_hp >= _root.main.player_hp_looks) {
_root.main.player_hp_looks = _root.main.player_hp;
trg_pl = false;
} else {
if (!trg_pl) {
count_pl = 10;
trg_pl = true;
}
if (0 >= count_pl) {
_root.main.player_hp_looks = _root.main.player_hp_looks - (_root.main.player_maxhp / 125);
} else {
count_pl--;
}
}
if (_root.main.boss_hp >= _root.main.boss_hp_looks) {
_root.main.boss_hp_looks = _root.main.boss_hp;
trg_boss = false;
} else {
if (!trg_boss) {
pre = _root.main.boss_hp;
count_boss = boss_wait;
trg_boss = true;
}
if (0 >= count_boss) {
if (pre != _root.main.boss_hp) {
pre = _root.main.boss_hp;
count_boss = boss_wait;
} else {
pre = _root.main.boss_hp;
_root.main.boss_hp_looks = _root.main.boss_hp_looks - (_root.main.boss_maxhp / 125);
}
} else {
count_boss--;
}
}
}
Symbol 395 MovieClip Frame 4
this.gotoAndPlay("title");
Symbol 395 MovieClip Frame 5
function score_calc(tmp) {
t = _root.main.player.time_limit / _root.main.player.time_max;
if (t >= 0.5) {
result = tmp;
} else {
result = Math.floor((((_root.main.player.time_limit / _root.main.player.time_max) * 2) * tmp) / 10) * 10;
}
return(result);
}
function dist2(x1, y1, x2, y2) {
var a = (x2 - x1);
var b = (y2 - y1);
var c = Math.sqrt((a * a) + (b * b));
return(c);
}
function GunCreate(iOrder) {
i = 0;
// unexpected jump
do {
i++;
if (i >= GunMax2) {
break;
}
} while (GunUse[i] != 0);
if (i == GunMax2) {
return(false);
}
if (iOrder.type != 0) {
_root.main.field.attachMovie("cutter", "gun" + i, gundepth + i);
_root.main.m_se05.start();
} else {
_root.main.field.attachMovie("gun", "gun" + i, gundepth + i);
_root.main.m_se00.start();
}
_root.main.field["gun" + i]._x = iOrder.x;
_root.main.field["gun" + i]._y = iOrder.y;
_root.main.field["gun" + i].dx = iOrder.dx;
_root.main.field["gun" + i].dy = iOrder.dy;
_root.main.field["gun" + i].type = iOrder.type;
_root.main.field["gun" + i].power = iOrder.power * 0.8;
_root.main.field["gun" + i].rad = iOrder.rad;
_root.main.field["gun" + i].time = 0;
_root.main.field["gun" + i].ID = i;
if (iOrder.type != 0) {
_root.main.field["gun" + i]._rotation = (Math.atan2(_root.main.target.my_y - _root.main.field["gun" + i]._y, _root.main.target.my_x - _root.main.field["gun" + i]._x) * 180) / Math.PI;
myrot = _root.main.field["gun" + i]._rotation;
} else {
_root.main.field["gun" + i].grp._rotation = (Math.atan2(_root.main.target.my_y - _root.main.field["gun" + i]._y, _root.main.target.my_x - _root.main.field["gun" + i]._x) * 180) / Math.PI;
myrot = _root.main.field["gun" + i].grp._rotation;
}
if (myrot < 0) {
myrot = 360 + myrot;
}
myrot = Math.floor(myrot);
_root.main.field["gun" + i].rot = myrot;
GunUse[i] = 1;
}
function GunCreateOptL(iOrder) {
if (iOrder.type != 0) {
return(false);
}
i = GunMax2 + 1;
// unexpected jump
do {
i++;
if (i >= ((GunMax2 + 1) + GunMax2)) {
break;
}
} while (GunUse[i] != 0);
if (i == ((GunMax2 + 1) + GunMax2)) {
return(false);
}
_root.main.field.attachMovie("gun", "gun" + i, gundepth + i);
if (!((!_root.main.mode_key) || (_root.main.target.auto))) {
_root.main.field["gun" + i]._x = iOrder.x;
_root.main.field["gun" + i]._y = iOrder.y;
} else {
_root.main.field["gun" + i]._x = _root.main.field.p_opt_l._x;
_root.main.field["gun" + i]._y = _root.main.field.p_opt_l._y;
}
_root.main.field["gun" + i].dx = iOrder.dx;
_root.main.field["gun" + i].dy = iOrder.dy;
_root.main.field["gun" + i].type = iOrder.type;
_root.main.field["gun" + i].power = iOrder.power * 0.5;
_root.main.field["gun" + i].rad = iOrder.rad;
_root.main.field["gun" + i].time = 0;
_root.main.field["gun" + i].ID = i;
if (_root.main.target.auto) {
wid = 0;
} else {
wid = 0.1;
}
if (iOrder.type != 0) {
_root.main.field["gun" + i]._rotation = (Math.atan2(_root.main.target.my_y - _root.main.field["gun" + i]._y, _root.main.target.my_x - _root.main.field["gun" + i]._x) * 180) / Math.PI;
myrot = _root.main.field["gun" + i]._rotation;
} else {
_root.main.field["gun" + i].grp._rotation = (Math.atan2(_root.main.target.my_y - _root.main.field["gun" + i]._y, _root.main.target.my_x - _root.main.field["gun" + i]._x) * 180) / Math.PI;
myrot = _root.main.field["gun" + i].grp._rotation;
}
if (myrot < 0) {
myrot = 360 + myrot;
}
myrot = Math.floor(myrot);
_root.main.field["gun" + i].rot = myrot;
_root.main.field["gun" + i]._x = _root.main.field.p_opt_l._x;
_root.main.field["gun" + i]._y = _root.main.field.p_opt_l._y;
GunUse[i] = 1;
}
function GunCreateOptR(iOrder) {
if (iOrder.type != 0) {
return(false);
}
i = (GunMax2 * 2) + 1;
// unexpected jump
do {
i++;
if (i >= (((GunMax2 * 2) + 1) + GunMax2)) {
break;
}
} while (GunUse[i] != 0);
if (i == (((GunMax2 * 2) + 1) + GunMax2)) {
return(false);
}
_root.main.field.attachMovie("gun", "gun" + i, gundepth + i);
if (!((!_root.main.mode_key) || (_root.main.target.auto))) {
_root.main.field["gun" + i]._x = iOrder.x;
_root.main.field["gun" + i]._y = iOrder.y;
} else {
_root.main.field["gun" + i]._x = _root.main.field.p_opt_r._x;
_root.main.field["gun" + i]._y = _root.main.field.p_opt_r._y;
}
_root.main.field["gun" + i].dx = iOrder.dx;
_root.main.field["gun" + i].dy = iOrder.dy;
_root.main.field["gun" + i].type = iOrder.type;
_root.main.field["gun" + i].power = iOrder.power * 0.5;
_root.main.field["gun" + i].rad = iOrder.rad;
_root.main.field["gun" + i].time = 0;
_root.main.field["gun" + i].ID = i;
if (_root.main.target.auto) {
wid = 0;
} else {
wid = 0.1;
}
if (iOrder.type != 0) {
_root.main.field["gun" + i]._rotation = (Math.atan2(_root.main.target.my_y - _root.main.field["gun" + i]._y, _root.main.target.my_x - _root.main.field["gun" + i]._x) * 180) / Math.PI;
myrot = _root.main.field["gun" + i]._rotation;
} else {
_root.main.field["gun" + i].grp._rotation = (Math.atan2(_root.main.target.my_y - _root.main.field["gun" + i]._y, _root.main.target.my_x - _root.main.field["gun" + i]._x) * 180) / Math.PI;
myrot = _root.main.field["gun" + i].grp._rotation;
}
if (myrot < 0) {
myrot = 360 + myrot;
}
myrot = Math.floor(myrot);
_root.main.field["gun" + i].rot = myrot;
_root.main.field["gun" + i]._x = _root.main.field.p_opt_r._x;
_root.main.field["gun" + i]._y = _root.main.field.p_opt_r._y;
GunUse[i] = 1;
}
function GunExecute() {
i = 0;
for ( ; i < GunMax2 ; i++) {
if (GunUse[i] == 1) {
_root.main.field["gun" + i].time++;
_root.main.field["gun" + i]._x = _root.main.field["gun" + i]._x + _root.main.field["gun" + i].dx;
_root.main.field["gun" + i]._y = _root.main.field["gun" + i]._y + _root.main.field["gun" + i].dy;
if (_root.main.field["gun" + i]._x < -20) {
_root.main.GunDelete(i);
}
if ((scr_x + 20) < _root.main.field["gun" + i]._x) {
_root.main.GunDelete(i);
}
if ((scr_y + 20) < _root.main.field["gun" + i]._y) {
_root.main.GunDelete(i);
}
if (_root.main.field["gun" + i]._y < -20) {
_root.main.GunDelete(i);
}
if (_root.main.field["gun" + i].type == 0) {
if (!(((_root.main.player.shot_type == 0) || (_root.main.mode_mouse_only || (_root.main.mode_key))) && (!_root.main.target.auto))) {
if (_root.main.player_hp != 1) {
if (_root.main.field["gun" + i].time >= (9 * _root.main.fps)) {
_root.main.GunDelete(i);
}
} else if (_root.main.field["gun" + i].time >= (10 * _root.main.fps)) {
_root.main.GunDelete(i);
}
} else if (_root.main.field["gun" + i].time >= (30 * _root.main.fps)) {
_root.main.GunDelete(i);
}
}
}
}
}
function GunExecuteOptL() {
i = GunMax2 + 1;
for ( ; i < ((GunMax2 + 1) + GunMax2) ; i++) {
if (GunUse[i] == 1) {
_root.main.field["gun" + i].time++;
_root.main.field["gun" + i]._x = _root.main.field["gun" + i]._x + _root.main.field["gun" + i].dx;
_root.main.field["gun" + i]._y = _root.main.field["gun" + i]._y + _root.main.field["gun" + i].dy;
if (_root.main.field["gun" + i]._x < -20) {
_root.main.GunDelete(i);
}
if ((scr_x + 20) < _root.main.field["gun" + i]._x) {
_root.main.GunDelete(i);
}
if ((scr_y + 20) < _root.main.field["gun" + i]._y) {
_root.main.GunDelete(i);
}
if (_root.main.field["gun" + i]._y < -20) {
_root.main.GunDelete(i);
}
if (_root.main.field["gun" + i].type == 0) {
if (!(((_root.main.player.shot_type == 0) || (_root.main.mode_mouse_only || (_root.main.mode_key))) && (!_root.main.target.auto))) {
if (_root.main.player_hp != 1) {
if (_root.main.field["gun" + i].time >= (9 * _root.main.fps)) {
_root.main.GunDelete(i);
}
} else if (_root.main.field["gun" + i].time >= (10 * _root.main.fps)) {
_root.main.GunDelete(i);
}
} else if (_root.main.field["gun" + i].time >= (30 * _root.main.fps)) {
_root.main.GunDelete(i);
}
}
}
}
}
function GunExecuteOptR() {
i = (GunMax2 * 2) + 1;
for ( ; i < (((GunMax2 * 2) + 1) + GunMax2) ; i++) {
if (GunUse[i] == 1) {
_root.main.field["gun" + i].time++;
_root.main.field["gun" + i]._x = _root.main.field["gun" + i]._x + _root.main.field["gun" + i].dx;
_root.main.field["gun" + i]._y = _root.main.field["gun" + i]._y + _root.main.field["gun" + i].dy;
if (_root.main.field["gun" + i]._x < -20) {
_root.main.GunDelete(i);
}
if ((scr_x + 20) < _root.main.field["gun" + i]._x) {
_root.main.GunDelete(i);
}
if ((scr_y + 20) < _root.main.field["gun" + i]._y) {
_root.main.GunDelete(i);
}
if (_root.main.field["gun" + i]._y < -20) {
_root.main.GunDelete(i);
}
if (_root.main.field["gun" + i].type == 0) {
if (!(((_root.main.player.shot_type == 0) || (_root.main.mode_mouse_only || (_root.main.mode_key))) && (!_root.main.target.auto))) {
if (_root.main.player_hp != 1) {
if (_root.main.field["gun" + i].time >= (9 * _root.main.fps)) {
_root.main.GunDelete(i);
}
} else if (_root.main.field["gun" + i].time >= (10 * _root.main.fps)) {
_root.main.GunDelete(i);
}
} else if (_root.main.field["gun" + i].time >= (30 * _root.main.fps)) {
_root.main.GunDelete(i);
}
}
}
}
}
function GunDelete(ID) {
_root.main.field["gun" + ID].removeMovieClip();
GunUse[ID] = 0;
}
function Damage(ID) {
ID = 1;
_root.main.field.attachMovie("pdamage", "pdamage" + ID, pdamagedepth);
_root.main.field["pdamage" + ID]._x = _root.main.player._x;
_root.main.field["pdamage" + ID]._y = _root.main.player._y;
}
function HitEffect(ID, type) {
i = 0;
for ( ; i < _root.main.EffectMax ; i++) {
if (_root.main.EffectUse[i] == 0) {
myID = i;
_root.main.EffectUse[i] = 1;
break;
}
}
if (i == _root.main.EffectMax) {
return(false);
}
_root.main.field.attachMovie("damage", "damage" + myID, damagedepth + myID);
_root.main.field["damage" + myID]._x = _root.main.field["gun" + ID]._x;
_root.main.field["damage" + myID]._y = _root.main.field["gun" + ID]._y;
_root.main.field["damage" + myID].ID = myID;
if (type != 1) {
_root.main.field["damage" + myID].type = 0;
} else {
_root.main.field["damage" + myID].type = type;
}
}
function CutterEffect(ID, iCut) {
i = 0;
for ( ; i < _root.main.cEffectMax ; i++) {
if (_root.main.cEffectUse[i] == 0) {
myID = i;
_root.main.cEffectUse[i] = 1;
break;
}
}
if (i == _root.main.cEffectMax) {
return(false);
}
_root.main.field.attachMovie("cutter_effect", "cdamage" + myID, cdamagedepth + myID);
point = {x:_root.main.field["gun" + ID]["cutter_test" + iCut]._x, y:_root.main.field["gun" + ID]["cutter_test" + iCut]._y};
_root.main.field["gun" + ID].localToGlobal(point);
_root.main.field["cdamage" + myID]._x = point.x - main_x;
_root.main.field["cdamage" + myID]._y = point.y - main_y;
_root.main.field["cdamage" + myID].ID = myID;
}
function pointmove() {
pkyori = _root.main.dist2(_root.main.target.point_x, _root.main.target.point_y, _root.main._xmouse, _root.main._ymouse);
if (pkyori >= 0) {
_root.main.prad = Math.atan2(_root.main._ymouse - _root.main.target.point_y, _root.main._xmouse - _root.main.target.point_x);
}
if (pkyori < 15) {
if (pkyori < 10) {
if (3 >= pkyori) {
point_dx = 0;
point_dy = 0;
} else {
point_dx = Math.cos(_root.main.prad) * ((pkyori - 3) / 10);
point_dy = Math.sin(_root.main.prad) * ((pkyori - 3) / 10);
}
} else {
point_dx = Math.cos(_root.main.prad) * ((pkyori - 3) / 5);
point_dy = Math.sin(_root.main.prad) * ((pkyori - 3) / 5);
}
} else {
point_dx = Math.cos(_root.main.prad) * 9;
point_dy = Math.sin(_root.main.prad) * 9;
}
_root.main.target.point_x = _root.main.target.point_x + point_dx;
_root.main.target.point_y = _root.main.target.point_y + point_dy;
}
function playermove() {
safety = false;
_root.main.target.nokey = false;
tg_a = 250;
tg_b = Math.floor(Math.cos(Math.PI / 4) * tg_a);
if (!_root.main.mode_mouse_only) {
if (!Key.isDown(ue)) {
if (!Key.isDown(shita)) {
if (!Key.isDown(migi)) {
if (!Key.isDown(hidari)) {
_root.main.target.nokey = true;
} else {
if (scr_tombo < _root.main.player._x) {
_root.main.player._x = _root.main.player._x - _root.main.player_speed2;
}
if (_root.main.mode_key) {
_root.main.target.dx = tg_a * -1;
_root.main.target.dy = 0;
}
}
} else {
if (_root.main.player._x < (scr_x - scr_tombo)) {
_root.main.player._x = _root.main.player._x + _root.main.player_speed2;
}
if (_root.main.mode_key) {
_root.main.target.dx = tg_a;
_root.main.target.dy = 0;
}
}
} else if (!Key.isDown(migi)) {
if (!Key.isDown(hidari)) {
if (_root.main.player._y < (scr_y - scr_tombo)) {
_root.main.player._y = _root.main.player._y + _root.main.player_speed2;
}
if (_root.main.mode_key) {
_root.main.target.dx = 0;
_root.main.target.dy = tg_a;
}
} else {
if (_root.main.player._y < (scr_y - scr_tombo)) {
_root.main.player._y = _root.main.player._y + _root.main.player_speed;
}
if (scr_tombo < _root.main.player._x) {
_root.main.player._x = _root.main.player._x - _root.main.player_speed;
}
if (_root.main.mode_key) {
_root.main.target.dx = tg_b * -1;
_root.main.target.dy = tg_b;
}
}
} else {
if (_root.main.player._y < (scr_y - scr_tombo)) {
_root.main.player._y = _root.main.player._y + _root.main.player_speed;
}
if (_root.main.player._x < (scr_x - scr_tombo)) {
_root.main.player._x = _root.main.player._x + _root.main.player_speed;
}
if (_root.main.mode_key) {
_root.main.target.dx = tg_b;
_root.main.target.dy = tg_b;
}
}
} else if (!Key.isDown(migi)) {
if (!Key.isDown(hidari)) {
if (scr_tombo < _root.main.player._y) {
_root.main.player._y = _root.main.player._y - _root.main.player_speed2;
}
if (_root.main.mode_key) {
_root.main.target.dx = 0;
_root.main.target.dy = tg_a * -1;
}
} else {
if (scr_tombo < _root.main.player._y) {
_root.main.player._y = _root.main.player._y - _root.main.player_speed;
}
if (scr_tombo < _root.main.player._x) {
_root.main.player._x = _root.main.player._x - _root.main.player_speed;
}
if (_root.main.mode_key) {
_root.main.target.dx = tg_b * -1;
_root.main.target.dy = tg_b * -1;
}
}
} else {
if (scr_tombo < _root.main.player._y) {
_root.main.player._y = _root.main.player._y - _root.main.player_speed;
}
if (_root.main.player._x < (scr_x - scr_tombo)) {
_root.main.player._x = _root.main.player._x + _root.main.player_speed;
}
if (_root.main.mode_key) {
_root.main.target.dx = tg_b;
_root.main.target.dy = tg_b * -1;
}
}
} else {
kyori = _root.main.dist2(_root.main.player._x, _root.main.player._y, _root.main._xmouse, _root.main._ymouse);
if (kyori >= 0) {
_root.main.mrad = Math.atan2(_root.main._ymouse - _root.main.player._y, _root.main._xmouse - _root.main.player._x);
}
if (kyori < 10) {
if (kyori < 2) {
if (1 >= kyori) {
my_dx = 0;
my_dy = 0;
} else {
my_dx = Math.cos(_root.main.mrad) * kyori;
my_dy = Math.sin(_root.main.mrad) * kyori;
}
} else {
my_dx = Math.cos(_root.main.mrad) * (kyori / 2);
my_dy = Math.sin(_root.main.mrad) * (kyori / 2);
}
} else {
my_dx = Math.cos(_root.main.mrad) * 10;
my_dy = Math.sin(_root.main.mrad) * 10;
}
if (0 >= kyori) {
_root.main.player._x = _root.main._xmouse;
_root.main.player._y = _root.main._ymouse;
} else {
_root.main.player._x = _root.main.player._x + my_dx;
_root.main.player._y = _root.main.player._y + my_dy;
if ((scr_x - scr_tombo) < _root.main.player._x) {
_root.main.player._x = scr_x - scr_tombo;
safety = true;
}
if (_root.main.player._x < scr_tombo) {
_root.main.player._x = scr_tombo;
safety = true;
}
if ((scr_y - scr_tombo) < _root.main.player._y) {
_root.main.player._y = scr_y - scr_tombo;
safety = true;
}
if (_root.main.player._y < scr_tombo) {
_root.main.player._y = scr_tombo;
safety = true;
}
}
_root.main.pointmove();
if (!((kyori < 20) && (!safety))) {
_root.main.pointrad = mrad;
} else {
_root.main.pointrad = Math.atan2(_root.main.player._y - _root.main.target.point_y, _root.main.player._x - _root.main.target.point_x);
}
if (1 == 2) {
if (kyori >= 20) {
prerad = mrad;
_root.main.pointrad = prerad;
} else {
RadSpeed = 0.1;
if (mrad < (prerad - Math.PI)) {
mrad = mrad + (Math.PI * 2);
}
if ((prerad + Math.PI) < mrad) {
mrad = mrad - (Math.PI * 2);
}
if (RadSpeed >= (prerad - mrad)) {
if ((prerad - mrad) >= (RadSpeed * -1)) {
prerad = mrad;
} else {
prerad = prerad + RadSpeed;
}
} else {
prerad = prerad - RadSpeed;
}
_root.main.pointrad = prerad;
}
}
}
}
function GetDirection() {
if (337.5 >= _root.main.player.rot) {
if (292.5 >= _root.main.player.rot) {
if (247.5 >= _root.main.player.rot) {
if (202.5 >= _root.main.player.rot) {
if (157.5 >= _root.main.player.rot) {
if (112.5 >= _root.main.player.rot) {
if (67.5 >= _root.main.player.rot) {
if (22.5 >= _root.main.player.rot) {
_root.main.player.direction = 1;
} else {
_root.main.player.direction = 2;
}
} else {
_root.main.player.direction = 3;
}
} else {
_root.main.player.direction = 4;
}
} else {
_root.main.player.direction = 5;
}
} else {
_root.main.player.direction = 6;
}
} else {
_root.main.player.direction = 7;
}
} else {
_root.main.player.direction = 8;
}
} else {
_root.main.player.direction = 1;
}
}
function yukarin() {
if (Key.isDown(_root.main.key_die)) {
yukarin = true;
}
}
function pooz() {
if (Key.isDown(2)) {
pause = 1;
}
if (!Key.isDown(_root.main.key_pause)) {
trigger_enter = 0;
} else {
if (!((!trigger_enter) && (!pause))) {
if ((!trigger_enter) && (pause)) {
pause = 0;
}
} else {
pause = 1;
}
trigger_enter = 1;
}
}
_root.main.gauge.gotoAndPlay("battle");
if (!_root.minimode) {
_root._quality = "low";
}
prerad = Math.PI * 0.5;
enemycnt = 1;
score = 0;
supercutter = 1;
scr_x = 600;
scr_y = 600;
scr_tombo = 30;
fps = 1;
player_speed2 = 10 / fps;
player_speed = 8 / fps;
player_maxhp = 120;
player_hp = player_maxhp;
player_bang = 0;
player_damaged = 0;
boss_bang = 0;
if (!mode_key) {
GunMax2 = 4;
} else {
GunMax2 = 4;
}
GunMax = GunMax2 * 3;
GunUse = new Array();
GunUseL = new Array();
GunUseR = new Array();
enemy = new Array();
muteki = 0;
pause = 0;
mrad = 0;
trigger_enter = 0;
i = 0;
for ( ; i < (GunMax2 * 3) ; i++) {
GunUse[i] = 0;
}
EffectMax = 100;
EffectUse = new Array();
i = 0;
for ( ; i < EffectMax ; i++) {
EffectUse[i] = 0;
}
cEffectMax = 100;
cEffectUse = new Array();
i = 0;
for ( ; i < cEffectMax ; i++) {
cEffectUse[i] = 0;
}
boss_GunMax = 500;
player_GunMax_all = 100;
enemydepth_Max = 100;
gundepth = 50;
playeroptdepth = gundepth + player_GunMax_all;
unioptdepth = playeroptdepth + 10;
enemy1depth = unioptdepth + 10;
enemy2depth = enemy1depth + enemydepth_Max;
bangdepth = enemy2depth + 100;
damagedepth = bangdepth + 100;
cdamagedepth = damagedepth + 100;
pdamagedepth = cdamagedepth + 100;
backobjdepth = pdamagedepth + 100;
unigundepth = backobjdepth + boss_GunMax;
pointdepth = unigundepth + 100;
stareffectdepth = pointdepth + 10;
color_normal = [1, 1, 1, 1, 0, 0, 0, 0];
color_red = [1.1, 0.9, 0.9, 1, 20, -20, -20, 0];
tf = _root.clone_array(color_normal);
color_tf = new flash.geom.ColorTransform(tf[0], tf[1], tf[2], tf[3], tf[4], tf[5], tf[6], tf[7]);
this.transform.colorTransform = color_tf;
if (bgm) {
if (!bgm_ex01load) {
m_bgm01.start(0, 999);
} else {
bgm_ex01.start(0, 999);
}
}
Symbol 395 MovieClip Frame 6
stop();
Instance of Symbol 8 MovieClip [empty] in Symbol 395 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!((_parent.yukarin == 1) || (_parent.game_state != 2))) {
if (_parent.boss_bang != 1) {
if (_parent.player_bang != 1) {
_parent.gotoAndPlay("stage1_loop");
} else {
_parent.gotoAndPlay("stage1_bang");
}
} else {
_root.main.honey = _root.main.honey + 500;
_root.main.score = _root.main.score + ((20000 + (Math.round((_root.main.player.time_limit / _root.main.player.time_max) * 100) * 200)) + (Math.round((_root.main.player_hp / _root.main.player_maxhp) * 100) * 200));
if (_root.main.hiscore < _root.main.score) {
_root.main.hiscore = _root.main.score;
}
_parent.gotoAndPlay("stage1_bang");
}
} else {
_parent.gotoAndPlay("stage1_bang");
}
}
Instance of Symbol 24 MovieClip "target" in Symbol 395 MovieClip Frame 6
onClipEvent (load) {
blink = 0;
count = 0;
_root.main.player.tmpx = new Array();
_root.main.player.tmpy = new Array();
_root.main.player.pos_x = 317;
_root.main.player.pos_y = 486;
trace_num = 17;
if (count == 0) {
i = 0;
for ( ; i < (trace_num + 1) ; i++) {
_root.main.player.tmpx[i] = _root.main.player.pos_x;
_root.main.player.tmpy[i] = _root.main.player.pos_y;
}
}
my_x = 0;
my_y = -250;
my_dx = 0;
my_dy = 0;
point_x = _root.main._xmouse;
point_y = _root.main._ymouse;
beacon_x = 0;
beacon_y = 0;
nokey = true;
trigger_target = false;
targetting = false;
if (_root.main.mode_mouse_only) {
Mouse.hide();
my_x = 300;
my_y = 400;
} else {
Mouse.hide();
}
auto = false;
auto_reload = 0;
if (!(_parent.mode_mouse_only || (_parent.mode_key))) {
auto_flag = false;
} else {
auto_flag = true;
}
burst_shot = 0;
lock_trigger = false;
lock = false;
trad = (Math.PI * -1) / 2;
if (_root.main.mode_mouse_only) {
_root.main.field.attachMovie("p_opt_m", "point", _root.main.pointdepth);
}
}
onClipEvent (enterFrame) {
if (_root.main.pause != 0) {
Mouse.show();
} else {
if (!((((_root._xmouse < main_x) || ((main_x + _root.main.scr_x) < _root._xmouse)) || (_root._ymouse < main_y)) || ((main_y + _root.main.scr_y) < _root._ymouse))) {
Mouse.hide();
} else {
Mouse.show();
}
if (0 < burst_shot) {
burst_shot--;
}
if (!_root.main.mode_mouse_only) {
if (!_root.main.mode_key) {
if (!Key.isDown(4)) {
lock_trigger = false;
} else {
if (!lock_trigger) {
if (_root.main.player.shot_type != 0) {
_root.main.player.shot_type = 0;
} else {
_root.main.player.shot_type = 1;
}
}
lock_trigger = true;
}
_visible = true;
my_x = _root.main._xmouse;
my_y = _root.main._ymouse;
} else {
trace_num = 17;
_root.main.player.tmpx[trace_num] = _root.main.player.pos_x;
_root.main.player.tmpy[trace_num] = _root.main.player.pos_y;
i = 0;
for ( ; i < trace_num ; i++) {
_root.main.player.tmpx[i] = _root.main.player.tmpx[i + 1];
_root.main.player.tmpy[i] = _root.main.player.tmpy[i + 1];
}
if (!auto_flag) {
if (!auto) {
auto_reload++;
} else if (auto_reload < 60) {
auto_reload++;
}
if (auto_reload >= (90 * _root.main.fps)) {
auto_flag = true;
auto_reload = 0;
}
}
if (!(Key.isDown(_root.main.key_auto) && (auto_flag))) {
if (!Key.isDown(_root.main.key_target)) {
trigger_target = false;
} else {
auto = false;
if (!trigger_target) {
trigger_target = true;
targetting = true;
}
}
if (!auto) {
if (!targetting) {
if (!trigger_target) {
my_dx = _root.main.player.pos_x - _root.main.player.tmpx[trace_num - 2];
my_dy = _root.main.player.pos_y - _root.main.player.tmpy[trace_num - 2];
my_x = my_x + my_dx;
my_y = my_y + my_dy;
}
} else {
if (!nokey) {
my_dx = _root.main.target.dx;
my_dy = _root.main.target.dy;
my_x = _root.main.player.pos_x - my_dx;
my_y = _root.main.player.pos_y - my_dy;
}
targetting = false;
}
}
} else {
my_x = _root.main.boss_x;
my_y = _root.main.boss_y;
burst_shot = 20 * _root.main.fps;
auto = true;
auto_flag = false;
}
}
} else {
d = _root.main.dist2(_parent.player._x, _parent.player._y, _parent.field.point._x, _parent.field.point._y);
if (10 < d) {
_parent.field.point._alpha = 100;
} else {
_parent.field.point._alpha = Math.floor((d / 10) * 80) + 20;
}
_root.main.field.point._x = _root.main._xmouse;
_root.main.field.point._y = _root.main._ymouse;
_root.main.field.point_sp._x = _root.main.target.point_x;
_root.main.field.point_sp._y = _root.main.target.point_y;
if (!auto_flag) {
if (!auto) {
auto_reload++;
} else if (auto_reload < 60) {
auto_reload++;
}
if (auto_reload >= (90 * _root.main.fps)) {
auto_flag = true;
auto_reload = 0;
}
}
if (!(Key.isDown(4) || (Key.isDown(_root.main.key_auto)))) {
lock_trigger = false;
} else {
if (!lock_trigger) {
if ((!auto) && (auto_flag)) {
my_x = _root.main.boss_x;
my_y = _root.main.boss_y;
burst_shot = 20 * _root.main.fps;
auto = true;
auto_flag = false;
}
}
lock_trigger = true;
}
if (!Key.isDown(1)) {
mrad = _root.main.mrad;
if (1 < _root.main.kyori) {
trad = _root.main.pointrad;
}
auto = false;
}
if (!auto) {
my_x = _root.main.player.pos_x + (Math.cos(trad) * -250);
my_y = _root.main.player.pos_y + (Math.sin(trad) * -250);
}
}
_x = my_x;
_y = my_y;
count++;
if (0 >= _parent.player.shot_level) {
wid = 2;
} else {
wid = 10;
}
if (!blink) {
if (!(auto_flag || (((!_parent.mode_mouse_only) && (!_parent.mode_key)) && (_parent.player.shot_type == 0)))) {
colnum = 16745941 /* 0xFF85D5 */;
} else {
colnum = 46996;
}
blink = 1;
} else {
if (!(auto_flag || (((!_parent.mode_mouse_only) && (!_parent.mode_key)) && (_parent.player.shot_type == 0)))) {
colnum = 16711776 /* 0xFF0060 */;
} else {
colnum = 36984;
}
blink = 0;
}
len = 1000;
_root.main.line_layer.clear();
_root.main.line_layer.lineStyle(wid, colnum, 60);
_root.main.line_layer.moveTo(_root.main.player._x, _root.main.player._y);
if (!auto) {
_root.main.line_layer.lineTo(_parent.player._x + (Math.cos(_parent.player.rad) * len), _parent.player._y + (Math.sin(_parent.player.rad) * len));
} else {
_root.main.line_layer.lineTo(_root.main.target._x, _root.main.target._y);
}
}
}
Instance of Symbol 27 MovieClip [field] "fieldd" in Symbol 395 MovieClip Frame 6
onClipEvent (load) {
attachMovie("empty", "item", getNextHighestDepth());
}
Instance of Symbol 159 MovieClip "uni" in Symbol 395 MovieClip Frame 6
onClipEvent (load) {
function buregen() {
tmp = burerand[randcount] / 20;
if (randcount >= (burerand.length - 1)) {
randcount = 1;
} else {
randcount++;
}
return(tmp);
}
function position2(ID, Target) {
rot = Math.floor((Math.atan2(Target._x - ID._x, Target._y - ID._y) * 180) / Math.PI);
return(rot);
}
function sinwave(tt, t, s, p) {
tmp = (Math.sin(((2 * Math.PI) * t) / tt) * s) + p;
return(tmp);
}
function EnemyCreate_enemy1(iOrder) {
i = 0;
// unexpected jump
do {
i++;
if (i >= Enemy1_max) {
break;
}
} while (EnemyUse_enemy1[i] != 0);
if (i == Enemy1_max) {
return(false);
}
_root.main.field.attachMovie("enemy1_", "enemy1_" + i, _root.main.enemy1depth + i);
dice = Math.floor(Math.random() * 80);
dice2 = Math.floor(Math.random() * 4);
dice3 = Math.floor(Math.random() * 1);
bure = buregen();
if (dice2 != 0) {
if (dice2 != 1) {
if (dice2 != 2) {
_root.main.field["enemy1_" + i]._x = 0;
_root.main.field["enemy1_" + i]._y = dice * 6;
} else {
_root.main.field["enemy1_" + i]._x = dice * 8;
_root.main.field["enemy1_" + i]._y = 0;
}
} else {
_root.main.field["enemy1_" + i]._x = _root.main.scr_x;
_root.main.field["enemy1_" + i]._y = dice * 6;
}
} else {
_root.main.field["enemy1_" + i]._x = dice * 8;
_root.main.field["enemy1_" + i]._y = _root.main.scr_y;
}
irad = Math.atan2(_root.main.player._y - _root.main.field["enemy1_" + i]._y, _root.main.player._x - _root.main.field["enemy1_" + i]._x);
idx = Math.cos(irad + bure) * 1;
idy = Math.sin(irad + bure) * 1;
_root.main.field["enemy1_" + i].dx = idx;
_root.main.field["enemy1_" + i].dy = idy;
_root.main.field["enemy1_" + i].time = 0;
_root.main.field["enemy1_" + i].ID = i;
_root.main.field["enemy1_" + i].cutter_muteki = 0;
_root.main.field["enemy1_" + i].HP = Enemy1_MaxHP;
EnemyUse_enemy1[i] = 1;
}
function EnemyCheck() {
i = 0;
// unexpected jump
do {
i++;
if (i >= Enemy_max) {
break;
}
} while (EnemyUse[i] != 0);
if (i == Enemy_max) {
return(-1);
}
return(i);
}
function removeMyself(ID) {
fscommand ("ParaFlaTrace", "removeMyself()");
_root.main.field["enemy3_" + MyID].removeMovieClip();
}
function EnemyCreate_Raikou(iOrder) {
h = 0;
for ( ; h < 1 ; h++) {
i = 0;
// unexpected jump
do {
i++;
if (i >= Enemy1_max) {
break;
}
} while (EnemyUse_enemy1[i] != 0);
if (i == Enemy1_max) {
return(false);
}
_root.main.field.attachMovie("enemy1_", "enemy1_" + i, _root.main.enemy1depth + i);
dice = raikou_dice1[raikou_count];
if (raikou_count >= 9) {
raikou_count = 0;
} else {
raikou_count++;
}
if (dice2 >= 3) {
dice2 = 0;
} else {
dice2 = dice2 + 1;
}
dice3 = Math.floor(Math.random() * 1);
bure = buregen();
if (dice2 != 0) {
if (dice2 != 1) {
if (dice2 != 2) {
_root.main.field["enemy1_" + i]._x = 0;
_root.main.field["enemy1_" + i]._y = dice * 60;
} else {
_root.main.field["enemy1_" + i]._x = dice * 60;
_root.main.field["enemy1_" + i]._y = 0;
}
} else {
_root.main.field["enemy1_" + i]._x = _root.main.scr_x;
_root.main.field["enemy1_" + i]._y = dice * 60;
}
} else {
_root.main.field["enemy1_" + i]._x = dice * 60;
_root.main.field["enemy1_" + i]._y = _root.main.scr_y;
}
irad = Math.atan2(_root.main.player._y - _root.main.field["enemy1_" + i]._y, _root.main.player._x - _root.main.field["enemy1_" + i]._x);
idx = Math.cos(irad + bure) * 1.5;
idy = Math.sin(irad + bure) * 1.5;
_root.main.field["enemy1_" + i].dx = idx;
_root.main.field["enemy1_" + i].dy = idy;
_root.main.field["enemy1_" + i].time = 0;
_root.main.field["enemy1_" + i].ID = i;
_root.main.field["enemy1_" + i].cutter_muteki = 0;
_root.main.field["enemy1_" + i].HP = Enemy1_MaxHP;
EnemyUse_enemy1[i] = 1;
}
}
function EnemyExecute_enemy1() {
i = 0;
for ( ; i < Enemy1_max ; i++) {
if (EnemyUse_enemy1[i] == 1) {
_root.main.field["enemy1_" + i].time++;
if (60 < _root.main.field["enemy1_" + i].time) {
if (0 < _root.main.field["enemy1_" + i].cutter_muteki) {
_root.main.field["enemy1_" + i].cutter_muteki--;
}
_root.main.field["enemy1_" + i].time = _root.main.field["enemy1_" + i].time + 1;
_root.main.field["enemy1_" + i]._x = _root.main.field["enemy1_" + i]._x + _root.main.field["enemy1_" + i].dx;
_root.main.field["enemy1_" + i]._y = _root.main.field["enemy1_" + i]._y + _root.main.field["enemy1_" + i].dy;
j = 0;
for ( ; j < _root.main.GunMax ; j++) {
if (_root.main.GunUse[j] == 1) {
if ((_root.main.field["gun" + j].type >= 1) && (_root.main.field["enemy1_" + i].cutter_muteki < 1)) {
if (_root.main.field["enemy1_" + i].hitTest(_root.main.field["gun" + j])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_root.main.field["enemy1_" + i].hitTest(_root.main.field["gun" + j]["cutter_test" + cut])) {
_root.main.CutterEffect(j, cut);
_root.main.m_se10.start();
_root.main.score = _root.main.score + 300;
_root.main.field["enemy1_" + i].HP = 0;
_root.main.field["enemy1_" + i].cutter_muteki = 30;
break;
}
}
if (0 >= _root.main.field["enemy1_" + i].HP) {
_root.main.score = _root.main.score + 80;
EnemyBang1(i);
}
}
}
if ((_root.main.field["gun" + j].type == 0) && (_root.main.field["enemy1_" + i].hitTest(_root.main.field["gun" + j]._x + main_x, _root.main.field["gun" + j]._y + main_y, true))) {
_root.main.HitEffect(j);
_root.main.GunDelete(j);
_root.main.m_se02.start();
_root.main.field["enemy1_" + i].HP = _root.main.field["enemy1_" + i].HP - 1;
if (0 >= _root.main.field["enemy1_" + i].HP) {
EnemyBang1(i);
_root.main.score = _root.main.score + 300;
}
}
}
}
if (_root.main.field["enemy1_" + i].hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
_root.main.m_se03.start();
EnemyBang1(i);
_root.main.Damage(i);
if (10 >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - 10;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 30;
}
if (360 < _root.main.field["enemy1_" + i].time) {
if (_root.main.field["enemy1_" + i]._x < 0) {
EnemyDelete_enemy1(i);
}
if (_root.main.scr_x < _root.main.field["enemy1_" + i]._x) {
EnemyDelete_enemy1(i);
}
if (_root.main.scr_y < _root.main.field["enemy1_" + i]._y) {
EnemyDelete_enemy1(i);
}
if (_root.main.field["enemy1_" + i]._y < 0) {
EnemyDelete_enemy1(i);
}
}
}
}
}
}
function EnemyExecute_Raikou() {
i = 0;
for ( ; i < Enemy1_max ; i++) {
if (EnemyUse_enemy1[i] == 1) {
_root.main.field["enemy1_" + i].time++;
if (_root.main.field["enemy1_" + i].time >= 30) {
if (0 < _root.main.field["enemy1_" + i].cutter_muteki) {
_root.main.field["enemy1_" + i].cutter_muteki--;
}
rad = Math.atan2(_root.main.player._y - _root.main.field["enemy1_" + i]._y, _root.main.player._x - _root.main.field["enemy1_" + i]._x);
sqr = (_root.main.field["enemy1_" + i].dx ^ 2) + (_root.main.field["enemy1_" + i].dy ^ 2);
if (!((_root.main.field["enemy1_" + i].time >= 300) && ((_root.main.field["enemy1_" + i].dx ^ 2) >= 6))) {
if (7 < sqr) {
_root.main.field["enemy1_" + i].dx = (_root.main.field["enemy1_" + i].dx + (Math.cos(rad) * 0.08)) * 0.8;
_root.main.field["enemy1_" + i].dy = (_root.main.field["enemy1_" + i].dy + (Math.sin(rad) * 0.08)) * 0.8;
} else {
_root.main.field["enemy1_" + i].dx = _root.main.field["enemy1_" + i].dx + (Math.cos(rad) * 0.08);
_root.main.field["enemy1_" + i].dy = _root.main.field["enemy1_" + i].dy + (Math.sin(rad) * 0.08);
}
}
_root.main.field["enemy1_" + i].time = _root.main.field["enemy1_" + i].time + 1;
_root.main.field["enemy1_" + i]._x = _root.main.field["enemy1_" + i]._x + _root.main.field["enemy1_" + i].dx;
_root.main.field["enemy1_" + i]._y = _root.main.field["enemy1_" + i]._y + _root.main.field["enemy1_" + i].dy;
j = 0;
for ( ; j < _root.main.GunMax ; j++) {
if (_root.main.GunUse[j] == 1) {
if ((_root.main.field["gun" + j].type >= 1) && (_root.main.field["enemy1_" + i].cutter_muteki < 1)) {
if (_root.main.field["enemy1_" + i].hitTest(_root.main.field["gun" + j])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_root.main.field["enemy1_" + i].hitTest(_root.main.field["gun" + j]["cutter_test" + cut])) {
_root.main.CutterEffect(j, cut);
_root.main.m_se02.start();
_root.main.field["enemy1_" + i].HP = 0;
_root.main.field["enemy1_" + i].cutter_muteki = 30;
break;
}
}
if (0 >= _root.main.field["enemy1_" + i].HP) {
_root.main.score = _root.main.score + _root.main.score_calc(300);
EnemyBang1(i);
}
}
}
if ((_root.main.field["gun" + j].type == 0) && (_root.main.field["enemy1_" + i].hitTest(_root.main.field["gun" + j]._x + main_x, _root.main.field["gun" + j]._y + main_y, true))) {
_root.main.HitEffect(j);
_root.main.GunDelete(j);
_root.main.m_se02.start();
_root.main.field["enemy1_" + i].HP = _root.main.field["enemy1_" + i].HP - 1;
if (0 >= _root.main.field["enemy1_" + i].HP) {
EnemyBang1(i);
}
}
}
}
if (_root.main.field["enemy1_" + i].atari.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
_root.main.m_se03.start();
EnemyBang1(i);
_root.main.Damage(i);
if (10 >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - 10;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 30;
}
if (360 < _root.main.field["enemy1_" + i].time) {
if (_root.main.field["enemy1_" + i]._x < 0) {
EnemyDelete_enemy1(i);
}
if (_root.main.scr_x < _root.main.field["enemy1_" + i]._x) {
EnemyDelete_enemy1(i);
}
if (_root.main.scr_y < _root.main.field["enemy1_" + i]._y) {
EnemyDelete_enemy1(i);
}
if (_root.main.field["enemy1_" + i]._y < 0) {
EnemyDelete_enemy1(i);
}
}
}
}
}
}
function EnemyBang1(ID) {
_root.main.field.attachMovie("bang1", "bang1_" + ID, _root.main.bangdepth + ID);
_root.main.field["bang1_" + ID]._x = _root.main.field["enemy1_" + ID]._x;
_root.main.field["bang1_" + ID]._y = _root.main.field["enemy1_" + ID]._y;
_root.main.field["enemy1_" + ID].removeMovieClip();
EnemyUse_enemy1[ID] = 0;
}
function EnemyDelete_enemy1(ID) {
_root.main.field["enemy1_" + ID].removeMovieClip();
EnemyUse_enemy1[ID] = 0;
}
function GunCreate_uni1(iOrder) {
if (iOrder.type != 0) {
if (iOrder.type != 1) {
unigun_count++;
if (50000 < unigun_count) {
unigun_count = 1;
}
_root.main.field.unigun.attachMovie("uni_gun", "uni_gun" + unigun_count, unigun_count);
} else {
unigun_count++;
if (50000 < unigun_count) {
unigun_count = 1;
}
_root.main.field.unigun.attachMovie("uni_gun", "uni_gun" + unigun_count, unigun_count);
}
} else {
unigun_count++;
if (50000 < unigun_count) {
unigun_count = 1;
}
_root.main.field.unigun.attachMovie("uni_gun", "uni_gun" + unigun_count, unigun_count);
}
_root.main.field.unigun["uni_gun" + unigun_count]._x = iOrder.x;
_root.main.field.unigun["uni_gun" + unigun_count]._y = iOrder.y;
_root.main.field.unigun["uni_gun" + unigun_count].dx = iOrder.dx;
_root.main.field.unigun["uni_gun" + unigun_count].dy = iOrder.dy;
_root.main.field.unigun["uni_gun" + unigun_count].power = iOrder.power;
_root.main.field.unigun["uni_gun" + unigun_count].time = 0;
_root.main.field.unigun["uni_gun" + unigun_count].addSPD = iOrder.addSPD;
_root.main.field.unigun["uni_gun" + unigun_count].spd = iOrder.spd;
if (!iOrder.col.isNaN) {
_root.main.field.unigun["uni_gun" + unigun_count].col = iOrder.col;
} else {
_root.main.field.unigun["uni_gun" + unigun_count].col = 0;
}
_root.main.field.unigun["uni_gun" + unigun_count].ID = unigun_count;
}
function spear(num) {
unigun_count++;
if (50000 < unigun_count) {
unigun_count = 1;
}
_root.main.field.unigun.attachMovie("spear", "uni_gun" + unigun_count, unigun_count);
i = unigun_count;
if (num != 1) {
if (num != 2) {
if (num != 3) {
if (num != 4) {
if (num != 5) {
if (num != 6) {
if (num != 7) {
if (num != 8) {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.player._x;
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.uni._x + 128;
}
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.player._x - 128;
}
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.player._x + 128;
}
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.uni._x - 128;
}
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.player._x;
}
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.player._x + 32;
}
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.uni._x;
}
} else {
_root.main.field.unigun["uni_gun" + i]._x = _root.main.player._x - 32;
}
_root.main.field.unigun["uni_gun" + i]._y = (-128 + Math.floor(Math.random() * 128)) - 64;
_root.main.field.unigun["uni_gun" + i].dx = iOrder.dx;
_root.main.field.unigun["uni_gun" + i].dy = iOrder.dy;
_root.main.field.unigun["uni_gun" + i].power = iOrder.power;
_root.main.field.unigun["uni_gun" + i].time = 0;
_root.main.field.unigun["uni_gun" + i].addSPD = iOrder.addSPD;
_root.main.field.unigun["uni_gun" + i].ID = i;
}
function throw_longui() {
unigun_count++;
if (50000 < unigun_count) {
unigun_count = 1;
}
_root.main.field.unigun.attachMovie("longuinus", "longuinus" + unigun_count, unigun_count);
i = unigun_count;
_root.main.field.unigun["longuinus" + i]._x = _root.main.uni._x;
_root.main.field.unigun["longuinus" + i]._y = _root.main.uni._y;
_root.main.field.unigun["longuinus" + i].time = 0;
_root.main.field.unigun["longuinus" + i].ID = i;
}
function unigun1() {
order.type = 0;
order.x = this._x + 20;
order.y = this._y - 30;
bure = buregen();
rad = Math.atan2(_root.main.player._y - order.y, _root.main.player._x - order.x);
order.dx = Math.cos(rad) * (unigun1_speed + (4 / _root.main.fps));
order.dy = Math.sin(rad) * (unigun1_speed + (4 / _root.main.fps));
order.power = 20;
order.col = 0;
order.addSPD = 1;
GunCreate_uni1(order);
time_uni1 = 0;
}
function unigun1b() {
order.type = 0;
order.x = this._x + 20;
order.y = this._y - 30;
bure = buregen();
rad = Math.atan2(_root.main.player._y - order.y, _root.main.player._x - order.x);
order.dx = Math.cos(rad + bure) * unigun1_speed;
order.dy = Math.sin(rad + bure) * unigun1_speed;
order.power = 20;
order.col = 0;
order.addSPD = 1;
GunCreate_uni1(order);
time_uni1 = 0;
}
function unigun1v(x, y, spd) {
order.type = 0;
order.x = x + 20;
order.y = y - 30;
bure = buregen();
rad = Math.atan2(_root.main.player._y - order.y, _root.main.player._x - order.x);
order.dx = Math.cos(rad + bure) * spd;
order.dy = Math.sin(rad + bure) * spd;
order.power = 20;
order.col = 0;
order.addSPD = 1;
GunCreate_uni1(order);
time_uni1 = 0;
}
function unigun1z(spd, b, addSPD, col) {
order.type = 0;
order.addSPD = addSPD;
order.col = col;
order.x = this._x + 20;
order.y = this._y - 30;
bure = buregen();
if (!b) {
bure = 0;
}
rad = Math.atan2(_root.main.player._y - order.y, _root.main.player._x - order.x);
order.dx = Math.cos(rad + bure) * spd;
order.dy = Math.sin(rad + bure) * spd;
order.power = 20;
GunCreate_uni1(order);
time_uni1 = 0;
}
function kusyagun1(spd, b, addSPD, col) {
order.type = 0;
order.addSPD = addSPD;
order.col = col;
order.x = this._x;
order.y = this._y - 100;
bure = buregen();
if (!b) {
bure = 0;
}
rad = Math.atan2(_root.main.player._y - order.y, _root.main.player._x - order.x);
order.dx = Math.cos(rad + (bure * 3)) * spd;
order.dy = Math.sin(rad + (bure * 3)) * spd;
order.spd = spd;
order.power = 20;
GunCreate_uni1(order);
time_uni1 = 0;
}
function unigun2(way, wid, spd, aim, dir) {
if (way < 2) {
return;
}
order.x = this._x + 20;
order.y = this._y - 30;
if (aim != 1) {
rad = dir * Math.PI;
order.type = 0;
} else {
rad = Math.atan2(_root.main.player._y - order.y, _root.main.player._x - order.x);
order.type = 1;
}
i2 = 0;
for ( ; i2 < way ; i2++) {
rot = (rad * 180) / Math.PI;
rot = rot + (((((way - 1) - i2) / (way - 1)) - 0.5) * wid);
rad2 = (rot * Math.PI) / 180;
order.dx = Math.cos(rad2) * spd;
order.dy = Math.sin(rad2) * spd;
order.power = 20;
order.col = 7;
order.addSPD = 1;
GunCreate_uni1(order);
}
}
function anygun1(my_x, my_y, my_spd) {
order.type = 0;
order.x = my_x;
order.y = my_y;
bure = buregen();
rad = Math.atan2(_root.main.player._y - my_y, _root.main.player._x - my_x);
order.dx = Math.cos(rad) * my_spd;
order.dy = Math.sin(rad) * my_spd;
order.power = 20;
order.col = 0;
order.addSPD = 1;
GunCreate_uni1(order);
time_uni1 = 0;
}
function anygun2(my_x, my_y, my_spd) {
order.type = 0;
order.x = my_x;
order.y = my_y;
bure = buregen();
rad = Math.atan2(_root.main.player._y - _root.main.uni._y, _root.main.player._x - _root.main.uni._x);
order.dx = Math.cos(rad) * my_spd;
order.dy = Math.sin(rad) * my_spd;
order.power = 20;
order.col = 0;
order.addSPD = 1;
GunCreate_uni1(order);
time_uni1 = 0;
}
function GunExecute_uni1() {
i = 0;
for ( ; i < GunMax_uni1 ; i++) {
if (GunUse_uni1[i] == 1) {
_root.main.field["uni_gun" + i].time = _root.main.field["uni_gun" + i].time + 1;
_root.main.field["uni_gun" + i]._x = _root.main.field["uni_gun" + i]._x + _root.main.field["uni_gun" + i].dx;
_root.main.field["uni_gun" + i]._y = _root.main.field["uni_gun" + i]._y + _root.main.field["uni_gun" + i].dy;
if (_root.main.supercutter) {
j = 0;
for ( ; j < _root.main.GunMax ; j++) {
if (_root.main.GunUse[j] == 1) {
if (_root.main.field["gun" + j].type == 1) {
if (_root.main.field["uni_gun" + i].hitTest(_root.main.field["gun" + j])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_root.main.field["uni_gun" + i].hitTest(_root.main.field["gun" + j]["cutter_test" + cut])) {
_root.main.m_se12.start();
_root.main.CutterEffect(j, cut);
_root.main.score = _root.main.score + 10;
GunDelete_uni1(i);
break;
}
}
}
}
}
}
}
if (0 >= _root.main.muteki) {
if (_root.main.player.player_test.hitTest(_root.main.field["uni_gun" + i]._x + main_x, _root.main.field["uni_gun" + i]._y + main_y, true)) {
_root.main.m_se03.start();
_root.main.Damage(i);
if (_root.main.field["uni_gun" + i].power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - _root.main.field["uni_gun" + i].power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
GunDelete_uni1(i);
_root.main.muteki = 30;
}
}
if (60 < _root.main.field["uni_gun" + i].time) {
if (_root.main.field["uni_gun" + i]._x >= 0) {
if (_root.main.scr_x >= _root.main.field["uni_gun" + i]._x) {
if (_root.main.scr_y >= _root.main.field["uni_gun" + i]._y) {
if (_root.main.field["uni_gun" + i]._y >= 0) {
if (30000 < _root.main.field["uni_gun" + i].time) {
GunDelete_uni1(i);
}
} else {
GunDelete_uni1(i);
}
} else {
GunDelete_uni1(i);
}
} else {
GunDelete_uni1(i);
}
} else {
GunDelete_uni1(i);
}
}
}
}
}
function GunDelete_uni1(ID) {
_root.main.field["uni_gun" + ID].removeMovieClip();
_root.main.uni.GunUse_uni1[ID] = 0;
}
function unimove() {
dice = hath_array[next_hath];
_root.main.uni.my_hath = hath_array[next_hath];
dx = (_root.main.uni[("hath" + dice) + "x"] - this._x) / 30;
dy = (_root.main.uni[("hath" + dice) + "y"] - this._y) / 30;
next_hath = next_hath + 1;
if (next_hath == hath_array.length) {
next_hath = 0;
}
}
function unimove2() {
dice = 5;
_root.main.uni.my_hath = 5;
dx = (_root.main.uni[("hath" + dice) + "x"] - this._x) / 30;
dy = (_root.main.uni[("hath" + dice) + "y"] - this._y) / 30;
next_hath = 13;
}
function HitEffect_e(ID) {
_root.main.field.attachMovie("damage", "damage_e" + ID, (_root.main.damagedepth + ID) + 1000);
_root.main.field["damage_e" + ID]._x = _root.main.field["uni_gun" + ID]._x;
_root.main.field["damage_e" + ID]._y = _root.main.field["uni_gun" + ID]._y;
}
var bgm_ex02 = new Sound(_root.bgmf);
bgm_ex02.onLoad = function (succ) {
if (!succ) {
bgm_ex02load = false;
} else {
bgm_ex02.setVolume(90 * _root.main.vol_master);
bgm_ex02load = true;
}
};
bgm_ex02.loadSound("bgm02.mp3", false);
col_target = _root.main.haikei.grp;
col_target.mycol = new Array();
col_target.mycol = _root.clone_array(_root.main.color_normal);
_root.start_coltf(col_target.mycol, _root.main.color_red, 50, col_target);
red = 100;
gre = 0;
blu = 0;
colc = 2;
jump_hight = 0;
super_raikou = false;
raikou_count = 0;
raikou_dice1 = [9, 4, 3, 7, 6, 1, 8, 5, 2, 0];
dice2 = 0;
gflogtrg = false;
gflog_awake = false;
floghpper = 0;
_root.main.field.attachMovie("paper", "unigun", _root.main.unigundepth + 1);
unigun_count = 0;
_root.main.fieldd.attachMovie("empty", "enemy", -600);
_root.main.fieldd.attachMovie("enemy3_gen", "e3gen" + 1, -500);
_root.main.fieldd.attachMovie("enemy3_gen", "e3gen" + 2, -501);
_root.main.fieldd.attachMovie("enemy3_gen", "e3gen" + 3, -502);
side = 50;
num_gen = 3;
i = 1;
for ( ; i < (num_gen + 1) ; i++) {
_root.main.fieldd["e3gen" + i]._x = (((600 - (side * 2)) / (num_gen - 1)) * (i - 1)) + side;
_root.main.fieldd["e3gen" + i]._y = -20;
_root.main.fieldd["e3gen" + i].ID = i;
}
_root.main.field.attachMovie("uniopt_l", "opt_l", _root.main.unioptdepth);
_root.main.field.attachMovie("uniopt_r", "opt_r", _root.main.unioptdepth + 1);
_root.main.field.opt_l._x = _x + 80;
_root.main.field.opt_l._y = _y - 30;
_root.main.field.opt_r._x = _x - 80;
_root.main.field.opt_r._y = _y - 30;
muteki_cutter = 0;
uni_speed = 1;
unigun2_speed = 14 / _root.main.fps;
unigun2_num = 6;
unigun2_w = 80;
col = 0;
longuinus_hp_max = 400;
longuinus_hp = longuinus_hp_max;
maxhp = 400 * 3;
_root.main.boss_maxhp = maxhp;
hp = maxhp;
hpper = (hp / maxhp) * 100;
count = 0;
count2 = 0;
call_bugs = false;
unigun1_speed = 6 / _root.main.fps;
powerup = 0;
powerup_max = 200;
time = 0;
time_uni1 = 0;
time_uni1_max = 30;
uni_attackspan = 120;
uni_spancount = 0;
uni_hakkyo = 20;
uni_x = _x;
uni_y = _y;
uni_state = 1;
uni_state_flag = 0;
rash_count = 0;
rash_span = 18;
hath1x = 199;
hath1y = 71;
hath2x = 427;
hath2y = 61;
hath3x = 90;
hath3y = 215;
hath4x = 525;
hath4y = 217;
hath5x = 314;
hath5y = 279;
hath6x = 105;
hath6y = 496;
hath7x = 496;
hath7y = 514;
next_hath = 0;
hath_array = [1, 2, 3, 4, 5, 6, 7, 1, 6, 2, 7, 5, 4, 2, 1, 3, 6, 5, 7, 5, 4, 5, 2, 5, 1, 5, 3, 5];
warp = 0;
warp_time = 0;
if (!_root.main.mode_key) {
wince_damage = 0.35;
} else {
wince_damage = 0.35;
}
wince_damage_c = 25;
wince = 0;
wince_max = 150;
wince_niea = wince_max - wince_damage_c;
wince_time = 0;
wince_time_max = 90;
wince_flag = 0;
def_n = 1;
def_h = 0.5;
defence = def_n;
order = new Object();
aimx = _root.main.target._x;
aimy = _root.main.target._y;
rad = Math.atan2(aimy - this._y, _root.main.aimx - this._x);
dx = Math.cos(rad) * uni_speed;
dy = Math.sin(rad) * uni_speed;
GunMax_uni1 = 3 + unigun2_num;
GunUse_uni1 = new Array();
i = 0;
for ( ; i < GunMax_uni1 ; i++) {
GunUse_uni1[i] = 0;
}
Enemy1_timer = 0;
Enemy1_timerMax = 400;
Enemy1_max = 6;
Enemy1_once = 2;
Enemy1_create_count = 0;
Enemy1_MaxHP = 8;
EnemyUse_enemy1 = new Array();
i = 0;
for ( ; i < Enemy1_max ; i++) {
EnemyUse_enemy1[i] = 0;
}
Enemy_max = 100;
EnemyUse = new Array();
i = 0;
for ( ; i < Enemy_max ; i++) {
EnemyUse[i] = 0;
}
var gunrand = new Array();
gunrand = [2, 1, 0, 0, 1, 0, 2, 1, 2, 0, 1, 0, 1, 2, 0, 0, 1, 0, 0, 1, 1, 2, 0, 1, 2, 2, 0, 0, 0, 2, 0, 2, 2, 1, 1, 0, 0, 0, 0, 0, 2, 2, 0, 0, 1, 2, 2, 1, 1, 1, 0, 0, 2, 1, 2, 1, 0, 0, 0, 2, 2, 1, 0, 2, 1, 0, 2, 1, 2, 2, 2, 2, 0, 0, 1, 1, 0, 2, 0, 1, 1, 0, 1, 2, 2, 1, 2, 0, 1, 2, 1, 1, 1, 1, 1];
randcount = 0;
var burerand = new Array();
burerand = [2.4, 2.4, -1.3, -0.7, 2.2, -1.6, 1.4, -0.4, 2.5, 2, -1.3, -2, 2.7, -1.9, 0.3, -0.1, -2.2, 0, -2.4, 2.4, -2.7, -1.7, 1.7, 2.2, 1.9, -3, 2.3, 2.8, 1.1, 1.3, -0.2, 1.3, 0.6, -0.7, 0.4, -0.4, 2.4, 0.5, 2.3, 1.5, 2.2, 0.6, 2.2, -2.2, -1.7, -0.2, -0.3, -1.6, -1.8, -1.7, -0.3, -1.4, 0.5, 1.8, -2.8, -1, 2.5, 0.6, -2.3, 1.3, 0.4, -1.3, -2.1, -1.4, 2, 1.9, -2, 2.5, 0.6, -1.8, -0.3, -2.6, -2.8, -2.1, 2.5, -0.2, -0.5, -2.7, -1.4, 2.1, 2.5, -1.6, -1.3, -1.8, -0.2, -1.9, -1.5, 2.1, -1.9, 1.5, 0.5, -2.6, 1.4, 1.3, -1.8, 2.7, -2.2, 2.4, -1.3, -0.3, -1.2, -1.1, -3, 2.9, 2.3, -1, -2.4, -1.5, -0.4, -0.2, 1, 0.3, 2.6, 1.7, -2.6, 0.2, -0.3, -0.3, -0.2, -0.3, 1.4, -0.7, 1.5, 2.1, 2.8, 2.1, -1.2, 2.2, -1.2, -0.1, 0.9, -2.5, -2.2, 2, -2.4, 2.9, -2.1, -2.2, 1.1, -2.9, 2.9, 2.3, -0.9, -0.6, -1.7, -1.1, 1.7, 0.1, -2.8, -1.3, 1.8, -2.2, 2.6, 0.5, 0.8, -1.3, 2.2, -1.9, -1.7, -2.4, -0.5, 0.2];
burecount = 0;
}
onClipEvent (enterFrame) {
if (_root.main.pause == 0) {
_root.main.boss_x = _x;
_root.main.boss_y = _y;
hpper = (hp / maxhp) * 100;
_root.main.boss_hp = hp;
if (uni_state_flag != 1) {
defence = def_n;
} else {
defence = def_h;
}
if (gflogtrg) {
_root.ctf(col_target);
}
if (!gflogtrg) {
if (((floghpper >= hpper) && (uni_state != 2)) && (uni_state != 4)) {
uni_state = 9;
if (!gflogtrg) {
gflogtrg = true;
}
}
if ((30 >= hpper) && (!super_raikou)) {
_root.main.field.attachMovie("enemy2", "enemy2", _root.main.enemy2depth);
super_raikou = true;
}
if (15 >= hpper) {
Enemy1_timerMax = 350;
}
if ((hpper < 100) && (Enemy1_timer >= Enemy1_timerMax)) {
i = 0;
for ( ; i < Enemy1_once ; i++) {
EnemyCreate_Raikou(Order);
}
Enemy1_create_count++;
if (Enemy1_once < 4) {
if (Enemy1_create_count >= 6) {
Enemy1_once = Enemy1_once + 1;
Enemy1_create_count = 0;
}
}
Enemy1_timer = 0;
}
Enemy1_timer++;
}
if (0 >= muteki_cutter) {
muteki_cutter = 0;
} else {
muteki_cutter--;
}
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if ((_root.main.field["gun" + i].type == 1) && (_root.main.uni.muteki_cutter < 1)) {
if (_root.main.uni.uni_hittest.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_root.main.uni.uni_hittest.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
_root.main.m_se10.start();
_root.main.CutterEffect(i, cut);
_root.main.uni.hp = _root.main.uni.hp - _root.main.field["gun" + i].power;
_root.main.score = _root.main.score + _root.main.score_calc(20);
_root.main.uni.wince = _root.main.uni.wince + wince_damage_c;
_root.main.uni.powerup = _root.main.uni.powerup + 2;
_root.main.uni.muteki_cutter = 30;
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (_root.main.uni.uni_hittest.hitTest(_root.main.field["gun" + i].test))) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
if (uni_state_flag != 1) {
_root.main.uni.hp = _root.main.uni.hp - _root.main.field["gun" + i].power;
} else {
_root.main.uni.hp = _root.main.uni.hp - (_root.main.field["gun" + i].power * defence);
}
_root.main.score = _root.main.score + _root.main.score_calc(10);
if (!(((uni_state == 8) || (uni_state_flag == 1)) && (wince < wince_niea))) {
_root.main.uni.wince = _root.main.uni.wince + (1 * wince_damage);
} else {
_root.main.uni.wince = _root.main.uni.wince + ((1 * wince_damage) / 3);
}
_root.main.uni.powerup++;
_root.main.HitEffect(i, 1);
_root.main.GunDelete(i);
}
}
}
if (((uni_state == 1) && (wince >= wince_max)) && (30 >= time)) {
uni_state = 2;
time = 0;
}
if (uni_state != 1) {
if (uni_state == 5) {
uni_state = 4;
unimove();
time = 0;
if (count >= 8) {
count = 0;
if (count2 >= 16) {
count2 = 0;
}
}
}
} else if (!((hpper < 60) && (uni_state_flag == 0))) {
if (uni_state_flag != 1) {
if (!((2 >= count) && (30 < time))) {
if (!((count == 3) && (45 < time))) {
if ((3 < count) && (0 < time)) {
uni_state = 4;
unimove();
time = 0;
if (count >= 8) {
count = 0;
if (count2 >= 16) {
count2 = 0;
}
}
}
} else {
uni_state = 4;
unimove();
time = 0;
}
} else {
uni_state = 4;
unimove();
time = 0;
}
} else if (!((rash_count < 12) && (35 < hpper))) {
uni_state_flag = 2;
rash_count = 0;
} else {
if (time == Math.floor(rash_span)) {
unigun2(10, 360 - 36, 8 / _root.main.fps, 0, rash_count / 10);
_root.main.m_se01.start();
}
if (time >= (rash_span * 2)) {
h = 0;
for ( ; h < 5 ; h++) {
unigun1z(15 - h, true, 1.05, 0);
}
_root.main.m_se04.start();
EnemyCreate_Raikou(Order);
time = 0;
rash_count++;
rash_span = rash_span - 0.2;
}
}
} else {
count = 5;
count2 = 5;
uni_state_flag = 1;
time = -10;
if (my_hath != 5) {
uni_state = 4;
unimove2();
}
}
if ((uni_state == 4) && (time >= 8)) {
uni_x = uni_x + dx;
uni_y = uni_y + dy;
_x = Math.floor(uni_x);
_y = Math.floor(uni_y);
_root.main.boss_y = _y + jump_hight;
}
if ((uni_state == 4) && (time == 38)) {
uni_x = _x;
uni_y = _y;
dx = 0;
dy = 0;
_root.main.back_obj["hath_object" + my_hath].gotoAndPlay("splash");
if ((wince < wince_max) && (floghpper < hpper)) {
_root.main.m_se01.start();
unigun1();
if (!((2 >= my_hath) || (my_hath >= 6))) {
unigun2(4, 360 - 90, 16 / _root.main.fps, 0, 0.25);
unigun2(4, 360 - 90, 15 / _root.main.fps, 0, 0.25);
} else {
unigun2(4, 360 - 90, 16 / _root.main.fps, 0, 0.5);
unigun2(4, 360 - 90, 15 / _root.main.fps, 0, 0.5);
}
}
}
if ((uni_state == 4) && (43 < time)) {
if (count == 4) {
call_bugs = true;
}
if (wince < wince_max) {
if (hpper >= floghpper) {
if (uni_state_flag != 1) {
if (count != 7) {
uni_state = 5;
if (count < 3) {
uni_state = 1;
}
} else {
uni_state = 8;
}
} else {
uni_state = 1;
}
} else {
uni_state = 9;
}
} else {
uni_state = 2;
}
time = 0;
count++;
count2++;
}
if ((_root.main.scr_x - 10) >= _x) {
if (_x < 10) {
dx = dx * -1;
_x = 10;
}
} else {
dx = dx * -1;
_x = _root.main.scr_x - 10;
}
if ((_root.main.scr_y - 10) >= _y) {
if (_y < 10) {
dy = dy * -1;
_y = 10;
}
} else {
dy = dy * -1;
_y = _root.main.scr_y - 10;
}
if (uni_state == 2) {
if (wince_flag != 0) {
wince_time--;
if (wince_time == 5) {
way2 = 0;
if (gunrand[randcount] == 2) {
way2 = 1;
}
randcount++;
if (gunrand.length < randcount) {
randcount = 0;
}
unigun2(unigun2_num - way2, unigun2_w, unigun2_speed, 1);
_root.main.m_se04.start();
}
} else {
wince_time = wince_time_max;
wince_flag = 1;
}
if (0 >= wince_time) {
wince = 0;
wince_flag = 0;
uni_state = 1;
}
}
time++;
time_uni1++;
uni_spancount++;
if (uni_spancount >= (uni_attackspan + 60)) {
uni_spancount = 0;
}
EnemyExecute_Raikou();
if (hp < 0) {
hp = 0;
}
if ((((0 >= hp) && (gflog_awake)) || (0 >= _root.main.player_hp)) || (_root.main.yukarin == 1)) {
i = 0;
for ( ; i < GunMax_uni1 ; i++) {
GunDelete_uni1(i);
}
i = 0;
for ( ; i < Enemy1_MAX ; i++) {
EnemyDelete_enemy1(i);
}
if ((0 >= hp) && (gflog_awake)) {
_root.main.boss_bang = 1;
_root.main.obj.st1 = true;
}
}
}
}
Instance of Symbol 195 MovieClip "player" in Symbol 395 MovieClip Frame 6
onClipEvent (load) {
revive = 0;
_root.main.fieldd.attachMovie("empty", "item", -601);
rot = -90;
_root.main.target.dy = 132;
if (_root.main.mode_mouse_only) {
_x = _root.main._xmouse;
_y = _root.main._ymouse + 10;
fx = _x;
fy = _y;
}
rear = true;
front = false;
rf_flag = true;
_root.main.field.attachMovie("p_opt_l", "p_opt_l", _root.main.playeroptdepth);
_root.main.field.attachMovie("p_opt_r", "p_opt_r", _root.main.playeroptdepth + 1);
if (!_root.main.mode_mouse_only) {
if (!_root.main.mode_key) {
pow1 = 1;
} else {
pow1 = 1.1;
}
} else {
pow1 = 1.1;
}
pow2 = 8;
pow3 = 50000;
time_max = 200;
time_limit = time_max;
time_limit_count = 0;
speed = 40 / _root.main.fps;
time = 0;
time_last_shot = 0;
shot_power = 0;
shot_level = 0;
shot_span = 1;
damageflag = 0;
damageflag_count = 0;
shot_delay = 0;
shot_type = 0;
shot_angle = 0.1;
shot_se = false;
hit_se = false;
i = 0;
for ( ; i < 30 ; i++) {
tmpx[i] = 0;
tmpy[i] = 0;
}
tmpx[0] = _x;
tmpy[1] = _y;
}
onClipEvent (enterFrame) {
if (_root.main.pause == 0) {
shot_se = false;
hit_se = false;
if ((_root.main.player_hp == 1) && (0 < _root.main.equip1)) {
_root.main.player_hp = _root.main.player_maxhp / 5;
_root.main.equip1--;
_root.main.obj.equip1 = _root.main.equip1;
_root.main.m_se18.start();
revive++;
}
if (!_root.main.player.eat_player) {
rad = Math.atan2(_root.main.target._y - this._y, _root.main.target._x - this._x);
rot = Math.floor((rad * 180) / 3.14);
if (rot < 0) {
rot = 360 + rot;
}
if (damageflag_count >= 15) {
damageflag_count = 0;
damageflag = false;
}
if (damageflag) {
damageflag_count++;
}
if (shot_power < 150) {
if (shot_power < 20) {
shot_level = 0;
} else {
if (shot_level == 0) {
_root.main.m_se08.start(0.05, 1);
}
shot_level = 1;
}
} else {
shot_level = 2;
}
if ((15 / _root.main.fps) < time) {
_root.main.mouse_trigger = 0;
}
if (!(((0 < shot_delay) || (Key.isDown(1))) || (Key.isDown(_root.main.key_shot)))) {
_root.main.mouse_trigger = 0;
} else {
if (Key.isDown(1) || (Key.isDown(_root.main.key_shot))) {
shot_delay = 10;
}
if (_root.main.mouse_trigger == 0) {
if (0 >= _root.main.target.burst_shot) {
shot_span = 1;
} else {
shot_span = 0;
}
if (((time_last_shot + (shot_span * _root.main.fps)) < time) && (damageflag == 0)) {
time_last_shot = time;
order = new Object();
if (shot_level != 0) {
if (shot_level != 1) {
if (shot_level == 2) {
order.power = pow3;
}
} else {
shot_power = -30;
order.power = pow2;
}
} else {
if (Key.isDown(1) || (Key.isDown(_root.main.key_shot))) {
if (0 < shot_power) {
shot_power = 0;
}
}
order.power = pow1;
}
if (_root.main.player_hp == 1) {
if (!(_root.main.mode_key || (_root.main.mode_mouse_only))) {
order.power = order.power * 1.3;
} else {
order.power = order.power * 1.5;
}
}
order.type = shot_level;
order.x = this._x;
order.y = this._y;
order.rad = rad;
order.dx = Math.cos(rad) * speed;
order.dy = Math.sin(rad) * speed;
_root.main.GunCreate(order);
if (!(_parent.mode_key && (Key.isDown(_parent.key_target)))) {
shot_angle = 0.1;
} else {
shot_angle = 0;
}
if (!((((!_root.main.mode_mouse_only) && (!_root.main.mode_key)) && (shot_type == 1)) || (_root.main.target.auto))) {
order.dx = Math.cos(rad + shot_angle) * speed;
order.dy = Math.sin(rad + shot_angle) * speed;
} else {
orad = Math.atan2(_root.main.target._y - _root.main.field.p_opt_l._y, _root.main.target._x - _root.main.field.p_opt_l._x);
order.dx = Math.cos(orad) * speed;
order.dy = Math.sin(orad) * speed;
}
_root.main.GunCreateOptL(order);
if (!((((!_root.main.mode_mouse_only) && (!_root.main.mode_key)) && (shot_type == 1)) || (_root.main.target.auto))) {
order.dx = Math.cos(rad - shot_angle) * speed;
order.dy = Math.sin(rad - shot_angle) * speed;
} else {
orad = Math.atan2(_root.main.target._y - _root.main.field.p_opt_r._y, _root.main.target._x - _root.main.field.p_opt_r._x);
order.dx = Math.cos(orad) * speed;
order.dy = Math.sin(orad) * speed;
}
_root.main.GunCreateOptR(order);
}
}
}
if ((!damageflag) && (shot_power < (50 * _root.main.fps))) {
shot_power++;
}
if (Key.isDown(4)) {
if (shot_power >= 16) {
shot_power = 16;
}
}
_root.main.GetDirection();
_root.main.playermove();
_root.main.GunExecute();
_root.main.GunExecuteOptL();
_root.main.GunExecuteOptR();
if (0 < _root.main.muteki) {
_root.main.muteki--;
}
time_limit_count++;
if (time_limit_count >= (30 * _root.main.fps)) {
if (0 >= time_limit) {
time_limit = 0;
} else {
time_limit--;
}
time_limit_count = 0;
}
if (0 < shot_delay) {
shot_delay--;
}
if ((0 >= _root.main.player_hp) && (0 < _root.main.uni.hp)) {
_root.main.player_bang = 1;
}
time++;
_root.main.player.pos_x = _x;
_root.main.player.pos_y = _y;
if (!rf_flag) {
if (rear) {
this.swapDepths(_root.main.uni);
rear = false;
front = true;
}
} else if (!(rear && (_root.main.uni._y < _root.main.player._y))) {
if (front && (_root.main.uni._y >= _root.main.player._y)) {
this.swapDepths(_root.main.uni);
rear = true;
front = false;
}
} else {
this.swapDepths(_root.main.uni);
rear = false;
front = true;
}
_root.main.time_limit = time_limit;
}
}
}
Instance of Symbol 196 MovieClip [field_back] "back_obj" in Symbol 395 MovieClip Frame 6
onClipEvent (load) {
trigger = 0;
i = 1;
for ( ; i < 8 ; i++) {
this.attachMovie("hath_object", "hath_object" + i, _root.main.backobjdepth + i);
this["hath_object" + i]._x = _root.main.uni[("hath" + i) + "x"];
this["hath_object" + i]._y = _root.main.uni[("hath" + i) + "y"] + 50;
}
}
onClipEvent (enterFrame) {
if (_root.main.pause && (trigger == 0)) {
i = 1;
for ( ; i < 8 ; i++) {
this["hath_object" + i].stop();
}
trigger = 1;
}
if ((_root.main.pause == 0) && (trigger == 1)) {
i = 1;
for ( ; i < 8 ; i++) {
this["hath_object" + i].play();
}
trigger = 0;
}
}
Symbol 395 MovieClip Frame 8
if (game_state == 2) {
game_state = 3;
}
if (0 >= player_hp) {
player_hp = 0;
}
if (0 >= _root.main.uni.hp) {
_root.main.uni.hp = 0;
}
_root.main.obj.honey = _root.main.honey;
if (ret == true) {
fscommand ("ParaFlaTrace", "\u6B63\u5E38\u306B\u30CF\u30FC\u30C9\u30C7\u30A3\u30B9\u30AF\u306B\u66F8\u304D\u8FBC\u3081\u307E\u3057\u305F\u3002");
} else if (ret == "pending") {
fscommand ("ParaFlaTrace", "\u30E6\u30FC\u30B6\u30FC\u306B\u30CF\u30FC\u30C9\u30C7\u30A3\u30B9\u30AF\u66F8\u304D\u8FBC\u307F\u8981\u6C42\u3092\u51FA\u3057\u307E\u3059\u3002");
} else if (ret == false) {
fscommand ("ParaFlaTrace", "\u66F8\u304D\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002");
}
stopbgm();
_root.main.player.removeMovieClip();
_root.main.target.removeMovieClip();
_root.main.uni.removeMovieClip();
_root.main.field.removeMovieClip();
Mouse.show();
i = 0;
for ( ; i < GunMax ; i++) {
gundelete(i);
}
if (!((yukarin == 1) || (game_state != 3))) {
if (0 < player_hp) {
gotoAndPlay("winner");
} else {
gotoAndPlay("loser");
}
} else {
gotoAndPlay("yukarin");
}
Symbol 395 MovieClip Frame 9
bgm_ex01.stop();
m_bgm01.stop();
m_se07.start();
_quality = "medium";
Symbol 395 MovieClip Frame 10
stop();
Symbol 395 MovieClip Frame 11
bgm_ex01.stop();
m_bgm01.stop();
Symbol 395 MovieClip Frame 12
stop();
Symbol 395 MovieClip Frame 15
stop();
Symbol 396 MovieClip Frame 1
bmpData = flash.display.BitmapData.loadBitmap("kabegami");
m = new flash.geom.Matrix();
beginBitmapFill(bmpData, m, true, true);
moveTo(0, 0);
lineTo(0, 700);
lineTo(900, 700);
lineTo(900, 0);
endFill();
stop();
Symbol 426 MovieClip [item1] Frame 1
cutter_muteki = 5;
rad = Math.atan2(300 - _y, 300 - _x);
dx = Math.cos(rad) * 2;
dy = Math.sin(rad) * 2;
_x = _x + dx;
_y = _y + dy;
Symbol 426 MovieClip [item1] Frame 2
if (!_root.main.pause) {
_x = _x + dx;
_y = _y + dy;
if (this.hitTest(_root.main.player)) {
_root.main.score = _root.main.score + _root.main.score_calc(50);
_root.main.honey = _root.main.honey + 5;
_root.main.m_se14.start();
this.removeMovieClip();
}
if (0 >= cutter_muteki) {
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if (_root.main.field["gun" + i].type == 1) {
if (hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
_root.main.score = _root.main.score + _root.main.score_calc(50);
_root.main.honey = _root.main.honey + 5;
_root.main.m_se14.start();
this.removeMovieClip();
}
}
}
}
}
}
}
if ((((_x < -20) || (620 < _x)) || (_y < -20)) || (620 < _y)) {
this.removeMovieClip();
}
cutter_muteki--;
}
Symbol 426 MovieClip [item1] Frame 3
gotoAndPlay(2);
Symbol 429 MovieClip Frame 2
if (!_root.main.pause) {
if (_root.main.effect_lvl != 1) {
_rotation = _rotation + 3;
}
}
Symbol 429 MovieClip Frame 3
gotoAndPlay(2);
Symbol 432 MovieClip [item2] Frame 1
cutter_muteki = 5;
rad = Math.atan2(300 - _y, 300 - _x);
dx = Math.cos(rad) * 2;
dy = Math.sin(rad) * 2;
_x = _x + dx;
_y = _y + dy;
Instance of Symbol 431 MovieClip "test" in Symbol 432 MovieClip [item2] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 432 MovieClip [item2] Frame 2
if (!_root.main.pause) {
_x = _x + dx;
_y = _y + dy;
if (this.test.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
_root.main.score = _root.main.score + _root.main.score_calc(1000);
_root.main.honey = _root.main.honey + 100;
_root.main.m_se14.start();
this.removeMovieClip();
}
if (0 >= cutter_muteki) {
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if (_root.main.field["gun" + i].type == 1) {
if (this.test.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (this.test.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
_root.main.score = _root.main.score + _root.main.score_calc(1000);
_root.main.honey = _root.main.honey + 100;
_root.main.m_se14.start();
this.removeMovieClip();
}
}
}
}
}
}
}
if ((((_x < -20) || (620 < _x)) || (_y < -20)) || (620 < _y)) {
this.removeMovieClip();
}
cutter_muteki--;
}
Symbol 432 MovieClip [item2] Frame 3
gotoAndPlay(2);
Symbol 435 MovieClip [cutter_test] Frame 1
_visible = false;
Symbol 436 MovieClip [cutter] Frame 1
_yscale = 50;
Instance of Symbol 8 MovieClip [empty] in Symbol 436 MovieClip [cutter] Frame 1
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_parent._yscale < 140) {
_parent._yscale = _parent._yscale * 1.2;
}
}
}
Symbol 436 MovieClip [cutter] Frame 3
if (time < 120) {
gotoAndPlay(2);
}
Instance of Symbol 8 MovieClip [empty] in Symbol 436 MovieClip [cutter] Frame 4
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_parent._yscale < 140) {
_parent._yscale = _parent._yscale * 1.2;
}
_parent.dx = _parent.dx * 0.5;
_parent.dy = _parent.dy * 0.5;
}
}
Symbol 436 MovieClip [cutter] Frame 8
_root.main.GunUse[ID] = 0;
this.removeMovieClip();
Instance of Symbol 8 MovieClip [empty] in Symbol 437 MovieClip [cutter_tama] Frame 1
onClipEvent (load) {
dy2 = -10;
_parent.dx = _parent.dx * 1.2;
_parent._rotation = Math.random() * 360;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + _parent.dx;
_parent._y = _parent._y + _parent.dy;
_parent._y = _parent._y + dy2;
_parent.dx = _parent.dx * 0.98;
dy2 = dy2 + 1;
}
Symbol 437 MovieClip [cutter_tama] Frame 20
this.removeMovieClip();
Symbol 438 MovieClip [cutter_effect] Frame 1
if (_root.main.effect_lvl != 1) {
if (_root.main.effect_lvl != 2) {
n = 6;
} else {
n = 2;
}
} else {
n = 1;
}
x = 6.283 / n;
r = Math.random() * 6.283;
i = 0;
for ( ; i < n ; i++) {
attachMovie("cutter_tama", "cutter_tama" + i, i);
bure = (Math.floor(Math.random() * 6) - 2) / 10;
rad = r + (x * i);
this["cutter_tama" + i].dx = Math.cos(rad + bure) * 10;
this["cutter_tama" + i].dy = Math.sin(rad + bure) * 10;
}
Symbol 438 MovieClip [cutter_effect] Frame 60
_root.main.cEffectUse[ID] = 0;
this.removeMovieClip();
Symbol 440 MovieClip [point_sp] Frame 1
stop();
Symbol 442 MovieClip [pdamage] Frame 8
_root.main.EffectUse[ID] = 0;
this.removeMovieClip();
Symbol 443 MovieClip [Damage] Frame 1
if (_root.main.effect_lvl != 1) {
blendMode = "overlay";
} else {
blendMode = "normal";
}
if (!((type == 1) && (_root.main.uni.wince >= 125))) {
var color_gun = (new flash.geom.ColorTransform(1, 1, 1, 1, -100, -50, 100, 0));
} else {
var color_gun = (new flash.geom.ColorTransform(1, 1, 1, 1, 100, -110, 0, 0));
}
this.transform.colorTransform = color_gun;
_root.main.field.attachMovie("effect_mini", "effect_mini" + ID, _root.main.stareffectdepth + ID);
_root.main.field["effect_mini" + ID]._x = _x;
_root.main.field["effect_mini" + ID]._y = _y;
rad = (Math.random() * 2) * Math.PI;
tmp = Math.random() * 12;
_root.main.field["effect_mini" + ID]._rotation = Math.random() * 360;
_root.main.field["effect_mini" + ID].dx = Math.cos(rad) * (8 + tmp);
_root.main.field["effect_mini" + ID].dy = Math.sin(rad) * (8 + tmp);
_root.main.field["effect_mini" + ID].type = type;
Symbol 443 MovieClip [Damage] Frame 8
_root.main.EffectUse[ID] = 0;
_root.main.cEffectUse[ID] = 0;
this.removeMovieClip();
Symbol 445 MovieClip [effect_mini] Frame 1
if (!((type == 1) && (_root.main.uni.wince >= 125))) {
var color_tf = (new flash.geom.ColorTransform(1, 1, 1, 1, -100, -50, 100, 0));
} else {
var color_tf = (new flash.geom.ColorTransform(1, 1, 1, 1, 100, -110, 0, 0));
}
this.transform.colorTransform = color_tf;
Instance of Symbol 8 MovieClip [empty] in Symbol 445 MovieClip [effect_mini] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + _parent.dx;
_parent._y = _parent._y + _parent.dy;
_parent._rotation++;
_parent.dx = _parent.dx * 0.9;
_parent.dy = _parent.dy * 0.9;
}
Symbol 445 MovieClip [effect_mini] Frame 14
this.removeMovieClip();
Symbol 447 MovieClip Frame 1
if (_root.main.effect_lvl != 1) {
this.blendMode(8);
} else {
this.blendMode(1);
}
stop();
Symbol 448 MovieClip Frame 1
if (!_root.debug) {
_visible = false;
}
stop();
Symbol 449 MovieClip [gun] Frame 1
if (_root.main.effect_lvl != 1) {
this.grp.blendMode = 8;
} else {
this.grp.blendMode = 1;
}
if (!_root.main.player.shot_se) {
_root.main.m_se00.start();
_root.main.player.shot_se = true;
}
Instance of Symbol 448 MovieClip "test" in Symbol 449 MovieClip [gun] Frame 1
onClipEvent (enterFrame) {
if (!_root.main.mode_key) {
if (!_root.main.mode_mouse_only) {
_xscale = 200;
_yscale = 200;
} else {
_xscale = 800;
_yscale = 800;
}
} else {
_xscale = 1600;
_yscale = 1600;
}
}
Instance of Symbol 8 MovieClip [empty] in Symbol 450 MovieClip [p_opt_l] Frame 1
onClipEvent (load) {
pos = 40;
rad = -1.2;
rad = ((_root.main.player.rot * Math.PI) / 180) + 1.5;
_root.main.field.p_opt_l._x = _root.main.player._x + (Math.cos(rad) * pos);
_root.main.field.p_opt_l._y = _root.main.player._y + (Math.sin(rad) * pos);
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (!((((!_root.main.mode_mouse_only) && (!_root.main.mode_key)) && (_root.main.player.shot_type == 1)) || (_root.main.target.auto))) {
pos = 15;
} else {
pos = 40;
}
rad = ((_root.main.player.rot * Math.PI) / 180) + 1.5;
_root.main.field.p_opt_l._x = _root.main.player._x + (Math.cos(rad) * pos);
_root.main.field.p_opt_l._y = _root.main.player._y + (Math.sin(rad) * pos);
}
}
Symbol 450 MovieClip [p_opt_l] Frame 3
gotoAndPlay("loop");
Instance of Symbol 8 MovieClip [empty] in Symbol 451 MovieClip [p_opt_r] Frame 1
onClipEvent (load) {
pos = 40;
rad = -1.2;
rad = ((_root.main.player.rot * Math.PI) / 180) - 1.5;
_root.main.field.p_opt_r._x = _root.main.player._x + (Math.cos(rad) * pos);
_root.main.field.p_opt_r._y = _root.main.player._y + (Math.sin(rad) * pos);
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (!((((!_root.main.mode_mouse_only) && (!_root.main.mode_key)) && (_root.main.player.shot_type == 1)) || (_root.main.target.auto))) {
pos = 15;
} else {
pos = 40;
}
rad = ((_root.main.player.rot * Math.PI) / 180) - 1.5;
_root.main.field.p_opt_r._x = _root.main.player._x + (Math.cos(rad) * pos);
_root.main.field.p_opt_r._y = _root.main.player._y + (Math.sin(rad) * pos);
}
}
Symbol 451 MovieClip [p_opt_r] Frame 3
gotoAndPlay("loop");
Instance of Symbol 8 MovieClip [empty] in Symbol 457 MovieClip [singun] Frame 1
onClipEvent (load) {
function sinwave(tt, t, s, p) {
tmp = Math.floor((Math.sin(((2 * Math.PI) * count) / tt) * s) + p);
return(tmp);
}
_parent.stop();
_parent.power = 20;
my_x = _parent._x;
my_y = _parent._y;
dx = Math.cos(_parent.rad) * _parent.spd;
dy = Math.sin(_parent.rad) * _parent.spd;
count = 0;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
t = sinwave(60, count, 64, 0);
if (_parent.sw == 1) {
t = t * -1;
}
my_x = my_x + dx;
my_y = my_y + dy;
_parent._x = my_x + (Math.cos(_parent.rad + (Math.PI / 2)) * t);
_parent._y = my_y + (Math.sin(_parent.rad + (Math.PI / 2)) * t);
if (1 == 2) {
j = 0;
for ( ; j < _root.main.GunMax ; j++) {
if (_root.main.GunUse[j] == 1) {
if (_root.main.field["gun" + j].type == 1) {
if (_parent.hitTest(_root.main.field["gun" + j])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_parent.hitTest(_root.main.field["gun" + j]["cutter_test" + cut])) {
_root.main.m_se12.start();
_root.main.CutterEffect(j, cut);
_root.main.score = _root.main.score + 10;
_parent.gotoAndPlay("delete");
break;
}
}
}
}
}
}
}
if (0 >= _root.main.muteki) {
if (_root.main.player.player_test.hitTest(_parent._x + main_x, _parent._y + main_y, true)) {
_root.main.m_se03.start();
_root.main.Damage(_parent.ID);
if (_parent.power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - _parent.power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 30;
_parent.gotoAndPlay("bang");
}
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(_parent._x + main_x, _parent._y + main_y, true)) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
_parent.gotoAndPlay("bang");
}
}
if (60 < _parent.time) {
if (_parent._x >= 0) {
if (_root.main.scr_x >= _parent._x) {
if (_root.main.scr_y >= _parent._y) {
if (_parent._y >= 0) {
if (30000 < _parent.time) {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
}
_parent.time++;
count++;
if (300 < _parent.time) {
_parent.removeMovieClip();
}
}
}
Symbol 457 MovieClip [singun] Frame 6
this.removeMovieClip();
Instance of Symbol 8 MovieClip [empty] in Symbol 460 MovieClip [singun_b] Frame 1
onClipEvent (load) {
function sinwave(tt, t, s, p) {
tmp = Math.floor((Math.sin(((2 * Math.PI) * count) / tt) * s) + p);
return(tmp);
}
_parent.stop();
_parent.power = 15;
my_x = _parent._x;
my_y = _parent._y;
dx = Math.cos(_parent.rad) * _parent.spd;
dy = Math.sin(_parent.rad) * _parent.spd;
count = 0;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
t = sinwave(60, count, 64, 0);
if (_parent.sw == 1) {
t = t * -1;
}
my_x = my_x + dx;
my_y = my_y + dy;
_parent._x = my_x + (Math.cos(_parent.rad + (Math.PI / 2)) * t);
_parent._y = my_y + (Math.sin(_parent.rad + (Math.PI / 2)) * t);
if (1 == 1) {
j = 0;
for ( ; j < _root.main.GunMax ; j++) {
if (_root.main.GunUse[j] == 1) {
if (_root.main.field["gun" + j].type == 1) {
if (_parent.hitTest(_root.main.field["gun" + j])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_parent.hitTest(_root.main.field["gun" + j]["cutter_test" + cut])) {
_root.main.m_se12.start();
_root.main.CutterEffect(j, cut);
_root.main.score = _root.main.score + 10;
_parent.gotoAndPlay("delete");
break;
}
}
}
}
}
}
}
if (0 >= _root.main.muteki) {
if (_root.main.player.player_test.hitTest(_parent._x + main_x, _parent._y + main_y, true)) {
_root.main.m_se03.start();
_root.main.Damage(_parent.ID);
if (_parent.power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - _parent.power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 30;
_parent.gotoAndPlay("bang");
}
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(_parent._x + main_x, _parent._y + main_y, true)) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
_parent.gotoAndPlay("bang");
}
}
if (60 < _parent.time) {
if (_parent._x >= 0) {
if (_root.main.scr_x >= _parent._x) {
if (_root.main.scr_y >= _parent._y) {
if (_parent._y >= 0) {
if (30000 < _parent.time) {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
}
_parent.time++;
count++;
if (300 < _parent.time) {
_parent.removeMovieClip();
}
}
}
Symbol 460 MovieClip [singun_b] Frame 6
this.removeMovieClip();
Instance of Symbol 8 MovieClip [empty] in Symbol 464 MovieClip [enemy3_gen] Frame 1
onClipEvent (load) {
count = -60;
count2 = 0;
count3 = 1;
count4 = 0;
enemy_num = 4;
_root.main.fieldd.enemy.trigger = false;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_root.main.uni.uni_state_flag == 1) {
count = -120;
count3 = 1;
}
if (((_root.main.uni.call_bugs && (count >= 0)) && (count2 >= 18)) && (enemy_num >= count3)) {
chk = _root.main.uni.EnemyCheck();
if (chk >= 0) {
if (!(((count3 == 3) && (_parent.ID == 2)) && (50 >= _root.main.uni.hpper))) {
_root.main.fieldd.enemy.attachMovie("enemy3", "enemy3_" + chk, _root.main.enemycnt);
} else {
_root.main.fieldd.enemy.attachMovie("enemy3_shar", "enemy3_" + chk, _root.main.enemycnt);
}
_root.main.fieldd.enemy["enemy3_" + chk].MyID = chk;
_root.main.fieldd.enemy["enemy3_" + chk]._x = _parent._x;
_root.main.fieldd.enemy["enemy3_" + chk]._y = _parent._y;
_root.main.uni.EnemyUse[chk] = 1;
_root.main.fieldd.enemy.trigger = false;
_root.main.enemycnt++;
if (_root.main.enemycnt >= 50000) {
_root.main.enemycnt = 1;
}
}
count2 = 0;
count3++;
count4++;
}
count2++;
count++;
if (enemy_num < count3) {
count = -60;
count3 = 1;
}
if (count == -55) {
_root.main.uni.call_bugs = false;
}
}
}
Symbol 464 MovieClip [enemy3_gen] Frame 3
gotoAndPlay(2);
Symbol 517 MovieClip Frame 17
stop();
Symbol 518 MovieClip [enemy3] Frame 1
hp = 1;
count = 0;
reverse = false;
zooming = 0;
phase = 0;
dx = 0;
dy = 4;
Symbol 518 MovieClip [enemy3] Frame 2
if (!_root.main.pause) {
if (_root.main.uni.uni_state_flag == 1) {
gotoAndPlay("bang");
}
if (phase == 1) {
if (_root.main.player._x >= _x) {
dx = 10;
} else {
dx = -10;
_xscale = -100;
}
dy = 0;
phase = 2;
gotoAndPlay("side");
}
_x = _x + dx;
_y = _y + dy;
if (this.test.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
if (0 >= _root.main.muteki) {
_root.main.m_se03.start();
_root.main.Damage(i);
if (5 >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - 5;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 20;
}
hp = 0;
}
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if (_root.main.field["gun" + i].type == 1) {
if (this.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (this.test.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
hp = 0;
_root.main.CutterEffect(i, cut);
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (hitTest(_root.main.field["gun" + i].test))) {
hp = hp - 1;
_root.main.HitEffect(i);
_root.main.GunDelete(i);
if (0 < hp) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
}
}
}
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(this._x + main_x, this._y + main_y, true)) {
_root.main.field.enemy2._y = _root.main.field.enemy2._y + 15;
_root.main.field.enemy2.core.dy = _root.main.field.enemy2.core.dy + 1;
_y = _y - 10;
hp = hp - 1;
}
}
if ((phase == 0) && (_root.main.fieldd.enemy.trigger || (_y >= _root.main.player._y))) {
phase = 1;
}
if (0 >= hp) {
_root.main.score = _root.main.score + _root.main.score_calc(200);
gotoAndPlay("bang");
}
if ((((620 < _x) || (_x < -20)) || (620 < _y)) || (_y < -20)) {
gotoAndPlay("rem");
}
}
Symbol 518 MovieClip [enemy3] Frame 3
if (0 < hp) {
gotoAndPlay("front");
}
Symbol 518 MovieClip [enemy3] Frame 4
if (!_root.main.pause) {
if (_root.main.uni.uni_state_flag == 1) {
gotoAndPlay("bang");
}
_x = _x + dx;
_y = _y + dy;
if (this.test.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
if (0 >= _root.main.muteki) {
_root.main.m_se03.start();
_root.main.Damage(i);
if (5 >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - 5;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 20;
}
hp = 0;
}
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if (_root.main.field["gun" + i].type == 1) {
if (this.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (this.test.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
hp = 0;
_root.main.CutterEffect(i, cut);
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (hitTest(_root.main.field["gun" + i].test))) {
hp = hp - 1;
_root.main.HitEffect(i);
_root.main.GunDelete(i);
if (0 < hp) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
}
}
}
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(this._x + main_x, this._y + main_y, true)) {
_root.main.field.enemy2._x = _root.main.field.enemy2._x + (this.dx * 3);
_x = _x - dx;
hp = hp - 1;
}
}
if (0 >= hp) {
_root.main.score = _root.main.score + _root.main.score_calc(20);
gotoAndPlay("bang");
}
if ((((620 < _x) || (_x < -20)) || (620 < _y)) || (_y < -20)) {
gotoAndPlay("rem");
}
}
Symbol 518 MovieClip [enemy3] Frame 5
if (0 < hp) {
gotoAndPlay("side");
}
Symbol 518 MovieClip [enemy3] Frame 6
_root.main.se_bomb1.start();
n = _root.main.fieldd.item.getNextHighestDepth();
_root.main.fieldd.item.attachMovie("item1", "item1_" + n, n);
_root.main.fieldd.item["item1_" + n]._x = _x;
_root.main.fieldd.item["item1_" + n]._y = _y;
Symbol 518 MovieClip [enemy3] Frame 22
_root.main.uni.EnemyUse[MyID] = 0;
this.removeMovieClip();
Symbol 529 MovieClip [enemy3_shar] Frame 1
hp = 30;
power = 20;
count = 0;
reverse = false;
zooming = 0;
phase = 0;
dx = 0;
dy = 8;
muteki = 0;
Symbol 529 MovieClip [enemy3_shar] Frame 2
if (!_root.main.pause) {
if (_root.main.uni.uni_state_flag == 1) {
gotoAndPlay("bang");
}
if (_x >= _root.main.player._x) {
if (_root.main.player._x < _x) {
dx = -2;
}
} else {
dx = 2;
}
if (phase == 1) {
if (_root.main.player._x >= _x) {
dx = 13;
} else {
dx = -13;
_xscale = -100;
}
dy = 0;
phase = 2;
gotoAndPlay("side");
}
_x = _x + dx;
_y = _y + dy;
if (this.test.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
if (0 >= _root.main.muteki) {
_root.main.m_se03.start();
_root.main.Damage(i);
if (power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 20;
hp = hp - 2;
}
_y = _y - (dy * 2);
}
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if ((_root.main.field["gun" + i].type == 1) && (muteki == 0)) {
if (this.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (this.test.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
hp = hp - 10;
muteki = 30;
_root.main.CutterEffect(i, cut);
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (hitTest(_root.main.field["gun" + i].test))) {
hp = hp - 1;
_root.main.HitEffect(i);
_root.main.GunDelete(i);
if (0 < hp) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
}
}
}
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(this._x + main_x, this._y + main_y, true)) {
_root.main.field.enemy2._y = _root.main.field.enemy2._y + 15;
_root.main.field.enemy2.core.dy = _root.main.field.enemy2.core.dy + 1;
_y = _y - 20;
hp = hp - 1;
}
}
if (0 < muteki) {
muteki--;
}
if ((phase == 0) && (_root.main.fieldd.enemy.trigger || (_y >= _root.main.player._y))) {
phase = 1;
}
if (0 >= hp) {
_root.main.score = _root.main.score + _root.main.score_calc(2500);
gotoAndPlay("bang");
}
if ((((620 < _x) || (_x < -20)) || (620 < _y)) || (_y < -20)) {
gotoAndPlay("rem");
}
}
Symbol 529 MovieClip [enemy3_shar] Frame 3
if (0 < hp) {
gotoAndPlay("front");
}
Symbol 529 MovieClip [enemy3_shar] Frame 4
if (!_root.main.pause) {
if (_root.main.uni.uni_state_flag == 1) {
gotoAndPlay("bang");
}
if (_y >= _root.main.player._y) {
if (_root.main.player._y < _y) {
dy = -2;
}
} else {
dy = 2;
}
_x = _x + dx;
_y = _y + dy;
if (this.test.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
if (0 >= _root.main.muteki) {
_root.main.m_se03.start();
_root.main.Damage(i);
if (power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 20;
hp = hp - 2;
}
_x = _x - (dx * 2);
}
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if (_root.main.field["gun" + i].type == 1) {
if (this.hitTest(_root.main.field["gun" + i]) && (muteki == 0)) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (this.test.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
hp = hp - 20;
muteki = 30;
_root.main.CutterEffect(i, cut);
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (hitTest(_root.main.field["gun" + i].test))) {
hp = hp - 1;
_root.main.HitEffect(i);
_root.main.GunDelete(i);
if (0 < hp) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
}
}
}
}
if (0 < muteki) {
muteki--;
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(this._x + main_x, this._y + main_y, true)) {
_root.main.field.enemy2._x = _root.main.field.enemy2._x + (this.dx * 3);
_x = _x - dx;
hp = hp - 1;
}
}
if (0 >= hp) {
_root.main.score = _root.main.score + _root.main.score_calc(2500);
gotoAndPlay("bang");
}
if ((((620 < _x) || (_x < -20)) || (620 < _y)) || (_y < -20)) {
gotoAndPlay("rem");
}
}
Symbol 529 MovieClip [enemy3_shar] Frame 5
if (0 < hp) {
gotoAndPlay("side");
}
Symbol 529 MovieClip [enemy3_shar] Frame 6
_root.main.se_bomb1.start();
n = _root.main.fieldd.item.getNextHighestDepth();
_root.main.fieldd.item.attachMovie("item2", "item2_" + n, n);
_root.main.fieldd.item["item2_" + n]._x = _x;
_root.main.fieldd.item["item2_" + n]._y = _y;
Symbol 529 MovieClip [enemy3_shar] Frame 22
_root.main.uni.EnemyUse[MyID] = 0;
this.removeMovieClip();
Instance of Symbol 8 MovieClip [empty] "core" in Symbol 531 MovieClip [enemy2] Frame 1
onClipEvent (load) {
_parent.state = 0;
hp = 2000;
rad = Math.atan2(_root.main.player._y - _parent._y, _root.main.player._x - _parent._x);
dx = 0;
dy = 0;
sqr = (dx ^ 2) + (dy ^ 2);
cutter_muteki = 0;
time = 0;
count = 0;
frame = 0;
reverse = false;
zooming = 0;
phase = 1;
_parent._x = -50;
_parent._y = 32;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_parent.state == 0) {
time++;
if (0 < cutter_muteki) {
cutter_muteki--;
}
rad = Math.atan2(_root.main.player._y - _parent._y, _root.main.player._x - _parent._x);
if (0 < frame) {
frame--;
dx = dx * 0.2;
dy = dy * 0.2;
} else {
dx = dx + (Math.cos(rad) * 0.08);
dy = dy + (Math.sin(rad) * 0.08);
dx = dx - (dx * 0.025);
dy = dy - (dy * 0.025);
}
time = time + 1;
if (0 >= _root.main.muteki) {
if (_parent.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
_root.main.m_se03.start();
_root.main.Damage(i);
if (20 >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - 20;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 60;
}
}
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if ((_root.main.field["gun" + i].type == 1) && (0 >= cutter_muteki)) {
if (_parent.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
hp = hp - 20;
if (_parent.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
r1 = Math.atan2(_root.main.player._y - _parent._y, _root.main.player._x - _parent._x);
_parent._x = _parent._x - (Math.cos(r1) * 16);
_parent._y = _parent._y - (Math.sin(r1) * 16);
dx = dx - (Math.cos(r1) * 80);
dy = dy - (Math.sin(r1) * 80);
frame = 40;
_root.main.m_se13.start();
_root.main.CutterEffect(i, cut);
_root.main.score = _root.main.score + _root.main.score_calc(50);
_root.main.field["gun" + i].time = _root.main.field["gun" + i].time + 120;
cutter_muteki = 45;
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (_parent.hitTest(_root.main.field["gun" + i]._x + main_x, _root.main.field["gun" + i]._y + main_y, true))) {
hp = hp - 1;
r1 = Math.atan2(_root.main.player._y - _parent._y, _root.main.player._x - _parent._x);
_parent._x = _parent._x - (Math.cos(r1) * 3);
_parent._y = _parent._y - (Math.sin(r1) * 3);
dx = dx * 0.95;
dy = dy * 0.95;
if (39.75 >= frame) {
frame = frame + 0.25;
}
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
count++;
if (count >= 10) {
_root.main.score = _root.main.score + _root.main.score_calc(10);
count = 0;
}
_root.main.HitEffect(i);
_root.main.GunDelete(i);
}
}
}
i = 0;
for ( ; i < _root.main.uni.GunMax_uni1 ; i++) {
if (_root.main.uni.GunUse_uni1[i] == 1) {
if (_parent.hitTest(_root.main.field["uni_gun" + i]._x + main_x, _root.main.field["uni_gun" + i]._y + main_y, true)) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
_root.main.uni.HitEffect_e(i);
_root.main.uni.GunDelete_uni1(i);
}
}
}
if (0 < cutter_muteki) {
cutter_muteki--;
}
_parent._x = _parent._x + dx;
_parent._y = _parent._y + dy;
}
}
}
Symbol 531 MovieClip [enemy2] Frame 3
gotoAndPlay("loop");
Symbol 547 MovieClip Frame 1
n = Math.round(Math.random() * 15);
gotoAndPlay(n);
Symbol 547 MovieClip Frame 30
gotoAndPlay(2);
Instance of Symbol 532 MovieClip in Symbol 548 MovieClip [uniopt_l] Frame 11
onClipEvent (load) {
state = 0;
count = -300;
count2 = 0;
rad = -1.2;
shot_switch = false;
rad = Math.atan2(_root.main.player._y - (_root.main.uni._y - 30), _root.main.player._x - _root.main.uni._x) - 1.5;
_root.main.field.opt_l._x = _root.main.uni._x + (Math.cos(rad) * 80);
_root.main.field.opt_l._y = (_root.main.uni._y + (Math.sin(rad) * 80)) - 30;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (state != 0) {
if (state != 1) {
if (state != 2) {
if (state == 3) {
if (_root.main.player._y < 300) {
if (count >= (7 * _root.main.fps)) {
_root.main.m_se01.start();
count = 0;
_root.main.uni.anygun1(_root.main.field.opt_l._x, _root.main.field.opt_l._y, 13 / _root.main.fps);
}
}
}
} else {
_parent._x = _parent._x + dx;
_parent._y = _parent._y + dy;
if (count >= 30) {
state = 3;
}
}
} else {
dx = (100 - _parent._x) / 30;
dy = (100 - _parent._y) / 30;
state = 2;
count = 0;
}
} else {
if (_root.main.uni.uni_state == 10) {
state = 1;
}
if (!(((_root.main.uni.uni_state_flag != 1) && (_root.main.uni.uni_state == 1)) && ((_root.main.uni.count == 1) || (_root.main.uni.count == 3)))) {
if (!((_root.main.uni.uni_state == 8) && (50 >= _root.main.uni.hpper))) {
count = -10;
count2 = 0;
} else {
if (((count2 >= 30) && (56 >= count2)) && (count >= (7 * _root.main.fps))) {
count = 0;
if (!shot_switch) {
_root.main.uni.anygun2(_root.main.field.opt_l._x, _root.main.field.opt_l._y, 13 / _root.main.fps);
shot_switch = true;
} else {
_root.main.uni.anygun1(_root.main.field.opt_l._x, _root.main.field.opt_l._y, 13 / _root.main.fps);
shot_switch = false;
}
}
count2++;
}
} else if (count >= (7 * _root.main.fps)) {
_root.main.m_se01.start();
count = 0;
if (!shot_switch) {
_root.main.uni.anygun2(_root.main.field.opt_l._x, _root.main.field.opt_l._y, 13 / _root.main.fps);
shot_switch = true;
} else {
_root.main.uni.anygun1(_root.main.field.opt_l._x, _root.main.field.opt_l._y, 13 / _root.main.fps);
shot_switch = false;
}
}
rad = Math.atan2(_root.main.player._y - (_root.main.uni._y - 30), _root.main.player._x - _root.main.uni._x) - 1.5;
_root.main.field.opt_l._x = _root.main.uni._x + (Math.cos(rad) * 80);
_root.main.field.opt_l._y = (_root.main.uni._y + (Math.sin(rad) * 80)) - 30;
}
count++;
}
}
Symbol 548 MovieClip [uniopt_l] Frame 12
gotoAndPlay(11);
Instance of Symbol 532 MovieClip in Symbol 549 MovieClip [uniopt_r] Frame 11
onClipEvent (load) {
state = 0;
count = -300;
count2 = 0;
rad = 1.2;
shot_switch = false;
rad = Math.atan2(_root.main.player._y - (_root.main.uni._y - 30), _root.main.player._x - _root.main.uni._x) + 1.5;
_root.main.field.opt_r._x = _root.main.uni._x + (Math.cos(rad) * 80);
_root.main.field.opt_r._y = (_root.main.uni._y + (Math.sin(rad) * 80)) - 30;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (state != 0) {
if (state != 1) {
if (state != 2) {
if (state == 3) {
if (_root.main.player._y < 300) {
if (count >= (7 * _root.main.fps)) {
_root.main.m_se01.start();
count = 0;
_root.main.uni.anygun1(_root.main.field.opt_r._x, _root.main.field.opt_r._y, 13 / _root.main.fps);
}
}
}
} else {
_parent._x = _parent._x + dx;
_parent._y = _parent._y + dy;
if (count >= 30) {
state = 3;
}
}
} else {
dx = (550 - _parent._x) / 30;
dy = (100 - _parent._y) / 30;
state = 2;
count = 0;
}
} else {
if (_root.main.uni.uni_state == 10) {
state = 1;
}
if (!(((_root.main.uni.uni_state_flag != 1) && (_root.main.uni.uni_state == 1)) && ((_root.main.uni.count == 1) || (_root.main.uni.count == 3)))) {
if (!((_root.main.uni.uni_state == 8) && (50 >= _root.main.uni.hpper))) {
count = -10;
count2 = 0;
} else {
if (((count2 >= 30) && (56 >= count2)) && (count >= (7 * _root.main.fps))) {
count = 0;
if (shot_switch) {
_root.main.uni.anygun2(_root.main.field.opt_r._x, _root.main.field.opt_r._y, 13 / _root.main.fps);
shot_switch = false;
} else {
_root.main.uni.anygun1(_root.main.field.opt_r._x, _root.main.field.opt_r._y, 13 / _root.main.fps);
shot_switch = true;
}
}
count2++;
}
} else if (count >= (7 * _root.main.fps)) {
count = 0;
if (shot_switch) {
_root.main.uni.anygun2(_root.main.field.opt_r._x, _root.main.field.opt_r._y, 13 / _root.main.fps);
shot_switch = false;
} else {
_root.main.uni.anygun1(_root.main.field.opt_r._x, _root.main.field.opt_r._y, 13 / _root.main.fps);
shot_switch = true;
}
}
rad = Math.atan2(_root.main.player._y - (_root.main.uni._y - 30), _root.main.player._x - _root.main.uni._x) + 1.5;
_root.main.field.opt_r._x = _root.main.uni._x + (Math.cos(rad) * 80);
_root.main.field.opt_r._y = (_root.main.uni._y + (Math.sin(rad) * 80)) - 30;
}
count++;
}
}
Symbol 549 MovieClip [uniopt_r] Frame 12
gotoAndPlay(11);
Instance of Symbol 8 MovieClip [empty] in Symbol 552 MovieClip [longuinus] Frame 2
onClipEvent (load) {
muteki = 0;
_parent.hit = 0;
_parent.power = 1;
count = 0;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_parent.hit == 0) {
if (0 >= _root.main.muteki) {
if (_parent.test.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
_root.main.m_se03.start();
_root.main.Damage(_parent.ID);
if (_parent.power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - _parent.power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 60;
_parent.hit = 1;
_parent.gotoAndPlay("bang");
}
}
i = 0;
for ( ; i < _root.main.GunMax ; i++) {
if (_root.main.GunUse[i] == 1) {
if ((_root.main.field["gun" + i].type == 1) && (0 >= muteki)) {
if (_parent.test.hitTest(_root.main.field["gun" + i])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_parent.test.hitTest(_root.main.field["gun" + i]["cutter_test" + cut])) {
_root.main.uni.longuinus_hp = _root.main.uni.longuinus_hp - 50;
muteki = 15;
_root.main.CutterEffect(i, cut);
break;
}
}
}
}
if ((_root.main.field["gun" + i].type == 0) && (_parent.test.hitTest(_root.main.field["gun" + i].test))) {
_root.main.uni.longuinus_hp = _root.main.uni.longuinus_hp - 1;
_root.main.HitEffect(i);
_root.main.GunDelete(i);
if (0 < _root.main.uni.longuinus_hp) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
}
}
}
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(_parent._x + main_x, _parent._y + main_y, true)) {
_root.main.field.enemy2._y = _root.main.field.enemy2._y + 5;
_parent.hit = 1;
_parent.gotoAndPlay("bang");
}
}
if (0 < muteki) {
muteki--;
}
if ((!_parent.hit) && (0 >= _root.main.uni.longuinus_hp)) {
_root.main.uni.longuinus_hp = _root.main.uni.longuinus_hp_max;
_root.main.m_se18.start();
_root.main.score = _root.main.score + _root.main.score_calc(10000);
_parent.hit = 2;
_parent.gotoAndPlay("bang");
}
}
_parent._y = _parent._y + 5;
count++;
if (_parent._y >= 700) {
_parent.removeMovieClip();
}
if (count >= 360) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 109 MovieClip "test" in Symbol 552 MovieClip [longuinus] Frame 2
onClipEvent (enterFrame) {
this._visible = false;
}
Symbol 552 MovieClip [longuinus] Frame 4
if (hit != 0) {
if (hit != 1) {
gotoAndPlay("bonus");
} else {
gotoAndPlay("bang");
}
} else {
gotoAndPlay("loop");
}
Symbol 552 MovieClip [longuinus] Frame 49
this.removeMovieClip();
Instance of Symbol 8 MovieClip [empty] in Symbol 557 MovieClip [spear] Frame 1
onClipEvent (load) {
_parent.hit = false;
_parent.power = 50;
count = 0;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
if (_root.main.uni.spear_go) {
if (0 >= _root.main.muteki) {
if (_parent.test.hitTest(_root.main.player._x + main_x, _root.main.player._y + main_y, true)) {
_root.main.m_se03.start();
_root.main.Damage(_parent.ID);
if (_parent.power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - _parent.power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 30;
_parent.hit = true;
}
}
if (60 < _parent.time) {
if (_parent._x >= 0) {
if (_root.main.scr_x >= _parent._x) {
if (_root.main.scr_y >= _parent._y) {
if (_parent._y >= 0) {
if (30000 < _parent.time) {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
}
if (hit) {
_parent._y = _parent._y + 5;
} else {
_parent._y = _parent._y + 40;
}
count++;
if (count >= 180) {
_parent.removeMovieClip();
}
}
}
}
Symbol 557 MovieClip [spear] Frame 1
_root.main.m_se15.start();
Symbol 557 MovieClip [spear] Frame 12
if (!((_root.main.uni.uni_state == 2) || (_root.main.uni.gflogtrg))) {
if (!_root.main.uni.spear_go) {
gotoAndPlay("loop");
} else {
gotoAndPlay("go");
}
} else {
gotoAndPlay("bang");
}
Instance of Symbol 109 MovieClip "test" in Symbol 557 MovieClip [spear] Frame 13
onClipEvent (enterFrame) {
this._visible = false;
}
Symbol 557 MovieClip [spear] Frame 14
if (!hit) {
gotoAndPlay("go");
}
Symbol 557 MovieClip [spear] Frame 25
this.removeMovieClip();
Symbol 594 MovieClip Frame 18
gotoAndPlay(17);
Symbol 595 MovieClip [bang1] Frame 1
_root.main.se_bomb1.start(0.01, 1);
Instance of Symbol 8 MovieClip [empty] in Symbol 595 MovieClip [bang1] Frame 1
onClipEvent (enterFrame) {
if (!_root.main.pause) {
_parent.grp.play();
} else {
_parent.grp.stop();
}
}
Symbol 595 MovieClip [bang1] Frame 60
this.removeMovieClip();
Instance of Symbol 8 MovieClip [empty] in Symbol 606 MovieClip [hath_object] Frame 1
onClipEvent (enterFrame) {
if (_root.main.uni.gflogtrg) {
_parent.removeMovieClip();
}
}
Symbol 606 MovieClip [hath_object] Frame 1
count = 0;
Symbol 606 MovieClip [hath_object] Frame 3
gotoAndStop(2);
Symbol 606 MovieClip [hath_object] Frame 5
count++;
if (count != 60) {
this.gotoAndPlay(4);
} else {
this.gotoAndPlay(2);
count = 0;
}
Symbol 609 MovieClip [enemy1_] Frame 1
awake = false;
_root.main.m_se06.start();
Symbol 609 MovieClip [enemy1_] Frame 31
awake = true;
this.cacheAsBitmap = true;
Instance of Symbol 608 MovieClip "atari" in Symbol 609 MovieClip [enemy1_] Frame 31
onClipEvent (load) {
this._visible = false;
}
Symbol 609 MovieClip [enemy1_] Frame 32
stop();
Symbol 610 MovieClip [unigun_effect] Frame 1
if (_root.main.effect_lvl != 1) {
if (_root.main.effect_lvl != 2) {
if (_root.main.effect_lvl == 3) {
blendMode = "overlay";
num = 10;
}
} else {
blendMode = "overlay";
num = 5;
}
} else {
blendMode = "normal";
num = 3;
}
i = 0;
for ( ; i < num ; i++) {
this.attachMovie("effect_mini", "effect_mini" + i, getNextHighestDepth());
this["effect_mini" + i]._x = _x;
this["effect_mini" + i]._y = _y;
rad = (Math.random() * 2) * Math.PI;
tmp = Math.random() * 12;
this["effect_mini" + i]._rotation = Math.random() * 360;
this["effect_mini" + i].dx = Math.cos(rad) * (8 + tmp);
this["effect_mini" + i].dy = Math.sin(rad) * (8 + tmp);
this["effect_mini" + i].type = type;
}
Symbol 610 MovieClip [unigun_effect] Frame 30
this.removeMovieClip();
Symbol 611 MovieClip Frame 1
stop();
Instance of Symbol 8 MovieClip [empty] in Symbol 612 MovieClip [uni_gun] Frame 1
onClipEvent (load) {
_parent.stop();
_parent.time = 0;
if ((_parent.dx == 0) && (_parent.dy == 0)) {
_parent.dy = 5;
}
num = 10;
num2 = 100;
if (_parent.col != 7) {
_parent.grp.gotoAndStop(2);
} else {
if (_root.main.uni.colc != 1) {
if (_root.main.uni.colc != 2) {
if (_root.main.uni.colc != 3) {
if (_root.main.uni.colc != 4) {
if (_root.main.uni.colc != 5) {
if (_root.main.uni.colc != 6) {
_root.main.uni.colc = 1;
} else if (0 >= _root.main.uni.blu) {
_root.main.uni.colc = 1;
} else {
_root.main.uni.blu = _root.main.uni.blu - num;
}
} else if (_root.main.uni.red >= num2) {
_root.main.uni.colc = 6;
} else {
_root.main.uni.red = _root.main.uni.red + num;
}
} else if (0 >= _root.main.uni.gre) {
_root.main.uni.colc = 5;
} else {
_root.main.uni.gre = _root.main.uni.gre - num;
}
} else if (_root.main.uni.blu >= num2) {
_root.main.uni.colc = 4;
} else {
_root.main.uni.blu = _root.main.uni.blu + num;
_root.main.uni.red = _root.main.uni.red - num;
}
} else if (_root.main.uni.gre >= num2) {
_root.main.uni.colc = 3;
} else {
_root.main.uni.gre = _root.main.uni.gre + num;
}
} else if (_root.main.uni.red >= num2) {
_root.main.uni.colc = 2;
} else {
_root.main.uni.red = _root.main.uni.red + num;
}
r = 1;
g = 1;
b = 1;
var color_tf = (new flash.geom.ColorTransform(r, g, b, 1, _root.main.uni.red, _root.main.uni.gre, _root.main.uni.blu, 0));
_parent.transform.colorTransform = color_tf;
}
_parent._xscale = 100;
_parent._yscale = 100;
}
onClipEvent (enterFrame) {
if (!_root.main.pause) {
_parent.time = _parent.time + 1;
if (1 == 1) {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = _parent._x + _parent.dx;
_parent._y = _parent._y + _parent.dy;
if (_root.main.supercutter) {
j = 0;
for ( ; j < _root.main.GunMax ; j++) {
if (_root.main.GunUse[j] == 1) {
if (_root.main.field["gun" + j].type == 1) {
if (_parent.hitTest(_root.main.field["gun" + j])) {
cut = 1;
for ( ; cut < 9 ; cut++) {
if (_parent.hitTest(_root.main.field["gun" + j]["cutter_test" + cut])) {
_root.main.m_se12.start();
_root.main.CutterEffect(j, cut);
_root.main.score = _root.main.score + 10;
_parent.gotoAndPlay("delete");
break;
}
}
}
}
}
}
}
if (0 >= _root.main.muteki) {
if (_root.main.player.player_test.hitTest(_parent._x + main_x, _parent._y + main_y, true)) {
_root.main.m_se03.start();
_root.main.Damage(_parent.ID);
if (_parent.power >= _root.main.player_hp) {
if (_root.main.player_hp != 1) {
_root.main.player_hp = 1;
} else {
_root.main.player_hp = 0;
}
} else {
_root.main.player_hp = _root.main.player_hp - _parent.power;
}
_root.main.player_damaged = 1;
_root.main.player.damageflag_count = 0;
_root.main.muteki = 30;
_parent.gotoAndPlay("bang");
}
}
if (_root.main.uni.super_raikou) {
if (_root.main.field.enemy2.hitTest(_parent._x + main_x, _parent._y + main_y, true)) {
if (!_root.main.player.hit_se) {
_root.main.m_se02.start();
}
_parent.gotoAndPlay("bang");
}
}
if (60 < _parent.time) {
if (_parent._x >= 0) {
if (_root.main.scr_x >= _parent._x) {
if (_root.main.scr_y >= _parent._y) {
if (_parent._y >= 0) {
if (30000 < _parent.time) {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
} else {
_parent.gotoAndPlay("delete");
}
}
}
}
}
Symbol 612 MovieClip [uni_gun] Frame 2
dx = 0;
dy = 0;
this.attachMovie("unigun_effect", "effect", getNextHighestDepth());
Symbol 612 MovieClip [uni_gun] Frame 41
this.removeMovieClip();
Symbol 616 MovieClip [scoreboard] Frame 1
i = 0;
for ( ; i < 8 ; i++) {
this.attachMovie("score_numbers", "score_numbers" + i, i);
_root.gauge._scoreboard["score_numbers" + i]._x = 20 * (i - 1);
_root.gauge._scoreboard["score_numbers" + i]._y = 0;
}
Symbol 616 MovieClip [scoreboard] Frame 2
i = 0;
for ( ; i < 8 ; i++) {
_root.gauge._scoreboard["score_numbers" + i].num = _root.player_hp.substring(i, 1);
_root.gauge._scoreboard["score_numbers" + i].gotoAndStop((_root.gauge._scoreboard["score_numbers" + i].num * 2) + 1);
}
Symbol 616 MovieClip [scoreboard] Frame 3
gotoandplay(2);