Frame 1
fscommand ("allowscale", "false");
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (keyDown) {
if (Key.isDown(16) and Key.isDown(78)) {
_root.EC++;
_root.nextFrame();
}
if (Key.isDown(16) and Key.isDown(66)) {
_root.gotoAndPlay(3);
}
}
Frame 3
stop();
stopAllSounds();
score = 0;
combo = 0;
lastcombo = 0;
maxcombo = 0;
powerstock = 3;
fanalscore = 0;
powerbonus = 0;
FT = 0;
EC = 0;
Frame 4
stop();
if (EC != 1) {
gotoAndPlay (1);
}
Instance of Symbol 31 MovieClip in Frame 4
onClipEvent (load) {
function tenaA(startFT) {
var ft = (_root.FT - startFT);
if (((ft == 10) or (ft == 20)) or (ft == 30)) {
_root.Ptena.make(640, 50, -1);
_root.Ptena.make(640, 350, 1);
}
}
function tenaB(startFT) {
var ft = (_root.FT - startFT);
if (((ft == 10) or (ft == 20)) or (ft == 30)) {
_root.Ptena.make(450, -50, -1);
_root.Ptena.make(450, 450, 1);
}
}
function missileA(startFT) {
var ft = (_root.FT - startFT);
if (((((ft == 10) or (ft == 20)) or (ft == 30)) or (ft == 40)) or (ft == 50)) {
_root.Pmissile.make(640, ft * 2, 5);
_root.Pmissile.make(640, 400 - (ft * 2), -5);
}
}
function missileB(startFT) {
var ft = (_root.FT - startFT);
if (((((ft == 10) or (ft == 20)) or (ft == 30)) or (ft == 40)) or (ft == 50)) {
_root.Pmissile.make(640, (ft * 4) - 20, 0);
_root.Pmissile.make(640, 420 - (ft * 4), 0);
}
}
function missileC(startFT) {
var ft = (_root.FT - startFT);
if (((((ft == 10) or (ft == 20)) or (ft == 30)) or (ft == 40)) or (ft == 50)) {
_root.Pmissile.make(640, 210 - (ft * 4), 0);
_root.Pmissile.make(640, 190 + (ft * 4), 0);
}
}
function bombA(startFT) {
var ft = (_root.FT - startFT);
if ((((ft == 10) or (ft == 20)) or (ft == 30)) or (ft == 40)) {
_root.Pbomb.make(-40, (ft * 10) - 50, -1);
}
}
function bombB(startFT) {
var ft = (_root.FT - startFT);
if ((((ft == 10) or (ft == 20)) or (ft == 30)) or (ft == 40)) {
_root.Pbomb.make(640, 450 - (ft * 10), 1);
}
}
}
onClipEvent (enterFrame) {
if ((_root.FT >= 50) and (100 >= _root.FT)) {
this.missileB(50);
}
if ((_root.FT >= 150) and (200 >= _root.FT)) {
this.missileA(150);
}
if (_root.FT == 250) {
_root.Pzaku.make(-50, 180, 1);
}
if ((_root.FT >= 300) and (340 >= _root.FT)) {
this.bombA(300);
}
if ((_root.FT >= 350) and (380 >= _root.FT)) {
this.tenaA(350);
}
if (_root.FT == 320) {
_root.Pship.make(-20, -100, 0.5, 1);
}
if (_root.FT == 470) {
_root.Pship.make(30, 500, 0.5, -1);
}
if ((_root.FT >= 700) and (740 >= _root.FT)) {
this.bombB(700);
}
if ((_root.FT >= 750) and (780 >= _root.FT)) {
this.tenaB(750);
}
if ((_root.FT >= 850) and (880 >= _root.FT)) {
this.tenaA(850);
}
if ((_root.FT >= 900) and (950 >= _root.FT)) {
this.missileA(900);
}
if ((_root.FT >= 1000) and (1050 >= _root.FT)) {
this.missileC(1000);
}
if (_root.FT == 1100) {
_root.Pzaku.make(650, 180, 1);
}
if (_root.FT == 1200) {
_root.Pzaku.make(-50, 180, -1);
}
if (_root.FT == 1300) {
_root.Pzaku.make(650, 180, -1);
}
if ((_root.FT >= 1200) and (1240 >= _root.FT)) {
this.bombA(1200);
}
if ((_root.FT >= 1260) and (1300 >= _root.FT)) {
this.bombB(1260);
}
if ((_root.FT >= 1320) and (1360 >= _root.FT)) {
this.bombA(1320);
}
if ((_root.FT >= 1350) and (1380 >= _root.FT)) {
this.tenaB(1350);
}
if (_root.FT == 1400) {
_root.Pship.make(-150, 320, 2, 0);
}
if (_root.FT == 1500) {
_root.Pship.make(-150, 120, 2, 0);
}
if ((_root.FT >= 1450) and (1500 >= _root.FT)) {
this.missileC(1450);
}
if ((_root.FT >= 1750) and (1800 >= _root.FT)) {
this.missileB(1750);
}
if ((_root.FT >= 1850) and (1880 >= _root.FT)) {
this.tenaB(1850);
}
}
Instance of Symbol 33 MovieClip "timer" in Frame 4
onClipEvent (load) {
_root.FT = 0;
}
onClipEvent (enterFrame) {
_root.FT++;
if (_root.FT == 2000) {
_root.EC++;
_root.nextFrame();
}
}
Instance of Symbol 36 MovieClip "Pmissile" in Frame 4
onClipEvent (load) {
function make(x, y, type) {
ii = -1;
i = 0;
while (i < maxmissile) {
if (missile[i].w == 0) {
ii = i;
missile[i].w = 80;
break;
}
i++;
}
if (ii >= 0) {
missile[ii]._x = x;
missile[ii]._y = y;
missile[ii].type = type;
missile[ii].HP = 1;
}
}
function move() {
i = 0;
while (i < maxmissile) {
if (0 < missile[i].w) {
missile[i].w--;
missile[i]._x = missile[i]._x - 10;
missile[i]._y = missile[i]._y + missile[i].type;
if (missile[i].hitTest(_root.giko.beam) and missile[i].hitTest(_root.back)) {
missile[i]._alpha = 80;
missile[i].HP = missile[i].HP - _root.giko.power;
_root.combo++;
if (0 >= missile[i].HP) {
_root.Pammo.make(missile[i]._x, missile[i]._y, -3, 0, 0);
_root.Paboon.make(missile[i]._x, missile[i]._y);
_root.score = _root.score + (_root.combo * 100);
this.remove(i);
}
} else {
missile[i]._alpha = 100;
}
if (missile[i].hitTest(_root.giko.wp)) {
_root.giko.lose();
}
if (missile[i].w == 40) {
_root.Pammo.make(missile[i]._x, missile[i]._y, 3, 2, 0);
_root.Pammo.make(missile[i]._x, missile[i]._y, 3, -2, 0);
}
} else {
this.remove(i);
}
i++;
}
}
function remove(i) {
missile[i]._x = -120;
missile[i]._y = i * 20;
missile[i].w = 0;
}
this._x = 0;
this._y = 0;
maxmissile = 10;
Omissile._visible = 0;
missile = new Array();
i = 0;
while (i < maxmissile) {
Omissile.duplicateMovieClip("missile" + i, i);
missile[i] = eval ("missile" + i);
this.remove(i);
i++;
}
}
onClipEvent (enterFrame) {
this.move();
}
Instance of Symbol 44 MovieClip "Pbomb" in Frame 4
onClipEvent (load) {
function make(x, y, type) {
ii = -1;
i = 0;
while (i < maxbomb) {
if (bomb[i].w == 0) {
ii = i;
bomb[i].w = 60;
bomb[i].gotoAndStop(1);
break;
}
i++;
}
if (ii >= 0) {
bomb[ii]._x = x;
bomb[ii]._y = y;
bomb[ii].type = type;
bomb[ii].HP = 5;
}
}
function move() {
i = 0;
while (i < maxbomb) {
if (0 < bomb[i].w) {
bomb[i].w--;
bomb[i]._x = bomb[i]._x - ((bomb[i].w * bomb[i].type) * 0.2);
if (bomb[i].wp.hitTest(_root.giko.beam) and bomb[i].wp.hitTest(_root.back)) {
bomb[i]._alpha = 80;
bomb[i].HP = bomb[i].HP - _root.giko.power;
_root.combo++;
if (0 >= bomb[i].HP) {
_root.Paboon.make(bomb[i]._x, bomb[i]._y);
_root.score = _root.score + (_root.combo * 200);
this.remove(i);
}
} else {
bomb[i]._alpha = 100;
}
if (bomb[i].wp.hitTest(_root.giko.wp) or bomb[i].wps.hitTest(_root.giko.wp)) {
_root.giko.lose();
}
if ((10 >= bomb[i].w) and (bomb[i].w >= 1)) {
bomb[i].gotoAndStop(2);
}
} else {
this.remove(i);
}
i++;
}
}
function remove(i) {
bomb[i].gotoAndStop(1);
bomb[i]._x = -140;
bomb[i]._y = i * 20;
bomb[i].w = 0;
}
this._x = 0;
this._y = 0;
maxbomb = 4;
Obomb._visible = 0;
bomb = new Array();
i = 0;
while (i < maxbomb) {
Obomb.duplicateMovieClip("bomb" + i, i);
bomb[i] = eval ("bomb" + i);
this.remove(i);
i++;
}
}
onClipEvent (enterFrame) {
this.move();
}
Instance of Symbol 48 MovieClip "Pzaku" in Frame 4
onClipEvent (load) {
function make(x, y, type) {
ii = -1;
i = 0;
while (i < maxzaku) {
if (zaku[i].w == 0) {
ii = i;
zaku[i].w = 31;
break;
}
i++;
}
if (ii >= 0) {
zaku[ii]._x = x;
zaku[ii]._y = y;
zaku[ii].type = type;
zaku[ii].HP = 60;
}
}
function move() {
i = 0;
while (i < maxzaku) {
zaku[i].w--;
if (0 < zaku[i].w) {
if (zaku[i]._x < 450) {
zaku[i]._x = zaku[i]._x + 10;
} else if (450 < zaku[i]._x) {
zaku[i]._x = zaku[i]._x - 5;
} else {
zaku[i]._y = zaku[i]._y + (5 * zaku[i].type);
}
if (zaku[i]._y < 0) {
zaku[i].type = 1;
} else if (400 < zaku[i]._y) {
zaku[i].type = -1;
}
if (zaku[i].wp.hitTest(_root.giko.beam) and zaku[i].hitTest(_root.back)) {
zaku[i]._alpha = 80;
zaku[i].HP = zaku[i].HP - _root.giko.power;
_root.combo++;
if (0 >= zaku[i].HP) {
_root.Paboon.make(zaku[i]._x, zaku[i]._y);
_root.score = _root.score + (_root.combo * 300);
this.remove(i);
}
} else {
zaku[i]._alpha = 100;
}
if (zaku[i].wp.hitTest(_root.giko.wp)) {
_root.giko.lose();
}
if (zaku[i].w == 1) {
_root.Pammo.make(zaku[i]._x, zaku[i]._y, -6, 0, 0);
_root.Pammo.make(zaku[i]._x, zaku[i]._y, -4, 4, 0);
_root.Pammo.make(zaku[i]._x, zaku[i]._y, -4, -4, 0);
zaku[i].w = 31;
}
} else {
this.remove(i);
}
i++;
}
}
function remove(i) {
zaku[i]._x = -160;
zaku[i]._y = i * 20;
zaku[i].w = 0;
}
this._x = 0;
this._y = 0;
maxzaku = 3;
Ozaku._visible = 0;
zaku = new Array();
i = 0;
while (i < maxzaku) {
Ozaku.duplicateMovieClip("zaku" + i, i);
zaku[i] = eval ("zaku" + i);
this.remove(i);
i++;
}
}
onClipEvent (enterFrame) {
this.move();
}
Instance of Symbol 53 MovieClip "Ptena" in Frame 4
onClipEvent (load) {
function make(x, y, type) {
ii = -1;
i = 0;
while (i < maxtena) {
if (tena[i].w == 0) {
ii = i;
tena[i].w = 80;
break;
}
i++;
}
if (ii >= 0) {
tena[ii]._x = x;
tena[ii]._y = y;
tena[ii].type = type;
tena[ii].HP = 5;
}
}
function move() {
i = 0;
while (i < maxtena) {
if (0 < tena[i].w) {
tena[i].w--;
tena[i]._x = tena[i]._x - ((tena[i].w - 50) * 0.8);
tena[i]._y = tena[i]._y - (4 * tena[i].type);
if (tena[i].wp.hitTest(_root.giko.beam) and tena[i].wp.hitTest(_root.back)) {
tena[i]._alpha = 80;
tena[i].HP = tena[i].HP - _root.giko.power;
_root.combo++;
if (0 >= tena[i].HP) {
_root.Paboon.make(tena[i]._x, tena[i]._y);
_root.score = _root.score + (_root.combo * 200);
this.remove(i);
}
} else {
tena[i]._alpha = 100;
}
if (tena[i].wp.hitTest(_root.giko.wp)) {
_root.giko.lose();
}
if (tena[i].w == 50) {
_root.Pammo.make(tena[i]._x, tena[i]._y, 8, 8, 1);
}
} else {
this.remove(i);
}
i++;
}
}
function remove(i) {
tena[i]._x = -100;
tena[i]._y = i * 40;
tena[i].w = 0;
}
this._x = 0;
this._y = 0;
maxtena = 6;
Otena._visible = 0;
tena = new Array();
i = 0;
while (i < maxtena) {
Otena.duplicateMovieClip("tena" + i, i);
tena[i] = eval ("tena" + i);
this.remove(i);
i++;
}
}
onClipEvent (enterFrame) {
this.move();
}
Instance of Symbol 63 MovieClip "Pship" in Frame 4
onClipEvent (load) {
function make(x, y, xs, ys) {
ii = -1;
i = 0;
while (i < maxship) {
if (ship[i].w == 0) {
ii = i;
ship[i].w = 120;
ship[i].gotoAndStop(1);
nextFrame();
break;
}
i++;
}
if (ii >= 0) {
ship[ii]._x = x;
ship[ii]._y = y;
ship[ii].xs = xs;
ship[ii].ys = ys;
ship[ii].HP = 100;
}
}
function move() {
i = 0;
while (i < maxship) {
if (0 < ship[i].w) {
ship[i].w--;
ship[i]._x = ship[i]._x + ship[i].xs;
ship[i]._y = ship[i]._y + ship[i].ys;
if (ship[i].hitTest(_root.back)) {
if (ship[i].wpA.hitTest(_root.giko.beam) or ship[i].wpB.hitTest(_root.giko.beam)) {
ship[i]._alpha = 80;
ship[i].HP = ship[i].HP - _root.giko.power;
_root.combo++;
if (0 >= ship[i].HP) {
_root.score = _root.score + (_root.combo * 300);
ship[i].w = -1;
ship[i].gotoAndStop(4);
}
} else {
ship[i]._alpha = 100;
}
} else if (60 >= ship[i].w) {
ship[i].w = 0;
}
if (ship[i].wpA.hitTest(_root.giko.wp) or ship[i].beam.hitTest(_root.giko.wp)) {
_root.giko.lose();
}
if (((ship[i].w == 41) or (ship[i].w == 21)) or (ship[i].w == 1)) {
_root.Pammo.make(ship[i]._x - 100, ship[i]._y - 100, 8, 8, 1);
}
if (((ship[i].w == 62) or (ship[i].w == 31)) or (ship[i].w == 1)) {
if (ship[i]._currentframe == 3) {
ship[i].gotoAndStop(1);
} else {
ship[i].nextFrame();
}
}
if (ship[i].w == 1) {
ship[i].w = 61;
}
} else if (ship[i].w == 0) {
this.remove(i);
}
i++;
}
}
function remove(i) {
ship[i].gotoAndStop(1);
ship[i]._x = -300;
ship[i]._y = i * 80;
ship[i].w = 0;
}
this._x = 0;
this._y = 0;
maxship = 2;
Oship._visible = 0;
ship = new Array();
i = 0;
while (i < maxship) {
Oship.duplicateMovieClip("ship" + i, i);
ship[i] = eval ("ship" + i);
this.remove(i);
i++;
}
}
onClipEvent (enterFrame) {
this.move();
}
Instance of Symbol 66 MovieClip "Pammo" in Frame 4
onClipEvent (load) {
function make(x, y, xs, ys, type) {
ii = -1;
i = 0;
while (i < maxammo) {
if (ammo[i].w == 0) {
ii = i;
ammo[i].w = 1;
break;
}
i++;
}
if (ii >= 0) {
ammo[ii]._x = x;
ammo[ii]._y = y;
if (type == 1) {
xx = _root.giko._x - x;
yy = _root.giko._y - y;
r = Math.atan2(yy, xx);
s = Math.sin(r);
c = Math.cos(r);
ammo[ii].xs = xs * c;
ammo[ii].ys = ys * s;
} else {
ammo[ii].xs = xs;
ammo[ii].ys = ys;
}
}
}
function move() {
i = 0;
while (i < maxammo) {
if (ammo[i].hitTest(_root.back)) {
ammo[i]._x = ammo[i]._x + ammo[i].xs;
ammo[i]._y = ammo[i]._y + ammo[i].ys;
if (ammo[i].hitTest(_root.giko.wp)) {
_root.giko.lose();
}
if (ammo[i].hitTest(_root.giko.beam) and (_root.giko.f == 3)) {
this.remove(i);
}
} else {
this.remove(i);
}
i++;
}
}
function remove(i) {
ammo[i]._x = -10;
ammo[i]._y = i * 10;
ammo[i].w = 0;
}
this._x = 0;
this._y = 0;
maxammo = 20;
Oammo._visible = 0;
ammo = new Array();
i = 0;
while (i < maxammo) {
Oammo.duplicateMovieClip("ammo" + i, i);
ammo[i] = eval ("ammo" + i);
this.remove(i);
i++;
}
}
onClipEvent (enterFrame) {
this.move();
}
Instance of Symbol 68 MovieClip "Paboon" in Frame 4
onClipEvent (load) {
function make(x, y) {
ii = -1;
i = 0;
while (i < maxaboon) {
if (aboon[i].w == 0) {
ii = i;
aboon[i].w = 1;
break;
}
i++;
}
if (ii >= 0) {
aboon[ii]._x = x;
aboon[ii]._y = y;
}
}
function move() {
i = 0;
while (i < maxaboon) {
if (aboon[i].hitTest(_root.back)) {
aboon[i]._alpha = aboon[i]._alpha - 10;
if (0 >= aboon[i]._alpha) {
this.remove(i);
}
} else {
this.remove(i);
}
i++;
}
}
function remove(i) {
aboon[i]._alpha = 100;
aboon[i]._x = -80;
aboon[i]._y = i * 40;
aboon[i].w = 0;
}
this._x = 0;
this._y = 0;
maxaboon = 6;
Oaboon._visible = 0;
aboon = new Array();
i = 0;
while (i < maxaboon) {
Oaboon.duplicateMovieClip("aboon" + i, i);
aboon[i] = eval ("aboon" + i);
this.remove(i);
i++;
}
}
onClipEvent (enterFrame) {
this.move();
}
Instance of Symbol 91 MovieClip "giko" in Frame 4
onClipEvent (load) {
function move(speed) {
xspeed = 0;
yspeed = 0;
if (Key.isDown(39) and Key.isDown(38)) {
speed = (speed * 2) / 3;
}
if (Key.isDown(39) and Key.isDown(40)) {
speed = (speed * 2) / 3;
}
if (Key.isDown(37) and Key.isDown(38)) {
speed = (speed * 2) / 3;
}
if (Key.isDown(37) and Key.isDown(40)) {
speed = (speed * 2) / 3;
}
if (Key.isDown(39)) {
xspeed = xspeed + speed;
}
if (Key.isDown(37)) {
xspeed = xspeed - speed;
}
if (Key.isDown(38)) {
yspeed = yspeed - speed;
}
if (Key.isDown(40)) {
yspeed = yspeed + speed;
}
if (4 >= this._currentframe) {
this._x = this._x + xspeed;
this._y = this._y + yspeed;
}
if (560 < this._x) {
this._x = 560;
}
if (this._x < 40) {
this._x = 40;
}
if (387 < this._y) {
this._y = 387;
}
if (this._y < 10) {
this._y = 10;
}
}
function weapon() {
if (0 < ready) {
ready--;
}
if (10 >= ready) {
if (energy == 0) {
f = 1;
condition = 1;
_root.underbar.red();
} else if (energy == 200) {
condition = 0;
_root.underbar.blue();
}
if (energy < 200) {
energy = energy + 1;
}
if (condition == 0) {
if (Key.isDown(32) and (0 < _root.powerstock)) {
f = 3;
power = 2;
energy = 100;
_root.powerstock--;
condition = 1;
_root.underbar.red();
} else if (Key.isDown(67) and (ready == 0)) {
f = 5;
power = 3;
ready = 20;
energy = energy - 40;
} else if (Key.isDown(90) and (ready == 0)) {
f = 6;
power = 3;
ready = 20;
energy = energy - 40;
} else if (Key.isDown(88)) {
f = 2;
power = 1;
energy = energy - 2;
} else {
f = 1;
}
if (0 >= energy) {
energy = 0;
}
}
this.gotoAndStop(f);
}
}
function lose() {
if (0 < _root.powerstock) {
ready = 30;
_root.powerstock--;
this.gotoAndStop(4);
} else {
ready = 100;
_root.powerstock--;
this.gotoAndStop(7);
}
}
this._x = 300;
this._y = 200;
ready = 0;
energy = 200;
f = 1;
condition = 0;
power = 0;
}
onClipEvent (enterFrame) {
this.move(15);
this.weapon();
}
Instance of Symbol 115 MovieClip "underbar" in Frame 4
onClipEvent (load) {
function red() {
barcolor = new Color(this.energybar);
barcolor.setRGB(16724838);
this.overheat._visible = 1;
}
function blue() {
barcolor = new Color(this.energybar);
barcolor.setRGB(6711039);
this.overheat._visible = 0;
}
function enemy() {
enemybarcolor = new Color(this.enemybar);
enemybarcolor.setRGB(16724838);
this.stagepanel._visible = 0;
}
function combo() {
if ((_root.giko.f == 1) and (0 < _root.giko.power)) {
_root.lastcombo = _root.combo;
_root.score = _root.score + (_root.combo * _root.combo);
if (_root.maxcombo < _root.combo) {
_root.maxcombo = _root.combo;
}
_root.combo = 0;
_root.giko.power = 0;
}
if (_root.giko.f == 1) {
this.finalcombo._visible = 1;
} else {
this.finalcombo._visible = 0;
}
}
this.dangerpanel._visible = 0;
this.energybar._xscale = 0;
this.enemybar._xscale = 0;
this.overheat._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.powerstock == 0) {
this.dangerpanel._visible = 1;
} else {
this.dangerpanel._visible = 0;
}
this.energybar._xscale = _root.giko.energy;
this.enemybar._xscale = _root.FT * 0.1;
this.combo();
}
Frame 5
stop();
if (EC != 2) {
gotoAndPlay (1);
}
Instance of Symbol 122 MovieClip "demae" in Frame 5
onClipEvent (load) {
this._x = -60;
this._y = 60;
}
onClipEvent (enterFrame) {
this._x = this._x + 5;
if (this._x == 300) {
_root.hiyasichuuka.w = 1;
}
if (this._x == 660) {
_root.EC++;
_root.nextFrame();
}
}
Instance of Symbol 124 MovieClip "hiyasichuuka" in Frame 5
onClipEvent (load) {
this._x = -50;
this._y = 300;
w = 0;
}
onClipEvent (enterFrame) {
if (w == 1) {
this._x = _root.demae._x;
this._y = _root.demae._y;
w = 2;
}
if (w == 2) {
this._y = this._y + 5;
}
if (this.hitTest(_root.giko)) {
_root.powerstock++;
this._x = -50;
this._y = 300;
w = 0;
}
}
Frame 6
stop();
if (EC != 3) {
gotoAndPlay (1);
}
Instance of Symbol 134 MovieClip in Frame 6
onClipEvent (load) {
function move() {
if (w == 0) {
_root.nextFrame();
}
if (0 < w) {
w--;
if (w == 180) {
px = _root.giko._x + 30;
xx = _root.giko._x - this._x;
yy = _root.giko._y - this._y;
r = Math.atan2(yy, xx);
s = Math.sin(r);
c = Math.cos(r);
type = 1;
}
if (type == 2) {
pose--;
if (pose == 0) {
gotoAndPlay (1);
type = 0;
}
}
if (type == 0) {
if (this._x < 500) {
this._x = this._x + 10;
} else if (500 < this._x) {
this._x = 500;
} else {
this._y = this._y + (5 * v);
if (this._y < 70) {
v = 1;
} else if (400 < this._y) {
v = -1;
}
}
} else if (type == 1) {
this._x = this._x + (15 * c);
this._y = this._y + (15 * s);
if (0 >= (this._x - px)) {
gotoAndStop (3);
pose = 10;
type = 2;
}
}
if (this.wp.hitTest(_root.giko.beam) and this.hitTest(_root.back)) {
this._alpha = 80;
this.HP = this.HP - _root.giko.power;
_root.combo++;
if (0 >= this.HP) {
_root.score = _root.score + (_root.combo * 1000);
gotoAndStop (5);
w = -1;
}
} else {
this._alpha = 100;
}
if (this.wp.hitTest(_root.giko.wp) or this.ht.hitTest(_root.giko.wp)) {
_root.giko.lose();
}
if ((w % 30) == 1) {
_root.Pammo.make(this._x - 60, this._y - 30, -6, 0, 0);
_root.Pammo.make(this._x - 60, this._y - 30, -4, 4, 0);
_root.Pammo.make(this._x - 60, this._y - 30, -4, -4, 0);
_root.Pammo.make(this._x - 60, this._y - 30, 2, 2, 1);
}
if (w == 1) {
w = 181;
}
}
}
_root.underbar.enemy();
HP = 1000;
type = 0;
w = 181;
v = 1;
}
onClipEvent (enterFrame) {
_root.FT = HP * 2;
this.move();
}
Frame 7
stop();
if (maxcombo < combo) {
maxcombo = combo;
}
powerbonus = powerstock * 100000;
finalscore = (score + powerbonus) + maxcombo;
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip Frame 1
onClipEvent (load) {
fps = 0;
starttime = getTimer();
countflame = 0;
this._visible = 0;
}
onClipEvent (enterFrame) {
countflame++;
nexttime = getTimer();
if ((nexttime - starttime) >= 1000) {
fps = countflame;
starttime = getTimer();
countflame = 0;
}
}
onClipEvent (keyDown) {
if (Key.isDown(16) and Key.isDown(70)) {
if (this._visible == 0) {
this._visible = 1;
} else {
this._visible = 0;
}
}
}
Symbol 16 MovieClip Frame 1
totalSize = _root.getBytesTotal();
loadedSize = _root.getBytesLoaded();
if (loadedSize >= totalSize) {
_root.play();
} else {
parcent = (loadedSize / totalSize) * 100;
parcent = Math.round(parcent);
totalSize = Math.round(totalSize);
loadedSize = Math.round(loadedSize);
progressBar._xscale = parcent;
_root.stop();
}
Symbol 16 MovieClip Frame 3
gotoAndPlay (1);
Symbol 24 Button
on (release) {
_root.EC++;
nextFrame();
}
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
stop();
Instance of Symbol 41 MovieClip "exp" in Symbol 43 MovieClip Frame 2
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this._alpha = this._alpha - 10;
this._xscale = this._xscale + 20;
this._yscale = this._yscale + 20;
}
Symbol 61 MovieClip Frame 21
_parent.w = 0;
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Symbol 62 MovieClip Frame 3
stop();
Symbol 62 MovieClip Frame 4
stop();
Instance of Symbol 70 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (load) {
this._visible = true;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 70 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (load) {
this._visible = true;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 90 MovieClip Frame 42
stopAllSounds();
_root.gotoAndPlay(7);
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 3
stop();
Instance of Symbol 76 MovieClip "beam" in Symbol 91 MovieClip Frame 3
onClipEvent (load) {
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this._alpha == 100) {
this._alpha = 90;
} else {
this._alpha = 100;
}
}
Symbol 91 MovieClip Frame 4
stop();
Instance of Symbol 81 MovieClip in Symbol 91 MovieClip Frame 4
onClipEvent (load) {
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this._alpha == 100) {
this._alpha = 80;
} else {
this._alpha = 100;
}
}
Symbol 91 MovieClip Frame 5
stop();
Symbol 91 MovieClip Frame 6
stop();
Symbol 91 MovieClip Frame 7
stop();
Symbol 102 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay(3);
}
Symbol 133 MovieClip Frame 21
_parent.w = 0;
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
stop();
Symbol 134 MovieClip Frame 3
stop();
Symbol 134 MovieClip Frame 4
stop();
Symbol 134 MovieClip Frame 5
stop();
Symbol 138 MovieClip Frame 11
_parent.nextFrame();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 3
stop();
Symbol 145 MovieClip Frame 4
stop();
Symbol 145 MovieClip Frame 5
stop();