Frame 1
stopAllSounds();
delete onMouseDown;
var init;
this.play();
if (init == undefined) {
init = true;
var version = 1.08;
Stage.scaleMode = "noScale";
var playerString = getVersion();
index1 = playerString.indexOf(" ", 0);
index2 = playerString.indexOf(",", 0);
player = Number(playerString.substr(index1 + 1, (index2 - index1) - 1));
playererror = isNaN(player) || (player < 7);
if (playererror) {
load_mc._visible = false;
}
}
load_mc.view(this.getBytesLoaded() / this.getBytesTotal());
Frame 2
if ((this._framesloaded >= 3) && (playererror)) {
this.gotoAndPlay(3);
} else if (this._framesloaded < this._totalframes) {
this.gotoAndPlay(1);
} else {
this.gotoAndPlay(7);
}
Frame 3
wait = "wait4";
prevact = function () {
this.gotoAndStop(wait);
};
nextact = function () {
this.gotoAndStop(wait);
};
delete onMouseDown;
this.gotoAndStop(wait);
Frame 4
prevact();
Frame 6
nextact();
Frame 7
function hop(x, y) {
if ((this.px == null) || (this.px == undefined)) {
this.py = this._y;
this.px = this._x;
}
this.ex = (575 - x) - ((this.px * 50) / 100);
this.ey = (300 - y) - ((this.py * 50) / 100);
this.rot = Math.floor(Math.random() * 4) - 1;
this.peakx = (Math.random() * 450) - 450;
this.peaky = (Math.random() * 300) - 300;
this.offset = Math.floor((this.px + 150) / 40);
this.frames = 20;
this.count = this.frames;
this.offset2 = Math.floor(Math.random() * 15);
this.frames2 = 50 - this.offset2;
this.count2 = this.frames2;
this.action = function () {
if (this.count > -10) {
this._x = this.px;
this._y = (-100 * Math.max(0, Math.sin((Math.PI * (this.offset + this.count)) / this.frames))) + this.py;
this._xscale = 100 * Math.cos(((Math.PI*2) * Math.min(Math.max(this.offset + this.count, 0), this.frames)) / this.frames);
this._yscale = 100;
this.count = this.count - 1;
this._rotation = 0;
} else if (this.offset2 > 0) {
this.offset2 = this.offset2 - 1;
} else {
this._x = ((this.peakx * Math.sin(Math.PI * (1 - (this.count2 / this.frames2)))) + (this.ex * (1 - (this.count2 / this.frames2)))) + this.px;
this._y = ((this.peaky * Math.sin(Math.PI * (1 - (this.count2 / this.frames2)))) + (this.ey * (1 - (this.count2 / this.frames2)))) + this.py;
this._xscale = ((((((99 * this.count2) / this.frames2) + 50) - 49) * Math.sin((Math.PI*2) * (1 - (this.count2 / this.frames2)))) + ((50 * this.count2) / this.frames2)) + 50;
this._yscale = this._xscale;
this._rotation = ((-360 * this.rot) * this.count2) / this.frames2;
this.count2 = this.count2 - 1;
if (this.count2 < -1) {
delete this.onEnterFrame;
gotoAndStop ("title");
}
}
};
this.onEnterFrame = this.action;
this.action();
}
function hopset(targetmc, basemc) {
for (i in targetmc) {
if (typeof(targetmc[i]) == "movieclip") {
targetmc[i].hop = this.hop;
targetmc[i].hop(basemc._x, basemc._y);
}
}
}
_global.control = new GameControl();
control.globalsound = new Sound();
control.dataversion = version;
control.localload();
hopset(load2_mc, load2_mc);
wait = "wait1";
prevact = function () {
this.gotoAndStop(1);
};
nextact = function () {
this.gotoAndStop("title");
};
onMouseDown = function () {
this.gotoAndStop("title");
};
this.gotoAndStop(wait);
Frame 8
prevact();
Frame 10
nextact();
Frame 11
this.title_mc.changer = changer_mc;
control.localsave();
wait = "wait2";
prevact = function () {
this.gotoAndStop(1);
};
nextact = function () {
this.gotoAndStop("game");
};
delete onMouseDown;
this.gotoAndStop(wait);
Frame 12
prevact();
Frame 14
nextact();
Frame 15
control.localsave();
control.main = main_mc;
control.initialize();
this.main_mc.changer = changer_mc;
this.main_mc.gotoAndStop("stop");
wait = "wait3";
prevact = function () {
this.gotoAndStop("title");
};
nextact = function () {
this.gotoAndStop(wait);
};
delete onMouseDown;
this.gotoAndStop(wait);
Frame 16
prevact();
Frame 18
nextact();
Symbol 22 MovieClip Frame 1
this.stop();
var numberwatcher = function (prop, oldVal, newVal) {
numVal = Number(newVal);
if (isNaN(numVal)) {
this._visible = false;
} else {
this._visible = true;
this.gotoAndStop(numVal + 2);
}
return(newVal);
};
this.watch("num", numberwatcher);
num = num;
Symbol 24 MovieClip Frame 1
function view(loaded) {
mask_mc._y = inity - (loaded * mask_mc._height);
var _local1 = Math.floor(loaded * 100).toString();
n1_mc.num = _local1.charAt(_local1.length - 1);
n2_mc.num = _local1.charAt(_local1.length - 2);
n3_mc.num = _local1.charAt(_local1.length - 3);
}
this.stop();
var inity = mask_mc._y;
Symbol 535 MovieClip [__Packages.GameControl] Frame 0
class GameControl
{
static var savedata, commondata;
var vx, vy, px, py, r, scale, toggleflag, slowcount, charapos, chara_array, youko, nanaka, nanakasub, misato, touko, combo, kiri, miki, lastchara, cffcount, cffs, nogravity, nolimit, hitenabled, metermode, globalsound, dataversion, i_angle, i_power, main, speed, tmpx, tmpy, taichi, nanakaobj, slowinterval, contact, aerial;
function GameControl () {
}
function initialize() {
vx = 0;
vy = 0;
px = 0;
py = 0.5;
r = 0;
scale = 100;
toggleflag = true;
slowcount = 0;
charapos = 0;
chara_array = new Array();
youko = false;
nanaka = false;
nanakasub = 0;
misato = false;
touko = false;
combo = false;
kiri = false;
miki = false;
lastchara = null;
cffcount = 0;
cffs = null;
nogravity = false;
nolimit = false;
hitenabled = true;
}
function initvalue(val, init) {
if ((val == undefined) || (val == undefined)) {
return(init);
}
return(val);
}
function localload() {
savedata = SharedObject.getLocal("nanaca-crash/save", "/");
commondata = SharedObject.getLocal("nanaca-crash/common", "/");
bestrecord = initvalue(savedata.data.datarecord, 0);
_quality = initvalue(commondata.data.qualitysetting, "MEDIUM");
metermode = initvalue(commondata.data.metersetting, 0);
globalsound.setVolume(initvalue(commondata.data.soundsetting, 100));
}
function localclear() {
bestrecord = 0;
localsave();
}
function localsave() {
localset();
savedata.flush();
commondata.flush();
}
function localset() {
savedata.data.dataversion = dataversion;
savedata.data.datarecord = bestrecord;
commondata.data.qualitysetting = _quality;
commondata.data.soundsetting = globalsound.getVolume();
commondata.data.metersetting = metermode;
}
function gamestart() {
vx = (0.3 * i_power) * Math.cos((i_angle * Math.PI) / 180);
vy = (0.3 * i_power) * Math.sin((i_angle * Math.PI) / 180);
main.gotoAndPlay("start");
}
function get best() {
return((Math.floor(bestrecord) + ".") + Math.floor((Math.abs(bestrecord) + 1) * 100).toString().substr(-2));
}
function speedblind(blind) {
speed.blind(blind);
speed.view(vx, vy);
}
function setspecial(chara, flag) {
switch (chara) {
case characode.misato :
misato = flag;
break;
case characode.touko :
touko = flag;
break;
case characode.kiri :
kiri = flag;
break;
case characode.miki :
miki = flag;
break;
case characode.youko :
youko = flag;
break;
case characode.nanaka :
nanaka = flag;
}
}
function boost(power, angle) {
var _local2 = docffboost(power);
vx = vx + (_local2 * Math.cos((angle * Math.PI) / 180));
vy = Math.abs(vy) + (_local2 * Math.sin((angle * Math.PI) / 180));
}
function vpush() {
tmpx = vx;
tmpy = vy;
}
function vpop() {
vx = tmpx;
vy = tmpy;
}
function cffclear() {
cffs = null;
main.changecolor(color_n);
taichi.changecolor(color_n, 20);
}
function setcffa() {
taichi.setcff(cffs, 0, cffcount);
cffs = 0;
cffcount = cffcount + 30;
main.changecolor(color_a);
taichi.changecolor(color_a, 40);
}
function setcffb() {
taichi.setcff(cffs, 1, cffcount);
cffs = 1;
cffcount = cffcount + 20;
main.changecolor(color_b);
taichi.changecolor(color_b, 40);
}
function setcffc() {
taichi.setcff(cffs, 2, cffcount);
cffs = 2;
vpush();
speedblind(true);
vx = 10;
vy = 20;
nogravity = true;
cffcount = cffcount + 30;
main.changecolor(color_c);
taichi.changecolor(color_c, 40);
}
function setcffd() {
taichi.setcff(cffs, 3, cffcount);
cffs = 3;
cffcount = cffcount + 30;
main.changecolor(color_d);
taichi.changecolor(color_d, 40);
}
function docffboost(b_power) {
if (cffs == 0) {
cffcount = cffcount - 10;
if (cffcount <= 0) {
cffcount = 0;
cffclear();
}
taichi.cffa();
return(b_power * 2);
}
if ((cffs == 1) && (cffcount < 60)) {
cffcount = Math.min(cffcount + (b_power * 0.2), 60);
taichi.cffbc();
return(b_power * 0.9);
}
return(b_power);
}
function docffb() {
if (((((((vx < 2) && (vy <= 0)) && (py < 5)) && (py <= (((-vy) * vy) / g))) && (hitenabled)) && (slowcount == 0)) && (!nogravity)) {
cffclear();
boost(cffcount, 45);
cffcount = 0;
taichi.cffbd();
}
}
function docffc() {
if (py > 2.3) {
slowcount = 0;
nolimit = true;
py = 2.3;
vx = 55;
vy = 0;
taichi.cffc();
} else {
cffcount = cffcount - (((vx * interval) / 1000) * 30);
if (cffcount <= 0) {
vpop();
speedblind(false);
nogravity = false;
nolimit = false;
cffcount = 0;
cffclear();
taichi.cffcstop();
} else {
taichi.cffcview();
}
}
}
function docffd() {
cffcount = cffcount - 6;
if (cffcount <= 0) {
cffcount = 0;
cffclear();
}
taichi.cffd();
vy = Math.sqrt(Math.max((vy * vy) - ((2 * g) * py), 0)) * 1.1;
vx = vx * 1.1;
}
function aerialcrash(upper) {
nanakaobj.aerial(upper);
}
function aerialboost() {
var _local2;
_local2 = Math.atan2(vy, vx) * 0.9;
vx = vx + (10 * Math.cos(_local2));
vy = vy + (10 * Math.sin(_local2));
vy = -vy;
}
function cff(charatype) {
nanakaobj.cff(charatype);
}
function slow(frames, interval) {
slowcount = frames;
slowinterval = interval;
}
function slow2(frames, distance) {
slowcount = frames;
slowinterval = Math.min(interval, (distance / Math.sqrt((vx * vx) + (vy * vy))) / frames);
}
function initchara(chara, code) {
chara.charatype = code;
chara.hittarget = taichi.taichi_mc;
chara_array.splice(Math.floor(Math.random() * (chara_array.length + 1)), 0, chara);
chara.controll = this;
chara.charaface = contact.getchara(code);
}
function setchara(chara) {
chara_array.splice(Math.floor(Math.random() * (chara_array.length + 1)), 0, chara);
}
function getchara(pos) {
var _local2;
_local2 = GameCharacter(chara_array.pop());
_local2.setposition(pos);
lastchara = _local2.charatype;
}
function backeffect(effect, param) {
main.backeffect(effect, param);
}
function moveobj() {
var _local2;
var _local3;
if (cffs == 1) {
docffb();
} else if (cffs == 2) {
docffc();
}
if ((((py == 0) && (slowcount == 0)) && (vx < 0.0001)) && (vy < 0.0001)) {
vx = 0;
vy = 0;
main.viewscore(px, py, bestrecord == px, vx, vy);
localset();
main.gameover();
} else {
toggleflag = !toggleflag;
if (slowcount > 0) {
_local2 = Math.min(slowinterval, 0.853333333333333 / Math.max(vx, Math.abs(vy) - (g * slowinterval)));
slowcount--;
} else if (nolimit) {
_local2 = interval;
} else {
_local2 = Math.min(interval, (0.853333333333333 * Math.max(1, (-8.2 / py) + 2.8)) / Math.max(vx, Math.abs(vy) - (g * interval)));
}
px = px + (vx * _local2);
if (nogravity) {
py = py + (vy * _local2);
} else {
py = py + ((((g * _local2) / 2) + vy) * _local2);
vy = vy + (g * _local2);
if (py < 0) {
if (cffs == 3) {
docffd();
} else {
vy = Math.sqrt(Math.max((vy * vy) - ((2 * g) * py), 0)) * ey;
vx = vx * ex;
taichi.bound(vx, vy);
}
py = 0;
setspecial(characode.misato, false);
}
}
_local3 = scale;
scale = Math.floor(Math.min(Math.max(205.13 / py, 20), Math.max(scale - 2, 75)) / 0.1) * 0.1;
r = r + Math.min((vx * _local2) * 30, 30);
if ((px + 20) >= charapos) {
charapos = charapos + 10;
getchara(charapos);
}
bestrecord = Math.max(bestrecord, px);
if (toggleflag) {
main.viewscore(px, py, bestrecord == px, vx, vy);
}
aerial.view(((py <= 10) && (py >= 3)) && (hitenabled), vy <= 0, _local2);
main.moveobj(px, py, Math.round(r), scale, scale != _local3);
}
}
var characode = {misato:1, touko:2, kiri:3, miki:4, youko:5, sakuraba:6, tomoki:7, nanaka:8};
static var color_a = {ra:100, rb:0, ga:100, gb:128, ba:100, bb:0, aa:100, ab:0};
static var color_b = {ra:100, rb:128, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var color_c = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:128, aa:100, ab:0};
static var color_d = {ra:100, rb:64, ga:100, gb:64, ba:100, bb:0, aa:100, ab:0};
static var color_n = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var g = -9.8;
static var ex = 0.8;
static var ey = 0.8;
static var interval = 0.0333333333333333;
static var bestrecord = 0;
}
Symbol 536 MovieClip [__Packages.GamePauseClip] Frame 0
class GamePauseClip extends MovieClip
{
var pauseflag, stopflag, watch, prevclip, nextclip, enterframesub;
function GamePauseClip () {
super();
addlist();
pauseflag = masterpauseflag;
stopflag = false;
watch("onEnterFrame", enterframeWatcher);
}
function onUnload() {
removelist();
new Sound(this).stop();
}
function addlist() {
prevclip = null;
nextclip = rootclip;
if (rootclip != null) {
rootclip.prevclip = this;
}
rootclip = this;
}
function removelist() {
if (nextclip != null) {
nextclip.prevclip = prevclip;
}
if (prevclip != null) {
prevclip.nextclip = nextclip;
} else {
rootclip = nextclip;
}
}
function countlist() {
var _local1 = rootclip;
var _local2 = 0;
while (_local1 != null) {
_local2++;
_local1 = _local1.nextclip;
}
return(_local2);
}
function enterframe() {
if (!pauseflag) {
enterframesub();
}
}
function enterframeWatcher(prop, oldVal, newVal) {
if ((newVal != undefined) && (newVal != null)) {
enterframesub = newVal;
return(enterframe);
}
return(newVal);
}
function pausetoggle() {
if (pauseflag) {
pauseplay();
} else {
pausestop();
}
}
function pausestop() {
pauseflag = true;
super.stop();
}
function pauseplay() {
pauseflag = false;
if (!stopflag) {
super.play();
}
}
function allpausestop() {
var _local1 = rootclip;
masterpauseflag = true;
while (_local1 != null) {
_local1.pausestop();
_local1 = _local1.nextclip;
}
}
function allpauseplay() {
var _local1 = rootclip;
masterpauseflag = false;
while (_local1 != null) {
_local1.pauseplay();
_local1 = _local1.nextclip;
}
}
function allpausetoggle() {
if (masterpauseflag) {
allpauseplay();
} else {
allpausestop();
}
return(masterpauseflag);
}
function prevFrame() {
stopflag = true;
super.prevFrame();
}
function nextFrame() {
stopflag = true;
super.nextFrame();
}
function gotoAndPlay(frame) {
stopflag = false;
if (!pauseflag) {
super.gotoAndPlay(frame);
} else {
super.gotoAndStop(frame);
}
}
function gotoAndStop(frame) {
stopflag = true;
super.gotoAndStop(frame);
}
function stop() {
stopflag = true;
super.stop();
}
function play() {
stopflag = false;
if (!pauseflag) {
super.play();
}
}
static var masterpauseflag = false;
static var rootclip = null;
}
Symbol 537 MovieClip [__Packages.GameCharacter] Frame 0
class GameCharacter extends GamePauseClip
{
var toggleflag, pass, _x, _y, _visible, active, specialwait, standminx, getBounds, standmaxx, busy, px, hitminx, hitx, hitmaxx, hitmaxy, hity, viewmaxx, gotoAndStop, stand, charaface, moveobjsub, code, charatype, controll, passact, play, specialmaxx, gotoAndPlay, combomaxx, blockmaxx, crashmaxx;
function GameCharacter () {
super();
toggleflag = false;
pass = false;
_x = 5000;
_y = 0;
_visible = false;
active = true;
specialwait = false;
standminx = getBounds(this).xMin;
standmaxx = getBounds(this).xMax;
}
function setposition(position) {
busy = true;
active = true;
pass = false;
px = position;
hitminx = (position + hitx) - 0.5;
hitmaxx = (position + hitx) + 0.5;
hitmaxy = hity + 0.5;
viewmaxx = standmaxx;
gotoAndStop("stand");
stand();
}
function moveobj(posx, posy, scale, xmin, xmax) {
toggleflag = !toggleflag;
if (busy) {
_x = (px - posx) * 150;
if (pass) {
charaface._visible = false;
if ((_x + viewmaxx) > xmin) {
_visible = true;
moveobjsub();
} else {
_visible = false;
if (_x <= -1350) {
if ((charatype != code.youko) || (!controll.youko)) {
busy = false;
controll.setchara(this);
}
}
}
} else {
if (toggleflag && ((px - posx) < 29)) {
charaface.view(_x, scale);
}
if ((_x + standminx) < xmax) {
_visible = true;
moveobjsub();
if ((px - posx) < -1) {
pass = true;
controll.setspecial(code.nanaka, (px % 100) == 90);
passact();
} else if (specialwait) {
switch (controll.special.getstatus()) {
case 0 :
specialwait = false;
play();
break;
case 1 :
specialwait = false;
viewmaxx = specialmaxx;
gotoAndPlay("special");
break;
}
} else if ((((active && (hitminx < posx)) && (hitmaxx > posx)) && (hitmaxy > posy)) && (controll.hitenabled)) {
active = false;
controll.slow(1000, 0);
if (controll.combo) {
controll.combo = false;
viewmaxx = combomaxx;
gotoAndPlay("combo");
} else if (controll.youko) {
viewmaxx = blockmaxx;
gotoAndPlay("block");
} else {
viewmaxx = crashmaxx;
gotoAndPlay("crash");
}
}
} else {
_visible = false;
}
}
}
}
}
Symbol 538 MovieClip [__Packages.GameCharaFace] Frame 0
class GameCharaFace extends MovieClip
{
var _visible, stop, arrow_mc, basex, _parent, pointy, _x;
function GameCharaFace () {
super();
_visible = false;
stop();
arrow_mc.stop();
basex = _parent._x;
pointy = 370 - _parent._y;
}
function view(px, scale) {
var _local2;
var _local3;
_x = Math.floor(((px / 150) + 1) / 10) * 31.25;
if (_x >= 0) {
_visible = true;
_local2 = ((((px * scale) / 100) + 250) - _x) - basex;
_local3 = pointy / Math.sqrt((pointy * pointy) + (_local2 * _local2));
arrow_mc._xscale = 100 / _local3;
arrow_mc._yscale = 100 * _local3;
arrow_mc._rotation = (Math.atan2(pointy, _local2) * 180) / Math.PI;
} else {
_visible = false;
}
}
var point = new Object();
}
Symbol 39 MovieClip Frame 1
n1_mc.num = 0;
n2_mc.num = 0;
n3_mc.num = 1;
Symbol 54 MovieClip Frame 1
this.useHandCursor = false;
onPress = null;
Symbol 57 MovieClip Frame 1
function changescene(scene, sound) {
slide_sound = sound;
this.gotoAndPlay(scene);
this.onEnterFrame = function () {
slide_sound.setVolume(Math.max(slide_sound.getVolume() - 10, 0));
};
this.onMouseDown = function () {
this.gotoAndStop(scene + "skip");
};
}
var slide_sound;
Symbol 57 MovieClip Frame 2
this.stop();
this._visible = false;
Symbol 57 MovieClip Frame 23
slide_sound.setVolume(0);
delete onEnterFrame;
delete onMouseDown;
this._parent.gotoAndPlay("game");
this.gotoAndStop("standby");
Symbol 57 MovieClip Frame 24
this._visible = true;
Symbol 57 MovieClip Frame 39
slide_sound.setVolume(0);
delete onEnterFrame;
delete onMouseDown;
this._parent.gotoAndPlay("title");
this.gotoAndStop("standby");
Symbol 57 MovieClip Frame 40
this._visible = true;
Symbol 57 MovieClip Frame 55
slide_sound.setVolume(0);
delete onEnterFrame;
delete onMouseDown;
this._parent.gotoAndPlay("game");
this.gotoAndStop("standby");
Symbol 69 MovieClip Frame 1
function init() {
if (control.globalsound.getVolume() == 0) {
on_mc._visible = false;
off_mc._visible = true;
currentmode = false;
} else {
on_mc._visible = true;
off_mc._visible = false;
currentmode = true;
}
}
function viewin(target_mc) {
target_mc._visible = true;
}
function viewout(target_mc) {
depth = (depth + 1) % 100;
copy_mc = target_mc.duplicateMovieClip(getTimer(), depth);
target_mc._visible = false;
for (i in copy_mc) {
if (typeof(copy_mc[i]) == "movieclip") {
if ((copy_mc[i].px == null) || (copy_mc[i].py == undefined)) {
copy_mc[i].px = copy_mc[i]._x;
copy_mc[i].py = copy_mc[i]._y;
}
copy_mc[i]._rotation = 0;
copy_mc[i].r = Math.random() * 20;
copy_mc[i]._x = copy_mc[i].px;
copy_mc[i]._y = copy_mc[i].py;
copy_mc[i].orgscale = copy_mc[i]._yscale;
copy_mc[i].count = 0;
copy_mc[i].onEnterFrame = function () {
this.count = this.count + 1;
this._x = this.px + ((this.px * this.count) / 30);
this._y = this.py + ((this.count * this.count) / 3);
this._rotation = this.r * this.count;
this._xscale = (1 + (this.count / 30)) * this.orgscale;
this._yscale = this._xscale;
if (this._y >= 200) {
this._xscale = 100;
this._yscale = 100;
this._rotation = 0;
this._x = this.px;
this._y = this.py;
delete this.onEnterFrame;
this._parent.removeMovieClip();
}
};
}
}
}
function viewstart() {
this.onEnterFrame = function () {
if ((control.globalsound.getVolume() != 0) != currentmode) {
currentmode = !currentmode;
this.gotoAndPlay("change");
if (currentmode) {
viewout(off_mc);
viewin(on_mc);
} else {
viewout(on_mc);
viewin(off_mc);
}
}
};
}
function viewstop() {
delete this.onEnterFrame;
}
this.stop();
depth = 0;
init();
viewstart();
Symbol 69 MovieClip Frame 3
this.stop();
Symbol 78 MovieClip [dagger] Frame 1
#initclip 5
Object.registerClass("dagger", GamePauseClip);
#endinitclip
Symbol 80 Button
on (release) {
if (control.globalsound.getVolume() == 0) {
control.globalsound.setVolume(100);
bgm_mc.soundRestart();
control.localset();
} else {
control.globalsound.setVolume(0);
bgm_mc.soundStop();
control.localset();
}
}
Symbol 98 MovieClip Frame 1
function init() {
currentmode = _quality;
h_mc._visible = false;
m_mc._visible = false;
l_mc._visible = false;
switch (currentmode) {
case "HIGH" :
current_mc = h_mc;
break;
case "MEDIUM" :
current_mc = m_mc;
break;
case "LOW" :
current_mc = l_mc;
break;
default :
current_mc = null;
}
current_mc._visible = true;
}
function viewout(target_mc) {
depth = (depth + 1) % 100;
copy_mc = target_mc.duplicateMovieClip(getTimer(), depth);
target_mc._visible = false;
for (i in copy_mc) {
if (typeof(copy_mc[i]) == "movieclip") {
if ((copy_mc[i].px == null) || (copy_mc[i].py == undefined)) {
copy_mc[i].px = copy_mc[i]._x;
copy_mc[i].py = copy_mc[i]._y;
}
copy_mc[i]._rotation = 0;
copy_mc[i].r = Math.random() * 20;
copy_mc[i]._x = copy_mc[i].px;
copy_mc[i]._y = copy_mc[i].py;
copy_mc[i].orgscale = copy_mc[i]._yscale;
copy_mc[i].count = 0;
copy_mc[i].onEnterFrame = function () {
this.count = this.count + 1;
this._x = this.px + ((this.px * this.count) / 30);
this._y = this.py + ((this.count * this.count) / 3);
this._xscale = (1 + (this.count / 30)) * this.orgscale;
this._rotation = this.r * this.count;
this._yscale = this._xscale;
if (this._y >= 200) {
this._xscale = 100;
this._yscale = 100;
this._rotation = 0;
this._x = this.px;
this._y = this.py;
delete this.onEnterFrame;
this._parent.removeMovieClip();
}
};
}
}
}
function viewstart() {
this.onEnterFrame = function () {
if ((currentmode != _quality) && (base_btn.enabled)) {
currentmode = _quality;
this.gotoAndPlay("change");
viewout(current_mc);
switch (currentmode) {
case "HIGH" :
current_mc = h_mc;
break;
case "MEDIUM" :
current_mc = m_mc;
break;
case "LOW" :
current_mc = l_mc;
break;
default :
current_mc = null;
}
current_mc._visible = true;
}
};
}
function viewstop() {
delete this.onEnterFrame;
}
this.stop();
var depth = 0;
var currentmode;
var current_mc;
init();
viewstart();
Symbol 98 MovieClip Frame 3
this.stop();
Symbol 108 Button
on (release) {
switch (_quality) {
case "HIGH" :
_quality = "MEDIUM";
break;
case "MEDIUM" :
_quality = "LOW";
break;
case "LOW" :
_quality = "HIGH";
break;
default :
_quality = "HIGH";
}
control.localset();
}
Symbol 111 Button
on (release) {
this.howto_mc._visible = true;
allenabled(false);
this.howto_mc.gotoAndPlay("start");
}
Symbol 114 Button
on (release) {
this.gotoAndPlay("start");
}
Symbol 118 Button
on (release) {
if (control.best != "0.00") {
control.localclear();
this.best_mc.play();
}
}
Symbol 126 MovieClip Frame 1
function view() {
if ((control == undefined) || (control == null)) {
best = "0.00";
} else {
best = control.best;
}
n1_mc.num = best.charAt(best.length - 1);
n2_mc.num = best.charAt(best.length - 2);
n4_mc.num = best.charAt(best.length - 4);
n5_mc.num = best.charAt(best.length - 5);
n6_mc.num = best.charAt(best.length - 6);
n7_mc.num = best.charAt(best.length - 7);
n8_mc.num = best.charAt(best.length - 8);
n9_mc.num = best.charAt(best.length - 9);
n10_mc.num = best.charAt(best.length - 10);
}
this.stop();
this.view();
Symbol 135 MovieClip Frame 1
function soundStop() {
bgm_sound.stop();
}
function soundStart(track) {
this.gotoAndStop(track + 1);
}
function soundRestart() {
bgm_sound.stop();
bgm_sound.start();
}
this.stop();
this._visible = false;
var bgm_sound = new Sound(this);
this.onUnload = function () {
bgm_sound.stop();
};
Symbol 135 MovieClip Frame 2
bgm_sound.attachSound("bgm2");
bgm_sound.setVolume(50);
bgm_sound.onSoundComplete = function () {
this.start(6.4, 1);
};
bgm_sound.start();
Symbol 135 MovieClip Frame 3
bgm_sound.attachSound("bgm1");
bgm_sound.setVolume(25);
bgm_sound.onSoundComplete = function () {
this.start(24, 1);
};
bgm_sound.start();
Symbol 148 Button
on (release) {
about_mc.stop();
aerial_mc.stop();
special_mc.stop();
chara_mc.stop();
delete about_mc.onEnterFrame;
delete aerial_mc.onEnterFrame;
delete special_mc.onEnterFrame;
delete chara_mc.onEnterFrame;
this._parent.gotoAndPlay("hide");
}
Symbol 269 MovieClip Frame 1
function viewslide(target_mc) {
max = 10;
frames = 5;
if ((target_mc.pos == frames) || (target_mc.pos == (-frames))) {
target_mc._visible = false;
target_mc.gotoAndStop(1);
} else {
target_mc._visible = true;
target_mc._x = ((target_mc.pos * max) / frames) - 350;
colorobj.ra = 100 * (1 - (Math.abs(target_mc.pos) / frames));
colorobj.rb = (255 * Math.abs(target_mc.pos)) / frames;
colorobj.ga = colorobj.ra;
colorobj.gb = colorobj.rb;
colorobj.ba = colorobj.ra;
colorobj.bb = colorobj.rb;
target_mc.mycolor.setTransform(colorobj);
}
}
function inslide(target_mc) {
in_mc = target_mc;
if (out_mc == target_mc) {
out_mc = null;
}
target_mc.onEnterFrame = function () {
if (out_mc == null) {
if (this.pos > 0) {
this.pos = this.pos - 1;
} else if (this.pos < 0) {
this.pos = this.pos + 1;
} else {
in_mc = null;
this.play();
delete this.onEnterFrame;
}
viewslide(this);
}
};
}
function outslide(target_mc) {
delete in_mc.onEnterFrame;
if (out_mc == null) {
target_mc.stop();
out_mc = target_mc;
target_mc.onEnterFrame = function () {
if ((this.pos >= 0) && (this.pos < frames)) {
this.pos = this.pos + 1;
} else if ((this.pos < 0) && (this.pos > (-frames))) {
this.pos = this.pos - 1;
} else {
out_mc = null;
in_mc.pos = -this.pos;
delete this.onEnterFrame;
}
viewslide(this);
};
}
}
this.stop();
colorobj = new Object();
colorobj.aa = 100;
colorobj.ab = 0;
init = function (targetslide_mc) {
this.useHandCursor = false;
this.targetslide_mc = targetslide_mc;
if (this == currentbtn_mc) {
this.gotoAndStop(2);
this.targetslide_mc.mycolor = new Color(this.targetslide_mc);
this.targetslide_mc.pos = 0;
viewslide(this.targetslide_mc);
} else {
targetslide_mc._visible = false;
this.gotoAndStop(1);
this.targetslide_mc.mycolor = new Color(this.targetslide_mc);
this.targetslide_mc.pos = -frames;
viewslide(this.targetslide_mc);
this.targetslide_mc.stop();
}
this.onRollOver = function () {
if (this != currentbtn_mc) {
this.gotoAndStop(2);
outslide(currentbtn_mc.targetslide_mc);
currentbtn_mc.gotoAndStop(1);
currentbtn_mc = this;
inslide(currentbtn_mc.targetslide_mc);
}
};
};
out_mc = null;
in_mc = null;
currentbtn_mc = aboutbtn_mc;
aboutbtn_mc.init = init;
aerialbtn_mc.init = init;
specialbtn_mc.init = init;
charabtn_mc.init = init;
aboutbtn_mc.init(this.about_mc);
aerialbtn_mc.init(this.aerial_mc);
specialbtn_mc.init(this.special_mc);
charabtn_mc.init(this.chara_mc);
Symbol 271 MovieClip Frame 1
this.stop();
Symbol 271 MovieClip Frame 2
count = 15;
onEnterFrame = function () {
count = count - 1;
for (i in mask_mc) {
if (typeof(mask_mc[i]) == "movieclip") {
mask_mc[i]._xscale = ((((0.0592592592592593 * count) * count) * count) * count) + 100;
mask_mc[i]._yscale = mask_mc[i]._xscale;
if (count == 0) {
delete onEnterFrame;
delete onMouseDown;
}
}
}
};
onMouseDown = function () {
count = 1;
this.gotoAndStop("hideend");
onEnterFrame();
};
Symbol 271 MovieClip Frame 17
_visible = false;
this._parent.allenabled(true);
this.gotoAndStop(1);
Symbol 271 MovieClip Frame 18
mask_mc.gotoAndStop(1);
panel_mc.currentbtn_mc = panel_mc.aboutbtn_mc;
count = 0;
onEnterFrame = function () {
count = count + 1;
for (i in mask_mc) {
if (typeof(mask_mc[i]) == "movieclip") {
mask_mc[i]._xscale = ((((0.0592592592592593 * count) * count) * count) * count) + 100;
mask_mc[i]._yscale = mask_mc[i]._xscale;
if (count == 15) {
delete onEnterFrame;
delete onMouseDown;
}
}
}
};
onMouseDown = function () {
count = 14;
this.gotoAndStop("startend");
onEnterFrame();
};
Symbol 271 MovieClip Frame 33
this.stop();
Symbol 273 MovieClip Frame 1
function allenabled(enable) {
start_btn.enabled = enable;
howto_btn.enabled = enable;
quality_btn.enabled = enable;
sound_btn.enabled = enable;
clear_btn.enabled = enable;
}
function hop(base_mc) {
this.py = this._y;
this.px = this._x;
this.orgscale = this._yscale;
this.rot = (Math.random() * 20) + 5;
this.startx = 225 + (this.px / 4);
this.starty = 100;
frames = 40;
this.peak = -(Math.random() * (((base_mc._y + this.starty) / 2) + 200));
this.a = ((-this.peak) / (frames * frames)) * 4;
this.v0 = (this.peak / frames) * 4;
count = frames;
this.action = function () {
this._x = ((((this.startx - base_mc._x) - this.px) * count) / frames) + this.px;
this._y = ((((this.a * count) * count) + (this.v0 * count)) + ((((this.starty - base_mc._y) - this.py) * count) / frames)) + this.py;
this._xscale = this.orgscale * (1 - ((0.5 * count) / frames));
this._yscale = this._xscale;
this._rotation = this.rot * count;
if (count == 0) {
base_mc.enabled = true;
delete this.onEnterFrame;
}
};
this.onEnterFrame = this.action;
this.action();
}
function hopset(targetmc, basemc) {
for (i in targetmc) {
if (typeof(targetmc[i]) == "movieclip") {
targetmc[i].hop = this.hop;
targetmc[i].hop(basemc);
}
}
}
new Sound(this).setVolume(100);
this.allenabled(false);
hopset(clear_btn, clear_btn);
hopset(start_btn, start_btn);
hopset(title_mc, title_mc);
hopset(howto_btn, howto_btn);
hopset(quality_btn, quality_btn);
hopset(quality_mc.h_mc, quality_mc);
hopset(quality_mc.m_mc, quality_mc);
hopset(quality_mc.l_mc, quality_mc);
hopset(sound_btn, sound_btn);
hopset(sound_mc.on_mc, sound_mc);
hopset(sound_mc.off_mc, sound_mc);
hopset(best_mc, best_mc);
this.quality_mc.base_btn = quality_btn;
onEnterFrame = function () {
if (count == 0) {
delete onEnterFrame;
delete onMouseDown;
} else {
count--;
}
};
onMouseDown = function () {
count = 0;
this.gotoAndStop("introend");
};
Symbol 273 MovieClip Frame 14
this.stop();
bgm_mc.soundStart(1);
howto_mc._visible = false;
howto_mc.stop();
Symbol 273 MovieClip Frame 15
this.stop();
start_mc.stop();
this.start_btn._visible = false;
this.quality_mc.viewstop();
this.sound_mc.viewstop();
this.allenabled(false);
this.frames = 20;
this.vy = (-this.start_mc._y) / frames;
this.count = 0;
this.pt = 47;
this.sx = (this._x + this.start_mc._x) + ((this.start_mc._xscale / 100) * this.pt);
this.ex = 350;
this.vs = 1.26;
changer.changescene("start", new Sound(this));
start_mc.onEnterFrame = function () {
count = count + 1;
this._xscale = this._xscale * vs;
this._yscale = this._yscale * vs;
this._x = (((((((ex - sx) * count) * count) / frames) / frames) + sx) - _x) - ((this._xscale / 100) * pt);
this._y = this._y + vy;
if (count >= frames) {
delete this.onEnterFrame;
}
};
Symbol 277 MovieClip Frame 1
function moveobj(ppx) {
this._x = Math.floor(ppx / 300) % unitwidth;
var _local2 = 450 - this._x;
var _local3 = (-250 - this._x) - mcwidth;
unit1_mc._visible = unit1_mc._x > _local3;
unit2_mc._visible = unit2_mc._x < _local2;
}
this.stop();
var unitwidth = (unit2_mc._x - unit1_mc._x);
var mcwidth = unit1_mc._width;
Symbol 279 MovieClip Frame 1
function moveobj(ppx) {
this._x = Math.floor(ppx / 200) % unitwidth;
var _local2 = 450 - this._x;
var _local3 = (-250 - this._x) - mcwidth;
unit1_mc._visible = unit1_mc._x > _local3;
unit2_mc._visible = unit2_mc._x < _local2;
}
this.stop();
var unitwidth = (unit2_mc._x - unit1_mc._x);
var mcwidth = unit1_mc._width;
Symbol 282 MovieClip Frame 1
function moveobj(ppx, scale) {
this._x = Math.floor(ppx / 300) % unitwidth;
this._visible = scale < 40;
}
this.stop();
var unitwidth = 250;
Symbol 283 MovieClip Frame 1
function moveobj(ppx, py, mainscale, scalechange) {
if (scalechange) {
this.scale = (100 / ((100 / mainscale) + z)) / size;
this._yscale = this.scale;
this._xscale = this.scale;
}
this._x = (((ppx / (1 + z)) % unitwidth) / 100) * this.scale;
this._y = ((py * size) * 150) * (this.scale / 100);
var _local2 = ((450 - this._x) * 100) / scale;
var _local3 = (((-250 - this._x) * 100) / scale) - mcwidth;
unit1_mc._visible = unit1_mc._x > _local3;
unit2_mc._visible = unit2_mc._x > _local3;
unit3_mc._visible = true;
unit4_mc._visible = unit4_mc._x < _local2;
unit5_mc._visible = unit5_mc._x < _local2;
unit6_mc._visible = unit6_mc._x < _local2;
}
this.stop();
var size = 0.5;
var z = 1;
var unitwidth = (unit2_mc._x - unit1_mc._x);
var mcwidth = unit1_mc._width;
var scale;
Symbol 287 MovieClip Frame 1
function moveobj(ppx, py, scale, scalechange) {
if (scalechange) {
this._yscale = scale;
this._xscale = scale;
}
this._x = ((ppx % unitwidth) * scale) / 100;
this._y = ((py * 150) * scale) / 100;
var _local3 = ((450 - this._x) * 100) / scale;
var _local4 = (((-250 - this._x) * 100) / scale) - unitwidth;
unit1_mc._visible = unit1_mc._x > _local4;
unit2_mc._visible = unit2_mc._x > _local4;
unit4_mc._visible = unit4_mc._x < _local3;
unit5_mc._visible = unit5_mc._x < _local3;
unit6_mc._visible = unit6_mc._x < _local3;
}
this.stop();
var unitwidth = (unit2_mc._x - unit1_mc._x);
Symbol 288 MovieClip [s_back] Frame 1
#initclip 30
Object.registerClass("s_back", GamePauseClip);
#endinitclip
function moveobj(ppx, scale, scalechange) {
tree_mc.moveobj(ppx, 0, scale, scalechange);
rail_mc.moveobj(ppx, 0, scale, scalechange);
mount_mc.moveobj(ppx, scale, scalechange);
cloud1_mc.moveobj(ppx);
cloud2_mc.moveobj(ppx);
}
this.stop();
sscale = 7000;
escale = 100;
sx = -84.75 - (100 / (sscale / 100));
ex = -200;
sy = 300 + (-200 / (sscale / 100));
ey = 0;
frames = 15;
tree_mc.moveobj(-sx, sy / 150, sscale, true);
rail_mc.moveobj(-sx, sy / 150, scale, true);
cloud1_mc.moveobj(-sx);
cloud2_mc.moveobj(-sx);
count = 0;
onEnterFrame = function () {
dt = ((count * count) / frames) / frames;
px = ((ex - sx) * dt) + sx;
py = ((ey - sy) * dt) + sy;
scale = 1 / ((((1 / escale) - (1 / sscale)) * dt) + (1 / sscale));
tree_mc.moveobj(-px, py / 150, scale, true);
rail_mc.moveobj(-px, py / 150, scale, true);
count = count + 1;
if (count > frames) {
delete this.onEnterFrame;
}
};
Symbol 288 MovieClip [s_back] Frame 2
this.stop();
Symbol 288 MovieClip [s_back] Frame 15
this.stop();
px = -200;
count = 0;
this.onEnterFrame = function () {
count++;
px = -200 + (6.66666666666667 * count);
tree_mc.moveobj(-px, 0, scale, true);
rail_mc.moveobj(-px, 0, scale, true);
if (((control.i_power / 100) * 30) <= count) {
}
if (count == 30) {
this.play();
delete this.onEnterFrame;
}
};
Symbol 288 MovieClip [s_back] Frame 16
this.stop();
Symbol 310 MovieClip [mc_nanaka] Frame 1
#initclip 6
Object.registerClass("mc_nanaka", GamePauseClip);
#endinitclip
function aerial(upper) {
control.hitenabled = false;
control.slow(1000, 0);
movecount = 0;
moveobjsub = function () {
movecount++;
this._xscale = (1 - (movecount / 10)) * 100;
this._yscale = ((movecount / 10) * 200) + 100;
if (movecount >= 10) {
this._xscale = 100;
this._yscale = 100;
_rotation = 0;
px = control.px;
_x = 0;
_y = ((-control.py) * 150);
delete moveobjsub;
maxx = 0;
if (upper) {
this.gotoAndPlay("aerialu");
} else {
this.gotoAndPlay("aeriald");
}
}
};
}
function cff(typecode) {
hittarget = control.taichi;
_rotation = 0;
px = control.px;
_x = 0;
_y = 0;
cfftype = typecode;
maxx = 401.1;
this.gotoAndPlay("special");
}
function moveobj(px, xMin) {
this._x = (this.px - px) * 150;
this._visible = (this._x + maxx) > xMin;
moveobjsub();
}
this.stop();
var maxx = 103;
code = control.characode;
charatype = code.nanaka;
px = -0.666666666666667;
Symbol 310 MovieClip [mc_nanaka] Frame 27
control.aerialboost();
control.slow2(35, 1);
control.hitenabled = true;
Symbol 310 MovieClip [mc_nanaka] Frame 57
this.stop();
Symbol 310 MovieClip [mc_nanaka] Frame 83
control.aerialboost();
control.slow2(35, 1);
control.hitenabled = true;
Symbol 310 MovieClip [mc_nanaka] Frame 113
this.stop();
Symbol 310 MovieClip [mc_nanaka] Frame 114
var power = 15;
var angle = 45;
control.slow(1000, 0);
control.setspecial(code.misato, true);
Symbol 310 MovieClip [mc_nanaka] Frame 149
control.boost(power, angle);
control.slow2(70, 0.8);
control.backeffect("cff", cfftype);
Symbol 310 MovieClip [mc_nanaka] Frame 167
switch (cfftype) {
case code.misato :
control.setcffa();
break;
case code.touko :
control.setcffb();
break;
case code.kiri :
control.setcffc();
break;
case code.miki :
control.setcffd();
}
Symbol 310 MovieClip [mc_nanaka] Frame 179
this.stop();
control.setspecial(code.youko, false);
Symbol 311 MovieClip [c_taichifly] Frame 1
#initclip 7
Object.registerClass("c_taichifly", GamePauseClip);
#endinitclip
Symbol 313 MovieClip Frame 1
function soundplay(vol) {
se_sound.setVolume(vol);
if (vol >= 1) {
this.gotoAndPlay("soundplay");
}
}
this.stop();
_visible = false;
var se_sound = new Sound(this);
this.onUnload = function () {
se_sound.stop();
};
Symbol 313 MovieClip Frame 2
this.nextFrame();
Symbol 313 MovieClip Frame 3
this.stop();
Symbol 315 MovieClip Frame 1
function soundplay(vol) {
se_sound.setVolume(vol);
if (vol >= 1) {
this.gotoAndPlay("soundplay");
}
}
this.stop();
_visible = false;
var se_sound = new Sound(this);
this.onUnload = function () {
se_sound.stop();
};
Symbol 315 MovieClip Frame 2
this.nextFrame();
Symbol 315 MovieClip Frame 3
this.stop();
Symbol 328 MovieClip [mc_taichi] Frame 1
#initclip 8
Object.registerClass("mc_taichi", GamePauseClip);
#endinitclip
function bound(vx, vy) {
se1_mc.soundplay(Math.min(vx * 30, 100));
se2_mc.soundplay(Math.min(vy * 30, 100));
}
function moveobj(py, rot, scale) {
if (this.taichi_mc._rotation != rot) {
this.taichi_mc._rotation = rot;
}
if (py > 14) {
this._visible = false;
} else {
if ((py > 2.73504273504274) && (py < 10.2564102564103)) {
this._y = ((-100 / scale) * 400) / 1.3;
} else {
this._y = (-py) * 150;
}
this._visible = true;
}
}
function changecolor(newcolor, frame) {
var count = 0;
mycolor = new Color(this.taichi_mc);
nowcolor = new Object();
oldcolor = mycolor.getTransform();
taichi_mc.onEnterFrame = function () {
if (frame > count) {
count = count + 1;
nowcolor.ra = ((newcolor.ra * count) / frame) + (oldcolor.ra * (1 - (count / frame)));
nowcolor.rb = ((newcolor.rb * count) / frame) + (oldcolor.rb * (1 - (count / frame)));
nowcolor.ga = ((newcolor.ga * count) / frame) + (oldcolor.ga * (1 - (count / frame)));
nowcolor.gb = ((newcolor.gb * count) / frame) + (oldcolor.gb * (1 - (count / frame)));
nowcolor.ba = ((newcolor.ba * count) / frame) + (oldcolor.ba * (1 - (count / frame)));
nowcolor.bb = ((newcolor.bb * count) / frame) + (oldcolor.bb * (1 - (count / frame)));
nowcolor.aa = ((newcolor.aa * count) / frame) + (oldcolor.aa * (1 - (count / frame)));
nowcolor.ab = ((newcolor.ab * count) / frame) + (oldcolor.ab * (1 - (count / frame)));
mycolor.setTransform(nowcolor);
} else {
delete taichi_mc.onEnterFrame;
}
};
}
function setcff(oldtype, newtype, power) {
this.gotoAndPlay("cff");
if (oldtype == null) {
this.rv = false;
this.cv = false;
} else {
this.rv = true;
this.cv = oldtype != newtype;
}
}
function cffa() {
this.gotoAndPlay("cffa");
}
function cffbc() {
this.gotoAndPlay("cffbc");
}
function cffbd() {
control.hitenabled = false;
control.slow(1000, 0);
this.gotoAndPlay("cffbd");
}
function cffc() {
count = 0;
this.gotoAndPlay("cffc");
}
function cffd() {
control.hitenabled = false;
this.gotoAndPlay("cffd");
}
function cffcstop() {
count = null;
taichi_mc._y = 0;
this.gotoAndStop("normal");
}
function cffcview() {
if ((count != null) && (count != undefined)) {
count++;
taichi_mc._y = 60 * Math.sin(((Math.PI*2) * count) / 20);
count_txt.text = Math.round((control.cffcount / 30) * 100);
light1_mc._x = light1_mc._x - 20;
if (light1_mc._x <= -150) {
light1_mc._x = 0;
light1_mc._y = (taichi_mc._y - 50) + (Math.random() * 100);
}
light2_mc._x = light2_mc._x - 10;
if (light2_mc._x <= -100) {
light2_mc._x = 0;
light2_mc._y = (taichi_mc._y - 50) + (Math.random() * 100);
}
light3_mc._x = light3_mc._x - 30;
if (light3_mc._x <= -200) {
light3_mc._x = 0;
light3_mc._y = (taichi_mc._y - 50) + (Math.random() * 100);
}
}
}
Symbol 328 MovieClip [mc_taichi] Frame 2
this.stop();
Symbol 328 MovieClip [mc_taichi] Frame 18
this.stop();
Symbol 328 MovieClip [mc_taichi] Frame 33
this.stop();
Symbol 328 MovieClip [mc_taichi] Frame 35
control.py = control.py + 0.2;
Symbol 328 MovieClip [mc_taichi] Frame 41
control.py = control.py + 0.2;
Symbol 328 MovieClip [mc_taichi] Frame 47
control.slow2(30, 1);
control.hitenabled = true;
control.py = control.py + 0.2;
Symbol 328 MovieClip [mc_taichi] Frame 78
this.stop();
Symbol 328 MovieClip [mc_taichi] Frame 79
this.stop();
count_txt.autoSize = "right";
Symbol 328 MovieClip [mc_taichi] Frame 80
control.slow(14, 0);
control.hitenabled = true;
var count = 0;
this._xscale = 100;
this._yscale = 100;
this.boost_mc._xscale = 70;
this.boost_mc._yscale = 70;
this.boost_mc._x = -80;
this.boost_mc._y = -50;
this.onEnterFrame = function () {
if (count < 20) {
count = count + 1;
this._xscale = 100 + (50 * Math.sin(0.314159265358979 * count));
this._yscale = 100 - (50 * Math.sin(0.314159265358979 * count));
this.boost_mc._xscale = (100 / this._xscale) * 70;
this.boost_mc._yscale = (100 / this._yscale) * 70;
this.boost_mc._x = (100 / this._xscale) * -80;
this.boost_mc._y = ((100 / this._yscale) * -50) - (count * 5);
} else {
count = null;
delete this.onEnterFrame;
}
};
Symbol 328 MovieClip [mc_taichi] Frame 94
this.stop();
Symbol 328 MovieClip [mc_taichi] Frame 95
r_txt._visible = rv;
c_txt._visible = cv;
Symbol 328 MovieClip [mc_taichi] Frame 136
this.stop();
Symbol 334 MovieClip [mc_youkoblock] Frame 1
#initclip 9
Object.registerClass("mc_youkoblock", GamePauseClip);
#endinitclip
function special() {
st = control.special.getstatus();
if (st == 0) {
delete this.onEnterFrame;
this.play();
} else if (st == 1) {
delete this.onEnterFrame;
control.cff(cfftype);
this.gotoAndPlay("special");
}
}
code = control.characode;
control.slow(1000, 0);
Symbol 334 MovieClip [mc_youkoblock] Frame 5
this.stop();
if (control.nanaka) {
control.special.setstart();
this.onEnterFrame = this.special;
} else {
this.play();
}
Symbol 334 MovieClip [mc_youkoblock] Frame 6
control.slow2(20, 1);
Symbol 334 MovieClip [mc_youkoblock] Frame 18
this.stop();
control.slow(0, 0.0333333333333333);
control.setspecial(code.youko, false);
Symbol 334 MovieClip [mc_youkoblock] Frame 65
this.stop();
Symbol 343 MovieClip [mc_kiri] Frame 1
#initclip 10
Object.registerClass("mc_kiri", GameCharacter);
#endinitclip
function stand() {
if (control.lastchara == code.miki) {
control.setspecial(code.miki, true);
}
}
function passact() {
control.setspecial(code.kiri, false);
}
code = control.characode;
hity = 0.833333333333333;
hitx = 0.166666666666667;
var power = 10;
var angle = 45;
var s_power = 25;
var s_angle = 60;
crashmaxx = 451.1;
blockmaxx = 245.8;
specialmaxx = 1051.1;
combomaxx = 714.3;
Symbol 343 MovieClip [mc_kiri] Frame 2
this.stop();
Symbol 343 MovieClip [mc_kiri] Frame 3
youko_mc.cfftype = charatype;
Symbol 343 MovieClip [mc_kiri] Frame 4
this.stop();
Symbol 343 MovieClip [mc_kiri] Frame 5
this.stop();
control.setspecial(code.misato, true);
control.setspecial(code.touko, false);
if (control.kiri) {
control.special.setstart();
specialwait = true;
} else {
this.play();
}
Symbol 343 MovieClip [mc_kiri] Frame 6
control.boost(power, angle);
control.slow2(25, 1);
Symbol 343 MovieClip [mc_kiri] Frame 36
this.stop();
Symbol 343 MovieClip [mc_kiri] Frame 37
control.vpush();
control.speedblind(true);
control.combo = true;
new Color(taichi_mc).setTransform(new Color(hittarget).getTransform());
hittarget._visible = false;
control.slow(100, 0.01);
control.vx = (((((this.px - control.px) * 150) + 700) / 41) / 150) / 0.01;
control.vy = 0;
control.nogravity = true;
this.taichi_mc._rotation = control.r;
this.taichi_mc._y = (-control.py) * 150;
this.taichi_mc._x = (control.px - this.px) * 150;
this.taichi_mc.dx = (550 - ((control.px - this.px) * 150)) / 41;
this.taichi_mc.dy = ((control.py * 150) - 100) / 41;
this.taichi_mc.dr = 5;
movecount = 0;
moveobjsub = function () {
kiri3_mc._y = kiri2_mc._y;
kiri3_mc._x = kiri2_mc._x;
kiri3_mc._rotation = kiri2_mc._rotation;
kiri2_mc._y = kiri1_mc._y;
kiri2_mc._x = kiri1_mc._x;
kiri2_mc._rotation = kiri1_mc._rotation;
kiri3._visible = (kiri3_mc._y == kiri2_mc._y) && (kiri3_mc._x == kiri2_mc._x);
kiri2._visible = (kiri2_mc._y == kiri1_mc._y) && (kiri2_mc._x == kiri1_mc._x);
if (movecount <= 12) {
kiri1_mc._x = (movecount / 12) * 400;
} else if (movecount <= 23) {
kiri1_mc._y = ((-(movecount - 12)) / 11) * 125;
} else if (movecount <= 34) {
kiri1_mc._y = -125 + (((movecount - 23) / 11) * 125);
kiri1_mc._x = 400 + (((movecount - 23) / 11) * 175);
kiri1_mc._rotation = ((movecount - 23) / 11) * 360;
kiri1_mc._y = kiri1_mc._y + (-75 + (79.0569415042095 * Math.sin(1.24904577239825 + (((Math.PI*2) * (movecount - 23)) / 11))));
kiri1_mc._x = kiri1_mc._x + (-25 + (79.0569415042095 * Math.cos(1.24904577239825 + (((Math.PI*2) * (movecount - 23)) / 11))));
}
taichi_mc._x = taichi_mc._x + taichi_mc.dx;
taichi_mc._y = taichi_mc._y + taichi_mc.dy;
taichi_mc._rotation = taichi_mc._rotation + taichi_mc.dr;
movecount++;
};
Symbol 343 MovieClip [mc_kiri] Frame 38
this.taichi_mc._x = this.taichi_mc._x + 50;
Symbol 343 MovieClip [mc_kiri] Frame 42
this.taichi_mc._x = this.taichi_mc._x + 25;
Symbol 343 MovieClip [mc_kiri] Frame 46
this.taichi_mc._x = this.taichi_mc._x + 25;
Symbol 343 MovieClip [mc_kiri] Frame 50
this.taichi_mc._x = this.taichi_mc._x + 25;
Symbol 343 MovieClip [mc_kiri] Frame 71
this.taichi_mc._x = this.taichi_mc._x + 25;
Symbol 343 MovieClip [mc_kiri] Frame 78
control.nogravity = false;
control.vx = 30;
control.vy = 1;
control.slow2(20, 1);
control.py = (-taichi_mc._y) / 150;
control.r = taichi_mc._rotation;
hittarget._visible = true;
taichi_mc._visible = false;
delete moveobjsub;
Symbol 343 MovieClip [mc_kiri] Frame 101
this.stop();
Symbol 343 MovieClip [mc_kiri] Frame 102
control.setspecial(code.misato, true);
new Color(taichi_mc).setTransform(new Color(hittarget).getTransform());
hittarget._visible = false;
this.taichi_mc._y = (-control.py) * 150;
this.taichi_mc._x = (control.px - this.px) * 150;
this.taichi_mc.dx = (250 - ((control.px - this.px) * 150)) / 24;
this.taichi_mc.dy = ((control.py * 150) - 300) / 24;
this.taichi_mc._rotation = control.r;
taichi_mc.dr = 15;
control.backeffect("combo");
movecount = 0;
moveobjsub = function () {
kiri3_mc._y = kiri2_mc._y;
kiri3_mc._x = kiri2_mc._x;
kiri2_mc._y = kiri1_mc._y;
kiri2_mc._x = kiri1_mc._x;
kiri3._visible = (kiri3_mc._y == kiri2_mc._y) && (kiri3_mc._x == kiri2_mc._x);
kiri2._visible = (kiri2_mc._y == kiri1_mc._y) && (kiri2_mc._x == kiri1_mc._x);
miki3_mc._y = miki2_mc._y;
miki3_mc._x = miki2_mc._x;
miki2_mc._y = miki1_mc._y;
miki2_mc._x = miki1_mc._x;
miki3._visible = (miki3_mc._y == miki2_mc._y) && (miki3_mc._x == miki2_mc._x);
miki2._visible = (miki2_mc._y == miki1_mc._y) && (miki2_mc._x == miki1_mc._x);
if (movecount <= 40) {
kiri1_mc._y = ((((movecount - 20) * (movecount - 20)) / 400) - 1) * 175;
kiri1_mc._x = (movecount * 350) / 40;
}
if (movecount >= 6) {
if (movecount <= 17) {
miki1_mc._y = -125 + (((movecount - 6) / 11) * 125);
miki1_mc._x = -375 + (((movecount - 6) / 11) * 375);
} else if (movecount <= 25) {
miki1_mc._y = ((-(movecount - 17)) / 8) * 275;
miki1_mc._x = ((movecount - 17) / 8) * 275;
} else if (movecount <= 34) {
miki1_mc._y = -275 - (((movecount - 25) / 9) * 25);
miki1_mc._x = 275 + (((movecount - 25) / 9) * 75);
} else if (movecount <= 55) {
miki1_mc._y = -300 + ((((movecount - 34) * (movecount - 34)) / 441) * 300);
miki1_mc._x = 350 + (((movecount - 34) / 21) * 125);
}
}
taichi_mc._x = taichi_mc._x + taichi_mc.dx;
taichi_mc._y = taichi_mc._y + taichi_mc.dy;
taichi_mc._rotation = taichi_mc._rotation + taichi_mc.dr;
movecount++;
};
Symbol 343 MovieClip [mc_kiri] Frame 127
control.slow(30, 0.002);
control.vx = ((this.px + 2.16666666666667) - control.px) / 0.034;
control.vy = 0;
control.nogravity = true;
control.py = 2.33333333333333;
this.taichi_mc._x = this.taichi_mc._x + 20;
this.taichi_mc._y = this.taichi_mc._y + -20;
this.taichi_mc.dx = 3.23529411764706;
this.taichi_mc.dy = -1.76470588235294;
taichi_mc.dr = 3;
Symbol 343 MovieClip [mc_kiri] Frame 144
control.vpop();
control.boost(s_power, s_angle);
control.speedblind(false);
control.nogravity = false;
hittarget._visible = true;
control.r = taichi_mc._rotation;
taichi_mc._visible = false;
Symbol 343 MovieClip [mc_kiri] Frame 162
this.stop();
delete moveobjsub;
Symbol 350 MovieClip [mc_miki] Frame 1
#initclip 11
Object.registerClass("mc_miki", GameCharacter);
#endinitclip
function stand() {
if (control.lastchara == code.kiri) {
control.setspecial(code.kiri, true);
}
}
function passact() {
control.setspecial(code.miki, false);
}
code = control.characode;
hity = 0.833333333333333;
hitx = 0;
var power = 11;
var angle = 70;
var s_power = 24;
var s_angle = 45;
crashmaxx = 288.6;
blockmaxx = 245.8;
specialmaxx = 726.1;
combomaxx = 714.3;
Symbol 350 MovieClip [mc_miki] Frame 2
this.stop();
Symbol 350 MovieClip [mc_miki] Frame 3
youko_mc.cfftype = charatype;
Symbol 350 MovieClip [mc_miki] Frame 4
this.stop();
Symbol 350 MovieClip [mc_miki] Frame 5
this.stop();
control.setspecial(code.misato, true);
control.setspecial(code.touko, false);
if (control.miki) {
control.special.setstart();
specialwait = true;
} else {
this.play();
}
Symbol 350 MovieClip [mc_miki] Frame 6
control.boost(power, angle);
control.slow2(25, 1);
Symbol 350 MovieClip [mc_miki] Frame 36
this.stop();
Symbol 350 MovieClip [mc_miki] Frame 37
control.vpush();
control.speedblind(true);
control.combo = true;
hittarget._visible = false;
control.slow(100, 0.01);
control.vx = (((((this.px - control.px) * 150) + 250) / 30) / 150) / 0.01;
control.vy = 0;
control.nogravity = true;
new Color(taichi_mc).setTransform(new Color(hittarget).getTransform());
this.taichi_mc._y = (-control.py) * 150;
this.taichi_mc._rotation = control.r;
this.taichi_mc._x = (control.px - this.px) * 150;
this.taichi_mc.dx = (225 - this.taichi_mc._x) / 30;
this.taichi_mc.dy = ((control.py * 150) - 525) / 13;
this.taichi_mc.dr = 15;
movecount = 0;
moveobjsub = function () {
miki3_mc._y = miki2_mc._y;
miki3_mc._x = miki2_mc._x;
miki3_mc._xscale = miki2_mc._xscale;
miki2_mc._y = miki1_mc._y;
miki2_mc._x = miki1_mc._x;
miki2_mc._xscale = miki1_mc._xscale;
if (movecount <= 14) {
miki1_mc._y = ((-movecount) / 14) * 450;
miki1_mc._xscale = 100 * Math.cos(((movecount / 14) * 2) * Math.PI);
} else if (movecount <= 23) {
miki1_mc._y = -450 + (((movecount - 14) / 9) * 450);
} else if (movecount <= 31) {
miki1_mc._x = ((movecount - 23) / 8) * 300;
miki1_mc._y = ((-(movecount - 23)) / 8) * 175;
miki1_mc._xscale = -100;
}
taichi_mc._x = taichi_mc._x + taichi_mc.dx;
taichi_mc._y = taichi_mc._y + taichi_mc.dy;
taichi_mc._rotation = taichi_mc._rotation + taichi_mc.dr;
movecount++;
};
Symbol 350 MovieClip [mc_miki] Frame 39
this.taichi_mc._y = this.taichi_mc._y - 50;
Symbol 350 MovieClip [mc_miki] Frame 42
this.taichi_mc._y = this.taichi_mc._y - 25;
Symbol 350 MovieClip [mc_miki] Frame 47
this.taichi_mc._y = this.taichi_mc._y - 25;
Symbol 350 MovieClip [mc_miki] Frame 51
this.taichi_mc.dy = 58.3333333333333;
Symbol 350 MovieClip [mc_miki] Frame 60
this.taichi_mc.dy = 0;
Symbol 350 MovieClip [mc_miki] Frame 68
this.taichi_mc._x = this.taichi_mc._x + 25;
control.nogravity = false;
control.vx = 30;
control.vy = 2;
control.slow2(20, 1);
control.py = (-taichi_mc._y) / 150;
control.r = this.taichi_mc._rotation + 5;
hittarget._visible = true;
taichi_mc._visible = false;
delete moveobjsub;
Symbol 350 MovieClip [mc_miki] Frame 94
this.stop();
Symbol 350 MovieClip [mc_miki] Frame 95
control.setspecial(code.misato, true);
new Color(taichi_mc).setTransform(new Color(hittarget).getTransform());
hittarget._visible = false;
this.taichi_mc._y = (-control.py) * 150;
this.taichi_mc._x = (control.px - this.px) * 150;
this.taichi_mc.dx = (275 - ((control.px - this.px) * 150)) / 24;
this.taichi_mc.dy = ((control.py * 150) - 300) / 24;
this.taichi_mc._rotation = control.r;
taichi_mc.dr = 15;
control.backeffect("combo");
movecount = 0;
moveobjsub = function () {
miki3_mc._y = miki2_mc._y;
miki3_mc._x = miki2_mc._x;
miki2_mc._y = miki1_mc._y;
miki2_mc._x = miki1_mc._x;
miki3._visible = (miki3_mc._y == miki2_mc._y) && (miki3_mc._x == miki2_mc._x);
miki2._visible = (miki2_mc._y == miki1_mc._y) && (miki2_mc._x == miki1_mc._x);
kiri3_mc._y = kiri2_mc._y;
kiri3_mc._x = kiri2_mc._x;
kiri3_mc._rotation = kiri2_mc._rotation;
kiri2_mc._y = kiri1_mc._y;
kiri2_mc._x = kiri1_mc._x;
kiri2_mc._rotation = kiri1_mc._rotation;
kiri3._visible = (kiri3_mc._y == kiri2_mc._y) && (kiri3_mc._x == kiri2_mc._x);
kiri2._visible = (kiri2_mc._y == kiri1_mc._y) && (kiri2_mc._x == kiri1_mc._x);
if (movecount <= 40) {
miki1_mc._y = ((((movecount - 20) * (movecount - 20)) / 400) - 1) * 275;
miki1_mc._x = (movecount * 200) / 40;
}
if (movecount >= 6) {
if (movecount <= 17) {
kiri1_mc._y = -150 + (((movecount - 6) / 11) * 150);
kiri1_mc._x = -400 + (((movecount - 6) / 11) * 400);
} else if (movecount <= 25) {
kiri1_mc._y = ((-(movecount - 17)) / 8) * 275;
kiri1_mc._x = ((movecount - 17) / 8) * 275;
kiri1_mc._rotation = ((movecount - 17) / 8) * 360;
kiri1_mc._y = kiri1_mc._y + (-75 + (79.0569415042095 * Math.sin(1.24904577239825 + (((Math.PI*2) * (movecount - 17)) / 8))));
kiri1_mc._x = kiri1_mc._x + (-25 + (79.0569415042095 * Math.cos(1.24904577239825 + (((Math.PI*2) * (movecount - 17)) / 8))));
} else if (movecount <= 34) {
kiri1_mc._y = -275 - (((movecount - 25) / 9) * 25);
kiri1_mc._x = 275 + (((movecount - 25) / 9) * 75);
} else if (movecount <= 56) {
kiri1_mc._y = -300 + ((((movecount - 34) * (movecount - 34)) / 484) * 300);
kiri1_mc._x = 350 + (((movecount - 34) / 22) * 150);
}
}
taichi_mc._x = taichi_mc._x + taichi_mc.dx;
taichi_mc._y = taichi_mc._y + taichi_mc.dy;
taichi_mc._rotation = taichi_mc._rotation + taichi_mc.dr;
movecount++;
};
Symbol 350 MovieClip [mc_miki] Frame 120
control.py = 2.33333333333333;
control.slow(30, 0.002);
control.vx = ((this.px + 2.16666666666667) - control.px) / 0.034;
control.vy = 0;
control.nogravity = true;
control.py = 2.33333333333333;
this.taichi_mc._x = this.taichi_mc._x + 20;
this.taichi_mc._y = this.taichi_mc._y + -20;
this.taichi_mc.dx = 1.76470588235294;
this.taichi_mc.dy = -1.76470588235294;
taichi_mc.dr = 3;
Symbol 350 MovieClip [mc_miki] Frame 137
control.vpop();
control.boost(s_power, s_angle);
control.speedblind(false);
control.nogravity = false;
hittarget._visible = true;
control.r = taichi_mc._rotation;
taichi_mc._visible = false;
Symbol 350 MovieClip [mc_miki] Frame 156
this.stop();
delete moveobjsub;
Symbol 352 MovieClip [stop] Frame 1
#initclip 12
Object.registerClass("stop", GamePauseClip);
#endinitclip
Symbol 352 MovieClip [stop] Frame 13
this.stop();
Symbol 369 MovieClip [mc_misato] Frame 1
#initclip 13
Object.registerClass("mc_misato", GameCharacter);
#endinitclip
code = control.characode;
hity = 0.666666666666667;
hitx = -0.0833333333333333;
var s_power = 35;
var s_angle = 45;
crashmaxx = -60;
blockmaxx = 245.8;
specialmaxx = 664.3;
Symbol 369 MovieClip [mc_misato] Frame 2
this.stop();
Symbol 369 MovieClip [mc_misato] Frame 3
youko_mc.cfftype = charatype;
Symbol 369 MovieClip [mc_misato] Frame 4
this.stop();
Symbol 369 MovieClip [mc_misato] Frame 5
this.stop();
new Color(misato_mc.taichi_mc).setTransform(new Color(hittarget).getTransform());
control.slow(1000, 0);
hittarget._visible = false;
control.setspecial(code.touko, false);
if (control.misato) {
control.special.setstart();
specialwait = true;
} else {
this.play();
}
Symbol 369 MovieClip [mc_misato] Frame 14
control.vx = 0;
control.vy = 0;
control.py = 0;
control.slow(0, 0.0333333333333333);
if (control.cffs == 1) {
hittarget._visible = true;
stop_mc._visible = false;
this.gotoAndPlay("cffb");
}
Symbol 369 MovieClip [mc_misato] Frame 15
this.stop();
Symbol 369 MovieClip [mc_misato] Frame 22
this.stop();
Symbol 369 MovieClip [mc_misato] Frame 23
control.slow(1000, 0);
control.setspecial(code.misato, true);
new Color(misato_mc.taichi_mc).setTransform(new Color(hittarget).getTransform());
movecount = 0;
moveobjsub = function () {
taichi_mc._x = taichi_mc._x + taichi_mc.dx;
taichi_mc._y = taichi_mc._y + taichi_mc.dy;
taichi_mc._rotation = taichi_mc._rotation + taichi_mc.dr;
movecount++;
};
Symbol 369 MovieClip [mc_misato] Frame 30
new Color(taichi_mc).setTransform(new Color(hittarget).getTransform());
this.taichi_mc.dx = 6;
this.taichi_mc.dy = -2;
this.taichi_mc.dr = 7.2;
Symbol 369 MovieClip [mc_misato] Frame 80
this.taichi_mc.dx = 0;
this.taichi_mc.dy = -75;
this.taichi_mc.dr = 102.857142857143;
Symbol 369 MovieClip [mc_misato] Frame 88
this.taichi_mc.dx = 0;
this.taichi_mc.dy = 0;
this.taichi_mc.dr = 0;
control.vpush();
control.speedblind(true);
control.vx = ((this.px - control.px) / 39) / 0.01;
if (control.vx < 0) {
control.vx = 0;
}
control.vy = 0;
control.nogravity = true;
control.slow(50, 0.01);
Symbol 369 MovieClip [mc_misato] Frame 127
this.taichi_mc._y = -700;
this.taichi_mc._x = 0;
this.taichi_mc.dx = 0;
this.taichi_mc.dy = 87.5;
this.taichi_mc.dr = 60;
Symbol 369 MovieClip [mc_misato] Frame 134
control.vpop();
control.nogravity = false;
control.boost(s_power, s_angle);
control.speedblind(false);
hittarget._visible = true;
control.px = control.px + 0.3;
control.py = control.py + 0.3;
control.slow2(20, 0.5);
control.backeffect("misato");
Symbol 369 MovieClip [mc_misato] Frame 164
this.stop();
Symbol 388 MovieClip [mc_sakuraba] Frame 1
#initclip 14
Object.registerClass("mc_sakuraba", GameCharacter);
#endinitclip
code = control.characode;
special = null;
hity = 1;
hitx = -0.166666666666667;
crashmaxx = 430;
blockmaxx = 430;
Symbol 388 MovieClip [mc_sakuraba] Frame 2
this.stop();
Symbol 388 MovieClip [mc_sakuraba] Frame 3
control.slow(1000, 0);
Symbol 388 MovieClip [mc_sakuraba] Frame 11
angle = (((((Math.abs(Math.atan2(control.vy, control.vx)) / (Math.PI/180)) + 45) % 90) * 70) / 90) + 10;
v = Math.sqrt((control.vx * control.vx) + (control.vy * control.vy));
control.vx = v * Math.cos((angle * Math.PI) / 180);
control.vy = v * Math.sin((angle * Math.PI) / 180);
if (angle >= 45) {
up_mc._visible = true;
down_mc._visible = false;
} else {
up_mc._visible = false;
down_mc._visible = true;
}
control.slow2(30, 1);
control.setspecial(code.youko, false);
movecount = 0;
x1a = 300 + (100 * Math.random());
x1b = 50 + (300 * Math.random());
x2 = 100 + (100 * Math.random());
moveobjsub = function () {
movecount++;
curry1a_mc._x = (movecount / 30) * x1a;
curry1a_mc._y = (((((movecount - 10) * (movecount - 10)) / 20) / 20) * 200) - 200;
curry1a_mc._rotation = curry1a_mc._rotation + 5;
curry1b_mc._x = (movecount / 30) * x1b;
curry1b_mc._y = (((((movecount - 10) * (movecount - 10)) / 20) / 20) * 200) - 200;
curry1b_mc._rotation = curry1b_mc._rotation + 10;
curry2_mc._x = (movecount / 30) * x2;
curry2_mc._y = (((((movecount - 10) * (movecount - 10)) / 20) / 20) * 200) - 200;
curry2_mc._rotation = curry2_mc._rotation + 15;
if (movecount == 30) {
delete moveobjsub;
}
};
Symbol 388 MovieClip [mc_sakuraba] Frame 43
this.stop();
Symbol 388 MovieClip [mc_sakuraba] Frame 44
angle = (((((Math.abs(Math.atan2(control.vy, control.vx)) / (Math.PI/180)) + 45) % 90) * 70) / 90) + 10;
v = Math.sqrt((control.vx * control.vx) + (control.vy * control.vy));
control.vx = v * Math.cos((angle * Math.PI) / 180);
control.vy = v * Math.sin((angle * Math.PI) / 180);
if (angle >= 45) {
up_mc._visible = true;
down_mc._visible = false;
} else {
up_mc._visible = false;
down_mc._visible = true;
}
control.slow2(30, 1);
movecount = 0;
x1a = 300 + (100 * Math.random());
x1b = 50 + (300 * Math.random());
x2 = 100 + (100 * Math.random());
moveobjsub = function () {
movecount++;
curry1a_mc._x = (movecount / 30) * x1a;
curry1a_mc._y = (((((movecount - 10) * (movecount - 10)) / 20) / 20) * 200) - 200;
curry1a_mc._rotation = curry1a_mc._rotation + 5;
curry1b_mc._x = (movecount / 30) * x1b;
curry1b_mc._y = (((((movecount - 10) * (movecount - 10)) / 20) / 20) * 200) - 200;
curry1b_mc._rotation = curry1b_mc._rotation + 10;
curry2_mc._x = (movecount / 30) * x2;
curry2_mc._y = (((((movecount - 10) * (movecount - 10)) / 20) / 20) * 200) - 200;
curry2_mc._rotation = curry2_mc._rotation + 15;
if (movecount == 30) {
delete moveobjsub;
}
};
Symbol 388 MovieClip [mc_sakuraba] Frame 76
this.stop();
Symbol 399 MovieClip [mc_tomoki] Frame 1
#initclip 15
Object.registerClass("mc_tomoki", GameCharacter);
#endinitclip
code = control.characode;
hity = 1;
hitx = -0.166666666666667;
special = null;
var e = 0.7;
crashmaxx = 217.9;
blockmaxx = 217.9;
Symbol 399 MovieClip [mc_tomoki] Frame 2
this.stop();
Symbol 399 MovieClip [mc_tomoki] Frame 3
control.slow(1000, 0);
Symbol 399 MovieClip [mc_tomoki] Frame 11
control.vx = control.vx * e;
control.vy = Math.abs(control.vy) * e;
control.slow2(30, 1);
control.setspecial(code.youko, false);
Symbol 399 MovieClip [mc_tomoki] Frame 41
this.stop();
Symbol 399 MovieClip [mc_tomoki] Frame 42
control.vx = control.vx * e;
control.vy = Math.abs(control.vy) * e;
control.slow2(30, 1);
Symbol 399 MovieClip [mc_tomoki] Frame 72
this.stop();
Symbol 421 MovieClip [mc_touko] Frame 1
#initclip 16
Object.registerClass("mc_touko", GameCharacter);
#endinitclip
code = control.characode;
hity = 0.833333333333333;
hitx = 0.166666666666667;
var power = 11;
var angle = 20;
var s_power = 25;
var s_angle = 30;
crashmaxx = 526;
specialmaxx = 605.65;
blockmaxx = 245.8;
Symbol 421 MovieClip [mc_touko] Frame 2
this.stop();
Symbol 421 MovieClip [mc_touko] Frame 3
youko_mc.cfftype = charatype;
Symbol 421 MovieClip [mc_touko] Frame 4
this.stop();
Symbol 421 MovieClip [mc_touko] Frame 5
this.stop();
control.setspecial(code.misato, true);
if (control.touko) {
control.special.setstart();
specialwait = true;
} else {
this.play();
}
control.setspecial(code.touko, true);
Symbol 421 MovieClip [mc_touko] Frame 6
control.boost(power, angle);
control.slow2(25, 1);
Symbol 421 MovieClip [mc_touko] Frame 36
this.stop();
Symbol 421 MovieClip [mc_touko] Frame 37
control.vpush();
control.speedblind(true);
control.slow(1000, 0);
this.taichi_mc._y = (-control.py) * 150;
this.taichi_mc._x = (control.px - this.px) * 150;
this.taichi_mc.dx = (275 - ((control.px - this.px) * 150)) / 62;
this.taichi_mc.dy = ((control.py * 150) - 100) / 62;
this.taichi_mc.dr = 5;
this.taichi_mc._rotation = control.r;
control.py = 0.666666666666667;
new Color(taichi_mc).setTransform(new Color(hittarget).getTransform());
hittarget._visible = false;
movecount = 0;
moveobjsub = function () {
taichi_mc._x = taichi_mc._x + taichi_mc.dx;
taichi_mc._y = taichi_mc._y + taichi_mc.dy;
taichi_mc._rotation = taichi_mc._rotation + taichi_mc.dr;
movecount++;
};
Symbol 421 MovieClip [mc_touko] Frame 100
control.slow(50, 0.01);
control.vx = (((((this.px - control.px) * 150) + 275) / 45) / 150) / 0.01;
control.vy = 0;
control.nogravity = true;
control.backeffect("white");
Symbol 421 MovieClip [mc_touko] Frame 145
hittarget._visible = true;
control.nogravity = false;
control.vpop();
control.boost(s_power, s_angle);
control.speedblind(false);
control.slow2(20, 1);
control.backeffect("metu");
Symbol 421 MovieClip [mc_touko] Frame 164
this.stop();
Symbol 428 MovieClip [mc_youko] Frame 1
#initclip 17
Object.registerClass("mc_youko", GameCharacter);
#endinitclip
code = control.characode;
hity = 0.833333333333333;
hitx = -0.166666666666667;
special = null;
crashmaxx = 0;
Symbol 428 MovieClip [mc_youko] Frame 2
this.stop();
Symbol 428 MovieClip [mc_youko] Frame 3
control.setspecial(code.youko, true);
control.setspecial(code.nanaka, false);
control.setspecial(code.touko, false);
Symbol 428 MovieClip [mc_youko] Frame 15
control.slow2(15, 1);
Symbol 428 MovieClip [mc_youko] Frame 31
this.stop();
Symbol 429 MovieClip [s_chara] Frame 1
#initclip 18
Object.registerClass("s_chara", GamePauseClip);
#endinitclip
function moveobj(px, py, r, scale, changescale) {
var _local2 = -25000 / scale;
var _local3 = 45000 / scale;
taichi_mc.moveobj(py, r, scale);
if (changescale) {
_xscale = scale;
_yscale = scale;
}
nanaka_mc.moveobj(px, _local2);
youko_mc.moveobj(px, py, scale, _local2, _local3);
miki_mc.moveobj(px, py, scale, _local2, _local3);
kiri_mc.moveobj(px, py, scale, _local2, _local3);
touko_mc.moveobj(px, py, scale, _local2, _local3);
tomoki_mc.moveobj(px, py, scale, _local2, _local3);
misato_mc.moveobj(px, py, scale, _local2, _local3);
sakuraba_mc.moveobj(px, py, scale, _local2, _local3);
}
this.stop();
sscale = 7000;
escale = 100;
sx = -84.75;
ex = -100;
sy = -300;
ey = -200;
frames = 15;
this._xscale = sscale;
this._yscale = sscale;
this._x = 350 - ((sx * sscale) / 100);
this._y = 200 - ((sy * sscale) / 100);
count = 0;
onEnterFrame = function () {
dt = ((count * count) / frames) / frames;
scale = 1 / ((((1 / escale) - (1 / sscale)) * dt) + (1 / sscale));
px = ((ex - sx) * dt) + sx;
py = ((ey - sy) * dt) + sy;
this._xscale = scale;
this._yscale = scale;
this._x = 350 - ((px * scale) / 100);
this._y = 200 - ((py * scale) / 100);
count = count + 1;
if (count > frames) {
delete this.onEnterFrame;
control.main.gotoAndPlay("standby");
}
};
Symbol 429 MovieClip [s_chara] Frame 2
this.stop();
Symbol 429 MovieClip [s_chara] Frame 15
control.taichi = taichi_mc;
control.nanakaobj = this.nanaka_mc;
this.nanaka_mc._rotation = -control.i_angle;
Symbol 429 MovieClip [s_chara] Frame 44
code = control.characode;
control.initchara(this.youko_mc, code.youko);
control.initchara(this.miki_mc, code.miki);
control.initchara(this.kiri_mc, code.kiri);
control.initchara(this.touko_mc, code.touko);
control.initchara(this.tomoki_mc, code.tomoki);
control.initchara(this.misato_mc, code.misato);
control.initchara(this.sakuraba_mc, code.sakuraba);
Symbol 429 MovieClip [s_chara] Frame 45
this.stop();
Symbol 433 MovieClip Frame 1
function view(y) {
if (y > 14) {
this._visible = true;
if (val != y) {
val = y;
height_txt.text = String((Math.floor(y) + ".") + Math.floor((Math.abs(y) + 1) * 100).toString().substr(-2));
}
} else {
this._visible = false;
}
}
this.stop();
height_txt.autoSize = "right";
var val = 0;
Symbol 438 MovieClip [aerialtext] Frame 1
#initclip 19
Object.registerClass("aerialtext", GamePauseClip);
#endinitclip
function view(aerialstatus, fall, intervaltime) {
if (aerialstatus) {
downercount = Math.min(100, downercount + ((intervaltime * 100) / 3));
}
var _local2 = Math.floor(downercount);
if (downerint < _local2) {
downerint = _local2;
downer_txt.text = downerint + "%";
if (downerint == 100) {
db_mc._visible = true;
new Color(downer_txt).setRGB(255);
}
} else if (downerint > _local2) {
downerint = _local2;
downer_txt.text = downerint + "%";
new Color(downer_txt).setRGB(5592405);
}
aerialenabled = (aerialstatus && (active)) && ((fall && (uppercount > 0)) || ((!fall) && (downerint == 100)));
textd_mc._visible = !aerialenabled;
if (aerialenabled) {
this.upper = fall;
textr_mc._visible = fall;
textb_mc._visible = !fall;
} else {
textr_mc._visible = false;
textb_mc._visible = false;
}
}
this.stop();
var count;
var initx = _x;
var targetdagger;
var upper = false;
var uppercount = 3;
var downercount = 100;
var downerint = 0;
var aerialenabled = false;
text_mc._visible = false;
dr1_mc.stop();
dr2_mc.stop();
dr3_mc.stop();
db_mc.stop();
var active = true;
this.onMouseDown = function () {
if ((aerialenabled && (!btn.roll)) && (!this.pauseflag)) {
aerialenabled = false;
if (upper) {
switch (uppercount--) {
case 1 :
targetdagger = dr1_mc;
break;
case 2 :
targetdagger = dr2_mc;
break;
case 3 :
targetdagger = dr3_mc;
}
} else {
downercount = 0;
targetdagger = db_mc;
}
active = false;
this.gotoAndPlay("aerial");
control.aerialcrash(upper);
}
};
view(false, false, 0);
Symbol 438 MovieClip [aerialtext] Frame 2
targetdagger.play();
Symbol 438 MovieClip [aerialtext] Frame 16
this.stop();
targetdagger._visible = false;
targetdagger.gotoAndStop(1);
count = 0;
this.onEnterFrame = function () {
count++;
_x = ((((((-count) / 10) * 250) / 100) * _xscale) + initx);
if (count >= 10) {
delete onEnterFrame;
this.play();
}
};
Symbol 438 MovieClip [aerialtext] Frame 17
crashr_mc._visible = upper;
crashb_mc._visible = !upper;
Symbol 438 MovieClip [aerialtext] Frame 49
this.stop();
count = 0;
onEnterFrame = function () {
count++;
_x = ((((((count / 10) - 1) * 250) * _xscale) / 100) + initx);
if (count >= 10) {
delete onEnterFrame;
active = true;
}
};
Symbol 441 Button
on (release) {
if (this.openstatus) {
this.openstatus = false;
pauser_btn._visible = false;
pauser_btn.enabled = false;
title_btn._visible = false;
title_btn.enabled = false;
meter_btn._visible = false;
meter_btn.enabled = false;
againr_btn._visible = false;
againr_btn.enabled = false;
quality_btn._visible = false;
quality_btn.enabled = false;
sound_btn._visible = false;
sound_btn.enabled = false;
} else {
this.viewbtn();
}
}
Symbol 444 Button
on (release) {
_parent.allpausestop();
_parent.changer.changescene("again", new Sound(_parent));
}
Symbol 448 Button
on (release) {
if (_parent.allpausetoggle()) {
this.gotoAndStop("pause");
} else {
this.gotoAndStop("normal");
}
}
Symbol 452 Button
on (release) {
_parent.speed_mc.modechange();
}
Symbol 456 Button
on (release) {
switch (_quality) {
case "HIGH" :
_quality = "MEDIUM";
break;
case "MEDIUM" :
_quality = "LOW";
break;
case "LOW" :
_quality = "HIGH";
break;
default :
_quality = "HIGH";
}
control.localset();
this.qualitytext();
}
Symbol 460 Button
on (release) {
if (control.globalsound.getVolume() == 0) {
control.globalsound.setVolume(100);
control.localset();
_parent.bgm_mc.soundRestart();
} else {
control.globalsound.setVolume(0);
control.localset();
_parent.bgm_mc.soundStop();
}
this.soundtext();
}
Symbol 463 Button
on (release) {
_parent.allpausestop();
_parent.changer.changescene("gotitle", new Sound(_parent));
}
Symbol 465 MovieClip Frame 1
function hidebtn() {
this.roll = (((((this.menu_btn.roll || (this.meter_btn.roll)) || (this.pauser_btn.roll)) || (this.title_btn.roll)) || (this.againr_btn.roll)) || (this.quality_btn.roll)) || (this.sound_btn.roll);
if ((!roll) && (this.hideenable)) {
this.openstatus = false;
pauser_btn._visible = false;
pauser_btn.enabled = false;
title_btn._visible = false;
title_btn.enabled = false;
meter_btn._visible = false;
meter_btn.enabled = false;
againr_btn._visible = false;
againr_btn.enabled = false;
quality_btn._visible = false;
quality_btn.enabled = false;
sound_btn._visible = false;
sound_btn.enabled = false;
}
}
function viewbtn() {
this.roll = (((((this.menu_btn.roll || (this.meter_btn.roll)) || (this.title_btn.roll)) || (this.pauser_btn.roll)) || (this.againr_btn.roll)) || (this.quality_btn.roll)) || (this.sound_btn.roll);
openstatus = true;
pauser_btn._visible = true;
pauser_btn.enabled = true;
title_btn._visible = true;
title_btn.enabled = true;
meter_btn._visible = true;
meter_btn.enabled = true;
againr_btn._visible = true;
againr_btn.enabled = true;
quality_btn._visible = true;
quality_btn.enabled = true;
sound_btn._visible = true;
sound_btn.enabled = true;
}
function gamestart() {
again_btn.roll = false;
againr_btn = again_btn;
again_btn._visible = againd_btn._visible;
again_btn.enabled = againd_btn.enabled;
againd_btn._visible = false;
againd_btn.enabled = false;
pause_btn.roll = false;
pauser_btn = pause_btn;
pause_btn._visible = paused_btn._visible;
pause_btn.enabled = paused_btn.enabled;
paused_btn._visible = false;
paused_btn.enabled = false;
}
function gameover() {
paused_btn.roll = false;
pauser_btn = paused_btn;
paused_btn._visible = pause_btn._visible;
paused_btn.enabled = pause_btn.enabled;
pause_btn._visible = false;
pause_btn.enabled = false;
this.hideenable = false;
this.viewbtn();
}
function rollover() {
this.roll = true;
this.viewsub();
viewbtn();
}
function rollout() {
this.roll = false;
hidebtn();
}
function qualitytext() {
switch (_quality) {
case "HIGH" :
qtxt = "HIGH > MEDIUM";
return;
case "MEDIUM" :
qtxt = "MEDIUM > LOW";
return;
case "LOW" :
qtxt = "LOW > HIGH";
return;
default :
qtxt = "> HIGH";
}
}
function soundtext() {
if (control.globalsound.getVolume() == 0) {
stxt = "OFF > ON";
} else {
stxt = "ON > OFF";
}
}
this.stop();
var roll = false;
var openstatus;
var hideenable;
this.menu_btn.onRollOver = rollover;
this.menu_btn.onRollOut = rollout;
this.menu_btn.onReleaseOutside = rollout;
this.pause_btn.onRollOver = rollover;
this.pause_btn.onRollOut = rollout;
this.pause_btn.onReleaseOutside = rollout;
this.paused_btn.onRollOver = rollover;
this.paused_btn.onRollOut = rollout;
this.paused_btn.onReleaseOutside = rollout;
this.title_btn.onRollOver = rollover;
this.title_btn.onRollOut = rollout;
this.title_btn.onReleaseOutside = rollout;
this.meter_btn.onRollOver = rollover;
this.meter_btn.onRollOut = rollout;
this.meter_btn.onReleaseOutside = rollout;
this.again_btn.onRollOver = rollover;
this.again_btn.onRollOut = rollout;
this.again_btn.onReleaseOutside = rollout;
this.againd_btn.onRollOver = rollover;
this.againd_btn.onRollOut = rollout;
this.againd_btn.onReleaseOutside = rollout;
this.quality_btn.onRollOver = rollover;
this.quality_btn.onRollOut = rollout;
this.quality_btn.onReleaseOutside = rollout;
this.quality_btn.viewsub = qualitytext;
this.sound_btn.onRollOver = rollover;
this.sound_btn.onRollOut = rollout;
this.sound_btn.onReleaseOutside = rollout;
this.sound_btn.viewsub = soundtext;
hideenable = true;
againr_btn = againd_btn;
againd_btn.stop();
againd_btn.useHandCursor = false;
again_btn._visible = false;
again_btn.enabled = false;
pauser_btn = paused_btn;
paused_btn.stop();
paused_btn.useHandCursor = false;
pause_btn._visible = false;
pause_btn.enabled = false;
hidebtn();
Symbol 465 MovieClip Frame 2
this.stop();
Symbol 465 MovieClip Frame 3
this.stop();
Symbol 469 MovieClip [f_toukoface] Frame 1
#initclip 20
Object.registerClass("f_toukoface", GameCharaFace);
#endinitclip
Symbol 470 MovieClip [f_tomokiface] Frame 1
#initclip 21
Object.registerClass("f_tomokiface", GameCharaFace);
#endinitclip
Symbol 471 MovieClip [f_sakurabaface] Frame 1
#initclip 22
Object.registerClass("f_sakurabaface", GameCharaFace);
#endinitclip
Symbol 472 MovieClip [f_kiriface] Frame 1
#initclip 23
Object.registerClass("f_kiriface", GameCharaFace);
#endinitclip
Symbol 473 MovieClip [f_misatoface] Frame 1
#initclip 24
Object.registerClass("f_misatoface", GameCharaFace);
#endinitclip
Symbol 474 MovieClip [f_mikiface] Frame 1
#initclip 25
Object.registerClass("f_mikiface", GameCharaFace);
#endinitclip
Symbol 475 MovieClip [f_youkoface] Frame 1
#initclip 26
Object.registerClass("f_youkoface", GameCharaFace);
#endinitclip
Symbol 476 MovieClip Frame 1
function getchara(charatype) {
switch (charatype) {
case code.misato :
return(misato_mc);
case code.touko :
return(touko_mc);
case code.kiri :
return(kiri_mc);
case code.miki :
return(miki_mc);
case code.youko :
return(youko_mc);
case code.sakuraba :
return(sakuraba_mc);
case code.tomoki :
return(tomoki_mc);
}
return(null);
}
this.stop();
var code = control.characode;
Symbol 479 MovieClip [specialtext] Frame 1
#initclip 27
Object.registerClass("specialtext", GamePauseClip);
#endinitclip
function setstart() {
specialstatus = -1;
_visible = true;
timer = getTimer();
onEnterFrame = function () {
if ((getTimer() - timer) > 700) {
delete onEnterFrame;
delete onMouseDown;
_visible = true;
this.gotoAndPlay("ng");
}
};
onMouseDown = function () {
if ((!btn.roll) && (!this.pauseflag)) {
_visible = true;
delete onEnterFrame;
delete onMouseDown;
this.gotoAndPlay("ok");
}
};
this.gotoAndPlay("wait");
}
function getstatus() {
return(specialstatus);
}
this.stop();
_visible = false;
var specialstatus = 0;
var timer;
Symbol 479 MovieClip [specialtext] Frame 31
this.stop();
Symbol 479 MovieClip [specialtext] Frame 32
specialstatus = 0;
Symbol 479 MovieClip [specialtext] Frame 41
this.stop();
this._visible = false;
Symbol 479 MovieClip [specialtext] Frame 61
this.stop();
this._visible = false;
specialstatus = 1;
Symbol 489 MovieClip Frame 1
function view() {
if (control.youko) {
base_mc._visible = false;
youko_mc._visible = true;
misato_mc._visible = false;
touko_mc._visible = false;
kiri_mc._visible = false;
miki_mc._visible = false;
if (control.nanaka) {
nanaka_mc._visible = true;
misatod_mc._visible = false;
toukod_mc._visible = false;
kirid_mc._visible = false;
mikid_mc._visible = false;
} else {
nanaka_mc._visible = false;
misatod_mc._visible = true;
toukod_mc._visible = true;
kirid_mc._visible = true;
mikid_mc._visible = true;
}
} else {
youko_mc._visible = false;
nanaka_mc._visible = false;
base_mc._visible = true;
misato_mc._visible = control.misato;
touko_mc._visible = control.touko;
kiri_mc._visible = control.kiri;
miki_mc._visible = control.miki;
misatod_mc._visible = !control.misato;
toukod_mc._visible = !control.touko;
kirid_mc._visible = !control.kiri;
mikid_mc._visible = !control.miki;
}
}
view();
Symbol 493 MovieClip Frame 1
function view(score) {
if (score != null) {
score_txt.text = score;
}
}
this.stop();
score_txt.autoSize = "right";
var init;
score_txt.text = init;
Symbol 497 MovieClip Frame 1
function view(score, breakscore) {
if (val != score) {
val = score;
var _local3 = String((Math.floor(score) + ".") + Math.floor((Math.abs(score) + 1) * 100).toString().substr(-2));
score_txt.text = _local3;
if (breakscore) {
if (!changed) {
changed = true;
this.nextFrame();
new Color(this).setRGB(16711680);
}
return(_local3);
}
}
return(null);
}
this.stop();
score_txt.autoSize = "right";
var changed = false;
var val = null;
view(0, false);
Symbol 497 MovieClip Frame 2
this.stop();
Symbol 506 MovieClip Frame 1
function blind(blindflag) {
blindmode = blindflag;
modeset();
}
function modeset() {
switch (control.metermode) {
case 0 :
blind_txt._visible = blindmode;
score_txt._visible = false;
hscore_txt._visible = !blindmode;
vscore_txt._visible = false;
rightarrow_mc._visible = true;
uparrow_mc._visible = false;
movearrow_mc._visible = false;
return;
case 1 :
blind_txt._visible = blindmode;
score_txt._visible = false;
hscore_txt._visible = false;
vscore_txt._visible = !blindmode;
rightarrow_mc._visible = false;
uparrow_mc._visible = true;
movearrow_mc._visible = false;
return;
case 2 :
blind_txt._visible = blindmode;
score_txt._visible = !blindmode;
hscore_txt._visible = false;
vscore_txt._visible = false;
rightarrow_mc._visible = false;
uparrow_mc._visible = false;
movearrow_mc._visible = !blindmode;
}
}
function modechange() {
control.metermode = (control.metermode + 1) % 3;
control.localset();
modeset();
}
function view(horizonal, vertical) {
if ((vval != vertical) || (hval != vertical)) {
movearrow_mc._rotation = (Math.atan2(-vertical, horizonal) * 180) / Math.PI;
score = Math.sqrt((vertical * vertical) + (horizonal * horizonal));
scorestr = String((Math.floor(score) + ".") + Math.floor((Math.abs(score) + 1) * 100).toString().substr(-2));
score_txt.text = scorestr;
}
if (vval != vertical) {
if ((vval < 0) && (vertical >= 0)) {
uparrow_mc._rotation = -90;
} else if ((vval >= 0) && (vertical < 0)) {
uparrow_mc._rotation = 90;
}
vval = vertical;
score = Math.abs(vertical);
scorestr = String((Math.floor(score) + ".") + Math.floor((Math.abs(score) + 1) * 100).toString().substr(-2));
vscore_txt.text = scorestr;
}
if (hval != horizonal) {
hval = horizonal;
scorestr = String((Math.floor(horizonal) + ".") + Math.floor((Math.abs(horizonal) + 1) * 100).toString().substr(-2));
hscore_txt.text = scorestr;
}
}
this.stop();
score_txt.autoSize = "right";
var val = null;
var vval = null;
var hval = null;
hscore_txt._visible = false;
vscore_txt._visible = false;
var scorestr = null;
var blindmode = false;
modeset();
view(0, 0);
Symbol 514 MovieClip Frame 1
function clearevent() {
clearInterval(intervalid);
}
function meter1() {
time = getTimer() - starttime;
val = Math.round((time * rate1) % 180);
meter1_mc._rotation = -Math.min(val, 180 - val);
updateAfterEvent();
}
function meter2() {
time = getTimer() - starttime;
val = Math.round((time * rate2) % 200);
meter2_mc._xscale = Math.min(val, 200 - val);
meter2_mc._yscale = meter2_mc._xscale;
updateAfterEvent();
}
this.stop();
onUnload = clearevent;
clearevent();
delete this.onMouseUp;
delete this.onMouseDown;
this.release_mc._visible = false;
meter2_mc._xscale = 0;
meter2_mc._yscale = 0;
var rate1 = 0.18;
var rate2 = 0.3;
starttime = getTimer();
intervalid = setInterval(meter1, 1);
this.onMouseDown = function () {
if (!btn.roll) {
clearInterval(intervalid);
delete this.onMouseDown;
release_mc._visible = true;
press_mc._visible = false;
starttime = getTimer();
intervalid = setInterval(meter2, 1);
this.onMouseUp = function () {
clearInterval(intervalid);
delete this.onMouseDown;
delete this.onMouseUp;
control.i_angle = -meter1_mc._rotation;
control.i_power = meter2_mc._xscale;
control.gamestart();
press_mc._visible = false;
release_mc._visible = false;
this.play();
};
}
};
Symbol 514 MovieClip Frame 2
angle = control.i_angle + "\u00B0";
power = control.i_power + "%";
Symbol 514 MovieClip Frame 5
this.stop();
Symbol 518 MovieClip [flash5] Frame 1
#initclip 28
Object.registerClass("flash5", GamePauseClip);
#endinitclip
Symbol 533 MovieClip Frame 1
this.stop();
typea_mc._visible = false;
typeb_mc._visible = false;
typec_mc._visible = false;
typed_mc._visible = false;
switch (cfftype) {
case control.characode.misato :
typea_mc._visible = true;
break;
case control.characode.touko :
typeb_mc._visible = true;
break;
case control.characode.kiri :
typec_mc._visible = true;
break;
case control.characode.miki :
typed_mc._visible = true;
}
Symbol 534 MovieClip [s_main] Frame 1
#initclip 29
Object.registerClass("s_main", GamePauseClip);
#endinitclip
function backeffect(effect, param) {
this.effectparam = param;
this.gotoAndPlay(effect);
}
function moveobj(px, py, r, scale, changescale) {
chara_mc.moveobj(px, py, r, scale, changescale);
back_mc.moveobj((-px) * 150, scale, changescale);
this.scale = scale;
}
function changecolor(color) {
new Color(this.out_mc.taichi_mc).setTransform(color);
}
function viewscore(px, py, breakscore, vx, vy) {
out_mc.view(py);
highscore_mc.view(score_mc.view(px, breakscore));
speed_mc.view(vx, vy);
specialchara_mc.view();
}
function gameover() {
this.menu_mc.gameover();
score_mc.count = 0;
score_mc.onEnterFrame = function () {
this.count++;
this._xscale = 100 + ((100 * this.count) / 10);
this._yscale = 100 + ((100 * this.count) / 10);
this._x = ((-87.5 * this.count) / 10) + 687.5;
this._y = ((159.4 * this.count) / 10) + 25.6;
if (this.count >= 10) {
delete this.onEnterFrame;
}
};
mysound = new Sound(this);
this.onEnterFrame = function () {
mysound.setVolume(Math.max(mysound.getVolume() - 1, 0));
if (mysound.getVolume() <= 0) {
delete this.onEnterFrame;
}
};
}
this.stop();
this.allpauseplay();
var effectparam;
var scale;
this.chara_mc.gotoAndStop("stop");
this.back_mc.gotoAndStop("stop");
this.back_mc._visible = true;
delete this.onEnterFrame;
new Sound(this).setVolume(100);
Symbol 534 MovieClip [s_main] Frame 2
this.stop();
this.special_mc._visible = false;
control.special = this.special_mc;
this.special_mc.btn = this.menu_mc;
control.contact = this.contact_mc;
out_mc._visible = false;
highscore_mc.init = control.best;
this.meter_mc.btn = this.menu_mc;
this.aerial_mc.btn = this.menu_mc;
control.aerial = this.aerial_mc;
control.speed = this.speed_mc;
this.chara_mc.gotoAndPlay("standby");
this.back_mc.gotoAndPlay("standby");
Symbol 534 MovieClip [s_main] Frame 3
this.chara_mc.gotoAndPlay("start");
this.back_mc.gotoAndPlay("start");
this.menu_mc.gamestart();
Symbol 534 MovieClip [s_main] Frame 15
back_mc._visible = false;
count = 0;
this.onEnterFrame = function () {
count++;
crash_mc._alpha = (((control.i_power * 25) - (100 * count)) / 5) + 100;
crash_mc._x = ((-200 * count) / 30) + 450;
chara_mc._x = 450 - (6.66666666666667 * count);
if (crash_mc._alpha < 100) {
back_mc._visible = true;
}
if (crash_mc._alpha <= 0) {
crash_mc._visible = false;
}
if (count >= 30) {
delete this.onEnterFrame;
}
};
Symbol 534 MovieClip [s_main] Frame 35
bgm_mc.soundStart(2);
Symbol 534 MovieClip [s_main] Frame 45
this.stop();
var s;
this.onEnterFrame = function () {
control.moveobj();
};
Symbol 534 MovieClip [s_main] Frame 46
back_mc._visible = false;
Symbol 534 MovieClip [s_main] Frame 89
back_mc._visible = true;
Symbol 534 MovieClip [s_main] Frame 93
this.stop();
Symbol 534 MovieClip [s_main] Frame 104
back_mc._visible = true;
Symbol 534 MovieClip [s_main] Frame 113
this.stop();
Symbol 534 MovieClip [s_main] Frame 114
this.stop();
back_mc._visible = false;
Symbol 534 MovieClip [s_main] Frame 139
this.stop();
Symbol 534 MovieClip [s_main] Frame 140
back_mc._visible = false;
Symbol 534 MovieClip [s_main] Frame 151
cff_mc.cfftype = effectparam;
Symbol 534 MovieClip [s_main] Frame 163
back_mc._visible = true;
Symbol 534 MovieClip [s_main] Frame 207
this.stop();