Frame 2
function FNlogin() {
var _local1 = _root;
LVlogin = new LoadVars();
LVlogin.onLoad = function () {
_root.user_id = this.result;
delete LVwrite;
};
LVlist.load((("http://" + _local1.homepage) + "/savegame/check_login.") + _local1.prog);
}
function soundOn() {
SoundObj.setVolume(100);
}
function soundOff() {
SoundObj.setVolume(0);
}
this.stop();
pop_ok = true;
SoundObj = new Sound(this);
SoundObj.attachSound("bgm");
this.volume_controler.gotoAndStop(soundFrame);
FNlogin();
this.onEnterFrame = function () {
var _local1 = this;
if (_local1.vol == 1) {
soundOn();
_local1.vol = 2;
}
if (_local1.vol == 0) {
soundOff();
_local1.vol = 2;
}
};
Instance of Symbol 6 MovieClip in Frame 2
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_parent.gotoAndStop("game");
}
Instance of Symbol 9 MovieClip in Frame 2
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (release) {
if (_parent.pop_ok) {
_parent.gotoAndStop("help");
} else {
_parent.gotoAndStop("first");
}
}
Frame 3
var pop_ok = false;
Frame 4
function FN_Score() {
var _local2 = this;
FN_snum1 = int(score_num / 100000) + 1;
FN_snum1_c = score_num % 100000;
FN_snum2 = int(FN_snum1_c / 10000) + 1;
FN_snum2_c = FN_snum1_c % 10000;
FN_snum3 = int(FN_snum2_c / 1000) + 1;
FN_snum3_c = FN_snum2_c % 1000;
FN_snum4 = int(FN_snum3_c / 100) + 1;
FN_snum4_c = FN_snum3_c % 100;
FN_snum5 = int(FN_snum4_c / 10) + 1;
FN_snum6 = (FN_snum4_c % 10) + 1;
var _local1 = 1;
while (_local1 <= 6) {
_local2.interface.score_mc["mc" + _local1].gotoAndStop(_local2["FN_snum" + _local1]);
_local1++;
}
}
function FN_Level() {
var _local2 = this;
FN_lnum1 = int(level_num / 10) + 1;
FN_lnum2 = (level_num % 10) + 1;
var _local1 = 1;
while (_local1 <= 2) {
_local2.interface.level_mc["mc" + _local1].gotoAndStop(_local2["FN_lnum" + _local1]);
_local1++;
}
}
function FN_stop() {
var _local1 = this;
if (_local1.text_mc._currentframe == 1) {
game_ok = false;
game_ok2 = false;
_local1.interface.bomb_mc.stop();
_local1.interface.Lbomb_mc.stop();
_local1.smallboss_mc.mc.stop();
_local1.enemy_mc.mc.stop();
_local1.boss_mc.mc.stop();
_local1.bomb_mc.stop();
_local1.char_mc.mc.stop();
} else {
_local1.text_mc.mc.stop();
}
_local1.stop_window.nextFrame();
}
function FN_play() {
var _local1 = this;
if (_local1.text_mc._currentframe == 1) {
game_ok = true;
game_ok2 = true;
if (_local1.interface.bomb_mc._currentframe != _local1.interface.bomb_mc._totalframes) {
_local1.interface.bomb_mc.play();
}
if (_local1.boss_mc._currentframe != 1) {
_local1.boss_mc.mc.play();
}
if (_local1.bomb_mc._currentframe != 1) {
_local1.bomb_mc.play();
}
_local1.char_mc.mc.play();
} else {
_local1.text_mc.mc.play();
}
_local1.stop_window.prevFrame();
}
function FN_Fire() {
var _local1 = this;
_local1.char_mc.mc.mc2.play();
_local1.fire_mc.duplicateMovieClip("fire" + fire_Depth, fire_Depth);
_local1["fire" + fire_Depth].gotoAndStop(fire_num + 1);
_local1["fire" + fire_Depth]._y = _local1.char_mc._y + 60;
fire_Depth++;
if (fire_Depth > 15) {
fire_Depth = 11;
}
}
function FN_Enemy() {
var _local1 = this;
if (enemy_random == 0) {
enemy_random = random(3);
_local1.enemy_mc.duplicateMovieClip("enemy" + enemy_Depth, enemy_Depth);
_local1["enemy" + enemy_Depth]._x = _local1["enemy" + enemy_Depth]._x + 50;
_local1["enemy" + enemy_Depth]._y = (random(5) * 7) + 110;
_local1["enemy" + enemy_Depth].gotoAndStop("ran");
enemy_Depth++;
if (enemy_Depth > 10) {
enemy_Depth = 1;
}
_local1.enemy_mc.duplicateMovieClip("enemy" + enemy_Depth, enemy_Depth);
_local1["enemy" + enemy_Depth]._y = ((random(5) + 15) * 10) + 110;
_local1["enemy" + enemy_Depth].gotoAndStop("ran");
enemy_Depth++;
if (enemy_Depth > 10) {
enemy_Depth = 1;
}
} else {
enemy_random = random(3);
_local1.enemy_mc.duplicateMovieClip("enemy" + enemy_Depth, enemy_Depth);
_local1["enemy" + enemy_Depth]._y = (random(20) * 10) + 110;
_local1["enemy" + enemy_Depth].gotoAndStop("ran");
enemy_Depth++;
if (enemy_Depth > 10) {
enemy_Depth = 1;
}
}
}
function FN_BossEnemy() {
var _local1 = this;
if (enemy_random == 0) {
enemy_random = random(3);
_local1.smallboss_mc.duplicateMovieClip("enemy" + enemy_Depth, enemy_Depth);
_local1["enemy" + enemy_Depth]._x = _local1["enemy" + enemy_Depth]._x + 50;
_local1["enemy" + enemy_Depth]._y = (random(5) * 7) + 110;
_local1["enemy" + enemy_Depth].gotoAndStop("ran");
enemy_Depth++;
if (enemy_Depth > 10) {
enemy_Depth = 1;
}
_local1.smallboss_mc.duplicateMovieClip("enemy" + enemy_Depth, enemy_Depth);
_local1["enemy" + enemy_Depth]._y = ((random(5) + 15) * 10) + 110;
_local1["enemy" + enemy_Depth].gotoAndStop("ran");
enemy_Depth++;
if (enemy_Depth > 10) {
enemy_Depth = 1;
}
} else {
enemy_random = random(3);
_local1.smallboss_mc.duplicateMovieClip("enemy" + enemy_Depth, enemy_Depth);
_local1["enemy" + enemy_Depth]._y = (random(20) * 10) + 110;
_local1["enemy" + enemy_Depth].gotoAndStop("ran");
enemy_Depth++;
if (enemy_Depth > 10) {
enemy_Depth = 1;
}
}
}
function FN_levelup() {
if (boss_ok) {
if (enemy_speed > 100) {
enemy_speed = enemy_speed - 20;
limit_num = limit_num - 2;
}
boss_ok = false;
}
level_num++;
FN_Level();
time_i = 30;
enemy_total = (level_num * 5) + 15;
enemy_kill = 0;
this.text_mc.gotoAndStop("start");
}
function FN_Clear() {
var _local2 = this;
var _local1 = 1;
while (_local1 <= 10) {
_local2["enemy" + _local1].removeMovieClip();
if (_local1 < 6) {
_local2["fire" + (_local1 + 10)].removeMovieClip();
}
_local1++;
}
}
this.stop();
var game_ok = false;
var game_ok2 = true;
var press_ok = true;
var level_num = 1;
var score_num = 0;
var minus_yspeed = 0;
var yspeed = 15;
var g_speed = 0.2;
var fire_num = 1;
var fire_Depth = 11;
var enemy_Depth = 1;
var enemy_random = random(3);
var enemy_speed = 200;
var bomb_num1 = true;
var enemy_total = ((level_num * 5) + 15);
var enemy_kill = 0;
var boss_ok = false;
var time_i = 30;
var limit_num = 30;
var limit_time = (random(30) + limit_num);
var bomb_Depth = this.bomb_mc.getDepth();
this.bomb_mc.swapDepths(16);
this.text_mc.gotoAndStop("start");
this.interface.Lbomb_mc._xscale = 0;
this.interface.Lbomb_mc.gotoAndStop(1);
this.interface.bomb_mc.gotoAndStop(this.interface.bomb_mc._totalframes);
FN_Score();
FN_Level();
this.onEnterFrame = function () {
var _local1 = this;
if (_local1.vol == 1) {
soundOn();
_local1.vol = 2;
}
if (_local1.vol == 0) {
soundOff();
_local1.vol = 2;
}
if (game_ok) {
time_i++;
if (boss_ok) {
if (time_i > limit_time) {
time_i = 0;
limit_time = random(30) + 70;
FN_BossEnemy();
}
} else if (time_i > limit_time) {
time_i = 0;
limit_time = random(30) + limit_num;
FN_Enemy();
}
if (enemy_kill >= enemy_total) {
FN_Clear();
game_ok = false;
_local1.interface.bomb_mc.stop();
if ((level_num % 5) == 0) {
boss_ok = true;
enemy_kill = 0;
stopAllSounds();
_local1.text_mc.gotoAndStop("bossstage");
} else {
stopAllSounds();
_local1.text_mc.gotoAndStop("levelup");
}
}
if (Key.isDown(40)) {
if (minus_yspeed > -20) {
minus_yspeed--;
}
if (_local1.target_mc._y < 350) {
_local1.target_mc._y = _local1.target_mc._y + yspeed;
}
} else if (Key.isDown(38)) {
if (minus_yspeed < 20) {
minus_yspeed++;
}
if (_local1.target_mc._y > 50) {
_local1.target_mc._y = _local1.target_mc._y - yspeed;
}
} else if (minus_yspeed != 0) {
if (minus_yspeed > 0) {
minus_yspeed--;
} else {
minus_yspeed++;
}
}
if (Key.isDown(32)) {
if (press_ok) {
_local1.sound_mc.gotoAndPlay("fire1");
fire_num = 1;
press_ok = false;
FN_Fire();
}
}
if (Key.isDown(97) || (Key.isDown(65))) {
if (bomb_num1) {
_local1.sound_mc.gotoAndPlay("fire2");
fire_num = 2;
bomb_num1 = false;
press_ok = false;
_local1.interface.bomb_mc.play();
FN_Fire();
}
}
if (Key.isDown(83) || (Key.isDown(115))) {
if (_local1.interface.Lbomb_mc._xscale == 100) {
_local1.interface.Lbomb_mc._xscale = 0;
_local1.interface.bubi.gotoAndPlay(11);
_local1.interface.Lbomb_mc.gotoAndStop(1);
_local1.bomb_mc.play();
}
}
tgy = _local1.target_mc._y - 50;
_local1.char_mc._y = _local1.char_mc._y + (g_speed * (tgy - _local1.char_mc._y));
}
};
Frame 5
function FNsend() {
var _local1 = _root;
LVwrite = new LoadVars();
LVwrite.game_id = _local1.game_id;
LVwrite.user_id = _local1.user_id;
LVwrite.pass = _local1.homepage;
LVwrite.score = _local1.score;
LVwrite.onLoad = function () {
_root.ranking = this.result;
delete LVwrite;
};
LVwrite.sendAndLoad((((((("http://" + _local1.homepage) + "/") + _local1.site) + "/end.") + _local1.prog) + "?ran=") + random(1000), LVwrite, "POST");
getURL (("javascript:end_game(" + _local1.score) + ")");
}
Mouse.show();
this.bomb_mc.swapDepths(bomb_Depth);
_root.score = score_num;
_root.FNsend();
if (((_root.check_id == "") || (_root.check_id == undefined)) || (_root.check_id == null)) {
_root.user_id = "guest";
_root.nextFrame();
}
Instance of Symbol 491 MovieClip in Frame 5
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_parent.gotoAndStop("first");
}
Instance of Symbol 494 MovieClip in Frame 5
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_parent.gotoAndStop("regame");
}
Frame 6
var check_login = true;
this.onEnterFrame = function () {
var _local1 = _root;
if (check_login) {
if (((_local1.check_id == "") || (_local1.check_id == undefined)) || (_local1.check_id == null)) {
_local1.user_id = "guest";
} else {
check_login = false;
_local1.user_id = _local1.check_id;
_local1.text_mc.mc.play();
}
}
};
Frame 7
this.gotoAndStop("game");
Symbol 6 MovieClip Frame 1
stop();
Symbol 9 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 15 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 1
this.stop();
Instance of Symbol 12 MovieClip in Symbol 16 MovieClip Frame 1
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_root.soundFrame = 2;
_root.vol = 0;
_parent.nextFrame();
}
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip Frame 2
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_root.soundFrame = 1;
_root.vol = 1;
_parent.prevFrame();
}
Symbol 23 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 1
this.stop();
Symbol 29 MovieClip Frame 1
this.stop();
Symbol 30 MovieClip Frame 1
this.stop();
Instance of Symbol 26 MovieClip in Symbol 30 MovieClip Frame 1
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (release) {
_parent._parent.mc1.nextFrame();
_parent.nextFrame();
}
Instance of Symbol 29 MovieClip in Symbol 30 MovieClip Frame 2
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (release) {
_parent._parent.mc1.prevFrame();
_parent.prevFrame();
}
Symbol 34 MovieClip Frame 1
this.stop();
Symbol 35 MovieClip Frame 12
stop();
Symbol 38 MovieClip Frame 1
this.stop();
Symbol 43 MovieClip Frame 1
this.stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
function FN_Timer() {
var _local2 = this;
FN_tnum1 = int(count_num / 60) + 1;
FN_tnum1_c = count_num % 60;
FN_tnum2 = int(FN_tnum1_c / 10) + 1;
FN_tnum3 = (FN_tnum1_c % 10) + 1;
var _local1 = 1;
while (_local1 <= 3) {
_local2["mc" + _local1].gotoAndStop(_local2["FN_tnum" + _local1]);
_local1++;
}
}
function FN_timeplay() {
this.onEnterFrame = function () {
if (_root.game_ok) {
time_i++;
if (time_i > 23) {
time_i = 0;
count_num--;
FN_Timer();
}
}
};
}
function FN_remindTime() {
var _local1 = _root;
var _local2 = this;
_local2.onEnterFrame = function () {
var _local1 = _root;
if (_local1.game_ok2) {
if (count_num > 0) {
count_num--;
FN_Timer();
_local1.score_num = _local1.score_num + 10;
_local1.FN_Score();
} else {
stopAllSounds();
_local1.text_mc.gotoAndStop("levelup");
delete this.onEnterFrame;
this.prevFrame();
}
}
};
}
this.stop();
var time_i = 0;
var count_num = 150;
Symbol 62 MovieClip Frame 2
FN_Timer();
FN_timeplay();
Symbol 80 MovieClip Frame 8
_parent.gotoAndStop("first");
Symbol 96 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 3
_root.score_num = _root.score_num + 500;
_root.FN_Score();
Symbol 98 MovieClip Frame 16
this.stop();
_root.time_attack.FN_remindTime();
Symbol 99 MovieClip Frame 1
this.stop();
Symbol 99 MovieClip Frame 3
if (_root.interface.Lbomb_mc._xscale < 75) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 25;
} else {
_root.interface.Lbomb_mc._xscale = 100;
}
delete _parent.onEnterFrame;
Symbol 112 MovieClip Frame 10
stop();
Symbol 113 MovieClip Frame 8
_parent.gotoAndStop("first");
Symbol 114 MovieClip Frame 1
this.stop();
Symbol 114 MovieClip Frame 3
if (_root.interface.Lbomb_mc._xscale < 75) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 25;
} else {
_root.interface.Lbomb_mc._xscale = 100;
}
delete _parent.onEnterFrame;
Symbol 128 MovieClip Frame 8
_parent.gotoAndStop("first");
Symbol 129 MovieClip Frame 1
this.stop();
Symbol 129 MovieClip Frame 3
if (_root.interface.Lbomb_mc._xscale < 75) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 25;
} else {
_root.interface.Lbomb_mc._xscale = 100;
}
delete _parent.onEnterFrame;
Symbol 130 MovieClip Frame 1
this.stop();
Symbol 131 MovieClip Frame 23
_parent.gotoAndStop("first");
Symbol 135 MovieClip Frame 13
_root.bg_mc.play();
Symbol 135 MovieClip Frame 41
_parent.gotoAndStop("first");
Symbol 136 MovieClip Frame 1
function FN_Move() {
var _local1 = _root;
var _local2 = this;
_local2.mc._y = Ry;
_local2.mc.mc1.mc_in.life_mc._xscale = life_xscale;
_local2.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game_ok) {
time_i++;
if (time_i > (24 * random_time)) {
move_ok = true;
}
if (life_xscale < 50) {
random_time = 4.6;
} else if (life_xscale < 75) {
random_time = 6.4;
}
var _local3 = 11;
while (_local3 <= 15) {
if (_local2.mc.mc1.hit.hitTest(_local1["fire" + _local3].hit)) {
if (_local1["fire" + _local3]._currentframe == 2) {
if (_local1.interface.Lbomb_mc._xscale < 99) {
_local1.interface.Lbomb_mc._xscale = _local1.interface.Lbomb_mc._xscale + 1.5;
} else {
_local1.interface.Lbomb_mc._xscale = 100;
}
_local2.mc.mc1.mc_in.gotoAndStop("hit");
_local2.mc.mc1.mc_in.life_mc._xscale = _local2.mc.mc1.mc_in.life_mc._xscale - 1;
life_xscale = life_xscale - 1;
if (_local2.mc.mc1.mc_in.life_mc._xscale <= 0) {
_local1.FN_Clear();
delete _local1.time_attack.onEnterFrame;
delete _local2.onEnterFrame;
_local1.game_ok = false;
_local2.mc.mc1.mc_in.gotoAndStop("die");
}
_local1["fire" + _local3].removeMovieClip();
} else if (ok1) {
ok1 = false;
if (_local1.interface.Lbomb_mc._xscale < 99) {
_local1.interface.Lbomb_mc._xscale = _local1.interface.Lbomb_mc._xscale + 4;
} else {
_local1.interface.Lbomb_mc._xscale = 100;
}
_local2.mc.mc1.mc_in.gotoAndStop("hit");
_local2.mc.mc1.mc_in.life_mc._xscale = _local2.mc.mc1.mc_in.life_mc._xscale - 5;
life_xscale = life_xscale - 5;
if (_local2.mc.mc1.mc_in.life_mc._xscale <= 0) {
_local1.FN_Clear();
delete _local1.time_attack.onEnterFrame;
delete _local2.onEnterFrame;
_local1.game_ok = false;
_local2.mc.mc1.mc_in.gotoAndStop("die");
}
}
}
_local3++;
}
if (_local2.hitTest(_local1.bomb_mc.hit)) {
count++;
if (count < 16) {
_local2.mc.mc1.mc_in.gotoAndStop("hit");
_local2.mc.mc1.mc_in.life_mc._xscale = _local2.mc.mc1.mc_in.life_mc._xscale - 1.5;
life_xscale = life_xscale - 1.5;
if (_local2.mc.mc1.mc_in.life_mc._xscale <= 0) {
_local1.FN_Clear();
delete _local1.time_attack.onEnterFrame;
delete _local2.onEnterFrame;
_local1.game_ok = false;
_local2.mc.mc1.mc_in.gotoAndStop("die");
}
}
}
if (_local2.mc._y > 130) {
g = g * -1;
if (move_ok) {
move_ok = false;
time_i = 0;
Ry = _local2.mc._y - 5;
delete _local2.onEnterFrame;
_local2.gotoAndStop("front3");
}
} else if (_local2.mc._y < -90) {
g = g * -1;
if (move_ok) {
move_ok = false;
time_i = 0;
Ry = _local2.mc._y + 5;
delete _local2.onEnterFrame;
_local2.gotoAndStop("front1");
}
} else if (_local2.mc._y == 0) {
if (move_ok) {
move_ok = false;
time_i = 0;
Ry = _local2.mc._y;
delete _local2.onEnterFrame;
_local2.gotoAndStop("front2");
}
}
_local2.mc._y = _local2.mc._y + (g * yspeed);
}
};
}
function FN_FireHit() {
var _local1 = this;
var _local2 = _root;
_local1.mc.mc1.mc_in.life_mc._xscale = life_xscale;
_local1.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game_ok) {
if (_local1.mc.mc1.hit.hitTest(_local2.char_mc.hit)) {
if (ok) {
ok = false;
_local2.press_ok = false;
_local2.fire_time.gotoAndStop(1);
_local2.char_mc.gotoAndStop("hit");
_local2.interface.life_mc._xscale = _local2.interface.life_mc._xscale - 20;
if (_local2.interface.life_mc._xscale <= 0) {
_local2.interface.life_mc._xscale = 0;
_local2.game_ok = false;
_local2.char_mc.gotoAndStop("die");
delete _local2.time_attack.onEnterFrame;
_local2.FN_Clear();
}
}
}
if (_local1.hitTest(_local2.bomb_mc.hit)) {
count++;
if (count < 16) {
_local1.mc.mc1.mc_in.gotoAndStop("hit");
_local1.mc.mc1.mc_in.life_mc._xscale = _local1.mc.mc1.mc_in.life_mc._xscale - 1.5;
life_xscale = life_xscale - 1.5;
if (_local1.mc.mc1.mc_in.life_mc._xscale <= 0) {
_local2.FN_Clear();
delete _local2.time_attack.onEnterFrame;
delete _local1.onEnterFrame;
_local2.game_ok = false;
_local1.mc.mc1.mc_in.gotoAndStop("die");
}
}
}
var _local3 = 11;
while (_local3 <= 15) {
if (_local1.mc.mc1.hit.hitTest(_local2["fire" + _local3].hit)) {
if (_local2["fire" + _local3]._currentframe == 2) {
_local1.mc.mc1.mc_in.gotoAndStop("hit");
_local1.mc.mc1.mc_in.life_mc._xscale = _local1.mc.mc1.mc_in.life_mc._xscale - 1;
life_xscale = life_xscale - 1;
if (_local1.mc.mc1.mc_in.life_mc._xscale <= 0) {
_local2.FN_Clear();
delete _local2.time_attack.onEnterFrame;
delete _local1.onEnterFrame;
_local2.game_ok = false;
_local1.mc.stop();
_local1.mc.mc1.mc_in.gotoAndStop("die");
}
_local2["fire" + _local3].removeMovieClip();
} else if (ok1) {
ok1 = false;
_local1.mc.mc1.mc_in.gotoAndStop("hit");
_local1.mc.mc1.mc_in.life_mc._xscale = _local1.mc.mc1.mc_in.life_mc._xscale - 5;
life_xscale = life_xscale - 5;
if (_local1.mc.mc1.mc_in.life_mc._xscale <= 0) {
_local2.FN_Clear();
delete _local2.time_attack.onEnterFrame;
delete _local1.onEnterFrame;
_local2.game_ok = false;
_local1.mc.stop();
_local1.mc.mc1.mc_in.gotoAndStop("die");
}
}
}
_local3++;
}
}
};
}
this.stop();
var yspeed = 5;
var g = 1;
var time_i = 0;
var move_ok = false;
var Ry = 0;
var life_xscale = 100;
var random_time = 8.2;
var ok = true;
var ok1 = true;
var count = 0;
Symbol 136 MovieClip Frame 2
var enemy_frame = (int(_root.level_num / 5) % 3);
if (enemy_frame == 0) {
enemy_frame = 3;
}
trace("enemy_frame " + enemy_frame);
this.mc.mc1.gotoAndStop(enemy_frame);
FN_FireHit();
Symbol 136 MovieClip Frame 3
this.mc.mc1.gotoAndStop(enemy_frame);
ok = true;
FN_Move();
Symbol 136 MovieClip Frame 4
this.mc.mc1.gotoAndStop(enemy_frame);
FN_FireHit();
Symbol 136 MovieClip Frame 5
this.mc.mc1.gotoAndStop(enemy_frame);
FN_FireHit();
Symbol 136 MovieClip Frame 6
this.mc.mc1.gotoAndStop(enemy_frame);
FN_FireHit();
Symbol 141 MovieClip Frame 11
stop();
Symbol 147 MovieClip Frame 11
stop();
Symbol 153 MovieClip Frame 3
_root.score_num = _root.score_num + 10;
_root.FN_Score();
Symbol 153 MovieClip Frame 16
this.stop();
_parent.removeMovieClip();
Symbol 154 MovieClip Frame 1
this.stop();
Symbol 154 MovieClip Frame 4
if (_root.interface.Lbomb_mc._xscale < 100) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 1;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent.onEnterFrame;
Symbol 158 MovieClip Frame 11
stop();
Symbol 161 MovieClip Frame 11
stop();
Symbol 162 MovieClip Frame 1
this.stop();
Symbol 162 MovieClip Frame 4
if (_root.interface.Lbomb_mc._xscale < 100) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 1;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent.onEnterFrame;
Symbol 172 MovieClip Frame 11
stop();
Symbol 187 MovieClip Frame 11
stop();
Symbol 188 MovieClip Frame 1
this.stop();
Symbol 188 MovieClip Frame 4
if (_root.interface.Lbomb_mc._xscale < 100) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 1;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent.onEnterFrame;
Symbol 190 MovieClip Frame 1
function FN_Move() {
var _local1 = _root;
var _local3 = this;
Rx = (_local3._x - _parent["target_enemy" + (random(5) + 1)]._x) / _local1.enemy_speed;
Ry = (_local3._y - _parent["target_enemy" + (random(5) + 1)]._y) / _local1.enemy_speed;
_local3.onEnterFrame = function () {
var _local2 = _root;
var _local3 = this;
if (_local2.game_ok) {
_local3._x = _local3._x - Rx;
_local3._y = _local3._y - Ry;
var _local1 = 11;
while (_local1 <= 15) {
if (_local3.hitTest(_local2["fire" + _local1].hit)) {
if (_local2["fire" + _local1]._currentframe == 2) {
_local2["fire" + _local1].removeMovieClip();
}
_local3.mc.mc.nextFrame();
}
_local1++;
}
if (_local3.hitTest(_local2.bomb_mc.hit)) {
_local3.mc.mc.nextFrame();
}
if (_local3.hitTest(_local2.char_mc.hit)) {
delete _local3.onEnterFrame;
_local2.press_ok = false;
_local2.fire_time.gotoAndStop(1);
_local2.char_mc.gotoAndStop("hit");
_local2.interface.life_mc._xscale = _local2.interface.life_mc._xscale - 5;
if (_local2.interface.life_mc._xscale <= 0) {
_local2.interface.life_mc._xscale = 0;
delete _local2.time_attack.onEnterFrame;
_local2.game_ok = false;
_local2.char_mc.gotoAndStop("die");
_local2.FN_Clear();
}
_local3.removeMovieClip();
} else if (_local3.hitTest(_local2.wall_mc.hit)) {
delete _local3.onEnterFrame;
_local2.wall_mc.play();
_local2.interface.life_mc._xscale = _local2.interface.life_mc._xscale - 1;
if (_local2.interface.life_mc._xscale <= 0) {
_local2.interface.life_mc._xscale = 0;
delete _local2.time_attack.onEnterFrame;
_local2.game_ok = false;
_local2.char_mc.gotoAndStop("die");
_local2.FN_Clear();
}
_local3.removeMovieClip();
}
}
};
}
this.stop();
Symbol 190 MovieClip Frame 2
FN_Move();
Symbol 190 MovieClip Frame 3
FN_Move();
Symbol 190 MovieClip Frame 4
FN_Move();
Symbol 190 MovieClip Frame 5
var random_frame = ((int(_root.level_num / 5) % 3) + 1);
if (random_frame == 1) {
random_frame = 4;
}
this.gotoAndStop(random_frame);
Symbol 208 MovieClip Frame 11
this.stop();
Symbol 218 MovieClip Frame 11
this.stop();
Symbol 224 MovieClip Frame 3
_root.score_num = _root.score_num + 15;
_root.FN_Score();
Symbol 224 MovieClip Frame 16
this.stop();
_root.enemy_kill++;
_parent.removeMovieClip();
Symbol 225 MovieClip Frame 1
this.stop();
Symbol 225 MovieClip Frame 4
if (_root.interface.Lbomb_mc._xscale < 99) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 2;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent._parent.onEnterFrame;
Symbol 238 MovieClip Frame 10
stop();
Symbol 240 MovieClip Frame 11
stop();
Symbol 246 MovieClip Frame 11
stop();
Symbol 247 MovieClip Frame 1
this.stop();
Symbol 247 MovieClip Frame 4
if (_root.interface.Lbomb_mc._xscale < 99) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 3;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent._parent.onEnterFrame;
Symbol 273 MovieClip Frame 11
stop();
Symbol 277 MovieClip Frame 11
stop();
Symbol 278 MovieClip Frame 1
this.stop();
Symbol 278 MovieClip Frame 4
if (_root.interface.Lbomb_mc._xscale < 99) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 4;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent._parent.onEnterFrame;
Symbol 289 MovieClip Frame 11
stop();
Symbol 293 MovieClip Frame 11
stop();
Symbol 294 MovieClip Frame 1
this.stop();
Symbol 294 MovieClip Frame 4
if (_root.interface.Lbomb_mc._xscale < 99) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 5;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent._parent.onEnterFrame;
Symbol 304 MovieClip Frame 11
stop();
Symbol 308 MovieClip Frame 11
stop();
Symbol 309 MovieClip Frame 1
this.stop();
Symbol 309 MovieClip Frame 5
if (_root.interface.Lbomb_mc._xscale < 99) {
_root.interface.Lbomb_mc._xscale = _root.interface.Lbomb_mc._xscale + 6;
} else {
_root.interface.Lbomb_mc._xscale = 100;
_root.interface.Lbomb_mc.play();
}
_parent.stop();
delete _parent._parent.onEnterFrame;
Symbol 311 MovieClip Frame 1
function FN_Move() {
var _local1 = _root;
var _local3 = this;
if (_local1.level_num <= 50) {
_local3._xscale = 100 - (Math.floor(_local1.level_num / 5) * 5);
_local3._yscale = 100 - (Math.floor(_local1.level_num / 5) * 5);
} else if (_local1.level_num > 50) {
_local3._xscale = 50;
_local3._yscale = 50;
}
Rx = (_local3._x - _parent["target_enemy" + (random(5) + 1)]._x) / _local1.enemy_speed;
Ry = (_local3._y - _parent["target_enemy" + (random(5) + 1)]._y) / _local1.enemy_speed;
_local3.onEnterFrame = function () {
var _local2 = _root;
var _local3 = this;
if (_local2.game_ok) {
_local3._x = _local3._x - Rx;
_local3._y = _local3._y - Ry;
var _local1 = 11;
while (_local1 <= 15) {
if (_local3.hitTest(_local2["fire" + _local1].hit)) {
if (_local2["fire" + _local1]._currentframe == 2) {
_local2["fire" + _local1].removeMovieClip();
}
_local3.mc.mc.nextFrame();
}
_local1++;
}
if (_local3.hitTest(_local2.bomb_mc.hit)) {
_local3.mc.mc.nextFrame();
}
if (_local3.hitTest(_local2.char_mc.hit)) {
delete _local3.onEnterFrame;
_local2.press_ok = false;
_local2.fire_time.gotoAndStop(1);
_local2.char_mc.gotoAndStop("hit");
_local2.interface.life_mc._xscale = _local2.interface.life_mc._xscale - 5;
if (_local2.interface.life_mc._xscale <= 0) {
_local2.interface.life_mc._xscale = 0;
_local2.game_ok = false;
_local2.char_mc.gotoAndStop("die");
_local2.FN_Clear();
}
_local3.removeMovieClip();
} else if (_local3.hitTest(_local2.wall_mc.hit)) {
delete _local3.onEnterFrame;
_local2.wall_mc.play();
_local2.interface.life_mc._xscale = _local2.interface.life_mc._xscale - 1;
if (_local2.interface.life_mc._xscale <= 0) {
_local2.interface.life_mc._xscale = 0;
_local2.game_ok = false;
_local2.char_mc.gotoAndStop("die");
_local2.FN_Clear();
}
_local3.removeMovieClip();
}
}
};
}
this.stop();
Symbol 311 MovieClip Frame 2
FN_Move();
Symbol 311 MovieClip Frame 3
FN_Move();
Symbol 311 MovieClip Frame 4
FN_Move();
Symbol 311 MovieClip Frame 5
FN_Move();
Symbol 311 MovieClip Frame 6
FN_Move();
Symbol 311 MovieClip Frame 7
var random_frame = ((_root.level_num % 5) + 1);
if (random_frame == 1) {
random_frame = 6;
}
this.gotoAndStop(random_frame);
Symbol 319 MovieClip Frame 1
this.stop();
Symbol 338 MovieClip Frame 1
this.stop();
Symbol 350 MovieClip Frame 9
stop();
Symbol 352 MovieClip Frame 7
_root.press_ok = true;
_parent.gotoAndStop("first");
Symbol 356 MovieClip Frame 4
stop();
Symbol 372 MovieClip Frame 26
_root.text_mc.gotoAndStop("gameover");
Symbol 372 MovieClip Frame 41
this.stop();
Symbol 373 MovieClip Frame 1
this.stop();
Symbol 386 MovieClip Frame 1
function FN_Move() {
var _local1 = this;
var _local2 = _root;
_local2.fire_time.play();
_local1.onEnterFrame = function () {
var _local1 = this;
if (_root.game_ok) {
if (_local1._currentframe == 2) {
speed = speed + 0.7;
_local1._x = _local1._x + (10 + speed);
} else {
speed = speed + 0.3;
_local1._x = _local1._x + (5 + speed);
}
if (_local1._x > 560) {
if (_local1._currentframe == 3) {
_root.boss_mc.ok1 = true;
}
delete _local1.onEnterFrame;
_local1.removeMovieClip();
}
}
};
}
this.stop();
var speed = 0;
Symbol 386 MovieClip Frame 2
FN_Move();
Symbol 386 MovieClip Frame 3
FN_Move();
Symbol 390 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 1
this.stop();
_root.boss_mc.count = 0;
Symbol 409 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 1
stop();
Instance of Symbol 409 MovieClip in Symbol 410 MovieClip Frame 1
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
this.prevFrame();
_root.FN_stop();
}
Symbol 415 MovieClip Frame 72
this.stop();
_root.bomb_num1 = true;
Symbol 422 MovieClip Frame 2
if (_parent.bubi._currentframe == 1) {
_parent.bubi.play();
}
Symbol 422 MovieClip Frame 11
this.gotoAndPlay(2);
Symbol 424 MovieClip Frame 1
this.stop();
Symbol 424 MovieClip Frame 10
this.stop();
Symbol 439 MovieClip Frame 77
this.stop();
_root.SoundObj.start(0, 999);
if (_root.boss_ok) {
_root.time_attack.nextFrame();
_root.boss_mc.gotoAndStop("into");
}
if (_root.interface.bomb_mc._currentframe != _root.interface.bomb_mc._totalframes) {
_root.interface.bomb_mc.play();
}
if (_root.interface.Lbomb_mc._xscale == 100) {
_root.interface.Lbomb_mc.play();
}
_root.game_ok = true;
_parent.gotoAndStop(1);
Symbol 450 Button
on (keyPress "<Space>") {
this.play();
}
on (press) {
this.play();
}
Symbol 451 MovieClip Frame 42
this.stop();
Symbol 451 MovieClip Frame 57
this.stop();
_root.FN_levelup();
_parent.gotoAndStop(1);
Symbol 457 MovieClip Frame 57
this.stop();
_parent.gotoAndStop("start");
Symbol 464 MovieClip Frame 56
this.stop();
stopAllSounds();
_root.gotoAndStop("gameover");
Symbol 465 MovieClip Frame 1
this.stop();
Symbol 465 MovieClip Frame 3
_root.interface.Lbomb_mc.gotoAndStop(1);
Symbol 465 MovieClip Frame 4
_root.interface.Lbomb_mc.gotoAndStop(1);
Symbol 465 MovieClip Frame 5
_root.interface.Lbomb_mc.gotoAndStop(1);
Symbol 467 Button
on (press) {
if (press_ok && (game_ok)) {
_root["FN_fire" + fire_chooseNum]();
}
}
on (keyPress "<Space>") {
press_ok = true;
if ((this.char_mc.mc._currentframe == 1) || (this.char_mc.mc._currentframe == 2)) {
fire_chooseNum = 2;
this.mouse_mc.gotoAndStop(2);
this.char_mc.mc.gotoAndStop(3);
this.interface.fire_mc.gotoAndStop(2);
} else if (this.char_mc.mc._currentframe == 3) {
fire_chooseNum = 3;
this.mouse_mc.gotoAndStop(3);
this.char_mc.mc.gotoAndStop(4);
this.interface.fire_mc.gotoAndStop(3);
} else {
fire_chooseNum = 1;
this.mouse_mc.gotoAndStop(1);
this.interface.fire_mc.gotoAndStop(1);
if (fire_num == 2) {
this.char_mc.mc.gotoAndStop(1);
} else {
this.char_mc.mc.gotoAndStop(2);
}
}
}
Symbol 472 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
this.stop();
Instance of Symbol 12 MovieClip in Symbol 473 MovieClip Frame 1
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_root.soundFrame = 2;
_root.vol = 0;
_root.volume_controler.nextFrame();
_parent.nextFrame();
}
Instance of Symbol 15 MovieClip in Symbol 473 MovieClip Frame 2
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_root.soundFrame = 1;
_root.vol = 1;
_root.volume_controler.prevFrame();
_parent.prevFrame();
}
Symbol 476 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 1
stop();
Instance of Symbol 476 MovieClip in Symbol 477 MovieClip Frame 1
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
_root.FN_play();
}
Symbol 478 MovieClip Frame 1
this.stop();
Symbol 478 MovieClip Frame 2
this.gara_btn.useHandCursor = false;
this.volume_controler.gotoAndStop(_parent.soundFrame);
Instance of Symbol 472 MovieClip in Symbol 478 MovieClip Frame 2
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.gotoAndStop(1);
}
on (release) {
_root.FN_play();
}
Symbol 480 MovieClip Frame 9
this.stop();
_root.press_ok = true;
Symbol 483 MovieClip Frame 1
this.stop();
Symbol 483 MovieClip Frame 3
this.gotoAndStop(1);
Symbol 483 MovieClip Frame 8
this.gotoAndStop(1);
Symbol 491 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 1
stop();
Symbol 501 Button
on (rollOver) {
this.nextFrame();
}
on (rollOut) {
this.prevFrame();
}
on (press) {
this.prevFrame();
_parent.text_mc.gotoAndStop("login");
}
Symbol 504 MovieClip Frame 1
stop();