Frame 1
tmp = false;
this.onEnterFrame = function () {
if (int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) == 100) {
this.onEnterFrame = function () {
gear._rotation = gear._rotation + 0.2;
};
if (tmp) {
gotoAndPlay ("title");
}
gotoAndPlay ("loadok");
} else {
tmp = true;
gear._rotation = gear._rotation + 0.2;
}
};
stop();
Frame 9
onEnterFrame = function () {
gear._rotation = gear._rotation + 0.2;
gear._alpha = gear._alpha - 10;
};
Frame 30
stop();
this.onEnterFrame = function () {
if (Key.isDown(Key.getCode()) || (Key.isDown(1))) {
this.gotoAndPlay("loadend");
delete this.onEnterFrame;
}
};
Frame 41
function showMain(n) {
switch (n) {
case 1 :
character = "sm";
break;
case 2 :
character = "fighter";
break;
case 3 :
character = "gunner";
}
gotoAndStop (48);
}
manu = new Sound();
manu.attachSound("manu");
c = _currentframe;
var i = 1;
while (i <= 3) {
var t = this["btn" + i];
t.num = i;
t.onRollOver = function () {
manu.start();
var _local2 = 2 + this.num;
gotoAndStop(_local2 +40);
};
t.onRelease = function () {
var _local2 = this.num;
showMain(_local2);
};
i++;
}
onEnterFrame = function () {
mark._rotation = mark._rotation + 0.2;
if (keyHit_left && (!Key.isDown(37))) {
keyHit_left = false;
manu.start();
prevFrame();
}
if (keyHit_right && (!Key.isDown(39))) {
keyHit_right = false;
manu.start();
nextFrame();
}
if (Key.isDown(37)) {
keyHit_left = true;
}
if (Key.isDown(39)) {
keyHit_right = true;
}
if (Key.isDown(32)) {
var _local1 = (_currentframe - c) - 1;
showMain(_local1);
}
};
gotoAndStop ("start");
Frame 42
gotoAndStop ("end");
Frame 45
gotoAndStop ("end");
Frame 46
gotoAndStop ("start");
Frame 48
desa = function (char_, ment_, time_) {
if (!ment) {
char = [];
ment = [];
time = [];
}
if (!time_) {
time_ = 0;
}
char.push(char_);
ment.push(ment_);
time.push(time_);
};
mbInit = function () {
var _local2 = _root.attachMovie("mb", "mb", 100);
_local2._x = 0;
_local2._y = 180;
_local2.typing = new Sound();
_local2.typing.attachSound("typing");
};
typing = function (mc) {
mc.field = mc.field + mc.ment.charAt(mc.i);
if (random(5) == 0) {
mc._parent.typing.start();
}
mc.i++;
};
talk = function (char_, ment_, time_) {
if (!this.mb) {
mbInit();
}
var o = this;
o.mb.onEnterFrame = function () {
if (o.mb.mbopen) {
o.mb.onEnterFrame = false;
var ch = o.mb.attachMovie("sa", "ch", 100, {field:""});
ch.gotoAndStop(char_);
ch.ment = ment_;
ch.tim = time_;
ch.stime = getTimer();
ch.i = 0;
ch.onEnterFrame = function () {
var len = this.ment.length;
if (len != this.i) {
o.typing(this);
this.onKeyDown = function () {
if ((len != this.i) && (len != (this.i + 1))) {
var _local2 = 0;
while (_local2 < 2) {
o.typing(this);
_local2++;
}
}
};
Key.addListener(this);
} else {
o.mb.tim._visible = true;
o.mb.ending_btn._visible = true;
o.mb.time = (((this.tim - (getTimer() - this.stime)) < 0) ? true : false);
if (o.mb.time) {
if (!o.ending) {
this.onKeyDown = function () {
if (o.count < o.ment.length) {
o.talk_next();
} else {
o.talk_end();
}
with (o.mb) {
delete time;
}
o.mb.ch.removeMovieClip();
};
Key.addListener(this);
}
}
}
};
}
};
};
talk_start = function () {
count = 0;
talk_next();
};
talk_next = function () {
talk(char[count], ment[count], time[count]);
count++;
};
talk_end = function () {
delete char;
delete ment;
delete time;
delete count;
mb.onTalkEnd();
mb.gotoAndPlay("close");
};
function truePause() {
clearInterval(_global.pause_interval);
GameData.pause = true;
_global.allStop();
}
function trueUnpause() {
GameData.pause = false;
_global.allPlay();
}
function shotPause(t) {
if (!GameData.pause) {
GameData.pause = true;
_global.allStop();
var _local3 = this;
_global.pause_interval = _global.setTimeout(_local3, "trueUnpause", t);
}
}
onEnterFrame = function () {
if (Key.isDown(13)) {
keyHit_e = true;
}
if (keyHit_e && (!Key.isDown(13))) {
keyHit_e = false;
if (!tmptmptmptmp) {
tmptmptmptmp = true;
truePause();
} else {
tmptmptmptmp = false;
trueUnpause();
}
}
var _local1 = area.field.unit.player;
if (Key.isDown(17) && (Key.isDown(49))) {
_local1.damage({damage:100, dz:50});
}
if (Key.isDown(17) && (Key.isDown(50))) {
_local1.expUp(50);
}
if (Key.isDown(17) && (Key.isDown(51))) {
_local1.transitions("clear");
}
};
_global.allStop = function () {
var _local1 = area.field.unit;
for (var _local2 in _local1) {
_local1[_local2].pause();
}
};
_global.allPlay = function () {
var _local1 = area.field.unit;
for (var _local2 in _local1) {
_local1[_local2].unpause();
}
};
function playerSetting(cn) {
var _local4 = area.field.unit;
var _local6 = _local4.attachMovie(cn, "player", _local4.getNextHighestDepth(), {_x:150, _y:400, character:cn});
trace((":+: " + _local6) + " :+:");
var sklist = area.skill_list;
var helplist = area.help_list;
sklist.gotoAndStop(cn);
helplist.gotoAndStop(cn);
sklist.onEnterFrame = function () {
var _local2 = 1;
while (_local2 <= 3) {
var _local4 = sklist["sk" + _local2];
var _local3 = helplist["sk" + _local2];
if (_local4.hitTest(_root._xmouse, _root._ymouse, true)) {
_local3._visible = true;
} else {
_local3._visible = false;
}
_local2++;
}
};
if (!scrollField) {
trace("@@@@@@@@@@@@@@@ scrollField @@@@@@@@@@@@");
scrollField = new ScrollField(area.field);
scrollField.fix(_local6);
scrollField.bgScroll(area.field.bg, -0.5, true);
}
scrollField.look(1);
}
function gointro() {
stopAllSounds();
scrollField.removeAllListener();
var _local1 = area.field.unit.player;
_local1.removeAllListener();
area.removeMovieClip();
delete scrollField;
gotoAndPlay ("character");
}
function goEnd() {
scrollField.removeAllListener();
var _local1 = area.field.unit.player;
_local1.removeAllListener();
area.removeMovieClip();
delete scrollField;
gotoAndStop (49);
}
function endDesa() {
ending = true;
desa("la", "\u30C0\u30E1\u3060\u30C0\u30E1\u3060\uFF01\u4FEE\u884C\u304C\u305F\u308A\u306D\u3048\uFF01\n\n \u307E\u305F\u6311\u6226\u3059\u308B\u304B\uFF1F");
talk_start();
}
_quality = "LOW";
GameData.init(area.field);
playerSetting(character);
new Effect(area.field.effect);
playerDisplay = new BitmapBrush(area);
playerDisplay.displayOn();
Symbol 17 MovieClip Frame 1
stop();
Instance of Symbol 17 MovieClip "bhit" in Symbol 24 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 17 MovieClip "bhit" in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 17 MovieClip "bhit" in Symbol 58 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 17 MovieClip "bhit" in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 17 MovieClip "hit" in Symbol 98 MovieClip Frame 2
onClipEvent (load) {
dx = 4;
damage = 2;
delay = 10;
}
Symbol 98 MovieClip Frame 5
_parent.skill.k_1();
Symbol 98 MovieClip Frame 6
_parent.skill.k_1();
Symbol 98 MovieClip Frame 8
_parent.end();
Instance of Symbol 17 MovieClip "hit" in Symbol 98 MovieClip Frame 12
onClipEvent (load) {
dx = 4;
dz = 10;
damage = 2;
delay = 10;
}
Symbol 98 MovieClip Frame 14
_parent.skill.k_2();
Symbol 98 MovieClip Frame 16
_parent.end();
Instance of Symbol 17 MovieClip "hit" in Symbol 98 MovieClip Frame 19
onClipEvent (load) {
dx = 7;
damage = 3;
delay = 10;
}
Symbol 98 MovieClip Frame 22
_parent.dx = _parent.dx + ((10 * (-_parent._xscale)) / 100);
Symbol 98 MovieClip Frame 24
_parent.skill.k_3();
Symbol 98 MovieClip Frame 29
_parent.end();
Symbol 98 MovieClip Frame 34
_parent.dx = _parent.dx + ((10 * (-_parent._xscale)) / 100);
Instance of Symbol 17 MovieClip "hit" in Symbol 98 MovieClip Frame 34
onClipEvent (load) {
dx = 5;
dz = 30;
damage = 4;
delay = 10;
}
Symbol 98 MovieClip Frame 45
_parent.end();
Symbol 117 MovieClip Frame 6
stop();
Instance of Symbol 17 MovieClip "bhit" in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 138 MovieClip Frame 2
var o = this.hit;
fire = function () {
var _local1 = o._parent.getNextHighestDepth();
o.swapDepths(_local1);
o.removeMovieClip();
};
instant = true;
Instance of Symbol 17 MovieClip "hit" in Symbol 138 MovieClip Frame 2
onClipEvent (load) {
test = this._parent;
dx = -23;
dz = 30;
damage = 0;
delay = 10;
}
Symbol 138 MovieClip Frame 3
if (!hit_ok) {
gotoAndPlay ("end");
}
Instance of Symbol 17 MovieClip "hit" in Symbol 138 MovieClip Frame 7
onClipEvent (load) {
dz = -30;
damage = 0;
delay = 10;
}
Instance of Symbol 17 MovieClip "hit" in Symbol 138 MovieClip Frame 10
onClipEvent (load) {
dx = 20;
damage = 8;
delay = 15;
}
Symbol 138 MovieClip Frame 20
_parent.end();
Symbol 138 MovieClip Frame 25
_parent.end();
Instance of Symbol 17 MovieClip "bhit" in Symbol 147 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 17 MovieClip "hit" in Symbol 147 MovieClip Frame 3
onClipEvent (load) {
dx = 10;
damage = 3;
delay = 20;
}
Symbol 147 MovieClip Frame 7
_parent.end();
Instance of Symbol 17 MovieClip "bhit" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 154 MovieClip Frame 2
_parent.dx = _parent.dx + ((20 * (-_parent._xscale)) / 100);
Instance of Symbol 17 MovieClip "hit" in Symbol 154 MovieClip Frame 5
onClipEvent (load) {
dy = 6;
dx = 30;
damage = 8;
delay = 10;
}
Symbol 154 MovieClip Frame 12
_parent.end();
Symbol 167 MovieClip Frame 7
stop();
Instance of Symbol 17 MovieClip "bhit" in Symbol 168 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 17 MovieClip "hit" in Symbol 168 MovieClip Frame 8
onClipEvent (load) {
dx = 5;
dz = 32;
damage = 6;
delay = 10;
}
Symbol 168 MovieClip Frame 17
_parent.end();
Symbol 218 MovieClip Frame 1
count = 0;
Instance of Symbol 17 MovieClip "bhit" in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 218 MovieClip Frame 5
Symbol 218 MovieClip Frame 7
if (count > 10) {
gotoAndPlay ("sdk_1");
} else {
_parent.brightness(0);
}
Symbol 218 MovieClip Frame 8
var o = {dy:6, dx:50, damage:15, delay:20};
_parent.skill.gigong(o);
Instance of Symbol 17 MovieClip "hit" in Symbol 218 MovieClip Frame 8
onClipEvent (load) {
dx = 50;
damage = 7;
delay = 15;
}
Symbol 218 MovieClip Frame 21
_parent.end();
Instance of Symbol 17 MovieClip "hit" in Symbol 218 MovieClip Frame 22
onClipEvent (load) {
var q = ((_currentframe % 2) ? 1 : -1);
var p = 4;
dx = ((random((p * 2) + 1) - p) * 5) * q;
dy = ((random((p * 2) + 1) - p) * 5) * q;
dz = ((random((p * 2) + 1) - p) * 5) * q;
damage = 5;
delay = 20;
}
Symbol 218 MovieClip Frame 43
_parent.brightness(0);
_parent.end();
Symbol 221 MovieClip Frame 1
_parent.motion = false;
Instance of Symbol 17 MovieClip "bhit" in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 221 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (_parent.dz < 0) {
gotoAndPlay ("jump_d");
onEnterFrame = false;
}
};
Symbol 221 MovieClip Frame 4
stop();
Instance of Symbol 17 MovieClip "bhit" in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 17 MovieClip "hit" in Symbol 230 MovieClip Frame 4
onClipEvent (load) {
dx = 10;
damage = 5;
delay = 15;
}
Symbol 230 MovieClip Frame 10
stop();
Symbol 236 MovieClip Frame 31
_parent.die();
Symbol 238 MovieClip Frame 1
_parent.brightness(100);
Instance of Symbol 17 MovieClip "bhit" in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 238 MovieClip Frame 3
_parent.brightness(0);
Symbol 238 MovieClip Frame 8
var t = _parent;
if ((t.z > 0) || ((--t.delay) >= _currentframe)) {
gotoAndPlay ("delay");
}
Symbol 238 MovieClip Frame 9
_parent.end();
Symbol 239 MovieClip [fighter] Frame 1
#initclip 62
Object.registerClass("fighter", Hero);
#endinitclip
stop();
Symbol 242 MovieClip Frame 1
stop();
Instance of Symbol 242 MovieClip "bhit" in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 242 MovieClip "bhit" in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 242 MovieClip "bhit" in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 324 MovieClip Frame 1
count = 4;
Instance of Symbol 242 MovieClip "bhit" in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 3
onClipEvent (load) {
dx = 4;
dz = 30;
damage = 1;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 4
onClipEvent (load) {
test = this._parent;
}
Symbol 324 MovieClip Frame 8
var depth = _root.getNextHighestDepth();
gn_shot = new Sound(this.createEmptyMovieClip("sound", depth));
gn_shot.attachSound("gn_shot");
gn_shot.start();
var o = {dx:8, damage:3, delay:10};
_parent.skill.bullet(o);
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 9
onClipEvent (load) {
test = this._parent;
}
Symbol 324 MovieClip Frame 10
_parent.skill.k_1(count--, hit_ok);
Symbol 324 MovieClip Frame 16
_parent.end();
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 20
onClipEvent (load) {
test = this._parent;
}
Symbol 324 MovieClip Frame 21
_parent.skill.k_2(hit_ok);
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 24
onClipEvent (load) {
dx = 5;
dz = 20;
damage = 1;
delay = 10;
}
Symbol 324 MovieClip Frame 31
var o = {dx:30, damage:5, delay:20};
_parent.skill.bullet(o);
Symbol 324 MovieClip Frame 40
_parent.end();
Instance of Symbol 242 MovieClip "bhit" in Symbol 324 MovieClip Frame 61
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 324 MovieClip Frame 64
var depth = _root.getNextHighestDepth();
gn_shot = new Sound(this.createEmptyMovieClip("sound", depth));
gn_shot.attachSound("gn_shot");
gn_shot.start();
var o = {dx:8, damage:3, delay:10};
_parent.skill.bullet_d(o, "up");
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 65
onClipEvent (load) {
test = this._parent;
}
Symbol 324 MovieClip Frame 66
_parent.skill.k_1(count--, hit_ok);
Symbol 324 MovieClip Frame 73
_parent.end();
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 77
onClipEvent (load) {
test = this._parent;
}
Symbol 324 MovieClip Frame 78
_parent.skill.k_2(hit_ok);
Instance of Symbol 242 MovieClip "hit" in Symbol 324 MovieClip Frame 81
onClipEvent (load) {
dx = 5;
dz = 20;
damage = 1;
delay = 10;
}
Symbol 324 MovieClip Frame 88
var o = {dx:30, damage:5, delay:20};
_parent.skill.bullet_d(o, "down");
Symbol 324 MovieClip Frame 97
_parent.end();
Instance of Symbol 242 MovieClip "bhit" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 334 MovieClip Frame 4
_parent.dx = _parent.dx + ((80 * (-_parent._xscale)) / 100);
Instance of Symbol 242 MovieClip "hit" in Symbol 334 MovieClip Frame 5
onClipEvent (load) {
dx = 10;
damage = 5;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 334 MovieClip Frame 10
onClipEvent (load) {
dx = 10;
damage = 5;
delay = 10;
}
Symbol 334 MovieClip Frame 12
_parent.skill.sweep_1();
Symbol 334 MovieClip Frame 17
_parent.end();
Symbol 344 MovieClip Frame 1
_parent.dx = _parent.dx + ((10 * (-_parent._xscale)) / 100);
_parent.dy = _parent.dy - 7;
Instance of Symbol 242 MovieClip "bhit" in Symbol 344 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 344 MovieClip Frame 5
onClipEvent (load) {
dx = 8;
dz = 10;
damage = 5;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 344 MovieClip Frame 7
onClipEvent (load) {
dx = 10;
dz = 42;
damage = 5;
delay = 10;
test = this._parent;
}
Symbol 344 MovieClip Frame 14
if (hit_ok) {
_parent.skill.sub2_();
}
Symbol 344 MovieClip Frame 17
_parent.end();
Instance of Symbol 242 MovieClip "bhit" in Symbol 366 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 366 MovieClip Frame 11
_parent.dz = _parent.dz + 45;
_parent.dx = _parent.dx + ((10 * (-_parent._xscale)) / 100);
Instance of Symbol 242 MovieClip "hit" in Symbol 366 MovieClip Frame 11
onClipEvent (load) {
dx = -10;
damage = 7;
delay = 20;
}
Symbol 366 MovieClip Frame 20
var o = {dx:10, damage:4, delay:10};
onEnterFrame = function () {
_parent.skill.bullet2(o);
_parent.dz = _parent.dz + 2;
};
Instance of Symbol 242 MovieClip "hit" in Symbol 366 MovieClip Frame 24
onClipEvent (load) {
dx = -10;
damage = 3;
delay = 20;
}
Symbol 366 MovieClip Frame 27
onEnterFrame = false;
Symbol 366 MovieClip Frame 39
_parent.end();
Instance of Symbol 242 MovieClip "bhit" in Symbol 379 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 379 MovieClip Frame 3
onClipEvent (load) {
dx = 10;
dz = 10;
damage = 3;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 379 MovieClip Frame 7
onClipEvent (load) {
dx = 10;
dz = 10;
damage = 3;
delay = 10;
}
Symbol 379 MovieClip Frame 16
_parent.end();
Symbol 390 MovieClip Frame 1
count = 6;
Instance of Symbol 242 MovieClip "bhit" in Symbol 390 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 242 MovieClip "hit" in Symbol 390 MovieClip Frame 3
onClipEvent (load) {
dx = 25;
dz = 10;
damage = 1;
delay = 10;
}
Symbol 390 MovieClip Frame 8
var depth = _root.getNextHighestDepth();
gn_shot = new Sound(this.createEmptyMovieClip("sound", depth));
gn_shot.attachSound("gn_shot");
gn_shot.start();
var o = {dx:6, dy:0, dz:12, damage:5, delay:10};
_parent.skill.bullet_sub(o);
Symbol 390 MovieClip Frame 9
_parent.skill.sub2_1(count--);
Symbol 390 MovieClip Frame 14
_parent.end();
Symbol 400 MovieClip Frame 1
_parent.motion = false;
Instance of Symbol 242 MovieClip "bhit" in Symbol 400 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 400 MovieClip Frame 6
stop();
onEnterFrame = function () {
if (_parent.dz < 0) {
gotoAndPlay ("jump_d");
onEnterFrame = false;
}
};
Symbol 400 MovieClip Frame 10
stop();
Instance of Symbol 242 MovieClip "bhit" in Symbol 407 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 407 MovieClip Frame 2
onEnterFrame = false;
Symbol 407 MovieClip Frame 3
_parent.dz = _parent.dz + 5;
_parent.dx = _parent.dx - ((2 * (-_parent._xscale)) / 100);
var o = {dx:30, damage:5, delay:20};
_parent.skill.bullet_j(o);
Symbol 407 MovieClip Frame 6
onEnterFrame = function () {
_parent.skill.k_j_1();
};
Symbol 412 MovieClip Frame 31
_parent.die();
Symbol 413 MovieClip Frame 1
_parent.brightness(100);
Instance of Symbol 242 MovieClip "bhit" in Symbol 413 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 413 MovieClip Frame 3
_parent.brightness(0);
Symbol 413 MovieClip Frame 8
var t = _parent;
if ((t.z > 0) || ((--t.delay) >= _currentframe)) {
gotoAndPlay ("delay");
}
Symbol 413 MovieClip Frame 9
_parent.end();
Symbol 414 MovieClip [gunner] Frame 1
#initclip 39
Object.registerClass("gunner", Hero);
#endinitclip
stop();
Symbol 417 MovieClip Frame 1
stop();
Instance of Symbol 417 MovieClip "bhit" in Symbol 428 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 445 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 521 MovieClip Frame 5
onClipEvent (load) {
dx = 4;
dz = -10;
damage = 3;
delay = 10;
}
Symbol 521 MovieClip Frame 10
_parent.skill.k_1();
Symbol 521 MovieClip Frame 15
_parent.end();
Symbol 521 MovieClip Frame 16
_parent.dx = _parent.dx + ((5 * (-_parent._xscale)) / 100);
Instance of Symbol 417 MovieClip "hit" in Symbol 521 MovieClip Frame 20
onClipEvent (load) {
dx = 4;
damage = 4;
delay = 10;
}
Symbol 521 MovieClip Frame 26
_parent.skill.k_2();
Symbol 521 MovieClip Frame 30
_parent.end();
Symbol 521 MovieClip Frame 31
_parent.dx = _parent.dx + ((10 * (-_parent._xscale)) / 100);
Instance of Symbol 417 MovieClip "hit" in Symbol 521 MovieClip Frame 34
onClipEvent (load) {
dx = 10;
dz = 25;
damage = 8;
delay = 10;
}
Symbol 521 MovieClip Frame 42
_parent.end();
Instance of Symbol 417 MovieClip "bhit" in Symbol 542 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 542 MovieClip Frame 4
_parent.dx = _parent.dx + ((20 * (-_parent._xscale)) / 100);
Instance of Symbol 417 MovieClip "hit" in Symbol 542 MovieClip Frame 6
onClipEvent (load) {
dx = 10;
damage = 5;
delay = 15;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 542 MovieClip Frame 9
onClipEvent (load) {
dx = 25;
damage = 6;
delay = 15;
}
Symbol 542 MovieClip Frame 18
_parent.end();
Instance of Symbol 417 MovieClip "bhit" in Symbol 562 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 562 MovieClip Frame 13
onClipEvent (load) {
var q = ((_currentframe % 2) ? 1 : -1);
var p = 4;
dx = ((random((p * 2) + 1) - p) * 5) * q;
dy = ((random((p * 2) + 1) - p) * 5) * q;
dz = ((random((p * 2) + 1) - p) * 5) * q;
damage = 3;
delay = 20;
}
Symbol 562 MovieClip Frame 29
_parent.end();
Symbol 592 MovieClip Frame 1
count = 0;
Instance of Symbol 417 MovieClip "bhit" in Symbol 592 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 592 MovieClip Frame 2
if (count <= 20) {
count++;
}
_parent.brightness((count * 5) - random(10));
Symbol 592 MovieClip Frame 3
_parent.skill.p_1();
Symbol 592 MovieClip Frame 5
if (count > 20) {
gotoAndPlay ("p_2");
} else {
_parent.brightness(0);
}
Instance of Symbol 417 MovieClip "hit" in Symbol 592 MovieClip Frame 7
onClipEvent (load) {
var c = _parent.count;
dx = 15 + c;
dz = 15;
damage = 10 + c;
delay = 20;
}
Symbol 592 MovieClip Frame 19
_parent.end();
Instance of Symbol 417 MovieClip "hit" in Symbol 592 MovieClip Frame 22
onClipEvent (load) {
dx = 5;
dz = 5;
damage = 6;
delay = 20;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 592 MovieClip Frame 24
onClipEvent (load) {
dx = 35;
dz = 20;
damage = 20;
delay = 20;
}
Symbol 592 MovieClip Frame 34
_parent.brightness(0);
_parent.end();
Symbol 605 MovieClip Frame 7
stop();
Symbol 606 MovieClip Frame 5
var o = {dx:2, damage:1, delay:10};
_parent.skill.wave(o);
Symbol 606 MovieClip Frame 18
_parent.end();
Instance of Symbol 417 MovieClip "bhit" in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 609 MovieClip Frame 2
_parent.skill.a_1();
Symbol 609 MovieClip Frame 3
_parent.end();
Symbol 624 MovieClip Frame 1
_parent.motion = false;
Instance of Symbol 417 MovieClip "bhit" in Symbol 624 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 624 MovieClip Frame 7
stop();
onEnterFrame = function () {
if (_parent.dz < 0) {
gotoAndPlay ("jump_d");
onEnterFrame = false;
}
};
Symbol 624 MovieClip Frame 13
stop();
Instance of Symbol 417 MovieClip "bhit" in Symbol 637 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 637 MovieClip Frame 6
onClipEvent (load) {
dx = 10;
damage = 5;
delay = 15;
}
Symbol 637 MovieClip Frame 10
stop();
Symbol 642 MovieClip Frame 31
_parent.die();
Symbol 644 MovieClip Frame 1
_parent.brightness(100);
Instance of Symbol 417 MovieClip "bhit" in Symbol 644 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 644 MovieClip Frame 3
_parent.brightness(0);
Symbol 644 MovieClip Frame 8
var t = _parent;
if ((t.z > 0) || ((--t.delay) >= _currentframe)) {
gotoAndPlay ("delay");
}
Symbol 644 MovieClip Frame 9
_parent.end();
Symbol 645 MovieClip [sm] Frame 1
#initclip 40
Object.registerClass("sm", Hero);
#endinitclip
stop();
Symbol 665 MovieClip [sa] Frame 1
stop();
Symbol 680 MovieClip [mb] Frame 15
stop();
if (_parent.ending) {
gotoAndStop ("ending");
}
mbopen = true;
skip_btn.onRelease = function () {
this._parent._parent.talk_end();
this._parent.ch.removeMovieClip();
};
tim.onEnterFrame = function () {
if (Key.isDown(32)) {
this._parent._parent.talk_end();
this._parent.ch.removeMovieClip();
}
};
Instance of Symbol 670 MovieClip "tim" in Symbol 680 MovieClip [mb] Frame 15
onClipEvent (enterFrame) {
if (_parent.time) {
gotoAndStop(_currentframe + 1);
} else {
gotoAndStop (1);
}
}
Symbol 680 MovieClip [mb] Frame 16
delete mbopen;
Symbol 680 MovieClip [mb] Frame 30
this.removeMovieClip();
Symbol 680 MovieClip [mb] Frame 31
function removeending() {
with (_parent) {
delete ending;
}
}
stop();
mbopen = true;
tim._visible = false;
ending_btn._visible = false;
var o = this;
ending_btn.yes.onRelease = function () {
o.removeending();
o._parent.talk_end();
o._parent.gameover.play();
};
ending_btn.no.onRelease = function () {
_global.setTimeout(o._parent, "goEnd", 1000);
o.removeending();
o._parent.talk_end();
o.ch.removeMovieClip();
};
tim.onEnterFrame = function () {
if (Key.isDown(32)) {
o._parent.talk_end();
o.ch.removeMovieClip();
}
};
Symbol 690 MovieClip [wave] Frame 1
#initclip 41
Object.registerClass("wave", Hit_wave);
#endinitclip
Symbol 690 MovieClip [wave] Frame 2
stop();
onFire();
Symbol 693 MovieClip [gigong] Frame 1
#initclip 42
Object.registerClass("gigong", Hit_gigong);
#endinitclip
this.blendMode = 4;
Symbol 693 MovieClip [gigong] Frame 4
stop();
onFire();
Symbol 704 MovieClip [bullet] Frame 1
#initclip 43
Object.registerClass("bullet", Hit_bullet);
#endinitclip
Symbol 704 MovieClip [bullet] Frame 6
stop();
onFire();
Symbol 710 MovieClip [ef_destruct_rugaru] Frame 1
#initclip 44
Object.registerClass("ef_destruct_rugaru", Destruct);
#endinitclip
Symbol 716 MovieClip [ef_destruct_mino] Frame 1
#initclip 45
Object.registerClass("ef_destruct_mino", Destruct);
#endinitclip
Symbol 722 MovieClip [ef_destruct_goblin1] Frame 1
#initclip 46
Object.registerClass("ef_destruct_goblin1", Destruct);
#endinitclip
Symbol 723 MovieClip [ef_destruct] Frame 1
#initclip 47
Object.registerClass("ef_destruct", Destruct);
#endinitclip
Symbol 725 MovieClip [shadow] Frame 1
#initclip 48
Object.registerClass("shadow", Shadow);
#endinitclip
Symbol 732 MovieClip [ef_1_mini] Frame 1
this._rotation = random(180);
Symbol 732 MovieClip [ef_1_mini] Frame 5
this.removeMovieClip();
Symbol 739 MovieClip [ef_fighter2] Frame 1
this._rotation = random(360);
Symbol 739 MovieClip [ef_fighter2] Frame 8
this.removeMovieClip();
Symbol 746 MovieClip [ef_guard] Frame 1
this._rotation = random(360);
Symbol 746 MovieClip [ef_guard] Frame 8
this.removeMovieClip();
Symbol 747 MovieClip [ef_fighter1] Frame 1
this._rotation = random(360);
Symbol 747 MovieClip [ef_fighter1] Frame 8
this.removeMovieClip();
Symbol 762 MovieClip [ef_1] Frame 8
this.removeMovieClip();
Symbol 765 MovieClip [ef_tanpe] Frame 1
#initclip 49
Object.registerClass("ef_tanpe", Tanpe);
#endinitclip
Symbol 776 MovieClip [ef_block] Frame 1
this.blendMode = 8;
Symbol 776 MovieClip [ef_block] Frame 7
this.removeMovieClip();
Symbol 788 MovieClip [combo_digit] Frame 1
#initclip 50
Object.registerClass("combo_digit", nhn.glib.ui.Digit);
#endinitclip
Symbol 790 MovieClip [combo_ui] Frame 1
#initclip 51
Object.registerClass("combo_ui", ComboUI);
#endinitclip
Symbol 808 MovieClip [enemy_hpGage] Frame 1
#initclip 52
Object.registerClass("enemy_hpGage", EnemyGageBar);
#endinitclip
Symbol 812 MovieClip [player_expGage] Frame 1
#initclip 53
Object.registerClass("player_expGage", GageBar);
#endinitclip
Symbol 816 MovieClip [player_mpGage] Frame 1
#initclip 54
Object.registerClass("player_mpGage", GageBar);
#endinitclip
Symbol 821 MovieClip [hero_hpGage] Frame 1
#initclip 55
Object.registerClass("hero_hpGage", GageBar);
#endinitclip
Symbol 833 MovieClip [num] Frame 1
#initclip 56
Object.registerClass("num", nhn.glib.ui.Digit);
#endinitclip
Instance of Symbol 417 MovieClip "bhit" in Symbol 836 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 853 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 868 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 868 MovieClip Frame 14
onClipEvent (load) {
dx = 15;
dz = 30;
damage = 30;
delay = 30;
}
Symbol 868 MovieClip Frame 22
_parent.end();
Instance of Symbol 417 MovieClip "bhit" in Symbol 881 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 881 MovieClip Frame 14
onEnterFrame = function () {
if ((!GameData.pause) || (GameData.pause == undefined)) {
_parent.x = _parent.x + ((10 * (-_parent._xscale)) / 100);
}
};
Instance of Symbol 417 MovieClip "hit" in Symbol 881 MovieClip Frame 17
onClipEvent (load) {
dx = 20;
dz = 7;
damage = 2;
delay = 30;
}
Symbol 881 MovieClip Frame 24
onEnterFrame = function () {
if ((!GameData.pause) || (GameData.pause == undefined)) {
_parent.x = _parent.x + ((20 * (-_parent._xscale)) / 100);
}
};
Instance of Symbol 417 MovieClip "hit" in Symbol 881 MovieClip Frame 24
onClipEvent (load) {
dx = 35;
dz = 7;
damage = 2;
delay = 30;
}
Symbol 881 MovieClip Frame 30
onEnterFrame = function () {
};
_parent.dx = _parent.dx + ((40 * (-_parent._xscale)) / 100);
Instance of Symbol 417 MovieClip "hit" in Symbol 881 MovieClip Frame 30
onClipEvent (load) {
dx = 40;
dz = 30;
damage = 20;
delay = 30;
}
Symbol 881 MovieClip Frame 39
_parent.end();
Instance of Symbol 417 MovieClip "bhit" in Symbol 885 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 885 MovieClip Frame 2
var o = this._parent;
o["sound_damage" + (random(2) + 1)].start();
Symbol 885 MovieClip Frame 8
var t = _parent;
if ((t.z > 0) || ((--t.delay) >= _currentframe)) {
gotoAndPlay ("delay");
}
Symbol 885 MovieClip Frame 9
_parent.end();
Symbol 886 MovieClip Frame 9
_parent.die();
Symbol 887 MovieClip [mino] Frame 1
#initclip 57
Object.registerClass("mino", Enemy_mino);
#endinitclip
stop();
Instance of Symbol 417 MovieClip "bhit" in Symbol 890 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 903 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 914 MovieClip Frame 6
onClipEvent (load) {
dx = 4;
damage = 2;
delay = 12;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 914 MovieClip Frame 14
onClipEvent (load) {
dx = 4;
damage = 25;
delay = 12;
}
Symbol 914 MovieClip Frame 26
_parent.end();
Instance of Symbol 417 MovieClip "bhit" in Symbol 918 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 918 MovieClip Frame 2
var o = this._parent;
o["sound_damage" + (random(2) + 1)].start();
Symbol 918 MovieClip Frame 8
var t = _parent;
if ((t.z > 0) || ((--t.delay) >= _currentframe)) {
gotoAndPlay ("delay");
}
Symbol 918 MovieClip Frame 9
_parent.end();
Symbol 919 MovieClip Frame 9
_parent.die();
Symbol 920 MovieClip [enemy2] Frame 1
#initclip 58
Object.registerClass("enemy2", Enemy_rugaru);
#endinitclip
stop();
Instance of Symbol 417 MovieClip "bhit" in Symbol 923 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "bhit" in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Instance of Symbol 417 MovieClip "hit" in Symbol 945 MovieClip Frame 9
onClipEvent (load) {
dx = 4;
dz = -10;
damage = 5;
delay = 10;
}
Symbol 945 MovieClip Frame 17
_parent.end();
Instance of Symbol 417 MovieClip "bhit" in Symbol 949 MovieClip Frame 1
onClipEvent (load) {
f_power = 4;
damage = 1;
delay = 10;
}
Symbol 949 MovieClip Frame 2
var o = this._parent;
o["sound_damage" + (random(2) + 1)].start();
Symbol 949 MovieClip Frame 8
var t = _parent;
if ((t.z > 0) || ((--t.delay) >= _currentframe)) {
gotoAndPlay ("delay");
}
Symbol 949 MovieClip Frame 9
_parent.end();
Symbol 950 MovieClip Frame 9
_parent.die();
Symbol 951 MovieClip [enemy] Frame 1
#initclip 59
Object.registerClass("enemy", Enemy_goblin1);
#endinitclip
stop();
Symbol 960 MovieClip [Lynus] Frame 1
#initclip 60
Object.registerClass("Lynus", Element);
#endinitclip
Symbol 963 MovieClip [결투장입구2] Frame 1
#initclip 61
Object.registerClass("\uACB0\uD22C\uC7A5\uC785\uAD6C2", Element);
#endinitclip
Symbol 1158 MovieClip [__Packages.GameData] Frame 0
class GameData
{
static var field, sw, sh;
function GameData () {
}
static function init(mc) {
field = mc;
sw = Stage.width;
sh = Stage.height;
trace("!!!!!!!!!!" + sw);
max_exp = init_exp;
max_hp = init_hp;
max_mp = init_mp;
hp = max_hp;
mp = max_mp;
exp = max_exp;
level = init_level;
}
static var pause = false;
static var init_exp = 900;
static var init_hp = 70;
static var init_mp = 50;
static var init_level = 1;
static var max_exp = init_exp;
static var max_hp = init_hp;
static var max_mp = init_mp;
static var hp = max_hp;
static var mp = max_mp;
static var exp = max_exp;
static var level = init_level;
}
Symbol 1159 MovieClip [__Packages.Element] Frame 0
class Element extends MovieClip
{
var listener, _x, _y, _rotation, _parent;
function Element () {
super();
listener = {};
xyInit();
enterFrameInit();
}
function xyInit() {
x = (x ? (x) : (_x));
y = (y ? (y) : (_y));
z = (z ? (z) : 0);
s = (s ? (s) : 0);
_x = x;
_y = y - z;
_rotation = (s / Math.PI) * 180;
dx = (dy = (dz = 0));
}
function enterFrameInit() {
var _local2 = this;
mx.events.EventDispatcher.initialize(_local2);
_local2.onEnterFrame = function () {
this.dispatchEvent({type:"onSystemEnterFrame"});
if ((!GameData.pause) || (GameData.pause == undefined)) {
this.dispatchEvent({type:"onEnterFrame"});
}
};
_local2.addEventListener("onEnterFrame", onSceneListener());
_local2.addEventListener("onScene", physicalListener());
_local2.addEventListener("onScene", depthListener());
}
function removeAllListener() {
var _local2 = this;
_local2.onEnterFrame = function () {
};
_local2.removeEventListener("onEnterFrame", listener.onScene);
_local2.removeEventListener("onScene", listener.physical);
_local2.removeEventListener("onScene", listener.depth);
}
function remove() {
var _local2 = this;
_local2.removeAllListener();
var _local3 = _parent.getNextHighestDepth();
_local2.swapDepths(_local3);
_local2.removeMovieClip();
}
function physicalListener() {
var _o = this;
listener.physical = {};
listener.physical.onScene = function () {
var _local1 = _o;
var _local2 = _local1.m / 10;
_local1.dx = _local1.dx - (_local1.dx * _local2);
_local1.dy = _local1.dy - (_local1.dy * _local2);
_local1.dz = _local1.dz - (_local1.dz * _local2);
_local1.ds = _local1.ds - (_local1.ds * _local2);
_local1.dz = _local1.dz - (_local1.m * 2);
if ((_local1.z + _local1.dz) <= 0) {
if (_local1.z > 0) {
_local1.dispatchEvent({type:"onLanding"});
}
_local2 = _local1.m / 5;
_local1.z = 0;
_local1.dz = 0;
_local1.dx = _local1.dx - (_local1.dx * _local2);
_local1.dy = _local1.dy - (_local1.dy * _local2);
_local1.ds = _local1.ds - (_local1.ds * _local2);
}
_local1.x = _local1.x + _local1.dx;
_local1.y = _local1.y + (_local1.dy / 2);
if (_local1.y > 460) {
_local1.y = 460;
}
_local1.z = _local1.z + _local1.dz;
_local1.s = _local1.s + _local1.ds;
_local1._rotation = (_local1.s / Math.PI) * 180;
_local1._x = _local1.x;
_local1._y = _local1.y - _local1.z;
};
return(listener.physical);
}
function depthListener() {
var o = this;
listener.depth = {};
listener.depth.onScene = function () {
o.swapDepths(int(o.y));
};
return(listener.depth);
}
function onSceneListener() {
var o = this;
listener.onScene = {};
listener.onScene.onEnterFrame = function () {
var _local2 = func.getxy(o);
var _local1 = 200;
if ((_local2._x < (GameData.sw + _local1)) && (_local2._x > (-_local1))) {
o.dispatchEvent({type:"onScene"});
}
};
return(listener.onScene);
}
var dx = 0;
var dy = 0;
var dz = 0;
var ds = 0;
var x = 0;
var y = 0;
var z = 0;
var s = 0;
var m = 1;
}
Symbol 1160 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 1161 MovieClip [__Packages.func] Frame 0
class func
{
function func () {
}
static function rootFind(target) {
var _local2 = [target];
while (target = target._parent , target) {
_local2.push(target);
}
return(_local2);
}
static function getxy(target) {
var _local2 = rootFind(target);
var _local4 = 0;
var _local3 = 0;
for (var _local5 in _local2) {
var _local1 = _local2[_local5];
_local4 = _local4 + _local1._x;
_local3 = _local3 + _local1._y;
}
return({_x:_local4, _y:_local3});
}
static function getdiv(t1, t2) {
t1 = getxy(t1);
t2 = getxy(t2);
var _local3 = Math.sqrt(Math.pow(t2._x - t1._x, 2) + Math.pow(t2._y - t1._y, 2));
return(_local3);
}
static function getdivxy(t1, t2, s) {
var _local2 = getxy(t1);
var _local1 = getxy(t2);
return(_local1[s] - _local2[s]);
}
static function getsec(t1, t2) {
var _local2 = getxy(t1);
var _local1 = getxy(t2);
return(Math.atan2(_local1._y - _local2._y, _local1._x - _local2._x));
}
static function union(to, o) {
var _local2 = 0;
for (var _local4 in o) {
_local2++;
to[_local4] = o[_local4];
}
return(_local2);
}
}
Symbol 1162 MovieClip [__Packages.Unit] Frame 0
class Unit extends Element
{
var hp, maxhp, mp, maxmp, sound_block, _parent, _name, shadow, hero, delay, dx, dy, dz, motion, dash;
function Unit () {
super();
UnitInit();
shadowInit();
}
function UnitInit() {
hp = maxhp;
mp = maxmp;
}
function soundInit() {
sound_block = new Sound();
sound_block.attachSound("sound_block");
}
function shadowInit() {
var _local2 = _parent._parent.shadow;
if (!_local2["shadow_" + _name]) {
shadow = _local2.attachMovie("shadow", "shadow_" + _name, _local2.getNextHighestDepth(), {target:this});
}
}
function pause() {
hero.stop();
}
function unpause() {
hero.play();
}
function status(str, frame) {
var _local2 = this;
_local2.gotoAndStop(str);
if (frame) {
_local2.hero.gotoAndPlay(frame);
}
_local2.dispatchEvent({type:str});
}
function damage(hit, b, ef) {
var _local4 = hit.damage;
var _local5 = hit.delay;
var _local8 = (b ? (-hit.dx) : (hit.dx));
var _local7 = hit.dy;
var _local6 = hit.dz;
if (_local5) {
delay = _local5;
}
if (_local8) {
dx = _local8;
}
if (_local7) {
dy = _local7;
}
if (_local6) {
dz = _local6;
}
if (_local4) {
var _local2 = this;
if (!_local2.guard) {
_local2.dispatchEvent({type:"onDamege"});
hp = hp - _local4;
motion = true;
if (_local2.hp <= 0) {
_local2.status("die");
} else {
status("damage", 1);
}
Effect.add(ef, this);
} else {
dz = 0;
_local2.sound_block.start();
_local2.dispatchEvent({type:"onGuard"});
Effect.add("ef_block", this);
}
}
return(_local4);
}
function die() {
var _local2 = this;
_local2.dispatchEvent({type:"onDie"});
shadow.removeMovieClip();
_local2.remove();
}
function end() {
motion = false;
dash = false;
}
}
Symbol 1163 MovieClip [__Packages.Effect] Frame 0
class Effect
{
static var target;
function Effect (t) {
target = t;
}
static function add(ef, o, b) {
var _local3 = target.getNextHighestDepth();
if (!b) {
b = "normal";
}
var _local7 = o._x;
var _local4 = o._y;
if (typeof(o) == "movieclip") {
_local4 = _local4 - (o._height / 2);
}
if (!ef) {
ef = _default;
}
var _local1 = target.attachMovie(ef, "ef_" + _local3, _local3, {_x:_local7, _y:_local4});
_local1.blendMode = b;
return(_local1);
}
static function pause() {
for (var _local1 in target) {
target[_local1].stop();
}
}
static function unpause() {
for (var _local1 in target) {
target[_local1].play();
}
}
static var _default = "ef_1";
}
Symbol 1164 MovieClip [__Packages.Hero] Frame 0
class Hero extends Unit
{
var hp, mp, exp, _parent, m, _x, trans, recovery_listener, listener, control, skill, hit_list, character;
function Hero () {
super();
trace("\uC720\uC800 \uCD08\uAE30\uD654");
hp = GameData.hp;
mp = GameData.mp;
exp = GameData.exp;
var _local3 = _parent._parent._parent;
_local3.level.digitset.number = GameData.level;
m = 1;
if (!_x) {
_x = random(_parent._width);
}
trans = new flash.geom.Transform(this);
heroInit();
clearInterval(recovery_listener);
recovery_listener = setInterval(this, "recovery", 1000, 1);
}
function recovery(n) {
var _local2 = _parent._parent._parent;
if (mp < GameData.max_mp) {
mp = mp + n;
} else {
mp = GameData.max_mp;
}
}
function heroInit() {
var _local2 = this;
_local2.hit_list = [];
_local2.hit_list.push(_local2.hero);
_local2.addEventListener("onEnterFrame", SocialListener());
_local2.addEventListener("onEnterFrame", motionListener());
_local2.addEventListener("onEnterFrame", enemyCheckListener());
_local2.addEventListener("onSystemEnterFrame", controlListener());
_local2.addEventListener("onControll", cmdListener());
_local2.addEventListener("onControll", controllerListener());
_local2.addEventListener("onSocial", hitListener());
_local2.addEventListener("onLanding", landingListener());
_local2.addEventListener("onDie", gameoverListener());
}
function removeAllListener() {
var _local2 = this;
_local2.removeEventListener("onEnterFrame", listener.hitTest);
_local2.removeEventListener("onEnterFrame", listener.motion);
_local2.removeEventListener("onEnterFrame", listener.enemyCheck);
_local2.removeEventListener("onEnterFrame", listener.portal);
_local2.removeEventListener("onSystemEnterFrame", control.listener);
_local2.removeEventListener("onControll", skill.listener);
_local2.removeEventListener("onControll", listener.controller);
_local2.removeEventListener("onSocial", listener.hit);
_local2.removeEventListener("onLanding", listener.landing);
_local2.removeEventListener("onDie", listener.gameover);
}
function test() {
var o = this;
listener.test = {};
listener.test.onEnterFrame = function () {
trace(o.getDepth());
};
return(listener.test);
}
function brightness(n) {
n = ((n / 100) * 2) + 1;
trans.colorTransform = new flash.geom.ColorTransform(n, n, n, n, 0, 0, 0, 0);
}
function inMonitor(mc) {
var _local1 = func.getxy(mc);
if ((_local1._x > 0) && (_local1._x < GameData.sw)) {
if ((_local1._y > 0) && (_local1._y < GameData.sh)) {
return(true);
}
}
return(false);
}
function expUp(n) {
exp = exp - n;
if (exp < 0) {
var _local2 = _parent._parent._parent._parent;
_local2.levelup.play();
_local2.area.level.digitset.number = ++GameData.level;
exp = GameData.max_exp;
exp = (GameData.max_exp = GameData.max_exp + 100);
hp = (GameData.max_hp = GameData.max_hp + 20);
mp = (GameData.max_mp = GameData.max_mp + 20);
}
}
function run() {
var _local2 = this;
if (!_local2.dash) {
_local2.jumpcheck("run");
} else {
_local2.jumpcheck("dash");
}
}
function jumpcheck(str) {
var _local2 = this;
if (_local2.z <= 0) {
_local2.status(str);
} else {
_local2.status("jump");
}
}
function statusUpdate() {
GameData.hp = hp;
GameData.mp = mp;
GameData.exp = exp;
}
function transitions(str) {
var o = this;
var _local2 = o._parent._parent._parent._parent;
var scene = _local2.scene;
scene.gotoAndPlay("start");
scene.onBlack = function () {
scene.gotoAndPlay("end");
o.nextStage(str);
};
}
function nextStage(str) {
var _local4 = this;
var _local2 = _local4._parent._parent;
if (_local2._currentframe < _local2._totalframes) {
if (str) {
_local2.gotoAndStop(str);
} else {
_local2.nextFrame();
}
var _local3 = _local2._parent._parent;
_local3.playerSetting(_local3.character);
}
}
function traceListener() {
var o = this;
listener.trace = {};
listener.trace.onSystemEnterFrame = function () {
trace(o.control.command.data);
};
return(listener.trace);
}
function SocialListener() {
var o = this;
listener.hitTest = {};
listener.hitTest.onEnterFrame = function () {
if (o.hero.hit || (o.hit_list.length > 1)) {
for (var _local3 in o._parent) {
var _local1 = o._parent[_local3];
if (_local1.hasOwnProperty("hp") && (_local1 != o)) {
if (o.inMonitor(_local1)) {
o.dispatchEvent({type:"onSocial", t:_local1});
}
}
}
}
};
return(listener.hitTest);
}
function hitListener() {
var o = this;
o.hit_list = [o.hero];
listener.hit = {};
listener.hit.onSocial = function (target) {
var _local3 = target.t;
for (var _local8 in o.hit_list) {
var _local2 = o.hit_list[_local8];
if ((_local2 && (o.inMonitor(_local2))) && (_local3 != _local2)) {
if (_local2._name == "hero") {
var _local5 = Math.abs(_local3.y - o.y);
} else {
var _local5 = Math.abs(_local3.y - _local2.y);
}
if (_local5 < 30) {
if (_local3.hero.bhit.hitTest(_local2.hit)) {
var _local4 = (_local3.x - o.x) < 0;
var _local7 = _local3.damage(_local2.hit, _local4, o.skill.ef);
if (_local2.hit.test) {
_local2.hit.test.hit_ok = true;
}
if (_local7) {
var _local6 = o._parent._parent._parent._parent;
o._parent._parent._parent.combo_mc.comboup();
_global.setTimeout(_local6, "shotPause", 50, 50);
o.callEnView(_local3);
}
if (_local2.instant) {
_local2.fire(true);
}
}
}
}
}
};
return(listener.hit);
}
function callEnView(t) {
var _local2 = _parent._parent._parent.enemyGageBar;
_local2.view(t);
}
function removeHitList(n) {
for (var _local3 in hit_list) {
if (_local3 > n) {
hit_list[_local3].number--;
}
}
hit_list.splice(n, 1);
}
function motionListener() {
var o = this;
listener.motion = {};
listener.motion.onEnterFrame = function () {
if (!o.motion) {
o.dispatchEvent({type:"onControll"});
}
};
return(listener.motion);
}
function controllerListener() {
var o = this;
listener.controller = {};
listener.controller.onControll = function () {
if ((!Key.isDown(o.skill.control.command.left)) && (!Key.isDown(o.skill.control.command.right))) {
o.dash = false;
}
var _local1 = ((!o.dash) ? 6 : 10);
if (Key.isDown(39)) {
o.run();
o._xscale = -100;
o.x = o.x + _local1;
}
if (Key.isDown(37)) {
o.run();
o._xscale = 100;
o.x = o.x - _local1;
}
if (Key.isDown(40)) {
o.run();
if (o.y < 460) {
o.y = o.y + (_local1 / 2);
}
}
if (Key.isDown(38)) {
o.run();
if (o.y > 320) {
o.y = o.y - (_local1 / 2);
}
}
if (!(((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) || (Key.isDown(40)))) {
o.jumpcheck("stand");
}
};
return(listener.controller);
}
function landingListener() {
var o = this;
listener.landing = {};
listener.landing.onLanding = function () {
if (o.hp > 0) {
o.end();
o.skill.control.reset();
}
};
return(listener.landing);
}
function controlListener() {
control = new Control();
return(control.listener);
}
function cmdListener() {
var _local2 = new Skill(this, control);
skill = _local2[character];
control.skill = skill;
return(skill.listener());
}
function enemyCheckListener() {
var o = this;
listener.enemyCheck = {};
listener.enemyCheck.onEnterFrame = function () {
var _local2 = true;
for (var _local3 in o._parent) {
var _local1 = o._parent[_local3];
if ((_local1 != o) && (_local1.hp)) {
_local2 = false;
break;
}
}
if (_local2) {
o._parent._parent.map.door.gotoAndPlay(2);
o.addEventListener("onEnterFrame", o.portalListener());
o.removeEventListener("onEnterFrame", o.listener.enemyCheck);
}
};
return(listener.enemyCheck);
}
function portalListener() {
var o = this;
listener.portal = {};
listener.portal.onEnterFrame = function () {
if (o.hero.bhit) {
var _local3 = o._parent._parent;
var _local4 = _local3.map;
var _local2 = o.hero.bhit;
var _local1 = _local4.hit;
if (typeof(_local1) == "movieclip") {
if (_local2.hitTest(_local1)) {
o.statusUpdate();
o.transitions();
o.removeEventListener("onEnterFrame", o.listener.portal);
}
}
}
};
return(listener.portal);
}
function commandTestListener() {
var o = this;
listener.commandTest = {};
listener.commandTest.onEnterFrame = function () {
o.txt.text = o.control.data;
o.txt._xscale = o._xscale;
};
return(listener.commandTest);
}
function gameoverListener() {
var o = this;
listener.gameover = {};
listener.gameover.onDie = function () {
var _local1 = o._parent._parent._parent._parent;
o.removeAllListener();
_local1.endDesa();
};
return(listener.gameover);
}
}
Symbol 1165 MovieClip [__Packages.Control] Frame 0
class Control
{
var listener, commandLength, maxResetTime, resetTime, command;
function Control (target) {
statusInit();
listener = listenerInit();
}
function listenerInit() {
var o = this;
mx.events.EventDispatcher.initialize(this);
var _local2 = {};
_local2.onSystemEnterFrame = function () {
o.dispatchEvent({type:"onEnterFrame"});
};
o.addEventListener("onEnterFrame", feedbackListener());
o.addEventListener("onEnterFrame", feedListener());
return(_local2);
}
function listenerInit1(target) {
}
function statusInit() {
commandLength = 0;
maxResetTime = 6;
resetTime = maxResetTime;
command = new Keys({left:37, up:38, right:39, down:40, punch:90, kick:88, jump:67, a:65, s:83, d:68, f:70, g:71, h:72});
}
function test(str) {
var _local4 = strArray(str);
var _local5 = true;
for (var _local6 in _local4) {
var _local3 = _local4[_local6];
var _local2 = command.__get__data()[_local6];
if (_local2 != _local3) {
_local5 = false;
break;
}
}
return(_local5);
}
function strArray(str) {
var _local4 = str.length;
var _local3 = [];
var _local1 = 0;
while (_local1 < _local4) {
var _local2 = str.substr(_local1, 1);
_local3.unshift(_local2);
_local1++;
}
return(_local3);
}
function reset() {
command.reset();
commandLength = 0;
}
function get data() {
return(command.__get__data());
}
function feedbackListener() {
var o = this;
var _local3 = {};
_local3.onEnterFrame = function () {
var _local1 = o.command.length;
var _local2 = o.commandLength;
if (_local1 > _local2) {
o.resetTime = o.maxResetTime;
o.commandLength = _local1;
o.dispatchEvent({type:"onChange"});
}
if (o.resetTime > 0) {
o.resetTime--;
} else if (_local1 > 0) {
o.reset();
o.dispatchEvent({type:"onReset"});
}
};
return(_local3);
}
function feedListener() {
return(command.listener);
}
function testListener() {
var o = this;
var _local2 = {};
_local2.onEnterFrame = function () {
trace(o.data);
};
return(_local2);
}
}
Symbol 1166 MovieClip [__Packages.Keys] Frame 0
class Keys
{
var listener, left, up, right, down, punch, kick, jump, a, s, d, f, g, h, inputBuffer;
function Keys (o) {
keyInit(o);
reset();
listener = listenerInit();
}
function keyInit(o) {
left = o.left;
up = o.up;
right = o.right;
down = o.down;
punch = o.punch;
kick = o.kick;
jump = o.jump;
a = o.a;
s = o.s;
d = o.d;
f = o.f;
g = o.g;
h = o.h;
}
function reset() {
inputBuffer = [];
}
function get length() {
return(inputBuffer.length);
}
function get data() {
return(inputBuffer);
}
function add(str) {
inputBuffer.unshift(str);
}
function listenerInit() {
var o = this;
mx.events.EventDispatcher.initialize(this);
var _local2 = {};
_local2.onEnterFrame = function () {
o.dispatchEvent({type:"onEnterFrame"});
};
o.addEventListener("onEnterFrame", feedListener());
return(_local2);
}
function feedListener() {
var o = this;
var _local2 = {};
_local2.onEnterFrame = function () {
if (!Key.isDown(o.left)) {
o.aDown = false;
}
if (!Key.isDown(o.right)) {
o.dDown = false;
}
if (!Key.isDown(o.up)) {
o.wDown = false;
}
if (!Key.isDown(o.down)) {
o.sDown = false;
}
if (!Key.isDown(o.punch)) {
o.pDown = false;
}
if (!Key.isDown(o.kick)) {
o.kDown = false;
}
if (!Key.isDown(o.jump)) {
o.jDown = false;
}
if (!Key.isDown(o.a)) {
o._a = false;
}
if (!Key.isDown(o.s)) {
o._s = false;
}
if (!Key.isDown(o.d)) {
o._d = false;
}
if (!Key.isDown(o.f)) {
o._f = false;
}
if (!Key.isDown(o.g)) {
o._g = false;
}
if (!Key.isDown(o.h)) {
o._h = false;
}
if (Key.isDown(o.left) && (!o.aDown)) {
o.add("a");
o.aDown = true;
} else if (Key.isDown(o.right) && (!o.dDown)) {
o.add("d");
o.dDown = true;
} else if (Key.isDown(o.up) && (!o.wDown)) {
o.add("w");
o.wDown = true;
} else if (Key.isDown(o.down) && (!o.sDown)) {
o.add("s");
o.sDown = true;
}
if (Key.isDown(o.punch) && (!o.pDown)) {
o.add("p");
o.pDown = true;
}
if (Key.isDown(o.kick) && (!o.kDown)) {
o.add("k");
o.kDown = true;
}
if (Key.isDown(o.jump) && (!o.jDown)) {
o.add("j");
o.jDown = true;
}
if (Key.isDown(o.a) && (!o._a)) {
o.add("A");
o._a = true;
}
if (Key.isDown(o.s) && (!o._s)) {
o.add("S");
o._s = true;
}
if (Key.isDown(o.d) && (!o._d)) {
o.add("D");
o._d = true;
}
if (Key.isDown(o.f) && (!o._f)) {
o.add("F");
o._f = true;
}
if (Key.isDown(o.g) && (!o._g)) {
o.add("G");
o._g = true;
}
if (Key.isDown(o.h) && (!o._h)) {
o.add("H");
o._h = true;
}
};
return(_local2);
}
}
Symbol 1167 MovieClip [__Packages.Skill] Frame 0
class Skill
{
var sm, gunner, fighter;
function Skill (t, c) {
sm = new Skill_Sm(t, c);
gunner = new Skill_Gunner(t, c);
fighter = new Skill_Fighter(t, c);
}
}
Symbol 1168 MovieClip [__Packages.Skill_Basic] Frame 0
class Skill_Basic
{
var target, control, status, frame;
function Skill_Basic (t, c) {
target = t;
control = c;
t.addEventListener("onSystemEnterFrame", control.listener);
t.character;
}
function air() {
return(target.z > 0);
}
function action(str, fra) {
status = str;
frame = fra;
}
function statusInit() {
status = null;
frame = null;
}
function finish(b) {
if (status) {
if (b) {
control.reset();
}
target.status(status, frame);
target.motion = true;
}
}
function mp(n) {
if (target.mp > n) {
target.mp = target.mp - n;
return(true);
}
return(false);
}
}
Symbol 1169 MovieClip [__Packages.Skill_Sm] Frame 0
class Skill_Sm extends Skill_Basic
{
var ef, target, control, action, finish, mp;
function Skill_Sm (t, c) {
super(t, c);
init();
}
function init() {
ef = "ef_1_mini";
}
function wave(o) {
var _local2 = target;
var _local6 = _local2._parent._parent.unit;
var _local4 = _local2._xscale < 0;
var _local8 = _local2.x + (70 * (_local4 ? 1 : -1));
var _local7 = _local2.y;
var _local5 = (_local4 ? 0 : Math.PI);
var _local3 = Hit_wave.bang(_local6, _local8, _local7, 0, _local5, o);
_local3.number = _local2.hit_list.push(_local3);
}
function dd() {
if (control.test("dd") || (control.test("aa"))) {
target.dash = true;
}
}
function jump() {
if (control.test("j")) {
action("jump");
target.dz = target.dz + 35;
}
}
function k_j() {
if (control.test("k")) {
action("k_j");
}
}
function d_j() {
if (control.test("k")) {
var _local2 = control.command.right;
var _local3 = control.command.left;
if (Key.isDown(_local2)) {
target.dx = target.dx + 10;
}
if (Key.isDown(_local3)) {
target.dx = target.dx - 10;
}
}
}
function a_1() {
var _local2 = control.command.a;
if (Key.isDown(_local2)) {
action("a", "a");
finish();
} else {
target.guard = false;
}
}
function k() {
if (control.test("k")) {
action("k");
}
}
function k_1() {
if (control.test("k")) {
action("k", "k_1");
finish();
}
}
function k_2() {
if (control.test("k")) {
action("k", "k_2");
finish();
}
}
function ddk() {
if (control.test("ddk") || (control.test("aak"))) {
action("ddk");
}
}
function asdk() {
if (control.test("asdk") || (control.test("dsak"))) {
if (mp(15)) {
action("asdk");
}
}
}
function sdp() {
if (control.test("sdp") || (control.test("sap"))) {
if (mp(5)) {
action("sdp");
}
}
}
function p() {
if (control.test("p")) {
if (mp(5)) {
action("p");
}
}
}
function p_1() {
var _local3 = control.command.punch;
var _local2 = control.command.s;
if (Key.isDown(_local3) || (Key.isDown(_local2))) {
action("p", "p_1");
finish();
}
}
function a() {
if (control.test("A")) {
if (mp(2)) {
action("a");
target.guard = true;
}
}
}
function s() {
if (control.test("S")) {
if (mp(5)) {
action("p");
}
}
}
function d() {
if (control.test("D")) {
trace("!");
if (mp(5)) {
action("sdp");
}
}
}
function listener() {
var _o = this;
var _local3 = {};
_local3.onControll = function () {
var _local1 = _o;
_local1.statusInit();
if (_local1.air()) {
_local1.k_j();
_local1.d_j();
} else {
_local1.jump();
_local1.dd();
_local1.p();
_local1.k();
_local1.a();
_local1.s();
_local1.d();
_local1.ddk();
_local1.sdp();
_local1.asdk();
}
_local1.finish(true);
};
return(_local3);
}
}
Symbol 1170 MovieClip [__Packages.Hit_wave] Frame 0
class Hit_wave extends Element
{
var stop, cacheAsBitmap, blendMode, s, _xscale;
function Hit_wave () {
super();
powerApply();
init();
imgup();
(stop());// not popped
}
function powerApply() {
var _local2 = this;
if (!_local2.v) {
_local2.v = 17;
}
_local2.m = 0.01;
_local2.dx = _local2.v * Math.cos(_local2.s);
_local2.dz = _local2.v * (-Math.sin(_local2.s));
}
function init() {
cacheAsBitmap = true;
blendMode = 4;
_global.setTimeout(this, "fire", 800);
}
function imgup() {
if ((s > (Math.PI/2)) || (s < -1.5707963267949)) {
s = s + Math.PI;
_xscale = _xscale * -1;
}
}
static function bang(t, xx, yy, zz, ss, o) {
var _local2 = t.getNextHighestDepth();
var _local1 = t.attachMovie("wave", "wave" + _local2, _local2, {x:xx, y:yy, z:zz, s:ss});
func.union(_local1.hit, o);
return(_local1);
}
function fire() {
var _local2 = this;
_local2.dx = 0;
_local2.dy = 0;
_local2.dz = 0;
if (_local2._currentframe == 1) {
_local2.gotoAndPlay("fire");
}
}
function onFire() {
var _local2 = this;
var _local3 = _local2._parent.player;
_local3.removeHitList(_local2.number - 1);
_local2.remove();
}
}
Symbol 1171 MovieClip [__Packages.Skill_Fighter] Frame 0
class Skill_Fighter extends Skill_Basic
{
var ef, target, control, action, mp, finish;
function Skill_Fighter (t, c) {
super(t, c);
init();
}
function init() {
ef = "ef_fighter2";
}
function gigong(o) {
var _local2 = target;
var _local7 = _local2._parent._parent.unit;
var _local4 = _local2._xscale < 0;
var _local9 = _local2.x + (70 * (_local4 ? 1 : -1));
var _local8 = _local2.y;
var _local6 = _local2.z + 70;
var _local5 = (_local4 ? 0 : Math.PI);
var _local3 = Hit_gigong.bang(_local7, _local9, _local8, _local6, _local5, o);
_local3.number = _local2.hit_list.push(_local3);
}
function dd() {
if (control.test("dd") || (control.test("aa"))) {
target.dash = true;
}
}
function k_j() {
if (control.test("k")) {
action("k_j");
}
}
function d_j() {
if (control.test("k")) {
var _local2 = control.command.right;
var _local3 = control.command.left;
if (Key.isDown(_local2)) {
target.dx = target.dx + 10;
}
if (Key.isDown(_local3)) {
target.dx = target.dx - 10;
}
}
}
function jump() {
if (control.test("j")) {
action("jump");
target.dz = target.dz + 35;
}
}
function k() {
if (control.test("k")) {
action("k");
}
}
function sk() {
var _local2 = control.command.down;
if (Key.isDown(_local2) && (control.test("k"))) {
action("sk");
}
}
function ddk() {
if (control.test("ddk") || (control.test("aak"))) {
action("ddk");
}
}
function p() {
if (control.test("p")) {
if (mp(3)) {
action("p");
}
}
}
function dp() {
var _local2 = control.command.right;
var _local3 = control.command.left;
if ((Key.isDown(_local2) || (Key.isDown(_local3))) && (control.test("p"))) {
if (mp(5)) {
action("dp");
}
}
}
function sdk() {
if (control.test("sdk") || (control.test("sak"))) {
if (mp(5)) {
action("sdk");
}
}
}
function sdk_1() {
var _local3 = control.command.kick;
var _local2 = control.command.a;
if (Key.isDown(_local3) || (Key.isDown(_local2))) {
action("sdk", "sdk");
finish();
}
}
function k_1() {
if (control.test("k")) {
action("k", "k_1");
finish();
}
}
function k_2() {
if (control.test("k")) {
action("k", "k_2");
finish();
}
}
function k_3() {
if (control.test("k")) {
action("k", "k_3");
finish();
}
}
function k_4() {
if (control.test("k")) {
action("k", "k_4");
finish();
}
}
function a() {
if (control.test("A")) {
if (mp(5)) {
action("sdk");
}
}
}
function s() {
if (control.test("S")) {
action("sk");
}
}
function d() {
if (control.test("D")) {
if (mp(5)) {
action("dp");
}
}
}
function listener() {
var _o = this;
var _local3 = {};
_local3.onControll = function () {
var _local1 = _o;
_local1.statusInit();
if (_local1.air()) {
_local1.k_j();
_local1.d_j();
} else {
_local1.jump();
_local1.dd();
_local1.p();
_local1.k();
_local1.a();
_local1.s();
_local1.d();
_local1.sk();
_local1.ddk();
_local1.dp();
_local1.sdk();
}
_local1.finish(true);
};
return(_local3);
}
}
Symbol 1172 MovieClip [__Packages.Hit_gigong] Frame 0
class Hit_gigong extends Element
{
var stop, cacheAsBitmap, _parent, swapDepths, removeMovieClip, listener;
function Hit_gigong () {
super();
powerApply();
init();
gigongLitstenerInit();
(stop());// not popped
}
function powerApply() {
var _local2 = this;
if (!_local2.v) {
_local2.v = 20;
}
_local2.m = 0.01;
_local2.dx = _local2.v * Math.cos(_local2.s);
_local2.dz = _local2.v * (-Math.sin(_local2.s));
}
function init() {
cacheAsBitmap = true;
_global.setTimeout(this, "fire", 600);
}
function gigongLitstenerInit() {
var _local2 = this;
_local2.addEventListener("onEnterFrame", bulletHit());
}
static function bang(t, xx, yy, zz, ss, o) {
var _local2 = t.getNextHighestDepth();
var _local1 = t.attachMovie("gigong", "gigong" + _local2, _local2, {x:xx, y:yy, z:zz, s:ss});
func.union(_local1.hit, o);
return(_local1);
}
function fire() {
var _local2 = this;
_local2.dx = 0;
_local2.dy = 0;
_local2.dz = 0;
if (_local2._currentframe == 1) {
_local2.gotoAndPlay("fire");
}
}
function onFire() {
var _local2 = this;
var _local3 = _local2._parent.player;
_local3.removeHitList(_local2.number - 1);
_local2.remove();
}
function remove() {
var _local2 = _parent.getNextHighestDepth();
swapDepths(_local2);
removeMovieClip();
}
function bulletHit() {
var o = this;
listener.depth = {};
listener.depth.onEnterFrame = function () {
if ((o.z + o.dz) <= 0) {
o.fire();
}
};
return(listener.depth);
}
var instant = true;
}
Symbol 1173 MovieClip [__Packages.Skill_Gunner] Frame 0
class Skill_Gunner extends Skill_Basic
{
var ef, target, control, action, finish, mp;
function Skill_Gunner (t, c) {
super(t, c);
init();
}
function init() {
ef = "ef_fighter1";
}
function bullet(o) {
var _local2 = target;
var _local7 = _local2._parent._parent.unit;
var _local4 = _local2._xscale < 0;
var _local9 = _local2.x + (70 * (_local4 ? 1 : -1));
var _local8 = _local2.y;
var _local6 = _local2.z + 130;
var _local5 = (_local4 ? 0 : Math.PI);
_local5 = _local5 + ((random(21) - 10) / 90);
var _local3 = Hit_bullet.bang(_local7, _local9, _local8, _local6, _local5, o);
_local3.number = _local2.hit_list.push(_local3);
}
function bullet_d(o, type) {
var _local2 = target;
var _local8 = _local2._parent._parent.unit;
var _local3 = _local2._xscale < 0;
var _local6 = _local2.x + (100 * (_local3 ? 1 : -1));
if (type == "down") {
_local6 = _local2.x + (130 * (_local3 ? 1 : -1));
}
var _local9 = _local2.y;
var _local7 = _local2.z + 80;
var _local5 = (_local3 ? 0.523598775598299 : 2.61799387799149);
_local5 = _local5 + ((random(21) - 10) / 90);
var _local4 = Hit_bullet.bang(_local8, _local6, _local9, _local7, _local5, o);
_local4.number = _local2.hit_list.push(_local4);
}
function bullet_j(o) {
var _local2 = target;
var _local7 = _local2._parent._parent.unit;
var _local4 = _local2._xscale < 0;
var _local9 = _local2.x + (40 * (_local4 ? 1 : -1));
var _local8 = _local2.y;
var _local6 = _local2.z + 90;
var _local5 = (_local4 ? (Math.PI/4) : 2.35619449019234);
_local5 = _local5 + ((random(21) - 10) / 90);
var _local3 = Hit_bullet.bang(_local7, _local9, _local8, _local6, _local5, o);
_local3.number = _local2.hit_list.push(_local3);
}
function bullet2(o) {
var _local2 = target;
var _local6 = _local2._parent._parent.unit;
var _local8 = _local2.x;
var _local7 = _local2.y;
var _local5 = _local2.z;
var _local4 = (Math.PI/2);
_local4 = _local4 + ((random(21) - 10) / 40);
var _local3 = Hit_bullet.bang(_local6, _local8, _local7, _local5, _local4, o);
_local3.number = _local2.hit_list.push(_local3);
}
function bullet_sub(o) {
var _local2 = target;
var _local7 = _local2._parent._parent.unit;
var _local3 = _local2._xscale < 0;
var _local9 = _local2.x + (120 * (_local3 ? 1 : -1));
var _local8 = _local2.y;
var _local6 = _local2.z + 140;
var _local5 = (_local3 ? 0 : Math.PI);
_local5 = (_local3 ? -0.8 : -2.34159265358979);
var _local4 = Hit_bullet.bang(_local7, _local9, _local8, _local6, _local5, o);
_local4.number = _local2.hit_list.push(_local4);
}
function dd() {
if (control.test("dd") || (control.test("aa"))) {
target.dash = true;
}
}
function k_j() {
if (control.test("k")) {
action("k_j");
}
}
function k_j_1() {
if (control.test("k")) {
action("k_j", "k_j_1");
finish();
}
}
function jump() {
if (control.test("j")) {
action("jump");
target.dz = target.dz + 35;
target.hero.onEnterFrame = function () {
};
}
}
function k() {
if (control.test("k")) {
action("k");
var _local2 = control.command.down;
if (Key.isDown(_local2)) {
action("k", "k_1_d");
}
}
}
function k_1(n, hit) {
if (control.test("k")) {
var o = this;
var _local2 = function () {
if (n > 0) {
o.action("k", "k_1_d");
} else {
trace("\uC131\uACF5");
o.action("k", "k_2_d");
}
};
var _local3 = function () {
if (n > 0) {
o.action("k", "k_1");
} else {
trace("\uC2E4\uD328");
o.action("k", "k_2");
}
};
trace("\uC544");
var _local4 = control.command.down;
if (Key.isDown(_local4)) {
trace("dddd");
_local2();
} else if (hit) {
_local2();
} else {
_local3();
}
finish();
}
}
function k_2(hit) {
if (control.test("k")) {
var o = this;
var _local2 = function () {
o.action("k", "k_2_d_m");
};
var _local3 = function () {
o.action("k", "k_2_m");
};
var _local4 = control.command.down;
if (Key.isDown(_local4)) {
_local2();
} else if (hit) {
_local2();
} else {
_local3();
}
finish();
}
}
function sweep() {
if (control.test("ssk")) {
if (mp(6)) {
action("sweep");
}
}
}
function sweep_1() {
if (control.test("k")) {
if (mp(6)) {
action("sweep");
finish();
}
}
}
function sub2() {
if (control.test("sdk") || (control.test("sak"))) {
if (mp(4)) {
action("sub2");
}
}
}
function sub2_() {
if (control.test("p")) {
if (mp(4)) {
action("sub2");
}
finish();
}
}
function sub2_1(n) {
if (n > 4) {
action("sub2", "sub2_1");
finish();
} else if ((control.test("k") || (control.test("p"))) || (control.test("D"))) {
if (n > 0) {
action("sub2", "sub2_1");
finish();
}
}
}
function ddk() {
if (control.test("ddk") || (control.test("aak"))) {
action("ddk");
}
}
function p() {
if (control.test("p")) {
if (mp(4)) {
action("p");
}
}
}
function asdk() {
if (control.test("asdk") || (control.test("dsak"))) {
if (mp(10)) {
action("asdk");
}
}
}
function a() {
if (control.test("A")) {
if (mp(6)) {
action("sweep");
}
}
}
function s() {
if (control.test("S")) {
if (mp(4)) {
action("p");
}
}
}
function d() {
if (control.test("D")) {
if (mp(4)) {
action("sub2");
}
}
}
function listener() {
var _o = this;
var _local3 = {};
_local3.onControll = function () {
var _local1 = _o;
_local1.statusInit();
if (_local1.air()) {
_local1.k_j();
} else {
_local1.jump();
_local1.dd();
_local1.p();
_local1.k();
_local1.sk();
_local1.a();
_local1.s();
_local1.d();
_local1.sub2();
_local1.sweep();
_local1.ddk();
_local1.asdk();
}
_local1.finish(true);
};
return(_local3);
}
}
Symbol 1174 MovieClip [__Packages.Hit_bullet] Frame 0
class Hit_bullet extends Element
{
var stop, cacheAsBitmap, sound_bullethit, _parent, swapDepths, removeMovieClip, listener;
function Hit_bullet () {
super();
powerApply();
init();
bulletLitstenerInit();
(stop());// not popped
}
function powerApply() {
var _local2 = this;
if (!_local2.v) {
_local2.v = 30;
}
_local2.m = 0.2;
_local2.dx = _local2.v * Math.cos(_local2.s);
_local2.dz = _local2.v * (-Math.sin(_local2.s));
}
function init() {
cacheAsBitmap = true;
sound_bullethit = new Sound();
sound_bullethit.attachSound("sound_bullethit");
_global.setTimeout(this, "fire", 1000);
}
function bulletLitstenerInit() {
var _local2 = this;
_local2.addEventListener("onEnterFrame", bulletHit());
}
static function bang(t, xx, yy, zz, ss, o) {
var _local2 = t.getNextHighestDepth();
var _local1 = t.attachMovie("bullet", "bullet" + _local2, _local2, {x:xx, y:yy, z:zz, s:ss});
func.union(_local1.hit, o);
_local1.makeTanpe();
return(_local1);
}
function makeTanpe() {
var _local2 = this;
var _local3 = _local2._parent;
var _local4 = _local3.getNextHighestDepth();
var _local5 = (_local2.s > (Math.PI/2)) || (_local2.s < -1.5707963267949);
var _local7 = _local3.attachMovie("ef_tanpe", "tanpe" + _local4, _local4, {x:_local2.x, y:_local2.y, z:_local2.z, b:_local5});
}
function fire() {
var _local2 = this;
_local2.dx = 0;
_local2.dy = 0;
_local2.dz = 0;
if (_local2._currentframe == 1) {
_local2.gotoAndPlay("fire");
}
}
function onFire() {
var _local2 = this;
var _local3 = _local2._parent.player;
_local3.removeHitList(_local2.number - 1);
_local2.remove();
}
function remove() {
var _local2 = _parent.getNextHighestDepth();
swapDepths(_local2);
removeMovieClip();
}
function bulletHit() {
var o = this;
listener.depth = {};
listener.depth.onEnterFrame = function () {
if ((o.z + o.dz) <= 0) {
o.fire();
}
};
return(listener.depth);
}
var instant = true;
}
Symbol 1175 MovieClip [__Packages.Destruct] Frame 0
class Destruct extends Element
{
var cacheAsBitmap;
function Destruct () {
super();
randomFrame();
powerApply();
init();
evaporation();
}
function randomFrame() {
var _local2 = this;
var _local3 = random(_local2._totalframes) + 1;
_local2.gotoAndStop(_local3);
}
function powerApply() {
var _local2 = this;
_local2.dx = _local2.dx + (random(21) - 10);
_local2.dy = _local2.dy + (random(21) - 10);
_local2.dz = _local2.dz + random(30);
_local2.ds = Math.atan2(_local2.dz, _local2.dx) / 2;
}
function init() {
cacheAsBitmap = true;
}
function evaporation() {
var o = this;
var _local2 = new mx.transitions.Tween(o, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, 2, true);
_local2.onMotionFinished = function () {
o.removeMovieClip();
};
}
}
Symbol 1176 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 1177 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 1178 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 1179 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 1180 MovieClip [__Packages.Shadow] Frame 0
class Shadow extends MovieClip
{
var listener;
function Shadow () {
super();
enterFrameEvent();
}
function enterFrameEvent() {
var _local2 = this;
listener = {};
mx.events.EventDispatcher.initialize(_local2);
_local2.onEnterFrame = function () {
this.dispatchEvent({type:"onEnterFrame"});
};
_local2.addEventListener("onEnterFrame", followListener());
}
function followListener() {
var o = this;
var _local3 = listener.follow;
if (_local3) {
return(_local3);
}
listener.follow = {};
listener.follow.onEnterFrame = function () {
var _local1 = o.target;
o._x = _local1.x;
o._y = _local1.y;
};
return(listener.follow);
}
}
Symbol 1181 MovieClip [__Packages.Tanpe] Frame 0
class Tanpe extends Destruct
{
var cacheAsBitmap;
function Tanpe () {
super();
powerApply();
init();
evaporation();
}
function powerApply() {
var _local2 = this;
_local2.dx = (((-((random(5) - 3) + 10)) * _local2._xscale) / 100) * (_local2.b ? -1 : 1);
_local2.dy = random(21) - 10;
_local2.dz = 15;
_local2.ds = Math.atan2(_local2.dz, _local2.dx) / 2;
}
function init() {
cacheAsBitmap = true;
}
function evaporation() {
var o = this;
var _local2 = new mx.transitions.Tween(o, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, 2, true);
_local2.onMotionFinished = function () {
o.removeMovieClip();
};
}
}
Symbol 1182 MovieClip [__Packages.nhn.glib.ui.Digit] Frame 0
class nhn.glib.ui.Digit extends MovieClip
{
var _parent, gotoAndStop, _currentframe, _visible, _x;
function Digit () {
super();
var _local3 = _parent;
if (_local3.digitset == undefined) {
_local3.digitset = new nhn.glib.ui.DigitSet(_local3);
}
var _local4 = _local3.digitset;
_local4.registerDigit(this);
_local4.number = 0;
}
function set number(n) {
gotoAndStop(n + 1);
//return(number);
}
function get number() {
return(_currentframe - 1);
}
function set visible(v) {
_visible = v;
//return(visible);
}
function get visible() {
return(_visible);
}
function before(dg) {
return(_x < dg._x);
}
}
Symbol 1183 MovieClip [__Packages.nhn.glib.ui.DigitSet] Frame 0
class nhn.glib.ui.DigitSet
{
var base_mc, arranged, figure, digits_array, align, width, right, left;
function DigitSet (mc) {
base_mc = mc;
arranged = false;
figure = "0";
digits_array = new Array();
}
function set number(v) {
if (!arranged) {
arrange();
}
figure = String(v);
var _local3 = digits_array.length;
var _local2 = 0;
while (_local2 < _local3) {
if (_local2 < figure.length) {
digits_array[_local2].number = numberAt(_local2);
digits_array[_local2].visible = true;
} else {
digits_array[_local2].number = 0;
digits_array[_local2].visible = false;
}
_local2++;
}
applyAlign(figure.length);
//return(number);
}
function applyAlign(length) {
if (align == "center") {
var _local3 = width / (digits_array.length - 1);
var _local4 = ((left + right) / 2) - (((length - 1) * _local3) / 2);
var _local2 = 0;
while (_local2 < length) {
digits_array[_local2]._x = _local4 + (_local2 * _local3);
_local2++;
}
}
}
function get number() {
return(Number(figure));
}
function registerDigit(dg) {
digits_array.push(dg);
arranged = false;
}
function numberAt(i) {
return(Number(figure.charAt((figure.length - i) - 1)));
}
function arrange() {
var _local4 = digits_array;
var _local7 = _local4.length;
var _local5;
var _local6;
var _local8;
var _local3 = 0;
while (_local3 < _local7) {
var _local2 = _local3;
while (_local2 < _local7) {
_local5 = _local4[_local3];
_local6 = _local4[_local2];
if (_local5.before(_local6)) {
_local8 = _local5;
_local4[_local3] = _local6;
_local4[_local2] = _local5;
}
_local2++;
}
_local3++;
}
right = _local4[_local4.length - 1]._x;
left = _local4[0]._x;
width = right - left;
arranged = true;
}
static var digitsets = new Object();
}
Symbol 1184 MovieClip [__Packages.ComboUI] Frame 0
class ComboUI extends MovieClip
{
var _visible, tx, _x, digitset, combolistener, tw_m, tw_w;
function ComboUI () {
super();
_visible = false;
tx = _x;
}
function comboup() {
combo++;
comboupdate();
}
function comboupdate() {
digitset.__set__number(combo);
if (!_visible) {
_visible = true;
motion();
} else {
wave();
}
_global.clearInterval(combolistener);
combolistener = _global.setTimeout(this, "comboreset", 800);
}
function comboreset() {
_visible = false;
combo = 0;
}
function motion() {
var o = this;
tw_m = new mx.transitions.Tween(this, "_x", mx.transitions.easing.Back.easeOut, tx + 100, tx, 0.3, true);
tw_m.onMotionFinished = function () {
o.tw_m = null;
};
}
function wave() {
if (!tw_m) {
tw_w = new mx.transitions.Tween(this, "_x", mx.transitions.easing.Strong.easeOut, tx - 20, tx, 0.2, true);
}
}
var combo = 0;
}
Symbol 1185 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 1186 MovieClip [__Packages.GageBar] Frame 0
class GageBar extends MovieClip
{
var _max, _value, onEnterFrame, target, _scope, frame_d, _totalframes, gotoAndStop;
function GageBar () {
super();
_max = 100;
_value = 100;
update();
var o = this;
onEnterFrame = function () {
o.update();
};
}
function get rate() {
return(_value / _max);
}
function init(target, scope) {
this.target = target;
_scope = scope;
var _local2 = target[scope];
_max = _local2;
_value = _local2;
}
function update() {
_value = target[_scope];
var _local2 = frame_d;
if (_value) {
if (_max) {
if (_max < _value) {
_max = _value;
}
_local2 = int((1 - rate) * (_totalframes - 1)) + 1;
frame_d = _local2;
}
}
gotoAndStop(_local2);
updateAfterEvent();
}
}
Symbol 1187 MovieClip [__Packages.EnemyGageBar] Frame 0
class EnemyGageBar extends GageBar
{
var _scope, target, _visible, lisner, _max, face;
function EnemyGageBar () {
super();
visible();
_scope = "hp";
}
function view(en) {
if (target != en) {
target = en;
retry(en);
}
revisible();
}
function revisible() {
var _local3 = this;
_visible = true;
clearInterval(lisner);
lisner = _global.setTimeout(_local3, "visible", 2500);
}
function visible() {
if (!target.hp) {
_visible = false;
}
}
function retry(en) {
_max = en.maxhp;
face.gotoAndStop(en.character);
}
}
Symbol 1188 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends Unit
{
var sound_destruct, sound_damage1, sound_damage2, listener, _parent;
function Enemy () {
super();
init_e();
}
function init_e() {
var _local2 = this;
_local2.addEventListener("onScene", enControllerListener());
_local2.addEventListener("onScene", enHitListener());
_local2.addEventListener("onScene", enAIListener());
_local2.addEventListener("onDie", enDestructListener());
AddEnemyList();
sound_destruct = new Sound();
sound_destruct.attachSound("sound_destruct");
sound_damage1 = new Sound();
sound_damage1.attachSound("sound_damage1");
sound_damage2 = new Sound();
sound_damage2.attachSound("sound_damage2");
}
function enControllerListener() {
var o = this;
listener.enController = {};
listener.enController.onScene = function () {
var _local1 = o._parent.player;
if (!o.motion) {
if (_local1) {
if (random(20) == 0) {
o.mode = "stand";
} else if (random(20) == 0) {
o.mode = "run";
}
if (random(70) == 0) {
o.motion = true;
o.status("k");
}
if ((o._parent.player.x - o.x) < 0) {
o._xscale = 100;
} else {
o._xscale = -100;
}
} else {
o.mode = "stand";
}
}
};
return(listener.enController);
}
function enHitListener() {
var o = this;
listener.enHit = {};
listener.enHit.onScene = function () {
var _local3 = o._parent.player;
var _local1 = o.hero.hit;
if (_local1) {
if (Math.abs(_local3.y - o.y) < 30) {
if (_local3.hero.bhit.hitTest(_local1)) {
var _local2 = (_local3.x - o.x) < 0;
_local3.damage(_local1, _local2);
o.dispatchEvent({type:"onAttack", t:_local3});
}
}
}
};
return(listener.enHit);
}
function enAIListener() {
var o = this;
listener.enAI = {};
listener.enAI.onScene = function () {
if (!o.motion) {
var _local1 = o._parent.player;
var _local4 = 5;
if (_local1) {
if (o.mode == "stand") {
o.status("stand");
} else if (o.mode == "run") {
o.status("run");
var _local3 = func.getdivxy(_local1, o, "_x");
var _local2 = func.getdivxy(_local1, o, "_y");
_local2 = _local2 - (_local1.z + o.z);
if ((Math.abs(_local3) > 50) && (Math.abs(_local3) > Math.abs(_local2))) {
o.x = o.x + (_local4 * (o._xscale / -100));
} else {
var _local5 = ((_local2 < 0) ? 1 : -1);
o.y = o.y + ((_local4 * _local5) / 2);
}
}
}
}
};
return(listener.enAI);
}
function enDestructListener() {
var o = this;
listener.enDestruct = {};
listener.enDestruct.onDie = function () {
var _local4 = o._parent;
var _local2 = 0;
while (_local2 < o.destruct_count) {
var _local1 = _local4.getNextHighestDepth();
var _local3 = o.character;
var _local5 = _local4.attachMovie("ef_destruct_" + _local3, "destruct_" + _local1, _local1, {x:o.x, y:o.y, z:o.z, dx:o.dx * 5, dy:o.dy * 5, dz:o.dz * 5});
_local2++;
}
_local4.player.expUp(o.maxhp);
o.sound_destruct.start();
};
return(listener.enDestruct);
}
function AddEnemyList() {
if (!_parent.depth) {
_parent.depth = 0;
}
_parent.depth++;
}
var destruct_count = 7;
}
Symbol 1189 MovieClip [__Packages.Enemy_mino] Frame 0
class Enemy_mino extends Enemy
{
var sound_destruct, sound_damage1, sound_damage2, listener;
function Enemy_mino () {
super();
mino_soundInit();
mino_initListener();
}
function mino_initListener() {
var _local2 = this;
_local2.addEventListener("onScene", mino_skillListener());
}
function mino_soundInit() {
sound_destruct = new Sound();
sound_destruct.attachSound("sound_destruct_tau");
sound_damage1 = new Sound();
sound_damage1.attachSound("sound_damage1_tau");
sound_damage2 = new Sound();
sound_damage2.attachSound("sound_damage2_tau");
}
function mino_skillListener() {
var o = this;
listener.skill = {};
listener.skill.onScene = function () {
var _local1 = o._parent.player;
if (!o.motion) {
if (_local1) {
if (random(70) == 0) {
o.motion = true;
o.status("ddk");
}
} else {
o.mode = "stand";
}
}
};
return(listener.skill);
}
var character = "mino";
var maxhp = 300;
var destruct_count = 20;
}
Symbol 1190 MovieClip [__Packages.Enemy_rugaru] Frame 0
class Enemy_rugaru extends Enemy
{
function Enemy_rugaru () {
super();
}
var character = "rugaru";
var maxhp = 1;
}
Symbol 1191 MovieClip [__Packages.Enemy_goblin1] Frame 0
class Enemy_goblin1 extends Enemy
{
function Enemy_goblin1 () {
super();
}
var character = "goblin1";
var maxhp = 1;
}
Symbol 1192 MovieClip [__Packages.BitmapDisplay] Frame 0
class BitmapDisplay
{
var sw, sh, root, area, display, bd, m, c, r, filter, listener;
function BitmapDisplay (input) {
trace(("BitmapDisplay:: init (input:" + input) + ")");
classInit(input);
bitmapInit();
}
function classInit(input) {
sw = Stage.width;
sh = Stage.height;
root = input._parent;
area = input;
var _local2 = root.getNextHighestDepth();
display = root.createEmptyMovieClip("display_" + _local2, _local2);
mx.events.EventDispatcher.initialize(display);
display.onEnterFrame = function () {
this.dispatchEvent({type:"onEnterFrame"});
};
}
function bitmapInit() {
bd = new flash.display.BitmapData(sw, sh, true, 16777215);
m = new flash.geom.Matrix();
c = new flash.geom.ColorTransform();
r = bd.rectangle;
filter = new flash.filters.BlurFilter(32, 32, 1);
listener = {};
}
function bdDraw() {
var o = this;
listener.bdDraw = {};
listener.bdDraw.onEnterFrame = function () {
var _local1 = o.area;
if (o.cls) {
o.bd.fillRect(o.r, 16777215);
o.bd.draw(_local1, o.m, o.c, "normal", o.r);
} else {
o.bd.applyFilter(o.bd, o.r, new flash.geom.Point(0, 0), o.filter);
o.bd.draw(_local1, o.m, o.c, o.blendMode, o.r);
}
};
return(listener.bdDraw);
}
function eventMachine(target) {
var o = this;
display.onEnterFrame = function () {
};
var _local2 = target.createEmptyMovieClip("eventMachine", target.getNextHighestDepth());
_local2.onEnterFrame = function () {
o.display.dispatchEvent({type:"onEnterFrame"});
};
}
function displayOn() {
if (area._visible) {
trace("BitmapDisplay::displayOn");
var _local2 = this;
area._visible = false;
display.swapDepths(area);
bd.draw(area, _local2.m, c, "normal", r);
display.attachBitmap(bd, 0);
display.addEventListener("onEnterFrame", bdDraw());
} else {
trace("BitmapDisplay::ERROR!!");
}
}
function displayOff() {
trace("BitmapDisplay::displayOff");
area._visible = true;
display.swapDepths(area);
bd.fillRect(r, 16777215);
display.removeEventListener("onEnterFrame", listener.bdDraw);
}
function update() {
displayOff();
displayOn();
}
function getBd() {
return(bd);
}
var blendMode = "normar";
var cls = true;
}
Symbol 1193 MovieClip [__Packages.BitmapBrush] Frame 0
class BitmapBrush extends BitmapDisplay
{
var display, listener, sw, sh, bd, area, root, r;
function BitmapBrush (input) {
super(input);
}
function brushOn() {
trace("BitmapDisplay::brushOn");
display.addEventListener("onEnterFrame", brushListener());
}
function brushOff() {
trace("BitmapDisplay::brushOff");
display.removeEventListener("onEnterFrame", listener.brush);
}
function blurOn() {
trace("BitmapDisplay::blurOn");
display.addEventListener("onEnterFrame", blurListener());
}
function blurOff() {
trace("BitmapDisplay::blurOff");
display.removeEventListener("onEnterFrame", listener.blur);
}
function photoshopOn() {
trace("BitmapDisplay::photoshopOn");
display.addEventListener("onEnterFrame", photoshopListener());
}
function photoshopOff() {
trace("BitmapDisplay::photoshopOff");
display.removeEventListener("onEnterFrame", listener.photoshop);
}
function brushListener() {
var o = this;
listener.brush = {};
listener.brush.onEnterFrame = function () {
var _local1 = 0;
while (_local1 < 10) {
o.burshing();
_local1++;
}
};
return(listener.brush);
}
function blurListener() {
var o = this;
listener.blur = {};
listener.blur.onEnterFrame = function () {
if (random(5) == 0) {
var _local1 = new flash.filters.BlurFilter(random(2) * 8, random(2) * 8, 1);
o.bd.applyFilter(o.bd, o.r, new flash.geom.Point(0, 0), _local1);
}
};
return(listener.blur);
}
function burshing() {
var _local5 = random(sw);
var _local4 = random(sh);
var _local2 = bd.getPixel32(_local5, _local4);
var _local7 = (_local2 >> 24) & 255;
if (_local7 > 220) {
var _local8 = (_local2 >> 16) & 255;
var _local12 = (_local2 >> 8) & 255;
var _local9 = _local2 & 255;
var _local11 = new flash.geom.ColorTransform(0, 0, 0, 0, _local8, _local12, _local9, _local7 / 2);
var _local3 = new flash.geom.Matrix();
var _local6 = func.getxy(area.field.unit.player);
_local3.rotate(Math.atan2((_local6._y - _local4) - 30, _local6._x - _local5));
_local3.translate(_local5, _local4 - 30);
var _local10 = root.brush_mc;
bd.draw(_local10, _local3, _local11, 1, r);
}
}
function photoshopListener() {
var o = this;
listener.photoshop = {};
listener.photoshop.onEnterFrame = function () {
var _local1 = o.bd;
var _local3 = o.bd.rectangle;
var _local2 = new ColorMatrix2();
_local2.adjustColor(-100, 100, 0, 0);
var _local5 = new flash.filters.ColorMatrixFilter(_local2);
_local1.applyFilter(_local1, _local3, new flash.geom.Point(0, 0), _local5);
var _local4 = new flash.filters.BlurFilter(16, 16, 1);
_local1.applyFilter(_local1, _local3, new flash.geom.Point(0, 0), _local4);
_local1.draw(o.area, o.m, o.c, 4);
};
return(listener.photoshop);
}
}
Symbol 1194 MovieClip [__Packages.ColorMatrix2] Frame 0
class ColorMatrix2 extends Array
{
var join, slice;
function ColorMatrix2 (p_matrix) {
super();
p_matrix = fixMatrix(p_matrix);
copyMatrix(((p_matrix.length == LENGTH) ? (p_matrix) : (IDENTITY_MATRIX)));
}
function adjustColor(p_brightness, p_contrast, p_saturation, p_hue) {
adjustHue(p_hue);
adjustContrast(p_contrast);
adjustBrightness(p_brightness);
adjustSaturation(p_saturation);
}
function adjustBrightness(p_val) {
p_val = cleanValue(p_val, 100);
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
multiplyMatrix([1, 0, 0, 0, p_val, 0, 1, 0, 0, p_val, 0, 0, 1, 0, p_val, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function adjustContrast(p_val) {
p_val = cleanValue(p_val, 100);
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
var _local2;
if (p_val < 0) {
_local2 = 127 + ((p_val / 100) * 127);
} else {
_local2 = p_val % 1;
if (_local2 == 0) {
_local2 = DELTA_INDEX[p_val];
} else {
_local2 = (DELTA_INDEX[p_val << 0] * (1 - _local2)) + (DELTA_INDEX[(p_val << 0) + 1] * _local2);
}
_local2 = (_local2 * 127) + 127;
}
multiplyMatrix([_local2 / 127, 0, 0, 0, 0.5 * (127 - _local2), 0, _local2 / 127, 0, 0, 0.5 * (127 - _local2), 0, 0, _local2 / 127, 0, 0.5 * (127 - _local2), 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function adjustSaturation(p_val) {
p_val = cleanValue(p_val, 100);
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
var _local2 = 1 + ((p_val > 0) ? ((3 * p_val) / 100) : (p_val / 100));
var _local5 = 0.3086;
var _local4 = 0.6094;
var _local6 = 0.082;
multiplyMatrix([(_local5 * (1 - _local2)) + _local2, _local4 * (1 - _local2), _local6 * (1 - _local2), 0, 0, _local5 * (1 - _local2), (_local4 * (1 - _local2)) + _local2, _local6 * (1 - _local2), 0, 0, _local5 * (1 - _local2), _local4 * (1 - _local2), (_local6 * (1 - _local2)) + _local2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function adjustHue(p_val) {
p_val = (cleanValue(p_val, 180) / 180) * Math.PI;
if ((p_val == 0) || (isNaN(p_val))) {
return(undefined);
}
var _local3 = Math.cos(p_val);
var _local2 = Math.sin(p_val);
var _local5 = 0.213;
var _local4 = 0.715;
var _local6 = 0.072;
multiplyMatrix([(_local5 + (_local3 * (1 - _local5))) + (_local2 * (-_local5)), (_local4 + (_local3 * (-_local4))) + (_local2 * (-_local4)), (_local6 + (_local3 * (-_local6))) + (_local2 * (1 - _local6)), 0, 0, (_local5 + (_local3 * (-_local5))) + (_local2 * 0.143), (_local4 + (_local3 * (1 - _local4))) + (_local2 * 0.14), (_local6 + (_local3 * (-_local6))) + (_local2 * -0.283), 0, 0, (_local5 + (_local3 * (-_local5))) + (_local2 * (-(1 - _local5))), (_local4 + (_local3 * (-_local4))) + (_local2 * _local4), (_local6 + (_local3 * (1 - _local6))) + (_local2 * _local6), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
function concat(p_matrix) {
p_matrix = fixMatrix(p_matrix);
if (p_matrix.length != LENGTH) {
return(undefined);
}
multiplyMatrix(p_matrix);
}
function clone() {
return(new ColorMatrix2(this));
}
function toString() {
return(("ColorMatrix2 [ " + join(" , ")) + " ]");
}
function toArray() {
return(slice(0, 20));
}
function copyMatrix(p_matrix) {
var _local3 = LENGTH;
var _local2 = 0;
while (_local2 < _local3) {
this[_local2] = p_matrix[_local2];
_local2++;
}
}
function multiplyMatrix(p_matrix) {
var _local6 = [];
var _local5 = 0;
while (_local5 < 5) {
var _local3 = 0;
while (_local3 < 5) {
_local6[_local3] = this[_local3 + (_local5 * 5)];
_local3++;
}
_local3 = 0;
while (_local3 < 5) {
var _local4 = 0;
var _local2 = 0;
while (_local2 < 5) {
_local4 = _local4 + (p_matrix[_local3 + (_local2 * 5)] * _local6[_local2]);
_local2++;
}
this[_local3 + (_local5 * 5)] = _local4;
_local3++;
}
_local5++;
}
}
function cleanValue(p_val, p_limit) {
return(Math.min(p_limit, Math.max(-p_limit, p_val)));
}
function fixMatrix(p_matrix) {
if (p_matrix instanceof ColorMatrix2) {
p_matrix = p_matrix.slice(0);
}
if (p_matrix.length < LENGTH) {
p_matrix = p_matrix.slice(0, p_matrix.length).concat(IDENTITY_MATRIX.slice(p_matrix.length, LENGTH));
} else if (p_matrix.length > LENGTH) {
p_matrix = p_matrix.slice(0, LENGTH);
}
return(p_matrix);
}
static var DELTA_INDEX = [0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0.16, 0.17, 0.18, 0.2, 0.21, 0.22, 0.24, 0.25, 0.27, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.53, 0.56, 0.59, 0.62, 0.65, 0.68, 0.71, 0.74, 0.77, 0.8, 0.83, 0.86, 0.89, 0.92, 0.95, 0.98, 1, 1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78, 1.84, 1.9, 1.96, 2, 2.12, 2.25, 2.37, 2.5, 2.62, 2.75, 2.87, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.3, 4.7, 4.9, 5, 5.5, 6, 6.5, 6.8, 7, 7.3, 7.5, 7.8, 8, 8.4, 8.7, 9, 9.4, 9.6, 9.8, 10];
static var IDENTITY_MATRIX = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
static var LENGTH = IDENTITY_MATRIX.length;
}
Symbol 1195 MovieClip [__Packages.ScrollField] Frame 0
class ScrollField
{
var listener, yscroll, field, sw, sh, x, y, rect, target;
function ScrollField (field) {
trace("\uCD08\uAE30\uD654");
listener = {};
yscroll = false;
this.field = field;
sw = Stage.width;
sh = Stage.height;
x = field._x;
y = field._y;
}
function get _x() {
return(x);
}
function get _y() {
return(y);
}
function set _x(n) {
field._x = n;
x = n;
//return(_x);
}
function set _y(n) {
field._y = n;
y = n;
//return(_y);
}
function fix(target, rect) {
this.rect = (rect ? (rect) : (new flash.geom.Rectangle(180, 75, sw - 360, sh - 150)));
this.target = target;
viewRange();
}
function viewRange() {
mx.events.EventDispatcher.initialize(field);
field.onEnterFrame = function () {
if ((!GameData.pause) || (GameData.pause == undefined)) {
this.dispatchEvent({type:"onEnterFrame"});
}
};
field.addEventListener("onEnterFrame", scrollListener());
}
function look(late) {
var _local3 = this;
var _local17 = target;
var _local16 = field.map;
var _local5 = _local17.getBounds(_root);
var _local4 = _local16.getBounds(_root);
var _local11 = _local5.xMax;
var _local13 = _local5.xMin;
var _local8 = _local4.xMax;
var _local10 = _local4.xMin;
if (_local3.yscroll) {
var _local12 = _local5.yMax;
var _local14 = _local5.yMin;
var _local9 = _local4.yMax;
var _local7 = _local4.yMin;
}
if (_local11 > rect.right) {
if (_local8 > _local3.sw) {
var _local18 = rect.right - _local11;
var _local6 = _local18 * late;
if ((_local8 + _local6) < _local3.sw) {
_local6 = sw - _local8;
}
_local3._x = _local3._x + _local6;
field.dispatchEvent({type:"onMoveX", v:_local6});
}
}
if (_local13 < rect.left) {
if (_local10 < 0) {
var _local18 = rect.left - _local13;
var _local6 = _local18 * late;
if ((_local10 + _local6) > 0) {
_local6 = -_local10;
}
_local3._x = _local3._x + _local6;
field.dispatchEvent({type:"onMoveX", v:_local6});
}
}
if (_local3.yscroll) {
if (_local12 > rect.top) {
if (_local9 > _local3.sh) {
var _local18 = rect.top - _local12;
var _local6 = _local18 * late;
if ((_local9 + _local6) < _local3.sh) {
_local6 = sh - _local9;
}
_local3._y = _local3._y + _local6;
field.dispatchEvent({type:"onMoveY", v:_local6});
}
}
if (_local14 < rect.bottom) {
if (_local7 < 0) {
var _local18 = rect.bottom - _local14;
var _local6 = _local18 * late;
if ((_local7 + _local6) > 0) {
_local6 = -_local7;
}
_local3._y = _local3._y + _local6;
field.dispatchEvent({type:"onMoveY", v:_local6});
}
}
}
}
function bgScroll(bg, late, loop) {
trace("ScrollField::bgScroll");
var o = this;
listener.bgScroll = {};
listener.bgScroll.onMoveX = function (target) {
var _local2 = target.v * late;
if (loop) {
var _local3 = bg.getBounds(_root);
var _local5 = _local3.xMax;
var _local4 = _local3.xMin;
if (_local5 < o.sw) {
_local2 = _local2 + (bg._width - o.sw);
}
if (_local4 > 0) {
_local2 = _local2 + ((-bg._width) + o.sw);
}
}
bg._x = bg._x + _local2;
};
field.addEventListener("onMoveX", listener.bgScroll);
}
function scrollListener() {
var o = this;
var t = target;
var map = field.map;
var _local14 = o.sw;
var _local15 = o.sh;
listener.scroll = {};
listener.scroll.onEnterFrame = function () {
var _local13 = o.rect;
var _local4 = t.getBounds(_root);
var _local2 = map.getBounds(_root);
var _local3 = _local4.xMax;
var _local8 = _local4.xMin;
var _local5 = _local2.xMax;
var _local11 = _local2.xMin;
if (o.yscroll) {
var _local7 = _local4.yMax;
var _local9 = _local4.yMin;
var _local10 = _local2.yMax;
var _local6 = _local2.yMin;
}
o.look(0.25);
if (o.field._currentframe == 1) {
if (_local3 > _local5) {
var _local12 = _local3 - _local5;
t._x = t._x - _local12;
t.x = t.x - _local12;
o.onRightHit();
}
} else if (_local3 > (_local5 - 100)) {
var _local12 = (_local3 - _local5) + 100;
t._x = t._x - _local12;
t.x = t.x - _local12;
o.onRightHit();
}
if (_local8 < _local11) {
var _local12 = _local8 - _local11;
t._x = t._x - _local12;
t.x = t.x - _local12;
o.onLeftHit();
}
if (o.yscroll) {
if (_local7 > _local10) {
var _local12 = _local7 - _local10;
t._y = t._y - _local12;
t.y = t.y - _local12;
o.onDownHit();
}
if (_local9 < _local6) {
var _local12 = _local9 - _local6;
t._y = t._y - _local12;
t.y = t.y - _local12;
o.onUpHit();
}
}
};
return(listener.scroll);
}
function removeAllListener() {
field.onEnterFrame = function () {
};
field.removeEventListener("onMoveX", listener.bgScroll);
field.removeEventListener("onEnterFrame", listener.scroll);
}
}
Symbol 1039 MovieClip Frame 1
function desa(str) {
if (str == "sm") {
_root.desa("sm", "\u4F55\u3060\u3088\u3001\u3057\u3051\u305F\u3068\u3053\u308D\u3060\u306A\u3002");
_root.desa("la", "\u898B\u308B\u304B\u3089\u306B\u521D\u5FC3\u8005\u3067\u3059\u3063\u3066\u9762\u306E\u82E5\u9020\u306B\u8A00\u308F\u308C\u305F\u304B\u306D\u3048\u306A\u2026\u2026\u3002\n\u304A\u524D\u3055\u3093\u3082\u82F1\u96C4\u306B\u306A\u308A\u305F\u304F\u3066\u6765\u305F\u306E\u304B\uFF1F\n\u3082\u3063\u3068\u5B9F\u529B\u3092\u3064\u3051\u3066\u304B\u3089\u306B\u3057\u305F\u65B9\u304C\u3044\u3044\u305C\uFF1F");
_root.desa("la", "\u6700\u8FD1\u306F\u304A\u524D\u3055\u3093\u307F\u3066\u3048\u306A\u30D2\u30E8\u3063\u5B50\u5263\u58EB\u304C\u540D\u8A89\u6B32\u3057\u3055\u306B\u7121\u8336\u3059\u308B\u306E\u3092\u3088\u304F\u898B\u308B\u3051\u3069\u3088\u3001\n\u4F55\u3088\u308A\u91CD\u8981\u306A\u306E\u306F\u751F\u304D\u6B8B\u308B\u4E8B\u3060\u305C\u3002");
_root.desa("sm", "\u30CF\u30A4\u30CF\u30A4\u3001\u5E74\u5BC4\u308A\u306E\u8AAC\u6559\u306F\u805E\u304D\u98FD\u304D\u3066\u308B\u3088\u3002\n\u4FFA\u306E\u5DE6\u624B\u304C\u898B\u3048\u306A\u3044\u304B\uFF1F\n\u3053\u3044\u3064\u3092\u898B\u3066\u3082\u307E\u3060\u305D\u3093\u306A\u3053\u3068\u304C\u8A00\u3048\u308B\u306E\u304B\uFF1F");
_root.desa("la", "\u9B3C\u5263\u58EB\u304B\u2026\u2026\u3069\u3044\u3064\u3082\u3053\u3044\u3064\u3082\u30ED\u30AF\u306A\u9023\u4E2D\u3058\u3083\u306D\u3048\u306A\u3002\n\u30D2\u30E8\u3063\u5B50\u3060\u308D\u3046\u304C\u30D9\u30C6\u30E9\u30F3\u3060\u308D\u3046\u304C\u4E00\u7DD2\u3060\u305C\u3002\n\u3067\u3001\u304A\u524D\u3055\u3093\u306F\u4F55\u3092\u671B\u3093\u3067\u3053\u3053\u307E\u3067\u6765\u305F\u3093\u3060\uFF1F");
_root.desa("sm", "\u5F53\u7136\u30A2\u30E9\u30C9\u6700\u5F37\u306E\u6226\u58EB\u3092\u5012\u3059\u3053\u3068\u3060\uFF01\n\u2026\u2026\u3063\u3066\u304A\u3044\u304A\u3044\u3001\u306A\u3093\u3060\u3088\u5446\u308C\u308B\u306A\u3088\u2026\u2026\u3002");
_root.desa("sm", "\u4FFA\u3060\u3063\u3066\u307E\u3068\u3082\u306A\u3068\u3053\u308D\u306F\u3042\u308B\u3093\u3060\u305C\uFF1F\n\u3042\u30FC\u3001\u305D\u3046\u3060\u306A\u3001\u4F8B\u3048\u3070\u2026\u2026\u5F31\u3044\u8005\u3044\u3058\u3081\u306F\u8A31\u305B\u306A\u3044\u306A\u3002");
_root.desa("la", "\u3078\u305D\u3046\u304B\u3044\u3002\u305D\u308C\u306A\u3089\u305D\u3046\u3044\u3046\u3053\u3068\u3092\u3059\u308B\u9023\u4E2D\u304C\u8FD1\u304F\u306B\u3044\u308B\u305C\u3002\n\u3044\u3058\u3081\u306F\u3044\u3051\u307E\u305B\u3093\u3063\u3066\u8AAC\u5F97\u3067\u3082\u3057\u3066\u307F\u308B\u304B\uFF1F\n\u307E\u3001\u9023\u4E2D\u306F\u304A\u524D\u3055\u3093\u306E\u624B\u306B\u306F\u8CA0\u3048\u306A\u3044\u304B\u3082\u3057\u308C\u306D\u3048\u3051\u3069\u306A\u3002");
_root.desa("sm", "\u304A\u3044\u304A\u3063\u3055\u3093\u3001\u55A7\u5629\u58F2\u3063\u3066\u3093\u306E\u304B\uFF1F");
_root.desa("la", "\u3044\u3084\u3044\u3084\u3001\u305D\u3093\u306A\u3053\u305F\u3042\u306D\u3048\u3088\u3002\n\u305F\u3060\u306A\u3001\u6751\u306E\u8FD1\u304F\u306B\u30B4\u30D6\u30EA\u30F3\u3069\u3082\u304C\u3084\u3063\u3066\u6765\u3061\u3083\u3042\u3061\u3087\u3063\u304B\u3044\u304B\u3051\u3066\u304F\u308B\u3093\u3060\u304C\u306A\u3001\n\u305D\u3044\u3064\u3089\u306E\u89AA\u5206\u306F\u304B\u306A\u308A\u8155\u304C\u7ACB\u3064\u3063\u3066\u8A71\u3060\u3002");
_root.desa("la", "\u3069\u3046\u3060\u3001\u5F31\u3044\u3082\u306E\u3044\u3058\u3081\u306F\u8A31\u305B\u306A\u3044\u3093\u3060\u308D\uFF1F");
_root.desa("sm", "\u305D\u308C\u3067\u3042\u3093\u305F\u306F\u4FFA\u3092\u3044\u3044\u3088\u3046\u306B\u4F7F\u304A\u3046\u3063\u3066\u3093\u3060\u308D\uFF1F\n\u4FFA\u304C\u30B4\u30D6\u30EA\u30F3\u3069\u3082\u3092\u5012\u3057\u305F\u3089\u898B\u8FD4\u308A\u304C\u3042\u308B\u306E\u304B\u3088\uFF1F");
_root.desa("la", "\u305D\u3046\u3060\u306A\u2026\u2026\u3002\n\u305D\u3093\u3068\u304D\u3083\u30D2\u30E8\u3063\u5B50\u3063\u3066\u8A00\u3063\u305F\u306E\u3092\u8A02\u6B63\u3057\u3066\u3084\u3089\u3042\u3002\n\u30AC\u30CF\u30CF\u30CF\u30CF\uFF01\uFF01\uFF01\uFF01");
} else if (str == "gunner") {
_root.desa("la", "\u3042\u3042\u3093\uFF1F\u306A\u3093\u3060\u3001\u6D41\u308C\u8005\u304B\u3002\n\u3053\u306E\u8FBA\u306F\u3088\u305D\u8005\u306B\u3083\u3042\u53B3\u3057\u3044\u3068\u3053\u308D\u3060\u305C\uFF1F");
_root.desa("gun", "\u2026\u2026\u3002");
_root.desa("la", "\u3061\u3083\u3093\u3068\u805E\u3044\u3066\u3093\u306E\u304B\uFF1F\n\u304A\u524D\u3055\u3093\u307F\u305F\u3044\u306A\u9752\u4E8C\u624D\u3058\u3083\u3042\u5F3E\u3092\u7121\u99C4\u306B\u3059\u308B\u3060\u3051\u2026\u2026\u3002");
_root.desa("gun", "\u5FE0\u544A\u306F\u7121\u7528\u3060\u3002\n\u4FFA\u306F\u30B0\u30E9\u30F3\u30D7\u30ED\u30EA\u30B9\u306B\u884C\u304B\u306D\u3070\u306A\u3089\u3093\u3002");
_root.desa("la", "\u30CF\u30C3\uFF01\u751F\u610F\u6C17\u306A\u91CE\u90CE\u3060\u3002\n\u30B0\u30E9\u30F3\u30D7\u30ED\u30EA\u30B9\u306D\u3048\u2026\u2026\u3002\n\u60B2\u3057\u3044\u306D\u3001\u304A\u524D\u3055\u3093\u307F\u305F\u3044\u306A\u82E5\u3044\u30AC\u30F3\u30CA\u30FC\u304C\u6B7B\u306B\u6025\u3050\u3068\u306F\u3088\u3002\n\u547D\u3092\u7C97\u672B\u306B\u3059\u308B\u3093\u3058\u3083\u306D\u3048\u3002");
_root.desa("la", "\u60AA\u3044\u4E8B\u306F\u8A00\u308F\u306D\u3048\u3001\u3088\u304F\u805E\u304D\u306A\u3002\n\u3080\u3084\u307F\u306B\u30A6\u30ED\u30A6\u30ED\u3059\u3093\u3058\u3083\u306A\u304F\u3066\u3060\u306A\u3002\n\u3082\u3046\u3061\u3063\u3068\u4FEE\u884C\u3092\u7A4D\u3093\u3067\u304B\u3089\u306B\u3057\u306A\u3002");
_root.desa("gun", "\u3075\u3093\u2026\u2026\u78BA\u304B\u306B\u30B0\u30E9\u30F3\u30D7\u30ED\u30EA\u30B9\u306F\u5371\u967A\u306A\u5834\u6240\u3060\u3068\u805E\u304F\u3002\n\u3057\u304B\u3057\u4FFA\u306F\u884C\u304B\u306D\u3070\u306A\u3089\u3093\u306E\u3060\u3002");
_root.desa("la", "\u7121\u8B00\u306A\u91CE\u90CE\u3060\u2026\u2026\u30CF\u30CF\u3002\n\u30B0\u30E9\u30F3\u30D7\u30ED\u30EA\u30B9\u306B\u884C\u304F\u3063\u3066\u3084\u3064\u306F\u591A\u3044\u304C\u306A\u3001\u5E30\u3063\u3066\u6765\u305F\u3084\u3064\u306F\u307B\u3068\u3093\u3069\u3044\u306D\u3048\u3093\u3060\u3088\u3002");
_root.desa("la", "\u30BE\u30C3\u3068\u3059\u308B\u306D\u3002\n\u3060\u304C\u4FFA\u306E\u4F9D\u983C\u3092\u679C\u305F\u305B\u308B\u3063\u3066\u3093\u306A\u3089\u5927\u4E08\u592B\u304B\u3082\u306A\u3002 \n\u4FFA\u3054\u3068\u304D\u306E\u983C\u307F\u3082\u3067\u304D\u306D\u3048\u3063\u3066\u3093\u306A\u3089\u751F\u304D\u3066\u5E30\u308C\u308B\u3068\u306F\u601D\u3048\u306D\u3048\u3088\u3002");
_root.desa("gun", "\u2026\u2026\u3002");
_root.desa("la", "\u3053\u306E\u8FD1\u304F\u306B\u30B4\u30D6\u30EA\u30F3\u65CF\u304C\u4F4F\u307F\u3064\u3044\u3066\u3084\u304C\u308B\u3002\n\u3084\u3064\u3089\u306E\u305B\u3044\u3067\u8FD1\u304F\u306E\u6751\u306E\u9023\u4E2D\u304C\u4E0D\u5B89\u304C\u3063\u3066\u307E\u3068\u3082\u306B\u5916\u3082\u6B69\u3051\u306D\u3048\u3002");
_root.desa("la", "\u306A\u3042\u5144\u3061\u3083\u3093\u3001\u3069\u3046\u3060\u3044\uFF1F\n\u307E\u30FB\u3055\u30FB\u304B\u3001\u30B4\u30D6\u30EA\u30F3\u304C\u6050\u3044\u3063\u3066\u3053\u3068\u306F\u306D\u3048\u3088\u306A\u3042\uFF1F");
_root.desa("gun", "\u3044\u3044\u3060\u308D\u3046\u3002\n\u884C\u3063\u3066\u3084\u308B\u3002");
} else if (str == "fighter") {
_root.desa("la", "\u306A\u3093\u3060\u3044\u304A\u5B22\u3055\u3093\u3001\u3053\u3093\u306A\u3080\u3055\u304F\u308B\u3057\u3044\u6240\u306B\u4F55\u306E\u7528\u3060\uFF1F");
_root.desa("f", "\u3042\u305F\u3057\u306F\u300E\u304A\u5B22\u3055\u3093\u300F\u3058\u3083\u306A\u3044\u3002\n\u3042\u305F\u3057\u3092\u5973\u3068\u3042\u306A\u3069\u3063\u3066\u6065\u3092\u304B\u3044\u305F\u7537\u306F\u4E00\u4EBA\u4E8C\u4EBA\u3058\u3083\u306A\u3044\u3093\u3060\u3002\u899A\u3048\u3068\u304D\u306A\u3002");
_root.desa("f", "\u304A\u3063\u3055\u3093\u3060\u3063\u3066\u3042\u305F\u3057\u306E\u62F3\u3067\u3076\u3061\u306E\u3081\u3055\u308C\u305F\u304F\u306F\u306A\u3044\u3060\u308D\uFF1F\n\u305D\u308C\u3068\u3082\u305D\u3046\u3044\u3046\u8DA3\u5473\u3067\u3082\u3042\u308B\u306E\u304B\u3044\uFF1F");
_root.desa("la", "\u30CF\u30CF\u30CF\u3001\u8840\u306E\u6C17\u306E\u591A\u3044\u300E\u91CE\u90CE\u300F\u3060\u306A\u3002\n\u683C\u95D8\u5BB6\u3060\u3063\u305F\u3089\u3082\u3063\u3068\u843D\u3061\u7740\u3044\u305F\u65B9\u304C\u3044\u3044\u305C\u3002");
_root.desa("la", "\u3067\u3001\u4F55\u3057\u306B\u3053\u3093\u306A\u3068\u3053\u307E\u3067\u6765\u305F\u3093\u3060\uFF1F\n\u3053\u3093\u306A\u7530\u820E\u306B\u3083\u4F55\u306B\u3082\u306D\u3048\u305C\uFF1F\n\u307E\u3055\u304B\u7537\u3092\u63A2\u3057\u306B\u6765\u305F\u3063\u3066\u3053\u3068\u3058\u3083\u306D\u3048\u3060\u308D\u3046\u3057\u306A\u3001\u30AC\u30CF\u30CF\u30CF\u30CF\u3002");
_root.desa("f", "\u30D5\u30F3\u3001\u7537\u306A\u3093\u304B\u306B\u3083\u8208\u5473\u306F\u306A\u3044\u3088\u3002\n\u3042\u305F\u3057\u306F\u305F\u3060\u2026\u2026\u3002");
_root.desa("la", "\u8A00\u308F\u308C\u306A\u304F\u3066\u3082\u308F\u304B\u3063\u3066\u3089\u3042\u3002\n\u304A\u524D\u3055\u3093\u307F\u305F\u3044\u306A\u683C\u95D8\u5BB6\u306F\u8155\u3092\u78E8\u304F\u4E8B\u306B\u3057\u304B\u8208\u5473\u306F\u306D\u3048\u3002\n\u305D\u3053\u3093\u3068\u3053\u306F\u304A\u524D\u3055\u3093\u3082\u4ED6\u306E\u9023\u4E2D\u3068\u4E00\u7DD2\u307F\u3066\u3048\u3060\u306A\u3002");
_root.desa("la", "\u3053\u306E\u5148\u306E\u907A\u8DE1\u306B\u6311\u3093\u3060\u9023\u4E2D\u306F\u308F\u3093\u3055\u304B\u3044\u308B\u305C\u3002\n\u304A\u524D\u3055\u3093\u3082\u6311\u6226\u3057\u3066\u307F\u308B\u304B\u3044\uFF1F\n\u305D\u3044\u3064\u3089\u304C\u884C\u3063\u305F\u5148\u306A\u3089\u6848\u5185\u3067\u304D\u308B\u305C\uFF1F");
_root.desa("f", "\u305D\u308C\u306F\u3042\u308A\u304C\u305F\u3044\u306D\u3002\n\u3069\u3046\u884C\u3051\u3070\u3044\u3044\u304B\u6559\u3048\u3066\u304F\u308C\u308B\u304B\u3044\uFF1F");
_root.desa("la", "\u3044\u3044\u5EA6\u80F8\u3060\u306A\u3002\n\u6751\u304B\u3089\u51FA\u3066\u5317\u306B\u307E\u3063\u3059\u3050\u884C\u304D\u306A\u3002\n\u3060\u304C\u6C17\u3092\u4ED8\u3051\u308D\u3088\u3002\n\u30B4\u30D6\u30EA\u30F3\u3069\u3082\u306E\u7E04\u5F35\u308A\u304C\u3042\u308B\u304B\u3089\u306A\u3002");
_root.desa("f", "\u30CF\u30C3\u3001\u80A9\u6163\u3089\u3057\u3050\u3089\u3044\u306B\u306F\u306A\u308B\u3060\u308D\u3046\u3055\u3002");
_root.desa("la", "\u6C17\u3092\u4ED8\u3051\u308B\u3053\u3063\u305F\u306A\u3002\n\u6751\u4EBA\u304C\u4F55\u4EBA\u304B\u3084\u3089\u308C\u3066\u308B\u3002\n\u304A\u524D\u3055\u3093\u306E\u5E78\u904B\u3092\u7948\u3063\u3068\u3044\u3066\u3084\u308B\u3088\u3002");
}
_root.talk_start();
}
mg.onEnterFrame = function () {
var _local4 = this._parent._parent.unit.player;
if (_local4.hitTest(this)) {
_root.truePause();
desa(_parent._parent._parent.character);
_root.mb.onTalkEnd = function () {
_root.trueUnpause();
};
this.onEnterFrame = false;
}
};
Symbol 1067 MovieClip Frame 1
stop();
onEnterFrame = function () {
var _local3 = _parent._parent.unit.player;
if (this.hitTest(_local3)) {
if (_alpha > 50) {
_alpha = (_alpha - 5);
}
} else if (_alpha < 100) {
_alpha = (_alpha + 5);
}
};
Symbol 1067 MovieClip Frame 24
stop();
Symbol 1068 MovieClip Frame 1
function desa(str) {
if (str == "sm") {
_root.desa("sm", "\u3042\u306E\u304A\u3063\u3055\u3093\u306E\u8A00\u3063\u305F\u901A\u308A\u5ACC\u306A\u7A7A\u6C17\u3060\u306A\u3002");
_root.desa("sm", "\u9B3C\u624B\u304C\u3046\u305A\u304F\u305C\u3002\u4F55\u304B\u8FD1\u3065\u3044\u3066\u304D\u3084\u304C\u3063\u305F\u306A\u3002");
} else if (str == "gunner") {
_root.desa("gun", "\u3069\u3046\u3082\u9670\u6C17\u306A\u5834\u6240\u3060\u306A\u3002\n\u30B4\u30D6\u30EA\u30F3\u306B\u306F\u4F3C\u5408\u3044\u304B\u3002");
_root.desa("gun", "\u30D5\u30F3\u2026\u2026\u3002");
} else if (str == "fighter") {
_root.desa("f", "\u5ACC\u306A\u96F0\u56F2\u6C17\u3060\u306D\u2026\u2026\u3002\n\u6BBA\u6C17\u304C\u30D7\u30F3\u30D7\u30F3\u3059\u308B\u3088\u3002");
_root.desa("f", "\u307E\u3063\u305F\u304F\u3001\u3055\u3063\u3055\u3068\u51FA\u3066\u304D\u306A\u3002\n\u3053\u3061\u3068\u3089\u6C17\u304C\u77ED\u3044\u3093\u3060\u3002");
}
_root.talk_start();
}
mg.onEnterFrame = function () {
var _local4 = this._parent._parent.unit.player;
if (_local4.hitTest(this)) {
_root.truePause();
desa(_parent._parent._parent.character);
_root.mb.onTalkEnd = function () {
_root.trueUnpause();
};
this.onEnterFrame = false;
}
};
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1077 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 920 MovieClip [enemy2] in Symbol 1082 MovieClip Frame 1
/* no clip actions */
Symbol 1086 MovieClip Frame 1
function desa(str) {
if (str == "sm") {
_root.desa("la", "\u30D2\u30E8\u3063\u5B50\u3060\u3068\u601D\u3063\u305F\u304C\u3084\u308B\u3058\u3083\u306D\u3048\u304B\u3002\u3057\u304B\u3057\u3053\u3093\u306A\u82E5\u50E7\u304C\u306D\u3047\u2026\u2026\u3082\u3046\u3061\u3087\u3063\u3068\u96E3\u3057\u3044\u3053\u3068\u3067\u3082\u3088\u304B\u3063\u305F\u304B\u3082\u306A\u3002");
} else if (str == "gunner") {
_root.desa("la", "\u304A\u524D\u3055\u3093\u306E\u9283\u306E\u8155\u524D\u306F\u3082\u306E\u3059\u3052\u3048\u306A\u3002\u306A\u3042\u3001\u307E\u305F\u4ED6\u306E\u5192\u967A\u3092\u3057\u3066\u307F\u306D\u3048\u304B\uFF1F");
} else if (str == "fighter") {
_root.desa("la", "\u3059\u3052\u3048\u306A\u3001\u3042\u3093\u305F\u3088\u308A\u7D20\u65E9\u3044\u683C\u95D8\u5BB6\u306F\u898B\u305F\u3053\u3068\u304C\u306D\u3048\u3088\u3002\u3082\u3063\u3068\u5F37\u3044\u76F8\u624B\u3092\u63A2\u3057\u305F\u65B9\u304C\u3044\u3044\u3093\u3058\u3083\u306D\u3048\u304B\uFF1F");
}
_root.talk_start();
}
mg.onEnterFrame = function () {
var _local4 = this._parent._parent.unit.player;
if (_local4.hitTest(this)) {
_root.truePause();
desa(_parent._parent._parent.character);
_root.mb.onTalkEnd = function () {
_root.trueUnpause();
};
this.onEnterFrame = false;
}
};
Symbol 1087 MovieClip Frame 1
stop();
var d = 0;
helpbox.onEnterFrame = function () {
var _local2 = this;
var _local3 = _local2._parent.unit.player;
_local2._x = _local3._x;
_local2._y = _local3._y;
if (_local2.getDepth() != (_local3.getDepth() + 1)) {
_local2.swapDepths(_local3.getDepth() + 1);
}
if ((_local2._x > 700) || (d)) {
d++;
if (((_local2._alpha = _local2._alpha - d)) < 0) {
var _local4 = _local2._parent.getNextHighestDepth();
_local2.swapDepths(_local4);
_local2.removeMovieClip();
}
}
};
Symbol 1087 MovieClip Frame 6
_parent._parent.ending = true;
Symbol 1138 MovieClip Frame 1
hpGage.init(field.unit.player, "hp");
mpGage.init(field.unit.player, "mp");
expGage.init(field.unit.player, "exp");
Symbol 1143 MovieClip Frame 1
stop();
Symbol 1143 MovieClip Frame 18
stop();
onBlack();
delete onBlack;
Symbol 1143 MovieClip Frame 33
onAlpha();
delete onAlpha;
Symbol 1146 MovieClip Frame 1
stop();
Symbol 1149 MovieClip Frame 1
stop();
Symbol 1149 MovieClip Frame 2
stop();
Symbol 1151 MovieClip Frame 1
stopAllSounds();
Symbol 1151 MovieClip Frame 2
stop();
Symbol 1157 Button
on (release) {
getURL ("http://arad.hangame.co.jp/", "_blank");
}