Frame 1
Stage.showMenu = false;
Stage.scaleMode = "noScale";
stop();
Instance of Symbol 9 MovieClip in Frame 1
onClipEvent (load) {
percentage = 0;
_root.stop();
}
onClipEvent (enterFrame) {
percentage = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (this._alpha < percentage) {
this._alpha = percentage;
}
if (percentage == 100) {
_root.gotoAndPlay(3);
}
}
Frame 3
stop();
Instance of Symbol 100 MovieClip "cursor" in Frame 3
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
}
Instance of Symbol 42 MovieClip "jyuman" in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 42 MovieClip "man" in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 42 MovieClip "sen" in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 42 MovieClip "hyaku" in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 42 MovieClip "jyu" in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 42 MovieClip "ichi" in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 42 MovieClip "ten" in Symbol 44 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 42 MovieClip "one" in Symbol 44 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 49 MovieClip "hit" in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 52 MovieClip in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._xscale = this._xscale * 1.5;
this._yscale = this._yscale * 1.2;
c = new Color(this);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.floor((_parent._parent.Life / 25) * 100));
}
Instance of Symbol 54 MovieClip in Symbol 55 MovieClip Frame 1
onClipEvent (load) {
this._xscale = this._xscale * 1.5;
this._yscale = this._yscale * 1.2;
}
onClipEvent (enterFrame) {
if (_parent._parent.Life) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 49 MovieClip "hit" in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 52 MovieClip "life" in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
this.stop();
c = new Color(this);
}
onClipEvent (enterFrame) {
if (_parent.life) {
this.gotoAndStop(Math.floor((_parent.life / _parent.life_max) * 100));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 54 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.life != undefine) {
if (_parent.life) {
this._visible = true;
} else {
this._visible = false;
}
}
}
Symbol 67 MovieClip Frame 10
this.gotoAndStop(1);
Symbol 67 MovieClip Frame 20
this.gotoAndStop(1);
Instance of Symbol 49 MovieClip "hit" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 52 MovieClip "shot_p" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
this.stop();
c = new Color(this);
c.setRGB(0);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.pow);
}
Instance of Symbol 52 MovieClip "life" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
this.stop();
c = new Color(this);
}
onClipEvent (enterFrame) {
if (_parent.hp) {
this.gotoAndStop(Math.floor((_parent.hp / 3) * 100));
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 54 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.hp) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 44 MovieClip "bullet_num" in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Math.floor(_parent._parent.Bullet / 10) > 0) {
this.ten.gotoAndStop(Math.floor(_parent._parent.Bullet / 10) + 1);
} else {
this.ten.gotoAndStop(1);
}
this.one.gotoAndStop(Math.floor(_parent._parent.Bullet % 10) + 1);
}
Instance of Symbol 82 MovieClip "power" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
this.gotoAndStop(_parent._parent.pow);
}
Instance of Symbol 44 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Math.floor(_parent._parent.GameLevel / 10) > 0) {
this.ten.gotoAndStop(Math.floor(_parent._parent.GameLevel / 10) + 1);
} else {
this.ten.gotoAndStop(1);
}
this.one.gotoAndStop(Math.floor(_parent._parent.GameLevel % 10) + 1);
}
Instance of Symbol 44 MovieClip "enemy_num" in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Math.floor(_parent._parent.Enemy / 10) > 0) {
this.ten.gotoAndStop(Math.floor(_parent._parent.Enemy / 10) + 1);
} else {
this.ten.gotoAndStop(1);
}
this.one.gotoAndStop(Math.floor(_parent._parent.Enemy % 10) + 1);
}
Instance of Symbol 43 MovieClip "score_num" in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Math.floor((_parent._parent.Score % 1000000) / 100000) > 0) {
this.jyuman.gotoAndStop(Math.floor((_parent._parent.Score % 1000000) / 100000) + 1);
} else {
this.jyuman.gotoAndStop(1);
}
if (Math.floor((_parent._parent.Score % 100000) / 10000) > 0) {
this.man.gotoAndStop(Math.floor((_parent._parent.Score % 100000) / 10000) + 1);
} else {
this.man.gotoAndStop(1);
}
if (Math.floor((_parent._parent.Score % 10000) / 1000) > 0) {
this.sen.gotoAndStop(Math.floor((_parent._parent.Score % 10000) / 1000) + 1);
} else {
this.sen.gotoAndStop(1);
}
if (Math.floor((_parent._parent.Score % 1000) / 100) > 0) {
this.hyaku.gotoAndStop(Math.floor((_parent._parent.Score % 1000) / 100) + 1);
} else {
this.hyaku.gotoAndStop(1);
}
if (Math.floor((_parent._parent.Score % 100) / 10) > 0) {
this.jyu.gotoAndStop(Math.floor((_parent._parent.Score % 100) / 10) + 1);
} else {
this.jyu.gotoAndStop(1);
}
this.ichi.gotoAndStop(Math.floor(_parent._parent.Score % 10) + 1);
}
Instance of Symbol 87 MovieClip "Print_Fps" in Symbol 88 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
fps = 0;
}
onClipEvent (load) {
time = 1000;
time_count = 0;
old_timer = getTimer();
fps = 0;
}
onClipEvent (enterFrame) {
time_count = time_count + 1;
if ((getTimer() - old_timer) >= time) {
fps = Math.floor((time_count * 1000) / (getTimer() - old_timer));
old_timer = getTimer();
time_count = 0;
Print_Fps.fps;
}
}
Symbol 98 MovieClip Frame 1
function Init() {
charge = false;
add_flg = true;
pow = 0;
i = 0;
while (i < 15) {
use[i] = 0;
use2[i] = 0;
i++;
}
}
function InitEnemy(Obj, Level) {
switch (Level) {
case "EASY" :
eval (Obj).CPU = "EASY";
eval (Obj).life = 2;
eval (Obj).life_max = 2;
eval (Obj).b_num = 1;
return;
case "NORMAL" :
eval (Obj).CPU = "NORMAL";
eval (Obj).life = 3;
eval (Obj).life_max = 3;
eval (Obj).b_num = 2;
eval (Obj).gotoAndStop(2);
return;
case "HARD" :
eval (Obj).CPU = "HARD";
eval (Obj).life = 4;
eval (Obj).life_max = 4;
eval (Obj).b_num = 3;
}
}
function BulletHit(Obj) {
i = 0;
while (i < 30) {
if (use[i]) {
if (eval ("tama" + i)._currentframe <= 2) {
if (eval (Obj).hit.hitTest(eval ("tama" + i))) {
duplicateMovieClip ("eff_baku", "eff_baku" + i, i + 3050);
eval ("eff_baku" + i)._x = eval ("tama" + i)._x;
eval ("eff_baku" + i)._y = eval ("tama" + i)._y;
eval (Obj).life--;
if (!eval (Obj).life) {
eval (Obj)._rotation = eval (Obj)._rotation + 30;
Score = Score + 30;
se_yarare.start();
}
eval ("tama" + i).removeMovieClip();
se_hit.start();
use[i] = 0;
}
}
}
i++;
}
}
function setAction(Obj, Level) {
rnd = Math.floor(Math.random() * 100);
switch (Level) {
case "EASY" :
if (rnd < 25) {
eval (Obj).action = "MOVE_L";
} else if (rnd < 50) {
eval (Obj).action = "MOVE_R";
} else {
eval (Obj).action = "WAIT";
}
if (eval (Obj)._x >= 520) {
eval (Obj).action = "POP";
}
eval (Obj).actionTime = 20;
eval (Obj).b_num = 1;
return;
case "NORMAL" :
if (rnd < 40) {
eval (Obj).action = "MOVE_L";
} else if (rnd < 70) {
eval (Obj).action = "MOVE_R";
} else {
eval (Obj).action = "WAIT";
}
if (eval (Obj)._x >= 520) {
eval (Obj).action = "POP";
}
eval (Obj).actionTime = 20;
eval (Obj).b_num = 2;
return;
case "HARD" :
if (rnd < 50) {
eval (Obj).action = "MOVE_L";
} else if (rnd < 80) {
eval (Obj).action = "MOVE_R";
} else {
eval (Obj).action = "WAIT";
}
if (eval (Obj)._x >= 520) {
eval (Obj).action = "POP";
}
eval (Obj).actionTime = 20;
eval (Obj).b_num = 3;
}
}
function Action(Obj) {
switch (eval (Obj).action) {
case "POP" :
if (eval (Obj)._x >= 450) {
eval (Obj)._x = eval (Obj)._x - 2;
} else {
eval (Obj).actionTime = 1;
}
break;
case "WAIT" :
break;
case "MOVE_L" :
if (eval (Obj).CPU == "HARD") {
eval (Obj)._x = eval (Obj)._x - 4;
if (eval (Obj)._x <= 250) {
eval (Obj)._x = 250;
}
} else {
eval (Obj)._x = eval (Obj)._x - 2;
if (eval (Obj)._x <= 300) {
eval (Obj)._x = 300;
}
}
break;
case "MOVE_R" :
if (eval (Obj).CPU == "HARD") {
eval (Obj)._x = eval (Obj)._x + 4;
} else {
eval (Obj)._x = eval (Obj)._x + 2;
}
if (eval (Obj)._x < 520) {
break;
}
eval (Obj)._x = 520;
}
if (eval (Obj).b_num >= 1) {
var percentage = (100 - Math.floor(GameLevel / 2));
if (percentage < 40) {
percentage = 40;
}
if (Math.floor(Math.random() * percentage) == 0) {
eval (Obj).b_num = eval (Obj).b_num - 1;
if (eval (Obj).CPU == "EASY") {
p = Math.floor((Math.random() * 4) + 6);
} else if (eval (Obj).CPU == "NORMAL") {
p = Math.floor((Math.random() * 3) + 7);
} else {
p = Math.floor((Math.random() * 2) + 9);
}
i = 0;
while (i < this.use2.length) {
if (!use2[i]) {
use2[i] = 1;
duplicateMovieClip ("tama", "etama" + i, i + 2030);
eval ("etama" + i).gotoAndStop(2);
eval ("etama" + i)._rotation = Math.floor(Math.random() * 360);
eval ("etama" + i)._x = eval (Obj)._x - 22;
eval ("etama" + i)._y = eval (Obj)._y;
eval ("etama" + i).dx = -0.707106781186547 * p;
eval ("etama" + i).dy = -0.707106781186548 * p;
eff_teki._x = eval (Obj)._x - 22;
eff_teki._y = eval (Obj)._y;
eff_teki.gotoAndPlay(2);
break;
}
i++;
}
}
}
eval (Obj).actionTime--;
}
so = SharedObject.getLocal("save_00");
if (so.data.score == undefine) {
so.data.score = 0;
}
if (so.data.level == undefine) {
so.data.level = 1;
}
charge = false;
add_flg = true;
hojyuu_flg = false;
pow = 0;
use = new Array();
use2 = new Array();
hiScore = so.data.score;
MaxLevel = so.data.level;
Bullet = 0;
Enemy = 0;
this.gotoAndStop(_currentframe + 1);
bgm00 = new Sound(this);
bgm00.attachSound("BGM_OP.mp3");
bgm00.setVolume(40);
bgm01 = new Sound(this);
bgm01.attachSound("BGM_MAIN.mp3");
bgm01.setVolume(40);
se_shot = new Sound(this);
se_shot.attachSound("SE_SHOT.wav");
se_hit = new Sound(this);
se_hit.attachSound("SE_HIT.wav");
se_yarare = new Sound(this);
se_yarare.attachSound("SE_YARARE.wav");
se_drop = new Sound(this);
se_drop.attachSound("SE_DROP.wav");
se_reload = new Sound(this);
se_reload.attachSound("SE_RELOAD.wav");
bgm00.stop();
bgm00.start(0, 99999);
Instance of Symbol 19 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
on (release) {
_parent.GameLevel = 1;
_parent.play();
}
Instance of Symbol 21 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
if (_parent.MaxLevel < 5) {
this._alpha = 50;
} else {
this._alpha = 100;
}
}
on (release) {
if (_parent.MaxLevel >= 5) {
_parent.GameLevel = 5;
_parent.play();
}
}
Instance of Symbol 23 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
if (_parent.MaxLevel < 10) {
this._alpha = 50;
} else {
this._alpha = 100;
}
}
on (release) {
if (_parent.MaxLevel >= 10) {
_parent.GameLevel = 10;
_parent.play();
}
}
Instance of Symbol 25 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
if (_parent.MaxLevel < 20) {
this._alpha = 50;
} else {
this._alpha = 100;
}
}
on (release) {
if (_parent.MaxLevel >= 20) {
_parent.GameLevel = 20;
_parent.play();
}
}
Instance of Symbol 27 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
if (_parent.MaxLevel < 30) {
this._alpha = 50;
} else {
this._alpha = 100;
}
}
on (release) {
if (_parent.MaxLevel >= 30) {
_parent.GameLevel = 30;
_parent.play();
}
}
Instance of Symbol 29 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
if (_parent.MaxLevel < 40) {
this._alpha = 50;
} else {
this._alpha = 100;
}
}
on (release) {
if (_parent.MaxLevel >= 40) {
_parent.GameLevel = 40;
_parent.play();
}
}
Instance of Symbol 31 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
if (_parent.MaxLevel < 50) {
this._alpha = 50;
} else {
this._alpha = 100;
}
}
on (release) {
if (_parent.MaxLevel >= 50) {
_parent.GameLevel = 50;
_parent.play();
}
}
Instance of Symbol 43 MovieClip "score_num" in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
if (Math.floor((_parent.hiScore % 1000000) / 100000) > 0) {
this.jyuman.gotoAndStop(Math.floor((_parent.hiScore % 1000000) / 100000) + 1);
} else {
this.jyuman.gotoAndStop(1);
}
if (Math.floor((_parent.hiScore % 100000) / 10000) > 0) {
this.man.gotoAndStop(Math.floor((_parent.hiScore % 100000) / 10000) + 1);
} else {
this.man.gotoAndStop(1);
}
if (Math.floor((_parent.hiScore % 10000) / 1000) > 0) {
this.sen.gotoAndStop(Math.floor((_parent.hiScore % 10000) / 1000) + 1);
} else {
this.sen.gotoAndStop(1);
}
if (Math.floor((_parent.hiScore % 1000) / 100) > 0) {
this.hyaku.gotoAndStop(Math.floor((_parent.hiScore % 1000) / 100) + 1);
} else {
this.hyaku.gotoAndStop(1);
}
if (Math.floor((_parent.hiScore % 100) / 10) > 0) {
this.jyu.gotoAndStop(Math.floor((_parent.hiScore % 100) / 10) + 1);
} else {
this.jyu.gotoAndStop(1);
}
this.ichi.gotoAndStop(Math.floor(_parent.hiScore % 10) + 1);
}
Instance of Symbol 44 MovieClip in Symbol 98 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Math.floor(_parent.MaxLevel / 10) > 0) {
this.ten.gotoAndStop(Math.floor(_parent.MaxLevel / 10) + 1);
} else {
this.ten.gotoAndStop(1);
}
this.one.gotoAndStop(Math.floor(_parent.MaxLevel % 10) + 1);
}
Symbol 98 MovieClip Frame 3
Life = 25;
Score = 0;
Bullet = 10;
Enemy = 1;
this.Init();
bgm00.stop();
bgm01.start(0, 99999);
Symbol 98 MovieClip Frame 4
Enemy = 1 + Math.floor(GameLevel / 2);
Enemy = Math.floor(Enemy / (Math.floor(GameLevel / 10) + 1));
i = 0;
while (i < Enemy) {
duplicateMovieClip ("teki", "teki" + i, i + 1000);
eval ("teki" + i)._x = 600 + (i * 30);
eval ("teki" + i)._y = 196 + (eval ("teki" + i)._height / 2);
eval ("teki" + i).action = "POP";
if (GameLevel < 10) {
this.InitEnemy(eval ("teki" + i)._name, "EASY");
} else if (GameLevel < 20) {
if (i >= Math.floor(Enemy / 2)) {
this.InitEnemy(eval ("teki" + i)._name, "EASY");
} else {
this.InitEnemy(eval ("teki" + i)._name, "NORMAL");
}
} else if (GameLevel < 30) {
if (i >= Math.floor(Enemy / 2)) {
this.InitEnemy(eval ("teki" + i)._name, "NORMAL");
} else {
this.InitEnemy(eval ("teki" + i)._name, "HARD");
}
} else {
this.InitEnemy(eval ("teki" + i)._name, "HARD");
}
i++;
}
Instance of Symbol 55 MovieClip "toride" in Symbol 98 MovieClip Frame 4
/* no clip actions */
Instance of Symbol 58 MovieClip "teki" in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
this.stop();
actionTime = 20;
}
onClipEvent (enterFrame) {
if (this._name != "teki") {
if (this.life > 0) {
if (actionTime <= 0) {
_parent.setAction(this, CPU);
} else {
_parent.Action(this);
}
_parent.BulletHit(this);
} else if (this.life <= 0) {
if (this._y <= 280) {
this._y = this._y + 1.5;
} else {
_parent.Enemy = _parent.Enemy - 1;
this.removeMovieClip();
}
}
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
}
Instance of Symbol 63 MovieClip "tama" in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
this.stop();
g = 0.326666666666667;
}
onClipEvent (enterFrame) {
if (this._name != "tama") {
dy = dy + g;
this._x = this._x + this.dx;
this._y = this._y + this.dy;
}
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
Instance of Symbol 67 MovieClip "eff_jiki" in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
this.stop();
this.swapDepths(100);
}
onClipEvent (enterFrame) {
_x = (_parent.jiki._x + 22);
_y = _parent.jiki._y;
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
Instance of Symbol 69 MovieClip "eff_baku" in Symbol 98 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this._currentframe >= 11) {
this.removeMovieClip();
}
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
Instance of Symbol 67 MovieClip "eff_teki" in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
this.stop();
this.swapDepths(1200);
}
onClipEvent (enterFrame) {
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
Instance of Symbol 73 MovieClip "hojyuu" in Symbol 98 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.Bullet <= 3) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 75 MovieClip "jiki" in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
hp = 3;
}
onClipEvent (enterFrame) {
if (hp > 0) {
if (this._x < _parent._xmouse) {
this._x = this._x + 2;
}
if (this._x > _parent._xmouse) {
this._x = this._x - 2;
}
} else {
if (this._rotation == 0) {
this._rotation = this._rotation - 30;
_parent.se_yarare.start();
}
if (this._y <= 280) {
this._y = this._y + 1.5;
} else {
hp = 3;
this._rotation = 0;
this._x = -50;
this._y = 213;
}
}
}
Instance of Symbol 77 MovieClip in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
this.swapDepths(10000);
}
onClipEvent (enterFrame) {
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
Instance of Symbol 83 MovieClip "stutas" in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
this.swapDepths(10001);
}
onClipEvent (enterFrame) {
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
Instance of Symbol 89 MovieClip "mask" in Symbol 98 MovieClip Frame 4
onClipEvent (load) {
this._alpha = 0;
this.swapDepths(20000);
}
onClipEvent (enterFrame) {
if (_parent.Life <= 0) {
if (_alpha <= 100) {
this._alpha = this._alpha + 4;
}
}
if (_parent._currentframe >= 8) {
this.removeMovieClip();
}
}
Symbol 98 MovieClip Frame 5
if (charge) {
if (add_flg) {
pow = pow + 8;
} else {
pow = pow - 8;
}
if (pow > 100) {
add_flg = false;
pow = 100;
}
if (pow < 0) {
add_flg = true;
pow = 1;
}
}
if (hojyuu.hitTest(jiki._x, jiki._y)) {
if (!hojyuu_flg) {
hojyuu_flg = true;
}
if (Bullet < 10) {
Bullet = Bullet + 0.25;
se_reload.start();
}
} else {
hojyuu_flg = false;
}
i = 0;
while (i < this.use.length) {
if (use[i] && (eval ("tama" + i)._x >= 590)) {
eval ("tama" + i).removeMovieClip();
use[i] = 0;
} else if (use[i] && (eval ("tama" + i)._y >= 235)) {
if (eval ("tama" + i)._currentframe <= 2) {
eval ("tama" + i).dx = (eval ("tama" + i).dy = 0);
eval ("tama" + i)._rotation = 0;
eval ("tama" + i).gotoAndPlay(3);
se_drop.start();
}
if (eval ("tama" + i)._currentframe >= 15) {
eval ("tama" + i).removeMovieClip();
use[i] = 0;
}
} else if (eval ("tama" + i)._currentframe <= 2) {
j = 0;
while (j < this.use2.length) {
if (use2[j] && (eval ("etama" + j)._currentframe <= 2)) {
if (eval ("tama" + i).hitTest(eval ("etama" + j))) {
duplicateMovieClip ("eff_baku", "eff_baku" + j, j + 3000);
eval ("eff_baku" + j)._x = eval ("etama" + j)._x;
eval ("eff_baku" + j)._y = eval ("etama" + j)._y;
eval ("etama" + j).removeMovieClip();
use2[j] = 0;
Score = Score + 5;
se_hit.start();
}
}
j++;
}
}
i++;
}
i = 0;
while (i < this.use2.length) {
if (use2[i] && (eval ("etama" + i)._x <= 10)) {
eval ("etama" + i).removeMovieClip();
use2[i] = 0;
} else if (use2[i] && (eval ("etama" + i)._y >= 235)) {
if (eval ("etama" + i)._currentframe <= 2) {
eval ("etama" + i).dx = (eval ("etama" + i).dy = 0);
eval ("etama" + i)._rotation = 0;
eval ("etama" + i).gotoAndPlay(3);
se_drop.start();
}
if (eval ("etama" + i)._currentframe >= 15) {
eval ("etama" + i).removeMovieClip();
use2[i] = 0;
}
} else if (eval ("etama" + i).hitTest(jiki.hit)) {
if (jiki.hp > 0) {
jiki.hp--;
duplicateMovieClip ("eff_baku", "eff_baku" + i, i + 60);
eval ("eff_baku" + i)._x = eval ("etama" + i)._x;
eval ("eff_baku" + i)._y = eval ("etama" + i)._y;
eval ("etama" + i).removeMovieClip();
use2[i] = 0;
se_hit.start();
}
} else if (eval ("etama" + i).hitTest(toride.hit)) {
Life--;
duplicateMovieClip ("eff_baku", "eff_baku" + i, i + 60);
eval ("eff_baku" + i)._x = eval ("etama" + i)._x;
eval ("eff_baku" + i)._y = eval ("etama" + i)._y;
eval ("etama" + i).removeMovieClip();
use2[i] = 0;
se_hit.start();
}
i++;
}
this.onMouseDown = function () {
if ((Bullet > 0) && (!hojyuu_flg)) {
charge = true;
add_flg = true;
}
};
this.onMouseUp = function () {
if (charge) {
i = 0;
while (i < this.use.length) {
if (!use[i]) {
Bullet = Bullet - 1;
use[i] = 1;
duplicateMovieClip ("tama", "tama" + i, i + 2000);
eval ("tama" + i)._rotation = Math.floor(Math.random() * 360);
eval ("tama" + i)._x = this.jiki._x + 22;
eval ("tama" + i)._y = this.jiki._y;
eval ("tama" + i).dx = Math.SQRT1_2 * ((pow / 10) + 2);
eval ("tama" + i).dy = -0.707106781186547 * ((pow / 10) + 2);
eff_jiki.gotoAndPlay(2);
if (this._currentframe <= 6) {
se_shot.start();
}
break;
}
i++;
}
pow = 1;
charge = false;
}
};
if (Enemy == 0) {
GameLevel++;
if (GameLevel > 80) {
GameLevel = 80;
}
this.gotoAndPlay(_currentframe - 1);
}
if (mask._alpha >= 100) {
this.gotoAndPlay(7);
}
Symbol 98 MovieClip Frame 6
this.gotoAndPlay(_currentframe - 1);
Symbol 98 MovieClip Frame 7
if (Score > hiScore) {
hiScore = Score;
so.data.score = Score;
}
if (GameLevel > MaxLevel) {
MaxLevel = GameLevel;
so.data.level = GameLevel;
}
so.flush();
bgm01.stop();
bgm00.start(0, 99999);
Symbol 98 MovieClip Frame 8
this.stop();
Instance of Symbol 96 MovieClip "end" in Symbol 98 MovieClip Frame 8
onClipEvent (load) {
this._visible = false;
this.gotoAndStop(4);
}
on (release) {
if (this._visible) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 44 MovieClip in Symbol 98 MovieClip Frame 8
onClipEvent (load) {
if (Math.floor(_parent.GameLevel / 10) > 0) {
this.ten.gotoAndStop(Math.floor(_parent.GameLevel / 10) + 1);
} else {
this.ten.gotoAndStop(1);
}
this.one.gotoAndStop(Math.floor(_parent.GameLevel % 10) + 1);
}
Instance of Symbol 43 MovieClip "score_num" in Symbol 98 MovieClip Frame 8
onClipEvent (load) {
if (Math.floor((_parent.Score % 1000000) / 100000) > 0) {
this.jyuman.gotoAndStop(Math.floor((_parent.Score % 1000000) / 100000) + 1);
} else {
this.jyuman.gotoAndStop(1);
}
if (Math.floor((_parent.Score % 100000) / 10000) > 0) {
this.man.gotoAndStop(Math.floor((_parent.Score % 100000) / 10000) + 1);
} else {
this.man.gotoAndStop(1);
}
if (Math.floor((_parent.Score % 10000) / 1000) > 0) {
this.sen.gotoAndStop(Math.floor((_parent.Score % 10000) / 1000) + 1);
} else {
this.sen.gotoAndStop(1);
}
if (Math.floor((_parent.Score % 1000) / 100) > 0) {
this.hyaku.gotoAndStop(Math.floor((_parent.Score % 1000) / 100) + 1);
} else {
this.hyaku.gotoAndStop(1);
}
if (Math.floor((_parent.Score % 100) / 10) > 0) {
this.jyu.gotoAndStop(Math.floor((_parent.Score % 100) / 10) + 1);
} else {
this.jyu.gotoAndStop(1);
}
this.ichi.gotoAndStop(Math.floor(_parent.Score % 10) + 1);
}
Instance of Symbol 89 MovieClip in Symbol 98 MovieClip Frame 8
onClipEvent (load) {
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
this._alpha = this._alpha - 4;
} else {
_parent.end._visible = true;
}
}