Combined Code
movieClip 10 circleclip {
}
frame 1 {
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
percentbytes = int(loadedbytes / (totalbytes / 100));
loader.gotoAndStop(percentbytes);
}
movieClip 14 {
}
movieClip 17 {
}
movieClip 18 {
}
movieClip 26 {
}
movieClip 33 {
frame 1 {
stop();
}
}
movieClip 40 {
}
// unknown tag 88 length 55
movieClip 44 {
}
movieClip 47 {
}
// unknown tag 88 length 127
movieClip 52 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
_visible = true;
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
frame 2 {
if (loadedbytes == totalbytes) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
}
frame 35 {
stop();
}
movieClip 57 {
}
instance play_btn of movieClip 57 {
onClipEvent (release) {
_root.play();
}
}
movieClip 78 {
}
frame 301 {
gotoAndPlay(302);
}
button 110 {
on (release) {
gotoAndStop(773);
}
}
movieClip 129 {
frame 39 {
stop();
}
}
instance pie of movieClip 129 {
onClipEvent (load) {
numCopies = 5;
this.swapDepths(1100);
if (_name == 'pie') {
i = 1;
while (i < numCopies + 1) {
duplicateMovieClip('_root.pie', 'dmc' + i, i + 1000);
_root['dmc' + i].nm = i;
_root['dmc' + i].af = 100 / numCopies;
_root['dmc' + i].onEnterFrame = function () {
with (this) {
if (_root.pie._currentframe == _root.pie._totalframes) {
_alpha -= af;
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
gotoAndStop(_root.pie._currentframe - nm);
_alpha = 100 - af * nm;
}
}
};
++i;
}
}
}
}
instance pie of movieClip 129 {
onClipEvent (load) {
numCopies = 5;
this.swapDepths(1100);
if (_name == 'pie') {
i = 1;
while (i < numCopies + 1) {
duplicateMovieClip('_root.pie', 'dmc' + i, i + 1000);
_root['dmc' + i].nm = i;
_root['dmc' + i].af = 100 / numCopies;
_root['dmc' + i].onEnterFrame = function () {
with (this) {
if (_root.pie._currentframe == _root.pie._totalframes) {
_alpha -= af;
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
gotoAndStop(_root.pie._currentframe - nm);
_alpha = 100 - af * nm;
}
}
};
++i;
}
}
}
}
instance pie of movieClip 129 {
onClipEvent (load) {
numCopies = 5;
this.swapDepths(1100);
if (_name == 'pie') {
i = 1;
while (i < numCopies + 1) {
duplicateMovieClip('_root.pie', 'dmc' + i, i + 1000);
_root['dmc' + i].nm = i;
_root['dmc' + i].af = 100 / numCopies;
_root['dmc' + i].onEnterFrame = function () {
with (this) {
if (_root.pie._currentframe == _root.pie._totalframes) {
_alpha -= af;
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
gotoAndStop(_root.pie._currentframe - nm);
_alpha = 100 - af * nm;
}
}
};
++i;
}
}
}
}
instance pie of movieClip 129 {
onClipEvent (load) {
numCopies = 5;
this.swapDepths(1100);
if (_name == 'pie') {
i = 1;
while (i < numCopies + 1) {
duplicateMovieClip('_root.pie', 'dmc' + i, i + 1000);
_root['dmc' + i].nm = i;
_root['dmc' + i].af = 100 / numCopies;
_root['dmc' + i].onEnterFrame = function () {
with (this) {
if (_root.pie._currentframe == _root.pie._totalframes) {
_alpha -= af;
if (_alpha <= 0) {
this.removeMovieClip();
}
} else {
gotoAndStop(_root.pie._currentframe - nm);
_alpha = 100 - af * nm;
}
}
};
++i;
}
}
}
}
movieClip 177 {
}
movieClip 181 {
}
movieClip 185 {
}
movieClip 186 {
}
movieClip 189 {
}
movieClip 193 {
}
movieClip 196 {
}
movieClip 197 {
}
movieClip 199 {
}
movieClip 200 {
}
movieClip 201 {
}
movieClip 202 {
}
// unknown tag 88 length 70
frame 772 {
gotoAndStop(773);
}
frame 773 {
play();
}
movieClip 221 {
}
button 222 {
on (release) {
gotoAndPlay(783);
}
}
// unknown tag 88 length 297
// unknown tag 88 length 28
frame 782 {
stop();
}
frame 789 {
gotoAndStop(790);
}
frame 790 {
play();
}
movieClip 236 {
frame 2204 {
_root.main.s1.removeMovieClip();
stop();
}
}
movieClip 243 {
frame 735 {
_root.main.s2.removeMovieClip();
stop();
}
}
movieClip 250 {
frame 207 {
_root.main.s3.removeMovieClip();
stop();
}
}
movieClip 253 {
}
movieClip 254 {
frame 849 {
_root.main.s4.removeMovieClip();
stop();
}
}
movieClip 258 {
}
movieClip 261 {
frame 2 {
_root.main.pedestral._visible = false;
}
frame 999 {
_root.main.pedestral._visible = true;
}
frame 1000 {
_root.main.s5.removeMovieClip();
stop();
}
}
movieClip 264 {
}
movieClip 266 {
}
movieClip 267 {
}
movieClip 270 {
}
movieClip 271 {
instance of movieClip 270 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 160));
}
}
}
movieClip 272 {
}
movieClip 275 {
}
movieClip 277 {
}
movieClip 278 {
instance of movieClip 275 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 160));
}
}
instance of movieClip 277 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 160));
}
}
}
movieClip 279 {
}
movieClip 292 {
}
movieClip 303 {
}
movieClip 307 {
frame 2 {
stop();
}
instance girly of movieClip 303 {
onClipEvent (load) {
var trigger = 1;
}
onClipEvent (enterFrame) {
if (trigger == 20) {
_root.main.s6.play();
}
}
onClipEvent (release) {
++trigger;
}
}
frame 46 {
_root.main.gotoAndPlay(2);
}
}
movieClip 328 {
}
movieClip 339 {
}
movieClip 340 {
}
movieClip 357 {
}
movieClip 362 {
}
movieClip 371 {
}
movieClip 378 {
}
movieClip 380 {
frame 1 {
_root.main.madotsuki.midget.midgetpress = true;
stop();
}
frame 2 {
_root.main.madotsuki.midget.midgetpress = false;
}
frame 20 {
_root.main.madotsuki.midget.midgetpress = true;
stop();
}
frame 21 {
_root.main.madotsuki.midget.midgetpress = false;
}
frame 39 {
_root.main.madotsuki.midget.midgetpress = true;
stop();
}
frame 40 {
_root.main.madotsuki.midget.midgetpress = false;
}
frame 58 {
_root.main.madotsuki.midget.midgetpress = true;
stop();
}
frame 77 {
_root.main.madotsuki.midget.midgetpress = true;
stop();
}
frame 78 {
_root.main.madotsuki.midget.midgetpress = false;
}
frame 96 {
_root.main.madotsuki.midget.noisepress = true;
stop();
}
}
movieClip 383 {
}
movieClip 384 {
instance of movieClip 383 {
onClipEvent (load) {
_root.main.holder._visible = false;
}
}
}
movieClip 387 {
}
movieClip 388 {
frame 1 {
frogsnd = new Sound(this);
frogsnd.attachSound('frog.wav');
}
frame 2 {
frogsnd.start(0, 0);
}
frame 15 {
gotoAndStop(1);
}
}
movieClip 399 {
}
movieClip 400 {
instance of movieClip 328 {
onClipEvent (load) {
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
}
instance of movieClip 340 {
onClipEvent (load) {
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
onClipEvent (keyPress 'a') {
_root.main.pumpkin.play();
}
}
instance of movieClip 357 {
onClipEvent (load) {
_root.main.lamp = false;
_root.main.holder._visible = true;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
}
instance of movieClip 362 {
onClipEvent (load) {
var stoppu = false;
stopsnd1 = new Sound(this);
stopsnd2 = new Sound(this);
stopsnd1.attachSound('go.wav');
stopsnd2.attachSound('stop.wav');
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
stop();
}
onClipEvent (keyPress '<Space>') {
if (stoppu == false) {
gotoAndStop(2);
stopsnd2.start(0, 0);
_root.main.pumpkin.pumps.stop();
_root.main.riverlight01.stop();
_root.main.riverlight02.stop();
_root.main.riverlight03.stop();
_root.main.riverlight04.stop();
_root.main.riverlight05.stop();
if (_root.main.s1.okay == true) {
_root.main.s1.stop();
}
if (_root.main.s2.okay == true) {
_root.main.s2.stop();
}
if (_root.main.s3.okay == true) {
_root.main.s3.stop();
}
if (_root.main.s4.okay == true) {
_root.main.s4.stop();
}
if (_root.main.s5.okay == true) {
_root.main.s5.stop();
}
if (_root.main.s6.okay == true) {
_root.main.s6.girly.stop();
}
stoppu = true;
} else {
gotoAndStop(1);
stopsnd1.start(0, 0);
_root.main.pumpkin.pumps.play();
_root.main.riverlight01.play();
_root.main.riverlight02.play();
_root.main.riverlight03.play();
_root.main.riverlight04.play();
_root.main.riverlight05.play();
if (_root.main.s1.okay == true) {
_root.main.s1.play();
}
if (_root.main.s2.okay == true) {
_root.main.s2.play();
}
if (_root.main.s3.okay == true) {
_root.main.s3.play();
}
if (_root.main.s4.okay == true) {
_root.main.s4.play();
}
if (_root.main.s5.okay == true) {
_root.main.s5.play();
}
if (_root.main.s6.okay == true) {
_root.main.s6.girly.play();
}
stoppu = false;
}
}
}
instance of movieClip 371 {
onClipEvent (load) {
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
}
instance midget of movieClip 380 {
onClipEvent (load) {
noise1 = new Sound(this);
noise2 = new Sound(this);
noise1.attachSound('noise01.wav');
noise2.attachSound('noise02.wav');
var my_sounds = [noise1, noise2];
var midgetpress = true;
var noisepress = false;
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
stop();
}
onClipEvent (keyPress '<Space>') {
if (midgetpress == true) {
_root.main.transcircle.gotoAndPlay(1);
play();
}
if (noisepress == true) {
var my_num = Math.floor(Math.random() * 3);
var ChosenSound = my_sounds[my_num];
ChosenSound.start(0, 0);
}
}
}
instance of movieClip 384 {
onClipEvent (load) {
_root.main.lamp = true;
var lamppress = true;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = true;
stop();
}
onClipEvent (keyPress '<Space>') {
if (lamppress == true) {
_root.main.lighting._visible = true;
gotoAndStop(1);
lamppress = false;
} else {
_root.main.lighting._visible = false;
gotoAndStop(2);
lamppress = true;
}
}
}
instance of movieClip 388 {
onClipEvent (load) {
stop();
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
onClipEvent (keyPress '<Space>') {
play();
}
}
instance of movieClip 399 {
onClipEvent (load) {
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
}
instance glow of movieClip 328 {
onClipEvent (load) {
glowsnd = new Sound(this);
glowsnd.attachSound('glow.wav');
var glowpress = true;
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = true;
_root.main.lighting._visible = false;
}
onClipEvent (keyPress '<Space>') {
if (glowpress == true) {
glowsnd.start(0, 0);
_root.main.lightcolor.play();
}
}
}
}
movieClip 405 {
}
movieClip 411 {
}
movieClip 412 {
frame 23 {
stop();
}
}
movieClip 414 {
}
movieClip 424 {
frame 1 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 2 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 20 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 21 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 40 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 41 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 60 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 61 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 80 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 81 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 100 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 101 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 120 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 121 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 140 {
_root.main.madotsuki.glow.glowpress = true;
stop();
}
frame 141 {
_root.main.madotsuki.glow.glowpress = false;
}
frame 160 {
_root.main.madotsuki.glow.glowpress = true;
gotoAndStop(20);
}
}
movieClip 430 {
frame 1 {
_root.main.madotsuki.buttpress = false;
}
frame 26 {
_root.main.madotsuki.buttpress = true;
stop();
}
}
// unknown tag 88 length 63
// unknown tag 88 length 168
movieClip 435 {
frame 156 {
stop();
}
}
// unknown tag 88 length 33
movieClip 445 {
}
// unknown tag 88 length 112
movieClip 451 {
frame 1 {
function movedrop() {
i = 0;
while (i < _root.main.holder.maxdrops) {
focuseddrop = _root.main.holder['drop' + i];
focuseddrop._rotation = -dropslop;
focuseddrop._y += 25 + downspeed / focuseddrop._yscale;
focuseddrop.x += Math.tan(dropslop);
if (focuseddrop._y >= Stage.height + 20) {
focuseddrop._y = random(30);
focuseddrop._x = random(Stage.width);
}
++i;
}
}
stop();
transforma = new Sound(this);
transforma.attachSound('transform.wav');
bgm = new Sound(this);
bgm.attachSound('bgm.wav');
bgm.start(0, 0);
var lamp = true;
_root.main.createEmptyMovieClip('holder', this.getNextHighestDepth());
_root.main.holder.maxdrops = 150;
var downspeed = 900;
var dropslop = 10;
i = 0;
while (i < holder.maxdrops) {
_root.main.holder.attachMovie('circleclip', 'drop' + i, i + 5);
focuseddrop = _root.main.holder['drop' + i];
focuseddrop.cacheAsBitmap = true;
focuseddrop._x = random(Stage.width);
focuseddrop._y = random(Stage.height);
focuseddrop._yscale = random(100);
focuseddrop._rotation = -dropslop;
++i;
}
var dropup = setInterval(movedrop, 1);
}
instance s1 of movieClip 236 {
onClipEvent (load) {
function myMethode() {
this.play();
okay = true;
clearInterval(myInterval);
}
stop();
var myInterval;
var okay = false;
myInterval = setInterval(this, 'myMethode', 60000);
}
}
instance s2 of movieClip 243 {
onClipEvent (load) {
function myMethode() {
this.play();
okay = true;
clearInterval(myInterval);
}
stop();
var myInterval;
var okay = false;
myInterval = setInterval(this, 'myMethode', 120000);
}
}
instance s3 of movieClip 250 {
onClipEvent (load) {
function myMethode() {
this.play();
okay = true;
clearInterval(myInterval);
}
stop();
var myInterval;
var okay = false;
myInterval = setInterval(this, 'myMethode', 180000);
}
}
instance s4 of movieClip 254 {
onClipEvent (load) {
function myMethode() {
this.play();
okay = true;
clearInterval(myInterval);
}
stop();
var myInterval;
var okay = false;
myInterval = setInterval(this, 'myMethode', 240000);
}
}
instance s5 of movieClip 261 {
onClipEvent (load) {
function myMethode() {
this.play();
okay = true;
clearInterval(myInterval);
}
stop();
var myInterval;
var okay = false;
myInterval = setInterval(this, 'myMethode', 300000);
}
}
instance riverlight02 of movieClip 267 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 240));
}
}
instance riverlight03 of movieClip 272 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 240));
}
}
instance riverlight01 of movieClip 279 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 240));
}
}
instance riverlight05 of movieClip 292 {
onClipEvent (load) {
gotoAndPlay(12);
}
}
instance s6 of movieClip 307 {
onClipEvent (load) {
function myMethode() {
this.play();
okay = true;
clearInterval(myInterval);
}
stop();
var myInterval;
var okay = false;
myInterval = setInterval(this, 'myMethode', 360000);
}
}
instance madotsuki of movieClip 400 {
onClipEvent (load) {
var buttpress = true;
stop();
}
onClipEvent (release) {
if (buttpress == true) {
_root.main.transforma.start(0, 0);
gotoAndStop(Math.floor(Math.random() * 11));
_root.main.transcircle.gotoAndPlay(1);
}
}
}
instance lamp of movieClip 405 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.main.lamp == false) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance pumpkin of movieClip 412 {
onClipEvent (load) {
stop();
}
}
instance transcircle of movieClip 430 {
onClipEvent (load) {
gotoAndStop(26);
}
}
frame 244 {
stop();
}
}
frame 814 {
stop();
}