Combined Code
movieClip 13 tree {
frame 1 {
stop();
}
frame 14 {
stop();
}
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 23 {
}
// unknown tag 88 length 19
movieClip 28 syogai {
frame 1 {
stop();
}
instance main of movieClip 13 tree {
}
}
movieClip 29 start {
frame 1 {
stop();
}
}
movieClip 34 {
}
movieClip 35 hit {
instance of movieClip 34 {
onClipEvent (enterFrame) {
if (this._currentframe >= 10) {
this._parent.removeMovieClip();
}
}
}
}
movieClip 46 {
frame 1 {
gotoAndPlay(3);
}
frame 2 {
stop();
}
frame 12 {
gotoAndPlay(3);
}
}
// unknown tag 88 length 77
movieClip 51 {
}
movieClip 52 road {
frame 1 {
stop();
}
}
frame 1 {
stop();
}
movieClip 54 {
}
// unknown tag 88 length 22
// unknown tag 88 length 76
// unknown tag 88 length 35
// unknown tag 88 length 73
movieClip 66 {
}
// unknown tag 88 length 76
movieClip 71 {
frame 1 {
stop();
}
}
movieClip 74 {
frame 1 {
stop();
}
}
// unknown tag 88 length 35
movieClip 80 {
frame 1 {
stop();
}
instance of movieClip 74 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 82 {
}
// unknown tag 88 length 70
movieClip 92 {
frame 1 {
stop();
}
}
// unknown tag 88 length 22
movieClip 100 {
}
movieClip 103 {
frame 1 {
stop();
}
}
movieClip 105 {
instance of movieClip 103 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 106 {
frame 1 {
stop();
}
}
movieClip 108 {
instance of movieClip 106 {
onClipEvent (load) {
gotoAndStop(_root.main.playerID + 1);
}
}
}
// unknown tag 88 length 74
movieClip 115 {
}
movieClip 121 {
}
movieClip 128 {
frame 1 {
stop();
}
instance of movieClip 121 {
onClipEvent (load) {
loop = 0;
gotoAndStop(1);
}
onClipEvent (enterFrame) {
loop += this._parent._parent.speed;
if (this._parent._parent.speed <= 0) {
loop = 0;
} else {
if (loop >= 100) {
loop -= 100;
}
}
gotoAndStop(int(loop + 1));
}
}
frame 9 {
stop();
}
frame 14 {
stop();
}
frame 29 {
stop();
}
instance of movieClip 121 {
onClipEvent (load) {
loop = 0;
gotoAndStop(1);
}
onClipEvent (enterFrame) {
loop += this._parent._parent.speed;
if (this._parent._parent.speed <= 0) {
loop = 0;
} else {
if (loop >= 100) {
loop -= 100;
}
}
gotoAndStop(int(loop + 1));
}
}
frame 35 {
stop();
}
frame 96 {
stop();
}
frame 110 {
stop();
}
}
movieClip 132 {
frame 1 {
stop();
}
}
movieClip 144 {
frame 1 {
stop();
}
}
movieClip 149 {
frame 1 {
stop();
}
}
movieClip 154 {
frame 1 {
stop();
}
}
movieClip 163 {
}
movieClip 168 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 173 {
frame 1 {
stop();
}
}
movieClip 178 {
frame 1 {
stop();
}
}
movieClip 179 {
frame 1 {
stop();
}
instance of movieClip 132 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 144 {
onClipEvent (load) {
loop = 0;
gotoAndStop(1);
}
onClipEvent (enterFrame) {
loop += this._parent._parent.speed;
if (this._parent._parent.speed <= 0) {
loop = 0;
} else {
if (loop >= 100) {
loop -= 100;
}
}
gotoAndStop(int(loop + 1));
}
}
instance of movieClip 149 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 154 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 163 {
onClipEvent (load) {
loop = 0;
gotoAndStop(1);
}
onClipEvent (enterFrame) {
loop += this._parent._parent.speed;
if (this._parent._parent.speed <= 0) {
loop = 0;
} else {
if (loop >= 100) {
loop -= 100;
}
}
gotoAndStop(int(loop + 1));
}
}
instance of movieClip 168 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 144 {
onClipEvent (load) {
loop = 0;
gotoAndStop(1);
}
onClipEvent (enterFrame) {
loop += this._parent._parent.speed;
if (this._parent._parent.speed <= 0) {
loop = 0;
} else {
if (loop >= 100) {
loop -= 100;
}
}
gotoAndStop(int(loop + 1));
}
}
frame 30 {
stop();
}
instance of movieClip 173 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 178 {
onClipEvent (load) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.main.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
frame 110 {
stop();
}
}
movieClip 180 {
frame 1 {
stop();
}
instance of movieClip 179 {
onClipEvent (load) {
velX = 0;
velY = 0;
xpower = 0.5;
ypower = -20;
attack = 0;
damage = 0;
key_a = 1;
key_b = 1;
MAXHP = 1;
HP = MAXHP;
time = 0;
speed = 0;
jump = 0;
damage = 0;
clear = 0;
jimen = this._parent._y;
}
onClipEvent (enterFrame) {
if (jump == 0) {
velX *= 0.9;
}
if (_root.main.time > 0) {
speed += 0.005 + (Math.abs(velX) <= 1) * 0.01 - (velX <= -3 && Key.isDown(39) || velX >= 3 && Key.isDown(37)) * 0.15;
if (jump == 0) {
velX += (Key.isDown(39) - Key.isDown(37)) * xpower * ((speed > 0.1) * 0.3 + (speed >= 1) * 0.3 + (speed >= 3) * 0.4);
}
if (key_a == 0 && Key.isDown(90) && jump == 0) {
jump = 1;
velY = -2 - speed;
}
if (Key.isDown(40) || clear > 0) {
speed -= 0.1;
gotoAndPlay('brake');
velX *= 0.8;
z;
} else {
if (Math.abs(velX) <= 3) {
gotoAndPlay('stop');
} else {
gotoAndPlay('side');
}
}
if (velX >= 3) {
this._parent._xscale = -100;
} else {
this._parent._xscale = 100;
}
}
if (jump == 1) {
if (velY >= 0 && jimen <= this._parent._y) {
velY = 0;
jump = 0;
this._parent._y = jimen;
} else {
velY += 0.3;
}
}
if (speed > 10) {
speed = 10;
} else {
if (speed < 0) {
speed = 0;
velX = 0;
}
}
if (_root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && _root.main.chikei.road1.syogai.hitTest(this._parent._x, this._parent._y, true)) {
if (_root.main.chikei.road1.syogai._currentframe == 4) {
jump = 1;
velX = 0;
velY = -8 - speed;
} else {
if (_root.main.chikei.road1.syogai._currentframe == 5) {
jump = 1;
velY = -0.5;
} else {
if (_root.main.chikei.road1.syogai._currentframe <= 7) {
speed = 0;
velX = 0;
velY = 0;
this.gotoAndPlay('damage');
++damage;
}
}
}
}
if (this._parent._parent.chikei.kyori >= this._parent._parent.nokori[this._parent._parent.men] + 3) {
++clear;
}
if (clear >= 120) {
this._parent._parent.gotoAndStop('clear');
} else {
if (damage >= 120) {
this._parent._parent.gotoAndStop('gaov');
}
}
this._parent._x += velX;
if (this._parent._x < 0) {
this._parent._x = 0;
} else {
if (this._parent._x > 640) {
this._parent._x = 640;
}
}
this._parent._y += velY;
key_a = Key.isDown(90);
key_b = Key.isDown(88);
}
}
}
movieClip 184 {
frame 1 {
stopAllSounds();
}
frame 181 {
_root.main.time = 1;
}
frame 201 {
stop();
}
}
movieClip 190 {
}
movieClip 193 {
}
movieClip 194 {
}
movieClip 197 {
}
// unknown tag 88 length 64
movieClip 203 {
}
button 205 {
on (release) {
_root.main.gotoAndStop('title');
}
}
movieClip 207 {
}
// unknown tag 88 length 69
movieClip 210 {
frame 1 {
stopAllSounds();
men = 1;
playerID = 1;
nude = 0;
var nokori = [0, 20, 40, 60, 80, 100, 200];
var men1syogai = [0, 1, 1, 1, 1, 3, 3, 3, 4, 2, 2, 2, 5, 5, 1, 1, 3, 3, 3, 3, 3];
var men1ichi = [0, 60, -55, 50, -45, 0, -5, 5, 0, -50, 50, 0, 30, -30, -30, 0, 10, 25, 15, 30, 20];
var men1saka = [0, 0, -1, -1, -1, -1, -1, 0, 0, 100, 0, 0, 2, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0];
var men2syogai = [0, 2, 3, 3, 2, 3, 3, 2, 3, 3, 1, 1, 3, 3, 3, 3, 3, 3, 2, 1, 3, 3, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 1, 2, 3, 3, 3, 3];
var men2ichi = [0, 0, 10, 20, 0, 15, 25, 0, 20, 30, 40, 40, 25, 15, 20, 10, 0, 5, -20, -10, 10, 20, 15, 25, 30, 35, 40, 50, 30, 20, 50, 10, 0, -10, -40, -30, -50, 0, 5, -5, -10];
var men2saka = [0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
var men3syogai = [0, 1, 1, 3, 1, 1, 2, 2, 1, 1, 1, 3, 3, 3, 3, 5, 3, 3, 3, 1, 1, 1, 1, 3, 1, 1, 2, 2, 1, 1, 1, 3, 3, 3, 3, 5, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 3, 3, 3, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1];
var men3ichi = [0, 60, -60, 0, -50, 50, -50, 50, -50, 50, 50, 0, 50, -50, -75, 0, -25, 0, 25, 50, -40, 60, -60, 0, -50, 50, -50, 50, -50, 50, 50, 0, 50, -50, -75, 0, -25, 0, 0, 0, 0, 0, -80, 50, 0, 0, -25, 0, 25, 50, -40, 0, 50, -50, 0, 20, -20, 40, -40, 60, -60];
var men3saka = [0, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
var men4syogai = [0, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 5, 2, 1, 2, 2, 3, 3, 3, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 1, 2, 2, 2, 2, 3, 3, 3, 2, 4, 2, 2, 3, 3, 3, 5, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 2, 2];
var men4ichi = [0, 0, -10, -50, -30, 0, 20, 80, 30, 0, 50, -50, 0, 0, -75, -50, 30, 0, -10, 10, 75, 0, -10, 50, -30, 0, 20, 80, 30, 0, 50, -50, 0, 30, -75, -50, -30, 0, 25, 50, -50, 0, -10, 20, 30, 40, 0, 40, 30, 0, 50, 30, 30, 20, 50, -50, 30, 0, 25, 50, 75, 0, -10, -50, -30, 0, 20, 80, 30, 0, 50, 40, 0, 30, -75, -50, 0, 0, 25, 50, 75];
var men4saka = [0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 100, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, 100, 100, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 100, -1, -1, -1, 1, 1, 1, 1, 1, 1, 100, 1, 1, 1, 0, 0, 0, 0, 0];
var men5syogai = [0, 1, 5, 1, 1, 2, 1, 1, 1, 1, 1, 5, 1, 2, 1, 1, 1, 3, 3, 3, 3, 1, 4, 4, 1, 1, 1, 2, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 3, 1, 1, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
var men5ichi = [0, 0, -10, -50, -30, 0, 20, 80, 30, 0, 50, 0, 0, 30, -75, -50, 30, 60, 45, 30, 15, 0, 10, -30, -30, 0, 20, 80, 30, 0, 50, -50, 0, 30, -75, -50, 30, 0, 25, 50, 75, 0, -10, -50, -30, 0, -30, -30, 0, 0, 50, -30, 0, 30, -75, -50, 30, 0, 25, 50, 75, 0, 10, 50, 30, 0, 20, 80, 30, 0, 50, -50, 0, 50, -75, -50, 30, 50, -60, -70, -80, 0, -10, -50, -30, 0, 20, 80, 30, 0, 50, -50, 0, 30, -75, -50, 30, 0, 25, 50, 75];
var men5saka = [0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, 100, 100, 100, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 100, 1, 100, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
var men6syogai = [0, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 2, 2, 2, 5, 5, 5, 1, 5, 5, 5, 2, 1, 2, 1, 1, 2, 2, 1, 1, 3, 3, 2, 2, 5, 5, 5, 5, 5, 5, 5, 1, 1, 3, 3, 3, 3, 4, 1, 1, 1, 2, 2, 2, 5, 5, 2, 5, 5, 2, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 5, 3, 5, 3, 5, 3, 5, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 4, 2, 2, 5, 1, 5, 2, 2, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 5, 3, 3, 3, 3, 3, 4, 1, 1, 1, 1, 5, 5, 1, 1, 1, 2, 2, 2, 2, 1, 1, 5, 5, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 3, 3, 3, 5, 3, 3, 3, 3, 3, 3, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 2, 2, 4, 4, 5, 5, 5, 5, 5, 5];
var men6ichi = [0, 100, -50, 50, -50, 0, -20, 20, 0, 0, 0, 100, 50, -50, -75, -50, -25, -30, 25, 50, 75, 80, 30, -50, 50, -40, 100, 70, -60, 60, 0, 0, 50, -50, -75, -50, -25, 0, 25, 50, 75, 70, -70, 0, 5, 10, 15, 15, -100, 100, -100, 100, 100, -50, -75, -50, -25, 0, 25, 50, 75, 0, 50, 70, -30, 10, -50, 0, 30, 40, 50, 0, 5, -5, -60, -50, -60, 0, 60, -50, 75, 70, -70, 50, -50, 30, -30, 10, -10, 70, -70, -25, 50, 100, -75, 100, -25, 0, 25, 50, 75, 70, -70, 70, -70, 70, -70, 70, -70, 70, -70, 0, 5, 15, 10, 20, 15, 25, 20, 30, 25, 20, -100, 100, -100, 0, 20, 20, 20, 50, -50, 40, 40, -40, -40, -50, -25, 0, 100, 0, 0, 70, -70, 70, -70, 70, -70, 70, -70, 70, -70, 0, 10, -10, 20, -20, 30, -30, 40, -40, 50, -50, 60, -60, 0, 100, -70, 70, -70, 70, -70, 0, 0, 0, 100, 0, -10, -20, -30, -40, -50, -80, -30, -50, -60, -70, -10, 0, -50, -70, 0, -10, 0, 70, 70, 0, -25, 0, 25, 50, 75];
var men6saka = [0, 100, -1, -1, -1, -1, -1, -1, -1, -1, -1, 100, 1, 1, 1, 1, 1, 100, 1, 1, 1, -1, -1, -1, -1, -1, 100, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, 100, 100, 100, 100, 100, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 100, 1, 100, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, 100, 100, 100, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 100, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 100, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, 100, -1, -1, -1, -1, -1, 1, 1, 1, 100, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 100, 0, 100, 1, 100, 0, 0, 0, 0, 0, 0];
stop();
}
instance of movieClip 71 {
onClipEvent (load) {
var param = new flash.filters.GlowFilter();
param.color = 65280;
param.alpha = 1;
}
onClipEvent (enterFrame) {
if (_root.main.playerID == 1 && this._parent._currentframe == 2) {
param.blurX = 10;
param.blurY = 10;
param.strength = 5;
this.filters = new Array(param);
} else {
param.blurX = 0;
param.blurY = 0;
param.strength = 0;
this.filters = new Array(param);
}
}
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
_root.main.playerID = 1;
_root.main.gotoAndStop('menselect');
}
}
instance of movieClip 80 {
onClipEvent (load) {
var param = new flash.filters.GlowFilter();
param.color = 65280;
param.alpha = 1;
}
onClipEvent (enterFrame) {
if (_root.main.playerID == 2 && this._parent._currentframe == 2) {
param.blurX = 10;
param.blurY = 10;
param.strength = 5;
this.filters = new Array(param);
} else {
param.blurX = 0;
param.blurY = 0;
param.strength = 0;
this.filters = new Array(param);
}
if (Key.isDown(78) && _root.main.nude == 0 || Key.isDown(85) && _root.main.nude == 0.25 || Key.isDown(68) && _root.main.nude == 0.5 || Key.isDown(69) && _root.main.nude == 0.75) {
_root.main.nude += 0.25;
}
if (Key.isDown(78) && _root.main.nude >= 1) {
_root.main.nude = 0;
}
}
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
_root.main.playerID = 2;
_root.main.gotoAndStop('menselect');
}
}
instance of movieClip 92 {
onClipEvent (load) {
stopAllSounds();
var selectbgm = new Sound();
selectbgm.attachSound('loop7.wav');
selectbgm.start();
men = 1;
gotoAndStop(men);
}
onClipEvent (release) {
_root.main.men = men;
_root.main.gotoAndStop('start');
}
}
instance of movieClip 92 {
onClipEvent (load) {
men = 6;
gotoAndStop(men);
}
onClipEvent (release) {
_root.main.men = men;
_root.main.gotoAndStop('start');
}
}
instance of movieClip 92 {
onClipEvent (load) {
men = 2;
gotoAndStop(men);
}
onClipEvent (release) {
_root.main.men = men;
_root.main.gotoAndStop('start');
}
}
instance of movieClip 92 {
onClipEvent (load) {
men = 5;
gotoAndStop(men);
}
onClipEvent (release) {
_root.main.men = men;
_root.main.gotoAndStop('start');
}
}
instance of movieClip 92 {
onClipEvent (load) {
men = 4;
gotoAndStop(men);
}
onClipEvent (release) {
_root.main.men = men;
_root.main.gotoAndStop('start');
}
}
instance of movieClip 92 {
onClipEvent (load) {
men = 3;
gotoAndStop(men);
}
onClipEvent (release) {
_root.main.men = men;
_root.main.gotoAndStop('start');
}
}
frame 3 {
time = 0;
}
frame 3 {
}
instance of movieClip 108 {
onClipEvent (load) {
stopAllSounds();
var startbgm = new Sound();
startbgm.attachSound('se_maoudamashii_jingle05.mp3');
startbgm.start();
time = 0;
}
onClipEvent (enterFrame) {
++time;
if (time >= 300 || Key.isDown(39) || Key.isDown(37) || Key.isDown(38) || Key.isDown(40)) {
this._parent.gotoAndStop('game');
}
}
onClipEvent (release) {
this._parent.gotoAndStop('game');
}
}
frame 4 {
time = 0;
stop();
}
instance chikei of movieClip 115 {
onClipEvent (load) {
loop = 0;
kyori = 0;
road1.attachMovie('start', ['syogai'], kyori);
road1.syogai._x = 0;
road1.syogai._y = 0;
}
onClipEvent (enterFrame) {
loop += _root.main.player.speed;
if (loop >= 100) {
if (road1.syogai != null) {
road1.syogai.removeMovieClip();
}
i = 1;
while (i <= 3) {
j = i + 1;
if (this['road' + j].syogai != null) {
this['road' + i].attachMovie('syogai', ['syogai'], kyori);
this['road' + i].syogai._x = this['road' + j].syogai._x;
this['road' + i].syogai._y = 0;
this['road' + i].syogai.gotoAndStop(this['road' + j].syogai._currentframe);
this['road' + j].syogai.removeMovieClip();
}
++i;
}
++kyori;
loop -= 100;
_root.main.player.sessyoku = 0;
if (kyori < _root.main.nokori[_root.main.men]) {
road4.attachMovie('syogai', ['syogai'], kyori);
road4.syogai._x = _root.main['men' + _root.main.men + 'ichi'][kyori];
road4.syogai._y = 0;
road4.syogai.gotoAndStop(_root.main['men' + _root.main.men + 'syogai'][kyori]);
}
if (kyori == _root.main.nokori[_root.main.men]) {
road4.attachMovie('syogai', ['syogai'], kyori);
road4.syogai._x = 0;
road4.syogai._y = 0;
road4.syogai.gotoAndStop(7);
}
road1.gotoAndStop(road2._currentframe);
road2.gotoAndStop(road3._currentframe);
road3.gotoAndStop(road4._currentframe);
if (kyori > _root.main.nokori[_root.main.men]) {
road4.gotoAndStop(3 + (kyori == _root.main.nokori[_root.main.men] + 3));
} else {
if (_root.main['men' + _root.main.men + 'saka'][kyori] >= 100) {
road4.gotoAndStop(2);
road4.syogai.gotoAndStop(8);
} else {
road4.gotoAndStop(1);
_yscale = _yscale + _root.main['men' + _root.main.men + 'saka'][kyori];
}
}
}
gotoAndStop(int(1 + loop));
}
}
instance player of movieClip 180 {
onClipEvent (load) {
playerID = _root.main.playerID;
gotoAndStop(playerID);
velX = 0;
velY = 0;
xpower = 0.5 + (playerID == 2) * 0.2;
ypower = -3 - (playerID == 2) * 1;
attack = 0;
damage = 0;
key_a = 1;
key_b = 1;
MAXHP = 20 - (playerID == 2) * 5;
HP = MAXHP;
time = 0;
speed = 0;
MAXspeed = 8 + (playerID == 2) * 2 + (playerID == 2 && _root.main.nude == 1) * 5;
jump = 0;
damage = 0;
sessyoku = 0;
clear = 0;
jimen = _y;
var jumpsnd = new Sound();
jumpsnd.attachSound('jump00.wav');
var hitsnd = new Sound();
hitsnd.attachSound('hit_p03_b.wav');
var sha2snd = new Sound();
sha2snd.attachSound('sha02.wav');
var sha3snd = new Sound();
sha3snd.attachSound('sha03.wav');
var kaifukusnd = new Sound();
kaifukusnd.attachSound('push05.wav');
}
onClipEvent (enterFrame) {
if (_root.main.time > 0 && damage == 0) {
speed += (0.015 - Math.abs(velX) * 0.002) * (100 / _root.main.chikei._yscale);
speed -= (velX <= -1 && Key.isDown(39) || velX >= 1 && Key.isDown(37)) * 0.05;
if (jump == 0) {
velX += (Key.isDown(39) - Key.isDown(37)) * xpower * ((speed > 0.1) * 0.3 + (speed >= 1) * 0.3 + (speed >= 3) * 0.4);
}
if (_root.main.chikei.road1.syogai._currentframe == 5 && _root.main.chikei.road1.syogai.hitTest(_x, _y, true) && jump == 0) {
_x = _x - velX;
} else {
if (key_a == 0 && Key.isDown(38) && speed > 0 && jump == 0 && clear == 0) {
jump = 1;
velY = ypower - speed;
jumpsnd.start();
main.gotoAndPlay('jump');
}
}
if (jump == 0) {
if (Key.isDown(40) || clear > 0) {
speed -= 0.1;
main.gotoAndPlay('brake');
velX *= 0.8;
} else {
if (Math.abs(velX) <= 2) {
main.gotoAndPlay('stop');
} else {
main.gotoAndPlay('side');
}
}
}
if (velX > 0) {
_xscale = -100;
} else {
_xscale = 100;
}
if (jump == 0) {
velX *= 0.9;
}
}
if (damage > 0) {
++damage;
velX *= 0.9;
if (speed > 0) {
speed -= 0.1;
}
if (damage >= 60 && HP > 0) {
damage = 0;
}
}
if (_root.main.chikei.road1._currentframe == 2 && _root.main.chikei.road2._currentframe != 2 && _root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && jimen <= _y && speed > 0) {
damage = 1;
velX = 0;
velY = 0;
HP -= Math.ceil(speed);
speed = 0;
}
if (_root.main.chikei.road1._currentframe == 4 && _root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && speed > 0) {
damage = 1;
velX = 0;
velY = 0;
HP -= Math.ceil(speed);
speed = 0;
}
if (jump == 1 || _root.main.chikei.road1._currentframe == 2) {
jump = 1;
if (velY >= 0 && jimen <= _y && _root.main.chikei.road1._currentframe != 2) {
velY = 0;
jump = 0;
_y = jimen;
speed -= 1;
sha3snd.start();
} else {
velY += 0.3;
}
}
if (speed > MAXspeed) {
speed = MAXspeed;
} else {
if (speed < 0) {
speed = 0;
velX *= 1 - (damage == 0);
}
}
if (sessyoku == 0) {
if (_root.main.chikei.road1.syogai._currentframe == 1 && _root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && _root.main.chikei.road1.syogai.hitTest(_x, _y, true) && speed >= 1) {
sessyoku = 1;
damage = 1;
velX = 8 - (_x > 320) * 16;
velY = 0;
_root.main.chikei.road1.syogai.main.gotoAndPlay(2);
} else {
if (_root.main.chikei.road1.syogai._currentframe == 2 && _root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && _root.main.chikei.road1.syogai.hitTest(_x, _y, true) && speed >= 1) {
sessyoku = 1;
damage = 1;
jump = 1;
velY = -5;
} else {
if (_root.main.chikei.road1.syogai._currentframe == 3 && _root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && _root.main.chikei.road1.syogai.hitTest(_x, _y, true) && speed >= 1) {
sessyoku = 1;
if (_root.main.chikei.road1.syogai.kaifuku.hitTest(_x, _y, true)) {
++HP;
kaifukusnd.start();
if (HP > MAXHP) {
HP = MAXHP;
}
} else {
damage = 1;
velX = 4 - (_x > 320) * 8;
velY = 0;
}
} else {
if (_root.main.chikei.road1.syogai._currentframe == 4 && _root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && _root.main.chikei.road1.syogai.hitTest(_x, _y, true) && speed >= 1 && jump == 0) {
sessyoku = 1;
jump = 1;
velX = 0;
velY = -8 - speed;
jumpsnd.start();
main.gotoAndPlay('jump');
} else {
if ((_root.main.chikei.road1.syogai._currentframe == 6 || _root.main.chikei.road1.syogai._currentframe == 7) && _root.main.chikei._currentframe >= 80 && _root.main.chikei._currentframe <= 100 && _root.main.chikei.road1.syogai.hitTest(_x, _y, true) && speed >= 1) {
sessyoku = 1;
damage = 1;
velX = 6 - (_x > 320) * 12;
velY = 0;
}
}
}
}
}
}
if (this._parent.chikei.kyori >= this._parent.nokori[this._parent.men] + 4 && clear == 0) {
++clear;
} else {
if (clear > 0 && speed <= 0) {
++clear;
}
}
if (clear >= 120) {
this._parent.gotoAndStop('clear');
} else {
if (damage >= 120 && HP <= 0 || _y >= 500) {
this._parent.gotoAndStop('gaov');
}
}
_x = _x + velX;
if (_x < 80 && damage == 0) {
_x = 80;
velX = 10;
damage = 1;
} else {
if (_x > 560 && damage == 0) {
_x = 560;
velX = -10;
damage = 1;
}
}
_y = _y + velY;
key_a = Key.isDown(38);
key_b = Key.isDown(88);
if (damage == 1) {
HP -= Math.ceil(speed);
main.gotoAndPlay('damage');
hitsnd.start();
this._parent.attachMovie('hit', ['hit'], 1000);
this._parent.hit._x = this._x;
this._parent.hit._y = this._y - this._height / 2;
}
}
}
instance music of movieClip 184 {
onClipEvent (load) {
var homura = new Sound();
homura.attachSound('homura.mp3');
stopflag = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 180) {
homura.start();
}
if (stopflag == 0 && (_root.main.player.HP <= 0 || _root.main.player.clear > 0)) {
homura.stop('homura.mp3');
stopflag = 1;
this._parent.timecount.kaishi = 2;
}
}
}
instance speedcount of movieClip 190 {
onClipEvent (load) {
hyouji = 0;
}
onClipEvent (enterFrame) {
hyouji = int(_root.main.player.speed * 10);
}
}
instance timecount of movieClip 193 {
onClipEvent (load) {
hyouji = 0;
var time_old = getTimer();
kaishi = 0;
}
onClipEvent (enterFrame) {
if (kaishi == 0 && _root.main.chikei._currentframe > 2) {
kaishi = 1;
var time_old = getTimer();
}
if (kaishi == 1 && this._parent._currentframe == 4) {
var time_now = getTimer();
var time = time_now - time_old;
hyouji = Math.ceil(time / 1000);
}
}
}
instance powerbar of movieClip 194 {
onClipEvent (enterFrame) {
if (this._parent._currentframe == 4) {
if (this._parent.player.HP <= 0) {
_xscale = 0;
} else {
_xscale = (this._parent.player.HP / this._parent.player.MAXHP) * 100;
}
}
}
}
instance distcount of movieClip 197 {
onClipEvent (load) {
hyouji = 0;
}
onClipEvent (enterFrame) {
if (this._parent._currentframe == 4) {
hyouji = int(((_root.main.nokori[_root.main.men] - _root.main.chikei.kyori) * 100 - _root.main.chikei.loop + 400) * 0.1);
if (hyouji < 0) {
hyouji = 0;
}
}
}
}
frame 5 {
stopAllSounds();
stop();
}
instance of movieClip 203 {
onClipEvent (enterFrame) {
if (_root.main.playerID == 1) {
player = escape('モナー');
} else {
if (_root.main.nude == 1) {
player = escape('パール王女(裸)');
} else {
player = escape('パール王女');
}
}
moji = escape('ã€ã‚²ãƒ¼ãƒ 「疑似3DHOTスã‚ーã€ã€‘ ');
moji2 = player + escape('ã¯ã‚³ãƒ¼ã‚¹') + _root.main.men + escape('を体力') + int(_root.main.powerbar._xscale) + escape('%残ã—ã¦') + _root.main.timecount.time * 0.001 + escape('秒ã§ã‚´ãƒ¼ãƒ«ï¼ \r http://nrf-flash.sakura.ne.jp/flash/hotski.html \r http://mogera.jp/gameplay?gid=gm0000002605 #NRF_Flash #ç–‘ä¼¼3DHOTスã‚ー');
}
onClipEvent (release) {
getURL('http://twitter.com/home?status=' + moji + moji2, '_blank');
}
}
instance of movieClip 207 {
onClipEvent (load) {
if (_root.main.men == 6) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.main.men == 6) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
frame 6 {
stopAllSounds();
stop();
}
instance of movieClip 203 {
onClipEvent (enterFrame) {
if (_root.main.playerID == 1) {
player = escape('モナー');
} else {
if (_root.main.nude == 1) {
player = escape('パール王女(裸)');
} else {
player = escape('パール王女');
}
}
moji = escape('ã€ã‚²ãƒ¼ãƒ 「疑似3DHOTスã‚ーã€ã€‘ ');
moji2 = player + escape('ã¯ã‚³ãƒ¼ã‚¹') + _root.main.men + escape('を残り') + int(_root.main.distcount.hyouji) + escape('mã®åœ°ç‚¹ã€') + _root.main.timecount.time * 0.001 + escape('秒ã§ãƒªã‚¿ã‚¤ãƒ¤ï¼ \r http://nrf-flash.sakura.ne.jp/flash/hotski.html \r http://mogera.jp/gameplay?gid=gm0000002605 #NRF_Flash #ç–‘ä¼¼3DHOTスã‚ー');
}
onClipEvent (release) {
getURL('http://twitter.com/home?status=' + moji + moji2, '_blank');
}
}
}