Frame 1
function IkarugaTrialver_SaveData() {
mySO.data.BGon = _global.BGon;
mySO.data.SEvol = _global.SEvol;
mySO.data.BGMvolume = _global.BGMvolume;
mySO.data.SOUNDvolume = _global.SOUNDvolume;
mySO.data.QUALITY = _quality;
mySO.flush();
}
function IkarugaTrialver_LoadData() {
mySO = SharedObject.getLocal("BGon");
mySO = SharedObject.getLocal("SEvol");
mySO = SharedObject.getLocal("BGMvolume");
mySO = SharedObject.getLocal("SOUNDvolume");
mySO = SharedObject.getLocal("QUALITY");
if (mySO.data.BGon != undefined) {
_global.BGon = mySO.data.BGon;
} else {
_global.BGon = 1;
}
if (mySO.data.SEvol != undefined) {
_global.SEvol = mySO.data.SEvol;
} else {
_global.SEvol = 1;
}
if (mySO.data.BGMvolume != undefined) {
_global.BGMvolume = mySO.data.BGMvolume;
} else {
_global.BGMvolume = 50;
}
_global.BGMvolumeRec = _global.BGMvolume;
if (mySO.data.SOUNDvolume != undefined) {
_global.SOUNDvolume = mySO.data.SOUNDvolume;
} else {
_global.SOUNDvolume = 50;
}
_global.SOUNDvolumeRec = _global.SOUNDvolume;
if (mySO.data.QUALITY != undefined) {
_quality = mySO.data.QUALITY;
} else {
_quality = "BEST";
}
_global.quality = _quality;
}
function IkarugaTrialver_DataCrea() {
}
stop();
Enemy.number = 0;
_global.ExtraGame = " ";
_global.LightClickJuge = 0;
stopAllSounds();
for (var i in Enemy.instances) {
Enemy.instances[i].removeMovieClip();
}
_root.IkarugaTrialver_LoadData();
incomingAd = "http://www.geocities.jp/yasu_xxx2000/ikaruga_FlashGame.htm";
_global.TextOn = 0;
function onEnterFrame() {
if (Enemy.number < Enemy.numRecord) {
var ini = {_x:(random(45) * 10) + 25, _y:(random(20) * 10) + 25};
ini.color = ((Math.random() < 0.5) ? 1 : 2);
ini.rotationSpd = random(20) + 5;
var rotaionDirec = random(2);
if (rotaionDirec == 0) {
ini.rotationSpd = ini.rotationSpd * -1;
}
if (_global.ExtraGame == "on") {
Sprite.prototype.attachSprite("Utastugumi", ini);
Enemy.number++;
}
}
}
Instance of Symbol 321 MovieClip "IkarugaMenu" in Frame 1
/* no clip actions */
Instance of Symbol 393 MovieClip "VersionInfo" in Frame 1
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this._alpha < 100) {
this._alpha = this._alpha + 25;
}
}
}
Instance of Symbol 432 MovieClip "ScreenQuality" in Frame 1
onClipEvent (load) {
function QCheck() {
if (_quality == "BEST") {
this.HIGH.HIGHCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = false;
this.LOW.LOWCheck._visible = false;
this.BEST.BESTCheck._visible = true;
} else if (_quality == "HIGH") {
this.BEST.BESTCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = false;
this.LOW.LOWCheck._visible = false;
this.HIGH.HIGHCheck._visible = true;
} else if (_quality == "MEDIUM") {
this.BEST.BESTCheck._visible = false;
this.HIGH.HIGHCheck._visible = false;
this.LOW.LOWCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = true;
} else if (_quality == "LOW") {
this.BEST.BESTCheck._visible = false;
this.HIGH.HIGHCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = false;
this.LOW.LOWCheck._visible = true;
}
_global.quality = _quality;
}
QCheck();
}
onClipEvent (enterFrame) {
if (Key.isDown(2)) {
_global.LightClickJuge = 1;
}
if ((_global.LightClickJuge == 1) && (_quality != _global.quality)) {
this.QCheck();
_root.IkarugaTrialver_SaveData();
_global.LightClickJuge = 0;
}
}
Instance of Symbol 440 MovieClip "SEvolume_CheckMC" in Frame 1
onClipEvent (load) {
if ((_global.SEvol == 1) || (_global.SEvol == undefined)) {
this.SEvolume_MC.SE_Check._visible = true;
_global.SEvol = 1;
} else {
this.SEvolume_MC.SE_Check._visible = false;
}
}
Instance of Symbol 444 MovieClip "BG_CheckMC" in Frame 1
onClipEvent (load) {
if ((_global.BGon == 1) || (_global.BGon == undefined)) {
this.BG_MC.BG_Check._visible = true;
_root.PowerGageLine.PowerGageL1._visible = false;
_global.BGon = 1;
} else {
this.BG_MC.BG_Check._visible = false;
_root.PowerGageLine.PowerGageL1._visible = true;
}
}
Instance of Symbol 457 MovieClip [ExIkaruga] in Frame 1
/* no clip actions */
Instance of Symbol 502 MovieClip "GameStart" in Frame 1
onClipEvent (load) {
var AlhpaSet = 0;
this._visible = false;
_root.BG_CheckMC._visible = (_root.SEvolume_CheckMC._visible = (_root.Bgm._visible = (_root.SoundMC._visible = (_root.KeyMC._visible = (_root.ScreenQuality._visible = (_root.AirframeSelect._visible = (_root.AirframeMove._visible = (_root.IkarugaMenu._visible = (_root.VersionInfo._visible = (_root.VerInfoMask._visible = false))))))))));
_root.BG_CheckMC._alpha = (_root.SEvolume_CheckMC._alpha = (_root.Bgm._alpha = (_root.SoundMC._alpha = (_root.KeyMC._alpha = (_root.ScreenQuality._alpha = (_root.VersionInfo._alpha = 0))))));
}
onClipEvent (enterFrame) {
if ((AlhpaSet == 0) && (_root.BG_CheckMC._visible == false)) {
_root.BG_CheckMC._visible = (_root.SEvolume_CheckMC._visible = (_root.Bgm._visible = (_root.SoundMC._visible = (_root.KeyMC._visible = (_root.ScreenQuality._visible = this._visible)))));
if (_root.BG_CheckMC._visible == true) {
AlhpaSet = 1;
_root.AirframeMove._visible = true;
_root.AirframeMove.gotoAndPlay(2);
}
} else if (((AlhpaSet == 1) && (this.GgameStartBottom._x >= -70)) && (_root.BG_CheckMC._alpha < 100)) {
_root.BG_CheckMC._alpha = (_root.SEvolume_CheckMC._alpha = (_root.Bgm._alpha = (_root.SoundMC._alpha = (_root.KeyMC._alpha = (_root.ScreenQuality._alpha = _root.ScreenQuality._alpha + 5)))));
if (_root.BG_CheckMC._alpha >= 100) {
AlhpaSet = 2;
var i = 0;
}
} else if (AlhpaSet == 2) {
if (i == 0) {
_root.GameExplanationMC.gotoAndPlay(2);
AlhpaSet = 3;
i = 1;
}
}
}
Instance of Symbol 515 MovieClip "LoadingIndicator" in Frame 1
onClipEvent (load) {
_visible = false;
}
Frame 2
stop();
_global.ExtraGame = "off";
_global.ExtraGame = " ";
_global.GameOver = "alive";
Ikaruga.onStage = 1;
_global.timerCorrection = undefined;
_global.timer = 100;
myPowerLaser.clear();
for (var i in Enemy.instances) {
Enemy.instances[i].removeMovieClip();
}
_global.OneMaxEffect = 0;
_global.OneMaxEffect2 = 0;
_global.Record1 = 0;
if ((_global.Airframe != 1) && (_global.Airframe != 2)) {
_global.Airframe = 1;
}
ranx = new Array();
rany = new Array();
Sets = new Array();
Set1 = new Array();
Set1[0] = 0.125;
Set1[1] = -0.775;
Sets[1] = Set1;
Set2 = new Array();
Set2[0] = 0.375;
Set2[1] = -0.7;
Sets[2] = Set2;
Set3 = new Array();
Set3[0] = 0.55;
Set3[1] = -0.55;
Sets[3] = Set3;
Set4 = new Array();
Set4[0] = 0.7;
Set4[1] = -0.375;
Sets[4] = Set4;
Set5 = new Array();
Set5[0] = 0.775;
Set5[1] = -0.125;
Sets[5] = Set5;
Set6 = new Array();
Set6[0] = 0.775;
Set6[1] = 0.125;
Sets[6] = Set6;
Set7 = new Array();
Set7[0] = 0.7;
Set7[1] = 0.375;
Sets[7] = Set7;
Set8 = new Array();
Set8[0] = 0.55;
Set8[1] = 0.55;
Sets[8] = Set8;
Set9 = new Array();
Set9[0] = 0.375;
Set9[1] = 0.7;
Sets[9] = Set9;
Set10 = new Array();
Set10[0] = 0.125;
Set10[1] = 0.775;
Sets[10] = Set10;
Set11 = new Array();
Set11[0] = -0.125;
Set11[1] = 0.775;
Sets[11] = Set11;
Set12 = new Array();
Set12[0] = -0.375;
Set12[1] = 0.7;
Sets[12] = Set12;
Set13 = new Array();
Set13[0] = -0.55;
Set13[1] = 0.55;
Sets[13] = Set13;
Set14 = new Array();
Set14[0] = -0.7;
Set14[1] = 0.375;
Sets[14] = Set14;
Set15 = new Array();
Set15[0] = -0.775;
Set15[1] = 0.125;
Sets[15] = Set15;
Set16 = new Array();
Set16[0] = -0.775;
Set16[1] = -0.125;
Sets[16] = Set16;
Set17 = new Array();
Set17[0] = -0.7;
Set17[1] = -0.375;
Sets[17] = Set17;
Set18 = new Array();
Set18[0] = -0.55;
Set18[1] = -0.55;
Sets[18] = Set18;
Set19 = new Array();
Set19[0] = -0.375;
Set19[1] = -0.7;
Sets[19] = Set19;
Set20 = new Array();
Set20[0] = -0.125;
Set20[1] = -0.775;
Sets[20] = Set20;
Instance of Symbol 432 MovieClip "ScreenQuality" in Frame 2
onClipEvent (load) {
function QCheck() {
if (_quality == "BEST") {
this.HIGH.HIGHCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = false;
this.LOW.LOWCheck._visible = false;
this.BEST.BESTCheck._visible = true;
} else if (_quality == "HIGH") {
this.BEST.BESTCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = false;
this.LOW.LOWCheck._visible = false;
this.HIGH.HIGHCheck._visible = true;
} else if (_quality == "MEDIUM") {
this.BEST.BESTCheck._visible = false;
this.HIGH.HIGHCheck._visible = false;
this.LOW.LOWCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = true;
} else if (_quality == "LOW") {
this.BEST.BESTCheck._visible = false;
this.HIGH.HIGHCheck._visible = false;
this.MEDIUM.MEDIUMCheck._visible = false;
this.LOW.LOWCheck._visible = true;
}
_global.quality = _quality;
}
QCheck();
}
onClipEvent (enterFrame) {
if (Key.isDown(2)) {
_global.LightClickJuge = 1;
}
if ((_global.LightClickJuge == 1) && (_quality != _global.quality)) {
this.QCheck();
_root.IkarugaTrialver_SaveData();
_global.LightClickJuge = 0;
}
}
Instance of Symbol 440 MovieClip "SEvolume_CheckMC" in Frame 2
onClipEvent (load) {
if ((_global.SEvol == 1) || (_global.SEvol == undefined)) {
this.SEvolume_MC.SE_Check._visible = true;
_global.SEvol = 1;
} else {
this.SEvolume_MC.SE_Check._visible = false;
}
}
Instance of Symbol 444 MovieClip "BG_CheckMC" in Frame 2
onClipEvent (load) {
if ((_global.BGon == 1) || (_global.BGon == undefined)) {
this.BG_MC.BG_Check._visible = true;
_root.PowerGageLine.PowerGageL1._visible = false;
_global.BGon = 1;
} else {
this.BG_MC.BG_Check._visible = false;
_root.PowerGageLine.PowerGageL1._visible = true;
}
}
Instance of Symbol 537 MovieClip "Warning" in Frame 2
onClipEvent (load) {
var count = 0;
}
onClipEvent (enterFrame) {
if ((this.keikoku._alpha < 100) && (count == 0)) {
this.keikoku._alpha = this.keikoku._alpha + 5;
} else {
this.keikoku._alpha = 100;
if (count < 120) {
count++;
}
}
if ((count == 120) && (_yscale > 0)) {
_yscale = (_yscale - 10);
_xscale = (_xscale + 10);
_alpha = (_alpha - 20);
if (_yscale <= 0) {
_visible = false;
}
}
}
Instance of Symbol 274 MovieClip [Ikaruga] "IkarugaON" in Frame 2
onClipEvent (load) {
if (_global.Airframe == 1) {
this._x = 120;
} else {
this._x = 280;
}
}
Instance of Symbol 541 MovieClip "EboAppearance" in Frame 2
/* no clip actions */
Instance of Symbol 542 MovieClip [SkyblueMoveWall] "SkyblueMoveWall" in Frame 2
onClipEvent (load) {
function ScroolWallSet() {
i = 1;
while (i <= numSeets) {
this.attachMovie("Skyblue" + i, "Skyblue" + i, i);
i++;
}
this.Skyblue1._y = 0;
this.Skyblue2._y = -600;
this.Skyblue3._y = -600 - speed;
}
function ScroolWall1(i) {
this["Skyblue" + i]._y = this["Skyblue" + i]._y + speed;
if (this["Skyblue" + i]._y > onesize) {
if (i == 1) {
this["Skyblue" + i]._y = (onesize * -1) - speed;
} else {
this["Skyblue" + i]._y = (onesize * -1) - speed;
}
moveWallNum = 2;
}
}
function ScroolWall2(i) {
if (i == 1) {
this.Skyblue2._y = this.Skyblue2._y + speed;
if (this.Skyblue2._y > onesize) {
this.Skyblue2._y = (onesize * -1) - speed;
moveWallNum = 3;
}
} else {
this.Skyblue3._y = this.Skyblue3._y + speed;
if (this.Skyblue3._y > onesize) {
this.Skyblue3._y = (onesize * -1) - speed;
}
}
}
function ScroolWall3(i) {
if (i == 1) {
this.Skyblue3._y = this.Skyblue3._y + speed;
if (this.Skyblue3._y > onesize) {
this.Skyblue3._y = (onesize * -1) - speed;
moveWallNum = 1;
}
} else {
this.Skyblue1._y = this.Skyblue1._y + speed;
if (this.Skyblue1._y > onesize) {
this.Skyblue1._y = (onesize * -1) - speed;
}
}
}
if (_global.BGon == 1) {
this._visible = true;
} else {
this._visible = false;
}
speed = 5;
onesize = 600;
numSeets = 3;
moveWallNum = 1;
ScroolWallSet();
}
onClipEvent (enterFrame) {
if (this._visible == true) {
i = 1;
while (i <= 2) {
if (moveWallNum == 1) {
ScroolWall1(i);
} else if (moveWallNum == 2) {
ScroolWall2(i);
} else if (moveWallNum == 3) {
ScroolWall3(i);
}
i++;
}
}
}
Frame 4
stop();
_root.createEmptyMovieClip("myPowerLaser", 100000);
_root.PlayerNumber.PlayerNumber = 4;
_root.Bgm.vertFader.bgm();
_global.GuardPattern = "Standard";
_global.ShieldAttackP = 0;
_global.AttackPattern = "LeftSordAttack";
_global.AttackPresent = 0;
_global.AttackOnTime = 100;
_global.nom = 1;
function ScoreCalculation(Plus) {
_global.ScoreRec = _global.ScoreRec + Plus;
if (_global.ScoreRec <= 99) {
_root.scoreMc.score = "00000" + _global.ScoreRec;
} else if (_global.ScoreRec <= 999) {
_root.scoreMc.score = "0000" + _global.ScoreRec;
} else if (_global.ScoreRec <= 9999) {
_root.scoreMc.score = "000" + _global.ScoreRec;
} else if (_global.ScoreRec <= 99999) {
_root.scoreMc.score = "00" + _global.ScoreRec;
} else if (_global.ScoreRec <= 999999) {
_root.scoreMc.score = "0" + _global.ScoreRec;
} else if (_global.ScoreRec <= 9999999) {
_root.scoreMc.score = _global.ScoreRec;
}
}
_root.scoreMc.score = "0000000";
_global.ScoreRec = 0;
_global.stock = 0;
function LR_Move(name, x, y) {
if (LRJudg == "right") {
name._x = name._x + MoveSpeed;
if (x > (SideMax + ChangeTiming)) {
LRJudg = "left";
}
} else {
name._x = name._x - MoveSpeed;
if (x < (SideMin - ChangeTiming)) {
LRJudg = "right";
}
}
setProperty(name, _rotation , ((Math.atan2(LockPosY - y, LockPosX - x) / Math.PI) * 180) - 90);
}
function Move_to_Center(name, x, y) {
if (x > 200) {
name._x = name._x - MoveSpeed;
} else {
name._x = name._x + MoveSpeed;
}
setProperty(name, _rotation , ((Math.atan2(LockPosY - y, LockPosX - x) / Math.PI) * 180) - 90);
}
function DamageOff(t) {
var original = new Color(t);
var ColorTrans = new Object(t);
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
original.setTransform(ColorTrans);
}
function DamageOn(t) {
var original = new Color(t);
var ColorTrans = new Object(t);
ColorTrans = {ra:"100", rb:"150", ga:"100", gb:"150", ba:"100", bb:"150", aa:"100", ab:"0"};
original.setTransform(ColorTrans);
}
function Silhouette(t) {
var original = new Color(t);
var ColorTrans = new Object(t);
ColorTrans = {ra:"100", rb:"-150", ga:"100", gb:"-150", ba:"100", bb:"-150", aa:"100", ab:"0"};
original.setTransform(ColorTrans);
}
var ini = {_x:200, _y:145.5, _xscale:70, _yscale:70};
ini.HitPoint1 = 12000;
ini.HitPoint2 = 12000;
_global.SordDestJuge = 0;
_global.ShieldDestJuge = 0;
Sprite.prototype.attachSprite("Eboshidori", ini);
var SideMax = 280;
var SideMin = 120;
var ChangeTiming = -10;
var MoveSpeed = 2;
var LRJudg = "right";
var LockPosX = 200;
var LockPosY = 450;
Bulleds = new Array();
Bulled1 = new Array();
Bulled1[0] = 1.9;
Bulled1[1] = -1.6;
Bulleds[1] = Bulled1;
Bulled2 = new Array();
Bulled2[0] = 2.1;
Bulled2[1] = -1.3;
Bulleds[2] = Bulled2;
Bulled3 = new Array();
Bulled3[0] = 2.5;
Bulled3[1] = -0.3;
Bulleds[3] = Bulled3;
Bulled4 = new Array();
Bulled4[0] = 2.5;
Bulled4[1] = 0.3;
Bulleds[4] = Bulled4;
Bulled5 = new Array();
Bulled5[0] = 2.1;
Bulled5[1] = 1.3;
Bulleds[5] = Bulled5;
Bulled6 = new Array();
Bulled6[0] = 1.9;
Bulled6[1] = 1.6;
Bulleds[6] = Bulled6;
Bulled7 = new Array();
Bulled7[0] = 0.9;
Bulled7[1] = 2.3;
Bulleds[7] = Bulled7;
Bulled8 = new Array();
Bulled8[0] = 0.6;
Bulled8[1] = 2.4;
Bulleds[8] = Bulled8;
Bulled9 = new Array();
Bulled9[0] = -0.5;
Bulled9[1] = 2.4;
Bulleds[9] = Bulled9;
Bulled10 = new Array();
Bulled10[0] = -0.9;
Bulled10[1] = 2.3;
Bulleds[10] = Bulled10;
Bulled11 = new Array();
Bulled11[0] = -1.9;
Bulled11[1] = 1.6;
Bulleds[11] = Bulled11;
Bulled12 = new Array();
Bulled12[0] = -2.1;
Bulled12[1] = 1.3;
Bulleds[12] = Bulled12;
Bulled13 = new Array();
Bulled13[0] = -2.5;
Bulled13[1] = 0.3;
Bulleds[13] = Bulled13;
Bulled14 = new Array();
Bulled14[0] = -2.5;
Bulled14[1] = -0.3;
Bulleds[14] = Bulled14;
Bulled15 = new Array();
Bulled15[0] = -2.1;
Bulled15[1] = -1.3;
Bulleds[15] = Bulled15;
Bulled16 = new Array();
Bulled16[0] = -1.9;
Bulled16[1] = -1.6;
Bulleds[16] = Bulled16;
Bulled17 = new Array();
Bulled17[0] = 1.5;
Bulled17[1] = -2;
Bulleds[17] = Bulled17;
Bulled18 = new Array();
Bulled18[0] = 1.9;
Bulled18[1] = -1.6;
Bulleds[18] = Bulled18;
Bulled19 = new Array();
Bulled19[0] = 2.4;
Bulled19[1] = -0.7;
Bulleds[19] = Bulled19;
Bulled20 = new Array();
Bulled20[0] = 2.5;
Bulled20[1] = -0.3;
Bulleds[20] = Bulled20;
Bulled21 = new Array();
Bulled21[0] = 2.4;
Bulled21[1] = 0.8;
Bulleds[21] = Bulled21;
Bulled22 = new Array();
Bulled22[0] = 2.1;
Bulled22[1] = 1.3;
Bulleds[22] = Bulled22;
Bulled23 = new Array();
Bulled23[0] = 1.5;
Bulled23[1] = 2;
Bulleds[23] = Bulled23;
Bulled24 = new Array();
Bulled24[0] = 0.9;
Bulled24[1] = 2.3;
Bulleds[24] = Bulled24;
Bulled25 = new Array();
Bulled25[0] = 0;
Bulled25[1] = 2.5;
Bulleds[25] = Bulled25;
Bulled26 = new Array();
Bulled26[0] = -0.5;
Bulled26[1] = 2.4;
Bulleds[26] = Bulled26;
Bulled27 = new Array();
Bulled27[0] = -1.4;
Bulled27[1] = 2;
Bulleds[27] = Bulled27;
Bulled28 = new Array();
Bulled28[0] = -1.9;
Bulled28[1] = 1.6;
Bulleds[28] = Bulled28;
Bulled29 = new Array();
Bulled29[0] = -2.4;
Bulled29[1] = 0.8;
Bulleds[29] = Bulled29;
Bulled30 = new Array();
Bulled30[0] = -2.5;
Bulled30[1] = 0.3;
Bulleds[30] = Bulled30;
Bulled31 = new Array();
Bulled31[0] = -2.4;
Bulled31[1] = -0.7;
Bulleds[31] = Bulled31;
Bulled32 = new Array();
Bulled32[0] = -2.1;
Bulled32[1] = -1.3;
Bulleds[32] = Bulled32;
Bulled33 = new Array();
Bulled33[0] = 2.1;
Bulled33[1] = -1.3;
Bulleds[33] = Bulled33;
Bulled34 = new Array();
Bulled34[0] = 2.4;
Bulled34[1] = -0.7;
Bulleds[34] = Bulled34;
Bulled35 = new Array();
Bulled35[0] = 2.5;
Bulled35[1] = 0.3;
Bulleds[35] = Bulled35;
Bulled36 = new Array();
Bulled36[0] = 2.4;
Bulled36[1] = 0.8;
Bulleds[36] = Bulled36;
Bulled37 = new Array();
Bulled37[0] = 1.9;
Bulled37[1] = 1.6;
Bulleds[37] = Bulled37;
Bulled38 = new Array();
Bulled38[0] = 1.5;
Bulled38[1] = 2;
Bulleds[38] = Bulled38;
Bulled39 = new Array();
Bulled39[0] = 0.6;
Bulled39[1] = 2.4;
Bulleds[39] = Bulled39;
Bulled40 = new Array();
Bulled40[0] = 0;
Bulled40[1] = 2.5;
Bulleds[40] = Bulled40;
Bulled41 = new Array();
Bulled41[0] = -0.9;
Bulled41[1] = 2.3;
Bulleds[41] = Bulled41;
Bulled42 = new Array();
Bulled42[0] = -1.4;
Bulled42[1] = 2;
Bulleds[42] = Bulled42;
Bulled43 = new Array();
Bulled43[0] = -2.1;
Bulled43[1] = 1.3;
Bulleds[43] = Bulled43;
Bulled44 = new Array();
Bulled44[0] = -2.4;
Bulled44[1] = 0.8;
Bulleds[44] = Bulled44;
Bulled45 = new Array();
Bulled45[0] = -2.5;
Bulled45[1] = -0.3;
Bulleds[45] = Bulled45;
Bulled46 = new Array();
Bulled46[0] = -2.4;
Bulled46[1] = -0.7;
Bulleds[46] = Bulled46;
Bulled47 = new Array();
Bulled47[0] = -1.9;
Bulled47[1] = -1.6;
Bulleds[47] = Bulled47;
Bulled48 = new Array();
Bulled48[0] = -1.4;
Bulled48[1] = -2;
Bulleds[48] = Bulled48;
Instance of Symbol 547 MovieClip "TimerSet" in Frame 4
/* no clip actions */
Instance of Symbol 567 MovieClip "EnemyLife" in Frame 4
onClipEvent (load) {
function EnemyLifeDateIn(Max, Min) {
if (Max > 8000) {
if (this.LifeMax._visible == false) {
this.LifeMin3._visible = true;
this.LifeMin2._visible = true;
this.LifeMin1._visible = true;
this.LifeMax._visible = true;
this.LifeMax._xscale = 4000;
} else {
this.LifeMin3._visible = true;
this.LifeMin2._visible = true;
this.LifeMin1._visible = true;
this.LifeMax._xscale = 4000;
}
if (Min > 8000) {
this.LifeMin3._xscale = Min - 8000;
this.LifeMin2._xscale = 4000;
} else if (Min > 4000) {
if ((this.LifeMin3._visible = true)) {
this.LifeMin3._visible = false;
}
this.LifeMin2._xscale = Min - 4000;
this.LifeMin1._xscale = 4000;
} else if (Min >= 0) {
if ((this.LifeMin2._visible = true)) {
this.LifeMin2._visible = false;
this.LifeMin3._visible = false;
}
this.LifeMin1._xscale = Min;
}
} else if (Max > 4000) {
if (this.LifeMax._visible == false) {
this.LifeMin3._visible = false;
this.LifeMin2._visible = true;
this.LifeMin1._visible = true;
this.LifeMax._visible = true;
this.LifeMax._xscale = 4000;
} else {
this.LifeMin3._visible = false;
this.LifeMin2._visible = true;
this.LifeMin1._visible = true;
this.LifeMax._xscale = 4000;
}
if (Min > 4000) {
this.LifeMin2._xscale = Min - 4000;
this.LifeMin1._xscale = 4000;
} else if (Min >= 0) {
if ((this.LifeMin2._visible = true)) {
this.LifeMin2._visible = false;
this.LifeMin3._visible = false;
}
this.LifeMin1._xscale = Min;
}
} else if (Max <= 4000) {
if ((this.LifeMin3._visible == true) || (this.LifeMin2._visible == true)) {
this.LifeMin3._visible = false;
this.LifeMin2._visible = false;
this.LifeMin1._visible = true;
this.LifeMax._visible = true;
} else if (this.LifeMin1._visible == false) {
this.LifeMin1._visible = true;
this.LifeMax._visible = true;
}
if (Min >= 0) {
this.LifeMax._xscale = Max;
this.LifeMin1._xscale = Min;
}
}
ResetTimer = 20;
}
function EnemyLifeReset() {
if (ResetTimer > 0) {
ResetTimer--;
} else if (ResetTimer == 0) {
this.LifeMin3._visible = false;
this.LifeMin2._visible = false;
this.LifeMin1._visible = false;
this.LifeMax._visible = false;
this.LifeMin3._xscale = 0;
this.LifeMin2._xscale = 0;
this.LifeMin1._xscale = 0;
this.LifeMax._xscale = 0;
ResetTimer = " ";
}
}
ResetTimer = " ";
this.LifeMax._visible = false;
this.LifeMin1._visible = false;
this.LifeMin2._visible = false;
this.LifeMin3._visible = false;
this.LifeMax._xscale = 0;
this.LifeMin1._xscale = 0;
this.LifeMin2._xscale = 0;
this.LifeMin3._xscale = 0;
}
onClipEvent (enterFrame) {
EnemyLifeReset();
}
Instance of Symbol 573 MovieClip "power" in Frame 4
onClipEvent (load) {
function RESET(c, s) {
if (s == 0) {
var i = 1;
while (i <= 12) {
this["mask" + i]._xscale = 0;
i++;
}
if (c == 2) {
Black(10);
} else {
White(10);
}
} else {
var i = 2;
while (i <= 12) {
this["mask" + i]._xscale = 0;
i++;
}
}
}
function Black(s) {
var ResetNum = Math.floor(s / 10);
var original0 = new Color(this["Gage" + ResetNum]);
var ColorTrans0 = new Object(this["Gage" + ResetNum]);
ColorTrans0 = {ra:"100", rb:"255", ga:"100", gb:"-70", ba:"100", bb:"-255", aa:"100", ab:"0"};
original0.setTransform(ColorTrans0);
}
function White(s) {
var ResetNum = Math.floor(s / 10);
var original0 = new Color(this["Gage" + ResetNum]);
var ColorTrans0 = new Object(this["Gage" + ResetNum]);
ColorTrans0 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
original0.setTransform(ColorTrans0);
}
function red2(s) {
var MaxNumber = Math.floor(s / 10);
var i = 1;
while (i <= (MaxNumber + 1)) {
var original = new Color(this["Gage" + i]);
var ColorTrans = new Object(this["Gage" + i]);
ColorTrans = {ra:"100", rb:"255", ga:"100", gb:"-70", ba:"100", bb:"-255", aa:"100", ab:"0"};
original.setTransform(ColorTrans);
i++;
}
}
function borange2(s) {
var MaxNumber = Math.floor(s / 10);
var i = 1;
while (i <= MaxNumber) {
var original = new Color(this["Gage" + i]);
var ColorTrans = new Object(this["Gage" + i]);
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"-255", ba:"100", bb:"-255", aa:"100", ab:"0"};
original.setTransform(ColorTrans);
i++;
}
}
function worigin2(s) {
var MaxNumber = Math.floor(s / 10);
var i = 1;
while (i <= (MaxNumber + 1)) {
var original = new Color(this["Gage" + i]);
var ColorTrans = new Object(this["Gage" + i]);
ColorTrans = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
original.setTransform(ColorTrans);
i++;
}
}
function wwhite2(s) {
var MaxNumber = Math.floor(s / 10);
var i = 1;
while (i <= MaxNumber) {
var original = new Color(this["Gage" + i]);
var ColorTrans = new Object(this["Gage" + i]);
ColorTrans = {ra:"50", rb:"50", ga:"50", gb:"50", ba:"100", bb:"0", aa:"100", ab:"0"};
original.setTransform(ColorTrans);
i++;
}
}
function PowerGageBlink(c, s) {
if (c == 2) {
red2(s);
if (timer > 0) {
timer--;
} else {
borange2(s);
timer = 1;
}
} else {
worigin2(s);
if (timer > 0) {
timer--;
} else {
wwhite2(s);
timer = 1;
}
}
}
timer = 1;
var s2 = 0;
_global.OneMaxEffect = 0;
_global.OneMaxEffect2 = 0;
_global.Record1 = 0;
var i = 1;
while (i <= 12) {
this["mask" + i]._xscale = 0;
i++;
}
if (_global.Airframe == 1) {
this._xscale = 120.1;
_root.PowerGageLine._xscale = 120;
this._yscale = 120.5;
_root.PowerGageLine._yscale = 120;
this._x = (_root.PowerGageLine._x = 10.8);
_root.PlayerNumber._x = 35.3;
_root.scoreMc._x = 25;
_root.scoreMc.scoreMcNumber.gotoAndStop(1);
} else {
this._xscale = -120.1;
_root.PowerGageLine._xscale = -120;
this._yscale = -120.5;
_root.PowerGageLine._yscale = -120;
this._x = (_root.PowerGageLine._x = 389.2);
_root.PlayerNumber._x = 367;
_root.scoreMc._x = 205;
_root.scoreMc.scoreMcNumber.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_global.stock > 0) {
var s = _global.stock;
var tenS = (s * 10);
var L = 0;
var R = 0;
if (s <= 10) {
L = 1;
R = tenS;
} else if (s <= 20) {
L = 2;
R = tenS - 100;
} else if (s <= 30) {
L = 3;
R = tenS - 200;
} else if (s <= 40) {
L = 4;
R = tenS - 300;
} else if (s <= 50) {
L = 5;
R = tenS - 400;
} else if (s <= 60) {
L = 6;
R = tenS - 500;
} else if (s <= 70) {
L = 7;
R = tenS - 600;
} else if (s <= 80) {
L = 8;
R = tenS - 700;
} else if (s <= 90) {
L = 9;
R = tenS - 800;
} else if (s <= 100) {
L = 10;
R = tenS - 900;
} else if (s <= 110) {
L = 11;
R = tenS - 1000;
} else if (s <= 120) {
L = 12;
R = tenS - 1100;
} else if (s > 120) {
L = 12;
R = 100;
}
this["mask" + L]._xscale = R;
var i = 1;
while (i <= (L - 1)) {
this["mask" + i]._xscale = 100;
i++;
}
if (L == 1) {
if (R == 100) {
var L2 = 1;
} else {
var L2 = 0;
}
} else if (R == 100) {
var L2 = L;
} else {
var L2 = (L - 1);
}
if (L2 != _global.Record1) {
_global.Record1 = L2;
if (_global.OneMaxEffect2 == 0) {
_global.OneMaxEffect2 = L2;
var i2 = 1;
} else {
var i2 = (_global.OneMaxEffect2 + 1);
_global.OneMaxEffect2 = i2;
}
var r = i2;
while (r <= L2) {
_global.OneMaxEffect++;
r++;
}
}
if (_global.OneMaxEffect > 0) {
var ini = {_x:_root.IkarugaON._x, _y:_root.IkarugaON._y, color:_root.IkarugaON.color};
_root.IkarugaON.attachSprite("PowerGageMaxEffect", ini);
_global.OneMaxEffect--;
}
if ((_global.stock <= 9) || ((_root.IkarugaON.xkey == 2) && (_global.stock <= 9))) {
if (_root.IkarugaON.color == 2) {
Black(10);
} else {
White(10);
}
}
if (_global.stock >= 10) {
PowerGageBlink(_root.IkarugaON.color, _global.stock);
}
} else if (this.mask1._xscale != 0) {
var i = 1;
while (i <= 12) {
this["mask" + i]._xscale = 0;
i++;
}
}
}
Frame 5
stop();
stopAllSounds();
for (var i in Enemy.instances) {
Enemy.instances[i].removeMovieClip();
}
_root.gameover._alpha = 0;
_root.Bonus._alpha = 0;
_root.BonusNumber._alpha = 0;
_root.YourScore._alpha = 0;
_root.YourScoreNumber._alpha = 0;
_root.Chain._alpha = 0;
_root.ChainNumber._alpha = 0;
_root.PlayRank._alpha = 0;
_root.yourrank._alpha = 0;
_root.restart._alpha = 0;
Instance of Symbol 612 MovieClip "restart" in Frame 5
onClipEvent (load) {
var i = 0;
}
onClipEvent (enterFrame) {
if ((_alpha <= 100) && (_root.yourrank._alpha >= 90)) {
if (i == 0) {
_root.restart.gotoAndStop(2);
i++;
}
_alpha = (_alpha + 5);
}
}
Instance of Symbol 619 MovieClip "deadorclear" in Frame 5
onClipEvent (load) {
_y = 250;
_alpha = 0;
if (_root.PlayerNumber.PlayerNumber == 0) {
this.clear._visible = false;
} else {
this.gameover._visible = false;
}
var i = 0;
var f = 1;
}
onClipEvent (enterFrame) {
if (_root.kurogamen2._alpha >= 100) {
if (_alpha < 100) {
if (_alpha == 0) {
_root.SoundMC.vertFader.GameOver();
}
_alpha = (_alpha + 3);
} else if (_root.PlayerNumber.PlayerNumber == 0) {
if (i <= 20) {
i++;
} else if (f == 1) {
f = 2;
_root.restart.gotoAndStop(f);
} else if (_root.restart._alpha < 100) {
_root.restart._alpha = _root.restart._alpha + 5;
}
} else if (_y >= 95) {
_y = (_y - 10);
}
}
}
onClipEvent (mouseDown) {
if (_y < 95) {
_root.restart.gotoAndStop(2);
if (_root.yourrank._alpha < 54) {
_root.SoundMC.vertFader.resultItemOn();
}
_root.Bonus._alpha = (_root.BonusNumber._alpha = (_root.YourScore._alpha = (_root.YourScoreNumber._alpha = (_root.Chain._alpha = (_root.ChainNumber._alpha = (_root.PlayRank._alpha = (_root.yourrank._alpha = (_root.restart._alpha = 100))))))));
}
}
Instance of Symbol 621 MovieClip "yourrank" in Frame 5
onClipEvent (load) {
_global.SceneNumber = 1;
if (_global.SceneNumber == 1) {
var Standard1 = 750000;
var Standard2 = 730000;
var Standard3 = 710000;
var Standard4 = 700000;
var Standard5 = 650000;
var Standard6 = 600000;
var Standard7 = 550000;
var Standard8 = 500000;
var Standard9 = 450000;
var Standard10 = 400000;
var Standard11 = 350000;
var Standard12 = 300000;
var Standard13 = 200000;
var Standard14 = 100000;
} else if (_global.SceneNumber == 2) {
var Standard1 = 3200000;
var Standard2 = 3100000;
var Standard3 = 3000000;
var Standard4 = 2800000;
var Standard5 = 2400000;
var Standard6 = 2000000;
var Standard7 = 1800000;
var Standard8 = 1600000;
var Standard9 = 1400000;
var Standard10 = 1200000;
var Standard11 = 1000000;
var Standard12 = 900000;
var Standard13 = 800000;
var Standard14 = 500000;
}
}
onClipEvent (enterFrame) {
if ((_alpha <= 100) && (_root.PlayRank._alpha >= 90)) {
_alpha = (_alpha + 5);
if ((_alpha >= 70) && (_alpha < 75)) {
_root.SoundMC.vertFader.resultItemOn();
}
if ((_alpha >= 5) && (this.rank != " ")) {
var s = _global.ScoreRec;
if (s >= Standard1) {
this.rank = "S++";
} else if (s >= Standard2) {
this.rank = "S+";
} else if (s >= Standard3) {
this.rank = "S";
} else if (s >= Standard4) {
this.rank = "A++";
} else if (s >= Standard5) {
this.rank = "A+";
} else if (s >= Standard6) {
this.rank = "A";
} else if (s >= Standard7) {
this.rank = "B++";
} else if (s >= Standard8) {
this.rank = "B+";
} else if (s >= Standard9) {
this.rank = "B";
} else if (s >= Standard10) {
this.rank = "C++";
} else if (s >= Standard11) {
this.rank = "C+";
} else if (s >= Standard12) {
this.rank = "C";
} else if (s >= Standard13) {
this.rank = "D++";
} else if (s >= Standard14) {
this.rank = "D+";
} else if (s > 0) {
this.rank = "D";
} else if (s == 0) {
this.rank = "DOT EATER !";
}
}
}
}
Instance of Symbol 623 MovieClip "PlayRank" in Frame 5
onClipEvent (enterFrame) {
if ((_alpha < 100) && (_root.Chain._alpha >= 90)) {
_alpha = (_alpha + 5);
if ((_alpha >= 70) && (_alpha < 75)) {
_root.SoundMC.vertFader.resultItemOn();
}
}
}
Instance of Symbol 626 MovieClip "YourScoreNumber" in Frame 5
onClipEvent (enterFrame) {
this.score = _root.scoreMc.score;
if ((_alpha < 100) && (_root.YourScore._alpha >= 90)) {
_alpha = (_alpha + 5);
if ((_alpha >= 70) && (_alpha < 75)) {
_root.SoundMC.vertFader.resultItemOn();
}
}
}
Instance of Symbol 628 MovieClip "YourScore" in Frame 5
onClipEvent (enterFrame) {
if ((_alpha < 100) && (_root.BonusNumber._alpha >= 90)) {
_alpha = (_alpha + 5);
if ((_alpha >= 70) && (_alpha < 75)) {
_root.SoundMC.vertFader.resultItemOn();
}
}
}
Instance of Symbol 630 MovieClip "Chain" in Frame 5
onClipEvent (enterFrame) {
if ((_alpha < 100) && (_root.YourScoreNumber._alpha >= 90)) {
_alpha = (_alpha + 5);
if ((_alpha >= 70) && (_alpha < 75)) {
_root.SoundMC.vertFader.resultItemOn();
}
}
}
Instance of Symbol 632 MovieClip "ChainNumber" in Frame 5
onClipEvent (load) {
this.conbo = "---";
}
onClipEvent (enterFrame) {
if ((_alpha < 100) && (_root.YourScoreNumber._alpha >= 90)) {
_alpha = (_alpha + 5);
}
}
Instance of Symbol 634 MovieClip "BonusNumber" in Frame 5
onClipEvent (load) {
if ((_global.timer > 0) && (_global.GameOver == "Clear")) {
this.sousu = _global.timer * 10000;
} else {
this.sousu = 0;
}
_root.ScoreCalculation(this.sousu);
}
onClipEvent (enterFrame) {
if ((_alpha < 100) && (_root.Bonus._alpha >= 90)) {
_alpha = (_alpha + 5);
if ((_alpha >= 70) && (_alpha < 75)) {
_root.SoundMC.vertFader.resultItemOn();
}
}
}
Instance of Symbol 636 MovieClip "Bonus" in Frame 5
onClipEvent (enterFrame) {
if ((_alpha < 100) && (_root.deadorclear._y <= 90)) {
_alpha = (_alpha + 5);
if ((_alpha >= 70) && (_alpha < 75)) {
_root.SoundMC.vertFader.resultItemOn();
}
}
}
Instance of Symbol 638 MovieClip "kurogamen2" in Frame 5
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Symbol 31 MovieClip [BlastIkaruga] Frame 15
this.removeMovieClip();
Symbol 34 MovieClip [Fire] Frame 1
#initclip 20
function Fire() {
super();
this._xscale = this._xscale;
this._yscale = this._yscale;
this._alpha = 50;
}
Fire.prototype = new Sprite();
Fire.prototype.SPEED = 5;
Fire.prototype.ALPHASPEED = 10;
Fire.prototype.onEnterFrame = function () {
this._x = this._x + this.xspd;
this._y = this._y + this.yspd;
this.xMax = this._x + 4;
this.yMax = this._y + 4;
this.xMin = this._x - 4;
this.yMin = this._y - 4;
if ((_root.Ikaruga.onStage == 2.5) || (_global.GameOver != "alive")) {
this.removeMovieClip();
}
if (this._alpha < 100) {
this._alpha = this._alpha + this.ALPHASPEED;
}
this.removeIfOutOfBounds();
var ika = Ikaruga.instance;
if (this.color == ika.color) {
var dx = (this._x - ika._x);
var dy = (this._y - ika._y);
if (((Math.abs(dx) < 38) && (Math.abs(dy) < 38)) && (Math.sqrt((dx * dx) + (dy * dy)) < (ika.IkarugaRing._width * 0.5))) {
this.ikaDiffX = dx;
this.ikaDiffY = dy;
_root.ScoreCalculation(100);
if (_global.stock < 120) {
_global.stock = _global.stock + 1;
if (_global.stock == 120) {
_root.SoundMC.vertFader.LaserMaxSE();
}
}
var ini = {_x:this.ikaDiffX, _y:this.ikaDiffY, color:this.color};
ini.ikaDiffX = ini._x;
ini.ikaDiffY = ini._y;
this.attachSprite("AbsorpImpact", ini);
_root.SoundMC.vertFader.AbsorbSE();
this.onEnterFrame = this.onEnterFrame2;
}
} else if ((_root.Ikaruga.onStage == 1) && (ika.intersect(this))) {
ika.damage(this);
this.removeMovieClip();
}
};
Fire.prototype.onEnterFrame2 = function () {
this.ikaDiffX = this.ikaDiffX * 0.6;
this.ikaDiffY = this.ikaDiffY * 0.6;
if (((++this.oef2count) > 7) || (Key.isDown(88))) {
this.removeMovieClip();
} else {
this._x = Ikaruga.instance._x + this.ikaDiffX;
this._y = Ikaruga.instance._y + this.ikaDiffY;
this._xscale = (this._yscale = this._yscale - 10);
}
};
Object.registerClass("Fire", Fire);
#endinitclip
Symbol 43 MovieClip [Shot] Frame 1
#initclip 3
function Shot() {
super();
this.xMin = this._x - 4;
this.xMax = this._x + 4;
this.ShotHit._visible = false;
}
Shot.prototype = new Sprite();
Shot.prototype.count = 0;
Shot.prototype.onEnterFrame = function () {
this.xMin = this._x - 4;
this.xMax = this._x + 4;
this.yMin = this._y;
this.yMax = this._y + 80;
this.removeIfOutOfBounds();
if (_global.GameOver == "alive") {
for (var i in Enemy.instances) {
if (Enemy.instances[i] == _level0.s1.LeftAttack.ArmLeftHand1.LeftAttackMotion1.SordFaceON) {
if ((_global.SordDestJuge == 0) && (Enemy.instances[i].hitTest(this._x, this._y, true))) {
this.Shot._visible = false;
this.ShotHit._visible = true;
_root.DamageOn(Enemy.instances[i]);
this.Target = Enemy.instances[i];
this.Target.CangeTime = 1;
Enemy.instances[i].damage(this, 10);
this.count = 1;
this.onEnterFrame = this.onEnterFrame2;
return(undefined);
}
} else if (Enemy.instances[i] == Eboshidori.instance) {
if (Eboshidori.instance.EboFoot.EboshiHitJudg.hitTest(this._x, this._y, true)) {
this.Shot._visible = false;
this.ShotHit._visible = true;
if (Enemy.instances[i].HitJuge == "on") {
_root.DamageOn(Enemy.instances[i]);
this.Target = Enemy.instances[i];
this.Target.CangeTime = 1;
Enemy.instances[i].damage(this, 10);
} else {
_root.SoundMC.vertFader.ShotHitSE_NoDamage();
}
this.count = 1;
this.onEnterFrame = this.onEnterFrame2;
return(undefined);
}
} else if (Enemy.instances[i].intersect(this)) {
this.Shot._visible = false;
this.ShotHit._visible = true;
if (Enemy.instances[i].HitJuge == "on") {
_root.DamageOn(Enemy.instances[i]);
this.Target = Enemy.instances[i];
this.Target.CangeTime = 1;
Enemy.instances[i].damage(this, 10);
} else {
_root.SoundMC.vertFader.ShotHitSE_NoDamage();
}
this.count = 1;
this.onEnterFrame = this.onEnterFrame2;
return(undefined);
}
}
}
this._y = this._y - 40;
};
Shot.prototype.onEnterFrame2 = function () {
if (this.count > 0) {
this.count--;
this.removeMovieClip();
}
};
Shot.prototype.removeIfOutOfBounds = function () {
if (this.yMax < Sprite.yMin) {
this.removeMovieClip();
}
};
Object.registerClass("Shot", Shot);
#endinitclip
Symbol 45 MovieClip [Laser] Frame 1
#initclip 1
function Laser(target, c, x, y, Ikacolor, rx, ry, Tdist) {
this.target = target;
this.c = c;
this.xFirstPos = x;
this.yFirstPos = y;
this.Ikacolor = Ikacolor;
this.randomx = rx;
this.randomy = ry;
this.TargetDist = Tdist;
}
function LaserPosision(ika_x, ika_y, c) {
switch (c) {
case 1 :
var fx = (ika_x + ((c & 1) ? 30 : (-30)));
var fy = (ika_y + 20);
break;
case 2 :
var fx = (ika_x + ((c & 1) ? 30 : (-30)));
var fy = (ika_y + 20);
break;
case 3 :
var fx = (ika_x + ((c & 1) ? 26 : (-26)));
var fy = (ika_y + 18);
break;
case 4 :
var fx = (ika_x + ((c & 1) ? 26 : (-26)));
var fy = (ika_y + 18);
break;
case 5 :
var fx = (ika_x + ((c & 1) ? 21 : (-21)));
var fy = (ika_y + 15.5);
break;
case 6 :
var fx = (ika_x + ((c & 1) ? 21 : (-21)));
var fy = (ika_y + 15.5);
break;
case 7 :
var fx = (ika_x + ((c & 1) ? 15 : (-15)));
var fy = (ika_y + 12.5);
break;
case 8 :
var fx = (ika_x + ((c & 1) ? 15 : (-15)));
var fy = (ika_y + 12.5);
break;
case 9 :
var fx = (ika_x + ((c & 1) ? 12 : (-12)));
var fy = (ika_y + 9);
break;
case 10 :
var fx = (ika_x + ((c & 1) ? 12 : (-12)));
var fy = (ika_y + 9);
break;
case 11 :
var fx = (ika_x + ((c & 1) ? 10 : (-10)));
var fy = (ika_y + 5);
break;
case 12 :
var fx = (ika_x + ((c & 1) ? 10 : (-10)));
var fy = (ika_y + 5);
}
newValue[0] = fx;
newValue[1] = fy;
}
newValue = new Array();
LaserFairstNum = 0.0064;
Laser.prototype.TargetDistance = 9999999 /* 0x98967F */;
Laser.prototype.TargetNoLaserX = 200;
Laser.prototype.TargetNoLaserY = -20;
Laser.prototype.Targetx = 200;
Laser.prototype.Targety = -20;
Laser.prototype.draw = function (t) {
if (this.target && (this.target.HitJuge == "on")) {
var ika_x = this.xFirstPos;
var ika_y = this.yFirstPos;
if (this.target == SordON.instance) {
var ax = ((this.randomx + Eboshidori.instance._x) - 12.5);
var ay = ((this.randomy + Eboshidori.instance._y) + 20);
} else if (this.target == ShieldON.instance) {
var ax = ((this.randomx + Eboshidori.instance._x) + 6);
var ay = ((this.randomy + Eboshidori.instance._y) - 40);
} else if (this.target == Eboshidori.instance) {
if ((((((this.c == 1) || (this.c == 3)) || (this.c == 5)) || (this.c == 7)) || (this.c == 9)) || (this.c == 11)) {
var ax = (this.randomx + Eboshidori.instance._x);
} else {
var ax = (Eboshidori.instance._x - this.randomx);
}
var ay = ((this.randomy + Eboshidori.instance._y) - 5);
} else {
var ax = ((this.randomx + this.target._x) - 10);
var ay = ((this.randomy + this.target._y) - 10);
}
this.Targetx = ax;
this.Targety = ay;
var cx = (ika_x + (((this.c * 10) + (100 - this.c)) * ((this.c & 1) ? 1 : -1)));
var cy = (ika_y + ((80 / (20 - this.c)) * 2));
LaserPosision(ika_x, ika_y, this.c);
fx = newValue[0];
fy = newValue[1];
var u = (1 - t);
var ax = ((((u * u) * fx) + (((2 * t) * u) * cx)) + ((t * t) * ax));
var ay = ((((u * u) * fy) + (((2 * t) * u) * cy)) + ((t * t) * ay));
this.TargetNoLaserX = ax;
this.TargetNoLaserY = ay;
var cx = (((cx - fx) * t) + fx);
var cy = (((cy - fy) * t) + fy);
with (myPowerLaser) {
lineStyle(7, ((this.Ikacolor == 1) ? 4626683 : 16279107), 70);
moveTo(fx, fy);
curveTo(cx, cy, ax, ay);
lineStyle(2, 16777215);
moveTo(fx, fy);
curveTo(cx, cy, ax, ay);
}
} else {
for (var i in Enemy.instances) {
if (Enemy.instances[i].HitJuge == "on") {
if (Enemy.instances[i] == SordON.instance) {
var dx = (this.TargetNoLaserX - (Eboshidori.instance._x - 5));
var dy = (this.TargetNoLaserY - (Eboshidori.instance._y + 60));
} else if (Enemy.instances[i] == ShieldON.instance) {
var dx = (this.TargetNoLaserX - (Eboshidori.instance._x + 26));
var dy = (this.TargetNoLaserY - (Eboshidori.instance._y - 25));
} else {
var dx = (this.TargetNoLaserX - Enemy.instances[i]._x);
var dy = (this.TargetNoLaserY - Enemy.instances[i]._y);
}
var Distance = Math.floor((dx * dx) + (dy * dy));
if (this.TargetDistance > Distance) {
this.TargetDistance = Distance;
this.TargetDist = Math.sqrt(this.TargetDistance);
this.target = Enemy.instances[i];
}
}
}
if (this.target == SordON.instance) {
var ranx = (random(15) + 1);
var rany = ((random(8) + 1) * 10);
} else if (this.target == ShieldON.instance) {
var ranx = ((random(4) + 1) * 10);
var rany = ((random(4) + 1) * 10);
} else if (this.target == Eboshidori.instance) {
var ranx = (random(40) + 1);
var rany = (random(10) + 1);
} else {
var ranx = (random(15) + 1);
var rany = (random(15) + 1);
}
this.randomx = ranx;
this.randomy = ranx;
this.TargetDistance = 9999999 /* 0x98967F */;
}
};
Laser.prototype.hit = function () {
this.t2 = 1;
if (_global.ExtraGame == "on") {
this.color = ExIkaruga.instance;
} else if (_global.ExtraGame == " ") {
this.color = this.Ikacolor;
}
if (this.target.HitJuge == "on") {
this.target.damage(this, 100, this.randomx, this.randomy, this.c);
_root.DamageOn(this.target);
this.target.CangeTime = 1;
}
};
#endinitclip
Symbol 46 MovieClip [Sprite] Frame 1
#initclip 2
function Sprite() {
if (this.color == this.WHITE) {
this.gotoAndStop(this.WHITE);
} else {
this.gotoAndStop(this.BLACK);
}
}
Sprite.prototype = new MovieClip();
Sprite.prototype.color = 1;
Sprite.prototype.WHITE = 1;
Sprite.prototype.BLACK = 2;
Sprite.prototype.setColor = function (c) {
this.color = c;
this.gotoAndStop(c);
_root.SoundMC.vertFader.AttributeChangeSE();
if (c == 1) {
}
};
Sprite.prototype.swapColor = function () {
if (this.color == this.WHITE) {
_root.ExIkaruga.prototype.color = this.BLACK;
this.setColor(this.BLACK);
} else {
_root.ExIkaruga.prototype.color = this.WHITE;
this.setColor(this.WHITE);
}
};
Sprite.stage = this;
Sprite.depth = 0;
Sprite.prototype.attachSprite = function (symbol, ini) {
if (symbol == "Eboshidori") {
Sprite.stage.attachMovie(symbol, "s1", depth++, ini);
} else {
Sprite.stage.attachMovie(symbol, "s" + depth, depth++, ini);
}
};
Sprite.prototype.xMin = 0;
Sprite.prototype.xMax = 0;
Sprite.prototype.yMin = 0;
Sprite.prototype.yMax = 0;
Sprite.prototype.intersect = function (s) {
return((((this.xMax > s.xMin) && (this.xMin < s.xMax)) && (this.yMax > s.yMin)) && (this.yMin < s.yMax));
};
Sprite.prototype.removeIfOutOfBounds = function () {
if ((((this.yMax < (Sprite.yMin - Sprite.Blank)) || (this.xMax < (Sprite.xMin - Sprite.Blank))) || (this.yMin > (Sprite.yMax + Sprite.Blank))) || (this.xMin > (Sprite.xMax + Sprite.Blank))) {
this.removeMovieClip();
}
};
Sprite.prototype.ExtraEnd = function () {
if (_global.ExtraGame == "off") {
this.removeMovieClip();
}
};
Sprite.xMin = 0;
if (_global.ExtraGame == "off") {
Sprite.xMax = 550;
} else {
Sprite.xMax = 370;
}
Sprite.yMin = 0;
Sprite.yMax = 550;
Sprite.Blank = 30;
Object.registerClass("Sprite", Sprite);
#endinitclip
Symbol 48 MovieClip Frame 12
stop();
Symbol 50 MovieClip Frame 12
stop();
Symbol 51 MovieClip [Utastugumi] Frame 1
#initclip 24
function Utastugumi() {
super();
this._rotation = random(360);
}
Utastugumi.prototype = new Enemy();
Utastugumi.prototype.HitJuge = "on";
Utastugumi.prototype.onEnterFrame = function () {
this._rotation = this._rotation + this.rotationSpd;
this.xMax = this._x + 20;
this.yMax = this._y + 20;
this.xMin = this._x - 20;
this.yMin = this._y - 20;
this.ExtraEnd();
};
Object.registerClass("Utastugumi", Utastugumi);
#endinitclip
Symbol 52 MovieClip [Enemy] Frame 1
#initclip 5
function Enemy() {
super();
if (this._name != undefined) {
Enemy.instances[this] = this;
}
}
Enemy.instances = {};
Enemy.prototype = new Sprite();
Enemy.prototype.onUnload = function () {
delete Enemy.instances[this];
super.onUnload();
};
Enemy.prototype.damage = function (s, n, ranx, rany, laserN) {
if (_global.ExtraGame == " ") {
if (n == 100) {
if (this == SordON.instance) {
this.attachSprite("LaserImpact", {_x:(ranx + Eboshidori.instance._x) - 12.5, _y:(rany + Eboshidori.instance._y) + 20, color:s.color});
} else if (this == ShieldON.instance) {
this.attachSprite("LaserImpact", {_x:(ranx + Eboshidori.instance._x) + 6, _y:(rany + Eboshidori.instance._y) - 40, color:s.color});
} else if (this == Eboshidori.instance) {
if ((((((laserN == 1) || (laserN == 3)) || (laserN == 5)) || (laserN == 7)) || (laserN == 9)) || (laserN == 11)) {
this.attachSprite("LaserImpact", {_x:ranx + Eboshidori.instance._x, _y:(rany + Eboshidori.instance._y) - 5, color:s.color});
} else {
this.attachSprite("LaserImpact", {_x:Eboshidori.instance._x - ranx, _y:(rany + Eboshidori.instance._y) - 5, color:s.color});
}
} else {
this.attachSprite("LaserImpact", {_x:(ranx + this._x) - 10, _y:(rany + this._y) - 10, color:s.color});
}
if (s.color == this.color) {
var n2 = n;
this.HitPoint2 = this.HitPoint2 - n2;
} else {
var n2 = (n * 2);
this.HitPoint2 = this.HitPoint2 - n2;
}
} else if (s.color == this.color) {
if (this.HitPoint2 >= n) {
var n2 = n;
} else {
var n2 = this.HitPoint2;
}
this.HitPoint2 = this.HitPoint2 - n2;
_root.SoundMC.vertFader.ShotHitSE1();
} else {
if (this.HitPoint2 >= (n * 2)) {
var n2 = (n * 2);
} else {
var n2 = this.HitPoint2;
}
this.HitPoint2 = this.HitPoint2 - n2;
_root.SoundMC.vertFader.ShotHitSE2();
}
_root.ScoreCalculation(n2);
if (this.HitPoint2 <= 0) {
if (this == Eboshidori.instance) {
if (_global.GameOver == "alive") {
_global.GameOver = "Clear";
_root.TimerSet.TimerMove.play();
this.EboBombEffect1._visible = true;
this.EboBombEffect1.gotoAndPlay(2);
}
} else if (this == SordON.instance) {
if (this.HitJuge == "on") {
this.HitJuge = "off";
this.xMax = (Eboshidori.instance._x + 25) + (Eboshidori.instance._rotation * -1);
this.yMax = Eboshidori.instance._y + 155;
this.xMin = (Eboshidori.instance._x - 20) - (Eboshidori.instance._rotation * -1);
this.yMin = Eboshidori.instance._y + 35;
this.attachSprite("EboBombEffect2", {_x:Eboshidori.instance._x - 5, _y:Eboshidori.instance._y + 100, _xscale:200, _yscale:200});
_root.SoundMC.vertFader.EboPartsBomb();
SordON.instance._visible = false;
_global.SordDestJuge = 1;
Eboshidori.instance.LeftAttack.ArmLeftHand1.LeftAttackMotion1.LeftAttackEF.gotoAndStop(5);
Eboshidori.instance.LeftAttack.ArmLeftHand1.LeftSord._visible = false;
Eboshidori.instance.LeftAttack.ArmLeftHand1.LeftHand._visible = true;
}
} else if (this == ShieldON.instance) {
if (this.HitJuge == "on") {
this.HitJuge = "off";
this.attachSprite("EboBombEffect2", {_x:Eboshidori.instance._x + 26, _y:Eboshidori.instance._y - 25, _xscale:350, _yscale:350});
_root.SoundMC.vertFader.EboPartsBomb();
ShieldON.instance._visible = false;
_global.ShieldDestJuge = 1;
_global.AttackPresent = 2;
Eboshidori.instance.EboBody.gotoAndStop(1);
Eboshidori.instance.EboRightArm.gotoAndStop(1);
Eboshidori.instance.EboFoot.gotoAndStop(1);
Eboshidori.instance.LeftAttack.gotoAndStop(1);
Eboshidori.instance.Shield.ShieldBefExp.gotoAndStop(8);
}
} else if (this.HitJuge == "on") {
this.HitJuge = "off";
if (this._x < 200) {
Eboshidori.instance.BITLeft = 0;
} else {
Eboshidori.instance.BITRight = 0;
}
_root.SoundMC.vertFader.ShotHitBombSE();
this.attachSprite("Blast", {_x:this._x, _y:this._y});
}
if (this != Eboshidori.instance) {
this.removeMovieClip();
}
this.HitPoint2 = 0;
}
_root.EnemyLife.EnemyLifeDateIn(this.HitPoint1, this.HitPoint2);
} else if (_global.ExtraGame == "on") {
this.attachSprite("Blast", {_x:this._x, _y:this._y});
var scoreup = 10;
_root.ScoreCalculation(scoreup);
this.removeMovieClip();
Enemy.number--;
}
};
Enemy.BulletBack = 3;
Enemy.number = 0;
Enemy.numRecord = 12;
Enemy.AppeaTime = 0;
Object.registerClass("Enemy", Enemy);
#endinitclip
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 37
_parent.BombStart = 2;
Symbol 63 MovieClip Frame 41
stop();
_parent.BombStart = 4;
Instance of Symbol 75 MovieClip "ShieldHitJuge" in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((_root.Ikaruga.instance._y < 240) && (_global.AttackPattern == "LightShieldAttack")) && (_root.Ikaruga.onStage == 1)) {
if (this.hitTest(_root.Ikaruga.instance._x, _root.Ikaruga.instance._y - 7, true)) {
_root.Ikaruga.instance.damage();
}
}
}
Symbol 85 MovieClip Frame 1
#initclip 6
function ShieldBefExp() {
super();
ShieldBefExp.instance = this;
}
ShieldBefExp.prototype = new Sprite();
ShieldBefExp.prototype.ROTATIONSPEED = 20;
ShieldBefExp.prototype.onEnterFrame = function () {
var ini = {_x:undefined, _y:(random(_parent.ShieldBefExp._height) + _root.Eboshidori._y) - 25};
ini.spd = 5;
this.attachSprite("ShieldBefExpBullet", ini);
};
Object.registerClass("ShieldBefExp", ShieldBefExp);
#endinitclip
_global.ShildBulletTime = 0;
Symbol 85 MovieClip Frame 14
_parent.kaitentai.Rotation2._visible = false;
_parent.kaitentai.CircleColor._visible = false;
Symbol 85 MovieClip Frame 15
_global.ShildBulletTime = 1;
stop();
Symbol 85 MovieClip Frame 16
stop();
_global.AttackPresent = 2;
Symbol 86 MovieClip [ShieldON] Frame 1
#initclip 7
function ShieldON() {
super();
ShieldON.instance = this;
this.color = 2;
}
ShieldON.prototype = new Enemy();
ShieldON.prototype.HitPoint1 = 4000;
ShieldON.prototype.HitPoint2 = 4000;
ShieldON.prototype.HitJuge = "off";
ShieldON.prototype.CangeTime = 0;
ShieldON.prototype.onEnterFrame = function () {
if (this.CangeTime > 0) {
this.CangeTime--;
} else if (this.CangeTime == 0) {
_root.DamageOff(this);
this.CangeTime = -1;
}
if ((((_global.AttackPattern == "LightShieldAttack") && (_global.AttackPresent == 1)) && (_global.ShildBulletTime == 1)) && (this._visible == true)) {
this.xMax = (Eboshidori.instance._x + 26) + 60;
this.yMax = (Eboshidori.instance._y - 25) + 70;
this.xMin = (Eboshidori.instance._x + 26) - 60;
this.yMin = (Eboshidori.instance._y - 25) - 60;
} else {
this.xMax = (this.yMax = (this.xMin = (this.yMin = undefined)));
}
};
Object.registerClass("ShieldON", ShieldON);
#endinitclip
Instance of Symbol 76 MovieClip "kaitentai" in Symbol 86 MovieClip [ShieldON] Frame 1
onClipEvent (load) {
this.Rotation._visible = false;
}
Symbol 89 MovieClip Frame 1
stop();
if (_global.ShieldDestJuge == 1) {
this.gotoAndStop(29);
}
Instance of Symbol 76 MovieClip in Symbol 89 MovieClip Frame 1
onClipEvent (load) {
this.Rotation2._visible = false;
}
Symbol 89 MovieClip Frame 2
_global.GuardPattern = "Attacknow";
_global.ShieldAttackP = 1;
Symbol 89 MovieClip Frame 9
_parent.EboRightArm.gotoAndStop(6);
Instance of Symbol 67 MovieClip in Symbol 89 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndPlay(2);
}
Instance of Symbol 76 MovieClip in Symbol 89 MovieClip Frame 11
onClipEvent (load) {
this.Rotation._visible = false;
this.Rotation2._visible = false;
}
Symbol 89 MovieClip Frame 15
stop();
_global.AttackPresent = 1;
_root.SoundMC.vertFader.ShildSE();
Instance of Symbol 86 MovieClip [ShieldON] "ShieldOnStance" in Symbol 89 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 76 MovieClip in Symbol 89 MovieClip Frame 16
onClipEvent (load) {
this.CircleColor._visible = true;
this.Rotation._visible = false;
this.Rotation2._visible = true;
}
Symbol 89 MovieClip Frame 17
_root.SoundMC.vertFader.ShildDropSE();
Symbol 89 MovieClip Frame 22
gotoAndPlay (24);
Instance of Symbol 75 MovieClip "ShieldHitJuge" in Symbol 89 MovieClip Frame 22
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((_root.Ikaruga.instance._y < 240) && (_global.AttackPattern == "LightShieldAttack")) && (_root.Ikaruga.onStage == 1)) {
if (this.hitTest(_root.Ikaruga.instance._x, _root.Ikaruga.instance._y - 7, true)) {
_root.Ikaruga.instance.damage();
}
}
}
Symbol 89 MovieClip Frame 23
stop();
Symbol 89 MovieClip Frame 24
_global.ShieldDestJuge = 1;
Symbol 89 MovieClip Frame 29
stop();
Symbol 103 MovieClip Frame 4
gotoAndPlay (1);
Symbol 103 MovieClip Frame 5
stop();
_global.AttackPresent = 2;
Symbol 106 MovieClip Frame 14
_parent.removeMovieClip();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
_root.SoundMC.vertFader.PursuitBulletSE();
Symbol 107 MovieClip Frame 10
_parent._parent._parent._parent.PursuitBulletON = 1;
Symbol 107 MovieClip Frame 15
Symbol 111 MovieClip [SordON] Frame 1
#initclip 8
function SordON() {
super();
SordON.instance = this;
}
SordON.prototype = new Enemy();
SordON.prototype.HitPoint1 = 2500;
SordON.prototype.HitPoint2 = 2500;
SordON.prototype.HitJuge = "off";
SordON.prototype.CangeTime = 0;
SordON.prototype.onEnterFrame = function () {
if (this.CangeTime > 0) {
this.CangeTime--;
} else if (this.CangeTime == 0) {
_root.DamageOff(this);
this.CangeTime = -1;
}
if (((_global.AttackPattern == "LeftSordAttack") && (_global.AttackPresent == 1)) && (this._visible == true)) {
this.xMax = (Eboshidori.instance._x + 25) + (Eboshidori.instance._rotation * -1);
this.yMax = Eboshidori.instance._y + 155;
this.xMin = (Eboshidori.instance._x - 20) + (Eboshidori.instance._rotation * -1);
this.yMin = Eboshidori.instance._y + 35;
} else {
this.xMax = (this.yMax = (this.xMin = (this.yMin = undefined)));
}
};
Object.registerClass("SordON", SordON);
#endinitclip
Symbol 112 MovieClip Frame 1
_parent._parent._parent.EboBody.gotoAndStop(3);
_parent._parent._parent.EboFoot.gotoAndStop(3);
_parent._parent._parent.EboRightArm.gotoAndStop(3);
_parent._parent.LeftShoulder._visible = false;
_parent._parent.LeftArm._visible = false;
Instance of Symbol 99 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
this._visible = true;
if (_global.SordDestJuge == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 101 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
if (_global.SordDestJuge == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 112 MovieClip Frame 12
_root.SoundMC.vertFader.SoadSE();
Symbol 112 MovieClip Frame 15
stop();
_parent._parent._parent.EboBody.gotoAndStop(2);
_parent._parent._parent.EboFoot.gotoAndStop(2);
_parent._parent._parent.EboRightArm.gotoAndStop(2);
_parent._parent._parent.gotoAndStop(2);
_global.AttackPresent = 1;
_parent._parent.LeftShoulder._visible = false;
_parent._parent.LeftArm._visible = false;
Instance of Symbol 103 MovieClip "LeftAttackEF" in Symbol 112 MovieClip Frame 15
onClipEvent (load) {
this._visible = false;
if (_global.AttackPattern == "LeftSordAttack") {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 107 MovieClip "LeftPursuitBulletBef" in Symbol 112 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 111 MovieClip [SordON] "SordFaceON" in Symbol 112 MovieClip Frame 15
onClipEvent (load) {
this._visible = true;
if (_global.SordDestJuge == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((this._visible == true) && (_root.Ikaruga.onStage == 1)) {
if (this.hitTest(_root.Ikaruga.instance._x, _root.Ikaruga.instance._y - 11.9, true)) {
_root.Ikaruga.instance.damage();
}
}
}
Symbol 113 MovieClip Frame 1
stop();
Instance of Symbol 93 MovieClip "LeftSord" in Symbol 113 MovieClip Frame 1
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 95 MovieClip "LeftHand" in Symbol 113 MovieClip Frame 1
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 113 MovieClip Frame 2
stop();
Instance of Symbol 120 MovieClip "LeftSord" in Symbol 124 MovieClip Frame 7
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 123 MovieClip "LeftHand" in Symbol 124 MovieClip Frame 7
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 124 MovieClip Frame 8
stop();
Instance of Symbol 120 MovieClip "{LeftSord" in Symbol 126 MovieClip Frame 12
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 123 MovieClip "LeftHand" in Symbol 126 MovieClip Frame 12
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 126 MovieClip Frame 17
_parent.gotoAndStop(1);
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 3
stop();
Symbol 128 MovieClip Frame 4
stop();
Symbol 128 MovieClip Frame 5
stop();
Instance of Symbol 120 MovieClip "LeftSord" in Symbol 128 MovieClip Frame 5
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 123 MovieClip "LeftHand" in Symbol 128 MovieClip Frame 5
onClipEvent (load) {
if (_global.SordDestJuge == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
stop();
Symbol 133 MovieClip Frame 3
stop();
Symbol 133 MovieClip Frame 4
stop();
Symbol 147 MovieClip Frame 4
_parent._parent.LeftAttack.gotoAndStop(4);
Symbol 147 MovieClip Frame 20
_parent.gotoAndStop(1);
_parent._parent.LeftAttack.gotoAndStop(1);
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
Symbol 149 MovieClip Frame 3
stop();
Instance of Symbol 137 MovieClip in Symbol 149 MovieClip Frame 3
onClipEvent (load) {
if (_global.ShieldDestJuge == 0) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 139 MovieClip in Symbol 149 MovieClip Frame 3
onClipEvent (load) {
if (_global.ShieldDestJuge == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 149 MovieClip Frame 4
stop();
Symbol 149 MovieClip Frame 5
stop();
Symbol 149 MovieClip Frame 6
stop();
Symbol 159 MovieClip Frame 1
stop();
Instance of Symbol 152 MovieClip "EboshiHitJudg" in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((_root.Ikaruga.instance._y < 240) && (_global.GameOver == "alive")) && (_root.Ikaruga.onStage == 1)) {
if (this.hitTest(_root.Ikaruga.instance._x, _root.Ikaruga.instance._y - 7, true)) {
_root.Ikaruga.instance.damage();
}
}
}
Symbol 159 MovieClip Frame 2
stop();
Instance of Symbol 155 MovieClip "EboshiHitJudg" in Symbol 159 MovieClip Frame 2
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((_root.Ikaruga.instance._y < 230) && (_global.GameOver == "alive")) && (_root.Ikaruga.onStage == 1)) {
if (this.hitTest(_root.Ikaruga.instance._x, _root.Ikaruga.instance._y - 7, true)) {
_root.Ikaruga.instance.damage();
}
}
}
Symbol 159 MovieClip Frame 3
stop();
Instance of Symbol 158 MovieClip "EboshiHitJudg" in Symbol 159 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((_root.Ikaruga.instance._y < 220) && (_global.GameOver == "alive")) && (_root.Ikaruga.onStage == 1)) {
if (this.hitTest(_root.Ikaruga.instance._x, _root.Ikaruga.instance._y - 7, true)) {
_root.Ikaruga.instance.damage();
}
}
}
Symbol 163 MovieClip [Eboshidori] Frame 1
#initclip 9
function Eboshidori() {
super();
Eboshidori.instance = this;
this.EboBombEffect1._visible = false;
}
function ColorChange() {
if (CC > 0) {
CC--;
} else if (DC == 0) {
DamageOn();
DC = 1;
} else {
DamageOff();
DC = 0;
}
}
var CC = 1;
var ColorValue = CC;
var DC = 0;
Eboshidori.prototype = new Enemy();
Eboshidori.prototype.count = 0;
Eboshidori.prototype.count2 = 1;
Eboshidori.prototype.BITnumber = 0;
Eboshidori.prototype.BITLeft = 1;
Eboshidori.prototype.BITRight = 1;
Eboshidori.prototype.HitJuge = "off";
Eboshidori.prototype.CangeTime = 0;
Eboshidori.prototype.ShieldBulletSetNumber = 0;
Eboshidori.prototype.ShieldBulletAddsPoint = 5;
Eboshidori.prototype.GrenadCount1 = 0;
Eboshidori.prototype.GrenadCount2 = 0;
Eboshidori.prototype.GrenadCount3 = 0;
Eboshidori.prototype.PursuitBulletON = 0;
Eboshidori.prototype.PursuitBulletCount = 23;
Eboshidori.prototype.BombStart = 0;
Eboshidori.prototype.BitSet = function (c1, c2) {
_root.SoundMC.vertFader.BitMoveSE();
var Leftini = {_x:this._x, _y:this._y, _alpha:this.BITalpha, color:c1};
var targetx = 40;
var targety = 90;
var dx = (targetx - this._x);
var dy = (targety - this._y);
dx2 = Math.floor(dx) * 0.1;
dy2 = Math.floor(dy) * 0.1;
Leftini.ikaDiffX = dx2;
Leftini.ikaDiffY = dy2;
Leftini.pattern = 5;
Leftini.attacktime = 0;
Leftini.rotationSpd = 15;
Leftini.HitPoint1 = 2400;
Leftini.HitPoint2 = 2400;
Leftini.out = -15;
if (this.BITnumber == 4) {
Leftini.noout = 1;
} else {
Leftini.noout = 0;
}
this.attachSprite("EboBit", Leftini);
this.BITLeft = 1;
this.BITnumber++;
var rightini = {_x:this._x, _y:this._y, _alpha:0, color:c2};
var targetx = 360;
var targety = 90;
var dx = (targetx - this._x);
var dy = (targety - this._y);
dx2 = Math.floor(dx) * 0.1;
dy2 = Math.floor(dy) * 0.1;
rightini.ikaDiffX = dx2;
rightini.ikaDiffY = dy2;
rightini.pattern = 5;
rightini.attacktime = 0;
rightini.rotationSpd = -15;
rightini.HitPoint1 = 2400;
rightini.HitPoint2 = 2400;
rightini.out = 15;
if (this.BITnumber == 5) {
rightini.noout = 1;
} else {
rightini.noout = 0;
}
this.attachSprite("EboBit", rightini);
this.BITRight = 1;
this.BITnumber++;
};
Eboshidori.prototype.onEnterFrame = function () {
if (this.CangeTime > 0) {
this.CangeTime--;
} else if (this.CangeTime == 0) {
_root.DamageOff(this);
this.CangeTime = -1;
}
if ((_global.timer >= 0) && (_global.GameOver == "alive")) {
this.xMax = this._x + 115;
if (ShieldON.instance.HitJuge == "on") {
this.yMax = this._y + 10;
} else {
this.yMax = this._y + 35;
}
this.xMin = this._x - 120;
this.yMin = this._y - 15;
if (this.count <= 10) {
this.count++;
if ((this.count == 5) && (this.BITnumber == 0)) {
var bitcolor1 = 2;
var bitcolor2 = 2;
this.BitSet(bitcolor1, bitcolor2);
}
} else if (_global.AttackPattern == "LeftSordAttack") {
if (_global.AttackPresent == 0) {
if (this.count2 == 1) {
this.gotoAndStop(2);
this.LeftAttack.gotoAndStop(2);
this.LeftAttack.ArmLeftHand1.gotoAndStop(2);
this.Shield.gotoAndStop(23);
_global.SordDestJuge = 0;
var SAtime = 8;
this.count2 = 2;
}
} else if (_global.AttackPresent == 1) {
if (_global.timerCorrection == undefined) {
_global.timerCorrection = Math.floor(getTimer() / 1000);
}
if (SAtime == 8) {
if (SordON.instance.HitJuge == "off") {
SordON.instance.HitJuge = "on";
}
var ap = 0;
while (ap < 5) {
var o = {_x:(this._x - 17.5) + ((this._rotation / 1.25) * -1), _y:(this._y + 60) - (Math.abs(this._rotation) / 2), color:this.color, _xscale:90, _yscale:90};
switch (ap) {
case 0 :
o.xspd = (-50) - (Math.floor(this._rotation) * 2);
o.yspd = 50 - (Math.floor(this._rotation) * 2);
break;
case 1 :
o.xspd = (-50) - (Math.floor(this._rotation) * 3.5);
o.yspd = 100 - (Math.floor(this._rotation) * 2);
break;
case 2 :
o.xspd = -(Math.floor(this._rotation) * 4);
o.yspd = 150 - (Math.floor(this._rotation) * 4);
break;
case 3 :
o.xspd = 50 - (Math.floor(this._rotation) * 3.5);
o.yspd = 100 + (Math.floor(this._rotation) * 2);
break;
case 4 :
o.xspd = 50 - (Math.floor(this._rotation) * 2);
o.yspd = 50 + (Math.floor(this._rotation) * 2);
}
o._rotation = ((Math.atan2(o.yspd, o.xspd) / Math.PI) * 180) - 95;
var sordspd = ((9 + Math.random()) / Math.sqrt((o.xspd * o.xspd) + (o.yspd * o.yspd)));
o.xspd = o.xspd * sordspd;
o.yspd = o.yspd * sordspd;
o.FireShieldxscale = 80;
this.attachSprite("FireShield", o);
ap++;
}
SAtime = 0;
} else {
SAtime++;
}
_root.LR_Move(this, this._x, this._y);
if (_global.timer == 82) {
_global.AttackPresent = 2;
SordON.instance.HitJuge = "off";
this.HitJuge = "on";
}
} else if (_global.AttackPresent == 2) {
this.gotoAndStop(1);
this.EboBody.gotoAndStop(1);
this.EboFoot.gotoAndStop(1);
this.EboRightArm.gotoAndStop(1);
this.LeftAttack.gotoAndStop(1);
this.LeftAttack.ArmLeftHand1.gotoAndStop(1);
this.Shield.gotoAndStop(1);
if ((this._x < 197) || (this._x > 203)) {
_root.Move_to_Center(this, this._x, this._y);
} else {
_global.AttackPattern = "LightShieldAttack";
_global.AttackPresent = 0;
_global.AttackOnTime = 100;
this.count2 = 0;
this.count = -14;
SAtime = 2;
ChangeNum = 1;
this.BITLeft = (this.BITRight = 0);
}
}
} else if (_global.AttackPattern == "LightShieldAttack") {
if (_global.AttackPresent == 0) {
if ((this.BITLeft == 0) && (this.BITRight == 0)) {
var bitcolor1 = 1;
var bitcolor2 = 1;
this.BitSet(bitcolor1, bitcolor2);
}
if (this.count2 == 12) {
this.EboBody.gotoAndStop(4);
this.LeftAttack.gotoAndStop(5);
this.EboRightArm.gotoAndStop(5);
this.EboFoot.gotoAndStop(3);
this.Shield.gotoAndPlay(2);
this.count2 = -1;
this.HitJuge = "off";
} else {
this.count2++;
}
} else if (_global.AttackPresent == 1) {
_root.LR_Move(this, this._x, this._y);
if (_global.ShildBulletTime == 1) {
if (SAtime == 2) {
if (ShieldON.instance.HitJuge == "off") {
ShieldON.instance.HitJuge = "on";
}
_root.SoundMC.vertFader.ShildBulletSE();
var xPos = (this._x + 34);
var yPos = (this._y + 9);
var i = 0;
while (i < 8) {
var ini = {_x:xPos + _root.Bulleds[(i + this.ShieldBulletSetNumber) + this.ShieldBulletAddsPoint][0], _y:yPos + _root.Bulleds[(i + this.ShieldBulletSetNumber) + this.ShieldBulletAddsPoint][1], color:2};
var x = (ini._x - xPos);
var y = (ini._y - yPos);
ini._rotation = ((Math.atan2(y, x) / Math.PI) * 180) - 95;
ini.xspd = x * 4.5;
ini.yspd = y * 4.5;
this.attachSprite("FireShield", ini);
i++;
}
SAtime = 0;
if (ChangeNum == 0) {
if (this.ShieldBulletSetNumber == 0) {
this.ShieldBulletSetNumber = 16;
} else if (this.ShieldBulletSetNumber == 16) {
this.ShieldBulletSetNumber = 32;
} else if (this.ShieldBulletSetNumber == 32) {
this.ShieldBulletSetNumber = 0;
}
ChangeNum = 1;
} else {
ChangeNum--;
}
} else {
SAtime++;
}
}
if (_global.timer <= 57) {
_global.AttackPresent = 2;
}
} else if (_global.AttackPresent == 2) {
if (ShieldON.instance.HitPoint2 > 0) {
ShieldON.instance.HitPoint2 = 0;
this.Shield.ShieldOnStance.ShieldBefExp.gotoAndStop(8);
this.Shield.gotoAndPlay(16);
this.EboBody.gotoAndStop(1);
this.EboRightArm.gotoAndStop(1);
this.EboFoot.gotoAndStop(1);
this.LeftAttack.gotoAndStop(1);
} else if ((this._x < 197) || (this._x > 203)) {
_root.Move_to_Center(this, this._x, this._y);
} else {
_global.AttackPattern = "LightGranad";
_global.AttackPresent = 0;
_global.AttackOnTime = 100;
this.count2 = 0;
this.count = -14;
var t = 0;
var cc = 2;
this.BITLeft = (this.BITRight = 0);
this.HitJuge = "on";
}
}
} else if (_global.AttackPattern == "LightGranad") {
if (_global.AttackPresent == 0) {
if (((this.BITLeft == 0) && (this.BITRight == 0)) && (this.BITnumber < 6)) {
var bitcolor1 = 1;
var bitcolor2 = 2;
this.BitSet(bitcolor1, bitcolor2);
}
if (this.count2 <= 45) {
this.count2++;
if (this.count2 == 26) {
this.EboRightArm.gotoAndStop(4);
}
} else {
_root.SoundMC.vertFader.GranadMotionSE();
_global.AttackPresent = 1;
this.count2 = 1;
}
} else if (_global.AttackPresent == 1) {
if (t < 4) {
if (cc == 2) {
cc = 1;
} else if (cc == 1) {
cc = 2;
}
var i = 0;
while (i < 4) {
switch (i) {
case 0 :
var ini = {_x:200 - 20, _y:this._y + 75, color:cc};
ini.xspd = -3.25;
break;
case 1 :
var ini = {_x:200, _y:this._y + 75, color:cc};
ini.xspd = -1.25;
break;
case 2 :
var ini = {_x:200 + 20, _y:this._y + 75, color:cc};
ini.xspd = 1;
break;
case 3 :
var ini = {_x:200 + 40, _y:this._y + 75, color:cc};
ini.xspd = 3;
break;
default :
return(undefined);
}
ini.yspd = 1;
ini.bombspd = ((random(3) + 1) * 5) + 10;
if (ini.bombspd == 15) {
if ((++this.GrenadCount1) == 3) {
if (this.GrenadCount2 < 2) {
ini.bombspd = 20;
this.GrenadCount2++;
} else {
ini.bombspd = 25;
this.GrenadCount3++;
}
}
} else if (ini.bombspd == 20) {
if ((++this.GrenadCount2) == 3) {
if (this.GrenadCount3 < 2) {
ini.bombspd = 25;
this.GrenadCount3++;
} else {
ini.bombspd = 15;
this.GrenadCount1++;
}
}
} else if (ini.bombspd == 25) {
if ((++this.GrenadCount3) == 3) {
if (this.GrenadCount1 < 2) {
ini.bombspd = 15;
this.GrenadCount1++;
} else {
ini.bombspd = 20;
this.GrenadCount2++;
}
}
}
this.attachSprite("StielhandGranate", ini);
i++;
}
this.GrenadCount1 = (this.GrenadCount2 = (this.GrenadCount3 = 0));
if (t < 3) {
_global.AttackPresent = 0;
}
t++;
} else {
_global.AttackPresent = 2;
}
} else if (_global.AttackPresent == 2) {
_global.AttackPattern = "LeftPursuitBullet";
_global.AttackPresent = 0;
_global.AttackOnTime = 100;
this.count2 = 1;
this.count = -60;
}
} else if (_global.AttackPattern == "LeftPursuitBullet") {
if (_global.AttackPresent == 0) {
if (this.count2 == 1) {
this.EboBody.gotoAndStop(2);
this.EboFoot.gotoAndStop(2);
this.EboRightArm.gotoAndStop(3);
_global.AttackPresent = 1;
this.gotoAndStop(2);
this.Shield.gotoAndStop(29);
this.LeftAttack.gotoAndStop(2);
this.LeftAttack.ArmLeftHand1.gotoAndStop(2);
_global.PursuitBulletNum = 0;
this.count2 = 2;
}
} else if (_global.AttackPresent == 1) {
if ((this._x < 197) || (this._x > 203)) {
_root.Move_to_Center(this, this._x, this._y);
_global.PursuitBulletNum = 0;
} else {
if ((_global.SordDestJuge == 0) && (SordON.instance.HitJuge == "off")) {
SordON.instance.HitJuge = "on";
}
if (_global.PursuitBulletNum == 4) {
_global.AttackPresent = 2;
_global.PursuitBulletNum = 0;
} else if (this.PursuitBulletON == 1) {
var i = 0;
while (i < 5) {
switch (i) {
case 0 :
var ini = {_x:this._x - 4, _y:(this._y + 45) + 1, dir:Math.PI - 0.4, rot:0, rot2:-0.055};
break;
case 1 :
var ini = {_x:this._x - 2, _y:(this._y + 45) + 3, dir:(Math.PI / 2) + 0.8, rot:0, rot2:-0.05};
break;
case 2 :
var ini = {_x:this._x, _y:(this._y + 45) + 5, dir:Math.PI / 2, rot:0, rot2:0};
break;
case 3 :
var ini = {_x:this._x + 2, _y:(this._y + 45) + 3, dir:(Math.PI / 2) - 0.8, rot:0, rot2:0.05};
break;
case 4 :
var ini = {_x:this._x + 4, _y:(this._y + 45) + 1, dir:(Math.PI / 4) - 0.4, rot:0, rot2:0.055};
break;
default :
return(undefined);
}
ini.c = i + 1;
this.attachSprite("LeftPursuitBullet", ini);
this.count = -14;
i++;
}
_global.PursuitBulletNum++;
this.PursuitBulletON = 0;
} else if ((++this.PursuitBulletCount) == 24) {
this.LeftAttack.ArmLeftHand1.LeftAttackMotion1.LeftPursuitBulletBef.gotoAndPlay(2);
this.PursuitBulletCount = 0;
}
}
} else if (_global.AttackPresent == 2) {
SordON.instance.HitJuge = "off";
this.gotoAndStop(1);
this.Shield.gotoAndStop(29);
this.EboBody.gotoAndStop(1);
this.EboFoot.gotoAndStop(1);
this.EboRightArm.gotoAndStop(1);
this.LeftAttack.gotoAndStop(1);
this.LeftAttack.ArmLeftHand1.gotoAndStop(1);
_global.AttackPattern = "LightGranad";
_global.AttackPresent = 0;
_global.AttackOnTime = 100;
this.count2 = 1;
this.count = -14;
cc = 2;
t = 0;
}
}
} else if (_global.GameOver == "timeover") {
this.gotoAndPlay(3);
_root.TimerSet.TimerMove.play();
} else if (_global.GameOver == "dead") {
this.removeMovieClip();
} else if (_global.GameOver == "Clear") {
if (this.BombStart == 0) {
_root.DamageOff(this);
this.gotoAndStop(1);
this.EboBody.gotoAndStop(1);
this.EboFoot.gotoAndStop(1);
this.EboRightArm.gotoAndStop(1);
this.LeftAttack.gotoAndStop(1);
this.LeftAttack.ArmLeftHand1.gotoAndStop(1);
this.BombStart = 1;
}
if (this.BombStart == 1) {
this.attachSprite("EboBombEffect2", {_x:this._x, _y:this._y, _xscale:600, _yscale:600});
_root.SoundMC.vertFader.EboshidoriBomb();
this.BombStart = 3;
this.removeMovieClip();
}
}
};
Eboshidori.prototype.onEnterFrame2 = function () {
if (this.BombStart == 4) {
_root.Silhouette(this);
this.BombStart = 5;
} else if (this.BombStart == 5) {
this._y = this._y - 40;
this.xMin = this._x;
this.xMax = this._x;
this.yMax = this._y + 145;
this.yMin = this._y - 115;
this.removeIfOutOfBounds();
}
};
Object.registerClass("Eboshidori", Eboshidori);
#endinitclip
Instance of Symbol 89 MovieClip "Shield" in Symbol 163 MovieClip [Eboshidori] Frame 1
/* no clip actions */
Symbol 163 MovieClip [Eboshidori] Frame 2
stop();
Instance of Symbol 89 MovieClip "Shield" in Symbol 163 MovieClip [Eboshidori] Frame 2
/* no clip actions */
Symbol 163 MovieClip [Eboshidori] Frame 20
this.removeMovieClip();
Symbol 165 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 166 MovieClip [Blast] Frame 1
onEnterFrame = function () {
if (_global.ExtraGame == "off") {
this.removeMovieClip();
}
};
Symbol 170 MovieClip [SeacretDocument] Frame 55
this.removeMovieClip();
Symbol 170 MovieClip [SeacretDocument] Frame 56
stop();
Symbol 177 MovieClip [StielhandGranate] Frame 1
#initclip 10
function StielhandGranate() {
super();
this._rotation = random(360);
this._alpha = 50;
}
StielhandGranate.prototype = new Sprite();
StielhandGranate.prototype.ROTATIONSPEED = 20;
StielhandGranate.prototype.onEnterFrame = function () {
if (this._y < 255) {
this._x = this._x + this.xspd;
this._y = this._y + this.yspd;
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
} else if (this._y < 260) {
this._y = this._y + this.yspd;
} else {
if (this.bombspd == 0) {
_root.SoundMC.vertFader.GranadBombSE();
this.attachSprite("GranateBlast", {_x:this._x, _y:this._y});
var i = 0;
while (i < 20) {
var ini = {_x:this._x + _root.Sets[i + 1][0], _y:this._y + _root.Sets[i + 1][1], color:this.color, _xscale:100, _yscale:100, _alpha:100};
var x = (ini._x - this._x);
var y = (ini._y - this._y);
ini.xspd = x * 10;
ini.yspd = y * 10;
this.attachSprite("Fire", ini);
i++;
}
this.removeMovieClip();
} else if (this.bombspd == 6) {
this.attachSprite("GranateBefExp", {_x:this._x, _y:this._y + 4, color:this.color});
} else if (this.bombspd == 10) {
if (this.BombSign._xscale < 100) {
this.BombSign._xscale = (this.BombSign._yscale = 100);
}
}
this.bombspd--;
}
this._rotation = this._rotation + (this.ROTATIONSPEED - 5);
if ((_root.Ikaruga.onStage == 3) || (_global.GameOver == "dead")) {
this.removeMovieClip();
}
};
Object.registerClass("StielhandGranate", StielhandGranate);
#endinitclip
Symbol 180 MovieClip [EboBit] Frame 1
#initclip 23
function EboBit() {
super();
}
EboBit.prototype = new Enemy();
EboBit.prototype.ALPHASPEED = 5;
EboBit.prototype.HitJuge = "off";
EboBit.prototype.CangeTime = 0;
EboBit.prototype.onEnterFrame = function () {
this._rotation = this._rotation + this.rotationSpd;
this.xMax = this._x + 25;
this.yMax = this._y + 25;
this.xMin = this._x - 20;
this.yMin = this._y - 20;
if (this._alpha < 100) {
this._alpha = this._alpha + this.ALPHASPEED;
}
if (this.pattern == 5) {
this._x = this._x + this.ikaDiffX;
this._y = this._y + this.ikaDiffY;
if ((this._x >= 360) || (this._x < 40)) {
this.pattern = 1;
if (this.HitJuge == "off") {
this.HitJuge = "on";
}
}
} else if ((this.pattern == 1) && (_global.AttackPattern != "LightGranad")) {
if (this.attacktime == 15) {
var x = (Ikaruga.instance._x - this._x);
var y = (Ikaruga.instance._y - this._y);
var spd = ((8 + Math.random()) / Math.sqrt((x * x) + (y * y)));
this.attachSprite("FireSet", {_x:this._x, _y:this._y, color:this.color, xspd:x * spd, yspd:y * spd, _alpha:100});
this.attacktime = 0;
}
this.attacktime++;
}
if (this.CangeTime > 0) {
this.CangeTime--;
} else if (this.CangeTime == 0) {
_root.DamageOff(this);
this.CangeTime = -1;
}
if (_global.GameOver != "alive") {
this.removeMovieClip();
}
if ((_global.AttackPresent == 2) && (this.noout != 1)) {
this.onEnterFrame = this.onEnterFrame2;
}
};
EboBit.prototype.onEnterFrame2 = function () {
if (this.CangeTime > 0) {
this.CangeTime--;
} else if (this.CangeTime == 0) {
_root.DamageOff(this);
this.CangeTime = -1;
}
this._x = this._x + this.out;
this.xMax = (this.xMin = this._x);
this.removeIfOutOfBounds();
};
Object.registerClass("EboBit", EboBit);
#endinitclip
Symbol 183 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 186 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 187 MovieClip [LaserImpact] Frame 1
#initclip 21
function LaserImpact() {
super();
}
LaserImpact.prototype = new Sprite();
Object.registerClass("LaserImpact", LaserImpact);
#endinitclip
Symbol 189 MovieClip Frame 14
_parent.removeMovieClip();
Symbol 190 MovieClip [LaserEfect] Frame 1
#initclip 13
function LaserEfect() {
super();
}
LaserEfect.prototype = new Sprite();
Object.registerClass("LaserEfect", LaserEfect);
#endinitclip
Symbol 191 MovieClip [GranateBlast] Frame 6
this.removeMovieClip();
Symbol 191 MovieClip [GranateBlast] Frame 7
stop();
Symbol 193 MovieClip Frame 6
_parent.removeMovieClip();
Symbol 195 MovieClip Frame 6
_parent.removeMovieClip();
Symbol 196 MovieClip [GranateBefExp] Frame 1
#initclip 14
function GranateBefExp() {
super();
}
GranateBefExp.prototype = new Sprite();
Object.registerClass("GranateBefExp", GranateBefExp);
#endinitclip
Symbol 198 MovieClip Frame 19
if (_root.Ikaruga.onStage == 2) {
_root.Ikaruga.onStage = 2.5;
}
Symbol 198 MovieClip Frame 20
stop();
_root.IkarugaON._y = 450;
if (_root.Ikaruga.onStage == 2.5) {
_root.Ikaruga.onStage = 3;
}
_parent.removeMovieClip();
Symbol 200 MovieClip Frame 19
if (_root.Ikaruga.onStage == 2) {
_root.Ikaruga.onStage = 2.5;
}
Symbol 200 MovieClip Frame 20
stop();
_root.IkarugaON._y = 450;
if (_root.Ikaruga.onStage == 2.5) {
_root.Ikaruga.onStage = 3;
}
_parent.removeMovieClip();
Symbol 201 MovieClip [Ikaruga_Start] Frame 1
#initclip 15
function Ikaruga_Start() {
super();
}
Ikaruga_Start.prototype = new Sprite();
Object.registerClass("Ikaruga_Start", Ikaruga_Start);
#endinitclip
Symbol 208 MovieClip [FireSet] Frame 1
#initclip 16
function FireSet() {
super();
this._xscale = this._xscale;
this._yscale = this._yscale;
this._alpha = 50;
}
FireSet.prototype = new Sprite();
FireSet.prototype.SPEED = 5;
FireSet.prototype.ALPHASPEED = 10;
FireSet.prototype.ROTATIONSPEED = 40;
FireSet.prototype.onEnterFrame = function () {
this._x = this._x + this.xspd;
this._y = this._y + this.yspd;
this._rotation = this._rotation + this.ROTATIONSPEED;
this.xMax = this._x + 6;
this.yMax = this._y + 6;
this.xMin = this._x - 6;
this.yMin = this._y - 6;
if ((_root.Ikaruga.onStage == 2.5) || (_global.GameOver != "alive")) {
this.removeMovieClip();
}
if (this._alpha < 100) {
this._alpha = this._alpha + this.ALPHASPEED;
}
this.removeIfOutOfBounds();
var ika = Ikaruga.instance;
if (this.color == ika.color) {
var dx = (this._x - ika._x);
var dy = (this._y - ika._y);
if (((Math.abs(dx) < 38) && (Math.abs(dy) < 38)) && (Math.sqrt((dx * dx) + (dy * dy)) < (ika.IkarugaRing._width * 0.5))) {
this.ikaDiffX = dx;
this.ikaDiffY = dy;
_root.ScoreCalculation(100);
if (_global.stock < 120) {
_global.stock = _global.stock + 1;
if (_global.stock == 120) {
_root.SoundMC.vertFader.LaserMaxSE();
}
}
this.FireSet._visible = false;
this.Absorb._visible = true;
var ini = {_x:this.ikaDiffX, _y:this.ikaDiffY, color:this.color};
ini.ikaDiffX = ini._x;
ini.ikaDiffY = ini._y;
this.attachSprite("AbsorpImpact", ini);
_root.SoundMC.vertFader.AbsorbSE();
this.onEnterFrame = this.onEnterFrame2;
}
} else if ((_root.Ikaruga.onStage == 1) && (ika.intersect(this))) {
ika.damage(this);
this.removeMovieClip();
}
};
FireSet.prototype.onEnterFrame2 = function () {
this.ikaDiffX = this.ikaDiffX * 0.6;
this.ikaDiffY = this.ikaDiffY * 0.6;
if (((++this.oef2count) > 7) || (Key.isDown(88))) {
this.removeMovieClip();
} else {
this._x = Ikaruga.instance._x + this.ikaDiffX;
this._y = Ikaruga.instance._y + this.ikaDiffY;
this._xscale = (this._yscale = this._yscale - 10);
}
};
Object.registerClass("FireSet", FireSet);
#endinitclip
Instance of Symbol 204 MovieClip "Absorb" in Symbol 208 MovieClip [FireSet] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 207 MovieClip "Absorb" in Symbol 208 MovieClip [FireSet] Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 219 MovieClip [FireShield] Frame 1
#initclip 17
function FireShield() {
super();
this._alpha = 0;
this.Absorb._visible = false;
this.FireShield._xscale = this.FireShieldxscale;
}
FireShield.prototype = new Sprite();
FireShield.prototype.onEnterFrame = function () {
this._x = this._x + this.xspd;
this._y = this._y + this.yspd;
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
}
this.xMax = this._x + 7;
this.yMax = this._y + 7;
this.xMin = this._x - 7;
this.yMin = this._y - 7;
if ((_root.Ikaruga.onStage == 2.5) || (_global.GameOver != "alive")) {
this.removeMovieClip();
}
this.removeIfOutOfBounds();
var ika = Ikaruga.instance;
if (this.color == ika.color) {
var dx = (this._x - ika._x);
var dy = (this._y - ika._y);
if (((Math.abs(dx) < 38) && (Math.abs(dy) < 38)) && (Math.sqrt((dx * dx) + (dy * dy)) < (ika.IkarugaRing._width * 0.5))) {
this.ikaDiffX = dx;
this.ikaDiffY = dy;
_root.ScoreCalculation(100);
if (_global.stock < 120) {
_global.stock = _global.stock + 1;
if (_global.stock == 120) {
_root.SoundMC.vertFader.LaserMaxSE();
}
}
this.FireShield._visible = false;
this.Absorb._visible = true;
var ini = {_x:this.ikaDiffX, _y:this.ikaDiffY, color:this.color};
ini.ikaDiffX = ini._x;
ini.ikaDiffY = ini._y;
this.attachSprite("AbsorpImpact", ini);
_root.SoundMC.vertFader.AbsorbSE();
this.onEnterFrame = this.onEnterFrame2;
}
} else if ((_root.Ikaruga.onStage == 1) && (ika.intersect(this))) {
ika.damage(this);
this.removeMovieClip();
}
};
FireShield.prototype.onEnterFrame2 = function () {
this.ikaDiffX = this.ikaDiffX * 0.6;
this.ikaDiffY = this.ikaDiffY * 0.6;
if (((++this.oef2count) > 7) || (Key.isDown(88))) {
this.removeMovieClip();
} else {
this._x = Ikaruga.instance._x + this.ikaDiffX;
this._y = Ikaruga.instance._y + this.ikaDiffY;
this._xscale = (this._yscale = this._yscale - 10);
}
};
Object.registerClass("FireShield", FireShield);
#endinitclip
Symbol 224 MovieClip [LeftPursuitBullet] Frame 1
#initclip 18
function LeftPursuitBullet() {
super();
}
LeftPursuitBullet.prototype = new Sprite();
LeftPursuitBullet.prototype.SPEED = 15;
LeftPursuitBullet.prototype.onEnterFrame = function () {
this.xMax = this._x + 20;
this.yMax = this._y + 20;
this.xMin = this._x - 20;
this.yMin = this._y - 20;
if (((++this.MoveCount) >= 10) && (this.MoveCount < 28)) {
this.dist_x = Ikaruga.instance._x - this._x;
if (Ikaruga.instance._y > this._y) {
if (Ikaruga.instance._y < 440) {
this.dist_y = 440 - this._y;
} else {
this.dist_y = Ikaruga.instance._y - this._y;
}
} else if (Ikaruga.instance._y < 440) {
this.dist_y = this._y - 440;
} else {
this.dist_y = this._y - Ikaruga.instance._y;
}
if (this.c == 5) {
this.rad = Math.atan2(this.dist_y, this.dist_x);
this.deg = (this.rad * 180) / Math.PI;
this.deg2 = Math.abs(this.deg);
if (this.MoveCount == 10) {
this.dist2 = Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y));
this.dist3 = this.dist2 + ((((this.dist2 - 294) / 50) + 1) * 14.2);
}
this.spd = ((9 * (Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y)) / this.dist3)) + Math.random()) / this.deg2;
this.dir = this.dir + (this.rad * this.spd);
this._x = this._x + (Math.cos(this.dir) * this.SPEED);
this._y = this._y + (Math.sin(this.dir) * this.SPEED);
} else if (this.c == 4) {
this.rad = Math.atan2(this.dist_y, this.dist_x);
this.deg = (this.rad * 180) / Math.PI;
this.deg2 = Math.abs(this.deg);
if (this.MoveCount == 10) {
this.dist2 = Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y));
this.dist3 = this.dist2 + ((this.dist2 - 304) / 2);
}
this.spd = ((8 * (Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y)) / this.dist3)) + Math.random()) / this.deg2;
this.dir = this.dir + (this.rad * this.spd);
this._x = this._x + (Math.cos(this.dir) * this.SPEED);
this._y = this._y + (Math.sin(this.dir) * this.SPEED);
} else if (this.c == 3) {
this.rad = Math.atan2(this.dist_x, this.dist_y);
this.deg = (this.rad * 180) / Math.PI;
this.deg2 = Math.abs(this.deg);
this.spd = (7 + Math.random()) / Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y));
this.dir = this.dir - (this.rad * this.spd);
this._x = this._x + (Math.cos(this.dir) * this.SPEED);
this._y = this._y + (Math.sin(this.dir) * this.SPEED);
} else if (this.c == 2) {
this.rad = Math.atan2(this.dist_x, this.dist_y);
this.deg = (this.rad * 180) / Math.PI;
this.deg2 = Math.abs(this.deg);
if (this.MoveCount == 10) {
this.dist2 = Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y));
this.dist3 = this.dist2 + ((this.dist2 - 304) / 2);
}
this.spd = ((8 * (Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y)) / this.dist3)) + Math.random()) / this.deg2;
this.dir = this.dir - (this.rad * this.spd);
this._x = this._x + (Math.cos(this.dir) * this.SPEED);
this._y = this._y + (Math.sin(this.dir) * this.SPEED);
} else if (this.c == 1) {
this.rad = Math.atan2(this.dist_x, this.dist_y);
this.deg = (this.rad * 180) / Math.PI;
this.deg2 = Math.abs(this.deg);
if (this.MoveCount == 10) {
this.dist2 = Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y));
this.dist3 = this.dist2 + ((((this.dist2 - 294) / 50) + 1) * 14.2);
}
this.spd = ((9 * (Math.sqrt((this.dist_x * this.dist_x) + (this.dist_y * this.dist_y)) / this.dist3)) + Math.random()) / this.deg2;
this.dir = this.dir - (this.rad * this.spd);
this._x = this._x + (Math.cos(this.dir) * this.SPEED);
this._y = this._y + (Math.sin(this.dir) * this.SPEED);
} else {
this._x = this._x + (Math.cos(this.dir) * this.SPEED);
this._y = this._y + (Math.sin(this.dir) * this.SPEED);
}
} else {
this._x = this._x + (Math.cos(this.dir) * this.SPEED);
this._y = this._y + (Math.sin(this.dir) * this.SPEED);
}
if (this._alpha < 100) {
this._alpha = this._alpha + this.ALPHASPEED;
}
this.removeIfOutOfBounds();
var ika = Ikaruga.instance;
if (this.color == ika.color) {
var dx = (this._x - ika._x);
var dy = (this._y - ika._y);
if (((Math.abs(dx) < 36) && (Math.abs(dy) < 36)) && (Math.sqrt((dx * dx) + (dy * dy)) < ((ika.IkarugaRing._width * 0.5) + (this._width * 0.3)))) {
this.ikaDiffX = dx * 0.7;
this.ikaDiffY = dy * 0.7;
this._x = ika._x + this.ikaDiffX;
this._y = ika._y + this.ikaDiffY;
dx = this._x - ika._x;
dy = this._y - ika._y;
this.ChargeSet(dx, dy);
}
} else if (_root.Ikaruga.onStage == 1) {
if (ika.intersect(this)) {
ika.damage(this);
this.removeMovieClip();
}
}
if (((_root.Ikaruga.onStage == 2) || (_root.Ikaruga.onStage == 2.5)) || (_global.GameOver != "alive")) {
this.removeMovieClip();
}
};
LeftPursuitBullet.prototype.onEnterFrame2 = function () {
this.ikaDiffX = this.ikaDiffX * 0.6;
this.ikaDiffY = this.ikaDiffY * 0.6;
if (((++this.oef2count) > 7) || (Key.isDown(88))) {
this.removeMovieClip();
} else {
this._x = Ikaruga.instance._x + this.ikaDiffX;
this._y = Ikaruga.instance._y + this.ikaDiffY;
this._xscale = (this._yscale = this._yscale - 10);
}
};
LeftPursuitBullet.prototype.ChargeSet = function (dx, dy) {
_root.ScoreCalculation(500);
if (_global.stock < 120) {
_global.stock = _global.stock + 5;
if (_global.stock >= 120) {
_root.SoundMC.vertFader.LaserMaxSE();
}
}
this.ikaDiffX = dx;
this.ikaDiffY = dy;
var dify = (Ikaruga.instance._y - this._y);
var difx = (Ikaruga.instance._x - this._x);
var rad = Math.atan2(dify, difx);
Ikaruga.instance._x = Ikaruga.instance._x + (Math.cos(rad) * 6);
Ikaruga.instance._y = Ikaruga.instance._y + (Math.sin(rad) * 6);
this.LeftPursuitBullet._visible = false;
this.Absorb._visible = true;
var ini = {_x:this.ikaDiffX, _y:this.ikaDiffY, color:this.color, _xscale:200, _yscale:200};
ini.ikaDiffX = ini._x;
ini.ikaDiffY = ini._y;
this.attachSprite("AbsorpImpact", ini);
_root.SoundMC.vertFader.AbsorbSE();
this.onEnterFrame = this.onEnterFrame2;
};
Object.registerClass("LeftPursuitBullet", LeftPursuitBullet);
#endinitclip
Instance of Symbol 204 MovieClip "Absorb" in Symbol 224 MovieClip [LeftPursuitBullet] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 207 MovieClip "Absorb" in Symbol 224 MovieClip [LeftPursuitBullet] Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 226 MovieClip [EboBombEffect2] Frame 16
this.removeMovieClip();
Symbol 228 MovieClip Frame 6
_parent.removeMovieClip();
Symbol 230 MovieClip Frame 6
_parent.removeMovieClip();
Symbol 231 MovieClip [AbsorpImpact] Frame 1
#initclip 25
function AbsorpImpact() {
super();
}
AbsorpImpact.prototype = new Sprite();
AbsorpImpact.prototype.onEnterFrame = function () {
this._x = Ikaruga.instance._x + this.ikaDiffX;
this._y = Ikaruga.instance._y + this.ikaDiffY;
if (((Ikaruga.onStage == 2.5) || (_global.GameOver != "alive")) || (Key.isDown(88))) {
this._visible = false;
this.removeMovieClip();
}
};
Object.registerClass("AbsorpImpact", AbsorpImpact);
#endinitclip
Symbol 232 MovieClip [ShotS] Frame 1
#initclip 12
function ShotS() {
super();
this.xMin = this._x - 4;
this.xMax = this._x + 4;
this.ShotHit._visible = false;
}
ShotS.prototype = new Sprite();
ShotS.prototype.count = 0;
ShotS.prototype.onEnterFrame = function () {
this.xMin = this._x - 4;
this.xMax = this._x + 4;
this.yMin = this._y;
this.yMax = this._y + 80;
this.removeIfOutOfBounds();
if (_global.GameOver == "alive") {
for (var i in Enemy.instances) {
if (Enemy.instances[i] == _level0.s1.LeftAttack.ArmLeftHand1.LeftAttackMotion1.SordFaceON) {
if ((_global.SordDestJuge == 0) && (Enemy.instances[i].hitTest(this._x, this._y, true))) {
this.Shot._visible = false;
this.ShotHit._visible = true;
_root.DamageOn(Enemy.instances[i]);
this.Target = Enemy.instances[i];
this.Target.CangeTime = 1;
Enemy.instances[i].damage(this, 20);
this.count = 1;
this.onEnterFrame = this.onEnterFrame2;
return(undefined);
}
} else if (Enemy.instances[i] == Eboshidori.instance) {
if (Eboshidori.instance.EboFoot.EboshiHitJudg.hitTest(this._x, this._y, true)) {
this.Shot._visible = false;
this.ShotHit._visible = true;
if (Enemy.instances[i].HitJuge == "on") {
_root.DamageOn(Enemy.instances[i]);
this.Target = Enemy.instances[i];
this.Target.CangeTime = 1;
Enemy.instances[i].damage(this, 20);
} else {
_root.SoundMC.vertFader.ShotHitSE_NoDamage();
}
this.count = 1;
this.onEnterFrame = this.onEnterFrame2;
return(undefined);
}
} else if (Enemy.instances[i].intersect(this)) {
this.Shot._visible = false;
this.ShotHit._visible = true;
if (Enemy.instances[i].HitJuge == "on") {
_root.DamageOn(Enemy.instances[i]);
this.Target = Enemy.instances[i];
this.Target.CangeTime = 1;
Enemy.instances[i].damage(this, 20);
} else {
_root.SoundMC.vertFader.ShotHitSE_NoDamage();
}
this.count = 1;
this.onEnterFrame = this.onEnterFrame2;
return(undefined);
}
}
}
this._y = this._y - 40;
};
ShotS.prototype.onEnterFrame2 = function () {
if (this.count > 0) {
this.count--;
this.removeMovieClip();
}
};
ShotS.prototype.removeIfOutOfBounds = function () {
if (this.yMax < Sprite.yMin) {
this.removeMovieClip();
}
};
Object.registerClass("ShotS", ShotS);
#endinitclip
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 236 MovieClip Frame 19
if (_root.Ikaruga.onStage == 2) {
_root.Ikaruga.onStage = 2.5;
}
Symbol 236 MovieClip Frame 20
stop();
_root.IkarugaON._y = 450;
if (_root.Ikaruga.onStage == 2.5) {
_root.Ikaruga.onStage = 3;
}
_parent.removeMovieClip();
Symbol 239 MovieClip Frame 19
if (_root.Ikaruga.onStage == 2) {
_root.Ikaruga.onStage = 2.5;
}
Symbol 239 MovieClip Frame 20
stop();
_root.IkarugaON._y = 450;
if (_root.Ikaruga.onStage == 2.5) {
_root.Ikaruga.onStage = 3;
}
_parent.removeMovieClip();
Symbol 240 MovieClip [Ginkei_Start] Frame 1
#initclip 11
function Ginkei_Start() {
super();
}
Ginkei_Start.prototype = new Sprite();
Object.registerClass("Ginkei_Start", Ginkei_Start);
#endinitclip
Symbol 242 MovieClip Frame 10
_parent.removeMovieClip();
Symbol 243 MovieClip Frame 10
_parent.removeMovieClip();
Symbol 244 MovieClip [PowerGageMaxEffect] Frame 1
#initclip 22
function PowerGageMaxEffect() {
super();
}
PowerGageMaxEffect.prototype = new Sprite();
PowerGageMaxEffect.prototype.onEnterFrame = function () {
this._x = Ikaruga.instance._x;
this._y = Ikaruga.instance._y;
if (((Ikaruga.onStage == 2.5) || (Key.isDown(88))) || (_root.IkarugaON._visible == false)) {
this._visible = false;
this.removeMovieClip();
}
};
Object.registerClass("PowerGageMaxEffect", PowerGageMaxEffect);
#endinitclip
Instance of Symbol 248 MovieClip "Airframe1" in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 250 MovieClip "Airframe2" in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 261 MovieClip Frame 12
stop();
Symbol 273 MovieClip Frame 12
stop();
Symbol 274 MovieClip [Ikaruga] Frame 1
#initclip 4
function Ikaruga() {
super();
Ikaruga.instance = this;
this.PLAYER._visible = false;
this.ShotEffect._visible = false;
Key.addListener(this);
this.laser = [];
}
Ikaruga.prototype = new Sprite();
Ikaruga.prototype.SPEED = 8;
Ikaruga.prototype.SPEED2 = Ikaruga.prototype.SPEED / Math.SQRT2;
Ikaruga.prototype.cPlus = 0;
Ikaruga.prototype.cPlusChange = 0;
Ikaruga.prototype.colorreset = 0;
Ikaruga.prototype.TargetDistance = 9999999 /* 0x98967F */;
Ikaruga.prototype.TargetLock = undefined;
Ikaruga.prototype.ShotCount = 0;
Ikaruga.prototype.ShotWStart = 3;
Ikaruga.prototype.LaserNum = 0;
Ikaruga.onStage = 1;
Ikaruga.StartCount = 60;
Ikaruga.StartCountRec = 60;
Ikaruga.prototype.onEnterFrame = function () {
if (Key.isDown(5)) {
}
if (_global.GameOver == "alive") {
if ((Ikaruga.onStage == 0) || (Ikaruga.onStage == 1)) {
if (Ikaruga.onStage == 0) {
if (Ikaruga.StartCount > 0) {
Ikaruga.StartCount--;
if (this.PLAYER._visible == false) {
this.PLAYER._visible = true;
this.PLAYER["Airframe" + _global.Airframe]._visible = true;
}
var Invi = new Color(this);
var ColorT = new Object(this);
if (this.cPlusChange == 0) {
if (this.cPlus < 60) {
this.cPlus = this.cPlus + 20;
} else {
this.cPlusChange = 1;
}
} else if (this.cPlusChange == 1) {
if (this.cPlus > 0) {
this.cPlus = this.cPlus - 20;
} else {
this.cPlusChange = 0;
}
}
ColorT = {ra:"100", rb:this.cPlus, ga:"100", gb:this.cPlus, ba:"100", bb:this.cPlus, aa:"100", ab:"0"};
Invi.setTransform(ColorT);
} else {
if (this.PLAYER._visible == true) {
this.PLAYER._visible = false;
this.colorreset = 1;
}
Ikaruga.StartCount = Ikaruga.StartCountRec;
Ikaruga.onStage = 1;
}
} else if (Ikaruga.onStage == 1) {
if (this.colorreset == 1) {
var Invi = new Color(this);
var ColorT = new Object(this);
ColorT = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
Invi.setTransform(ColorT);
this.colorreset = 0;
}
for (var i in Enemy.instances) {
if (((Enemy.instances[i] == _level0.s1.LeftAttack.ArmLeftHand1.LeftAttackMotion1.SordFaceON) || (Enemy.instances[i] == _level0.s1.Shield.ShieldOnStance)) || (Enemy.instances[i] == Eboshidori.instance)) {
} else if (Enemy.instances[i].intersect(this)) {
this.damage();
return(undefined);
}
}
}
var u = Key.isDown(38);
var d = Key.isDown(40);
var r = Key.isDown(39);
var l = Key.isDown(37);
var h = (r != l);
var v = (u != d);
if (h && (v)) {
if (d && (this._y < 525)) {
this._y = this._y + this.SPEED2;
} else if (u && (this._y > 25)) {
this._y = this._y - this.SPEED2;
}
if (r && (this._x < 375)) {
this._x = this._x + this.SPEED2;
} else if (l && (this._x > 25)) {
this._x = this._x - this.SPEED2;
}
} else if (h) {
if (r && (this._x < 375)) {
this._x = this._x + this.SPEED;
} else if (l && (this._x > 25)) {
this._x = this._x - this.SPEED;
}
} else if (v) {
if (d && (this._y < 525)) {
this._y = this._y + this.SPEED;
} else if (u && (this._y > 25)) {
this._y = this._y - this.SPEED;
}
}
this.xMax = this._x + 2;
this.yMax = this._y + 2;
this.xMin = this._x - 2;
this.yMin = this._y - 2;
this.updateKey();
if (this.zkey == 2) {
if (this.ShotEffect._visible == false) {
this.ShotEffect._visible = true;
}
this.attachSprite("ShotS", {_x:this._x, _y:this._y - 80, color:this.color});
_root.SoundMC.vertFader.shotSE();
} else if (this.zkey == 3) {
if (this.ShotCount < this.ShotWStart) {
this.ShotCount++;
if (this.ShotEffect._visible == true) {
this.ShotEffect._visible = false;
}
} else if ((this.rapid = !this.rapid)) {
if (this.ShotEffect._visible == false) {
this.ShotEffect._visible = true;
}
var ini = {_x:this._x + 8, _y:this._y - 85, color:this.color};
this.attachSprite("Shot", ini);
ini._x = ini._x - 16;
this.attachSprite("Shot", ini);
_root.SoundMC.vertFader.shotSE();
}
} else if (this.zkey == 1) {
if (this.ShotEffect._visible == true) {
this.ShotEffect._visible = false;
this.ShotCount = 0;
}
}
if (this.xkey == 2) {
this.swapColor();
this.ShotCount = -3;
}
if ((_global.stock >= 10) && (this.ckey == 2)) {
this.LaserNum = Math.floor(_global.stock / 10);
var Stock = (this.LaserNum * 10);
_global.stock = _global.stock - Stock;
_global.OneMaxEffect = 0;
_global.OneMaxEffect2 = 0;
_global.Record1 = 0;
_root.power.RESET(this.color, _global.stock);
this.shotLaser(this._x, this._y + 10, this.color);
var ini = {_x:this._x, _y:this._y, color:this.color};
this.attachSprite("LaserEfect", ini);
_root.SoundMC.vertFader.LaserSE();
}
if (this.laser.alive) {
if (this.laser.time < 1) {
this.laser.time = this.laser.time + 0.08;
this.drawLaser(Math.pow(this.laser.time, 2));
} else {
for (var i in this.laser) {
if (this.laser[i].target.HitPoint2 > 0) {
this.laser[i].hit();
myPowerLaser.clear(this.laser[i]);
delete this.laser[i];
}
}
}
}
} else if (Ikaruga.onStage == 3) {
if (this._visible == false) {
this._visible = true;
this.IkarugaRing.gotoAndPlay(1);
Ikaruga.onStage = 0;
}
} else if (this.laser.alive && ((Ikaruga.onStage == 2) || (Ikaruga.onStage == 3))) {
if (this.laser.time < 1) {
this.laser.time = this.laser.time + 0.08;
this.drawLaser(Math.pow(this.laser.time, 2));
} else {
myPowerLaser.clear();
this.laser.alive = false;
for (var i in this.laser) {
this.laser[i].hit();
}
}
}
} else if (_global.GameOver != "alive") {
if (this.ShotEffect._visible == true) {
this.ShotEffect._visible = false;
}
var u = Key.isDown(38);
var d = Key.isDown(40);
var r = Key.isDown(39);
var l = Key.isDown(37);
var h = (r != l);
var v = (u != d);
if (h && (v)) {
if (d && (this._y < 525)) {
this._y = this._y + this.SPEED2;
} else if (u && (this._y > 25)) {
this._y = this._y - this.SPEED2;
}
if (r && (this._x < 375)) {
this._x = this._x + this.SPEED2;
} else if (l && (this._x > 25)) {
this._x = this._x - this.SPEED2;
}
} else if (h) {
if (r && (this._x < 375)) {
this._x = this._x + this.SPEED;
} else if (l && (this._x > 25)) {
this._x = this._x - this.SPEED;
}
} else if (v) {
if (d && (this._y < 525)) {
this._y = this._y + this.SPEED;
} else if (u && (this._y > 25)) {
this._y = this._y - this.SPEED;
}
}
}
};
Ikaruga.prototype.damage = function (s) {
if (((s.color != this.color) && (Ikaruga.onStage == 1)) || (s == undefined)) {
Ikaruga.onStage = 2;
this._visible = false;
this.attachSprite("BlastIkaruga", {_x:this._x, _y:this._y});
_root.SoundMC.vertFader.IkarugaBomb();
var PN;
PN = _root.PlayerNumber.PlayerNumber;
if (PN > 0) {
_root.PlayerNumber.PlayerNumber = _root.PlayerNumber.PlayerNumber - 1;
_global.OneMaxEffect = 0;
if (_global.Airframe == 1) {
this.attachSprite("Ikaruga_Start", {_x:120, _y:450, color:this.color});
} else {
this.attachSprite("Ginkei_Start", {_x:280, _y:450, color:this.color});
}
} else if (_global.GameOver != "dead") {
_global.GameOver = "dead";
_root.gotoAndPlay(5);
}
if (_global.Airframe == 1) {
this._x = 120;
} else {
this._x = 280;
}
this._y = 600;
_global.stock = 0;
_root.power.RESET(this.color, _global.stock);
_global.ReturnColor = 0;
_global.EnemyNumber = 0;
_global.ChainNumber = 0;
_global.OneMaxEffect = 0;
_global.OneMaxEffect2 = 0;
_global.Record1 = 0;
}
};
Ikaruga.prototype.shotLaser = function (x, y, Ikac) {
var i = 0;
while (i < this.laser.length) {
delete this.laser[i];
i++;
}
for (var i in Enemy.instances) {
if (Enemy.instances[i].HitJuge == "on") {
if (Enemy.instances[i] == SordON.instance) {
var dx = (this._x - (Eboshidori.instance._x - 5));
var dy = (this._y - (Eboshidori.instance._y + 60));
} else if (Enemy.instances[i] == ShieldON.instance) {
var dx = (this._x - (Eboshidori.instance._x + 26));
var dy = (this._y - (Eboshidori.instance._y - 25));
} else {
var dx = (this._x - Enemy.instances[i]._x);
var dy = (this._y - Enemy.instances[i]._y);
}
var Distance = Math.floor((dx * dx) + (dy * dy));
if (this.TargetDistance > Distance) {
this.TargetDistance = Distance;
this.TargetLock = Enemy.instances[i];
}
TargetListCount++;
}
}
var c = 1;
while (c <= this.LaserNum) {
if (this.TargetLock == SordON.instance) {
var ranx = (random(20) + 1);
var rany = ((random(9) + 1) * 10);
} else if (this.TargetLock == ShieldON.instance) {
var ranx = ((random(4) + 1) * 10);
var rany = ((random(4) + 1) * 10);
} else if (this.TargetLock == Eboshidori.instance) {
var ranx = ((random(20) + 1) * (7 - Math.ceil(Math.sqrt(this.TargetDistance) / 77.4)));
var rany = (random(10) + 1);
} else {
var ranx = (random(20) + 1);
var rany = (random(20) + 1);
}
this.laser[c] = new Laser(this.TargetLock, c, x, y, Ikac, ranx, rany, Math.sqrt(this.TargetDistance));
c++;
}
this.TargetDistance = 9999999 /* 0x98967F */;
this.laser.time = 0;
this.laser.alive = true;
};
Ikaruga.prototype.drawLaser = function (t) {
var mc = myPowerLaser;
mc.clear();
if (t <= 0.0064) {
mc.lineStyle(6, ((this.color == this.WHITE) ? 4632315 : 16492870), 70);
this.lasercolor = this.color;
} else {
mc.lineStyle(6, ((this.lasercolor == 1) ? 4632315 : 16409921), 70);
}
for (var i in this.laser) {
this.laser[i].draw(t);
}
};
Ikaruga.prototype.updateKey = function () {
this.zkey = this.zkey >> 1;
if (Key.isDown(90)) {
this.zkey = this.zkey | 2;
}
this.xkey = this.xkey >> 1;
if (Key.isDown(88)) {
this.xkey = this.xkey | 2;
}
this.ckey = this.ckey >> 1;
if (Key.isDown(67)) {
this.ckey = this.ckey | 2;
}
};
Object.registerClass("Ikaruga", Ikaruga);
#endinitclip
Instance of Symbol 246 MovieClip "ShotEffect" in Symbol 274 MovieClip [Ikaruga] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 255 MovieClip "Ikaruga" in Symbol 274 MovieClip [Ikaruga] Frame 1
onClipEvent (load) {
if (_global.Airframe == 1) {
this._visible = true;
_root.IkarugaON.Ginkei._visible = false;
} else {
this._visible = false;
_root.IkarugaON.Ginkei._visible = true;
}
}
Instance of Symbol 263 MovieClip "IkaHitJudg" in Symbol 274 MovieClip [Ikaruga] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 265 MovieClip "ShotEffect" in Symbol 274 MovieClip [Ikaruga] Frame 2
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 267 MovieClip "Ikaruga" in Symbol 274 MovieClip [Ikaruga] Frame 2
onClipEvent (load) {
if (_global.Airframe == 1) {
this._visible = true;
_root.IkarugaON.Ginkei._visible = false;
} else {
this._visible = false;
_root.IkarugaON.Ginkei._visible = true;
}
}
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 25
stop();
Symbol 283 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
_parent.MenuFontDisplay.gotoAndStop(2);
}
on (rollOut) {
_parent.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
if (_parent.Text._visible == false) {
_global.TextOn = 1;
_parent.SystemButtomMove._visible = false;
_root.GameStart._alpha = 40;
_parent.MemuFontAnima.gotoAndStop(2);
_parent.Text._visible = true;
_parent.Text.gotoAndStop(2);
} else {
_global.TextOn = 0;
_parent.Text._visible = false;
_parent.Text.gotoAndStop(1);
_parent.MemuFontAnima.gotoAndStop(1);
_parent.SystemButtomMove._visible = true;
_root.GameStart._alpha = 100;
}
}
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 10
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 2
stop();
Instance of Symbol 286 MovieClip "TextMask" in Symbol 292 MovieClip Frame 2
onClipEvent (load) {
this._xscale = (this._yscale = 0);
}
Symbol 292 MovieClip Frame 3
stop();
Symbol 293 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
_parent.MenuFontDisplay.gotoAndStop(3);
}
on (rollOut) {
_parent.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
if (_parent.Text._visible == false) {
_global.TextOn = 1;
_parent.StoryButtomMove._visible = false;
_root.GameStart._alpha = 40;
_parent.MemuFontAnima.gotoAndStop(3);
_parent.Text._visible = true;
_parent.Text.gotoAndStop(3);
} else {
_global.TextOn = 0;
_parent.Text._visible = false;
_parent.Text.gotoAndStop(1);
_parent.MemuFontAnima.gotoAndStop(1);
_parent.StoryButtomMove._visible = true;
_root.GameStart._alpha = 100;
}
}
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 15
stop();
_root.AirframeSelect.v_count = 30;
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 3
stop();
Symbol 302 MovieClip Frame 4
stop();
Symbol 302 MovieClip Frame 5
stop();
Symbol 302 MovieClip Frame 6
stop();
Symbol 302 MovieClip Frame 7
stop();
Symbol 302 MovieClip Frame 8
stop();
Symbol 319 MovieClip Frame 1
if (this._x == 48.6) {
gotoAndPlay (35);
}
Symbol 319 MovieClip Frame 34
stop();
_global.TextOn = 2;
Symbol 319 MovieClip Frame 68
stop();
_global.TextOn = 2;
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 2
stop();
Instance of Symbol 319 MovieClip "FontAnima" in Symbol 320 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_global.TextOn == 2) && (_parent._parent.Text.TextMask._xscale < 100)) {
_parent._parent.Text.TextMask._xscale = _parent._parent.Text.TextMask._xscale + 5;
_parent._parent.Text.TextMask._yscale = _parent._parent.Text.TextMask._yscale + 5;
if (_parent._parent.Text.TextMask._xscale > 100) {
_parent._parent.Text.TextMask._xscale = (_parent._parent.Text.TextMask._yscale = 100);
}
}
}
Symbol 320 MovieClip Frame 3
stop();
Instance of Symbol 292 MovieClip "Text" in Symbol 321 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 302 MovieClip "MenuFontDisplay" in Symbol 321 MovieClip Frame 1
/* no clip actions */
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 30
stop();
_root.AirframeMove._visible = false;
_root.AirframeSelect._visible = true;
_root.IkarugaMenu._visible = true;
_root.IkarugaMenu.StoryButtomMove.gotoAndPlay(2);
_root.IkarugaMenu.SystemButtomMove.gotoAndPlay(2);
Symbol 337 MovieClip Frame 1
stop();
Symbol 356 Button
on (rollOver) {
if (_global.TextOn == 0) {
_root.SoundMC.vertFader.SelectRollOver();
AirframeFeature.gotoAndStop(3);
}
}
on (press) {
if (_global.TextOn == 0) {
_root.SoundMC.vertFader.SelectPress();
}
}
on (release) {
if ((_global.TextOn == 0) && (_global.Airframe != 2)) {
_global.Airframe = 2;
_root.AirframeSelect.SelectGin._visible = true;
_root.AirframeSelect.SelectIka._visible = false;
}
}
on (rollOut) {
if (_global.TextOn == 0) {
AirframeFeature.gotoAndStop(1);
}
}
Symbol 363 Button
on (rollOver) {
if (_global.TextOn == 0) {
_root.SoundMC.vertFader.SelectRollOver();
AirframeFeature.gotoAndStop(2);
}
}
on (press) {
if (_global.TextOn == 0) {
_root.SoundMC.vertFader.SelectPress();
}
}
on (release) {
if ((_global.TextOn == 0) && (_global.Airframe != 1)) {
_global.Airframe = 1;
_root.AirframeSelect.SelectIka._visible = true;
_root.AirframeSelect.SelectGin._visible = false;
}
}
on (rollOut) {
if (_global.TextOn == 0) {
AirframeFeature.gotoAndStop(1);
}
}
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 2
stop();
Symbol 375 MovieClip Frame 3
stop();
Symbol 376 MovieClip Frame 1
v_radian = 0;
v_windSpeed = 5;
v_windON = 0;
v_count = " ";
this.onEnterFrame = function () {
if (v_windON == 1) {
v_radian = (v_radian + (v_windSpeed / 100)) % (Math.PI*2);
with (SelectRotation) {
_xscale = 100 * Math.cos(v_radian);
var xScale = Math.abs(_xscale);
if (_xscale >= 99.9) {
v_windON = 0;
v_count = 30;
}
}
} else if (v_count != " ") {
v_count--;
if (v_count == 0) {
v_windON = 1;
v_count = 30;
}
}
};
Instance of Symbol 341 MovieClip "SelectIka" in Symbol 376 MovieClip Frame 1
onClipEvent (load) {
if (_global.Airframe == 1) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "SelectGin" in Symbol 376 MovieClip Frame 1
onClipEvent (load) {
if (_global.Airframe == 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 380 MovieClip "ScrollBar" in Symbol 381 MovieClip Frame 1
/* no clip actions */
Symbol 389 MovieClip Frame 1
v_over = "none";
myUp.onPress = function () {
v_over = "up";
};
myUp.onRelease = function () {
v_over = "none";
};
myDown.onPress = function () {
v_over = "down";
};
myDown.onRelease = function () {
v_over = "none";
};
this.onEnterFrame = function () {
if (v_over == "up") {
myField.scroll = myField.scroll - 1;
ScrollBarMC.ScrollBar._y = (myField.scroll - 1) * _global.ScrollBarMoveSpd;
}
if (v_over == "down") {
myField.scroll = myField.scroll + 1;
ScrollBarMC.ScrollBar._y = (myField.scroll - 1) * _global.ScrollBarMoveSpd;
}
};
Symbol 393 MovieClip Frame 1
System.useCodepage = true;
myInterface.loadVariables("version_info.txt");
myInterface.onData = function () {
myInterface.myField.htmlText = myInterface.v_text;
_global.TextLength = Math.ceil(myInterface.myField.length / 17.81) - 8;
_global.TextLengthMax = _global.TextLength + 7;
myInterface.ScrollBarMC.ScrollBar._yscale = 100 / Math.ceil(_global.TextLengthMax / 8);
_global.ScrollBarMoveSpd = (90.3 - myInterface.ScrollBarMC.ScrollBar._height) / (_global.TextLength - 1);
};
Instance of Symbol 392 MovieClip in Symbol 393 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 417 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(8);
}
on (rollOut) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
_global.ButtonName = this;
if (_quality != "LOW") {
_quality = "LOW";
_global.quality = _quality;
LOWCheck._visible = true;
_parent.BEST.BESTCheck._visible = false;
_parent.HIGH.HIGHCheck._visible = false;
_parent.MEDIUM.MEDIUMCheck._visible = false;
}
_root.IkarugaTrialver_SaveData();
}
Symbol 421 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(8);
}
on (rollOut) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
_global.ButtonName = this;
if (_quality != "MEDIUM") {
_quality = "MEDIUM";
_global.quality = _quality;
MEDIUMCheck._visible = true;
_parent.BEST.BESTCheck._visible = false;
_parent.HIGH.HIGHCheck._visible = false;
_parent.LOW.LOWCheck._visible = false;
}
_root.IkarugaTrialver_SaveData();
}
Symbol 425 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(8);
}
on (rollOut) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
_global.ButtonName = this;
if (_quality != "HIGH") {
_quality = "HIGH";
_global.quality = _quality;
HIGHCheck._visible = true;
_parent.BEST.BESTCheck._visible = false;
_parent.MEDIUM.MEDIUMCheck._visible = false;
_parent.LOW.LOWCheck._visible = false;
}
_root.IkarugaTrialver_SaveData();
}
Symbol 429 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(8);
}
on (rollOut) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
_global.ButtonName = this;
if (_quality != "BEST") {
_quality = "BEST";
_global.quality = _quality;
BESTCheck._visible = true;
_parent.HIGH.HIGHCheck._visible = false;
_parent.MEDIUM.MEDIUMCheck._visible = false;
_parent.LOW.LOWCheck._visible = false;
}
_root.IkarugaTrialver_SaveData();
}
Symbol 438 Button
on (rollOver) {
_global.Check = 0;
_root.SoundMC.vertFader.SelectRollOver();
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(6);
}
on (rollOut) {
_global.Check = 0;
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
_global.ButtonName = this;
if (_global.SEvol == 0) {
this.SE_Check._visible = true;
_global.SOUNDvolume = _global.SOUNDvolumeRec;
_global.BGMvolume = _global.BGMvolumeRec;
_root.Bgm.vertFader._y = 100 - _global.BGMvolume;
_root.SoundMC.vertFader._y = 100 - _global.SOUNDvolume;
_global.SEvol = 1;
} else {
this.SE_Check._visible = false;
_global.SOUNDvolumeRec = _global.SOUNDvolume;
_global.BGMvolumeRec = _global.BGMvolume;
_root.Bgm.vertFader._y = 100;
_root.SoundMC.vertFader._y = 100;
_global.BGMvolume = 0;
_global.SOUNDvolume = 0;
_global.SEvol = 0;
}
_global.Check = 1;
_root.IkarugaTrialver_SaveData();
}
Instance of Symbol 435 MovieClip "SE_Check" in Symbol 439 MovieClip Frame 1
/* no clip actions */
Symbol 442 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(7);
}
on (rollOut) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(1);
}
on (release) {
_root.SoundMC.vertFader.SelectPress();
_global.ButtonName = this;
if (_global.BGon == 0) {
BG_Check._visible = true;
if (_root.SkyblueMoveWall != undefined) {
_root.SkyblueMoveWall._visible = true;
_root.PowerGageLine.PowerGageL1._visible = false;
}
_global.BGon = 1;
} else {
BG_Check._visible = false;
if (_root.SkyblueMoveWall != undefined) {
_root.SkyblueMoveWall._visible = false;
_root.PowerGageLine.PowerGageL1._visible = true;
}
_global.BGon = 0;
}
_root.IkarugaTrialver_SaveData();
}
Instance of Symbol 435 MovieClip "BG_Check" in Symbol 443 MovieClip Frame 1
/* no clip actions */
Symbol 449 Button
on (rollOver) {
if (this == _level0.Bgm.vertFader) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(4);
} else if (this == _level0.SoundMC.vertFader) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(5);
}
_root.SoundMC.vertFader.SelectRollOver();
}
on (rollOut) {
_root.IkarugaMenu.MenuFontDisplay.gotoAndStop(1);
}
on (press) {
startDrag ("", false, left, top, right, bottom);
_global.ButtonName = this;
if (_global.SEvol == 0) {
_global.SEvol = 1;
_root.SEvolume_CheckMC.SEvolume_MC.SE_Check._visible = true;
}
}
on (release) {
stopDrag();
_root.IkarugaTrialver_SaveData();
}
Instance of Symbol 450 MovieClip "vertFader" in Symbol 453 MovieClip Frame 1
onClipEvent (load) {
function TitleSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("TitleSE");
ObjSound.start(0, 0);
ObjSound.setVolume(_global.SOUNDvolume);
}
function SelectRollOver() {
ObjSound = new Sound(this);
ObjSound.attachSound("SelectRollOver");
ObjSound.start(0, 0);
}
function SelectPress() {
ObjSound = new Sound(this);
ObjSound.attachSound("SelectPress");
ObjSound.start(0, 0);
}
function GameStartSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("GameStartSE");
ObjSound.start(0, 0);
}
function GameOver() {
ObjSound = new Sound(this);
ObjSound.attachSound("GameOver");
ObjSound.start(0, 0);
}
function warning() {
ObjSound = new Sound(this);
ObjSound.attachSound("Warning");
ObjSound.start(0, 0);
ObjSound.setVolume(_global.SOUNDvolume);
}
function BitMoveSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("BitMoveSE");
ObjSound.start(0, 0);
}
function ShildSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("ShildSE");
ObjSound.start(0, 0);
}
function ShildBulletSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("ShildBulletSE");
ObjSound.start(0, 0);
}
function ShildDropSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("ShildDropSE");
ObjSound.start(0, 0);
}
function SoadSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("SoadSE");
ObjSound.start(0, 0);
}
function PursuitBulletSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("PursuitBulletSE");
ObjSound.start(0, 0);
}
function GranadBombSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("GranadBombSE");
ObjSound.start(0, 0);
}
function GranadMotionSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("GranadMotionSE");
ObjSound.start(0, 0);
}
function EboPartsBomb() {
ObjSound = new Sound(this);
ObjSound.attachSound("EboPartsBomb");
ObjSound.start(0, 0);
}
function EboshidoriBomb() {
ObjSound = new Sound(this);
ObjSound.attachSound("EboshidoriBomb");
ObjSound.start(0, 0);
}
function AbsorbSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("AbsorbSE");
ObjSound.start(0, 0);
}
function shotSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("shotSE");
ObjSound.start(0, 0);
}
function ShotHitSE_NoDamage() {
ObjSound = new Sound(this);
ObjSound.attachSound("ShotHitSE_NoDamage");
ObjSound.start(0, 0);
}
function ShotHitSE1() {
ObjSound = new Sound(this);
ObjSound.attachSound("ShotHitSE1");
ObjSound.start(0, 0);
}
function ShotHitSE2() {
ObjSound = new Sound(this);
ObjSound.attachSound("ShotHitSE2");
ObjSound.start(0, 0);
}
function ShotHitBombSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("ShotHitBombSE");
ObjSound.start(0, 0);
}
function AttributeChangeSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("AttributeChangeSE");
ObjSound.start(0, 0);
}
function IkarugaBomb() {
ObjSound = new Sound(this);
ObjSound.attachSound("IkarugaBomb");
ObjSound.start(0, 0);
}
function LaserMaxSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("LaserMaxSE");
ObjSound.start(0, 0);
}
function LaserSE() {
ObjSound = new Sound(this);
ObjSound.attachSound("LaserSE");
ObjSound.start(0, 0);
}
function LaserHitBomb() {
ObjSound = new Sound(this);
ObjSound.attachSound("LaserHitBomb");
ObjSound.start(0, 0);
}
function resultItemOn() {
ObjSound = new Sound(this);
ObjSound.attachSound("resultItemOn");
ObjSound.start(0, 0);
}
left = _x;
right = _x;
top = _y;
bottom = _y + 100;
_y = (100 - _global.SOUNDvolume);
}
onClipEvent (enterFrame) {
if (_global.ButtonName == _level0.SoundMC.vertFader) {
ObjSound.setVolume(bottom - _y);
_global.SOUNDvolume = ObjSound.getVolume();
}
if (_global.Check == 1) {
ObjSound.setVolume(_global.SOUNDvolume);
}
}
Instance of Symbol 450 MovieClip "vertFader" in Symbol 456 MovieClip Frame 1
onClipEvent (load) {
function bgm() {
MoveiBGM = new Sound(this);
MoveiBGM.attachSound("Boss01");
MoveiBGM.start(0, 999);
MoveiBGM.setVolume(_global.BGMvolume);
}
left = _x;
right = _x;
top = _y;
bottom = _y + 100;
_y = (100 - _global.BGMvolume);
}
onClipEvent (enterFrame) {
if (_global.GameOver == "alive") {
if (_global.ButtonName == _level0.Bgm.vertFader) {
MoveiBGM.setVolume(bottom - _y);
_global.BGMvolume = MoveiBGM.getVolume();
}
if (_global.Check == 1) {
MoveiBGM.setVolume(_global.BGMvolume);
}
} else {
var t = MoveiBGM.getVolume();
if (t > 0) {
t--;
MoveiBGM.setVolume(t);
} else {
MoveiBGM.stop();
}
}
}
Symbol 457 MovieClip [ExIkaruga] Frame 1
#initclip 19
function ExIkaruga() {
super();
ExIkaruga.instance = this;
}
ExIkaruga.prototype = new Sprite();
Object.registerClass("ExIkaruga", ExIkaruga);
#endinitclip
Symbol 476 Button
on (release) {
_root.SoundMC.vertFader.TitleSE();
this.gotoAndPlay(25);
}
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 2
stop();
Instance of Symbol 483 MovieClip in Symbol 492 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 492 MovieClip Frame 24
stop();
Symbol 492 MovieClip Frame 100
_root.GameStart._visible = true;
_root.GameStart.gotoAndPlay(2);
Symbol 492 MovieClip Frame 105
_root.LoadingIndicator.gotoAndPlay(2);
_root.LoadingIndicator._visible = true;
Symbol 492 MovieClip Frame 111
stop();
_global.ExtraGame = " ";
_root.VerInfoMask._visible = true;
_root.VerInfoMask.gotoAndPlay(1);
_root.VersionInfo._visible = true;
Symbol 494 MovieClip Frame 15
gotoAndPlay (4);
Symbol 495 MovieClip Frame 14
gotoAndPlay (3);
Symbol 496 MovieClip Frame 13
gotoAndPlay (2);
Symbol 497 MovieClip Frame 12
gotoAndPlay (1);
Symbol 501 Button
on (press) {
_global.ButtonName = this;
if (_global.SEvol == 1) {
_root.SoundMC.vertFader.GameStartSE();
}
_global.ExtraGame = "off";
Blast.removeMovieClip();
}
on (release) {
_root.play();
}
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 31
stop();
Symbol 507 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 2
stop();
Symbol 515 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 2
stop();
Instance of Symbol 514 MovieClip in Symbol 515 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
Loaded = 100;
}
onClipEvent (load) {
lodingnumber = 0;
var cPlus = 0;
var cPlusChange = 0;
}
onClipEvent (enterFrame) {
var max = ((_root.getBytesTotal() * Loaded) / 100);
var point = (_root.getBytesLoaded() / max);
var point2 = Math.floor(point * 100);
var num_dif = ((point2 - indicator.bar._xscale) * 0.2);
var g = (num_dif + indicator.bar._xscale);
if (Math.floor(g) == point2) {
g = point2;
} else if (Math.ceil(g) == point2) {
g = point2;
}
indicator.bar._xscale = g;
lodingnumber = Math.floor(indicator.bar._xscale);
if (indicator.bar._xscale >= 100) {
loadfont.gotoAndStop(2);
var Invi = new Color(indicator);
var ColorT = new Object(indicator);
if (cPlusChange == 0) {
if (cPlus < 100) {
cPlus = cPlus + 5;
} else {
cPlusChange = 1;
}
} else if (cPlusChange == 1) {
if (cPlus > -100) {
cPlus = cPlus - 5;
} else {
cPlusChange = 0;
}
}
ColorT = {ra:"100", rb:cPlus, ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
Invi.setTransform(ColorT);
} else {
_root.stop();
}
}
Symbol 521 MovieClip Frame 24
stop();
Symbol 528 Button
on (release) {
getURL (incomingAd, "_self ");
}
Symbol 533 MovieClip Frame 15
stop();
Symbol 534 MovieClip Frame 28
stop();
v_initX = myFont._x;
v_initY = myFont._y;
myFont.onEnterFrame = function () {
this._x = v_initX + ((1 - (Math.random() * 2)) * 4);
this._y = v_initY + ((1 - (Math.random() * 2)) * 4);
};
Symbol 537 MovieClip Frame 12
_root.SoundMC.vertFader.warning();
Instance of Symbol 536 MovieClip in Symbol 537 MovieClip Frame 12
onClipEvent (load) {
this._alpha = 50;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
if (this._yscale < 100) {
this._yscale = this._yscale + 10;
}
}
Symbol 537 MovieClip Frame 131
stop();
_root.EboAppearance.gotoAndPlay(2);
Symbol 541 MovieClip Frame 1
stop();
Instance of Symbol 76 MovieClip in Symbol 541 MovieClip Frame 2
onClipEvent (load) {
this.Rotation2._visible = false;
}
Instance of Symbol 76 MovieClip in Symbol 541 MovieClip Frame 21
onClipEvent (load) {
this.Rotation2._visible = false;
}
Symbol 541 MovieClip Frame 43
stop();
_root.play();
Symbol 546 MovieClip Frame 1
stop();
Instance of Symbol 544 MovieClip "FrameTime" in Symbol 546 MovieClip Frame 1
onClipEvent (load) {
this.FrameTime = 100;
_global.timer = this.FrameTime;
var FrameTimeSet = 0;
}
onClipEvent (enterFrame) {
if ((_global.timerCorrection != undefined) && (_global.GameOver == "alive")) {
if (FrameTimeSet == 30) {
if (this.FrameTime > 0) {
this.FrameTime--;
_global.timer = this.FrameTime;
} else {
if (_global.GameOver == "alive") {
_global.GameOver = "timeover";
}
_global.timer--;
}
FrameTimeSet = 0;
} else {
FrameTimeSet++;
}
}
}
Symbol 546 MovieClip Frame 71
stop();
_root.play();
Symbol 547 MovieClip Frame 12
stop();
Symbol 550 MovieClip Frame 1
stop();
Symbol 550 MovieClip Frame 2
stop();
Instance of Symbol 559 MovieClip "PowerGageL1" in Symbol 560 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask12" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask11" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask10" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask9" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask8" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask7" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask6" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask5" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask4" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask3" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask2" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 570 MovieClip "mask1" in Symbol 573 MovieClip Frame 1
/* no clip actions */
Symbol 577 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
if (_global.Airframe != 2) {
_global.Airframe = 2;
SelectIkaSimple._visible = false;
SelectGinSimple._visible = true;
}
}
Symbol 581 Button
on (rollOver) {
_root.SoundMC.vertFader.SelectRollOver();
}
on (press) {
_root.SoundMC.vertFader.SelectPress();
}
on (release) {
if (_global.Airframe != 1) {
_global.Airframe = 1;
SelectGinSimple._visible = false;
SelectIkaSimple._visible = true;
}
}
Symbol 589 Button
on (press) {
if (_root.restart._alpha >= 100) {
_root.SoundMC.vertFader.GameStartSE();
_root.Warning.gotoAndStop(1);
_root.gotoAndStop(2);
}
}
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
stop();
Instance of Symbol 584 MovieClip "SelectGinSimple" in Symbol 612 MovieClip Frame 2
onClipEvent (load) {
if (_global.Airframe == 2) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 585 MovieClip "SelectIkaSimple" in Symbol 612 MovieClip Frame 2
onClipEvent (load) {
if (_global.Airframe == 1) {
this._visible = true;
} else {
this._visible = false;
}
}