Combined Code
movieClip 10 circleclip {
}
frame 1 {
play();
}
movieClip 18 {
frame 2204 {
_root.main.s1.removeMovieClip();
stop();
}
}
movieClip 26 {
frame 735 {
_root.main.s2.removeMovieClip();
stop();
}
}
movieClip 33 {
frame 207 {
_root.main.s3.removeMovieClip();
stop();
}
}
movieClip 36 {
}
movieClip 37 {
frame 849 {
_root.main.s4.removeMovieClip();
stop();
}
}
movieClip 41 {
}
movieClip 45 {
frame 2 {
_root.main.pedestral._visible = false;
}
frame 999 {
_root.main.pedestral._visible = true;
}
frame 1000 {
_root.main.s5.removeMovieClip();
stop();
}
}
movieClip 48 {
}
movieClip 50 {
}
movieClip 51 {
}
movieClip 54 {
}
movieClip 55 {
instance of movieClip 54 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 160));
}
}
}
movieClip 56 {
}
movieClip 59 {
}
movieClip 61 {
}
movieClip 62 {
instance of movieClip 59 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 160));
}
}
instance of movieClip 61 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 160));
}
}
}
movieClip 63 {
}
movieClip 76 {
}
movieClip 87 {
}
movieClip 93 {
frame 2 {
stop();
}
instance girly of movieClip 87 {
onClipEvent (load) {
var trigger = 1;
}
onClipEvent (enterFrame) {
if (trigger == 20) {
_root.main.s6.play();
}
}
onClipEvent (release) {
++trigger;
}
}
frame 46 {
_root.main.gotoAndPlay(2);
}
}
movieClip 114 {
}
movieClip 125 {
}
movieClip 126 {
}
movieClip 143 {
}
movieClip 148 {
}
movieClip 157 {
}
movieClip 164 {
}
movieClip 166 {
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 169 {
}
movieClip 170 {
instance of movieClip 169 {
onClipEvent (load) {
_root.main.holder._visible = false;
}
}
}
movieClip 173 {
}
movieClip 174 {
frame 1 {
frogsnd = new Sound(this);
frogsnd.attachSound('frog.wav');
}
frame 2 {
frogsnd.start(0, 0);
}
frame 15 {
gotoAndStop(1);
}
}
movieClip 185 {
}
movieClip 186 {
instance of movieClip 114 {
onClipEvent (load) {
_root.main.lamp = false;
_root.main.holder._visible = false;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
}
instance of movieClip 126 {
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 143 {
onClipEvent (load) {
_root.main.lamp = false;
_root.main.holder._visible = true;
_root.main.lightcolor._visible = false;
_root.main.lighting._visible = false;
}
}
instance of movieClip 148 {
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 157 {
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 166 {
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 170 {
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 174 {
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 185 {
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 114 {
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 191 {
}
movieClip 200 {
}
movieClip 201 {
frame 23 {
stop();
}
}
movieClip 203 {
}
movieClip 221 {
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 229 {
frame 1 {
_root.main.madotsuki.buttpress = false;
}
frame 26 {
_root.main.madotsuki.buttpress = true;
stop();
}
}
// unknown tag 88 length 63
// unknown tag 88 length 160
movieClip 234 {
frame 156 {
stop();
}
}
// unknown tag 88 length 63
movieClip 244 {
}
movieClip 251 {
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, 9999);
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 18 {
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 26 {
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 33 {
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 37 {
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 45 {
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 51 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 240));
}
}
instance riverlight03 of movieClip 56 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 240));
}
}
instance riverlight01 of movieClip 63 {
onClipEvent (load) {
gotoAndPlay(Math.floor(Math.random() * 240));
}
}
instance riverlight05 of movieClip 76 {
onClipEvent (load) {
gotoAndPlay(12);
}
}
instance s6 of movieClip 93 {
onClipEvent (load) {
function myMethode() {
this.play();
okay = true;
}
stop();
var okay = false;
}
}
instance madotsuki of movieClip 186 {
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 191 {
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_root.main.lamp == false) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
}
instance pumpkin of movieClip 201 {
onClipEvent (load) {
stop();
}
}
instance transcircle of movieClip 229 {
onClipEvent (load) {
gotoAndStop(26);
}
}
frame 244 {
stop();
}
}
movieClip 252 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v4 = camH * (_yscale * 0.01);
var v3 = camW * (_xscale * 0.01);
var v6 = sH / v4;
var v5 = sW / v3;
_x2 = (v3 / 2) * v5;
_y2 = (v4 / 2) * v6;
_xscale2 = v5 * 100;
_yscale2 = v6 * 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 v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent[prop] = n;
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent._x -= v3.x - v2.x;
_parent._y -= v3.y - v2.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 25 {
stop();
}