Frame 1
stop();
var score = 0;
var credit = 3;
var free_flg = false;
var hit_count = 0;
stopAllSounds();
Instance of Symbol 67 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.ENTER)) {
_root.gotoAndPlay(1);
}
}
Frame 3
_root.stop();
stopAllSounds();
Frame 4
if (4 >= _root._framesloaded) {
gotoAndStop (4);
} else {
gotoAndPlay (5);
}
stopAllSounds();
Frame 5
_root.stop();
stopAllSounds();
btl1_music = new Sound(_root);
btl1_music.attachSound("btl1_music");
btl1_music.start(0, 100);
Instance of Symbol 101 MovieClip "enemy" in Frame 5
onClipEvent (load) {
_root.enemy._alpha = 70;
_root.enemy.enemy_core._alpha = 100;
var enemy_act = 0;
this._x = 350;
var e_hp = 50;
s_se1 = new Sound(_root);
s_se1.attachSound("slash_se1");
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if ((300 < this._x) && (this._x < 500)) {
if ((enemy_act == 1) || (enemy_act == 2)) {
this._x = this._x + 5;
} else if ((enemy_act == 4) || (enemy_act == 5)) {
this._x = this._x - 5;
}
if (this._x < 330) {
enemy_act = 1;
}
if (450 < this._x) {
enemy_act = 4;
}
}
if ((enemy_act == 6) || (enemy_act == 7)) {
this.gotoAndPlay(11);
}
if ((enemy_act == 8) || (enemy_act == 9)) {
this.gotoAndPlay(25);
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash)) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
_root.enemy.gotoAndPlay(34);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.enemy.e_hp = _root.enemy.e_hp - 3;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash2)) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
_root.enemy.gotoAndPlay(34);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.enemy.e_hp = _root.enemy.e_hp - 5;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic1) && (_root.magic1._visible == true)) && (_root.enemy.e_hp >= 0)) {
magic3_se1.start();
_root.score = _root.score + 200;
_root.enemy.gotoAndPlay(34);
_root.enemy.e_hp = _root.enemy.e_hp - 5;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic2) && (_root.magic2._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(34);
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic3) && (_root.magic3._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(34);
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 120;
_root.dmg_ef._yscale = 120;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic4) && (_root.magic4._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(34);
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 120;
_root.dmg_ef._yscale = 120;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic5) && (_root.magic5._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(34);
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
}
}
if ((0 >= _root.enemy.e_hp) && (_root.enemy.e_hp != -5)) {
gotoAndPlay (40);
_root.enemy.e_hp = -5;
} else if ((_root.player.fight_flg == false) && (9 < this._currentframe)) {
this.gotoAndPlay(1);
}
enemyx = this._x;
}
Instance of Symbol 167 MovieClip "player" in Frame 5
onClipEvent (load) {
this._x = 150;
var act_flg = true;
var srash_flg = 0;
var p_hp = 30;
var win_flg = 0;
var fight_flg = false;
e_hit_se1 = new Sound(_root);
e_hit_se1.attachSound("e_hit_se1");
def_se1 = new Sound(_root);
def_se1.attachSound("def_se1");
death_se = new Sound(_root);
death_se.attachSound("death_se");
}
onClipEvent (enterFrame) {
if (fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (!((this._currentframe >= 35) && (38 >= this._currentframe))) {
if (((0 < this.p_hp) && (this._currentframe >= 40)) && (45 >= this._currentframe)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
if ((Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) {
if (this._x < 250) {
this._x = this._x + 40;
if (this._x < 230) {
this.gotoAndPlay(31);
} else if (this._x >= 230) {
this.gotoAndPlay(12);
this._x = 250;
}
}
}
if (Key.isDown(Key.LEFT) && (_root.p_sp.sp_flg == true)) {
if (this._x >= 50) {
this._x = this._x - 40;
if (70 < this._x) {
this.gotoAndPlay(33);
} else if (70 >= this._x) {
this._x = 50;
this.gotoAndPlay(20);
}
}
}
if ((((((!Key.isDown(Key.RIGHT)) && (!Key.isDown(Key.LEFT))) && (this._x != 150)) && (this._currentframe < 64)) && (_root.p_sp.sp_flg == true)) || (_root.p_sp.sp_flg == false)) {
if (150 < this._x) {
this._x = this._x - 30;
if (170 < this._x) {
this.gotoAndPlay(33);
} else if (170 >= this._x) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
if (this._x < 150) {
this._x = this._x + 30;
if (this._x < 130) {
this.gotoAndPlay(31);
} else if (this._x >= 130) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
}
if ((((230 < this._x) && (Key.isDown(Key.SPACE))) && (act_flg == true)) && (_root.p_sp.sp_flg == true)) {
act_flg = false;
if (srash_flg == 0) {
gotoAndPlay (64);
srash_flg = 1;
} else if (srash_flg < 3) {
srash_flg = srash_flg + 1;
}
}
if ((act_flg == false) && (!Key.isDown(Key.SPACE))) {
act_flg = true;
}
if (((((this._x == 150) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) && (Key.isDown(Key.SPACE))) {
this.gotoAndPlay(54);
_root.charge_ef._visible = true;
_root.charge_ef._alpha = 70;
_root.charge_ef._x = _root.player._x + 15;
_root.charge_ef._y = 245;
if (_root.p_pp.pp < 20) {
_root.p_pp._visible = true;
_root.p_pp.pp = _root.p_pp.pp + 1;
}
} else if (this._currentframe < 90) {
_root.p_pp.pp = 0;
}
}
if (_root.player.p_body.hitTest(_root.enemy)) {
if ((_root.enemy._currentframe == 21) && (this._currentframe != 20)) {
e_hit_se1.start();
if ((this._currentframe == 54) || (this._currentframe >= 90)) {
this.p_hp = this.p_hp - 3;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.p_sp.sp_flg = false;
}
this.p_hp = this.p_hp - 2;
this.gotoAndPlay(35);
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.dmg_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.dmg_ef._xscale = 30;
_root.dmg_ef._yscale = 60;
} else if (this._currentframe == 20) {
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 25;
_root.def_ef._yscale = 50;
}
if ((_root.enemy._currentframe == 27) && (this._currentframe != 20)) {
e_hit_se1.start();
if ((this._currentframe == 54) || (this._currentframe >= 90)) {
this.p_hp = this.p_hp - 3;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.p_sp.sp_flg = false;
}
this.p_hp = this.p_hp - 1;
this.gotoAndPlay(35);
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.dmg_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.dmg_ef._xscale = 25;
_root.dmg_ef._yscale = 50;
} else if (this._currentframe == 20) {
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 25;
_root.def_ef._yscale = 50;
}
}
}
if (0 >= p_hp) {
if (p_hp != -5) {
death_se.start();
gotoAndPlay (22);
p_hp = -5;
}
if (this._currentframe == 44) {
_root.lose_logo.gotoAndPlay(1);
_root.lose_logo._visible = true;
}
}
if ((0 < p_hp) && (0 >= _root.enemy.e_hp)) {
if (_root.enemy._visible == true) {
this.gotoAndPlay(47);
}
if (this._currentframe == 50) {
_root.win_logo.gotoAndPlay(1);
_root.win_logo._visible = true;
}
}
} else if ((fight_flg == false) && (9 < this._currentframe)) {
this.gotoAndPlay(1);
}
playerx = this._x;
}
Instance of Symbol 182 MovieClip "elements" in Frame 5
onClipEvent (load) {
p_el = 1;
down_flg = false;
up_flg = false;
chan_mg_se = new Sound(_root);
chan_mg_se.attachSound("chan_mg_se");
}
onClipEvent (enterFrame) {
this.gotoAndPlay(p_el);
if (_root.player.fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (Key.isDown(Key.DOWN) && (down_flg == false)) {
p_el = p_el + 1;
chan_mg_se.start();
down_flg = true;
} else if ((!Key.isDown(Key.DOWN)) && (down_flg == true)) {
down_flg = false;
}
if (p_el >= 6) {
p_el = 1;
}
if (Key.isDown(Key.UP) && (up_flg == false)) {
p_el = p_el - 1;
chan_mg_se.start();
up_flg = true;
} else if ((!Key.isDown(Key.UP)) && (up_flg == true)) {
up_flg = false;
}
if (0 >= p_el) {
p_el = 5;
}
}
}
}
Instance of Symbol 187 MovieClip "smoke" in Frame 5
onClipEvent (load) {
this._visible = false;
var smoke_flg = true;
var smoke_flg2 = true;
this.stop();
dash_se = new Sound(_root);
dash_se.attachSound("dash_se");
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if (((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) && (_root.p_sp.sp_flg == true)) {
if (this._currentframe == 2) {
dash_se.start();
}
if ((Key.isDown(Key.RIGHT) && (smoke_flg == true)) && (!Key.isDown(Key.LEFT))) {
this._visible = true;
smoke_flg = false;
this._xscale = 60;
this._yscale = 60;
this.gotoAndPlay(1);
this._x = _root.player._x + 50;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.RIGHT)) && (smoke_flg == false)) {
smoke_flg = true;
}
if (Key.isDown(Key.LEFT) && (smoke_flg2 == true)) {
smoke_flg2 = false;
if (200 < _root.player._x) {
this._xscale = -50;
this._yscale = 50;
}
if ((100 < _root.player._x) && (_root.player._x < 200)) {
this._xscale = -40;
this._yscale = 40;
}
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x - 25;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.LEFT)) && (smoke_flg2 == false)) {
smoke_flg2 = true;
}
if (_root.player._currentframe == 85) {
smoke_flg = false;
this._xscale = 80;
this._yscale = 50;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x + 50;
this._y = _root.player._y;
}
if ((((_root.player._x == 150) && (Key.isDown(Key.SPACE))) && (_root.smoke._visible == false)) && (_root.charge_ef._visible == true)) {
smoke_flg = false;
this._xscale = 60;
this._yscale = 30;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x;
this._y = _root.player._y;
}
}
}
}
Instance of Symbol 191 MovieClip "srash_e" in Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if ((_root.player._currentframe >= 64) && (68 >= _root.player._currentframe)) {
this._rotation = 100;
} else if ((_root.player._currentframe >= 70) && (75 >= _root.player._currentframe)) {
this._rotation = 50;
} else if ((_root.player._currentframe >= 80) && (87 >= _root.player._currentframe)) {
this._rotation = 150;
}
}
}
}
Instance of Symbol 194 MovieClip "magic1" in Frame 5
onClipEvent (load) {
magic1_se = new Sound(_root);
magic1_se.attachSound("magic1_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic1_se.start();
}
}
Instance of Symbol 196 MovieClip "dmg_ef" in Frame 5
onClipEvent (load) {
this.stop();
}
Instance of Symbol 199 MovieClip "charge_ef" in Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._visible = false;
this._rotation = this._rotation + 12;
}
Instance of Symbol 205 MovieClip "pentagram" in Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 225 MovieClip "magic3" in Frame 5
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == true) {
this._x = this._x + 10;
}
if (this._visible == false) {
this._x = -50;
}
if (((((((this._currentframe == 1) || (this._currentframe == 4)) || (this._currentframe == 7)) || (this._currentframe == 10)) || (this._currentframe == 13)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 234 MovieClip "magic2" in Frame 5
onClipEvent (load) {
this._visible = false;
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
magic3_se2 = new Sound(_root);
magic3_se2.attachSound("magic3_se2");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic3_se1.start();
}
if ((this._currentframe == 7) && (_root.player.fight_flg == true)) {
magic3_se2.start();
}
}
Instance of Symbol 247 MovieClip "magic5" in Frame 5
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if (((((this._currentframe == 2) || (this._currentframe == 5)) || (this._currentframe == 8)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 259 MovieClip "magic4" in Frame 5
onClipEvent (load) {
this._visible = false;
stop();
magic4_se = new Sound(_root);
magic4_se.attachSound("magic4_se");
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
magic4_se.start();
}
if (this._visible == false) {
this._x = -50;
}
}
Instance of Symbol 261 MovieClip "p_hp_shadow" in Frame 5
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.p_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 262 MovieClip "e_hp_shadow" in Frame 5
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.e_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 264 MovieClip "p_hp" in Frame 5
onClipEvent (load) {
this.gotoAndStop(30);
}
onClipEvent (enterFrame) {
if (0 < _root.player.p_hp) {
gotoAndPlay(_root.player.p_hp);
} else if (0 >= _root.player.p_hp) {
gotoAndStop (1);
}
}
Instance of Symbol 266 MovieClip "e_hp" in Frame 5
onClipEvent (load) {
this.gotoAndStop(50);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.enemy.e_hp);
if (0 >= _root.enemy.e_hp) {
this._visible = false;
}
}
Instance of Symbol 268 MovieClip "p_sp" in Frame 5
onClipEvent (load) {
var sp = 30;
var sp_flg = true;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(sp);
this._x = _root.player._x + 25;
if (((_root.player._currentframe == 68) || (_root.player._currentframe == 76)) || (_root.player._currentframe == 88)) {
sp = sp - 5;
}
if (0 >= sp) {
sp_flg = false;
gotoAndPlay (1);
}
if ((sp_flg == false) && (30 >= sp)) {
sp = sp + 1;
_root.player.gotoAndPlay(22);
if (sp >= 30) {
sp = 30;
sp_flg = true;
}
}
} else {
this._visible = false;
}
}
Instance of Symbol 271 MovieClip "p_pp" in Frame 5
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
var pp = 0;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(pp);
this._x = _root.player._x + 15;
if (0 >= pp) {
gotoAndStop (1);
this._visible = false;
} else if (0 < pp) {
this._visible = true;
}
} else {
this._visible = false;
}
}
Instance of Symbol 285 MovieClip "win_logo" in Frame 5
onClipEvent (load) {
this._visible = false;
stop();
}
Instance of Symbol 287 MovieClip "lose_logo" in Frame 5
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 290 MovieClip "G_O_logo" in Frame 5
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
}
Instance of Symbol 300 MovieClip "G_O_yesno" in Frame 5
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
}
Instance of Symbol 312 MovieClip "hit_c" in Frame 5
onClipEvent (load) {
_root.hit_count = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((_root.enemy.enemy_core.hitTest(_root.player.srash) || (_root.enemy.enemy_core.hitTest(_root.player.srash2))) && (_root.player._x >= 230)) && (0 < _root.p_sp.sp)) {
this.gotoAndPlay(1);
_root.hit_count = _root.hit_count + 1;
} else if ((_root.player._x < 230) || (0 >= _root.p_sp.sp)) {
_root.hit_count = 0;
}
if (_root.hit_count < 2) {
this._visible = false;
} else if (_root.hit_count >= 2) {
this._visible = true;
}
}
}
if ((0 >= _root.player.p_hp) || (0 >= _root.enemy.e_hp)) {
_root.hit_count = 0;
this._visible = false;
}
}
Frame 7
_root.stop();
stopAllSounds();
Frame 8
if (8 >= _root._framesloaded) {
gotoAndStop (8);
} else {
gotoAndPlay (9);
}
stopAllSounds();
Frame 9
_root.stop();
stopAllSounds();
btl1_music = new Sound(_root);
btl1_music.attachSound("btl1_music");
btl1_music.start(0, 100);
Instance of Symbol 363 MovieClip "enemy" in Frame 9
onClipEvent (load) {
_root.enemy.enemy_core._alpha = 100;
var enemy_act = 0;
var enemy_act2 = 0;
this._x = 430;
var e_hp = 50;
s_se1 = new Sound(_root);
s_se1.attachSound("slash_se1");
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((enemy_act == 5) || (enemy_act == 6)) || (enemy_act == 7)) {
this.gotoAndPlay(17);
}
if ((enemy_act == 8) || (enemy_act == 9)) {
this.gotoAndPlay(36);
}
if ((enemy_act2 == 3) || (enemy_act2 == 4)) {
this.gotoAndPlay(50);
}
if ((enemy_act2 == 5) || (enemy_act2 == 6)) {
this.gotoAndPlay(61);
}
if ((this._currentframe == 32) || (this._currentframe == 56)) {
_root.quake_control.gotoAndPlay(1);
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash)) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
this.gotoAndPlay(78);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.dmg_ef._y = ((_root.enemy._y - 50) + Math.floor(Math.random() * 10)) - Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash2)) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
_root.enemy.gotoAndPlay(78);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.enemy.e_hp = _root.enemy.e_hp - 3;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic1) && (_root.magic1._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
this.gotoAndPlay(78);
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.dmg_ef._y = ((_root.enemy._y - 50) + Math.floor(Math.random() * 10)) - Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic2) && (_root.magic2._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
this.gotoAndPlay(78);
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.dmg_ef._y = ((_root.enemy._y - 50) + Math.floor(Math.random() * 10)) - Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic3) && (_root.magic3._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
this.gotoAndPlay(78);
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.dmg_ef._y = ((_root.enemy._y - 50) + Math.floor(Math.random() * 10)) - Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 120;
_root.dmg_ef._yscale = 120;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic4) && (_root.magic4._visible == true)) && (_root.enemy.e_hp >= 0)) {
magic3_se1.start();
_root.score = _root.score + 200;
this.gotoAndPlay(78);
_root.enemy.e_hp = _root.enemy.e_hp - 3;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.dmg_ef._y = ((_root.enemy._y - 50) + Math.floor(Math.random() * 10)) - Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 120;
_root.dmg_ef._yscale = 120;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic5) && (_root.magic5._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
this.gotoAndPlay(78);
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.dmg_ef._y = ((_root.enemy._y - 50) + Math.floor(Math.random() * 10)) - Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
}
}
if ((0 >= _root.enemy.e_hp) && (_root.enemy.e_hp != -5)) {
gotoAndPlay (85);
_root.enemy.e_hp = -5;
} else if ((_root.player.fight_flg == false) && (15 < this._currentframe)) {
this.gotoAndPlay(1);
}
enemyx = this._x;
}
Instance of Symbol 365 MovieClip "quake_control" in Frame 9
onClipEvent (load) {
this.gotoAndStop(15);
}
onClipEvent (enterFrame) {
if (14 >= this._currentframe) {
if ((this._currentframe % 2) == 1) {
_root._y = _root._y + (15 / this._currentframe);
}
if ((this._currentframe % 2) == 0) {
_root._y = _root._y - (15 / this._currentframe);
}
} else {
_root._y = 0;
}
}
Instance of Symbol 366 MovieClip "player" in Frame 9
onClipEvent (load) {
this._x = 150;
var act_flg = true;
var srash_flg = 0;
var p_hp = 30;
var win_flg = 0;
var fight_flg = false;
e_hit_se1 = new Sound(_root);
e_hit_se1.attachSound("e_hit_se1");
def_se1 = new Sound(_root);
def_se1.attachSound("def_se1");
death_se = new Sound(_root);
death_se.attachSound("death_se");
}
onClipEvent (enterFrame) {
if (fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (!((this._currentframe >= 35) && (38 >= this._currentframe))) {
if (((0 < this.p_hp) && (this._currentframe >= 40)) && (45 >= this._currentframe)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
if ((Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) {
if (this._x < 250) {
this._x = this._x + 40;
if (this._x < 230) {
this.gotoAndPlay(31);
} else if (this._x >= 230) {
this.gotoAndPlay(12);
this._x = 250;
}
}
}
if (Key.isDown(Key.LEFT) && (_root.p_sp.sp_flg == true)) {
if (this._x >= 50) {
this._x = this._x - 40;
if (70 < this._x) {
this.gotoAndPlay(33);
} else if (70 >= this._x) {
this._x = 50;
this.gotoAndPlay(20);
}
}
}
if ((((((!Key.isDown(Key.RIGHT)) && (!Key.isDown(Key.LEFT))) && (this._x != 150)) && (this._currentframe < 64)) && (_root.p_sp.sp_flg == true)) || (_root.p_sp.sp_flg == false)) {
if (150 < this._x) {
this._x = this._x - 30;
if (170 < this._x) {
this.gotoAndPlay(33);
} else if (170 >= this._x) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
if (this._x < 150) {
this._x = this._x + 30;
if (this._x < 130) {
this.gotoAndPlay(31);
} else if (this._x >= 130) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
}
if ((((230 < this._x) && (Key.isDown(Key.SPACE))) && (act_flg == true)) && (_root.p_sp.sp_flg == true)) {
act_flg = false;
if (srash_flg == 0) {
gotoAndPlay (64);
srash_flg = 1;
} else if (srash_flg < 3) {
srash_flg = srash_flg + 1;
}
}
if ((act_flg == false) && (!Key.isDown(Key.SPACE))) {
act_flg = true;
}
if (((((this._x == 150) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) && (Key.isDown(Key.SPACE))) {
this.gotoAndPlay(54);
_root.charge_ef._visible = true;
_root.charge_ef._alpha = 70;
_root.charge_ef._x = _root.player._x + 15;
_root.charge_ef._y = 245;
if (_root.p_pp.pp < 20) {
_root.p_pp._visible = true;
_root.p_pp.pp = _root.p_pp.pp + 1;
}
} else if (this._currentframe < 90) {
_root.p_pp.pp = 0;
}
}
if (_root.player.p_body.hitTest(_root.enemy.g_crash)) {
if (this._currentframe != 20) {
e_hit_se1.start();
if ((this._currentframe == 54) || (this._currentframe >= 90)) {
this.p_hp = this.p_hp - 4;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.p_sp.sp_flg = false;
}
this.p_hp = this.p_hp - 3;
this.gotoAndPlay(35);
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._visible = true;
_root.dmg_ef._x = (_root.player._x + 40) + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.dmg_ef._xscale = 50;
_root.dmg_ef._yscale = 80;
} else if (this._currentframe == 20) {
this.p_hp = this.p_hp - 1;
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 25;
_root.def_ef._yscale = 50;
}
}
if (14 >= _root.quake_control._currentframe) {
_root.p_sp.sp = _root.p_sp.sp - 3;
}
}
if (0 >= p_hp) {
if (p_hp != -5) {
death_se.start();
gotoAndPlay (22);
p_hp = -5;
}
if (this._currentframe == 44) {
_root.lose_logo.gotoAndPlay(1);
_root.lose_logo._visible = true;
}
}
if ((0 < p_hp) && (0 >= _root.enemy.e_hp)) {
if (_root.enemy._visible == true) {
this.gotoAndPlay(47);
}
if (this._currentframe == 50) {
_root.win_logo.gotoAndPlay(1);
_root.win_logo._visible = true;
}
}
} else if ((fight_flg == false) && (9 < this._currentframe)) {
this.gotoAndPlay(1);
}
playerx = this._x;
}
Instance of Symbol 182 MovieClip "elements" in Frame 9
onClipEvent (load) {
p_el = 1;
down_flg = false;
up_flg = false;
chan_mg_se = new Sound(_root);
chan_mg_se.attachSound("chan_mg_se");
}
onClipEvent (enterFrame) {
this.gotoAndPlay(p_el);
if (_root.player.fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (Key.isDown(Key.DOWN) && (down_flg == false)) {
p_el = p_el + 1;
chan_mg_se.start();
down_flg = true;
} else if ((!Key.isDown(Key.DOWN)) && (down_flg == true)) {
down_flg = false;
}
if (p_el >= 6) {
p_el = 1;
}
if (Key.isDown(Key.UP) && (up_flg == false)) {
p_el = p_el - 1;
chan_mg_se.start();
up_flg = true;
} else if ((!Key.isDown(Key.UP)) && (up_flg == true)) {
up_flg = false;
}
if (0 >= p_el) {
p_el = 5;
}
}
}
}
Instance of Symbol 187 MovieClip "smoke" in Frame 9
onClipEvent (load) {
this._visible = false;
var smoke_flg = true;
var smoke_flg2 = true;
this.stop();
dash_se = new Sound(_root);
dash_se.attachSound("dash_se");
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if (((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) && (_root.p_sp.sp_flg == true)) {
if (this._currentframe == 2) {
dash_se.start();
}
if ((Key.isDown(Key.RIGHT) && (smoke_flg == true)) && (!Key.isDown(Key.LEFT))) {
this._visible = true;
smoke_flg = false;
this._xscale = 60;
this._yscale = 60;
this.gotoAndPlay(1);
this._x = _root.player._x + 50;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.RIGHT)) && (smoke_flg == false)) {
smoke_flg = true;
}
if (Key.isDown(Key.LEFT) && (smoke_flg2 == true)) {
smoke_flg2 = false;
if (200 < _root.player._x) {
this._xscale = -50;
this._yscale = 50;
}
if ((100 < _root.player._x) && (_root.player._x < 200)) {
this._xscale = -40;
this._yscale = 40;
}
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x - 25;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.LEFT)) && (smoke_flg2 == false)) {
smoke_flg2 = true;
}
if (_root.player._currentframe == 85) {
smoke_flg = false;
this._xscale = 80;
this._yscale = 50;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x + 50;
this._y = _root.player._y;
}
if ((((_root.player._x == 150) && (Key.isDown(Key.SPACE))) && (_root.smoke._visible == false)) && (_root.charge_ef._visible == true)) {
smoke_flg = false;
this._xscale = 60;
this._yscale = 30;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x;
this._y = _root.player._y;
}
}
}
}
Instance of Symbol 191 MovieClip "srash_e" in Frame 9
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if ((_root.player._currentframe >= 64) && (68 >= _root.player._currentframe)) {
this._rotation = 100;
} else if ((_root.player._currentframe >= 70) && (75 >= _root.player._currentframe)) {
this._rotation = 50;
} else if ((_root.player._currentframe >= 80) && (87 >= _root.player._currentframe)) {
this._rotation = 150;
}
}
}
}
Instance of Symbol 194 MovieClip "magic1" in Frame 9
onClipEvent (load) {
magic1_se = new Sound(_root);
magic1_se.attachSound("magic1_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic1_se.start();
}
}
Instance of Symbol 196 MovieClip "dmg_ef" in Frame 9
onClipEvent (load) {
this.stop();
}
Instance of Symbol 199 MovieClip "charge_ef" in Frame 9
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._visible = false;
this._rotation = this._rotation + 12;
}
Instance of Symbol 205 MovieClip "pentagram" in Frame 9
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 225 MovieClip "magic3" in Frame 9
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == true) {
this._x = this._x + 10;
}
if (this._visible == false) {
this._x = -50;
}
if (((((((this._currentframe == 1) || (this._currentframe == 4)) || (this._currentframe == 7)) || (this._currentframe == 10)) || (this._currentframe == 13)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 234 MovieClip "magic2" in Frame 9
onClipEvent (load) {
this._visible = false;
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
magic3_se2 = new Sound(_root);
magic3_se2.attachSound("magic3_se2");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic3_se1.start();
}
if ((this._currentframe == 7) && (_root.player.fight_flg == true)) {
magic3_se2.start();
}
}
Instance of Symbol 247 MovieClip "magic5" in Frame 9
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if (((((this._currentframe == 2) || (this._currentframe == 5)) || (this._currentframe == 8)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 259 MovieClip "magic4" in Frame 9
onClipEvent (load) {
this._visible = false;
stop();
magic4_se = new Sound(_root);
magic4_se.attachSound("magic4_se");
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
magic4_se.start();
}
if (this._visible == false) {
this._x = -50;
}
}
Instance of Symbol 261 MovieClip "p_hp_shadow" in Frame 9
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.p_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 262 MovieClip "e_hp_shadow" in Frame 9
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.e_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 264 MovieClip "p_hp" in Frame 9
onClipEvent (load) {
this.gotoAndStop(30);
}
onClipEvent (enterFrame) {
if (0 < _root.player.p_hp) {
gotoAndPlay(_root.player.p_hp);
} else if (0 >= _root.player.p_hp) {
gotoAndStop (1);
}
}
Instance of Symbol 266 MovieClip "e_hp" in Frame 9
onClipEvent (load) {
this.gotoAndStop(50);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.enemy.e_hp);
if (0 >= _root.enemy.e_hp) {
this._visible = false;
}
}
Instance of Symbol 368 MovieClip "p_sp" in Frame 9
onClipEvent (load) {
var sp = 30;
var sp_flg = true;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(sp);
this._x = _root.player._x + 25;
if (((_root.player._currentframe == 68) || (_root.player._currentframe == 76)) || (_root.player._currentframe == 88)) {
sp = sp - 5;
}
if (0 >= sp) {
sp_flg = false;
gotoAndPlay (1);
}
if ((sp_flg == false) && (30 >= sp)) {
sp = sp + 1;
_root.player.gotoAndPlay(22);
if (sp >= 30) {
sp = 30;
sp_flg = true;
}
}
} else {
this._visible = false;
}
}
Instance of Symbol 271 MovieClip "p_pp" in Frame 9
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
var pp = 0;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(pp);
this._x = _root.player._x + 15;
if (0 >= pp) {
gotoAndStop (1);
this._visible = false;
} else if (0 < pp) {
this._visible = true;
}
} else {
this._visible = false;
}
}
Instance of Symbol 285 MovieClip "win_logo" in Frame 9
onClipEvent (load) {
this._visible = false;
stop();
}
Instance of Symbol 287 MovieClip "lose_logo" in Frame 9
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 290 MovieClip "G_O_logo" in Frame 9
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
}
Instance of Symbol 371 MovieClip "G_O_yesno" in Frame 9
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 312 MovieClip "hit_c" in Frame 9
onClipEvent (load) {
_root.hit_count = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((_root.enemy.enemy_core.hitTest(_root.player.srash) || (_root.enemy.enemy_core.hitTest(_root.player.srash2))) && (_root.player._x >= 230)) && (0 < _root.p_sp.sp)) {
this.gotoAndPlay(1);
_root.hit_count = _root.hit_count + 1;
} else if ((_root.player._x < 230) || (0 >= _root.p_sp.sp)) {
_root.hit_count = 0;
}
if (_root.hit_count < 2) {
this._visible = false;
} else if (_root.hit_count >= 2) {
this._visible = true;
}
}
}
if ((0 >= _root.player.p_hp) || (0 >= _root.enemy.e_hp)) {
_root.hit_count = 0;
this._visible = false;
}
}
Frame 11
_root.stop();
stopAllSounds();
Frame 12
if (12 >= _root._framesloaded) {
gotoAndStop (12);
} else {
gotoAndPlay (13);
}
stopAllSounds();
Frame 13
_root.stop();
stopAllSounds();
btl1_music = new Sound(_root);
btl1_music.attachSound("btl1_music");
btl1_music.start(0, 100);
Instance of Symbol 405 MovieClip "enemy" in Frame 13
onClipEvent (load) {
_root.enemy.enemy_core._alpha = 100;
var enemy_act = 0;
var enemy_act2 = 0;
var e_hp = 50;
s_se1 = new Sound(_root);
s_se1.attachSound("slash_se1");
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((enemy_act == 6) || (enemy_act == 7)) && (_root.needle._visible == false)) {
_root.needle._visible = true;
_root.needle.gotoAndPlay(1);
}
if (((enemy_act == 8) || (enemy_act == 9)) && (_root.needle._visible == false)) {
this.gotoAndPlay(23);
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash)) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
_root.enemy.gotoAndPlay(17);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x + 100;
_root.srash_e._y = _root.enemy._y;
_root.enemy.e_hp = _root.enemy.e_hp - 2;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + 50) + Math.floor(Math.random() * 30);
_root.dmg_ef._y = _root.enemy._y + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash2)) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
_root.enemy.gotoAndPlay(17);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.enemy.e_hp = _root.enemy.e_hp - 4;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic1) && (_root.magic1._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + 50) + Math.floor(Math.random() * 30);
_root.dmg_ef._y = _root.enemy._y + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic2) && (_root.magic2._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + 50) + Math.floor(Math.random() * 30);
_root.dmg_ef._y = _root.enemy._y + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic3) && (_root.magic3._visible == true)) && (_root.enemy.e_hp >= 0)) {
magic3_se1.start();
_root.score = _root.score + 200;
_root.enemy.gotoAndPlay(17);
_root.enemy.e_hp = _root.enemy.e_hp - 2;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + 50) + Math.floor(Math.random() * 30);
_root.dmg_ef._y = _root.enemy._y + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 120;
_root.dmg_ef._yscale = 120;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic4) && (_root.magic4._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + 50) + Math.floor(Math.random() * 30);
_root.dmg_ef._y = _root.enemy._y + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 120;
_root.dmg_ef._yscale = 120;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic5) && (_root.magic5._visible == true)) && (_root.enemy.e_hp >= 0)) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.enemy._x + 50) + Math.floor(Math.random() * 30);
_root.dmg_ef._y = _root.enemy._y + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
}
}
if ((0 >= _root.enemy.e_hp) && (_root.enemy.e_hp != -5)) {
gotoAndPlay (35);
_root.enemy.e_hp = -5;
} else if ((_root.player.fight_flg == false) && (15 < this._currentframe)) {
this.gotoAndPlay(1);
}
enemyx = this._x;
}
Instance of Symbol 406 MovieClip "quake_control" in Frame 13
onClipEvent (load) {
this.gotoAndStop(15);
}
onClipEvent (enterFrame) {
if (14 >= this._currentframe) {
if ((this._currentframe % 2) == 1) {
_root._y = _root._y + 2;
}
if ((this._currentframe % 2) == 0) {
_root._y = _root._y - 2;
}
} else {
_root._y = 0;
}
}
Instance of Symbol 407 MovieClip "player" in Frame 13
onClipEvent (load) {
this._x = 150;
var act_flg = true;
var srash_flg = 0;
var p_hp = 30;
var win_flg = 0;
var fight_flg = false;
e_hit_se1 = new Sound(_root);
e_hit_se1.attachSound("e_hit_se1");
def_se1 = new Sound(_root);
def_se1.attachSound("def_se1");
death_se = new Sound(_root);
death_se.attachSound("death_se");
}
onClipEvent (enterFrame) {
if (fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (!((this._currentframe >= 35) && (38 >= this._currentframe))) {
if (((0 < this.p_hp) && (this._currentframe >= 40)) && (45 >= this._currentframe)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
if ((Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) {
if (this._x < 250) {
this._x = this._x + 40;
if (this._x < 230) {
this.gotoAndPlay(31);
} else if (this._x >= 230) {
this.gotoAndPlay(12);
this._x = 250;
}
}
}
if (Key.isDown(Key.LEFT) && (_root.p_sp.sp_flg == true)) {
if (this._x >= 50) {
this._x = this._x - 40;
if (70 < this._x) {
this.gotoAndPlay(33);
} else if (70 >= this._x) {
this._x = 50;
this.gotoAndPlay(20);
}
}
}
if ((((((!Key.isDown(Key.RIGHT)) && (!Key.isDown(Key.LEFT))) && (this._x != 150)) && (this._currentframe < 64)) && (_root.p_sp.sp_flg == true)) || (_root.p_sp.sp_flg == false)) {
if (150 < this._x) {
this._x = this._x - 30;
if (170 < this._x) {
this.gotoAndPlay(33);
} else if (170 >= this._x) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
if (this._x < 150) {
this._x = this._x + 30;
if (this._x < 130) {
this.gotoAndPlay(31);
} else if (this._x >= 130) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
}
if ((((230 < this._x) && (Key.isDown(Key.SPACE))) && (act_flg == true)) && (_root.p_sp.sp_flg == true)) {
act_flg = false;
if (srash_flg == 0) {
gotoAndPlay (64);
srash_flg = 1;
} else if (srash_flg < 3) {
srash_flg = srash_flg + 1;
}
}
if ((act_flg == false) && (!Key.isDown(Key.SPACE))) {
act_flg = true;
}
if (((((this._x == 150) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) && (Key.isDown(Key.SPACE))) {
this.gotoAndPlay(54);
_root.charge_ef._visible = true;
_root.charge_ef._alpha = 70;
_root.charge_ef._x = _root.player._x + 15;
_root.charge_ef._y = 245;
if (_root.p_pp.pp < 20) {
_root.p_pp._visible = true;
_root.p_pp.pp = _root.p_pp.pp + 1;
}
} else if (this._currentframe < 90) {
_root.p_pp.pp = 0;
}
}
if ((((_root.player.p_body.hitTest(_root.needle) && (_root.needle._currentframe >= 5)) && (7 >= _root.needle._currentframe)) || ((_root.player.p_body.hitTest(_root.needle2) && (_root.needle2._currentframe >= 5)) && (7 >= _root.needle2._currentframe))) || ((_root.player.p_body.hitTest(_root.needle3) && (_root.needle3._currentframe >= 5)) && (7 >= _root.needle3._currentframe))) {
if (this._currentframe != 20) {
e_hit_se1.start();
if ((this._currentframe == 54) || (this._currentframe >= 90)) {
this.p_hp = this.p_hp - 3;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.p_sp.sp_flg = false;
}
this.p_hp = this.p_hp - 1;
this.gotoAndPlay(35);
_root.dmg_fire._visible = true;
_root.dmg_fire._x = (_root.player._x + 35) + Math.floor(Math.random() * 30);
_root.dmg_fire._y = (_root.player._y - 50) + Math.floor(Math.random() * 50);
_root.dmg_fire._xscale = 100;
_root.dmg_fire._yscale = 100;
} else if (this._currentframe == 20) {
this.p_hp = this.p_hp - 0;
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 25;
_root.def_ef._yscale = 50;
}
}
if (_root.player.p_body.hitTest(_root.gr_nedl) && ((_root.gr_nedl._currentframe == 10) || (_root.gr_nedl._currentframe == 11))) {
if (this._currentframe != 20) {
e_hit_se1.start();
if ((this._currentframe == 54) || (this._currentframe >= 90)) {
this.p_hp = this.p_hp - 3;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.p_sp.sp_flg = false;
}
this.p_hp = this.p_hp - 1;
this.gotoAndPlay(35);
_root.dmg_fire._visible = true;
_root.dmg_fire._x = (_root.player._x + 35) + Math.floor(Math.random() * 30);
_root.dmg_fire._y = (_root.player._y - 50) + Math.floor(Math.random() * 50);
_root.dmg_fire._xscale = 100;
_root.dmg_fire._yscale = 100;
} else if (this._currentframe == 20) {
this.p_hp = this.p_hp - 1;
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 25;
_root.def_ef._yscale = 50;
}
}
}
if (0 >= p_hp) {
if (p_hp != -5) {
death_se.start();
gotoAndPlay (22);
p_hp = -5;
}
if (this._currentframe == 44) {
_root.lose_logo.gotoAndPlay(1);
_root.lose_logo._visible = true;
}
}
if ((0 < p_hp) && (0 >= _root.enemy.e_hp)) {
if (_root.enemy._currentframe < 66) {
this.gotoAndPlay(47);
}
if (this._currentframe == 50) {
_root.win_logo.gotoAndPlay(1);
_root.win_logo._visible = true;
}
}
} else if ((fight_flg == false) && (9 < this._currentframe)) {
this.gotoAndPlay(1);
}
playerx = this._x;
}
Instance of Symbol 409 MovieClip "elements" in Frame 13
onClipEvent (load) {
p_el = 1;
down_flg = false;
up_flg = false;
chan_mg_se = new Sound(_root);
chan_mg_se.attachSound("chan_mg_se");
}
onClipEvent (enterFrame) {
this.gotoAndPlay(p_el);
if (_root.player.fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (Key.isDown(Key.DOWN) && (down_flg == false)) {
p_el = p_el + 1;
chan_mg_se.start();
down_flg = true;
} else if ((!Key.isDown(Key.DOWN)) && (down_flg == true)) {
down_flg = false;
}
if (p_el >= 6) {
p_el = 1;
}
if (Key.isDown(Key.UP) && (up_flg == false)) {
p_el = p_el - 1;
chan_mg_se.start();
up_flg = true;
} else if ((!Key.isDown(Key.UP)) && (up_flg == true)) {
up_flg = false;
}
if (0 >= p_el) {
p_el = 5;
}
}
}
}
Instance of Symbol 187 MovieClip "smoke" in Frame 13
onClipEvent (load) {
this._visible = false;
var smoke_flg = true;
var smoke_flg2 = true;
this.stop();
dash_se = new Sound(_root);
dash_se.attachSound("dash_se");
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if (((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) && (_root.p_sp.sp_flg == true)) {
if (this._currentframe == 2) {
dash_se.start();
}
if ((Key.isDown(Key.RIGHT) && (smoke_flg == true)) && (!Key.isDown(Key.LEFT))) {
this._visible = true;
smoke_flg = false;
this._xscale = 60;
this._yscale = 60;
this.gotoAndPlay(1);
this._x = _root.player._x + 50;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.RIGHT)) && (smoke_flg == false)) {
smoke_flg = true;
}
if (Key.isDown(Key.LEFT) && (smoke_flg2 == true)) {
smoke_flg2 = false;
if (200 < _root.player._x) {
this._xscale = -50;
this._yscale = 50;
}
if ((100 < _root.player._x) && (_root.player._x < 200)) {
this._xscale = -40;
this._yscale = 40;
}
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x - 25;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.LEFT)) && (smoke_flg2 == false)) {
smoke_flg2 = true;
}
if (_root.player._currentframe == 85) {
smoke_flg = false;
this._xscale = 80;
this._yscale = 50;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x + 50;
this._y = _root.player._y;
}
if ((((_root.player._x == 150) && (Key.isDown(Key.SPACE))) && (_root.smoke._visible == false)) && (_root.charge_ef._visible == true)) {
smoke_flg = false;
this._xscale = 60;
this._yscale = 30;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x;
this._y = _root.player._y;
}
}
}
}
Instance of Symbol 191 MovieClip "srash_e" in Frame 13
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if ((_root.player._currentframe >= 64) && (68 >= _root.player._currentframe)) {
this._rotation = 100;
} else if ((_root.player._currentframe >= 70) && (75 >= _root.player._currentframe)) {
this._rotation = 50;
} else if ((_root.player._currentframe >= 80) && (87 >= _root.player._currentframe)) {
this._rotation = 150;
}
}
}
}
Instance of Symbol 194 MovieClip "magic1" in Frame 13
onClipEvent (load) {
magic1_se = new Sound(_root);
magic1_se.attachSound("magic1_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic1_se.start();
}
}
Instance of Symbol 196 MovieClip "dmg_ef" in Frame 13
onClipEvent (load) {
this.stop();
}
Instance of Symbol 199 MovieClip "charge_ef" in Frame 13
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._visible = false;
this._rotation = this._rotation + 12;
}
Instance of Symbol 205 MovieClip "pentagram" in Frame 13
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 225 MovieClip "magic3" in Frame 13
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == true) {
this._x = this._x + 10;
}
if (this._visible == false) {
this._x = -50;
}
if (((((((this._currentframe == 1) || (this._currentframe == 4)) || (this._currentframe == 7)) || (this._currentframe == 10)) || (this._currentframe == 13)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 234 MovieClip "magic2" in Frame 13
onClipEvent (load) {
this._visible = false;
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
magic3_se2 = new Sound(_root);
magic3_se2.attachSound("magic3_se2");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic3_se1.start();
}
if ((this._currentframe == 7) && (_root.player.fight_flg == true)) {
magic3_se2.start();
}
}
Instance of Symbol 247 MovieClip "magic5" in Frame 13
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if (((((this._currentframe == 2) || (this._currentframe == 5)) || (this._currentframe == 8)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 259 MovieClip "magic4" in Frame 13
onClipEvent (load) {
this._visible = false;
stop();
magic4_se = new Sound(_root);
magic4_se.attachSound("magic4_se");
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
magic4_se.start();
}
if (this._visible == false) {
this._x = -50;
}
}
Instance of Symbol 417 MovieClip "needle" in Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 421 MovieClip "needle2" in Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 426 MovieClip "needle3" in Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = false;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 434 MovieClip "gr_nedl" in Frame 13
onClipEvent (load) {
this.gotoAndStop(1);
this._visible = false;
}
onClipEvent (enterFrame) {
if ((0 < _root.enemy.enemy_act2) && (3 >= _root.enemy.enemy_act2)) {
this._x = 260;
}
if ((3 < _root.enemy.enemy_act2) && (6 >= _root.enemy.enemy_act2)) {
this._x = 150;
}
if ((6 < _root.enemy.enemy_act2) && (9 >= _root.enemy.enemy_act2)) {
this._x = 70;
}
if (_root.enemy._currentframe == 26) {
this._visible = true;
this.gotoAndPlay(1);
}
}
Instance of Symbol 261 MovieClip "p_hp_shadow" in Frame 13
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.p_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 262 MovieClip "e_hp_shadow" in Frame 13
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.e_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 435 MovieClip "p_hp" in Frame 13
onClipEvent (load) {
this.gotoAndStop(30);
}
onClipEvent (enterFrame) {
if (0 < _root.player.p_hp) {
gotoAndPlay(_root.player.p_hp);
} else if (0 >= _root.player.p_hp) {
this._visible = false;
gotoAndStop (1);
}
}
Instance of Symbol 266 MovieClip "e_hp" in Frame 13
onClipEvent (load) {
this.gotoAndStop(50);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.enemy.e_hp);
if (0 >= _root.enemy.e_hp) {
this._visible = false;
}
}
Instance of Symbol 368 MovieClip "p_sp" in Frame 13
onClipEvent (load) {
var sp = 30;
var sp_flg = true;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(sp);
this._x = _root.player._x + 25;
if (((_root.player._currentframe == 68) || (_root.player._currentframe == 76)) || (_root.player._currentframe == 88)) {
sp = sp - 5;
}
if (0 >= sp) {
sp_flg = false;
gotoAndPlay (1);
}
if ((sp_flg == false) && (30 >= sp)) {
sp = sp + 1;
_root.player.gotoAndPlay(22);
if (sp >= 30) {
sp = 30;
sp_flg = true;
}
}
} else {
this._visible = false;
}
}
Instance of Symbol 271 MovieClip "p_pp" in Frame 13
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
var pp = 0;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(pp);
this._x = _root.player._x + 15;
if (0 >= pp) {
gotoAndStop (1);
this._visible = false;
} else if (0 < pp) {
this._visible = true;
}
} else {
this._visible = false;
}
}
Instance of Symbol 285 MovieClip "win_logo" in Frame 13
onClipEvent (load) {
this._visible = false;
stop();
}
Instance of Symbol 287 MovieClip "lose_logo" in Frame 13
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 290 MovieClip "G_O_logo" in Frame 13
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
}
Instance of Symbol 371 MovieClip "G_O_yesno" in Frame 13
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 442 MovieClip "hit_c" in Frame 13
onClipEvent (load) {
_root.hit_count = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((_root.enemy.enemy_core.hitTest(_root.player.srash) || (_root.enemy.enemy_core.hitTest(_root.player.srash2))) && (_root.player._x >= 230)) && (0 < _root.p_sp.sp)) {
this.gotoAndPlay(1);
_root.hit_count = _root.hit_count + 1;
} else if ((_root.player._x < 230) || (0 >= _root.p_sp.sp)) {
_root.hit_count = 0;
}
if (_root.hit_count < 2) {
this._visible = false;
} else if (_root.hit_count >= 2) {
this._visible = true;
}
}
}
if ((0 >= _root.player.p_hp) || (0 >= _root.enemy.e_hp)) {
_root.hit_count = 0;
this._visible = false;
}
}
Frame 15
_root.stop();
stopAllSounds();
Frame 16
if (16 >= _root._framesloaded) {
gotoAndStop (16);
} else {
gotoAndPlay (17);
}
stopAllSounds();
Frame 17
_root.stop();
stopAllSounds();
btl2_music = new Sound(_root);
btl2_music.attachSound("btl2_music");
btl2_music.start(0, 100);
Instance of Symbol 555 MovieClip "enemy" in Frame 17
onClipEvent (load) {
var enemy_act = 0;
this._x = 340;
this._y = 190;
var e_hp = 50;
s_se1 = new Sound(_root);
s_se1.attachSound("slash_se1");
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
death_se = new Sound(_root);
death_se.attachSound("d_fire_se");
var move_flg = false;
}
onClipEvent (enterFrame) {
_root.enemy.d_fire._alpha = 80;
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (0 < enemy_act) {
if (((enemy_act == 1) || (enemy_act == 2)) && (this._x < 550)) {
if (move_flg == false) {
move_flg = true;
this.gotoAndPlay(79);
}
this._x = this._x + 20;
}
if (((enemy_act == 3) || (enemy_act == 4)) && (350 < this._x)) {
if (move_flg == false) {
move_flg = true;
this.gotoAndPlay(79);
}
this._x = this._x - 20;
}
if ((enemy_act == 5) || (enemy_act == 6)) {
this.gotoAndPlay(25);
}
if ((enemy_act == 7) || (enemy_act == 8)) {
if (this._x < 400) {
this.gotoAndPlay(43);
}
if ((500 < this._x) && (_root.d_bom.d_bom_flg == false)) {
this.gotoAndPlay(60);
}
}
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash)) {
if (!((move_flg == true) || ((this._currentframe >= 72) && (77 >= this._currentframe)))) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
_root.enemy.gotoAndPlay(73);
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
}
if (_root.enemy.enemy_core.hitTest(_root.player.srash2)) {
s_se1.start();
_root.score = _root.score + (100 * _root.hit_count);
_root.enemy.gotoAndPlay(73);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.enemy.e_hp = _root.enemy.e_hp - 2;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 60;
_root.dmg_ef._yscale = 60;
}
if ((_root.enemy.enemy_core.hitTest(_root.magic1) && (_root.magic1._visible == true)) && (_root.enemy.e_hp >= 0)) {
if (!((move_flg == true) || ((this._currentframe >= 72) && (77 >= this._currentframe)))) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(73);
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
}
if ((_root.enemy.enemy_core.hitTest(_root.magic2) && (_root.magic2._visible == true)) && (_root.enemy.e_hp >= 0)) {
if (!((move_flg == true) || ((this._currentframe >= 72) && (77 >= this._currentframe)))) {
magic3_se1.start();
_root.score = _root.score + 200;
_root.enemy.gotoAndPlay(73);
_root.enemy.e_hp = _root.enemy.e_hp - 2;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 120;
_root.dmg_ef._yscale = 120;
}
}
if ((_root.enemy.enemy_core.hitTest(_root.magic3) && (_root.magic3._visible == true)) && (_root.enemy.e_hp >= 0)) {
if (!((move_flg == true) || ((this._currentframe >= 72) && (77 >= this._currentframe)))) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(73);
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
}
if ((_root.enemy.enemy_core.hitTest(_root.magic4) && (_root.magic4._visible == true)) && (_root.enemy.e_hp >= 0)) {
if (!((move_flg == true) || ((this._currentframe >= 72) && (77 >= this._currentframe)))) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(73);
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
}
if ((_root.enemy.enemy_core.hitTest(_root.magic5) && (_root.magic5._visible == true)) && (_root.enemy.e_hp >= 0)) {
if (!((move_flg == true) || ((this._currentframe >= 72) && (77 >= this._currentframe)))) {
s_se1.start();
_root.score = _root.score + 50;
_root.enemy.gotoAndPlay(73);
_root.enemy.e_hp = _root.enemy.e_hp - 0;
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.dmg_ef._y = (_root.enemy._y - 50) + Math.floor(Math.random() * 10);
_root.dmg_ef._xscale = 80;
_root.dmg_ef._yscale = 80;
}
}
}
}
if ((0 >= _root.enemy.e_hp) && (_root.enemy.e_hp != -5)) {
death_se.start();
gotoAndPlay (92);
_root.enemy.e_hp = -5;
} else if ((_root.player.fight_flg == false) && (12 < this._currentframe)) {
this.gotoAndPlay(1);
}
enemyx = this._x;
}
Instance of Symbol 556 MovieClip "player" in Frame 17
onClipEvent (load) {
this._x = 150;
var act_flg = true;
var srash_flg = 0;
var p_hp = 30;
var win_flg = 0;
var fight_flg = false;
e_hit_se1 = new Sound(_root);
e_hit_se1.attachSound("e_hit_se1");
def_se1 = new Sound(_root);
def_se1.attachSound("def_se1");
death_se = new Sound(_root);
death_se.attachSound("death_se");
}
onClipEvent (enterFrame) {
if (fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (!((this._currentframe >= 35) && (38 >= this._currentframe))) {
if (((0 < this.p_hp) && (this._currentframe >= 40)) && (45 >= this._currentframe)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
if ((Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) {
if (this._x < 250) {
this._x = this._x + 40;
if (this._x < 230) {
this.gotoAndPlay(31);
} else if (this._x >= 230) {
this.gotoAndPlay(12);
this._x = 250;
}
}
}
if (Key.isDown(Key.LEFT) && (_root.p_sp.sp_flg == true)) {
if (this._x >= 50) {
this._x = this._x - 40;
if (70 < this._x) {
this.gotoAndPlay(33);
} else if (70 >= this._x) {
this._x = 50;
this.gotoAndPlay(20);
}
}
}
if ((((((!Key.isDown(Key.RIGHT)) && (!Key.isDown(Key.LEFT))) && (this._x != 150)) && (this._currentframe < 64)) && (_root.p_sp.sp_flg == true)) || (_root.p_sp.sp_flg == false)) {
if (150 < this._x) {
this._x = this._x - 30;
if (170 < this._x) {
this.gotoAndPlay(33);
} else if (170 >= this._x) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
if (this._x < 150) {
this._x = this._x + 30;
if (this._x < 130) {
this.gotoAndPlay(31);
} else if (this._x >= 130) {
this._x = 150;
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < _root.player.p_hp)) {
gotoAndPlay (22);
}
}
}
}
if ((((230 < this._x) && (Key.isDown(Key.SPACE))) && (act_flg == true)) && (_root.p_sp.sp_flg == true)) {
act_flg = false;
if (srash_flg == 0) {
gotoAndPlay (64);
srash_flg = 1;
} else if (srash_flg < 3) {
srash_flg = srash_flg + 1;
}
}
if ((act_flg == false) && (!Key.isDown(Key.SPACE))) {
act_flg = true;
}
if (((((this._x == 150) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.LEFT))) && (_root.p_sp.sp_flg == true)) && (Key.isDown(Key.SPACE))) {
this.gotoAndPlay(54);
_root.charge_ef._visible = true;
_root.charge_ef._alpha = 70;
_root.charge_ef._x = _root.player._x + 15;
_root.charge_ef._y = 245;
if (_root.p_pp.pp < 20) {
_root.p_pp._visible = true;
_root.p_pp.pp = _root.p_pp.pp + 1;
}
} else if (this._currentframe < 90) {
_root.p_pp.pp = 0;
}
}
if (_root.player.p_body.hitTest(_root.enemy.d_fire) || (_root.player.p_body.hitTest(_root.d_bom) && (_root.d_bom._currentframe == 6))) {
if (this._currentframe != 20) {
e_hit_se1.start();
if ((this._currentframe == 54) || (this._currentframe >= 90)) {
this.p_hp = this.p_hp - 3;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.p_sp.sp_flg = false;
}
this.p_hp = this.p_hp - 2;
this.gotoAndPlay(35);
_root.dmg_fire._visible = true;
_root.dmg_fire._x = (_root.player._x + 35) + Math.floor(Math.random() * 30);
_root.dmg_fire._y = (_root.player._y - 50) + Math.floor(Math.random() * 50);
_root.dmg_fire._xscale = 100;
_root.dmg_fire._yscale = 100;
} else if (this._currentframe == 20) {
this.p_hp = this.p_hp - 1;
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 25;
_root.def_ef._yscale = 50;
}
}
if (_root.player.p_body.hitTest(_root.enemy.d_slash)) {
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._rotation = 270;
_root.srash_e._x = _root.player._x;
_root.srash_e._y = _root.player._y - 60;
if (this._currentframe != 20) {
e_hit_se1.start();
if ((this._currentframe == 54) || (this._currentframe >= 90)) {
this.p_hp = this.p_hp - 2;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.p_sp.sp_flg = false;
}
this.p_hp = this.p_hp - 1;
this.gotoAndPlay(35);
_root.dmg_ef._visible = true;
_root.dmg_ef.gotoAndPlay(1);
_root.dmg_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.dmg_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.dmg_ef._xscale = 30;
_root.dmg_ef._yscale = 60;
} else if (this._currentframe == 20) {
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 25;
_root.def_ef._yscale = 50;
}
}
}
if (0 >= p_hp) {
if (p_hp != -5) {
death_se.start();
gotoAndPlay (22);
p_hp = -5;
}
if (this._currentframe == 44) {
_root.lose_logo.gotoAndPlay(1);
_root.lose_logo._visible = true;
}
}
if ((0 < p_hp) && (0 >= _root.enemy.e_hp)) {
if (_root.enemy._visible == true) {
this.gotoAndPlay(47);
}
if (this._currentframe == 50) {
_root.win_logo.gotoAndPlay(1);
_root.win_logo._visible = true;
}
}
} else if ((fight_flg == false) && (9 < this._currentframe)) {
this.gotoAndPlay(1);
}
playerx = this._x;
}
Instance of Symbol 409 MovieClip "elements" in Frame 17
onClipEvent (load) {
p_el = 1;
down_flg = false;
up_flg = false;
chan_mg_se = new Sound(_root);
chan_mg_se.attachSound("chan_mg_se");
}
onClipEvent (enterFrame) {
this.gotoAndPlay(p_el);
if (_root.player.fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (Key.isDown(Key.DOWN) && (down_flg == false)) {
p_el = p_el + 1;
chan_mg_se.start();
down_flg = true;
} else if ((!Key.isDown(Key.DOWN)) && (down_flg == true)) {
down_flg = false;
}
if (p_el >= 6) {
p_el = 1;
}
if (Key.isDown(Key.UP) && (up_flg == false)) {
p_el = p_el - 1;
chan_mg_se.start();
up_flg = true;
} else if ((!Key.isDown(Key.UP)) && (up_flg == true)) {
up_flg = false;
}
if (0 >= p_el) {
p_el = 5;
}
}
}
}
Instance of Symbol 187 MovieClip "smoke" in Frame 17
onClipEvent (load) {
this._visible = false;
var smoke_flg = true;
var smoke_flg2 = true;
this.stop();
dash_se = new Sound(_root);
dash_se.attachSound("dash_se");
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if (((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) && (_root.p_sp.sp_flg == true)) {
if (this._currentframe == 2) {
dash_se.start();
}
if ((Key.isDown(Key.RIGHT) && (smoke_flg == true)) && (!Key.isDown(Key.LEFT))) {
this._visible = true;
smoke_flg = false;
this._xscale = 60;
this._yscale = 60;
this.gotoAndPlay(1);
this._x = _root.player._x + 50;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.RIGHT)) && (smoke_flg == false)) {
smoke_flg = true;
}
if (Key.isDown(Key.LEFT) && (smoke_flg2 == true)) {
smoke_flg2 = false;
if (200 < _root.player._x) {
this._xscale = -50;
this._yscale = 50;
}
if ((100 < _root.player._x) && (_root.player._x < 200)) {
this._xscale = -40;
this._yscale = 40;
}
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x - 25;
this._y = _root.player._y;
} else if ((!Key.isDown(Key.LEFT)) && (smoke_flg2 == false)) {
smoke_flg2 = true;
}
if (_root.player._currentframe == 85) {
smoke_flg = false;
this._xscale = 80;
this._yscale = 50;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x + 50;
this._y = _root.player._y;
}
if ((((_root.player._x == 150) && (Key.isDown(Key.SPACE))) && (_root.smoke._visible == false)) && (_root.charge_ef._visible == true)) {
smoke_flg = false;
this._xscale = 60;
this._yscale = 30;
this.gotoAndPlay(1);
this._visible = true;
this._x = _root.player._x;
this._y = _root.player._y;
}
}
}
}
Instance of Symbol 191 MovieClip "srash_e" in Frame 17
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if ((_root.player._currentframe >= 64) && (68 >= _root.player._currentframe)) {
this._rotation = 100;
} else if ((_root.player._currentframe >= 70) && (75 >= _root.player._currentframe)) {
this._rotation = 50;
} else if ((_root.player._currentframe >= 80) && (87 >= _root.player._currentframe)) {
this._rotation = 150;
}
}
}
}
Instance of Symbol 194 MovieClip "magic1" in Frame 17
onClipEvent (load) {
magic1_se = new Sound(_root);
magic1_se.attachSound("magic1_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic1_se.start();
}
}
Instance of Symbol 196 MovieClip "dmg_ef" in Frame 17
onClipEvent (load) {
this.stop();
}
Instance of Symbol 199 MovieClip "charge_ef" in Frame 17
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._visible = false;
this._rotation = this._rotation + 12;
}
Instance of Symbol 205 MovieClip "pentagram" in Frame 17
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._rotation = this._rotation + 10;
}
Instance of Symbol 225 MovieClip "magic3" in Frame 17
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == true) {
this._x = this._x + 10;
}
if (this._visible == false) {
this._x = -50;
}
if (((((((this._currentframe == 1) || (this._currentframe == 4)) || (this._currentframe == 7)) || (this._currentframe == 10)) || (this._currentframe == 13)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 234 MovieClip "magic2" in Frame 17
onClipEvent (load) {
this._visible = false;
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
magic3_se2 = new Sound(_root);
magic3_se2.attachSound("magic3_se2");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if ((this._currentframe == 2) && (_root.player.fight_flg == true)) {
magic3_se1.start();
}
if ((this._currentframe == 7) && (_root.player.fight_flg == true)) {
magic3_se2.start();
}
}
Instance of Symbol 247 MovieClip "magic5" in Frame 17
onClipEvent (load) {
this._visible = false;
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._visible == false) {
this._x = -50;
}
if (((((this._currentframe == 2) || (this._currentframe == 5)) || (this._currentframe == 8)) && (_root.player.fight_flg == true)) && (this._visible == true)) {
magic2_se.start();
}
}
Instance of Symbol 259 MovieClip "magic4" in Frame 17
onClipEvent (load) {
this._visible = false;
stop();
magic4_se = new Sound(_root);
magic4_se.attachSound("magic4_se");
}
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
magic4_se.start();
}
if (this._visible == false) {
this._x = -50;
}
}
Instance of Symbol 566 MovieClip "d_bom" in Frame 17
onClipEvent (load) {
this._y = -50;
this._alpha = 80;
var d_bom_flg = false;
var d_bom_p = 0;
d_bom_se = new Sound(_root);
d_bom_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (this._currentframe == 7) {
d_bom_se.start();
}
if (d_bom_flg == true) {
if (this._y < 250) {
this._y = this._y + 20;
}
if (this._y >= 250) {
this._y = 270;
}
}
if ((d_bom_p == 0) || (d_bom_p == 3)) {
this._x = 50;
}
if (d_bom_p == 1) {
this._x = 160;
}
if (d_bom_p == 2) {
this._x = 280;
}
}
Instance of Symbol 573 MovieClip "dmg_fire" in Frame 17
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (!_root.player.hitTest(_root.enemy.d_fire)) {
this._x = -50;
this._visible = false;
}
}
Instance of Symbol 261 MovieClip "p_hp_shadow" in Frame 17
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.p_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 262 MovieClip "e_hp_shadow" in Frame 17
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.e_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 264 MovieClip "p_hp" in Frame 17
onClipEvent (load) {
this.gotoAndStop(30);
}
onClipEvent (enterFrame) {
if (0 < _root.player.p_hp) {
gotoAndPlay(_root.player.p_hp);
} else if (0 >= _root.player.p_hp) {
gotoAndStop (1);
}
}
Instance of Symbol 266 MovieClip "e_hp" in Frame 17
onClipEvent (load) {
this.gotoAndStop(50);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.enemy.e_hp);
if (0 >= _root.enemy.e_hp) {
this._visible = false;
}
}
Instance of Symbol 368 MovieClip "p_sp" in Frame 17
onClipEvent (load) {
var sp = 30;
var sp_flg = true;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(sp);
this._x = _root.player._x + 25;
if (((_root.player._currentframe == 68) || (_root.player._currentframe == 76)) || (_root.player._currentframe == 88)) {
sp = sp - 5;
}
if (0 >= sp) {
sp_flg = false;
gotoAndPlay (1);
}
if ((sp_flg == false) && (30 >= sp)) {
sp = sp + 1;
_root.player.gotoAndPlay(22);
if (sp >= 30) {
sp = 30;
sp_flg = true;
}
}
} else {
this._visible = false;
}
}
Instance of Symbol 271 MovieClip "p_pp" in Frame 17
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
var pp = 0;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(pp);
this._x = _root.player._x + 15;
if (0 >= pp) {
gotoAndStop (1);
this._visible = false;
} else if (0 < pp) {
this._visible = true;
}
} else {
this._visible = false;
}
}
Instance of Symbol 285 MovieClip "win_logo" in Frame 17
onClipEvent (load) {
this._visible = false;
stop();
}
Instance of Symbol 287 MovieClip "lose_logo" in Frame 17
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 290 MovieClip "G_O_logo" in Frame 17
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
}
Instance of Symbol 371 MovieClip "G_O_yesno" in Frame 17
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 580 MovieClip "hit_c" in Frame 17
onClipEvent (load) {
_root.hit_count = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((_root.enemy.enemy_core.hitTest(_root.player.srash) || (_root.enemy.enemy_core.hitTest(_root.player.srash2))) && (_root.player._x >= 230)) && (0 < _root.p_sp.sp)) {
this.gotoAndPlay(1);
_root.hit_count = _root.hit_count + 1;
} else if ((_root.player._x < 230) || (0 >= _root.p_sp.sp)) {
_root.hit_count = 0;
}
if (_root.hit_count < 2) {
this._visible = false;
} else if (_root.hit_count >= 2) {
this._visible = true;
}
}
}
if ((0 >= _root.player.p_hp) || (0 >= _root.enemy.e_hp)) {
_root.hit_count = 0;
this._visible = false;
}
}
Frame 19
_root.stop();
stopAllSounds();
Frame 20
if (20 >= _root._framesloaded) {
gotoAndStop (20);
} else {
gotoAndPlay (21);
}
stopAllSounds();
Frame 21
_root.stop();
stopAllSounds();
btl2_music = new Sound(_root);
btl2_music.attachSound("btl2_music");
btl2_music.start(0, 100);
Instance of Symbol 678 MovieClip "enemy" in Frame 21
onClipEvent (load) {
var enemy_act = 0;
var enemy_act2 = 0;
this._x = 420;
var e_hp = 100;
s_se1 = new Sound(_root);
s_se1.attachSound("slash_se1");
magic3_se1 = new Sound(_root);
magic3_se1.attachSound("magic3_se1");
dead_se = new Sound(_root);
dead_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (((((this._currentframe == 93) || (this._currentframe == 96)) || (this._currentframe == 99)) || (this._currentframe == 102)) || (this._currentframe == 105)) {
dead_se.start();
}
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((enemy_act == 1) || (enemy_act == 2)) || (enemy_act == 3)) {
this._x = this._x - 40;
this.gotoAndPlay(82);
}
if (((enemy_act == 4) || (enemy_act == 5)) || (enemy_act == 6)) {
this._x = this._x + 40;
this.gotoAndPlay(84);
}
if ((340 >= this._x) && (((enemy_act == 1) || (enemy_act == 2)) || (enemy_act == 3))) {
this._x = 320;
enemy_act = 0;
enemy_act2 = 0;
this.gotoAndPlay(1);
}
if ((this._x >= 500) && (((enemy_act == 4) || (enemy_act == 5)) || (enemy_act == 6))) {
this._x = 520;
enemy_act = 0;
enemy_act2 = 0;
this.gotoAndPlay(1);
}
if (400 >= this._x) {
if ((enemy_act == 6) || (enemy_act == 7)) {
this.gotoAndPlay(14);
}
}
if (400 < this._x) {
if ((enemy_act == 6) || (enemy_act == 7)) {
this.gotoAndPlay(35);
}
}
if (400 < this._x) {
if (enemy_act == 8) {
this.gotoAndPlay(53);
}
}
if (_root.enemy.l_e_body.hitTest(_root.player.slash) && (_root.l_e_shield._visible == false)) {
s_se1.start();
_root.score = _root.score + (50 * _root.hit_count);
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._x = _root.enemy._x;
_root.srash_e._y = _root.enemy._y - 60;
_root.enemy.e_hp = _root.enemy.e_hp - 1;
_root.l_dmg_ef2._visible = true;
_root.l_dmg_ef2.gotoAndPlay(1);
_root.l_dmg_ef2._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.l_dmg_ef2._y = (_root.enemy._y - Math.floor(Math.random() * 10)) + Math.floor(Math.random() * 10);
_root.l_dmg_ef2._xscale = 100;
_root.l_dmg_ef2._yscale = 100;
}
if (_root.enemy.l_e_body.hitTest(_root.player.baster) && (_root.l_e_shield._visible == false)) {
s_se1.start();
_root.score = _root.score + 100;
_root.enemy.e_hp = _root.enemy.e_hp - 2;
_root.l_dmg_ef2._visible = true;
_root.l_dmg_ef2.gotoAndPlay(1);
_root.l_dmg_ef2._x = (_root.enemy._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.l_dmg_ef2._y = (_root.enemy._y - Math.floor(Math.random() * 10)) + Math.floor(Math.random() * 10);
_root.l_dmg_ef2._xscale = 100;
_root.l_dmg_ef2._yscale = 100;
}
}
}
if ((0 >= _root.enemy.e_hp) && (_root.enemy.e_hp != -5)) {
gotoAndPlay (86);
_root.enemy.e_hp = -5;
} else if ((_root.player.fight_flg == false) && (12 < this._currentframe)) {
this.gotoAndPlay(1);
}
enemyx = this._x;
}
Instance of Symbol 739 MovieClip "player" in Frame 21
onClipEvent (load) {
this._x = 180;
var act_flg = true;
var srash_flg = 0;
var p_hp = 90;
var win_flg = 0;
var fight_flg = false;
e_hit_se1 = new Sound(_root);
e_hit_se1.attachSound("e_hit_se1");
def_se1 = new Sound(_root);
def_se1.attachSound("def_se1");
death_se = new Sound(_root);
death_se.attachSound("death_se");
dead_se = new Sound(_root);
dead_se.attachSound("magic2_se");
}
onClipEvent (enterFrame) {
if (((((this._currentframe == 103) || (this._currentframe == 107)) || (this._currentframe == 111)) || (this._currentframe == 115)) || (this._currentframe == 119)) {
dead_se.start();
}
if (fight_flg) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
if (((0 < this.p_hp) && (this._currentframe >= 90)) && (125 >= this._currentframe)) {
this.gotoAndPlay(1);
}
if (_root.p_sp.sp_flg != false) {
if (Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) {
if (this._x < 280) {
this._x = this._x + 50;
if (this._x < 260) {
this.gotoAndPlay(15);
} else if (this._x >= 260) {
this.gotoAndPlay(1);
this._x = 280;
}
}
}
if (Key.isDown(Key.LEFT)) {
if (this._x >= 80) {
this._x = this._x - 50;
if (100 < this._x) {
this.gotoAndPlay(17);
} else if (100 >= this._x) {
this._x = 80;
_root.player.gotoAndPlay(19);
}
}
}
}
if (((((!Key.isDown(Key.RIGHT)) && (!Key.isDown(Key.LEFT))) && (this._x != 180)) && (!((20 < this._currentframe) && (55 >= this._currentframe)))) || (_root.p_sp.sp_flg == false)) {
if (180 < this._x) {
this._x = this._x - 30;
if (200 < this._x) {
this.gotoAndPlay(17);
} else if (200 >= this._x) {
this._x = 180;
this.gotoAndPlay(1);
}
}
if (this._x < 180) {
this._x = this._x + 30;
if (this._x < 160) {
this.gotoAndPlay(15);
} else if (this._x >= 160) {
this._x = 180;
this.gotoAndPlay(1);
}
}
}
if ((((260 < this._x) && (Key.isDown(Key.SPACE))) && (act_flg == true)) && (_root.p_sp.sp_flg == true)) {
act_flg = false;
if (srash_flg == 0) {
this.gotoAndPlay(22);
srash_flg = 1;
} else if (srash_flg < 3) {
srash_flg = srash_flg + 1;
}
}
if ((act_flg == false) && (!Key.isDown(Key.SPACE))) {
act_flg = true;
}
if ((((((!((this._currentframe >= 59) && (71 >= this._currentframe))) && (this._x == 180)) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.LEFT))) && (Key.isDown(Key.SPACE))) && (_root.p_sp.sp_flg != false)) {
this.gotoAndPlay(57);
_root.l_charge_ef._visible = true;
_root.l_charge_ef._alpha = 70;
_root.l_charge_ef._x = _root.player._x;
_root.l_charge_ef._y = _root.player._x;
if (_root.p_pp.pp < 20) {
this.gotoAndPlay(57);
_root.p_pp._visible = true;
_root.p_pp.pp = _root.p_pp.pp + 1;
}
} else if (!((this._currentframe >= 57) && (71 >= this._currentframe))) {
_root.p_pp.pp = 0;
}
if (_root.player.p_body.hitTest(_root.enemy.l_e_slash)) {
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._rotation = 270;
_root.srash_e._x = _root.player._x;
_root.srash_e._y = _root.player._y - 60;
if (this._currentframe != 19) {
e_hit_se1.start();
this.p_hp = this.p_hp - 1;
_root.l_dmg_ef._visible = true;
_root.l_dmg_ef.gotoAndPlay(1);
_root.l_dmg_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.l_dmg_ef._y = (_root.player._y + Math.floor(Math.random() * 50)) - Math.floor(Math.random() * 50);
_root.l_dmg_ef._xscale = 100;
_root.l_dmg_ef._yscale = 100;
} else if (this._currentframe == 19) {
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 50;
_root.def_ef._yscale = 100;
}
}
if (_root.player.p_body.hitTest(_root.enemy.laser)) {
_root.srash_e.gotoAndPlay(1);
_root.srash_e._visible = true;
_root.srash_e._rotation = 270;
_root.srash_e._x = _root.player._x;
_root.srash_e._y = _root.player._y - 60;
if (this._currentframe != 19) {
e_hit_se1.start();
this.p_hp = this.p_hp - 2;
_root.l_dmg_ef._visible = true;
_root.l_dmg_ef.gotoAndPlay(1);
_root.l_dmg_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) - Math.floor(Math.random() * 30);
_root.l_dmg_ef._y = (_root.player._y + Math.floor(Math.random() * 50)) - Math.floor(Math.random() * 50);
_root.l_dmg_ef._xscale = 100;
_root.l_dmg_ef._yscale = 100;
} else if (this._currentframe == 19) {
def_se1.start();
_root.def_ef._visible = true;
_root.def_ef.gotoAndPlay(1);
_root.def_ef._x = (_root.player._x + Math.floor(Math.random() * 30)) + 30;
_root.def_ef._y = (_root.player._y - 60) + Math.floor(Math.random() * 50);
_root.def_ef._xscale = 50;
_root.def_ef._yscale = 100;
}
}
}
if (0 >= p_hp) {
if (p_hp != -5) {
death_se.start();
this.gotoAndPlay(90);
p_hp = -5;
}
if (this._currentframe == 125) {
_root.lose_logo.gotoAndPlay(1);
_root.lose_logo._visible = true;
}
}
if ((0 < p_hp) && (0 >= _root.enemy.e_hp)) {
if (_root.enemy._visible == true) {
this.gotoAndPlay(73);
}
if (this._currentframe == 86) {
_root.win_logo.gotoAndPlay(1);
_root.win_logo._visible = true;
}
}
} else if ((fight_flg == false) && (13 < this._currentframe)) {
this.gotoAndPlay(1);
}
playerx = this._x;
}
Instance of Symbol 740 MovieClip "elements" in Frame 21
onClipEvent (load) {
p_el = 1;
down_flg = false;
up_flg = false;
chan_mg_se = new Sound(_root);
chan_mg_se.attachSound("chan_mg_se");
this.gotoAndStop(10);
}
onClipEvent (enterFrame) {
}
Instance of Symbol 191 MovieClip "srash_e" in Frame 21
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg == true) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if ((_root.player._currentframe >= 64) && (68 >= _root.player._currentframe)) {
this._rotation = 100;
} else if ((_root.player._currentframe >= 70) && (75 >= _root.player._currentframe)) {
this._rotation = 50;
} else if ((_root.player._currentframe >= 80) && (87 >= _root.player._currentframe)) {
this._rotation = 150;
}
}
}
}
Instance of Symbol 744 MovieClip "l_charge_ef" in Frame 21
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 750 MovieClip "l_e_shield" in Frame 21
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root.enemy._x - 20;
this._y = _root.enemy._y;
}
Instance of Symbol 261 MovieClip "p_hp_shadow" in Frame 21
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.p_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 262 MovieClip "e_hp_shadow" in Frame 21
onClipEvent (load) {
this.gotoAndPlay(300);
stop();
}
onClipEvent (enterFrame) {
this._alpha = 80;
if (this._currentframe >= (_root.e_hp._currentframe * 5)) {
this.gotoAndPlay(this._currentframe - 1);
stop();
}
if (1 >= this._currentframe) {
this.gotoAndPlay(1);
this._visible = false;
}
}
Instance of Symbol 755 MovieClip "p_hp" in Frame 21
onClipEvent (load) {
this.gotoAndStop(30);
}
onClipEvent (enterFrame) {
if (0 < _root.player.p_hp) {
this.gotoAndStop(Math.floor(_root.player.p_hp / 3));
} else if (0 >= _root.player.p_hp) {
gotoAndStop (1);
}
}
Instance of Symbol 756 MovieClip "e_hp" in Frame 21
onClipEvent (load) {
this.gotoAndStop(50);
}
onClipEvent (enterFrame) {
this.gotoAndStop(Math.floor(_root.enemy.e_hp / 2));
if (0 >= _root.enemy.e_hp) {
this._visible = false;
}
}
Instance of Symbol 757 MovieClip "p_sp" in Frame 21
onClipEvent (load) {
var sp = 30;
var sp_flg = true;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(sp);
this._x = _root.player._x;
this._y = _root.player._y + 70;
if (((_root.player._currentframe == 25) || (_root.player._currentframe == 35)) || (_root.player._currentframe == 46)) {
sp = sp - 5;
}
if (0 >= sp) {
sp_flg = false;
if (!((_root.player._currentframe >= 21) && (71 >= _root.player._currentframe))) {
_root.player.gotoAndPlay(1);
}
}
if ((sp_flg == false) && (30 >= sp)) {
sp = sp + 1;
_root.player.gotoAndPlay(1);
if (sp >= 30) {
sp_flg = true;
sp = 30;
}
}
} else {
this._visible = false;
}
}
Instance of Symbol 758 MovieClip "p_pp" in Frame 21
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
var pp = 0;
}
onClipEvent (enterFrame) {
if ((_root.player.p_hp >= 0) && (_root.enemy.e_hp >= 0)) {
this.gotoAndPlay(pp);
this._x = _root.player._x;
this._y = _root.player._y - 50;
if (0 >= pp) {
gotoAndStop (1);
this._visible = false;
} else if (0 < pp) {
this._visible = true;
}
} else {
this._visible = false;
}
}
Instance of Symbol 285 MovieClip "win_logo" in Frame 21
onClipEvent (load) {
this._visible = false;
stop();
}
Instance of Symbol 287 MovieClip "lose_logo" in Frame 21
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 290 MovieClip "G_O_logo" in Frame 21
onClipEvent (load) {
this._visible = false;
gotoAndStop (1);
}
Instance of Symbol 371 MovieClip "G_O_yesno" in Frame 21
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 767 MovieClip "hit_c" in Frame 21
onClipEvent (load) {
_root.hit_count = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.player.fight_flg) {
if ((0 < _root.player.p_hp) && (0 < _root.enemy.e_hp)) {
if (((_root.enemy.l_e_body.hitTest(_root.player.slash) || (_root.enemy.l_e_body.hitTest(_root.player.baster))) && (_root.player._x >= 230)) && (0 < _root.p_sp.sp)) {
this.gotoAndPlay(1);
_root.hit_count = _root.hit_count + 1;
} else if ((_root.player._x < 230) || (0 >= _root.p_sp.sp)) {
_root.hit_count = 0;
}
if (_root.hit_count < 2) {
this._visible = false;
} else if (_root.hit_count >= 2) {
this._visible = true;
}
}
}
if ((0 >= _root.player.p_hp) || (0 >= _root.enemy.e_hp)) {
_root.hit_count = 0;
this._visible = false;
}
}
Frame 22
_root._alpha = 100;
Frame 23
_root.stop();
stopAllSounds();
Frame 25
_root.stop();
stopAllSounds();
Instance of Symbol 792 MovieClip "G_O_ef" in Frame 25
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 803 MovieClip "to_title_button" in Frame 25
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 806 MovieClip "T_Y_P_logo" in Frame 25
onClipEvent (load) {
gotoAndStop (1);
}
Instance of Symbol 813 MovieClip "points" in Frame 25
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 26
_root.stop();
stopAllSounds();
Instance of Symbol 817 MovieClip in Frame 26
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 813 MovieClip "points" in Frame 26
onClipEvent (load) {
this.gotoAndStop(1);
}
Frame 28
if (28 >= _root._framesloaded) {
gotoAndStop (28);
} else {
gotoAndPlay (29);
}
stopAllSounds();
Frame 29
_root.stop();
btl1_music = new Sound(_root);
btl1_music.attachSound("btl1_music");
btl1_music.start(0, 100);
Instance of Symbol 803 MovieClip "to_title_button" in Frame 29
onClipEvent (load) {
gotoAndStop (1);
}
Frame 30
if (30 >= _root._framesloaded) {
gotoAndStop (30);
} else {
gotoAndPlay (31);
}
stopAllSounds();
Frame 31
_root.stop();
Instance of Symbol 803 MovieClip "to_title_button" in Frame 31
onClipEvent (load) {
gotoAndStop (1);
}
Symbol 28 MovieClip Frame 25
_root.op.title_button.gotoAndPlay(1);
Symbol 28 MovieClip Frame 40
stop();
Symbol 35 Button
on (release) {
_root.op.gotoAndPlay(150);
}
Symbol 42 Button
on (release) {
_root.gotoAndPlay(28);
_root.free_flg = true;
}
Symbol 47 Button
on (release) {
_root.gotoAndPlay(2);
_root.free_flg = false;
}
Symbol 52 Button
on (release) {
_root.gotoAndPlay(30);
}
Symbol 53 MovieClip Frame 20
stop();
Instance of Symbol 28 MovieClip "title" in Symbol 54 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 54 MovieClip Frame 2
loaded = _root.getBytesLoaded();
totalloaded = _root.getBytesTotal();
if (loaded >= totalloaded) {
this.gotoAndPlay(2);
} else {
load_parcent = (loaded / totalloaded) * 100;
load_parcent_main = Math.round(load_parcent);
this.logo_loading._alpha = 100 - ((loaded / totalloaded) * 100);
this.gotoAndPlay(1);
}
Symbol 54 MovieClip Frame 5
stopAllSounds();
op_music = new Sound(_root);
op_music.attachSound("op_music");
op_music.start(0, 100);
Symbol 54 MovieClip Frame 153
stop();
_root.op.title.gotoAndPlay(1);
_root.title_skip._visible = false;
_root.title_skip._x = -50;
Instance of Symbol 53 MovieClip "title_button" in Symbol 54 MovieClip Frame 153
onClipEvent (load) {
this.gotoAndStop(1);
}
Symbol 59 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 60 Button
on (release) {
_root.gotoAndPlay(4);
}
Symbol 61 Button
on (release) {
_root.gotoAndPlay(8);
}
Symbol 62 Button
on (release) {
_root.gotoAndPlay(6);
}
Symbol 74 Button
on (release) {
if (_root._currentframe == 3) {
if (_root.stage_wards._currentframe == 14) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 36) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 56) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 76) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 96) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 147) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 167) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 187) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 208) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 231) {
_root.gotoAndPlay(4);
}
}
if (_root._currentframe == 7) {
if (_root.stage_wards._currentframe == 41) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 61) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 81) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 101) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 125) {
_root.gotoAndPlay(8);
}
}
if (_root._currentframe == 11) {
if (_root.stage_wards._currentframe == 41) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 61) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 81) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 101) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 121) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 141) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 163) {
_root.gotoAndPlay(12);
}
}
if (_root._currentframe == 15) {
if (_root.stage_wards._currentframe == 10) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 30) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 50) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 110) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 131) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 151) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 171) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 191) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 211) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 231) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 251) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 271) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 290) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 310) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 330) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 350) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 370) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 390) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 410) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 435) {
_root.gotoAndPlay(16);
}
}
if (_root._currentframe == 19) {
if (_root.stage_wards._currentframe == 11) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 31) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 51) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 71) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 91) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 141) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 161) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 181) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 201) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 221) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 241) {
_root.stage_wards.gotoAndPlay(_root.stage_wards._currentframe + 1);
}
if (_root.stage_wards._currentframe == 250) {
_root.gotoAndPlay(20);
}
}
}
Symbol 75 Button
on (release) {
if (_root._currentframe == 3) {
_root.gotoAndPlay(4);
}
if (_root._currentframe == 7) {
_root.gotoAndPlay(8);
}
if (_root._currentframe == 11) {
_root.gotoAndPlay(12);
}
if (_root._currentframe == 15) {
_root.gotoAndPlay(16);
}
if (_root._currentframe == 19) {
_root.gotoAndPlay(20);
}
}
Symbol 90 MovieClip Frame 14
stop();
Symbol 90 MovieClip Frame 36
stop();
Symbol 90 MovieClip Frame 56
stop();
Symbol 90 MovieClip Frame 76
stop();
Symbol 90 MovieClip Frame 96
stop();
Symbol 90 MovieClip Frame 147
stop();
Symbol 90 MovieClip Frame 167
stop();
Symbol 90 MovieClip Frame 187
stop();
Symbol 90 MovieClip Frame 208
stop();
Symbol 90 MovieClip Frame 231
stop();
Symbol 101 MovieClip Frame 5
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 101 MovieClip Frame 9
gotoAndPlay (1);
if (0 >= _root.enemy.e_hp) {
gotoAndPlay (40);
}
Symbol 101 MovieClip Frame 11
_root.enemy.enemy_act = 0;
Symbol 101 MovieClip Frame 23
if (0 >= _root.enemy.e_hp) {
gotoAndPlay (40);
} else {
gotoAndPlay (1);
}
Symbol 101 MovieClip Frame 25
_root.enemy.enemy_act = 0;
Symbol 101 MovieClip Frame 32
if (0 >= _root.enemy.e_hp) {
gotoAndPlay (40);
} else {
gotoAndPlay (1);
}
Symbol 101 MovieClip Frame 34
Symbol 101 MovieClip Frame 38
if (0 >= _root.enemy.e_hp) {
gotoAndPlay (40);
} else {
gotoAndPlay (1);
}
Symbol 101 MovieClip Frame 40
e_death_se = new Sound(_root);
e_death_se.attachSound("e_death_se");
e_death_se.start();
Symbol 101 MovieClip Frame 48
_root.enemy._alpha = 60;
_root.score = _root.score + (1000 + (_root.player.p_hp * 100));
Symbol 101 MovieClip Frame 51
_root.enemy._alpha = 30;
Symbol 101 MovieClip Frame 55
_root.enemy._visible = false;
stop();
Symbol 103 MovieClip Frame 1
_alpha = 50;
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 3
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 3
stop();
Symbol 145 MovieClip Frame 1
_alpha = 50;
Symbol 167 MovieClip Frame 1
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Instance of Symbol 130 MovieClip "p_sword" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 3
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 167 MovieClip Frame 5
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 5
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 7
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 167 MovieClip Frame 9
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 167 MovieClip Frame 10
_root.player.srash_flg = 0;
if ((((!Key.isDown(Key.LEFT)) && (!Key.isDown(Key.LEFT))) && (_root.player._x == 150)) && (_root.p_sp.sp_flg == true)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 167 MovieClip Frame 12
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 12
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 18
_root.player.srash_flg = 0;
if ((230 < _root.player._x) && (Key.isDown(Key.RIGHT))) {
gotoAndPlay (12);
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 167 MovieClip Frame 20
_root.p_sp.sp = _root.p_sp.sp - 1;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 20
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 22
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 22
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 23
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 167 MovieClip Frame 24
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 167 MovieClip Frame 25
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 167 MovieClip Frame 26
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 167 MovieClip Frame 27
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 167 MovieClip Frame 28
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 167 MovieClip Frame 29
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (40);
} else if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
Symbol 167 MovieClip Frame 31
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 31
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 33
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 33
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 35
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 35
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 38
_root.player.dmg_flg = false;
if (200 < _root.player._x) {
gotoAndPlay (12);
} else if (_root.player._x == 150) {
if (0 < _root.player.p_hp) {
if (10 < _root.player.p_hp) {
gotoAndPlay (1);
}
if (10 >= _root.player.p_hp) {
gotoAndPlay (22);
}
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 40
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 45
stop();
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 47
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 52
stop();
Symbol 167 MovieClip Frame 54
gotoAndPlay (90);
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 54
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 57
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 61
_root.player.srash._alpha = 80;
Symbol 167 MovieClip Frame 62
_root.player.srash._alpha = 50;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 64
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 66
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 167 MovieClip Frame 67
_root.player.srash_sub._alpha = 40;
Symbol 167 MovieClip Frame 68
_root.player.srash_sub._alpha = 10;
Symbol 167 MovieClip Frame 69
if (1 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (1 < _root.player.srash_flg) {
gotoAndPlay (70);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 70
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 73
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 167 MovieClip Frame 74
_root.player.srash_sub._alpha = 50;
Symbol 167 MovieClip Frame 75
_root.player.srash_sub._alpha = 20;
Symbol 167 MovieClip Frame 77
if (2 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (2 < _root.player.srash_flg) {
gotoAndPlay (78);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 78
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 84
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash_sub._alpha = 80;
Symbol 167 MovieClip Frame 85
_root.player.srash2._alpha = 80;
Symbol 167 MovieClip Frame 86
_root.player.srash._alpha = 50;
Symbol 167 MovieClip Frame 87
_root.player.srash_sub._alpha = 20;
Symbol 167 MovieClip Frame 89
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 167 MovieClip Frame 90
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 167 MovieClip Frame 91
if (_root.p_pp.pp < 20) {
if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
}
if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
} else if (_root.p_pp.pp >= 20) {
gotoAndPlay (92);
}
Symbol 167 MovieClip Frame 93
if (_root.p_pp.pp >= 20) {
if (_root.elements.p_el == 1) {
_root.magic1._visible = true;
_root.magic1.gotoAndPlay(1);
_root.magic1._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.magic1._y = _root.enemy._y - 10;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 2) {
_root.magic2._visible = true;
_root.magic2._alpha = 100;
_root.magic2.gotoAndPlay(1);
_root.magic2._x = 400 + Math.floor(Math.random() * 30);
_root.magic2._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 3) {
_root.magic3._visible = true;
_root.magic3.gotoAndPlay(1);
_root.magic3._x = _root.player._x + 50;
_root.magic3._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 4) {
_root.magic4._visible = true;
_root.magic4._alpha = 100;
_root.magic4.gotoAndPlay(1);
_root.magic4._x = _root.player._x + 50;
_root.magic4._y = 230;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 30;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 5) {
_root.magic5._visible = true;
_root.magic5._alpha = 100;
_root.magic5.gotoAndPlay(1);
_root.magic5._x = _root.player._x + 150;
_root.magic5._y = 290;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
}
Symbol 167 MovieClip Frame 98
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 187 MovieClip Frame 1
_root.smoke._alpha = 90;
Symbol 187 MovieClip Frame 2
_root.smoke._alpha = 60;
Symbol 187 MovieClip Frame 3
_root.smoke._alpha = 30;
Symbol 187 MovieClip Frame 4
_root.smoke._alpha = 20;
Symbol 187 MovieClip Frame 5
_root.smoke._visible = false;
stop();
Symbol 191 MovieClip Frame 1
_alpha = 90;
Symbol 191 MovieClip Frame 2
_alpha = 60;
Symbol 191 MovieClip Frame 3
_alpha = 20;
Symbol 191 MovieClip Frame 4
stop();
_root.srash_e._visible = false;
Symbol 194 MovieClip Frame 2
_root.magic_ef._visible = true;
_root.magic_ef._alpha = 90;
_root.magic_ef._visible = true;
_root.magic_ef.gotoAndPlay(1);
_root.magic_ef._x = _root.magic1._x;
_root.magic_ef._y = _root.magic1._y;
Symbol 194 MovieClip Frame 4
_root.magic1._alpha = 50;
Symbol 194 MovieClip Frame 6
_root.magic1._alpha = 20;
Symbol 194 MovieClip Frame 7
_root.magic1._visible = false;
_root.magic1._x = -50;
stop();
Symbol 196 MovieClip Frame 1
_root.dmg_ef._alpha = 80;
Symbol 196 MovieClip Frame 2
_root.dmg_ef._alpha = 40;
Symbol 196 MovieClip Frame 3
_root.dmg_ef._alpha = 10;
Symbol 196 MovieClip Frame 4
_root.dmg_ef._visible = false;
Symbol 199 MovieClip Frame 12
gotoAndPlay (1);
Symbol 201 MovieClip Frame 1
_root.magic_ef._visible = true;
_root.magic_ef._alpha = 80;
Symbol 201 MovieClip Frame 3
_root.magic_ef._visible = true;
_root.magic_ef._alpha = 50;
Symbol 201 MovieClip Frame 6
_root.magic_ef._visible = true;
_root.magic_ef._alpha = 20;
Symbol 201 MovieClip Frame 8
_root.magic_ef._visible = true;
_root.magic_ef._alpha = 10;
Symbol 201 MovieClip Frame 9
_root.magic_ef._visible = false;
stop();
Symbol 203 MovieClip Frame 1
_root.magic_shot._alpha = 80;
Symbol 203 MovieClip Frame 2
_root.magic_shot._alpha = 60;
Symbol 203 MovieClip Frame 3
_root.magic_shot._alpha = 40;
Symbol 203 MovieClip Frame 4
_root.magic_shot._alpha = 20;
Symbol 203 MovieClip Frame 5
_root.magic_shot._alpha = 10;
Symbol 203 MovieClip Frame 6
_root.magic_shot._visible = false;
stop();
Symbol 205 MovieClip Frame 1
_root.pentagram._alpha = 80;
Symbol 205 MovieClip Frame 2
_root.pentagram._alpha = 60;
Symbol 205 MovieClip Frame 3
_root.pentagram._alpha = 40;
Symbol 205 MovieClip Frame 4
_root.pentagram._alpha = 20;
Symbol 205 MovieClip Frame 5
_root.pentagram._alpha = 10;
Symbol 205 MovieClip Frame 6
_root.pentagram._visible = false;
stop();
Symbol 225 MovieClip Frame 2
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 3
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 4
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 5
_root.magic3._alpha = 90;
_root.magic3._alpha = 40;
Symbol 225 MovieClip Frame 6
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 7
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 8
_root.magic3._alpha = 40;
Symbol 225 MovieClip Frame 9
_root.magic3._alpha = 30;
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 10
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 11
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 12
_root.magic3._alpha = 40;
Symbol 225 MovieClip Frame 13
_root.magic3._alpha = 90;
_root.magic3._alpha = 30;
Symbol 225 MovieClip Frame 14
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 15
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 16
_root.magic3._alpha = 40;
Symbol 225 MovieClip Frame 17
_root.magic3._alpha = 30;
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 18
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 19
_root.magic3._alpha = 90;
Symbol 225 MovieClip Frame 20
_root.magic3._alpha = 40;
Symbol 225 MovieClip Frame 21
_root.magic3._alpha = 30;
Symbol 225 MovieClip Frame 22
_root.magic3._visible = false;
Symbol 229 MovieClip Frame 1
_root.def_ef._alpha = 80;
Symbol 229 MovieClip Frame 2
_root.def_ef._alpha = 50;
Symbol 229 MovieClip Frame 3
_root.def_ef._alpha = 20;
Symbol 229 MovieClip Frame 4
_root.def_ef._visible = false;
stop();
Symbol 234 MovieClip Frame 9
_root.magic2._alpha = 80;
Symbol 234 MovieClip Frame 10
_root.magic2._alpha = 60;
Symbol 234 MovieClip Frame 11
_root.magic2._alpha = 40;
Symbol 234 MovieClip Frame 12
_root.magic2._alpha = 30;
Symbol 234 MovieClip Frame 13
_root.magic2._alpha = 20;
Symbol 234 MovieClip Frame 14
_root.magic2._alpha = 10;
Symbol 234 MovieClip Frame 15
_root.magic2._visible = false;
_root.magic2.stop();
Symbol 247 MovieClip Frame 16
_root.magic5._alpha = 90;
Symbol 247 MovieClip Frame 18
_root.magic5._alpha = 70;
Symbol 247 MovieClip Frame 20
_root.magic5._alpha = 50;
Symbol 247 MovieClip Frame 22
_root.magic5._alpha = 30;
Symbol 247 MovieClip Frame 24
_root.magic5._alpha = 20;
Symbol 247 MovieClip Frame 26
_root.magic5._alpha = 10;
Symbol 247 MovieClip Frame 29
_root.magic5._visible = false;
_root.magic5.stop();
Symbol 259 MovieClip Frame 1
_root.magic4._alpha = 100;
Symbol 259 MovieClip Frame 11
_root.magic4._alpha = 80;
Symbol 259 MovieClip Frame 12
_root.magic4._alpha = 50;
Symbol 259 MovieClip Frame 13
_root.magic4._alpha = 10;
Symbol 259 MovieClip Frame 14
_root.magic4.stop();
_root.magic4._visible = false;
Instance of Symbol 277 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = 60;
}
Symbol 283 MovieClip Frame 38
_root.ready_logo._alpha = 80;
Symbol 283 MovieClip Frame 39
_root.ready_logo._alpha = 50;
Symbol 283 MovieClip Frame 40
_root.ready_logo._alpha = 20;
Symbol 283 MovieClip Frame 41
_root.player.fight_flg = true;
_root.ready_logo._visible = false;
Symbol 285 MovieClip Frame 1
_root.win_logo._alpha = 100;
Symbol 285 MovieClip Frame 16
_root.win_logo._alpha = 80;
Symbol 285 MovieClip Frame 17
_root.win_logo._alpha = 50;
Symbol 285 MovieClip Frame 18
_root.win_logo._alpha = 30;
Symbol 285 MovieClip Frame 19
_root.win_logo._alpha = 10;
Symbol 285 MovieClip Frame 20
_root.win_logo._visible = false;
if (_root.free_flg == false) {
if (_root._currentframe == 5) {
_root.gotoAndPlay(6);
}
if (_root._currentframe == 9) {
_root.gotoAndPlay(10);
}
if (_root._currentframe == 13) {
_root.gotoAndPlay(14);
}
if (_root._currentframe == 17) {
_root.gotoAndPlay(18);
}
if (_root._currentframe == 21) {
_root.gotoAndPlay(23);
}
} else {
_root.gotoAndPlay(26);
}
Symbol 287 MovieClip Frame 1
_root.lose_logo._alpha = 100;
stop();
Symbol 287 MovieClip Frame 12
_root.lose_logo._alpha = 80;
Symbol 287 MovieClip Frame 14
_root.lose_logo._alpha = 50;
Symbol 287 MovieClip Frame 16
_root.lose_logo._alpha = 30;
Symbol 287 MovieClip Frame 18
_root.lose_logo._alpha = 10;
Symbol 287 MovieClip Frame 20
_root.lose_logo._visible = false;
stop();
if (0 < _root.credit) {
_root.G_O_logo.gotoAndPlay(1);
_root.G_O_logo._visible = true;
} else if (0 >= _root.credit) {
_root.gotoAndPlay(25);
}
Symbol 290 MovieClip Frame 1
_root.G_O_logo._alpha = 10;
Symbol 290 MovieClip Frame 2
_root.G_O_logo._alpha = 20;
Symbol 290 MovieClip Frame 4
_root.G_O_logo._alpha = 50;
Symbol 290 MovieClip Frame 6
_root.G_O_logo._alpha = 70;
Symbol 290 MovieClip Frame 8
_root.G_O_logo._alpha = 90;
Symbol 290 MovieClip Frame 10
_root.G_O_logo._alpha = 100;
Symbol 290 MovieClip Frame 12
_root.G_O_logo._alpha = 100;
stop();
_root.G_O_yesno._visible = true;
_root.G_O_yesno.gotoAndPlay(1);
Symbol 290 MovieClip Frame 14
_root.G_O_logo._alpha = 20;
Symbol 295 Button
on (release) {
_root.score = 0;
_root.credit = _root.credit - 1;
if (5 >= _root._currentframe) {
_root.gotoAndPlay(4);
}
if (9 >= _root._currentframe) {
_root.gotoAndPlay(8);
}
if (13 >= _root._currentframe) {
_root.gotoAndPlay(12);
}
if (17 >= _root._currentframe) {
_root.gotoAndPlay(16);
}
if (21 >= _root._currentframe) {
_root.gotoAndPlay(20);
}
}
Symbol 299 Button
on (release) {
_root.gotoAndPlay(25);
}
Symbol 300 MovieClip Frame 1
_root.G_O_yesno._alpha = 10;
Symbol 300 MovieClip Frame 3
_root.G_O_yesno._alpha = 20;
Symbol 300 MovieClip Frame 5
_root.G_O_yesno._alpha = 40;
Symbol 300 MovieClip Frame 7
_root.G_O_yesno._alpha = 60;
Symbol 300 MovieClip Frame 9
_root.G_O_yesno._alpha = 80;
Symbol 300 MovieClip Frame 10
_root.G_O_yesno._alpha = 100;
stop();
Symbol 312 MovieClip Frame 3
stop();
Symbol 326 MovieClip Frame 41
stop();
Symbol 326 MovieClip Frame 61
stop();
Symbol 326 MovieClip Frame 81
stop();
Symbol 326 MovieClip Frame 101
stop();
Symbol 326 MovieClip Frame 125
stop();
Instance of Symbol 330 MovieClip "g_shadow_main" in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
_root.enemy.g_shadow.g_shadow_main._alpha = 50;
}
Instance of Symbol 330 MovieClip "g_shadow_main" in Symbol 339 MovieClip Frame 1
onClipEvent (load) {
_root.enemy.g_shadow.g_shadow_main._alpha = 50;
}
Symbol 363 MovieClip Frame 2
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 363 MovieClip Frame 9
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 363 MovieClip Frame 15
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
Symbol 363 MovieClip Frame 18
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 363 MovieClip Frame 32
_root.enemy.enemy_act2 = Math.floor(Math.random() * 10);
quake_se = new Sound(_root);
quake_se.attachSound("quake_se");
quake_se.start();
Symbol 363 MovieClip Frame 34
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
Symbol 363 MovieClip Frame 37
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 363 MovieClip Frame 43
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
Symbol 363 MovieClip Frame 46
_root.enemy.enemy_act2 = Math.floor(Math.random() * 10);
Symbol 363 MovieClip Frame 48
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
Symbol 363 MovieClip Frame 51
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 363 MovieClip Frame 56
quake_se = new Sound(_root);
quake_se.attachSound("quake_se");
quake_se.start();
Symbol 363 MovieClip Frame 59
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
Symbol 363 MovieClip Frame 62
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 363 MovieClip Frame 69
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
Symbol 363 MovieClip Frame 76
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
Symbol 363 MovieClip Frame 83
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
Symbol 363 MovieClip Frame 85
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 363 MovieClip Frame 86
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 363 MovieClip Frame 91
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 363 MovieClip Frame 96
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 363 MovieClip Frame 101
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 363 MovieClip Frame 102
e_death_se = new Sound(_root);
e_death_se.attachSound("e_death_se");
e_death_se.start();
_root.score = _root.score + (2000 + (_root.player.p_hp * 100));
Symbol 363 MovieClip Frame 104
_root.enemy._alpha = 80;
Symbol 363 MovieClip Frame 106
_root.enemy._alpha = 60;
Symbol 363 MovieClip Frame 108
_root.enemy._alpha = 40;
Symbol 363 MovieClip Frame 110
_root.enemy._alpha = 20;
Symbol 363 MovieClip Frame 112
_root.enemy.stop();
_root.enemy._visible = false;
Symbol 365 MovieClip Frame 15
_root.quake_control.stop(15);
Symbol 366 MovieClip Frame 1
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Instance of Symbol 130 MovieClip "p_sword" in Symbol 366 MovieClip Frame 1
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 3
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 366 MovieClip Frame 5
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 5
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 7
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 366 MovieClip Frame 9
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 366 MovieClip Frame 10
_root.player.srash_flg = 0;
if ((((!Key.isDown(Key.LEFT)) && (!Key.isDown(Key.LEFT))) && (_root.player._x == 150)) && (_root.p_sp.sp_flg == true)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 366 MovieClip Frame 12
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 12
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 18
_root.player.srash_flg = 0;
if ((230 < _root.player._x) && (Key.isDown(Key.RIGHT))) {
gotoAndPlay (12);
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 366 MovieClip Frame 20
_root.p_sp.sp = _root.p_sp.sp - 1;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 20
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 22
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 22
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 23
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 366 MovieClip Frame 24
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 366 MovieClip Frame 25
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 366 MovieClip Frame 26
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 366 MovieClip Frame 27
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 366 MovieClip Frame 28
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 366 MovieClip Frame 29
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (40);
} else if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
Symbol 366 MovieClip Frame 31
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 31
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 33
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 33
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 35
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 35
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 38
_root.player.dmg_flg = false;
if (200 < _root.player._x) {
gotoAndPlay (12);
} else if (_root.player._x == 150) {
if (0 < _root.player.p_hp) {
if (10 < _root.player.p_hp) {
gotoAndPlay (1);
}
if (10 >= _root.player.p_hp) {
gotoAndPlay (22);
}
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 40
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 45
stop();
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 47
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 52
stop();
Symbol 366 MovieClip Frame 54
gotoAndPlay (90);
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 54
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 57
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 61
_root.player.srash._alpha = 80;
Symbol 366 MovieClip Frame 62
_root.player.srash._alpha = 50;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 64
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 66
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 366 MovieClip Frame 67
_root.player.srash_sub._alpha = 40;
Symbol 366 MovieClip Frame 68
_root.player.srash_sub._alpha = 10;
Symbol 366 MovieClip Frame 69
if (1 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (1 < _root.player.srash_flg) {
gotoAndPlay (70);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 70
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 73
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 366 MovieClip Frame 74
_root.player.srash_sub._alpha = 50;
Symbol 366 MovieClip Frame 75
_root.player.srash_sub._alpha = 20;
Symbol 366 MovieClip Frame 77
if (2 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (2 < _root.player.srash_flg) {
gotoAndPlay (78);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 78
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 84
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash_sub._alpha = 80;
Symbol 366 MovieClip Frame 85
_root.player.srash2._alpha = 80;
Symbol 366 MovieClip Frame 86
_root.player.srash._alpha = 50;
Symbol 366 MovieClip Frame 87
_root.player.srash_sub._alpha = 20;
Symbol 366 MovieClip Frame 89
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 366 MovieClip Frame 90
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 366 MovieClip Frame 91
if (_root.p_pp.pp < 20) {
if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
}
if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
} else if (_root.p_pp.pp >= 20) {
gotoAndPlay (92);
}
Symbol 366 MovieClip Frame 93
if (_root.p_pp.pp >= 20) {
if (_root.elements.p_el == 1) {
_root.magic1._visible = true;
_root.magic1.gotoAndPlay(1);
_root.magic1._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.magic1._y = _root.enemy._y - 10;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 2) {
_root.magic2._visible = true;
_root.magic2._alpha = 100;
_root.magic2.gotoAndPlay(1);
_root.magic2._x = 400 + Math.floor(Math.random() * 30);
_root.magic2._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 3) {
_root.magic3._visible = true;
_root.magic3.gotoAndPlay(1);
_root.magic3._x = _root.player._x + 50;
_root.magic3._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 4) {
_root.magic4._visible = true;
_root.magic4._alpha = 100;
_root.magic4.gotoAndPlay(1);
_root.magic4._x = _root.player._x + 50;
_root.magic4._y = 230;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 30;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 5) {
_root.magic5._visible = true;
_root.magic5._alpha = 100;
_root.magic5.gotoAndPlay(1);
_root.magic5._x = _root.player._x + 150;
_root.magic5._y = 290;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
}
Symbol 366 MovieClip Frame 98
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 371 MovieClip Frame 1
_root.G_O_yesno._alpha = 10;
Symbol 371 MovieClip Frame 3
_root.G_O_yesno._alpha = 20;
Symbol 371 MovieClip Frame 5
_root.G_O_yesno._alpha = 40;
Symbol 371 MovieClip Frame 7
_root.G_O_yesno._alpha = 60;
Symbol 371 MovieClip Frame 9
_root.G_O_yesno._alpha = 80;
Symbol 371 MovieClip Frame 10
_root.G_O_yesno._alpha = 100;
stop();
Symbol 391 MovieClip Frame 41
stop();
Symbol 391 MovieClip Frame 61
stop();
Symbol 391 MovieClip Frame 81
stop();
Symbol 391 MovieClip Frame 101
stop();
Symbol 391 MovieClip Frame 121
stop();
Symbol 391 MovieClip Frame 141
stop();
Symbol 391 MovieClip Frame 163
stop();
Symbol 405 MovieClip Frame 4
_root.enemy.enemy_act = 0;
Symbol 405 MovieClip Frame 7
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 405 MovieClip Frame 9
_root.enemy.enemy_act = 0;
Symbol 405 MovieClip Frame 15
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
Symbol 405 MovieClip Frame 18
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 405 MovieClip Frame 21
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
_root.enemy.enemy_act = 0;
Symbol 405 MovieClip Frame 23
_root.enemy.enemy_act = 0;
Symbol 405 MovieClip Frame 26
_root.enemy.enemy_act2 = Math.floor(Math.random() * 10);
Symbol 405 MovieClip Frame 29
_root.enemy.enemy_act2 = 0;
Symbol 405 MovieClip Frame 33
if (0 < _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(1);
}
_root.enemy.enemy_act = 0;
Symbol 405 MovieClip Frame 35
_root.qeake_control.gotoAndPlay(1);
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 405 MovieClip Frame 39
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 405 MovieClip Frame 43
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 405 MovieClip Frame 47
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 405 MovieClip Frame 51
e_death_se = new Sound(_root);
e_death_se.attachSound("e_death_se");
e_death_se.start();
_root.score = _root.score + (3000 + (_root.player.p_hp * 100));
Symbol 405 MovieClip Frame 66
_root.enemy.stop();
Symbol 406 MovieClip Frame 15
_root.quake_control.stop(15);
Symbol 407 MovieClip Frame 1
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Instance of Symbol 130 MovieClip "p_sword" in Symbol 407 MovieClip Frame 1
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 3
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 407 MovieClip Frame 5
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 5
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 7
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 407 MovieClip Frame 9
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 407 MovieClip Frame 10
_root.player.srash_flg = 0;
if ((((!Key.isDown(Key.LEFT)) && (!Key.isDown(Key.LEFT))) && (_root.player._x == 150)) && (_root.p_sp.sp_flg == true)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 407 MovieClip Frame 12
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 12
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 18
_root.player.srash_flg = 0;
if ((230 < _root.player._x) && (Key.isDown(Key.RIGHT))) {
gotoAndPlay (12);
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 407 MovieClip Frame 20
_root.p_sp.sp = _root.p_sp.sp - 1;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 20
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 22
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 22
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 23
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 407 MovieClip Frame 24
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 407 MovieClip Frame 25
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 407 MovieClip Frame 26
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 407 MovieClip Frame 27
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 407 MovieClip Frame 28
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 407 MovieClip Frame 29
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (40);
} else if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
Symbol 407 MovieClip Frame 31
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 31
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 33
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 33
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 35
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 35
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 38
_root.player.dmg_flg = false;
if (200 < _root.player._x) {
gotoAndPlay (12);
} else if (_root.player._x == 150) {
if (0 < _root.player.p_hp) {
if (10 < _root.player.p_hp) {
gotoAndPlay (1);
}
if (10 >= _root.player.p_hp) {
gotoAndPlay (22);
}
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 40
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 45
stop();
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 47
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 52
stop();
Symbol 407 MovieClip Frame 54
gotoAndPlay (90);
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 54
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 57
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 61
_root.player.srash._alpha = 80;
Symbol 407 MovieClip Frame 62
_root.player.srash._alpha = 50;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 64
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 66
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 407 MovieClip Frame 67
_root.player.srash_sub._alpha = 40;
Symbol 407 MovieClip Frame 68
_root.player.srash_sub._alpha = 10;
Symbol 407 MovieClip Frame 69
if (1 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (1 < _root.player.srash_flg) {
gotoAndPlay (70);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 70
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 73
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 407 MovieClip Frame 74
_root.player.srash_sub._alpha = 50;
Symbol 407 MovieClip Frame 75
_root.player.srash_sub._alpha = 20;
Symbol 407 MovieClip Frame 77
if (2 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (2 < _root.player.srash_flg) {
gotoAndPlay (78);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 78
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 84
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash_sub._alpha = 80;
Symbol 407 MovieClip Frame 85
_root.player.srash2._alpha = 80;
Symbol 407 MovieClip Frame 86
_root.player.srash._alpha = 50;
Symbol 407 MovieClip Frame 87
_root.player.srash_sub._alpha = 20;
Symbol 407 MovieClip Frame 89
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 407 MovieClip Frame 90
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 407 MovieClip Frame 91
if (_root.p_pp.pp < 20) {
if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
}
if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
} else if (_root.p_pp.pp >= 20) {
gotoAndPlay (92);
}
Symbol 407 MovieClip Frame 93
if (_root.p_pp.pp >= 20) {
if (_root.elements.p_el == 1) {
_root.magic1._visible = true;
_root.magic1.gotoAndPlay(1);
_root.magic1._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.magic1._y = _root.enemy._y - 10;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 2) {
_root.magic2._visible = true;
_root.magic2._alpha = 100;
_root.magic2.gotoAndPlay(1);
_root.magic2._x = 400 + Math.floor(Math.random() * 30);
_root.magic2._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 3) {
_root.magic3._visible = true;
_root.magic3.gotoAndPlay(1);
_root.magic3._x = _root.player._x + 50;
_root.magic3._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 4) {
_root.magic4._visible = true;
_root.magic4._alpha = 100;
_root.magic4.gotoAndPlay(1);
_root.magic4._x = _root.player._x + 50;
_root.magic4._y = 230;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 30;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 5) {
_root.magic5._visible = true;
_root.magic5._alpha = 100;
_root.magic5.gotoAndPlay(1);
_root.magic5._x = _root.player._x + 150;
_root.magic5._y = 290;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
}
Symbol 407 MovieClip Frame 98
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 417 MovieClip Frame 4
dash_se = new Sound(_root);
dash_se.attachSound("dash_se");
dash_se.start();
Symbol 417 MovieClip Frame 11
stop();
_root.needle._visible = false;
_root.needle2._visible = true;
_root.needle2.gotoAndPlay(1);
Symbol 421 MovieClip Frame 4
dash_se = new Sound(_root);
dash_se.attachSound("dash_se");
dash_se.start();
Symbol 421 MovieClip Frame 11
stop();
_root.needle2._visible = false;
_root.needle3._visible = true;
_root.needle3.gotoAndPlay(1);
Symbol 426 MovieClip Frame 4
dash_se = new Sound(_root);
dash_se.attachSound("dash_se");
dash_se.start();
Symbol 426 MovieClip Frame 11
stop();
_root.needle3._visible = false;
Symbol 434 MovieClip Frame 2
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 434 MovieClip Frame 23
stop();
_root.enemy.enemy_act2 = 0;
_root.gr_nedl._visible = false;
Symbol 442 MovieClip Frame 3
stop();
Symbol 473 MovieClip Frame 10
stop();
Symbol 473 MovieClip Frame 30
stop();
Symbol 473 MovieClip Frame 50
stop();
Symbol 473 MovieClip Frame 110
stop();
Symbol 473 MovieClip Frame 131
stop();
Symbol 473 MovieClip Frame 151
stop();
Symbol 473 MovieClip Frame 171
stop();
Symbol 473 MovieClip Frame 191
stop();
Symbol 473 MovieClip Frame 211
stop();
Symbol 473 MovieClip Frame 231
stop();
Symbol 473 MovieClip Frame 251
stop();
Symbol 473 MovieClip Frame 271
stop();
Symbol 473 MovieClip Frame 290
stop();
Symbol 473 MovieClip Frame 310
stop();
Symbol 473 MovieClip Frame 330
stop();
Symbol 473 MovieClip Frame 350
stop();
Symbol 473 MovieClip Frame 370
stop();
Symbol 473 MovieClip Frame 390
stop();
Symbol 473 MovieClip Frame 410
stop();
Symbol 473 MovieClip Frame 435
stop();
Instance of Symbol 478 MovieClip "d_shadow_main" in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
_root.enemy.d_shadow.d_shadow_main._alpha = 50;
}
Instance of Symbol 478 MovieClip "d_shadow_main" in Symbol 499 MovieClip Frame 1
onClipEvent (load) {
_root.enemy.d_shadow.d_shadow_main._alpha = 50;
}
Instance of Symbol 478 MovieClip "d_shadow_main" in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
_root.enemy.d_shadow.d_shadow_main._alpha = 50;
}
Symbol 555 MovieClip Frame 1
_root.enemy.enemy_act = 0;
Symbol 555 MovieClip Frame 3
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 555 MovieClip Frame 7
_root.enemy.enemy_act = 0;
Symbol 555 MovieClip Frame 12
if (0 < _root.enemy.e_hp) {
if (_root.enemy.e_hp >= 20) {
_root.enemy.gotoAndPlay(1);
} else if (_root.enemy.e_hp < 20) {
_root.enemy.gotoAndPlay(14);
}
} else if (0 >= _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(92);
}
Symbol 555 MovieClip Frame 15
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 555 MovieClip Frame 19
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 555 MovieClip Frame 23
if (0 < _root.enemy.e_hp) {
if (_root.enemy.e_hp >= 20) {
_root.enemy.gotoAndPlay(1);
} else if (_root.enemy.e_hp < 20) {
_root.enemy.gotoAndPlay(14);
}
} else if (0 >= _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(92);
}
Symbol 555 MovieClip Frame 25
_root.enemy.enemy_act = 0;
Symbol 555 MovieClip Frame 36
d_fire_se = new Sound(_root);
d_fire_se.attachSound("d_fire_se");
d_fire_se.start();
Symbol 555 MovieClip Frame 42
if (0 < _root.enemy.e_hp) {
if (_root.enemy.e_hp >= 20) {
_root.enemy.gotoAndPlay(1);
} else if (_root.enemy.e_hp < 20) {
_root.enemy.gotoAndPlay(14);
}
} else if (0 >= _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(92);
}
Symbol 555 MovieClip Frame 43
_root.enemy.enemy_act = 0;
Symbol 555 MovieClip Frame 53
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
Symbol 555 MovieClip Frame 55
_root.enemy.d_slash._alpha = 60;
Symbol 555 MovieClip Frame 56
_root.enemy.d_slash._alpha = 20;
Symbol 555 MovieClip Frame 58
if (0 < _root.enemy.e_hp) {
if (_root.enemy.e_hp >= 20) {
_root.enemy.gotoAndPlay(1);
} else if (_root.enemy.e_hp < 20) {
_root.enemy.gotoAndPlay(14);
}
} else if (0 >= _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(92);
}
Symbol 555 MovieClip Frame 60
_root.enemy.enemy_act = 0;
Symbol 555 MovieClip Frame 65
d_bomshot_se = new Sound(_root);
d_bomshot_se.attachSound("d_bomshot_se");
d_bomshot_se.start();
Symbol 555 MovieClip Frame 71
if (0 < _root.enemy.e_hp) {
if (_root.enemy.e_hp >= 20) {
_root.enemy.gotoAndPlay(1);
} else if (_root.enemy.e_hp < 20) {
_root.enemy.gotoAndPlay(14);
}
} else if (0 >= _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(92);
}
_root.d_bom.d_bom_p = Math.floor(Math.random() * 10) % 4;
_root.d_bom.d_bom_flg = true;
_root.d_bom._visible = true;
_root.d_bom.gotoAndPlay(1);
Symbol 555 MovieClip Frame 73
Symbol 555 MovieClip Frame 77
if (0 < _root.enemy.e_hp) {
if (_root.enemy.e_hp >= 20) {
_root.enemy.gotoAndPlay(1);
} else if (_root.enemy.e_hp < 20) {
_root.enemy.gotoAndPlay(14);
}
} else if (0 >= _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(92);
}
Symbol 555 MovieClip Frame 84
d_wing_se = new Sound(_root);
d_wing_se.attachSound("d_wing_se");
d_wing_se.start();
Symbol 555 MovieClip Frame 90
d_rand_se = new Sound(_root);
d_rand_se.attachSound("d_rand_se");
d_rand_se.start();
_root.enemy.enemy_act = 0;
_root.enemy.move_flg = false;
if (0 < _root.enemy.e_hp) {
if (_root.enemy.e_hp >= 20) {
_root.enemy.gotoAndPlay(1);
} else if (_root.enemy.e_hp < 20) {
_root.enemy.gotoAndPlay(14);
}
} else if (0 >= _root.enemy.e_hp) {
_root.enemy.gotoAndPlay(92);
}
if (510 < _root.enemy._x) {
_root.enemy._x = 550;
}
if (_root.enemy._x < 380) {
_root.enemy._x = 340;
}
Symbol 555 MovieClip Frame 92
_root.enemy.enemy_act = 0;
Symbol 555 MovieClip Frame 100
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 555 MovieClip Frame 104
_root.enemy._alpha = 80;
e_death_se = new Sound(_root);
e_death_se.attachSound("e_death_se");
e_death_se.start();
_root.score = _root.score + (4000 + (_root.player.p_hp * 100));
Symbol 555 MovieClip Frame 105
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 555 MovieClip Frame 107
_root.enemy._alpha = 60;
Symbol 555 MovieClip Frame 108
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 555 MovieClip Frame 110
_root.enemy._alpha = 40;
Symbol 555 MovieClip Frame 111
magic2_se = new Sound(_root);
magic2_se.attachSound("magic2_se");
magic2_se.start();
Symbol 555 MovieClip Frame 113
_root.enemy._alpha = 20;
_root.score = _root.score + (10000 + (_root.player.p_hp * 100));
Symbol 555 MovieClip Frame 115
_root.enemy.stop();
_root.enemy._visible = false;
Symbol 556 MovieClip Frame 1
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Instance of Symbol 130 MovieClip "p_sword" in Symbol 556 MovieClip Frame 1
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 3
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 556 MovieClip Frame 5
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 5
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 7
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 556 MovieClip Frame 9
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 556 MovieClip Frame 10
_root.player.srash_flg = 0;
if ((((!Key.isDown(Key.LEFT)) && (!Key.isDown(Key.LEFT))) && (_root.player._x == 150)) && (_root.p_sp.sp_flg == true)) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if ((_root.player.p_hp < 10) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 556 MovieClip Frame 12
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 12
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 18
_root.player.srash_flg = 0;
if ((230 < _root.player._x) && (Key.isDown(Key.RIGHT))) {
gotoAndPlay (12);
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 556 MovieClip Frame 20
_root.p_sp.sp = _root.p_sp.sp - 1;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 20
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 22
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 22
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 23
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 556 MovieClip Frame 24
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 556 MovieClip Frame 25
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 556 MovieClip Frame 26
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 556 MovieClip Frame 27
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 556 MovieClip Frame 28
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 556 MovieClip Frame 29
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (40);
} else if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
Symbol 556 MovieClip Frame 31
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 31
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 33
_root.player.srash_flg = 0;
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 33
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 35
_root.player.srash_flg = 0;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 35
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 38
_root.player.dmg_flg = false;
if (200 < _root.player._x) {
gotoAndPlay (12);
} else if (_root.player._x == 150) {
if (0 < _root.player.p_hp) {
if (10 < _root.player.p_hp) {
gotoAndPlay (1);
}
if (10 >= _root.player.p_hp) {
gotoAndPlay (22);
}
}
}
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 40
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 45
stop();
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 47
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 52
stop();
Symbol 556 MovieClip Frame 54
gotoAndPlay (90);
if (0 >= _root.player.p_hp) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 54
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 57
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 61
_root.player.srash._alpha = 80;
Symbol 556 MovieClip Frame 62
_root.player.srash._alpha = 50;
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 64
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 66
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 556 MovieClip Frame 67
_root.player.srash_sub._alpha = 40;
Symbol 556 MovieClip Frame 68
_root.player.srash_sub._alpha = 10;
Symbol 556 MovieClip Frame 69
if (1 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (1 < _root.player.srash_flg) {
gotoAndPlay (70);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 70
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 73
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash._alpha = 80;
Symbol 556 MovieClip Frame 74
_root.player.srash_sub._alpha = 50;
Symbol 556 MovieClip Frame 75
_root.player.srash_sub._alpha = 20;
Symbol 556 MovieClip Frame 77
if (2 >= _root.player.srash_flg) {
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
} else if (2 < _root.player.srash_flg) {
gotoAndPlay (78);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 78
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 84
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
_root.player.srash_sub._alpha = 80;
Symbol 556 MovieClip Frame 85
_root.player.srash2._alpha = 80;
Symbol 556 MovieClip Frame 86
_root.player.srash._alpha = 50;
Symbol 556 MovieClip Frame 87
_root.player.srash_sub._alpha = 20;
Symbol 556 MovieClip Frame 89
if (_root.p_sp.sp_flg == true) {
gotoAndPlay (12);
} else if (_root.p_sp.sp_flg == false) {
gotoAndPlay (1);
}
_root.player.srash_flg = 0;
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Instance of Symbol 144 MovieClip "p_sword" in Symbol 556 MovieClip Frame 90
onClipEvent (load) {
if (15 >= _root._currentframe) {
this.gotoAndStop(1);
}
if (15 < _root._currentframe) {
this.gotoAndStop(3);
}
}
Symbol 556 MovieClip Frame 91
if (_root.p_pp.pp < 20) {
if (0 < _root.player.p_hp) {
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
}
if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
}
} else if (_root.p_pp.pp >= 20) {
gotoAndPlay (92);
}
Symbol 556 MovieClip Frame 93
if (_root.p_pp.pp >= 20) {
if (_root.elements.p_el == 1) {
_root.magic1._visible = true;
_root.magic1.gotoAndPlay(1);
_root.magic1._x = _root.enemy._x + Math.floor(Math.random() * 30);
_root.magic1._y = _root.enemy._y - 10;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 2) {
_root.magic2._visible = true;
_root.magic2._alpha = 100;
_root.magic2.gotoAndPlay(1);
_root.magic2._x = 400 + Math.floor(Math.random() * 30);
_root.magic2._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 3) {
_root.magic3._visible = true;
_root.magic3.gotoAndPlay(1);
_root.magic3._x = _root.player._x + 50;
_root.magic3._y = 280;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 4) {
_root.magic4._visible = true;
_root.magic4._alpha = 100;
_root.magic4.gotoAndPlay(1);
_root.magic4._x = _root.player._x + 50;
_root.magic4._y = 230;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 30;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
if (_root.elements.p_el == 5) {
_root.magic5._visible = true;
_root.magic5._alpha = 100;
_root.magic5.gotoAndPlay(1);
_root.magic5._x = _root.player._x + 150;
_root.magic5._y = 290;
_root.p_pp.pp = 0;
_root.p_sp.sp = 0;
_root.pentagram._visible = true;
_root.pentagram.gotoAndPlay(1);
_root.pentagram._x = _root.player._x + 60;
_root.pentagram._y = _root.player._y - 50;
_root.pentagram._xscale = 70;
_root.pentagram._yscale = 70;
_root.magic_shot._visible = true;
_root.magic_shot.gotoAndPlay(1);
_root.magic_shot._x = _root.player._x + 60;
_root.magic_shot._y = _root.player._y - 50;
}
}
Symbol 556 MovieClip Frame 98
if (_root.player.p_hp >= 10) {
gotoAndPlay (1);
} else if (_root.player.p_hp < 10) {
gotoAndPlay (22);
}
if ((10 >= _root.player.p_hp) && (0 < root.player.p_hp)) {
gotoAndPlay (22);
}
if ((_root.enemy._visible == false) && (0 >= _root.enemy.e_hp)) {
this.gotoAndPlay(47);
}
Symbol 566 MovieClip Frame 5
if (_root.d_bom._y < 250) {
gotoAndPlay (1);
} else if (this._y >= 250) {
gotoAndPlay (6);
}
Symbol 566 MovieClip Frame 10
_root.d_bom.d_bom_flg = false;
_root.d_bom._visible = false;
gotoAndStop (1);
this._y = -50;
Symbol 580 MovieClip Frame 3
stop();
Symbol 602 MovieClip Frame 11
stop();
Symbol 602 MovieClip Frame 31
stop();
Symbol 602 MovieClip Frame 51
stop();
Symbol 602 MovieClip Frame 71
stop();
Symbol 602 MovieClip Frame 91
stop();
Symbol 602 MovieClip Frame 141
stop();
Symbol 602 MovieClip Frame 161
stop();
Symbol 602 MovieClip Frame 181
stop();
Symbol 602 MovieClip Frame 201
stop();
Symbol 602 MovieClip Frame 221
stop();
Symbol 602 MovieClip Frame 241
stop();
Symbol 602 MovieClip Frame 250
stop();
Symbol 678 MovieClip Frame 1
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 3
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 678 MovieClip Frame 6
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 678 MovieClip Frame 9
_root.enemy.enemy_act = Math.floor(Math.random() * 10);
Symbol 678 MovieClip Frame 12
gotoAndPlay (1);
Symbol 678 MovieClip Frame 14
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 19
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
Symbol 678 MovieClip Frame 21
_root.enemy.enemy_act2 = Math.floor(Math.random() * 10);
if ((_root.enemy.enemy_act2 < 5) && (0 < _root.enemy.enemy_act2)) {
gotoAndPlay (26);
}
Symbol 678 MovieClip Frame 24
gotoAndPlay (1);
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 26
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 29
slash_se = new Sound(_root);
slash_se.attachSound("slash_se");
slash_se.start();
Symbol 678 MovieClip Frame 31
_root.enemy.enemy_act2 = Math.floor(Math.random() * 10);
if ((_root.enemy.enemy_act2 < 5) && (0 < _root.enemy.enemy_act2)) {
gotoAndPlay (35);
}
Symbol 678 MovieClip Frame 33
gotoAndPlay (1);
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 35
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 45
gotoAndPlay (1);
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 51
gotoAndPlay (1);
Symbol 678 MovieClip Frame 53
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 75
gotoAndPlay (1);
Symbol 678 MovieClip Frame 77
_root.l_e_shield._visible = true;
_root.l_e_shield.gotoAndPlay(1);
Symbol 678 MovieClip Frame 78
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 80
if (_root.l_e_shield._visible == true) {
stop();
} else if (_root.l_e_shield._visible == false) {
gotoAndPlay (1);
}
_root.enemy.enemy_act = 0;
_root.enemy.enemy_act2 = 0;
Symbol 678 MovieClip Frame 91
e_death_se = new Sound(_root);
e_death_se.attachSound("e_death_se");
e_death_se.start();
_root.score = _root.score + (4000 + (_root.player.p_hp * 100));
Symbol 678 MovieClip Frame 114
_root.enemy.stop();
_root.enemy._visible = false;
Symbol 739 MovieClip Frame 1
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 1;
}
Symbol 739 MovieClip Frame 3
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 739 MovieClip Frame 5
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 739 MovieClip Frame 7
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 739 MovieClip Frame 9
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 739 MovieClip Frame 11
_root.player.srash_flg = 0;
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 739 MovieClip Frame 13
_root.player.srash_flg = 0;
gotoAndPlay (1);
Symbol 739 MovieClip Frame 15
_root.player.srash_flg = 0;
Symbol 739 MovieClip Frame 17
_root.player.srash_flg = 0;
Symbol 739 MovieClip Frame 20
_root.p_sp.sp = _root.p_sp.sp - 1;
_root.player.srash_flg = 0;
Symbol 739 MovieClip Frame 27
if (1 < _root.player.srash_flg) {
gotoAndPlay (31);
}
Symbol 739 MovieClip Frame 29
_root.player.gotoAndPlay(1);
_root.player.srash_flg = 0;
Symbol 739 MovieClip Frame 36
if (2 < _root.player.srash_flg) {
gotoAndPlay (42);
}
Symbol 739 MovieClip Frame 40
_root.player.gotoAndPlay(1);
_root.player.srash_flg = 0;
Symbol 739 MovieClip Frame 55
_root.player.gotoAndPlay(1);
_root.player.srash_flg = 0;
Symbol 739 MovieClip Frame 57
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 739 MovieClip Frame 58
if (_root.p_sp.sp < 30) {
_root.p_sp.sp = _root.p_sp.sp + 2;
}
Symbol 739 MovieClip Frame 59
if (_root.p_pp.pp < 20) {
gotoAndPlay (1);
} else if (_root.p_pp.pp >= 20) {
gotoAndPlay (60);
}
_root.p_pp.pp = 0;
Symbol 739 MovieClip Frame 62
_root.p_sp.sp = _root.p_sp.sp - 10;
Symbol 739 MovieClip Frame 66
_root.p_sp.sp = _root.p_sp.sp - 10;
Symbol 739 MovieClip Frame 71
gotoAndPlay (1);
_root.p_sp.sp = -1;
Symbol 739 MovieClip Frame 88
stop();
Symbol 739 MovieClip Frame 103
_root.player._alpha = 90;
death_se = new Sound(_root);
death_se.attachSound("e_death_se");
death_se.start();
Symbol 739 MovieClip Frame 110
_root.player._alpha = 70;
Symbol 739 MovieClip Frame 114
_root.player._alpha = 60;
Symbol 739 MovieClip Frame 118
_root.player._alpha = 40;
Symbol 739 MovieClip Frame 122
_root.player._alpha = 20;
Symbol 739 MovieClip Frame 125
_root.player._alpha = 10;
Symbol 739 MovieClip Frame 126
stop();
Symbol 750 MovieClip Frame 40
_root.l_e_shield._visible = false;
Symbol 754 MovieClip Frame 6
_visible = false;
stop();
Symbol 767 MovieClip Frame 3
stop();
Symbol 790 MovieClip Frame 412
stop();
_root.gotoAndPlay(26);
Symbol 792 MovieClip Frame 20
op_music = new Sound(_root);
op_music.attachSound("op_music");
op_music.start();
_root.points.gotoAndPlay(1);
stop();
Symbol 802 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 803 MovieClip Frame 15
_root.to_title_button.stop();
Symbol 804 MovieClip Frame 23
stop();
_alpha = 100;
_root.G_O_ef.gotoAndPlay(1);
Symbol 806 MovieClip Frame 20
_root.to_title_button.gotoAndPlay(1);
stop();
Symbol 813 MovieClip Frame 21
stop();
_root.T_Y_P_logo.gotoAndPlay(1);
Symbol 817 MovieClip Frame 15
stop();
_root.points.gotoAndPlay(1);
Symbol 822 Button
on (release) {
_root.gotoAndPlay(4);
_root.free_flg = true;
_root.credit = 0;
}
Symbol 826 Button
on (release) {
_root.gotoAndPlay(8);
_root.free_flg = true;
_root.credit = 0;
}
Symbol 830 Button
on (release) {
_root.gotoAndPlay(12);
_root.free_flg = true;
_root.credit = 0;
}
Symbol 834 Button
on (release) {
_root.gotoAndPlay(16);
_root.free_flg = true;
_root.credit = 0;
}
Symbol 838 Button
on (release) {
_root.gotoAndPlay(20);
_root.free_flg = true;
_root.credit = 0;
}
Symbol 840 MovieClip Frame 10
_root.to_title_button.gotoAndPlay(1);
_root.ene_select_logo.stop();
Symbol 846 MovieClip Frame 19
_root.tuto_wards.stop();
_root.to_title_button.gotoAndPlay(1);