Combined Code
movieClip 7 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 9 {
frame 1 {
this._visible = false;
}
}
movieClip 10 suika {
frame 1 {
if (_root.chara.endflg) {
this.removeMovieClip();
} else {
NoHit = false;
HitFlg = false;
++_root.icon_id;
}
}
frame 2 {
this._x += 10;
if (_root.clear_cnt == 1) {
this._x += 7;
}
icon._x = this._x * 3;
}
frame 3 {
if (!NoHit) {
if (hitTest(_root.chara.EndArea)) {
_root.hud.Combo = 0;
NoHit = true;
}
if (Center.hitTest(_root.chara.S_HitArea)) {
_root.chara.HitFlg = true;
NoHit = true;
++_root.hud.Combo;
_root.hud.Num -= 2;
if (!(_root.hud.Combo % 5)) {
_root.attachMovie('combo_effect', 'ce', 10000);
_root.ce.combo = _root.hud.Combo;
}
attachMovie('suika_effect', 'new_effect' + _root.effect_id, 100 + _root.effect_id);
++_root.effect_id;
new_obj = _root.attachMovie('HitEffect_S_MC', 'new_effect' + _root.effect_id, 2000 + _root.effect_id);
new_obj._x = 320;
new_obj._y = 375;
++_root.effect_id;
new_score = _root.attachMovie('ScoreEffect', 'new_score' + _root.effect_id + 1000, 3000 + _root.effect_id);
new_score._x = 320;
new_score._y = 375;
new_score.txt.gotoAndStop(2);
++_root.effect_id;
HitFlg = true;
obj.gotoAndStop(3);
} else {
if (hitTest(_root.chara.HitArea)) {
_root.chara.HitFlg = true;
NoHit = true;
++_root.hud.Combo;
--_root.hud.Num;
if (!(_root.hud.Combo % 5)) {
_root.attachMovie('combo_effect', 'ce', 10000);
_root.ce.combo = _root.hud.Combo;
}
attachMovie('suika_effect', 'new_effect' + _root.effect_id, 100 + _root.effect_id);
++_root.effect_id;
new_obj = _root.attachMovie('HitEffect_N_MC', 'new_effect' + _root.effect_id, 2000 + _root.effect_id);
new_obj._x = 320;
new_obj._y = 375;
++_root.effect_id;
new_score = _root.attachMovie('ScoreEffect', 'new_score' + _root.effect_id + 1000, 3000 + _root.effect_id);
new_score._x = 320;
new_score._y = 375;
++_root.effect_id;
HitFlg = true;
obj.gotoAndStop(2);
}
}
}
gotoAndPlay(2);
}
}
movieClip 14 {
frame 1 {
stop();
}
}
movieClip 15 ScoreEffect {
frame 24 {
this.removeMovieClip();
}
}
movieClip 18 {
}
movieClip 19 SandEffect {
frame 24 {
this.removeMovieClip();
}
}
movieClip 25 {
frame 20 {
stop();
}
}
movieClip 26 s_head {
frame 1 {
if (_root.chara.endflg) {
this.removeMovieClip();
} else {
NoHit = false;
HitFlg = false;
++_root.icon_id;
}
}
frame 2 {
this._x += 10;
if (_root.clear_cnt == 1) {
this._x += 7;
}
}
frame 3 {
if (!NoHit) {
if (hitTest(_root.chara.HitArea)) {
_root.chara.HitFlg = true;
NoHit = true;
_root.hud.Combo = 0;
_root.hud.Num += 3;
obj.gotoAndStop(21);
attachMovie('head_effect', 'new_effect' + _root.effect_id, 100 + _root.effect_id);
new_effect._x = _y;
++_root.effect_id;
new_score = _root.attachMovie('ScoreEffect', 'new_score' + _root.effect_id + 1000, 3000 + _root.effect_id);
new_score._x = 320;
new_score._y = 375;
new_score.txt.gotoAndStop(3);
++_root.effect_id;
HitFlg = true;
}
}
gotoAndPlay(2);
}
}
movieClip 31 icon_sui {
frame 1 {
stop();
}
}
movieClip 32 ico_suika {
frame 1 {
this._x = Tgt._x / 3;
if (_root.chara.endflg) {
this._alpha -= 20;
if (this._alpha < 0) {
this.removeMovieClip();
}
}
}
frame 2 {
if (Tgt.HitFlg) {
obj.gotoAndStop(2);
}
gotoAndPlay(1);
}
}
movieClip 37 {
frame 1 {
stop();
}
}
movieClip 38 ico_head {
frame 1 {
this._x = Tgt._x / 3;
if (_root.chara.endflg) {
this.removeMovieClip();
this._alpha -= 20;
if (this._alpha < 0) {
this.removeMovieClip();
}
}
}
frame 2 {
if (Tgt.HitFlg) {
obj.gotoAndStop(2);
}
gotoAndPlay(1);
}
}
movieClip 39 {
frame 1 {
stop();
}
}
movieClip 40 head {
frame 1 {
if (_root.chara.endflg) {
this.removeMovieClip();
} else {
NoHit = false;
HitFlg = false;
++_root.icon_id;
}
}
frame 2 {
this._x += 10;
if (_root.clear_cnt == 1) {
this._x += 7;
}
}
frame 3 {
if (!NoHit) {
if (hitTest(_root.chara.HitArea)) {
_root.chara.HitFlg = true;
NoHit = true;
_root.hud.Combo = 0;
_root.hud.Num += 3;
obj.gotoAndStop(2);
attachMovie('head_effect', 'new_effect' + _root.effect_id, 100 + _root.effect_id);
new_effect._x = _y;
++_root.effect_id;
new_score = _root.attachMovie('ScoreEffect', 'new_score' + _root.effect_id + 1000, 3000 + _root.effect_id);
new_score._x = 320;
new_score._y = 375;
new_score.txt.gotoAndStop(3);
++_root.effect_id;
HitFlg = true;
}
}
gotoAndPlay(2);
}
}
movieClip 43 suika_effect {
frame 11 {
this.removeMovieClip();
}
}
movieClip 46 HitEffect_S_MC {
frame 15 {
this.removeMovieClip();
}
}
movieClip 47 HitEffect_N_MC {
frame 1 {
this._rotation = Math.round(Math.random() * 360);
}
frame 15 {
this.removeMovieClip();
}
}
movieClip 50 head_effect {
frame 11 {
this.removeMovieClip();
}
}
movieClip 55 {
}
movieClip 58 {
}
movieClip 59 {
frame 40 {
stop();
}
}
// unknown tag 88 length 36
movieClip 63 combo_effect {
frame 1 {
_x = 320;
_y = 250;
if (_root.hud.num <= 0) {
this.removeMovieClip();
}
}
frame 32 {
this.removeMovieClip();
}
}
frame 1 {
icon_id = 0;
TwitCnt = 0;
PushTw = false;
TwitMode = false;
TwitRest = 3;
Twitted.stop();
Errored.stop();
var SendData = new LoadVars();
SendData.onLoad = function (success) {
if (success) {
trace('接続æˆåŠŸ');
trace('ret=' + this.ret);
_root.dbg = this.ret;
if (this.ret == 1) {
getURL('javascript:void(window.open('http://www.asgard-japan.com/booston/naitra/connect_twitter.php','w','width=400,height=250'))', '');
_root.PushTw = false;
} else {
if (this.ret == 0) {
getURL('javascript:void(window.open('http://www.asgard-japan.com/booston/naitra/tw_index.php/','w','width=400,height=250'))', '');
++TwitCnt;
--TwitRest;
_root.Twitted.gotoAndPlay(1);
} else {
_root.PushTw = false;
}
}
} else {
trace('接続失敗');
_root.Errored.gotoAndPlay(1);
}
_root.TwitMode = false;
};
}
frame 1 {
play();
}
button 70 {
on (press) {
if (!PushTw) {
stopAllSounds();
gotoAndPlay('start_text');
}
}
}
frame 2 {
Stage.showMenu = false;
Twitted.stop();
Errored.stop();
clear_cnt = 0;
stop();
}
frame 7 {
PushTw = false;
TwitMode = false;
Twitted.stop();
}
frame 7 {
if (clear_cnt == 1) {
msg_window.gotoAndStop('start_2');
}
}
movieClip 84 {
}
movieClip 86 {
frame 1 {
stop();
}
frame 2 {
Attack = false;
endflg = false;
stop();
}
frame 3 {
Attack = true;
play();
HitFlg = false;
}
frame 11 {
Attack = true;
play();
}
frame 12 {
if (!HitFlg) {
new_score = _root.attachMovie('SandEffect', 'new_Effect' + _root.effect_id + 1000, 3000 + _root.effect_id);
new_score._x = 352;
new_score._y = 448;
++_root.effect_id;
}
}
frame 21 {
gotoAndStop(2);
}
}
button 88 {
on (press) {
if (!_root.PushTw) {
if (end_flg && !nohit) {
stopAllSounds();
nohit = true;
_root.nextFrame();
} else {
if (!tw_chk || _root.TwitRest != 0) {
nextFrame();
} else {
gotoAndStop('miss_endtw');
}
}
}
}
}
movieClip 93 {
}
button 102 {
on (release) {
stopAllSounds();
_root.nextFrame();
}
}
button 103 {
on (press) {
if (!_root.PushTw) {
if (tw_chk) {
nextFrame();
} else {
gotoAndStop('miss_tw_restart');
}
}
}
}
movieClip 104 {
frame 1 {
end_flg = false;
nohit = false;
tw_chk = false;
stop();
}
frame 7 {
end_flg = true;
}
frame 10 {
end_flg = false;
nohit = false;
stop();
}
frame 11 {
end_flg = true;
}
frame 14 {
end_flg = true;
}
frame 15 {
end_flg = false;
nohit = false;
stop();
}
frame 16 {
end_flg = true;
}
frame 17 {
end_flg = false;
nohit = false;
stop();
}
frame 18 {
end_flg = true;
}
frame 19 {
end_flg = false;
nohit = false;
stop();
}
frame 20 {
tw_chk = true;
}
frame 23 {
stop();
}
frame 25 {
tw_chk = false;
}
}
frame 8 {
stop();
}
frame 9 {
play();
hud.clock.clock_cnt = _root.TwitCnt;
hud.HideFlg = false;
effect_id = 0;
}
instance chara of movieClip 86 {
onClipEvent (load) {
gotoAndStop(2);
}
onClipEvent (mouseDown) {
if (!Attack && !endflg) {
gotoAndPlay(3);
}
}
}
movieClip 110 {
frame 1 {
var id = 0;
}
frame 2 {
attachMovie('suika', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 24 {
attachMovie('suika', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 40 {
attachMovie('head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 50 {
if (_root.clear_cnt == 1) {
attachMovie('s_head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
}
frame 62 {
attachMovie('suika', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 76 {
if (_root.clear_cnt == 1) {
attachMovie('s_head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
}
frame 87 {
attachMovie('head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 111 {
attachMovie('suika', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 126 {
if (_root.clear_cnt == 1) {
attachMovie('s_head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
}
frame 150 {
attachMovie('suika', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 182 {
attachMovie('head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 196 {
if (_root.clear_cnt == 1) {
attachMovie('s_head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
}
frame 214 {
attachMovie('suika', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
frame 237 {
if (_root.clear_cnt == 1) {
attachMovie('s_head', 'new_suika' + id, 10 + id);
new_suika._x = _y;
++id;
}
}
frame 258 {
gotoAndPlay(2);
}
}
movieClip 115 {
frame 1 {
stop();
}
}
movieClip 116 {
frame 1 {
var ten_num = 0;
var one_num = 0;
}
frame 2 {
ten_num = int(time / 10);
one_num = time % 10;
trace(ten_num);
ten.gotoAndStop(ten_num + 1);
one.gotoAndStop(one_num + 1);
}
frame 3 {
gotoAndPlay(2);
}
}
movieClip 117 {
frame 1 {
stop();
}
instance combo_cnt of movieClip 116 {
}
frame 2 {
stop();
}
}
movieClip 124 {
}
movieClip 125 {
frame 1 {
cnt.gotoAndStop(clock_cnt + 1);
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 128 {
frame 1 {
Scale = 1;
DeffW = this._width;
DeffH = this._height;
}
frame 2 {
if (Scale > 1) {
Scale *= 0.8;
} else {
Scale = 1;
Blue = false;
}
cnt.time = time;
cnt._xscale = 100 * Scale;
cnt._yscale = 100 * Scale;
}
frame 3 {
gotoAndPlay(2);
}
}
movieClip 129 {
frame 1 {
var Time = 720;
var Num = 23;
if (_root.clear_cnt == 1) {
Num = 35;
}
var Combo = 0;
combo.combo_num = Combo;
var key_z = 0;
this._alpha = 0;
HideFlg = false;
}
frame 2 {
time = int(Time / 24);
time = time <= 0 ? 0 : time;
Timer.time = time;
if (int(Time / 24) <= 5 && int(Time / 24) >= 0) {
Timer.Red = true;
if (int(Time) % 24 == 23) {
Timer.Scale = 2;
}
} else {
Timer.Red = false;
}
num = Num;
num = num <= 0 ? 0 : num;
suika_cnt.time = num;
combo.combo_num = Combo;
combo.combo_cnt.time = Combo;
if (Combo >= 2) {
combo.gotoAndStop(1);
} else {
combo.gotoAndStop(2);
}
if (!key_z && Key.isDown(90)) {
if (clock.clock_cnt > 0) {
Timer.Blue = true;
Time += 240;
--clock.clock_cnt;
--_root.TwitCnt;
Timer.Scale = 2;
}
}
key_z = Key.isDown(90);
Time -= 1;
if (Key.isDown(226)) {
}
if (this.HideFlg) {
if (this._alpha > 0) {
this._alpha -= 10;
} else {
this._alpha = 0;
}
} else {
if (this._alpha < 100) {
this._alpha += 10;
} else {
this._alpha = 100;
}
}
}
frame 3 {
gotoAndPlay(2);
}
}
frame 10 {
if (hud.Time <= 0) {
chara.endflg = true;
clearflg = false;
_root.Hud.HideFlg = true;
} else {
if (hud.Num <= 0) {
chara.endflg = true;
clearflg = true;
_root.Hud.HideFlg = true;
} else {
gotoAndPlay('game_main');
}
}
}
frame 13 {
_root.ce.removeMovieClip();
}
frame 26 {
stopAllSounds();
if (clearflg) {
++clear_cnt;
gotoAndPlay('game_clear');
}
}
frame 27 {
MsgWind.gotoAndStop('miss');
Twitted.stop();
Errored.stop();
stop();
}
button 139 {
on (release) {
if (!_root.PushTw && _root.TwitRest > 0) {
_root.PushTw = true;
_root.TwitMode = true;
_root.SendData.Swf = 1;
_root.SendData.Cnt = _root.TwitRest;
_root.SendData.sendAndLoad('http://www.asgard-japan.com/booston/naitra/tw_index.php', _root.SendData);
}
}
}
movieClip 145 {
}
instance TwitLoad of movieClip 145 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.TwitMode) {
this._alpha += 5;
if (this._alpha > 100) {
this._alpha = 100;
}
} else {
this._alpha -= 20;
if (this._alpha < 0) {
this._alpha = 0;
}
}
}
}
movieClip 149 {
}
movieClip 150 {
frame 45 {
stop();
_root.PushTw = false;
}
}
movieClip 152 {
}
movieClip 153 {
frame 45 {
stop();
_root.PushTw = false;
}
}
frame 28 {
gotoAndStop('title');
}
frame 29 {
play();
}
movieClip 161 {
frame 1 {
stop();
}
}
movieClip 163 {
}
button 169 {
on (release) {
gotoAndPlay('view_end_init');
}
}
movieClip 170 {
frame 1 {
if (_root.clear_cnt == 2) {
houbi.gotoAndStop(2);
}
}
frame 120 {
if (Math.abs(dy) < 10) {
dy *= 1.25;
}
if (StopDy) {
dy *= 0.5;
}
houbi._y += dy;
if (houbi._y >= 487) {
houbi._y = 487;
Up._visible = false;
} else {
Up._visible = true;
}
if (houbi._y <= 0) {
houbi._y = 0;
Down._visible = false;
} else {
Down._visible = true;
}
}
instance Down of movieClip 163 {
onClipEvent (rollOver) {
_parent.dy = -1;
_parent.StopDy = false;
}
onClipEvent (rollOut) {
_parent.StopDy = true;
}
}
instance Up of movieClip 163 {
onClipEvent (rollOver) {
_parent.dy = 1;
_parent.StopDy = false;
}
onClipEvent (rollOut) {
_parent.StopDy = true;
}
}
frame 121 {
gotoAndPlay('view');
}
frame 122 {
dy = 1;
}
frame 123 {
houbi._y += dy;
dy *= 1.5;
if (houbi._y >= 487) {
houbi._y = 487;
gotoAndPlay('move_end');
}
}
frame 124 {
gotoAndPlay('view_end');
}
frame 125 {
if (_root.clear_cnt == 1) {
MsgWindow.gotoAndStop('clear_1');
} else {
MsgWindow.gotoAndStop('clear_2');
}
}
frame 126 {
stop();
}
}
frame 36 {
stop();
}
frame 37 {
if (clear_cnt == 1) {
gotoAndPlay('start_text');
} else {
if (clear_cnt == 2) {
gotoAndPlay('all_clear');
} else {
gotoAndPlay('title');
}
}
}
frame 71 {
stop();
}
button 175 {
on (press) {
stopAllSounds();
gotoAndPlay('title');
}
}
button 176 {
on (press) {
gotoAndStop('シーン1');
}
}