Combined Code
movieClip 4 item {
}
movieClip 6 ki {
frame 1 {
stop();
}
}
movieClip 9 {
}
movieClip 10 kemuri {
instance of movieClip 9 {
onClipEvent (load) {
time = 0;
speed = _root.player.speed;
}
onClipEvent (enterFrame) {
this._parent._y += speed * 2;
++time;
if (time >= 10) {
this._parent.removeMovieClip();
}
}
}
}
frame 1 {
nokori = 10;
seikai = 1;
kuria = 0;
fail = 0;
miss = 0;
speed = 0;
distance = -1000;
var score = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
hiscore = 0;
total = 0;
stop();
}
movieClip 13 {
}
movieClip 18 {
}
movieClip 19 {
instance of movieClip 18 {
onClipEvent (load) {
if (_root.distance <= -100 || _root.distance >= 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.distance <= -100 || _root.distance >= 0) {
_alpha = 0;
} else {
_alpha = 100;
}
}
}
}
movieClip 21 {
}
movieClip 25 {
frame 100 {
gotoAndPlay(1);
}
}
instance of movieClip 25 {
onClipEvent (load) {
kyori = int((_root.distance + 1000) % 100);
}
onClipEvent (enterFrame) {
kyori = int((_root.distance + 1000) % 100);
gotoAndStop(kyori + 1);
}
}
movieClip 27 {
}
// unknown tag 88 length 70
// unknown tag 88 length 75
movieClip 35 {
}
instance of movieClip 35 {
onClipEvent (release) {
getURL('http://ahoge.info/35/index.php', '_blank');
}
}
// unknown tag 88 length 292
// unknown tag 88 length 73
// unknown tag 88 length 76
movieClip 45 {
}
instance of movieClip 45 {
onClipEvent (release) {
_root.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(2);
}
}
}
frame 2 {
seikai = Math.floor(1 + Math.random() * 15.99);
distance = -1000;
speed = 0;
stop();
}
movieClip 67 {
}
instance sta of movieClip 67 {
onClipEvent (load) {
function tsuyosa() {
score0 = _root.score[0];
score1 = _root.score[1];
score2 = _root.score[2];
score3 = _root.score[3];
score4 = _root.score[4];
score5 = _root.score[5];
score6 = _root.score[6];
score7 = _root.score[7];
score8 = _root.score[8];
score9 = _root.score[9];
distance = int(_root.distance);
speed = int(_root.player.speed);
}
time = 0;
byou = 0;
nokori = 0;
var time_old = getTimer();
time = 0;
count = 0;
hyouji = time / 1000;
heikin = 0;
tsuyosa();
}
onClipEvent (enterFrame) {
if (this._parent._currentframe >= 2 && _root.nokori > 0) {
var time_now = getTimer();
var time = time_now - time_old;
hyouji = time / 1000;
++count;
}
tsuyosa();
}
}
movieClip 71 {
}
movieClip 75 {
}
movieClip 76 {
}
movieClip 77 {
}
movieClip 83 {
}
movieClip 87 {
}
movieClip 91 {
}
movieClip 92 {
}
movieClip 94 {
frame 1 {
stop();
}
instance tire of movieClip 71 {
onClipEvent (load) {
speed = this._parent.speed;
time = 0;
}
onClipEvent (enterFrame) {
speed = this._parent.speed;
time += speed * 1;
if (time >= 60) {
time -= 60;
}
gotoAndStop(int(time) + 1);
}
}
frame 30 {
play();
}
instance of movieClip 87 {
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (_root.player.speed >= 1) {
i = -1;
while (i >= -500) {
if (_root['tama' + i] == null) {
_root.attachMovie('kemuri', 'tama' + i, 700 + i);
_root['tama' + i]._x = this._parent._x + this._x * this._parent._xscale * 0.01;
_root['tama' + i]._y = this._parent._y + this._y * this._parent._xscale * 0.01;
break;
}
--i;
}
}
}
}
instance of movieClip 87 {
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (_root.player.speed >= 1) {
i = 1;
while (i <= 500) {
if (_root['tama' + i] == null) {
_root.attachMovie('kemuri', 'tama' + i, 700 + i);
_root['tama' + i]._x = this._parent._x + this._x * this._parent._xscale * 0.01;
_root['tama' + i]._y = this._parent._y + this._y * this._parent._xscale * 0.01;
break;
}
++i;
}
}
}
}
instance of movieClip 87 {
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (_root.player.speed >= 1) {
i = 1;
while (i <= 500) {
if (_root['tama' + i] == null) {
_root.attachMovie('kemuri', 'tama' + i, 700 + i);
_root['tama' + i]._x = this._parent._x + this._x * this._parent._xscale * 0.01;
_root['tama' + i]._y = this._parent._y + this._y * this._parent._xscale * 0.01;
break;
}
++i;
}
}
}
}
frame 60 {
stop();
}
}
instance player of movieClip 94 {
onClipEvent (load) {
zkey = 0;
xkey = 0;
speed = 0;
brake = 0;
foul = 0;
owari = 0;
men = 10 - _root.nokori;
}
onClipEvent (enterFrame) {
if ((Key.isDown(90) || zkey) && brake == 0 && foul == 0) {
speed += 0.1;
gotoAndStop(10);
} else {
speed -= 0.05;
if (brake == 0) {
gotoAndStop(1);
}
if ((Key.isDown(88) || xkey) && brake == 0 && foul == 0) {
brake = 1;
this.gotoAndPlay(30);
}
}
zkey = 0;
xkey = 0;
if (brake) {
speed -= 0.2;
}
if (brake == 0 && _root.distance >= 0) {
foul = 1;
}
if (speed < 0) {
speed = 0;
}
_root.distance += speed;
if (brake && speed <= 0 || foul) {
++owari;
}
if (owari == 60) {
if (_root.distance > 0 && foul == 0) {
_root.score[men] = int(_root.distance);
} else {
_root.score[men] = 0;
}
if (_root.hiscore < _root.score[men]) {
_root.hiscore = _root.score[men];
}
_root.total += _root.score[men];
_root.nokori -= 1;
if (_root.nokori > 0) {
_root.gotoAndPlay('reset');
} else {
_root.gotoAndStop('end');
}
}
}
}
movieClip 96 {
}
instance of movieClip 96 {
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.player.foul) {
_alpha = 100;
}
}
}
movieClip 99 {
}
instance of movieClip 99 {
onClipEvent (load) {
key = 0;
}
onClipEvent (press) {
key = 1;
}
onClipEvent (rollOut) {
key = 0;
}
onClipEvent (dragOut) {
key = 0;
}
onClipEvent (mouseUp) {
key = 0;
}
onClipEvent (enterFrame) {
if (key) {
_root.player.zkey = 1;
}
}
}
movieClip 102 {
}
instance of movieClip 102 {
onClipEvent (load) {
key = 0;
}
onClipEvent (press) {
key = 1;
}
onClipEvent (enterFrame) {
if (key) {
_root.player.xkey = 1;
}
}
}
frame 3 {
gotoAndStop(2);
}
frame 4 {
stopAllSounds();
}
movieClip 108 {
}
instance of movieClip 108 {
onClipEvent (enterFrame) {
moji = escape('ã€ã‚ã»ã’ー #ahoge 】「DEKA SLIDE BRAKEã€\r ');
moji2 = escape('åˆè¨ˆç‚¹') + _root.total + escape('ã€æœ€é«˜ç‚¹') + _root.hiscore + escape('。\r');
moji3 = escape('https://nrf-flash.sakura.ne.jp/flash/aho35_nrf.html #DEKA_SLIDE_BRAKE #NRF_Flash');
if (Key.isDown(84)) {
getURL('https://twitter.com/intent/tweet?text=' + moji + moji2 + moji3, '_blank');
}
}
onClipEvent (release) {
getURL('https://twitter.com/intent/tweet?text=' + moji + moji2 + moji3, '_blank');
}
}
movieClip 110 {
}
instance of movieClip 110 {
onClipEvent (release) {
_root.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(1);
}
}
}
frame 8 {
gotoAndStop(2);
}
frame 9 {
++kuria;
--nokori;
}
movieClip 114 {
}
movieClip 116 {
}
instance of movieClip 116 {
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
++time;
if (time >= 60) {
if (_root.nokori <= 0) {
_root.gotoAndStop('end');
} else {
_root.gotoAndStop(2);
}
}
}
}
frame 10 {
++fail;
--nokori;
}
frame 11 {
++miss;
--nokori;
}