Combined Code
movieClip 4 item {
}
movieClip 6 ki {
frame 1 {
stop();
}
}
frame 1 {
XX = 1;
suuji = 1;
suuji1 = 1;
suuji2 = 1;
goukei = 1;
nokori = 0;
seikai = 0;
kuria = 0;
fail = 0;
miss = 0;
score = 0;
body = 1;
hand = 1;
leg = 1;
leg2 = 1;
head = 1;
nude = 1;
stop();
}
// unknown tag 88 length 70
movieClip 13 {
}
instance of movieClip 13 {
onClipEvent (release) {
getURL('http://ahoge.info/25/index.php', '_blank');
}
onClipEvent (keyDown) {
kotae = Key.getCode();
if (kotae >= 49 && kotae <= 57) {
kotae -= 48;
} else {
if (kotae >= 97 && kotae <= 105) {
kotae -= 96;
} else {
kotae = 0;
}
}
if (kotae > 0) {
if (kotae > 0) {
kotae = 0;
_root.gotoAndStop(2);
}
}
}
}
// unknown tag 88 length 22
// unknown tag 88 length 73
// unknown tag 88 length 292
button 20 {
on (release) {
this.gotoAndStop('2');
}
}
// unknown tag 88 length 19
movieClip 26 {
frame 1 {
stop();
}
}
instance of movieClip 26 {
onClipEvent (load) {
nude4 = 0;
}
onClipEvent (enterFrame) {
if (_root.nude == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
onClipEvent (keyDown) {
if (Key.isDown(78) && nude4 == 0 || Key.isDown(85) && nude4 == 1 || Key.isDown(68) && nude4 == 2 || Key.isDown(69) && nude4 == 3) {
++nude4;
if (nude4 == 4) {
_root.nude = 1;
}
} else {
nude4 = 0;
_root.nude = 0;
}
}
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 32 {
}
movieClip 34 {
}
movieClip 36 {
}
frame 2 {
XX = Math.floor(1 + Math.random() * 8.99);
suuji = Math.floor(1 + Math.random() * 8.99);
suuji1 = Math.floor(1 + Math.random() * 8.99);
goukei = suuji + XX;
suuji2 = goukei + XX;
stop();
}
movieClip 39 {
}
movieClip 41 {
}
movieClip 43 {
frame 1 {
stop();
}
instance of movieClip 41 {
onClipEvent (load) {
++_root.nokori;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.player.hantei)) {
_root.score += 100 * (1 + _root.body * 0.5 + _root.leg * 0.1 + _root.leg2 * 0.1 - _root.nude * 0.2 + _root.hand * 0.2 + _root.head * 0.2);
--_root.nokori;
this._parent.gotoAndStop(2);
}
}
}
}
movieClip 45 {
frame 1 {
stop();
}
instance of movieClip 28 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.player.hantei)) {
_root.score += 1000 * (1 + _root.body * 0.5 + _root.leg * 0.1 + _root.leg2 * 0.1 - _root.nude * 0.2 + _root.hand * 0.2 + _root.head * 0.2);
--_root.head;
this._parent.gotoAndStop(2);
}
}
}
}
movieClip 46 {
frame 1 {
stop();
}
instance of movieClip 34 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.player.hantei)) {
_root.score += 2000 * (1 + _root.body * 0.5 + _root.leg * 0.1 + _root.leg2 * 0.1 - _root.nude * 0.2 + _root.hand * 0.2 + _root.head * 0.2);
--_root.body;
this._parent.gotoAndStop(2);
}
}
}
}
movieClip 47 {
frame 1 {
stop();
}
instance of movieClip 30 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.player.hantei)) {
_root.score += 500 * (1 + _root.body * 0.5 + _root.leg * 0.1 + _root.leg2 * 0.1 - _root.nude * 0.2 + _root.hand * 0.2 + _root.head * 0.2);
--_root.leg;
this._parent.gotoAndStop(2);
}
}
}
}
movieClip 48 {
frame 1 {
stop();
}
instance of movieClip 36 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.player.hantei)) {
_root.score += 700 * (1 + _root.body * 0.5 + _root.leg * 0.1 + _root.leg2 * 0.1 - _root.nude * 0.2 + _root.hand * 0.2 + _root.head * 0.2);
--_root.hand;
this._parent.gotoAndStop(2);
}
}
}
}
movieClip 49 {
frame 1 {
stop();
}
instance of movieClip 32 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.main.player.hantei)) {
_root.score += 500 * (1 + _root.body * 0.5 + _root.leg * 0.1 + _root.leg2 * 0.1 - _root.nude * 0.2 + _root.hand * 0.2 + _root.head * 0.2);
--_root.leg2;
this._parent.gotoAndStop(2);
}
}
}
}
movieClip 51 {
}
movieClip 55 {
}
movieClip 57 {
}
movieClip 58 {
instance main of movieClip 57 {
onClipEvent (load) {
function tuisekitanti() {
maaiX = this._parent._x - this._parent._parent.player._x;
maaiY = this._parent._y - this._parent._parent.player._y;
maai = Math.abs(this._parent._x - this._parent._parent.player._x) + Math.abs(this._parent._y - this._parent._parent.player._y);
if (tuiseki > 0) {
muki = tuisekimuki;
}
tuiseki = 0;
if (Math.abs(maaiX) <= 20 && Math.abs(maaiY) <= tuisekihani) {
tuiseki = 1;
tuisekimuki = 1 + (maaiY < 0) * 2;
tuisekimaai = Math.abs(maaiY);
} else {
if (Math.abs(maaiY) <= 20 && Math.abs(maaiX) <= tuisekihani) {
tuiseki = 1;
tuisekimuki = 4 - (maaiX < 0) * 2;
tuisekimaai = Math.abs(maaiX);
}
}
if (tuiseki > 0) {
i = 10;
while (i < tuisekimaai) {
if (_root.main.chikei.hitTest(hanteix15 + ((tuisekimuki == 2) - (tuisekimuki == 4)) * i, hanteiy15 + ((tuisekimuki == 3) - (tuisekimuki == 1)) * i, true)) {
tuiseki = 0;
break;
}
i += 20;
}
}
}
velX = 1;
velY = 0;
velZ = 0;
_z = 0;
time = 0;
fly = 0;
guard = 0;
jump = 0;
attack = 0;
damage = 0;
muki = 2;
time = 0;
xpower = 3;
ypower = 3;
maaiX = this._parent._x - this._parent._parent.player._x;
maaiY = this._parent._y - this._parent._parent.player._y;
maai = Math.abs(this._parent._x - this._parent._parent.player._x) + Math.abs(this._parent._y - this._parent._parent.player._y);
tuiseki = 0;
tuisekibougai = 0;
tuisekihani = 1500;
tuisekimuki = muki;
tuisekimaai = 0;
}
onClipEvent (enterFrame) {
++time;
if (time >= 60) {
time = 0;
}
hanteix1 = (this._parent.hantei.getBounds(_root)).xMin;
hanteix2 = (this._parent.hantei.getBounds(_root)).xMax;
hanteiy1 = (this._parent.hantei.getBounds(_root)).yMin;
hanteiy2 = (this._parent.hantei.getBounds(_root)).yMax;
hanteix15 = (hanteix1 + hanteix2) / 2;
hanteiy15 = (hanteiy1 + hanteiy2) / 2;
if (time == 55 && Math.random() <= 0.1) {
muki -= 1 - (Math.random() >= 0.5) * 2;
}
if (muki < 1) {
muki = 4;
} else {
if (muki > 4) {
muki = 1;
}
}
tuisekitanti();
if (muki < 1) {
muki = 4;
} else {
if (muki > 4) {
muki = 1;
}
}
velX = ((muki == 2) - (muki == 4)) * xpower;
velY = ((muki == 3) - (muki == 1)) * xpower;
this._parent._x += velX;
if (_root.main.chikei.hitTest(hanteix1, hanteiy15, true) && velX < 0 || _root.main.chikei.hitTest(hanteix2, hanteiy15, true) && velX > 0) {
this._parent._x -= velX;
muki += 1 - (Math.random() >= 0.5) * 2;
}
this._parent._y += velY;
if (_root.main.chikei.hitTest(hanteix15, hanteiy1, true) && velY < 0 || _root.main.chikei.hitTest(hanteix15, hanteiy2, true) && velY > 0) {
this._parent._y -= velY;
muki += 1 - (Math.random() >= 0.5) * 2;
}
if (this._parent.hantei.hitTest(this._parent._parent.player.hantei)) {
_root.gotoAndStop('miss');
}
}
}
}
movieClip 62 {
instance of movieClip 32 {
onClipEvent (load) {
if (_root.leg2 <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.leg2 <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
}
}
movieClip 63 {
instance of movieClip 30 {
onClipEvent (load) {
if (_root.leg <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.leg <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
}
}
movieClip 67 {
}
movieClip 68 {
instance of movieClip 67 {
onClipEvent (load) {
if (_root.nude > 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.nude > 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
}
instance of movieClip 34 {
onClipEvent (load) {
if (_root.body <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.body <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
}
}
movieClip 70 {
instance of movieClip 36 {
onClipEvent (load) {
if (_root.hand <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.hand <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
}
}
movieClip 78 {
instance of movieClip 28 {
onClipEvent (load) {
if (_root.head <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_root.head <= 0) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
}
}
movieClip 79 {
instance main of movieClip 78 {
onClipEvent (load) {
xpower = 3 - _root.body * 1 + _root.leg * 0.5 - _root.hand * 0.25 - _root.head * 0.25;
ypower = 3;
}
onClipEvent (enterFrame) {
++time;
hanteix1 = (this._parent.hantei.getBounds(_root)).xMin;
hanteix2 = (this._parent.hantei.getBounds(_root)).xMax;
hanteiy1 = (this._parent.hantei.getBounds(_root)).yMin;
hanteiy2 = (this._parent.hantei.getBounds(_root)).yMax;
hanteix15 = (hanteix1 + hanteix2) / 2;
hanteiy15 = (hanteiy1 + hanteiy2) / 2;
xpower = 4.8 - _root.body * 1 + _root.leg * 0.2 + _root.leg2 * 0.2 + _root.nude * 0.5 - _root.hand * 0.2 - _root.head * 0.3;
ypower = 3;
velX = (Key.isDown(39) - Key.isDown(37)) * xpower;
velY = (Key.isDown(40) - Key.isDown(38)) * xpower;
if (_root.nokori <= 0) {
_root.gotoAndStop('end');
}
this._parent._x += velX;
if (_root.main.chikei.hitTest(hanteix1, hanteiy15, true) && velX < 0 || _root.main.chikei.hitTest(hanteix2, hanteiy15, true) && velX > 0) {
this._parent._x -= velX;
}
this._parent._y += velY;
if (_root.main.chikei.hitTest(hanteix15, hanteiy1, true) && velY < 0 || _root.main.chikei.hitTest(hanteix15, hanteiy2, true) && velY > 0) {
this._parent._y -= velY;
}
}
}
}
movieClip 80 {
}
instance main of movieClip 80 {
onClipEvent (load) {
var scr_x = 0;
var scr_y = 0;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 2) {
scr_x = this.player._x * (_xscale * 0.01) - 425;
scr_y = this.player._y * (_yscale * 0.01) - 240;
if (scr_x < 0) {
scr_x = 0;
}
if (scr_x > this.chikei._width * (_xscale * 0.01) - 850) {
scr_x = this.chikei._width * (_xscale * 0.01) - 850;
}
if (scr_y < 0) {
scr_y = 0;
}
if (scr_y > this.chikei._height * (_yscale * 0.01) - 480) {
scr_y = this.chikei._height * (_yscale * 0.01) - 480;
}
_x = -scr_x;
_y = -scr_y;
} else {
_x = 0;
_y = 0;
}
}
}
movieClip 87 {
}
instance sta of movieClip 87 {
onClipEvent (load) {
time = 0;
byou = 0;
nokori = 0;
var time_old = getTimer();
time = 0;
count = 0;
hyouji = time / 1000;
}
onClipEvent (enterFrame) {
if (this._parent._currentframe == 2) {
var time_now = getTimer();
var time = time_now - time_old;
hyouji = time / 1000;
++count;
}
}
}
movieClip 92 {
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
moji = escape('ã€ã‚ã»ã’ー #ahoge 】「Street Queen(幼女)〠\r');
moji2 = escape('所è¦æ™‚é–“') + _root.sta.hyouji + escape('秒ã€æ®‹ã‚Šãƒ‰ãƒƒãƒˆ') + _root.nokori + escape('個ã§ã‚²ãƒ¼ãƒ オーãƒãƒ¼ï¼ã€€');
moji3 = escape('SCORE:') + _root.score + escape('点 \r');
moji4 = escape('http://mogera.jp/gameplay?gid=gm0000003444 #Street_Queen_幼女 #NRF_Flash');
}
onClipEvent (release) {
getURL('https://twitter.com/intent/tweet?text=' + moji + moji2 + moji3 + moji4, '_blank');
}
}
button 95 {
on (release) {
this.gotoAndStop('1');
}
}
frame 4 {
gotoAndStop(1);
}
movieClip 102 {
}
instance of movieClip 78 {
onClipEvent (load) {
stop();
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
moji = escape('ã€ã‚ã»ã’ー #ahoge 】「Street Queen(幼女)〠\r');
moji2 = escape('所è¦æ™‚é–“') + _root.sta.hyouji + escape('秒ã§ã‚¯ãƒªã‚¢ï¼ã€€');
moji3 = escape('SCORE:') + _root.score + escape('点  \r');
moji4 = escape('http://mogera.jp/gameplay?gid=gm0000003444 #Street_Queen_幼女 #NRF_Flash');
}
onClipEvent (release) {
getURL('https://twitter.com/intent/tweet?text=' + moji + moji2 + moji3 + moji4, '_blank');
}
}
frame 6 {
++miss;
--nokori;
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
moji = escape('ã€ã‚ã»ã’ー #ahoge 】「Street Queen(幼女)〠\r');
moji2 = escape('所è¦æ™‚é–“') + _root.sta.hyouji + escape('秒ã§ã‚²ãƒ¼ãƒ オーãƒãƒ¼ï¼ã€€');
moji3 = escape('SCORE:') + _root.score + escape('点 \r');
moji4 = escape('http://mogera.jp/gameplay?gid=gm0000003392 #Street_Queen(幼女) #NRF_Flash');
}
onClipEvent (release) {
getURL('https://twitter.com/intent/tweet?text=' + moji + moji2 + moji3 + moji4, '_blank');
}
}