Combined Code
movieClip 2 staplebeta {
}
movieClip 3 staplealpha {
}
movieClip 4 staplegamma {
}
movieClip 5 stapledelta {
frame 1 {
i = 20;
}
instance stapledelta of movieClip 4 staplegamma {
onClipEvent (enterFrame) {
if (_root.stapleoff == 1) {
tellTarget ('_root.stapledelta') {
i = 20;
gotoAndStop(2);
}
removeMovieClip(this);
}
if (_root.vary == 1) {
tellTarget ('_root.stapledelta') {
i = 20;
gotoAndStop(2);
}
vary = 0;
removeMovieClip(this);
}
}
}
frame 2 {
stop();
}
frame 3 {
newstaple = 'staple' + i;
duplicateMovieClip(stapledelta, newstaple, i);
eval(newstaple)._x = this._parent._xmouse;
eval(newstaple)._y = this._parent._ymouse;
if (i < 75) {
i += 1;
} else {
i = 75;
}
gotoAndPlay(2);
}
}
movieClip 6 stapledelta2 {
frame 1 {
i = 5;
}
frame 2 {
stop();
}
frame 3 {
newstaple = 'staple' + i;
duplicateMovieClip(stapledelta, newstaple, i);
eval(newstaple)._x = this._parent._xmouse;
eval(newstaple)._y = this._parent._ymouse;
eval(newstaple)._alpha = 100;
if (i < 75) {
i += 1;
} else {
i = 75;
}
gotoAndPlay(2);
}
}
movieClip 9 {
}
button 11 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m2 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 16 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
button 17 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
}
}
}
movieClip 18 {
instance of movieClip 9 {
onClipEvent (mouseDown) {
if (this._parent.button1.hitTest(_root.staple.staple.staplehit) == true) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m2 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
movieClip 21 {
}
button 22 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m1 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 24 {
frame 3 {
gotoAndPlay(1);
}
frame 4 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 5 {
stop();
}
}
button 27 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m3 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 29 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
movieClip 32 {
}
button 33 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m5 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 35 {
}
movieClip 36 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 37 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m12 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 38 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 39 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m14 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
button 40 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
}
}
}
movieClip 41 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 42 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m15 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 43 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 44 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m16 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 45 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 46 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m13 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 47 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
movieClip 50 {
}
button 51 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m6 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 53 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
movieClip 56 {
}
button 57 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m7 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 60 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 63 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m8 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 65 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 68 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m9 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 70 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 73 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m10 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 75 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 78 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m11 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 80 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
movieClip 83 {
}
button 84 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m17 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 86 {
}
movieClip 87 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 88 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m18 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 89 {
frame 4 {
gotoAndPlay(2);
}
frame 5 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 6 {
stop();
}
}
button 92 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent._parent') {
death = 1;
_root.counter += 1;
_root.m4 += 1;
_root.mothcount -= 1;
}
tellTarget ('this._parent._parent._parent.stapledelta') {
play();
}
gotoAndStop('die');
}
}
}
movieClip 94 {
}
movieClip 95 {
frame 3 {
gotoAndPlay(1);
}
frame 4 {
stop();
this._parent._parent._parent.swapDepths(_root.counter);
}
instance splat of movieClip 16 {
onClipEvent (load) {
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
frame 5 {
stop();
}
}
movieClip 96 {
frame 1 {
random1 = Math.floor(Math.random() * 10) + '';
random2 = Math.floor(Math.random() * 10) + '';
random3 = Math.floor(Math.random() * 10) + '';
gotoAndStop(random1 + random2 + random3);
}
instance moth of movieClip 18 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 422 {
stop();
}
instance moth of movieClip 24 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 679 {
stop();
}
instance moth of movieClip 29 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 708 {
stop();
}
instance moth of movieClip 36 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 710 {
stop();
}
instance moth of movieClip 38 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 712 {
stop();
}
instance moth of movieClip 41 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 714 {
stop();
}
instance moth of movieClip 43 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 716 {
stop();
}
instance moth of movieClip 45 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 726 {
stop();
}
frame 727 {
stop();
}
instance moth of movieClip 47 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 728 {
stop();
}
instance moth of movieClip 53 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 744 {
stop();
}
instance moth of movieClip 60 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 825 {
stop();
}
instance moth of movieClip 65 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 843 {
stop();
}
instance moth of movieClip 70 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 853 {
stop();
}
instance moth of movieClip 75 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 863 {
stop();
}
instance moth of movieClip 80 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 867 {
stop();
}
instance moth of movieClip 87 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 871 {
stop();
}
instance moth of movieClip 89 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 875 {
stop();
}
instance moth of movieClip 95 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
frame 1018 {
stop();
}
}
movieClip 98 {
}
movieClip 99 {
frame 1 {
tellTarget ('this.mothalpha') {
gotoAndStop(mothtype);
}
}
instance of movieClip 98 {
onClipEvent (keyDown) {
if (this._parent.death == 0) {
if (Key.isDown(192)) {
if (Key.isDown(54)) {
tellTarget ('this._parent.mothalpha') {
play();
}
}
}
}
}
}
}
movieClip 100 mothgamma {
frame 1 {
tellTarget ('this.mothbeta') {
stop1 = 0;
var myDropFilter = new flash.filters.DropShadowFilter(20, 45, 0, 0.5, 10, 10, 1, 2, false, false, false);
var myFilters = this.filters;
myFilters.push(myDropFilter);
var myDropFilter2 = new flash.filters.DropShadowFilter(6, 45, 0, 0.5, 10, 10, 1, 2, false, false, false);
var myFilters2 = this.filters;
myFilters2.push(myDropFilter2);
new flash.filters.DropShadowFilter();
}
}
instance mothbeta of movieClip 99 {
onClipEvent (load) {
integer = 2;
death = 0;
this._rotation = Math.floor(Math.random() * 360);
mothtype = Math.ceil(Math.random() * 21);
}
onClipEvent (enterFrame) {
if (death == 1) {
this.filters = 0;
stop();
if (_root.counter < 0) {
removeMovieClip(this._parent);
}
} else {
if (_root.scatter == 3) {
removeMovieClip(this._parent);
_root.mothcount = 0;
} else {
if (_root.scatter == 1) {
this.filters = 0;
play();
tellTarget ('this.mothalpha.moth') {
play();
}
this._y -= 5;
} else {
if (stop1 == 1) {
this.filters = myFilters2;
stop();
tellTarget ('this.mothalpha.moth') {
gotoAndStop(1);
}
} else {
if (stop1 == 0) {
this.filters = myFilters;
tellTarget ('this.mothalpha.moth') {
play();
}
this._parent._x -= 2;
if (this._parent._x < 100) {
integer = -2;
} else {
if (this._parent._x > 250) {
integer = 2;
}
}
if (this._parent._y < 150) {
integer2 = -2;
} else {
if (this._parent._y > 300) {
integer2 = 2;
}
}
this._parent._x -= integer;
this._parent._y -= integer2;
this._rotation += 2;
play();
}
}
}
}
}
}
}
instance stapledelta of movieClip 6 stapledelta2 {
}
frame 77 {
tellTarget ('this.mothbeta') {
stop1 = 1;
}
}
frame 96 {
tellTarget ('this.mothbeta') {
stop1 = 0;
}
gotoAndPlay(2);
}
}
frame 1 {
_accProps = new Object();
_accProps.name = 'STPLGUN';
}
frame 1 {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
bytes_almost = Math.round(_root.getBytesTotal()) - 410902 - 259739;
getPercent = bytes_loaded / bytes_almost;
_root.loadbar.loadbar._width = getPercent * 190.2;
if (bytes_loaded == bytes_total) {
gotoAndPlay(4);
} else {
if (getPercent > 1) {
gotoAndPlay(3);
}
}
}
movieClip 103 {
}
movieClip 104 {
}
movieClip 105 {
}
movieClip 106 {
}
instance of movieClip 106 {
onClipEvent (enterFrame) {
this._rotation += 1;
}
}
movieClip 109 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 113 {
instance moth of movieClip 18 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 114 {
frame 1 {
tellTarget ('this.mothalpha') {
gotoAndStop(mothtype);
}
}
}
instance of movieClip 114 {
onClipEvent (enterFrame) {
if (this._x < 0) {
integer = -2;
} else {
if (this._x > Stage.width) {
integer = 2;
}
}
if (this._y < 0) {
integer2 = -2;
} else {
if (this._y > Stage.height) {
integer2 = 2;
}
}
this._x -= integer;
this._y -= integer2;
this._rotation += 2;
play();
}
}
instance of movieClip 114 {
onClipEvent (enterFrame) {
if (this._x < 0) {
integer = -2;
} else {
if (this._x > Stage.width) {
integer = 2;
}
}
if (this._y < 0) {
integer2 = -2;
} else {
if (this._y > Stage.height) {
integer2 = 2;
}
}
this._x -= integer;
this._y -= integer2;
this._rotation += 2;
play();
}
}
instance of movieClip 114 {
onClipEvent (enterFrame) {
if (this._x < 0) {
integer = -2;
} else {
if (this._x > Stage.width) {
integer = 2;
}
}
if (this._y < 0) {
integer2 = -2;
} else {
if (this._y > Stage.height) {
integer2 = 2;
}
}
this._x -= integer;
this._y -= integer2;
this._rotation += 2;
play();
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
}
movieClip 117 {
}
movieClip 119 {
frame 15 {
stop();
tellTarget ('this._parent') {
gotoAndPlay(4);
}
}
}
frame 4 {
stopAllSounds();
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 132 {
frame 1 {
stop();
}
instance Beyes of movieClip 123 {
onClipEvent (mouseMove) {
if (this._parent._xmouse > 600 && this._xmouse < 1000) {
this._x = 810 + 10 * this._xmouse / this._parent._width;
}
if (this._parent._ymouse > 0 && this._ymouse < this._parent._height) {
this._y = 260 - -20 * this._parent._ymouse / this._parent._height;
}
}
}
instance Aeyes of movieClip 125 {
onClipEvent (mouseMove) {
if (this._parent._xmouse > 0 && this._parent._xmouse < 800) {
this._x = 330 + 20 * this._parent._xmouse / this._parent._width;
}
if (this._parent._ymouse > 0 && this._ymouse < this._parent._height) {
this._y = 414 - -10 * this._parent._ymouse / this._parent._height;
}
}
}
}
movieClip 134 {
}
frame 71 {
tellTarget ('_root.them') {
play();
}
}
frame 124 {
function resetVariables() {
tm1 = 0;
tm2 = 0;
tm3 = 0;
tm4 = 0;
tm5 = 0;
tm6 = 0;
tm7 = 0;
tm8 = 0;
tm9 = 0;
tm10 = 0;
tm11 = 0;
tm12 = 0;
tm13 = 0;
tm14 = 0;
tm15 = 0;
tm16 = 0;
tm17 = 0;
tm18 = 0;
tm19 = 0;
tm20 = 0;
m1N = d1;
m2N = d2;
m3N = d3;
m4N = d4;
m5N = d5;
m6N = d6;
m7N = d7;
m8N = d8;
m9N = d9;
m10N = d10;
m11N = d11;
m12N = d12;
m13N = d13;
m14N = d14;
m15N = d15;
m16N = d16;
m17N = d17;
m18N = d18;
m19N = d19;
m20N = d20;
ayr = 0;
arr = 0;
abr = 0;
abm = 0;
asm = 0;
agm = 0;
abc = 0;
asc = 0;
agc = 0;
}
Object.prototype.setCookie = function (c, n, v) {
var v1 = SharedObject.getLocal(c);
v1.data[n] = v;
v1.flush();
};
Object.prototype.getCookie = function (c, n) {
var v1 = SharedObject.getLocal(c);
return v1.data[n];
};
}
frame 124 {
_root.menu.count = 0;
volumeMusic = 100;
volumeSound = 100;
autosave = 0;
ayr = 0;
arr = 0;
abr = 0;
abm = 0;
asm = 0;
agm = 0;
abc = 0;
asc = 0;
agc = 0;
switcher = 1;
menuplay = 0;
instructoid = 0;
mothdepth = 1;
mothcount = 0;
scatter = 0;
counter = 0;
total = 0;
thepause = 0;
musicpause = 0;
score = 0;
mothlist = 0;
big = 0;
arny = 0;
player = 1;
nada = '';
repeat = 0;
stapleoff = 0;
stapled = 1;
game1 = 'Slot 1';
game2 = 'Slot 2';
game3 = 'Slot 3';
game4 = 'Slot 4';
speciescount = 0;
m1 = 0;
m2 = 0;
m3 = 0;
m4 = 0;
m5 = 0;
m6 = 0;
m7 = 0;
m8 = 0;
m9 = 0;
m10 = 0;
m11 = 0;
m12 = 0;
m13 = 0;
m14 = 0;
m15 = 0;
m16 = 0;
m17 = 0;
m18 = 0;
m19 = 0;
m20 = 0;
tm1 = 0;
tm2 = 0;
tm3 = 0;
tm4 = 0;
tm5 = 0;
tm6 = 0;
tm7 = 0;
tm8 = 0;
tm9 = 0;
tm10 = 0;
tm11 = 0;
tm12 = 0;
tm13 = 0;
tm14 = 0;
tm15 = 0;
tm16 = 0;
tm17 = 0;
tm18 = 0;
tm19 = 0;
tm20 = 0;
Unnamed = 'Unnamed Species';
d1 = Unnamed;
d2 = Unnamed;
d3 = Unnamed;
d4 = Unnamed;
d5 = Unnamed;
d6 = Unnamed;
d7 = Unnamed;
d8 = 'Emperor Moth';
d9 = Unnamed;
d10 = Unnamed;
d11 = Unnamed;
d12 = Unnamed;
d13 = 'Rare Albino Io';
d14 = Unnamed;
d15 = Unnamed;
d16 = Unnamed;
d17 = Unnamed;
d18 = Unnamed;
d19 = 'Mothra';
d20 = 'Arnold';
m1N = d1;
m2N = d2;
m3N = d3;
m4N = d4;
m5N = d5;
m6N = d6;
m7N = d7;
m8N = d8;
m9N = d9;
m10N = d10;
m11N = d11;
m12N = d12;
m13N = d13;
m14N = d14;
m15N = d15;
m16N = d16;
m17N = d17;
m18N = d18;
m19N = d19;
m20N = d20;
vary = 0;
music = 1;
mousefly = 1;
scout = 50;
this.backbutt.useHandCursor = 0;
tellTarget ('_root.moth') {
gotoAndPlay('duplicate');
}
}
button 140 {
on (press) {
if (_root.musicpause == 0) {
if (_root.stapled == 1) {
tellTarget ('_root.stapledelta') {
play();
}
} else {
_root.stapled = 1;
}
}
}
}
movieClip 141 {
frame 1 {
i = 21;
}
instance mothgamma of movieClip 100 mothgamma {
onClipEvent (load) {
this.stapledelta.stapledelta._alpha = 0;
}
}
frame 143 {
if (_root.total > 50 && _root.counter > 4) {
if (_root.tm20 == 0) {
if (_root.big == 0) {
tellTarget ('_root.arnold') {
play();
}
_root.big = 1;
}
}
} else {
if (_root.total > 500 && _root.counter > 2) {
if (_root.tm19 == 0) {
if (_root.arny == 0) {
tellTarget ('_root.bigmoth') {
play();
}
_root.arny = 1;
}
}
}
}
if (_root.mothcount < 3) {
if (_root.thepause == 0) {
ynumber = Math.ceil(Math.random() * Stage.height);
newmoth = 'moth' + i;
duplicateMovieClip(mothgamma, newmoth, i);
eval(newmoth)._x = Stage.width + 100 + ynumber / 2;
eval(newmoth)._y = ynumber;
i += 1;
_root.mothcount += 1;
}
}
}
frame 145 {
gotoAndPlay(2);
}
}
movieClip 144 {
}
movieClip 145 {
}
button 147 {
on (press) {
if (_root.musicpause == 0) {
play();
tellTarget ('_root.staple') {
gotoAndStop(2);
}
tellTarget ('_root.wall') {
gotoAndStop(2);
}
tellTarget ('_root.haze') {
gotoAndStop(2);
}
tellTarget ('_target') {
}
tellTarget ('_target') {
}
}
}
}
movieClip 152 {
}
button 160 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this.stapledelta') {
play();
}
}
}
}
movieClip 161 {
instance of movieClip 16 {
onClipEvent (load) {
this._rotation = Math.random() * 360;
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
instance of movieClip 16 {
onClipEvent (load) {
this._rotation = Math.random() * 360;
splatter = Math.ceil(Math.random() * 3);
gotoAndStop(splatter);
}
}
}
movieClip 162 {
}
movieClip 163 {
frame 1 {
i = 20;
}
frame 2 {
stop();
}
frame 3 {
newstaple = 'staple' + i;
duplicateMovieClip(stapledelta, newstaple, i);
eval(newstaple)._x = this._parent._xmouse;
eval(newstaple)._y = this._parent._ymouse;
if (i < 75) {
i += 1;
} else {
i = 75;
}
gotoAndPlay(2);
}
}
movieClip 173 {
}
button 175 {
on (press) {
tellTarget ('this.stapledelta') {
play();
}
}
}
movieClip 176 {
frame 1 {
stop();
}
frame 30 {
tellTarget ('this._parent') {
play();
}
}
frame 31 {
tellTarget ('_root.staple') {
gotoAndStop(1);
}
tellTarget ('_root.wall') {
gotoAndStop(1);
}
tellTarget ('_root.haze') {
gotoAndStop(1);
}
}
}
movieClip 177 {
frame 1 {
_root.scatter = 0;
stop();
}
frame 2 {
_root.scatter = 1;
}
frame 6 {
}
frame 67 {
stop();
tellTarget ('this.hand') {
play();
}
}
frame 87 {
_root.scatter = 3;
}
}
instance light of movieClip 177 {
onClipEvent (enterFrame) {
this.bulb1.useHandCursor = 0;
}
}
movieClip 181 {
}
movieClip 184 {
}
movieClip 185 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance light of movieClip 177 {
onClipEvent (enterFrame) {
this.bulb1.useHandCursor = 0;
this.hand.button.useHandCursor = 0;
}
}
movieClip 193 {
}
movieClip 205 {
}
movieClip 208 {
}
movieClip 209 {
}
movieClip 211 {
frame 1 {
stop();
_root.light._visible = 1;
}
frame 2 {
stop();
_root.light._visible = 1;
}
frame 3 {
stop();
_root.light._visible = 0;
}
frame 4 {
stop();
_root.light._visible = 0;
}
frame 5 {
stop();
_root.light._visible = 0;
}
frame 6 {
stop();
_root.light._visible = 0;
}
frame 7 {
stop();
_root.light._visible = 0;
}
frame 8 {
stop();
_root.light._visible = 1;
}
frame 9 {
stop();
_root.light._visible = 1;
}
frame 10 {
stop();
_root.light._visible = 0;
}
instance of movieClip 132 {
onClipEvent (load) {
gotoAndStop(25);
}
}
}
movieClip 214 {
}
movieClip 217 {
frame 1 {
stop();
}
}
button 219 {
on (press) {
if (_root.musicpause == 0) {
play();
}
}
}
movieClip 257 {
frame 1 {
gotoAndPlay('stopit');
}
frame 212 {
gotoAndPlay('killme');
}
frame 534 {
gotoAndPlay('mine');
}
}
movieClip 261 {
}
button 262 {
on (press) {
if (_root.musicpause == 0) {
gotoAndPlay('death');
_root.counter += 1;
_root.m20 += 1;
_root.arny = 0;
}
}
}
movieClip 266 {
}
movieClip 269 {
}
movieClip 271 {
frame 1 {
stop();
}
frame 34 {
stop();
}
frame 86 {
gotoAndPlay('freak');
}
frame 94 {
stop();
}
frame 95 {
stop();
}
frame 96 {
stop();
}
frame 97 {
gotoAndStop('still');
}
}
instance arnold of movieClip 271 {
onClipEvent (enterFrame) {
this.butt.useHandCursor = 0;
}
}
movieClip 275 {
}
movieClip 276 {
}
movieClip 279 {
}
button 281 {
on (press) {
if (_root.musicpause == 0) {
tellTarget ('this._parent') {
gotoAndPlay('die');
}
_root.counter += 1;
_root.m19 += 1;
_root.big = 0;
}
}
}
movieClip 283 {
frame 13 {
gotoAndPlay(1);
}
}
movieClip 287 {
frame 1 {
stop();
}
instance of movieClip 283 {
onClipEvent (enterFrame) {
this.butt.useHandCursor = 0;
}
}
frame 2 {
tellTarget ('this._parent') {
stop();
}
}
frame 15 {
stop();
}
}
movieClip 288 {
frame 1 {
stop();
}
frame 271 {
stop();
}
frame 272 {
stop();
}
frame 273 {
stop();
}
frame 274 {
gotoAndStop('still');
}
}
frame 139 {
gotoAndStop('song1');
}
movieClip 290 {
}
instance of movieClip 290 {
onClipEvent (enterFrame) {
tellTarget ('this._parent.moth.mothgamma.mothbeta') {
death = 1;
stop();
}
}
onClipEvent (mouseDown) {
if (_root.musicpause == 0) {
_root.scout -= 1;
}
}
onClipEvent (keyDown) {
if (Key.isDown(77)) {
if (_root.ipod._currentframe == 1) {
if (_root.mainmenu._currentframe == 35) {
} else {
if (_root.menu._currentframe == 50) {
} else {
if (_root.mainmenu.box.onoff.SFX.box.box._currentframe > 1) {
} else {
if (_root.mainmenu._currentframe == 122) {
tellTarget ('_root.mainmenu') {
gotoAndPlay('on');
}
} else {
tellTarget ('_root.mainmenu') {
play();
}
}
}
}
}
}
} else {
if (Key.isDown(192)) {
} else {
if (_root.musicpause == 0) {
tellTarget ('_root.ipod') {
play();
}
_root.musicpause = 1;
}
}
}
if (Key.isDown(192)) {
if (Key.isDown(67)) {
if (Key.isDown(89)) {
tellTarget ('_root.bigmoth') {
play();
}
tellTarget ('_root.arnold') {
play();
}
}
}
}
if (Key.isDown(192)) {
if (Key.isDown(65)) {
if (Key.isDown(68)) {
tellTarget ('_root.arnold') {
gotoAndPlay(2);
}
}
}
}
if (Key.isDown(192)) {
if (Key.isDown(87)) {
if (Key.isDown(68)) {
tellTarget ('_root.map') {
play();
}
}
}
}
}
onClipEvent (enterFrame) {
_root.total = _root.tm1 + _root.tm2 + _root.tm3 + _root.tm4 + _root.tm5 + _root.tm6 + _root.tm7 + _root.tm8 + _root.tm9 + _root.tm10 + _root.tm11 + _root.tm12 + _root.tm13 + _root.tm14 + _root.tm15 + _root.tm16 + _root.tm17 + _root.tm18 + _root.tm19 + _root.tm20;
}
}
movieClip 294 {
frame 2 {
stop();
}
}
movieClip 299 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 301 {
frame 1 {
stop();
}
instance staple of movieClip 299 {
onClipEvent (enterFrame) {
if (_root.musicpause == 0) {
if (_root.mousefly == 1) {
Mouse.hide();
this._parent._x += this._parent._xmouse / 2;
this._parent._y += this._parent._ymouse / 2;
if (this._parent._xmouse == 0 && this._parent._ymouse == 0) {
_root.mousefly = 0;
}
} else {
if (_root.mousefly == 2) {
Mouse.hide();
this._parent._x = 500;
this._parent._y = 500;
} else {
Mouse.hide();
this._parent._x = _root._xmouse;
this._parent._y = _root._ymouse;
}
}
} else {
Mouse.show();
}
}
onClipEvent (mouseDown) {
if (_root.musicpause == 0) {
gotoAndStop(3);
}
}
onClipEvent (mouseUp) {
if (_root.musicpause == 0) {
gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
instance staple of movieClip 299 {
onClipEvent (enterFrame) {
if (_root.musicpause == 0) {
if (_root.mousefly == 1) {
Mouse.hide();
this._parent._x += this._parent._xmouse / 2;
this._parent._y += this._parent._ymouse / 2;
if (this._parent._xmouse == 0 && this._parent._ymouse == 0) {
_root.mousefly = 0;
}
} else {
Mouse.hide();
this._parent._x = _root._xmouse;
this._parent._y = _root._ymouse;
}
} else {
Mouse.show();
}
}
onClipEvent (mouseDown) {
if (_root.musicpause == 0) {
gotoAndStop(3);
}
}
onClipEvent (mouseUp) {
if (_root.musicpause == 0) {
gotoAndStop(2);
}
}
}
}
movieClip 304 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 306 {
}
button 310 {
on (release) {
tellTarget ('_root') {
gotoAndStop('song1');
}
tellTarget ('this._parent._parent') {
play();
}
}
}
button 313 {
on (release) {
tellTarget ('_root') {
gotoAndStop('song2');
}
tellTarget ('this._parent._parent') {
play();
}
}
}
button 316 {
on (release) {
tellTarget ('_root') {
gotoAndStop('song3');
}
tellTarget ('this._parent._parent') {
play();
}
}
}
button 319 {
on (release) {
play();
}
}
button 322 {
on (release) {
play();
}
}
movieClip 323 {
frame 1 {
stop();
_root.repeat = 0;
}
frame 2 {
stop();
_root.repeat = 1;
}
}
movieClip 326 {
instance of movieClip 323 {
onClipEvent (load) {
if (_root.repeat == 1) {
gotoAndStop(2);
}
}
}
}
button 329 {
on (release) {
stopAllSounds();
tellTarget ('_root') {
play();
}
}
}
button 330 {
on (release) {
tellTarget ('_root.ipod') {
play();
}
}
}
button 332 {
on (release) {
tellTarget ('_root.mainmenu') {
gotoAndPlay('on');
}
tellTarget ('this._parent') {
play();
}
}
}
movieClip 333 {
instance of movieClip 326 {
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
this.yobutton._visible = 0;
} else {
this.yobutton._visible = 1;
this.yobutton.useHandCursor = 0;
}
}
}
}
movieClip 334 {
frame 1 {
stop();
}
frame 2 {
_root.thepause = 1;
_root.mousefly = 1;
}
frame 25 {
stop();
}
instance of movieClip 333 {
onClipEvent (keyDown) {
tellTarget ('_root.ipod') {
play();
}
}
}
frame 40 {
if (_root.mainmenu._currentframe == 122) {
_root.musicpause = 0;
_root.thepause = 0;
}
}
}
movieClip 337 {
}
movieClip 339 {
}
movieClip 344 {
instance moth of movieClip 29 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 347 {
instance moth of movieClip 36 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 350 {
instance moth of movieClip 38 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 353 {
instance moth of movieClip 41 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 356 {
instance moth of movieClip 43 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 359 {
instance moth of movieClip 47 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 362 {
instance moth of movieClip 53 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 365 {
instance moth of movieClip 60 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 368 {
instance moth of movieClip 45 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 371 {
instance moth of movieClip 70 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 374 {
instance moth of movieClip 75 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 377 {
instance moth of movieClip 87 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 380 {
instance moth of movieClip 89 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 383 {
instance moth of movieClip 65 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 386 {
instance moth of movieClip 80 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 389 {
}
movieClip 393 {
}
movieClip 396 {
instance moth of movieClip 95 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 399 {
instance moth of movieClip 24 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 402 {
instance moth of movieClip 18 {
onClipEvent (enterFrame) {
this.button.useHandCursor = 0;
}
}
}
movieClip 403 {
instance y4 of movieClip 344 {
onClipEvent (load) {
this.m3 = 0;
this.m3N = _root.m3N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m3Nt.text == '') {
_root.m3N = _root.Unnamed;
} else {
_root.m3N = this.m3Nt.text;
}
if (_root.m3N == _root.Unnamed) {
this.m3Nt.textColor = 16776960;
} else {
this.m3Nt.textColor = 16777215;
}
this.m3 = _root.m3;
if (_root.m3 > 0) {
this._yscale = 100;
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this.swapDepths(1);
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y11 of movieClip 347 {
onClipEvent (load) {
this.m5 = 0;
this.m5N = _root.m5N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m5Nt.text == '') {
_root.m5N = _root.Unnamed;
} else {
_root.m5N = this.m5Nt.text;
}
if (_root.m5N == _root.Unnamed) {
this.m5Nt.textColor = 16776960;
} else {
this.m5Nt.textColor = 16777215;
}
this.m5 = _root.m5;
if (_root.m5 > 0) {
this._yscale = 100;
this.swapDepths(11);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y12 of movieClip 350 {
onClipEvent (load) {
this.m12 = 0;
this.m12N = _root.m12N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m12Nt.text == '') {
_root.m12N = _root.Unnamed;
} else {
_root.m12N = this.m12Nt.text;
}
if (_root.m12N == _root.Unnamed) {
this.m12Nt.textColor = 16776960;
} else {
this.m12Nt.textColor = 16777215;
}
this.m12 = _root.m12;
if (_root.m12 > 0) {
this._yscale = 100;
this.swapDepths(12);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y13 of movieClip 353 {
onClipEvent (load) {
this.m14 = 0;
this.m14N = _root.m14N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m14Nt.text == '') {
_root.m14N = _root.Unnamed;
} else {
_root.m14N = this.m14Nt.text;
}
if (_root.m14N == _root.Unnamed) {
this.m14Nt.textColor = 16776960;
} else {
this.m14Nt.textColor = 16777215;
}
this.m14 = _root.m14;
if (_root.m14 > 0) {
this._yscale = 100;
this.swapDepths(13);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y14 of movieClip 356 {
onClipEvent (load) {
this.m15 = 0;
this.m15N = _root.m15N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m15Nt.text == '') {
_root.m15N = _root.Unnamed;
} else {
_root.m15N = this.m15Nt.text;
}
if (_root.m15N == _root.Unnamed) {
this.m15Nt.textColor = 16776960;
} else {
this.m15Nt.textColor = 16777215;
}
this.m15 = _root.m15;
if (_root.m15 > 0) {
this._yscale = 100;
this.swapDepths(14);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y15 of movieClip 359 {
onClipEvent (load) {
this.m13 = 0;
this.m13N = _root.m13N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m13Nt.text == '') {
_root.m13N = _root.Unnamed;
} else {
_root.m13N = this.m13Nt.text;
}
if (_root.m13N == _root.Unnamed) {
this.m13Nt.textColor = 16776960;
} else {
this.m13Nt.textColor = 16777215;
}
this.m13 = _root.m13;
if (_root.m13 > 0) {
this._yscale = 100;
this.swapDepths(15);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y5 of movieClip 362 {
onClipEvent (load) {
this.m6 = 0;
this.m6N = _root.m6N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m6Nt.text == '') {
_root.m6N = _root.Unnamed;
} else {
_root.m6N = this.m6Nt.text;
}
if (_root.m6N == _root.Unnamed) {
this.m6Nt.textColor = 16776960;
} else {
this.m6Nt.textColor = 16777215;
}
this.m6 = _root.m6;
if (_root.m6 > 0) {
this._yscale = 100;
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this.swapDepths(5);
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y6 of movieClip 365 {
onClipEvent (load) {
this.m7 = 0;
this.m7N = _root.m7N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m7Nt.text == '') {
_root.m7N = _root.Unnamed;
} else {
_root.m7N = this.m7Nt.text;
}
if (_root.m7N == _root.Unnamed) {
this.m7Nt.textColor = 16776960;
} else {
this.m7Nt.textColor = 16777215;
}
this.m7 = _root.m7;
if (_root.m7 > 0) {
this._yscale = 100;
this.swapDepths(6);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y10 of movieClip 368 {
onClipEvent (load) {
this.m16 = 0;
this.m16N = _root.m16N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m16Nt.text == '') {
_root.m16N = _root.Unnamed;
} else {
_root.m16N = this.m16Nt.text;
}
if (_root.m16N == _root.Unnamed) {
this.m16Nt.textColor = 16776960;
} else {
this.m16Nt.textColor = 16777215;
}
this.m16 = _root.m16;
if (_root.m16 > 0) {
this._yscale = 100;
this.swapDepths(10);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y8 of movieClip 371 {
onClipEvent (load) {
this.m9 = 0;
this.m9N = _root.m9N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m9Nt.text == '') {
_root.m9N = _root.Unnamed;
} else {
_root.m9N = this.m9Nt.text;
}
if (_root.m9N == _root.Unnamed) {
this.m9Nt.textColor = 16776960;
} else {
this.m9Nt.textColor = 16777215;
}
this.m9 = _root.m9;
if (_root.m9 > 0) {
this._yscale = 100;
this.swapDepths(8);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y9 of movieClip 374 {
onClipEvent (load) {
this.m10 = 0;
this.m10N = _root.m10N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m10Nt.text == '') {
_root.m10N = _root.Unnamed;
} else {
_root.m10N = this.m10Nt.text;
}
if (_root.m10N == _root.Unnamed) {
this.m10Nt.textColor = 16776960;
} else {
this.m10Nt.textColor = 16777215;
}
this.m10 = _root.m10;
if (_root.m10 > 0) {
this._yscale = 100;
this.swapDepths(9);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y16 of movieClip 377 {
onClipEvent (load) {
this.m17 = 0;
this.m17N = _root.m17N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m17Nt.text == '') {
_root.m17N = _root.Unnamed;
} else {
_root.m17N = this.m17Nt.text;
}
if (_root.m17N == _root.Unnamed) {
this.m17Nt.textColor = 16776960;
} else {
this.m17Nt.textColor = 16777215;
}
this.m17 = _root.m17;
if (_root.m17 > 0) {
this._yscale = 100;
this.swapDepths(16);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y17 of movieClip 380 {
onClipEvent (load) {
this.m18 = 0;
this.m18N = _root.m18N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m18Nt.text == '') {
_root.m18N = _root.Unnamed;
} else {
_root.m18N = this.m18Nt.text;
}
if (_root.m18N == _root.Unnamed) {
this.m18Nt.textColor = 16776960;
} else {
this.m18Nt.textColor = 16777215;
}
this.m18 = _root.m18;
if (_root.m18 > 0) {
this._yscale = 100;
this.swapDepths(17);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y7 of movieClip 383 {
onClipEvent (load) {
this.m8 = 0;
this.m8N = _root.m8N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m8Nt.text == '') {
_root.m8N = _root.Unnamed;
} else {
_root.m8N = this.m8Nt.text;
}
if (_root.m8N == _root.Unnamed) {
this.m8Nt.textColor = 16776960;
} else {
this.m8Nt.textColor = 16777215;
}
this.m8 = _root.m8;
if (_root.m8 > 0) {
this._yscale = 100;
this.swapDepths(7);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y18 of movieClip 386 {
onClipEvent (load) {
this.m11 = 0;
this.m11N = _root.m11N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m11Nt.text == '') {
_root.m11N = _root.Unnamed;
} else {
_root.m11N = this.m11Nt.text;
}
if (_root.m11N == _root.Unnamed) {
this.m11Nt.textColor = 16776960;
} else {
this.m11Nt.textColor = 16777215;
}
this.m11 = _root.m11;
if (_root.m11 > 0) {
this._yscale = 100;
this.swapDepths(18);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale + this._parent.y17._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y19 of movieClip 389 {
onClipEvent (load) {
this.m19 = 0;
this.m19N = _root.m19N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m19Nt.text == '') {
_root.m19N = _root.Unnamed;
} else {
_root.m19N = this.m19Nt.text;
}
if (_root.m19N == _root.Unnamed) {
this.m19Nt.textColor = 16776960;
} else {
this.m19Nt.textColor = 16777215;
}
this.m19 = _root.m19;
if (_root.m19 > 0) {
this._yscale = 100;
this.swapDepths(19);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale + this._parent.y17._yscale + this._parent.y18._yscale;
} else {
this._yscale = 0;
}
}
}
instance y20 of movieClip 393 {
onClipEvent (load) {
this.m20 = 0;
this.m20N = _root.m20N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m20Nt.text == '') {
_root.m20N = _root.Unnamed;
} else {
_root.m20N = this.m20Nt.text;
}
if (_root.m20N == _root.Unnamed) {
this.m20Nt.textColor = 16776960;
} else {
this.m20Nt.textColor = 16777215;
}
this.m20 = _root.m20;
if (_root.m20 > 0) {
this._yscale = 100;
this.swapDepths(20);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale + this._parent.y17._yscale + this._parent.y18._yscale + this._parent.y19._yscale;
} else {
this._yscale = 0;
}
}
}
instance y3 of movieClip 396 {
onClipEvent (load) {
this.m4 = 0;
this.m4N = _root.m4N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m4Nt.text == '') {
_root.m4N = _root.Unnamed;
} else {
_root.m4N = this.m4Nt.text;
}
if (_root.m4N == _root.Unnamed) {
this.m4Nt.textColor = 16776960;
} else {
this.m4Nt.textColor = 16777215;
}
this.m4 = _root.m4;
if (_root.m4 > 0) {
this.swapDepths(2);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._yscale = 100;
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y2 of movieClip 399 {
onClipEvent (load) {
this.m1 = 0;
this.m1N = _root.m1N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m1Nt.text == '') {
_root.m1N = _root.Unnamed;
} else {
_root.m1N = this.m1Nt.text;
}
if (_root.m1N == _root.Unnamed) {
this.m1Nt.textColor = 16776960;
} else {
this.m1Nt.textColor = 16777215;
}
this.m1 = _root.m1;
if (_root.m1 > 0) {
this.swapDepths(3);
this._yscale = 100;
this._y = this._parent.y1._y + this._parent.y1._yscale;
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y1 of movieClip 402 {
onClipEvent (load) {
this.m2 = 0;
this.m2N = _root.m2N;
yes = 1;
}
onClipEvent (enterFrame) {
if (this.m2Nt.text == '') {
_root.m2N = _root.Unnamed;
} else {
_root.m2N = this.m2Nt.text;
}
if (_root.m2N == _root.Unnamed) {
this.m2Nt.textColor = 16776960;
} else {
this.m2Nt.textColor = 16777215;
}
this.m2 = _root.m2;
if (_root.m2 > 0) {
this._yscale = 100;
this.swapDepths(4);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
}
movieClip 407 {
}
movieClip 409 {
}
movieClip 415 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
button 416 {
on (release) {
tellTarget ('_root.staple.staple') {
gotoAndStop(2);
}
_root.musicpause = 0;
_root.thepause = 0;
_root.m1 = 0;
_root.m2 = 0;
_root.m3 = 0;
_root.m4 = 0;
_root.m5 = 0;
_root.m6 = 0;
_root.m7 = 0;
_root.m8 = 0;
_root.m9 = 0;
_root.m10 = 0;
_root.m11 = 0;
_root.m12 = 0;
_root.m13 = 0;
_root.m14 = 0;
_root.m15 = 0;
_root.m16 = 0;
_root.m17 = 0;
_root.m18 = 0;
_root.m19 = 0;
_root.m20 = 0;
_root.mothlist = 0;
_root.mousefly = 1;
play();
}
}
button 417 {
on (release) {
tellTarget ('_root.mainmenu') {
play();
}
tellTarget ('_root.staple.staple') {
gotoAndStop(2);
}
_root.m1 = 0;
_root.m2 = 0;
_root.m3 = 0;
_root.m4 = 0;
_root.m5 = 0;
_root.m6 = 0;
_root.m7 = 0;
_root.m8 = 0;
_root.m9 = 0;
_root.m10 = 0;
_root.m11 = 0;
_root.m12 = 0;
_root.m13 = 0;
_root.m14 = 0;
_root.m15 = 0;
_root.m16 = 0;
_root.m17 = 0;
_root.m18 = 0;
_root.m19 = 0;
_root.m20 = 0;
_root.mothlist = 0;
play();
}
}
movieClip 418 {
frame 1 {
stop();
}
frame 2 {
_root.musicpause = 1;
_root.thepause = 1;
_root.mousefly = 1;
}
frame 19 {
_root.tm1 += _root.m1;
_root.tm2 += _root.m2;
_root.tm3 += _root.m3;
_root.tm4 += _root.m4;
_root.tm5 += _root.m5;
_root.tm6 += _root.m6;
_root.tm7 += _root.m7;
_root.tm8 += _root.m8;
_root.tm9 += _root.m9;
_root.tm10 += _root.m10;
_root.tm11 += _root.m11;
_root.tm12 += _root.m12;
_root.tm13 += _root.m13;
_root.tm14 += _root.m14;
_root.tm15 += _root.m15;
_root.tm16 += _root.m16;
_root.tm17 += _root.m17;
_root.tm18 += _root.m18;
_root.tm19 += _root.m19;
_root.tm20 += _root.m20;
}
instance list of movieClip 403 {
onClipEvent (load) {
yes = 1;
this._yscale = 60;
this._xscale = 60;
this._visible = 0;
}
}
frame 31 {
this.list._visible = 1;
}
frame 38 {
_root.counter = -1;
_root.vary = 1;
}
instance of movieClip 339 {
onClipEvent (load) {
count = _root.counter + _root.total + 1;
this.counter = 'Moths Collected: ' + count;
this.score = _root.m1 * 10 + _root.m2 * 10 + _root.m3 * 20 + _root.m4 * 30 + _root.m5 * 40 + _root.m6 * 50 + _root.m7 * 60 + _root.m8 * 70 + _root.m9 * 80 + _root.m10 * 10 + _root.m11 * 10 + _root.m12 * 10 + _root.m13 * 20 + _root.m14 * 30 + _root.m15 * 40 + _root.m16 * 50 + _root.m17 * 60 + _root.m18 * 70;
}
}
instance of movieClip 415 {
onClipEvent (enterFrame) {
if (_root.mothlist > 0) {
gotoAndStop('off');
} else {
gotoAndStop('nomoth1');
}
}
}
frame 50 {
stop();
_root.vary = 0;
_root.menuplay = 0;
if (_root.autosave == 1) {
_root.pos = SharedObject.getLocal('fugli_moth2');
if (_root.player == 1) {
_root.pos.data.m1NA = _root.m1N;
_root.pos.data.m2NA = _root.m2N;
_root.pos.data.m3NA = _root.m3N;
_root.pos.data.m4NA = _root.m4N;
_root.pos.data.m5NA = _root.m5N;
_root.pos.data.m6NA = _root.m6N;
_root.pos.data.m7NA = _root.m7N;
_root.pos.data.m8NA = _root.m8N;
_root.pos.data.m9NA = _root.m9N;
_root.pos.data.m10NA = _root.m10N;
_root.pos.data.m11NA = _root.m11N;
_root.pos.data.m12NA = _root.m12N;
_root.pos.data.m13NA = _root.m13N;
_root.pos.data.m14NA = _root.m14N;
_root.pos.data.m15NA = _root.m15N;
_root.pos.data.m16NA = _root.m16N;
_root.pos.data.m17NA = _root.m17N;
_root.pos.data.m18NA = _root.m18N;
_root.pos.data.m19NA = _root.m19N;
_root.pos.data.m20NA = _root.m20N;
_root.pos.data.tm1A = _root.tm1;
_root.pos.data.tm2A = _root.tm2;
_root.pos.data.tm3A = _root.tm3;
_root.pos.data.tm4A = _root.tm4;
_root.pos.data.tm5A = _root.tm5;
_root.pos.data.tm6A = _root.tm6;
_root.pos.data.tm7A = _root.tm7;
_root.pos.data.tm8A = _root.tm8;
_root.pos.data.tm9A = _root.tm9;
_root.pos.data.tm10A = _root.tm10;
_root.pos.data.tm11A = _root.tm11;
_root.pos.data.tm12A = _root.tm12;
_root.pos.data.tm13A = _root.tm13;
_root.pos.data.tm14A = _root.tm14;
_root.pos.data.tm15A = _root.tm15;
_root.pos.data.tm16A = _root.tm16;
_root.pos.data.tm17A = _root.tm17;
_root.pos.data.tm18A = _root.tm18;
_root.pos.data.tm19A = _root.tm19;
_root.pos.data.tm20A = _root.tm20;
_root.pos.data.yrA = _root.ayr;
_root.pos.data.rrA = _root.arr;
_root.pos.data.brA = _root.abr;
_root.pos.data.bmA = _root.abm;
_root.pos.data.smA = _root.asm;
_root.pos.data.gmA = _root.agm;
_root.pos.data.bcA = _root.abc;
_root.pos.data.scA = _root.asc;
_root.pos.data.gcA = _root.agc;
} else {
if (_root.player == '2') {
_root.pos.data.m1NB = _root.m1N;
_root.pos.data.m2NB = _root.m2N;
_root.pos.data.m3NB = _root.m3N;
_root.pos.data.m4NB = _root.m4N;
_root.pos.data.m5NB = _root.m5N;
_root.pos.data.m6NB = _root.m6N;
_root.pos.data.m7NB = _root.m7N;
_root.pos.data.m8NB = _root.m8N;
_root.pos.data.m9NB = _root.m9N;
_root.pos.data.m10NB = _root.m10N;
_root.pos.data.m11NB = _root.m11N;
_root.pos.data.m12NB = _root.m12N;
_root.pos.data.m13NB = _root.m13N;
_root.pos.data.m14NB = _root.m14N;
_root.pos.data.m15NB = _root.m15N;
_root.pos.data.m16NB = _root.m16N;
_root.pos.data.m17NB = _root.m17N;
_root.pos.data.m18NB = _root.m18N;
_root.pos.data.m19NB = _root.m19N;
_root.pos.data.m20NB = _root.m20N;
_root.pos.data.tm1B = _root.tm1;
_root.pos.data.tm2B = _root.tm2;
_root.pos.data.tm3B = _root.tm3;
_root.pos.data.tm4B = _root.tm4;
_root.pos.data.tm5B = _root.tm5;
_root.pos.data.tm6B = _root.tm6;
_root.pos.data.tm7B = _root.tm7;
_root.pos.data.tm8B = _root.tm8;
_root.pos.data.tm9B = _root.tm9;
_root.pos.data.tm10B = _root.tm10;
_root.pos.data.tm11B = _root.tm11;
_root.pos.data.tm12B = _root.tm12;
_root.pos.data.tm13B = _root.tm13;
_root.pos.data.tm14B = _root.tm14;
_root.pos.data.tm15B = _root.tm15;
_root.pos.data.tm16B = _root.tm16;
_root.pos.data.tm17B = _root.tm17;
_root.pos.data.tm18B = _root.tm18;
_root.pos.data.tm19B = _root.tm19;
_root.pos.data.tm20B = _root.tm20;
_root.pos.data.yrB = _root.ayr;
_root.pos.data.rrB = _root.arr;
_root.pos.data.brB = _root.abr;
_root.pos.data.bmB = _root.abm;
_root.pos.data.smB = _root.asm;
_root.pos.data.gmB = _root.agm;
_root.pos.data.bcB = _root.abc;
_root.pos.data.scB = _root.asc;
_root.pos.data.gcB = _root.agc;
} else {
if (_root.player == '3') {
_root.pos.data.playerC = _root.player;
_root.pos.data.m1NC = _root.m1N;
_root.pos.data.m2NC = _root.m2N;
_root.pos.data.m3NC = _root.m3N;
_root.pos.data.m4NC = _root.m4N;
_root.pos.data.m5NC = _root.m5N;
_root.pos.data.m6NC = _root.m6N;
_root.pos.data.m7NC = _root.m7N;
_root.pos.data.m8NC = _root.m8N;
_root.pos.data.m9NC = _root.m9N;
_root.pos.data.m10NC = _root.m10N;
_root.pos.data.m11NC = _root.m11N;
_root.pos.data.m12NC = _root.m12N;
_root.pos.data.m13NC = _root.m13N;
_root.pos.data.m14NC = _root.m14N;
_root.pos.data.m15NC = _root.m15N;
_root.pos.data.m16NC = _root.m16N;
_root.pos.data.m17NC = _root.m17N;
_root.pos.data.m18NC = _root.m18N;
_root.pos.data.m19NC = _root.m19N;
_root.pos.data.m20NC = _root.m20N;
_root.pos.data.tm1C = _root.tm1;
_root.pos.data.tm2C = _root.tm2;
_root.pos.data.tm3C = _root.tm3;
_root.pos.data.tm4C = _root.tm4;
_root.pos.data.tm5C = _root.tm5;
_root.pos.data.tm6C = _root.tm6;
_root.pos.data.tm7C = _root.tm7;
_root.pos.data.tm8C = _root.tm8;
_root.pos.data.tm9C = _root.tm9;
_root.pos.data.tm10C = _root.tm10;
_root.pos.data.tm11C = _root.tm11;
_root.pos.data.tm12C = _root.tm12;
_root.pos.data.tm13C = _root.tm13;
_root.pos.data.tm14C = _root.tm14;
_root.pos.data.tm15C = _root.tm15;
_root.pos.data.tm16C = _root.tm16;
_root.pos.data.tm17C = _root.tm17;
_root.pos.data.tm18C = _root.tm18;
_root.pos.data.tm19C = _root.tm19;
_root.pos.data.tm20C = _root.tm20;
_root.pos.data.yrC = _root.ayr;
_root.pos.data.rrC = _root.arr;
_root.pos.data.brC = _root.abr;
_root.pos.data.bmC = _root.abm;
_root.pos.data.smC = _root.asm;
_root.pos.data.gmC = _root.agm;
_root.pos.data.bcC = _root.abc;
_root.pos.data.scC = _root.asc;
_root.pos.data.gcC = _root.agc;
} else {
if (_root.player == '4') {
_root.pos.data.playerD = _root.player;
_root.pos.data.m1ND = _root.m1N;
_root.pos.data.m2ND = _root.m2N;
_root.pos.data.m3ND = _root.m3N;
_root.pos.data.m4ND = _root.m4N;
_root.pos.data.m5ND = _root.m5N;
_root.pos.data.m6ND = _root.m6N;
_root.pos.data.m7ND = _root.m7N;
_root.pos.data.m8ND = _root.m8N;
_root.pos.data.m9ND = _root.m9N;
_root.pos.data.m10ND = _root.m10N;
_root.pos.data.m11ND = _root.m11N;
_root.pos.data.m12ND = _root.m12N;
_root.pos.data.m13ND = _root.m13N;
_root.pos.data.m14ND = _root.m14N;
_root.pos.data.m15ND = _root.m15N;
_root.pos.data.m16ND = _root.m16N;
_root.pos.data.m17ND = _root.m17N;
_root.pos.data.m18ND = _root.m18N;
_root.pos.data.m19ND = _root.m19N;
_root.pos.data.m20ND = _root.m20N;
_root.pos.data.tm1D = _root.tm1;
_root.pos.data.tm2D = _root.tm2;
_root.pos.data.tm3D = _root.tm3;
_root.pos.data.tm4D = _root.tm4;
_root.pos.data.tm5D = _root.tm5;
_root.pos.data.tm6D = _root.tm6;
_root.pos.data.tm7D = _root.tm7;
_root.pos.data.tm8D = _root.tm8;
_root.pos.data.tm9D = _root.tm9;
_root.pos.data.tm10D = _root.tm10;
_root.pos.data.tm11D = _root.tm11;
_root.pos.data.tm12D = _root.tm12;
_root.pos.data.tm13D = _root.tm13;
_root.pos.data.tm14D = _root.tm14;
_root.pos.data.tm15D = _root.tm15;
_root.pos.data.tm16D = _root.tm16;
_root.pos.data.tm17D = _root.tm17;
_root.pos.data.tm18D = _root.tm18;
_root.pos.data.tm19D = _root.tm19;
_root.pos.data.tm20D = _root.tm20;
_root.pos.data.yrD = _root.ayr;
_root.pos.data.rrD = _root.arr;
_root.pos.data.brD = _root.abr;
_root.pos.data.bmD = _root.abm;
_root.pos.data.smD = _root.asm;
_root.pos.data.gmD = _root.agm;
_root.pos.data.bcD = _root.abc;
_root.pos.data.scD = _root.asc;
_root.pos.data.gcD = _root.agc;
}
}
}
}
}
}
frame 63 {
_root.counter = 0;
_root.scout = 50;
_root.switcher = 1;
}
}
movieClip 443 {
frame 1 {
stop();
}
frame 10 {
stopAllSounds();
var my_rsound = new Sound();
my_rsound.attachSound('win');
my_rsound.start();
}
}
movieClip 447 {
}
button 449 {
on (release) {
play();
}
}
movieClip 450 {
frame 50 {
stop();
}
}
movieClip 451 {
frame 1 {
stop();
}
}
movieClip 453 {
}
movieClip 455 {
}
movieClip 456 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.abc = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('bc');
}
}
frame 3 {
stop();
_root.asc = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('sc');
}
}
frame 4 {
stop();
_root.agc = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('gc');
}
}
frame 5 {
stop();
_root.ayr = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('yr');
}
}
frame 6 {
stop();
_root.arr = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('rr');
}
}
frame 7 {
stop();
_root.abr = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('br');
}
}
frame 8 {
stop();
_root.abm = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('bm');
}
}
frame 9 {
stop();
_root.asm = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('sm');
}
}
frame 10 {
stop();
_root.agm = 1;
tellTarget ('this._parent.atext') {
gotoAndStop('gm');
}
}
frame 11 {
stop();
}
}
movieClip 461 {
}
button 463 {
on (release) {
if (this.award._currentframe == 4) {
gotoAndPlay('win');
} else {
play();
}
}
}
movieClip 466 {
}
movieClip 467 {
}
movieClip 468 {
}
movieClip 471 {
frame 1 {
stop();
}
frame 2 {
_root.musicpause = 1;
_root.thepause = 1;
_root.mousefly = 1;
if (_root.ayr == 2) {
tellTarget ('this.award') {
gotoAndStop('yr');
}
} else {
if (_root.arr == 2) {
tellTarget ('this.award') {
gotoAndStop('rr');
}
} else {
if (_root.abr == 2) {
tellTarget ('this.award') {
gotoAndStop('br');
}
} else {
if (_root.abm == 2) {
tellTarget ('this.award') {
gotoAndStop('bm');
}
} else {
if (_root.asm == 2) {
tellTarget ('this.award') {
gotoAndStop('sm');
}
} else {
if (_root.agm == 2) {
tellTarget ('this.award') {
gotoAndStop('gm');
}
} else {
if (_root.abc == 2) {
tellTarget ('this.award') {
gotoAndStop('bc');
}
} else {
if (_root.asc == 2) {
tellTarget ('this.award') {
gotoAndStop('sc');
}
} else {
if (_root.agc == 2) {
tellTarget ('this.award') {
gotoAndStop('gc');
}
}
}
}
}
}
}
}
}
}
}
frame 23 {
stop();
}
frame 27 {
_root.menuplay = 1;
}
frame 30 {
gotoAndStop(1);
}
frame 31 {
tellTarget ('this.atext') {
gotoAndStop('gc');
}
}
frame 81 {
_root.menuplay = 1;
}
frame 464 {
tellTarget ('_root') {
gotoAndPlay('beg');
}
}
}
instance award of movieClip 471 {
onClipEvent (enterFrame) {
if (_root.counter >= '10' || _root.scout <= 0) {
if (_root.switcher == 1) {
if (_root.m1 + _root.tm1 > 0) {
_root.speciescount += 1;
}
if (_root.m2 + _root.tm2 > 0) {
_root.speciescount += 1;
}
if (_root.m3 + _root.tm3 > 0) {
_root.speciescount += 1;
}
if (_root.m4 + _root.tm4 > 0) {
_root.speciescount += 1;
}
if (_root.m5 + _root.tm5 > 0) {
_root.speciescount += 1;
}
if (_root.m6 + _root.tm6 > 0) {
_root.speciescount += 1;
}
if (_root.m7 + _root.tm7 > 0) {
_root.speciescount += 1;
}
if (_root.m8 + _root.tm8 > 0) {
_root.speciescount += 1;
}
if (_root.m9 + _root.tm9 > 0) {
_root.speciescount += 1;
}
if (_root.m10 + _root.tm10 > 0) {
_root.speciescount += 1;
}
if (_root.m11 + _root.tm11 > 0) {
_root.speciescount += 1;
}
if (_root.m12 + _root.tm12 > 0) {
_root.speciescount += 1;
}
if (_root.m13 + _root.tm13 > 0) {
_root.speciescount += 1;
}
if (_root.m14 + _root.tm14 > 0) {
_root.speciescount += 1;
}
if (_root.m15 + _root.tm15 > 0) {
_root.speciescount += 1;
}
if (_root.m16 + _root.tm16 > 0) {
_root.speciescount += 1;
}
if (_root.m17 + _root.tm17 > 0) {
_root.speciescount += 1;
}
if (_root.m18 + _root.tm18 > 0) {
_root.speciescount += 1;
}
if (_root.m19 + _root.tm19 > 0) {
_root.speciescount += 1;
}
if (_root.m20 + _root.tm20 > 0) {
_root.speciescount += 1;
}
_root.mousefly = 2;
if (_root.ayr == 0 && 10 <= _root.total + _root.counter) {
_root.ayr = 2;
play();
} else {
if (_root.agc == 0 && _root.speciescount >= 20) {
_root.agc = 2;
play();
} else {
if (_root.arr == 0 && 100 <= _root.total + _root.counter) {
_root.arr = 2;
play();
} else {
if (_root.abr == 0 && 1000 <= _root.total + _root.counter) {
_root.abr = 2;
play();
} else {
if (_root.abm == 0 && _root.m19 + _root.tm19 > 0) {
_root.abm = 2;
play();
} else {
if (_root.asm == 0 && _root.m8 + _root.tm8 > 9) {
_root.asm = 2;
play();
} else {
if (_root.agm == 0 && _root.m13 + _root.tm13 > 0) {
_root.agm = 2;
play();
} else {
if (_root.abc == 0 && _root.speciescount >= 10) {
_root.abc = 2;
play();
} else {
if (_root.asc == 0 && _root.speciescount >= 15) {
_root.asc = 2;
play();
} else {
_root.menuplay = 1;
}
}
}
}
}
}
}
}
}
_root.speciescount = 0;
_root.switcher = 0;
}
}
if (_root.menuplay == 1) {
_root.menuplay = 0;
tellTarget ('_root.menu') {
play();
}
}
}
}
button 475 {
on (release) {
tellTarget ('this._parent') {
gotoAndPlay('off');
}
}
}
button 479 {
on (release) {
tellTarget ('this._parent') {
gotoAndPlay('off');
}
}
}
movieClip 480 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 497 {
on (release) {
gotoAndPlay('collect');
}
}
button 498 {
on (release) {
gotoAndPlay('instruct');
}
}
button 499 {
on (release) {
gotoAndPlay('settings');
}
}
button 500 {
on (release) {
gotoAndPlay('credits');
}
}
movieClip 502 {
}
movieClip 504 {
}
button 506 {
on (release) {
play();
if (_root.ipod._currentframe != 1) {
tellTarget ('_root.ipod') {
gotoAndPlay(26);
}
}
}
}
movieClip 508 {
}
movieClip 510 {
}
movieClip 511 {
instance y4 of movieClip 344 {
onClipEvent (load) {
this.m3 = 0;
this.m3N = _root.m3N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m3N = this.m3Nt.text;
this.m3 = _root.tm3;
if (_root.tm3 > 0) {
this._yscale = 100;
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this.swapDepths(1);
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y11 of movieClip 347 {
onClipEvent (load) {
this.m5 = 0;
this.m5N = _root.m5N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m5N = this.m5Nt.text;
this.m5 = _root.tm5;
if (_root.tm5 > 0) {
this._yscale = 100;
this.swapDepths(11);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y12 of movieClip 350 {
onClipEvent (load) {
this.m12 = 0;
this.m12N = _root.m12N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m12N = this.m12Nt.text;
this.m12 = _root.tm12;
if (_root.tm12 > 0) {
this._yscale = 100;
this.swapDepths(12);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y13 of movieClip 353 {
onClipEvent (load) {
this.m14 = 0;
this.m14N = _root.m14N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m14N = this.m14Nt.text;
this.m14 = _root.tm14;
if (_root.tm14 > 0) {
this._yscale = 100;
this.swapDepths(13);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y14 of movieClip 356 {
onClipEvent (load) {
this.m15 = 0;
this.m15N = _root.m15N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m15N = this.m15Nt.text;
this.m15 = _root.tm15;
if (_root.tm15 > 0) {
this._yscale = 100;
this.swapDepths(14);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y15 of movieClip 359 {
onClipEvent (load) {
this.m13 = 0;
this.m13N = _root.m13N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m13N = this.m13Nt.text;
this.m13 = _root.tm13;
if (_root.tm13 > 0) {
this._yscale = 100;
this.swapDepths(15);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y5 of movieClip 362 {
onClipEvent (load) {
this.m6 = 0;
this.m6N = _root.m6N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m6N = this.m6Nt.text;
this.m6 = _root.tm6;
if (_root.tm6 > 0) {
this._yscale = 100;
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this.swapDepths(5);
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y6 of movieClip 365 {
onClipEvent (load) {
this.m7 = 0;
this.m7N = _root.m7N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m7N = this.m7Nt.text;
this.m7 = _root.tm7;
if (_root.tm7 > 0) {
this._yscale = 100;
this.swapDepths(6);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y10 of movieClip 368 {
onClipEvent (load) {
this.m16 = 0;
this.m16N = _root.m16N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m16N = this.m16Nt.text;
this.m16 = _root.tm16;
if (_root.tm16 > 0) {
this._yscale = 100;
this.swapDepths(10);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y8 of movieClip 371 {
onClipEvent (load) {
this.m9 = 0;
this.m9N = _root.m9N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m9N = this.m9Nt.text;
this.m9 = _root.tm9;
if (_root.tm9 > 0) {
this._yscale = 100;
this.swapDepths(8);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y9 of movieClip 374 {
onClipEvent (load) {
this.m10 = 0;
this.m10N = _root.m10N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m10N = this.m10Nt.text;
this.m10 = _root.tm10;
if (_root.tm10 > 0) {
this._yscale = 100;
this.swapDepths(9);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y16 of movieClip 377 {
onClipEvent (load) {
this.m17 = 0;
this.m17N = _root.m17N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m17N = this.m17Nt.text;
this.m17 = _root.tm17;
if (_root.tm17 > 0) {
this._yscale = 100;
this.swapDepths(16);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y17 of movieClip 380 {
onClipEvent (load) {
this.m18 = 0;
this.m18N = _root.m18N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m18N = this.m18Nt.text;
this.m18 = _root.tm18;
if (_root.tm18 > 0) {
this._yscale = 100;
this.swapDepths(17);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y7 of movieClip 383 {
onClipEvent (load) {
this.m8 = 0;
this.m8N = _root.m8N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m8N = this.m8Nt.text;
this.m8 = _root.tm8;
if (_root.tm8 > 0) {
this._yscale = 100;
this.swapDepths(7);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y18 of movieClip 386 {
onClipEvent (load) {
this.m11 = 0;
this.m11N = _root.m11N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m11N = this.m11Nt.text;
this.m11 = _root.tm11;
if (_root.tm11 > 0) {
this._yscale = 100;
this.swapDepths(18);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale + this._parent.y17._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y19 of movieClip 389 {
onClipEvent (load) {
this.m19 = 0;
this.m19N = _root.m19N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m19N = this.m19Nt.text;
this.m19 = _root.tm19;
if (_root.tm19 > 0) {
this._yscale = 100;
this.swapDepths(19);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale + this._parent.y17._yscale + this._parent.y18._yscale;
} else {
this._yscale = 0;
}
}
}
instance y20 of movieClip 393 {
onClipEvent (load) {
this.m20 = 0;
this.m20N = _root.m20N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m20N = this.m20Nt.text;
this.m20 = _root.tm20;
if (_root.tm20 > 0) {
this._yscale = 100;
this.swapDepths(20);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale + this._parent.y3._yscale + this._parent.y4._yscale + this._parent.y5._yscale + this._parent.y6._yscale + this._parent.y7._yscale + this._parent.y8._yscale + this._parent.y9._yscale + this._parent.y10._yscale + this._parent.y11._yscale + this._parent.y12._yscale + this._parent.y13._yscale + this._parent.y14._yscale + this._parent.y15._yscale + this._parent.y16._yscale + this._parent.y17._yscale + this._parent.y18._yscale + this._parent.y19._yscale;
} else {
this._yscale = 0;
}
}
}
instance y3 of movieClip 396 {
onClipEvent (load) {
this.m4 = 0;
this.m4N = _root.m4N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m4N = this.m4Nt.text;
this.m4 = _root.tm4;
if (_root.tm4 > 0) {
this.swapDepths(2);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
this._yscale = 100;
this._y = this._parent.y1._y + this._parent.y1._yscale + this._parent.y2._yscale;
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y2 of movieClip 399 {
onClipEvent (load) {
this.m1 = 0;
this.m1N = _root.m1N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m1N = this.m1Nt.text;
this.m1 = _root.tm1;
if (_root.tm1 > 0) {
this.swapDepths(3);
this._yscale = 100;
this._y = this._parent.y1._y + this._parent.y1._yscale;
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
instance y1 of movieClip 402 {
onClipEvent (load) {
this.m2 = 0;
this.m2N = _root.m2N;
yes = 1;
}
onClipEvent (enterFrame) {
_root.m2N = this.m2Nt.text;
this.m2 = _root.tm2;
if (_root.tm2 > 0) {
this._yscale = 100;
this.swapDepths(4);
if (yes == 1) {
_root.mothlist += 1;
yes = 0;
}
} else {
this._yscale = 0;
}
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
}
}
movieClip 514 {
}
movieClip 515 {
instance of movieClip 511 {
onClipEvent (load) {
yes = 1;
this._yscale = 60;
this._xscale = 60;
}
}
}
button 518 {
on (rollOver) {
_parent.down_but = true;
}
on (releaseOutside, rollOut) {
_parent.down_but = false;
}
}
movieClip 519 {
frame 1 {
down.useHandCursor = 0;
}
}
button 521 {
on (rollOver) {
_parent.drag_but = true;
}
on (releaseOutside, rollOut) {
_parent.drag_but = false;
}
}
movieClip 522 {
frame 1 {
drag.useHandCursor = 0;
}
}
movieClip 523 {
frame 1 {
pageDownButton.useHandCursor = 0;
}
}
movieClip 524 {
frame 1 {
pageDownButton.useHandCursor = 0;
}
}
movieClip 525 {
frame 1 {
pageUpButton.useHandCursor = 0;
}
}
movieClip 526 {
}
movieClip 527 {
instance of movieClip 508 {
onClipEvent (enterFrame) {
if (_root.mothlist < 8) {
this._visible = 0;
} else {
this.visible = 1;
}
}
}
instance of movieClip 415 {
onClipEvent (enterFrame) {
if (_root.mothlist > 0) {
gotoAndStop('off');
} else {
gotoAndStop('nomoth2');
}
}
}
instance scroll of movieClip 526 {
onClipEvent (load) {
buttonSize = 0;
viewHeight = _parent.scroll_bg._height;
viewWidth = _parent.scroll_bg._x;
scrollContent = _parent.for_text;
heightCorect = false;
mouseWheelHitTest = true;
wheelStep = 3;
pageStep = 30;
pageStep2 = 10;
pageDelay = 200;
arroyStep = 10;
arroyStep2 = 0.5;
arroyDelay = 3;
speedDec = 0.65;
scrollStep = 20;
_x = scrollContent._x + viewWidth;
_y = scrollContent._y;
dragButtonIsDraging = false;
scrollPos = 0;
upButton._y = 0;
pageUpButton._x = 0;
pageDownButton._x = 0;
contentHeight = heightCorect ? scrollContent.height : scrollContent._height;
scrollHeight = viewHeight - buttonSize * 2;
dragButtonHeight = viewHeight < contentHeight ? viewHeight * scrollHeight / contentHeight : scrollHeight;
dragButton._yscale = dragButtonHeight;
dragButton._y = buttonSize;
downButton._y = buttonSize + scrollHeight;
blanckDown._y = downButton._y;
blanckUp._x = 0;
blanckUp._y = 0;
blanck._x = 0;
blanck._y = buttonSize;
blanckDown._x = 0;
pageUpButton._y = buttonSize;
blanck._height = scrollHeight;
blanckUp._visible = viewHeight < contentHeight ? false : true;
blanck._visible = viewHeight < contentHeight ? false : true;
blanckDown._visible = viewHeight < contentHeight ? false : true;
upButton._visible = viewHeight < contentHeight ? true : false;
dragButton._visible = viewHeight < contentHeight ? true : false;
downButton._visible = viewHeight < contentHeight ? true : false;
_parent.drag._visible = viewHeight < contentHeight ? true : false;
_parent.down._visible = viewHeight < contentHeight ? true : false;
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
if (!mouseWheelHitTest || scrollContent.hitTest(_root._xmouse, _root._ymouse, false) || hitTest(_root._xmouse, _root._ymouse, false)) {
dragButton._y -= delta * wheelStep;
if (dragButton._y < buttonSize) {
dragButton._y = buttonSize;
}
if (dragButton._y > buttonSize + scrollHeight - dragButtonHeight) {
dragButton._y = buttonSize + scrollHeight - dragButtonHeight;
}
}
};
Mouse.addListener(mouseListener);
curY = -scrollContent._y;
vY = 0;
mask = scrollContent._parent.createEmptyMovieClip('mask', scrollContent._parent.getNextHighestDepth());
with (mask) {
beginFill(255, 50);
lineStyle(0, 16711935, 100);
moveTo(scrollContent._x, scrollContent._y);
lineTo(scrollContent._x + viewWidth, scrollContent._y);
lineTo(scrollContent._x + viewWidth, scrollContent._y + viewHeight);
lineTo(scrollContent._x, scrollContent._y + viewHeight);
endFill();
}
scrollContent.setMask(mask);
}
onClipEvent (enterFrame) {
blanckUp._visible = viewHeight < contentHeight ? false : true;
blanck._visible = viewHeight < contentHeight ? false : true;
blanckDown._visible = viewHeight < contentHeight ? false : true;
upButton._visible = viewHeight < contentHeight ? true : false;
dragButton._visible = viewHeight < contentHeight ? true : false;
downButton._visible = viewHeight < contentHeight ? true : false;
_parent.drag._visible = viewHeight < contentHeight ? true : false;
_parent.down._visible = viewHeight < contentHeight ? true : false;
_parent.scroll_bg._visible = viewHeight < contentHeight ? true : false;
if (incDelay < 0) {
dragButton._y -= inc;
if (dragButton._y < buttonSize) {
dragButton._y = buttonSize;
}
if (dragButton._y > buttonSize + scrollHeight - dragButtonHeight) {
dragButton._y = buttonSize + scrollHeight - dragButtonHeight;
}
}
--incDelay;
contentHeight = heightCorect ? scrollContent.height : scrollContent._height;
scrollHeight = viewHeight - buttonSize * 2;
dragButtonHeight = viewHeight < contentHeight ? viewHeight * scrollHeight / contentHeight : scrollHeight;
dragButton._yscale = dragButtonHeight;
downButton._y = buttonSize + scrollHeight;
pageDownButton._y = dragButton._y + dragButtonHeight;
pageDownButton._yscale = scrollHeight - dragButtonHeight - dragButton._y + buttonSize - scrollPos;
pageUpButton._yscale = dragButton._y - buttonSize;
if (dragButtonIsDraging) {
stopDrag();
startDrag(dragButton, false, 0, buttonSize, 0, buttonSize + scrollHeight - dragButtonHeight + 1);
}
if (dragButton._y > buttonSize + scrollHeight - dragButtonHeight) {
dragButton._y = buttonSize + scrollHeight - dragButtonHeight;
}
newY = ((dragButton._y - buttonSize) / dragButtonHeight) * viewHeight;
vY += (curY - newY) / scrollStep;
vY *= speedDec;
curY -= vY;
scrollContent._y = Math.floor(-curY + _y);
}
onClipEvent (enterFrame) {
if (_parent.down_but == true) {
with (_parent.scroll) {
if (dragButton._y < buttonSize + scrollHeight - dragButtonHeight - 5) {
dragButton._y += 5;
} else {
dragButton._y = buttonSize + scrollHeight - dragButtonHeight;
}
}
}
if (_parent.drag_but == true) {
if (_parent.scroll.dragButton._y > 5) {
_parent.scroll.dragButton._y -= 5;
} else {
_parent.scroll.dragButton._y = 0;
}
}
}
}
}
button 529 {
on (release) {
gotoAndPlay('Awards');
if (_root.ipod._currentframe != 1) {
tellTarget ('_root.ipod') {
gotoAndPlay(26);
}
}
_root.mothlist = 0;
}
}
button 531 {
on (release) {
tellTarget ('this._parent') {
play();
}
}
}
movieClip 533 {
}
movieClip 535 {
}
movieClip 537 {
}
movieClip 540 {
}
movieClip 543 {
frame 1 {
tellTarget ('this.moth') {
gotoAndPlay(1);
}
}
frame 89 {
tellTarget ('this.moth') {
gotoAndStop(1);
}
}
frame 102 {
tellTarget ('this.moth') {
gotoAndStop('die');
}
}
}
button 546 {
on (release) {
play();
}
}
button 550 {
on (release) {
gotoAndStop(1);
}
}
button 553 {
on (release) {
gotoAndStop(2);
}
}
movieClip 554 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
button 557 {
on (rollOver) {
if (_root.player == 2) {
this.useHandCursor = 0;
}
}
on (release) {
gotoAndStop(2);
}
}
button 558 {
on (rollOver) {
if (_root.player == 3) {
this.useHandCursor = 0;
}
}
on (release) {
gotoAndStop(3);
}
}
button 559 {
on (rollOver) {
if (_root.player == 4) {
this.useHandCursor = 0;
}
}
on (release) {
gotoAndStop(4);
}
}
button 560 {
on (rollOver) {
if (_root.player == 1) {
this.useHandCursor = 0;
}
}
on (release) {
gotoAndStop(1);
}
}
movieClip 561 {
frame 1 {
stop();
tellTarget ('this._parent._parent._parent') {
player = 1;
}
}
frame 2 {
stop();
tellTarget ('this._parent._parent._parent') {
player = 2;
}
}
frame 3 {
stop();
tellTarget ('this._parent._parent._parent') {
player = 3;
}
}
frame 4 {
stop();
tellTarget ('this._parent._parent._parent') {
player = 4;
}
}
}
movieClip 567 {
frame 1 {
stop();
}
instance yesbox of movieClip 561 {
onClipEvent (enterFrame) {
if (this._parent._currentframe == 1) {
this._parent.game1t.onSetFocus = function () {
gotoAndStop(1);
};
this._parent.game2t.onSetFocus = function () {
gotoAndStop(2);
};
this._parent.game3t.onSetFocus = function () {
gotoAndStop(3);
};
this._parent.game4t.onSetFocus = function () {
gotoAndStop(4);
};
}
}
}
instance words of movieClip 415 {
onClipEvent (enterFrame) {
if (this._currentframe == 5) {
this.focusEnabled = true;
if (_root.player == 1) {
this._parent.game1 = this.texty.text;
}
if (_root.player == 2) {
this._parent.game2 = this.texty.text;
}
if (_root.player == 3) {
this._parent.game3 = this.texty.text;
}
if (_root.player == 4) {
this._parent.game4 = this.texty.text;
}
}
}
}
}
movieClip 568 {
instance box of movieClip 567 {
onClipEvent (load) {
this.game1 = _root.game1;
this.game2 = _root.game2;
this.game3 = _root.game3;
this.game4 = _root.game4;
tellTarget ('this.yesbox') {
gotoAndStop(_root.player);
}
}
onClipEvent (enterFrame) {
if (_root.player == 1) {
this.game1t.textColor = 16776960;
} else {
this.game1t.textColor = 3355443;
}
if (_root.player == 2) {
this.game2t.textColor = 16776960;
} else {
this.game2t.textColor = 3355443;
}
if (_root.player == 3) {
this.game3t.textColor = 16776960;
} else {
this.game3t.textColor = 3355443;
}
if (_root.player == 4) {
this.game4t.textColor = 16776960;
} else {
this.game4t.textColor = 3355443;
}
}
}
}
button 573 {
on (release) {
gotoAndPlay('load');
}
}
button 582 {
on (release) {
play();
}
}
button 587 {
on (release) {
gotoAndPlay('delete');
}
}
button 594 {
on (release) {
tellTarget ('_root.map') {
play();
}
}
}
movieClip 595 {
frame 1 {
stop();
}
frame 2 {
stop();
tellTarget ('_root.map') {
gotoAndStop(1);
}
}
frame 3 {
stop();
}
}
button 596 {
on (release) {
_root.pos = SharedObject.getLocal('fugli_moth');
this.player = _root.pos.data.player;
_root.m1N = _root.pos.data.m1N;
trace(_root.pos.data.m1N);
_root.m2N = _root.pos.data.m2N;
_root.m3N = _root.pos.data.m3N;
_root.m4N = _root.pos.data.m4N;
_root.m5N = _root.pos.data.m5N;
_root.m6N = _root.pos.data.m6N;
_root.m7N = _root.pos.data.m7N;
_root.m8N = _root.pos.data.m8N;
_root.m9N = _root.pos.data.m9N;
_root.m10N = _root.pos.data.m10N;
_root.m11N = _root.pos.data.m11N;
_root.m12N = _root.pos.data.m12N;
_root.m13N = _root.pos.data.m13N;
_root.m14N = _root.pos.data.m14N;
_root.m15N = _root.pos.data.m15N;
_root.m16N = _root.pos.data.m16N;
_root.m17N = _root.pos.data.m17N;
_root.m18N = _root.pos.data.m18N;
_root.m19N = _root.pos.data.m19N;
_root.m20N = _root.pos.data.m20N;
_root.tm1 = _root.pos.data.tm1;
trace(_root.pos.data.tm1);
_root.tm2 = _root.pos.data.tm2;
_root.tm3 = _root.pos.data.tm3;
_root.tm4 = _root.pos.data.tm4;
_root.tm5 = _root.pos.data.tm5;
_root.tm6 = _root.pos.data.tm6;
_root.tm7 = _root.pos.data.tm7;
_root.tm8 = _root.pos.data.tm8;
_root.tm9 = _root.pos.data.tm9;
_root.tm10 = _root.pos.data.tm10;
_root.tm11 = _root.pos.data.tm11;
_root.tm12 = _root.pos.data.tm12;
_root.tm13 = _root.pos.data.tm13;
_root.tm14 = _root.pos.data.tm14;
_root.tm15 = _root.pos.data.tm15;
_root.tm16 = _root.pos.data.tm16;
_root.tm17 = _root.pos.data.tm17;
_root.tm18 = _root.pos.data.tm18;
_root.tm19 = _root.pos.data.tm19;
_root.tm20 = _root.pos.data.tm20;
}
}
button 597 {
on (release) {
tellTarget ('this.box.box.words') {
gotoAndStop('off');
}
play();
}
}
button 598 {
on (release, keyPress '<Enter>') {
_root.pos = SharedObject.getLocal('fugli_moth2');
if (this.player == 1) {
if (this.box.box.game1t.text == 'Empty') {
tellTarget ('this.box.box.words') {
gotoAndStop('noname');
}
} else {
_root.game1 = this.box.box.game1t.text;
_root.pos.data.gameA = _root.game1;
_root.pos.data.playerA = _root.player;
_root.pos.data.m1NA = _root.m1N;
_root.pos.data.m2NA = _root.m2N;
_root.pos.data.m3NA = _root.m3N;
_root.pos.data.m4NA = _root.m4N;
_root.pos.data.m5NA = _root.m5N;
_root.pos.data.m6NA = _root.m6N;
_root.pos.data.m7NA = _root.m7N;
_root.pos.data.m8NA = _root.m8N;
_root.pos.data.m9NA = _root.m9N;
_root.pos.data.m10NA = _root.m10N;
_root.pos.data.m11NA = _root.m11N;
_root.pos.data.m12NA = _root.m12N;
_root.pos.data.m13NA = _root.m13N;
_root.pos.data.m14NA = _root.m14N;
_root.pos.data.m15NA = _root.m15N;
_root.pos.data.m16NA = _root.m16N;
_root.pos.data.m17NA = _root.m17N;
_root.pos.data.m18NA = _root.m18N;
_root.pos.data.m19NA = _root.m19N;
_root.pos.data.m20NA = _root.m20N;
_root.pos.data.tm1A = _root.tm1;
_root.pos.data.tm2A = _root.tm2;
_root.pos.data.tm3A = _root.tm3;
_root.pos.data.tm4A = _root.tm4;
_root.pos.data.tm5A = _root.tm5;
_root.pos.data.tm6A = _root.tm6;
_root.pos.data.tm7A = _root.tm7;
_root.pos.data.tm8A = _root.tm8;
_root.pos.data.tm9A = _root.tm9;
_root.pos.data.tm10A = _root.tm10;
_root.pos.data.tm11A = _root.tm11;
_root.pos.data.tm12A = _root.tm12;
_root.pos.data.tm13A = _root.tm13;
_root.pos.data.tm14A = _root.tm14;
_root.pos.data.tm15A = _root.tm15;
_root.pos.data.tm16A = _root.tm16;
_root.pos.data.tm17A = _root.tm17;
_root.pos.data.tm18A = _root.tm18;
_root.pos.data.tm19A = _root.tm19;
_root.pos.data.tm20A = _root.tm20;
_root.pos.data.yrA = _root.ayr;
_root.pos.data.rrA = _root.arr;
_root.pos.data.brA = _root.abr;
_root.pos.data.bmA = _root.abm;
_root.pos.data.smA = _root.asm;
_root.pos.data.gmA = _root.agm;
_root.pos.data.bcA = _root.abc;
_root.pos.data.scA = _root.asc;
_root.pos.data.gcA = _root.agc;
tellTarget ('this.box.box.words') {
gotoAndStop('off');
}
play();
}
}
if (this.player == '2') {
if (this.box.box.game2t.text == 'Empty') {
tellTarget ('this.box.box.words') {
gotoAndStop('noname');
}
} else {
_root.game2 = this.box.box.game2t.text;
_root.pos.data.gameB = _root.game2;
_root.pos.data.playerB = _root.player;
_root.pos.data.m1NB = _root.m1N;
_root.pos.data.m2NB = _root.m2N;
_root.pos.data.m3NB = _root.m3N;
_root.pos.data.m4NB = _root.m4N;
_root.pos.data.m5NB = _root.m5N;
_root.pos.data.m6NB = _root.m6N;
_root.pos.data.m7NB = _root.m7N;
_root.pos.data.m8NB = _root.m8N;
_root.pos.data.m9NB = _root.m9N;
_root.pos.data.m10NB = _root.m10N;
_root.pos.data.m11NB = _root.m11N;
_root.pos.data.m12NB = _root.m12N;
_root.pos.data.m13NB = _root.m13N;
_root.pos.data.m14NB = _root.m14N;
_root.pos.data.m15NB = _root.m15N;
_root.pos.data.m16NB = _root.m16N;
_root.pos.data.m17NB = _root.m17N;
_root.pos.data.m18NB = _root.m18N;
_root.pos.data.m19NB = _root.m19N;
_root.pos.data.m20NB = _root.m20N;
_root.pos.data.tm1B = _root.tm1;
_root.pos.data.tm2B = _root.tm2;
_root.pos.data.tm3B = _root.tm3;
_root.pos.data.tm4B = _root.tm4;
_root.pos.data.tm5B = _root.tm5;
_root.pos.data.tm6B = _root.tm6;
_root.pos.data.tm7B = _root.tm7;
_root.pos.data.tm8B = _root.tm8;
_root.pos.data.tm9B = _root.tm9;
_root.pos.data.tm10B = _root.tm10;
_root.pos.data.tm11B = _root.tm11;
_root.pos.data.tm12B = _root.tm12;
_root.pos.data.tm13B = _root.tm13;
_root.pos.data.tm14B = _root.tm14;
_root.pos.data.tm15B = _root.tm15;
_root.pos.data.tm16B = _root.tm16;
_root.pos.data.tm17B = _root.tm17;
_root.pos.data.tm18B = _root.tm18;
_root.pos.data.tm19B = _root.tm19;
_root.pos.data.tm20B = _root.tm20;
_root.pos.data.yrB = _root.ayr;
_root.pos.data.rrB = _root.arr;
_root.pos.data.brB = _root.abr;
_root.pos.data.bmB = _root.abm;
_root.pos.data.smB = _root.asm;
_root.pos.data.gmB = _root.agm;
_root.pos.data.bcB = _root.abc;
_root.pos.data.scB = _root.asc;
_root.pos.data.gcB = _root.agc;
tellTarget ('this.box.box.words') {
gotoAndStop('off');
}
play();
}
} else {
if (this.player == '3') {
if (this.box.box.game3t.text == 'Empty') {
tellTarget ('this.box.box.words') {
gotoAndStop('noname');
}
} else {
_root.game3 = this.box.box.game3t.text;
_root.pos.data.gameC = _root.game3;
_root.pos.data.playerC = _root.player;
_root.pos.data.m1NC = _root.m1N;
_root.pos.data.m2NC = _root.m2N;
_root.pos.data.m3NC = _root.m3N;
_root.pos.data.m4NC = _root.m4N;
_root.pos.data.m5NC = _root.m5N;
_root.pos.data.m6NC = _root.m6N;
_root.pos.data.m7NC = _root.m7N;
_root.pos.data.m8NC = _root.m8N;
_root.pos.data.m9NC = _root.m9N;
_root.pos.data.m10NC = _root.m10N;
_root.pos.data.m11NC = _root.m11N;
_root.pos.data.m12NC = _root.m12N;
_root.pos.data.m13NC = _root.m13N;
_root.pos.data.m14NC = _root.m14N;
_root.pos.data.m15NC = _root.m15N;
_root.pos.data.m16NC = _root.m16N;
_root.pos.data.m17NC = _root.m17N;
_root.pos.data.m18NC = _root.m18N;
_root.pos.data.m19NC = _root.m19N;
_root.pos.data.m20NC = _root.m20N;
_root.pos.data.tm1C = _root.tm1;
_root.pos.data.tm2C = _root.tm2;
_root.pos.data.tm3C = _root.tm3;
_root.pos.data.tm4C = _root.tm4;
_root.pos.data.tm5C = _root.tm5;
_root.pos.data.tm6C = _root.tm6;
_root.pos.data.tm7C = _root.tm7;
_root.pos.data.tm8C = _root.tm8;
_root.pos.data.tm9C = _root.tm9;
_root.pos.data.tm10C = _root.tm10;
_root.pos.data.tm11C = _root.tm11;
_root.pos.data.tm12C = _root.tm12;
_root.pos.data.tm13C = _root.tm13;
_root.pos.data.tm14C = _root.tm14;
_root.pos.data.tm15C = _root.tm15;
_root.pos.data.tm16C = _root.tm16;
_root.pos.data.tm17C = _root.tm17;
_root.pos.data.tm18C = _root.tm18;
_root.pos.data.tm19C = _root.tm19;
_root.pos.data.tm20C = _root.tm20;
_root.pos.data.yrC = _root.ayr;
_root.pos.data.rrC = _root.arr;
_root.pos.data.brC = _root.abr;
_root.pos.data.bmC = _root.abm;
_root.pos.data.smC = _root.asm;
_root.pos.data.gmC = _root.agm;
_root.pos.data.bcC = _root.abc;
_root.pos.data.scC = _root.asc;
_root.pos.data.gcC = _root.agc;
tellTarget ('this.box.box.words') {
gotoAndStop('off');
}
play();
}
} else {
if (this.player == '4') {
if (this.box.box.game4t.text == 'Empty') {
tellTarget ('this.box.box.words') {
gotoAndStop('noname');
}
} else {
_root.game4 = this.box.box.game4t.text;
_root.pos.data.gameD = _root.game4;
_root.pos.data.playerD = _root.player;
_root.pos.data.m1ND = _root.m1N;
_root.pos.data.m2ND = _root.m2N;
_root.pos.data.m3ND = _root.m3N;
_root.pos.data.m4ND = _root.m4N;
_root.pos.data.m5ND = _root.m5N;
_root.pos.data.m6ND = _root.m6N;
_root.pos.data.m7ND = _root.m7N;
_root.pos.data.m8ND = _root.m8N;
_root.pos.data.m9ND = _root.m9N;
_root.pos.data.m10ND = _root.m10N;
_root.pos.data.m11ND = _root.m11N;
_root.pos.data.m12ND = _root.m12N;
_root.pos.data.m13ND = _root.m13N;
_root.pos.data.m14ND = _root.m14N;
_root.pos.data.m15ND = _root.m15N;
_root.pos.data.m16ND = _root.m16N;
_root.pos.data.m17ND = _root.m17N;
_root.pos.data.m18ND = _root.m18N;
_root.pos.data.m19ND = _root.m19N;
_root.pos.data.m20ND = _root.m20N;
_root.pos.data.tm1D = _root.tm1;
_root.pos.data.tm2D = _root.tm2;
_root.pos.data.tm3D = _root.tm3;
_root.pos.data.tm4D = _root.tm4;
_root.pos.data.tm5D = _root.tm5;
_root.pos.data.tm6D = _root.tm6;
_root.pos.data.tm7D = _root.tm7;
_root.pos.data.tm8D = _root.tm8;
_root.pos.data.tm9D = _root.tm9;
_root.pos.data.tm10D = _root.tm10;
_root.pos.data.tm11D = _root.tm11;
_root.pos.data.tm12D = _root.tm12;
_root.pos.data.tm13D = _root.tm13;
_root.pos.data.tm14D = _root.tm14;
_root.pos.data.tm15D = _root.tm15;
_root.pos.data.tm16D = _root.tm16;
_root.pos.data.tm17D = _root.tm17;
_root.pos.data.tm18D = _root.tm18;
_root.pos.data.tm19D = _root.tm19;
_root.pos.data.tm20D = _root.tm20;
_root.pos.data.yrD = _root.ayr;
_root.pos.data.rrD = _root.arr;
_root.pos.data.brD = _root.abr;
_root.pos.data.bmD = _root.abm;
_root.pos.data.smD = _root.asm;
_root.pos.data.gmD = _root.agm;
_root.pos.data.bcD = _root.abc;
_root.pos.data.scD = _root.asc;
_root.pos.data.gcD = _root.agc;
tellTarget ('this.box.box.words') {
gotoAndStop('off');
}
play();
}
}
}
}
}
}
button 600 {
on (release) {
_root.pos = SharedObject.getLocal('fugli_moth');
_root.pos.data.player = _root.player;
_root.pos.data.m1N = _root.m1N;
_root.pos.data.m2N = _root.m2N;
_root.pos.data.m3N = _root.m3N;
_root.pos.data.m4N = _root.m4N;
_root.pos.data.m5N = _root.m5N;
_root.pos.data.m6N = _root.m6N;
_root.pos.data.m7N = _root.m7N;
_root.pos.data.m8N = _root.m8N;
_root.pos.data.m9N = _root.m9N;
_root.pos.data.m10N = _root.m10N;
_root.pos.data.m11N = _root.m11N;
_root.pos.data.m12N = _root.m12N;
_root.pos.data.m13N = _root.m13N;
_root.pos.data.m14N = _root.m14N;
_root.pos.data.m15N = _root.m15N;
_root.pos.data.m16N = _root.m16N;
_root.pos.data.m17N = _root.m17N;
_root.pos.data.m18N = _root.m18N;
_root.pos.data.m19N = _root.m19N;
_root.pos.data.m20N = _root.m20N;
_root.pos.data.tm1 = _root.tm1;
_root.pos.data.tm2 = _root.tm2;
_root.pos.data.tm3 = _root.tm3;
_root.pos.data.tm4 = _root.tm4;
_root.pos.data.tm5 = _root.tm5;
_root.pos.data.tm6 = _root.tm6;
_root.pos.data.tm7 = _root.tm7;
_root.pos.data.tm8 = _root.tm8;
_root.pos.data.tm9 = _root.tm9;
_root.pos.data.tm10 = _root.tm10;
_root.pos.data.tm11 = _root.tm11;
_root.pos.data.tm12 = _root.tm12;
_root.pos.data.tm13 = _root.tm13;
_root.pos.data.tm14 = _root.tm14;
_root.pos.data.tm15 = _root.tm15;
_root.pos.data.tm16 = _root.tm16;
_root.pos.data.tm17 = _root.tm17;
_root.pos.data.tm18 = _root.tm18;
_root.pos.data.tm19 = _root.tm19;
_root.pos.data.tm20 = _root.tm20;
}
}
movieClip 605 {
instance yesbox of movieClip 561 {
onClipEvent (load) {
gotoAndStop(_root.player);
}
onClipEvent (enterFrame) {
if (this._parent._currentframe == 1) {
this._parent.game1t.onSetFocus = function () {
gotoAndStop(1);
};
this._parent.game2t.onSetFocus = function () {
gotoAndStop(2);
};
this._parent.game3t.onSetFocus = function () {
gotoAndStop(3);
};
this._parent.game4t.onSetFocus = function () {
gotoAndStop(4);
};
}
}
}
}
movieClip 606 {
instance xbox of movieClip 605 {
onClipEvent (load) {
this.game1 = _root.game1;
this.game2 = _root.game2;
this.game3 = _root.game3;
this.game4 = _root.game4;
tellTarget ('this.yesbox') {
gotoAndStop(_root.player);
}
}
onClipEvent (enterFrame) {
_root.game1 = this.game1t.text;
_root.game2 = this.game2t.text;
_root.game3 = this.game3t.text;
_root.game4 = this.game4t.text;
if (_root.player == 1) {
this.game1t.textColor = 16776960;
} else {
this.game1t.textColor = 3355443;
}
if (_root.player == 2) {
this.game2t.textColor = 16776960;
} else {
this.game2t.textColor = 3355443;
}
if (_root.player == 3) {
this.game3t.textColor = 16776960;
} else {
this.game3t.textColor = 3355443;
}
if (_root.player == 4) {
this.game4t.textColor = 16776960;
} else {
this.game4t.textColor = 3355443;
}
}
}
}
button 607 {
on (release) {
_root.pos = SharedObject.getLocal('fugli_moth2');
if (_root.player == 1) {
this.player = _root.pos.data.playerA;
_root.m1N = _root.pos.data.m1NA;
_root.m2N = _root.pos.data.m2NA;
_root.m3N = _root.pos.data.m3NA;
_root.m4N = _root.pos.data.m4NA;
_root.m5N = _root.pos.data.m5NA;
_root.m6N = _root.pos.data.m6NA;
_root.m7N = _root.pos.data.m7NA;
_root.m8N = _root.pos.data.m8NA;
_root.m9N = _root.pos.data.m9NA;
_root.m10N = _root.pos.data.m10NA;
_root.m11N = _root.pos.data.m11NA;
_root.m12N = _root.pos.data.m12NA;
_root.m13N = _root.pos.data.m13NA;
_root.m14N = _root.pos.data.m14NA;
_root.m15N = _root.pos.data.m15NA;
_root.m16N = _root.pos.data.m16NA;
_root.m17N = _root.pos.data.m17NA;
_root.m18N = _root.pos.data.m18NA;
_root.m19N = _root.pos.data.m19NA;
_root.m20N = _root.pos.data.m20NA;
_root.tm1 = _root.pos.data.tm1A;
_root.tm2 = _root.pos.data.tm2A;
_root.tm3 = _root.pos.data.tm3A;
_root.tm4 = _root.pos.data.tm4A;
_root.tm5 = _root.pos.data.tm5A;
_root.tm6 = _root.pos.data.tm6A;
_root.tm7 = _root.pos.data.tm7A;
_root.tm8 = _root.pos.data.tm8A;
_root.tm9 = _root.pos.data.tm9A;
_root.tm10 = _root.pos.data.tm10A;
_root.tm11 = _root.pos.data.tm11A;
_root.tm12 = _root.pos.data.tm12A;
_root.tm13 = _root.pos.data.tm13A;
_root.tm14 = _root.pos.data.tm14A;
_root.tm15 = _root.pos.data.tm15A;
_root.tm16 = _root.pos.data.tm16A;
_root.tm17 = _root.pos.data.tm17A;
_root.tm18 = _root.pos.data.tm18A;
_root.tm19 = _root.pos.data.tm19A;
_root.tm20 = _root.pos.data.tm20A;
_root.ayr = _root.pos.data.yrA;
_root.arr = _root.pos.data.rrA;
_root.abr = _root.pos.data.brA;
_root.abm = _root.pos.data.bmA;
_root.asm = _root.pos.data.smA;
_root.agm = _root.pos.data.gmA;
_root.abc = _root.pos.data.bcA;
_root.asc = _root.pos.data.scA;
_root.agc = _root.pos.data.gcA;
if (_root.ayr == undefined) {
_root.ayr = 0;
_root.arr = 0;
_root.abr = 0;
_root.abm = 0;
_root.asm = 0;
_root.agm = 0;
_root.abc = 0;
_root.asc = 0;
_root.agc = 0;
}
} else {
if (_root.player == 2) {
this.player = _root.pos.data.playerB;
_root.m1N = _root.pos.data.m1NB;
_root.m2N = _root.pos.data.m2NB;
_root.m3N = _root.pos.data.m3NB;
_root.m4N = _root.pos.data.m4NB;
_root.m5N = _root.pos.data.m5NB;
_root.m6N = _root.pos.data.m6NB;
_root.m7N = _root.pos.data.m7NB;
_root.m8N = _root.pos.data.m8NB;
_root.m9N = _root.pos.data.m9NB;
_root.m10N = _root.pos.data.m10NB;
_root.m11N = _root.pos.data.m11NB;
_root.m12N = _root.pos.data.m12NB;
_root.m13N = _root.pos.data.m13NB;
_root.m14N = _root.pos.data.m14NB;
_root.m15N = _root.pos.data.m15NB;
_root.m16N = _root.pos.data.m16NB;
_root.m17N = _root.pos.data.m17NB;
_root.m18N = _root.pos.data.m18NB;
_root.m19N = _root.pos.data.m19NB;
_root.m20N = _root.pos.data.m20NB;
_root.tm1 = _root.pos.data.tm1B;
_root.tm2 = _root.pos.data.tm2B;
_root.tm3 = _root.pos.data.tm3B;
_root.tm4 = _root.pos.data.tm4B;
_root.tm5 = _root.pos.data.tm5B;
_root.tm6 = _root.pos.data.tm6B;
_root.tm7 = _root.pos.data.tm7B;
_root.tm8 = _root.pos.data.tm8B;
_root.tm9 = _root.pos.data.tm9B;
_root.tm10 = _root.pos.data.tm10B;
_root.tm11 = _root.pos.data.tm11B;
_root.tm12 = _root.pos.data.tm12B;
_root.tm13 = _root.pos.data.tm13B;
_root.tm14 = _root.pos.data.tm14B;
_root.tm15 = _root.pos.data.tm15B;
_root.tm16 = _root.pos.data.tm16B;
_root.tm17 = _root.pos.data.tm17B;
_root.tm18 = _root.pos.data.tm18B;
_root.tm19 = _root.pos.data.tm19B;
_root.tm20 = _root.pos.data.tm20B;
_root.ayr = _root.pos.data.yrB;
_root.arr = _root.pos.data.rrB;
_root.abr = _root.pos.data.brB;
_root.abm = _root.pos.data.bmB;
_root.asm = _root.pos.data.smB;
_root.agm = _root.pos.data.gmB;
_root.abc = _root.pos.data.bcB;
_root.asc = _root.pos.data.scB;
_root.agc = _root.pos.data.gcB;
if (_root.ayr == undefined) {
_root.ayr = 0;
_root.arr = 0;
_root.abr = 0;
_root.abm = 0;
_root.asm = 0;
_root.agm = 0;
_root.abc = 0;
_root.asc = 0;
_root.agc = 0;
}
} else {
if (_root.player == 3) {
this.player = _root.pos.data.playerC;
_root.m1N = _root.pos.data.m1NC;
_root.m2N = _root.pos.data.m2NC;
_root.m3N = _root.pos.data.m3NC;
_root.m4N = _root.pos.data.m4NC;
_root.m5N = _root.pos.data.m5NC;
_root.m6N = _root.pos.data.m6NC;
_root.m7N = _root.pos.data.m7NC;
_root.m8N = _root.pos.data.m8NC;
_root.m9N = _root.pos.data.m9NC;
_root.m10N = _root.pos.data.m10NC;
_root.m11N = _root.pos.data.m11NC;
_root.m12N = _root.pos.data.m12NC;
_root.m13N = _root.pos.data.m13NC;
_root.m14N = _root.pos.data.m14NC;
_root.m15N = _root.pos.data.m15NC;
_root.m16N = _root.pos.data.m16NC;
_root.m17N = _root.pos.data.m17NC;
_root.m18N = _root.pos.data.m18NC;
_root.m19N = _root.pos.data.m19NC;
_root.m20N = _root.pos.data.m20NC;
_root.tm1 = _root.pos.data.tm1C;
_root.tm2 = _root.pos.data.tm2C;
_root.tm3 = _root.pos.data.tm3C;
_root.tm4 = _root.pos.data.tm4C;
_root.tm5 = _root.pos.data.tm5C;
_root.tm6 = _root.pos.data.tm6C;
_root.tm7 = _root.pos.data.tm7C;
_root.tm8 = _root.pos.data.tm8C;
_root.tm9 = _root.pos.data.tm9C;
_root.tm10 = _root.pos.data.tm10C;
_root.tm11 = _root.pos.data.tm11C;
_root.tm12 = _root.pos.data.tm12C;
_root.tm13 = _root.pos.data.tm13C;
_root.tm14 = _root.pos.data.tm14C;
_root.tm15 = _root.pos.data.tm15C;
_root.tm16 = _root.pos.data.tm16C;
_root.tm17 = _root.pos.data.tm17C;
_root.tm18 = _root.pos.data.tm18C;
_root.tm19 = _root.pos.data.tm19C;
_root.tm20 = _root.pos.data.tm20C;
_root.ayr = _root.pos.data.yrC;
_root.arr = _root.pos.data.rrC;
_root.abr = _root.pos.data.brC;
_root.abm = _root.pos.data.bmC;
_root.asm = _root.pos.data.smC;
_root.agm = _root.pos.data.gmC;
_root.abc = _root.pos.data.bcC;
_root.asc = _root.pos.data.scC;
_root.agc = _root.pos.data.gcC;
if (_root.ayr == undefined) {
_root.ayr = 0;
_root.arr = 0;
_root.abr = 0;
_root.abm = 0;
_root.asm = 0;
_root.agm = 0;
_root.abc = 0;
_root.asc = 0;
_root.agc = 0;
}
} else {
if (_root.player == 4) {
this.player = _root.pos.data.playerD;
_root.m1N = _root.pos.data.m1ND;
_root.m2N = _root.pos.data.m2ND;
_root.m3N = _root.pos.data.m3ND;
_root.m4N = _root.pos.data.m4ND;
_root.m5N = _root.pos.data.m5ND;
_root.m6N = _root.pos.data.m6ND;
_root.m7N = _root.pos.data.m7ND;
_root.m8N = _root.pos.data.m8ND;
_root.m9N = _root.pos.data.m9ND;
_root.m10N = _root.pos.data.m10ND;
_root.m11N = _root.pos.data.m11ND;
_root.m12N = _root.pos.data.m12ND;
_root.m13N = _root.pos.data.m13ND;
_root.m14N = _root.pos.data.m14ND;
_root.m15N = _root.pos.data.m15ND;
_root.m16N = _root.pos.data.m16ND;
_root.m17N = _root.pos.data.m17ND;
_root.m18N = _root.pos.data.m18ND;
_root.m19N = _root.pos.data.m19ND;
_root.m20N = _root.pos.data.m20ND;
_root.tm1 = _root.pos.data.tm1D;
_root.tm2 = _root.pos.data.tm2D;
_root.tm3 = _root.pos.data.tm3D;
_root.tm4 = _root.pos.data.tm4D;
_root.tm5 = _root.pos.data.tm5D;
_root.tm6 = _root.pos.data.tm6D;
_root.tm7 = _root.pos.data.tm7D;
_root.tm8 = _root.pos.data.tm8D;
_root.tm9 = _root.pos.data.tm9D;
_root.tm10 = _root.pos.data.tm10D;
_root.tm11 = _root.pos.data.tm11D;
_root.tm12 = _root.pos.data.tm12D;
_root.tm13 = _root.pos.data.tm13D;
_root.tm14 = _root.pos.data.tm14D;
_root.tm15 = _root.pos.data.tm15D;
_root.tm16 = _root.pos.data.tm16D;
_root.tm17 = _root.pos.data.tm17D;
_root.tm18 = _root.pos.data.tm18D;
_root.tm19 = _root.pos.data.tm19D;
_root.tm20 = _root.pos.data.tm20D;
_root.ayr = _root.pos.data.yrD;
_root.arr = _root.pos.data.rrD;
_root.abr = _root.pos.data.brD;
_root.abm = _root.pos.data.bmD;
_root.asm = _root.pos.data.smD;
_root.agm = _root.pos.data.gmD;
_root.abc = _root.pos.data.bcD;
_root.asc = _root.pos.data.scD;
_root.agc = _root.pos.data.gcD;
if (_root.ayr == undefined) {
_root.ayr = 0;
_root.arr = 0;
_root.abr = 0;
_root.abm = 0;
_root.asm = 0;
_root.agm = 0;
_root.abc = 0;
_root.asc = 0;
_root.agc = 0;
}
}
}
}
}
play();
}
}
button 608 {
on (release) {
play();
}
}
button 609 {
on (release) {
tellTarget ('_root') {
resetVariables();
}
_root.pos = SharedObject.getLocal('fugli_moth2');
empty = 'Empty';
if (this.player == 1) {
this.ybox.xbox.game1t.text = empty;
this.game1 = empty;
_root.pos.data.gameA = this.game1;
_root.pos.data.playerA = _root.player;
_root.pos.data.m1NA = _root.m1N;
_root.pos.data.m2NA = _root.m2N;
_root.pos.data.m3NA = _root.m3N;
_root.pos.data.m4NA = _root.m4N;
_root.pos.data.m5NA = _root.m5N;
_root.pos.data.m6NA = _root.m6N;
_root.pos.data.m7NA = _root.m7N;
_root.pos.data.m8NA = _root.m8N;
_root.pos.data.m9NA = _root.m9N;
_root.pos.data.m10NA = _root.m10N;
_root.pos.data.m11NA = _root.m11N;
_root.pos.data.m12NA = _root.m12N;
_root.pos.data.m13NA = _root.m13N;
_root.pos.data.m14NA = _root.m14N;
_root.pos.data.m15NA = _root.m15N;
_root.pos.data.m16NA = _root.m16N;
_root.pos.data.m17NA = _root.m17N;
_root.pos.data.m18NA = _root.m18N;
_root.pos.data.m19NA = _root.m19N;
_root.pos.data.m20NA = _root.m20N;
_root.pos.data.tm1A = _root.tm1;
_root.pos.data.tm2A = _root.tm2;
_root.pos.data.tm3A = _root.tm3;
_root.pos.data.tm4A = _root.tm4;
_root.pos.data.tm5A = _root.tm5;
_root.pos.data.tm6A = _root.tm6;
_root.pos.data.tm7A = _root.tm7;
_root.pos.data.tm8A = _root.tm8;
_root.pos.data.tm9A = _root.tm9;
_root.pos.data.tm10A = _root.tm10;
_root.pos.data.tm11A = _root.tm11;
_root.pos.data.tm12A = _root.tm12;
_root.pos.data.tm13A = _root.tm13;
_root.pos.data.tm14A = _root.tm14;
_root.pos.data.tm15A = _root.tm15;
_root.pos.data.tm16A = _root.tm16;
_root.pos.data.tm17A = _root.tm17;
_root.pos.data.tm18A = _root.tm18;
_root.pos.data.tm19A = _root.tm19;
_root.pos.data.tm20A = _root.tm20;
_root.pos.data.yrA = _root.ayr;
_root.pos.data.rrA = _root.arr;
_root.pos.data.brA = _root.abr;
_root.pos.data.bmA = _root.abm;
_root.pos.data.smA = _root.asm;
_root.pos.data.gmA = _root.agm;
_root.pos.data.bcA = _root.abc;
_root.pos.data.scA = _root.asc;
_root.pos.data.gcA = _root.agc;
}
if (this.player == '2') {
this.ybox.xbox.game2t.text = empty;
this.game2 = empty;
_root.pos.data.gameB = this.game2;
_root.pos.data.playerB = _root.player;
_root.pos.data.m1NB = _root.m1N;
_root.pos.data.m2NB = _root.m2N;
_root.pos.data.m3NB = _root.m3N;
_root.pos.data.m4NB = _root.m4N;
_root.pos.data.m5NB = _root.m5N;
_root.pos.data.m6NB = _root.m6N;
_root.pos.data.m7NB = _root.m7N;
_root.pos.data.m8NB = _root.m8N;
_root.pos.data.m9NB = _root.m9N;
_root.pos.data.m10NB = _root.m10N;
_root.pos.data.m11NB = _root.m11N;
_root.pos.data.m12NB = _root.m12N;
_root.pos.data.m13NB = _root.m13N;
_root.pos.data.m14NB = _root.m14N;
_root.pos.data.m15NB = _root.m15N;
_root.pos.data.m16NB = _root.m16N;
_root.pos.data.m17NB = _root.m17N;
_root.pos.data.m18NB = _root.m18N;
_root.pos.data.m19NB = _root.m19N;
_root.pos.data.m20NB = _root.m20N;
_root.pos.data.tm1B = _root.tm1;
_root.pos.data.tm2B = _root.tm2;
_root.pos.data.tm3B = _root.tm3;
_root.pos.data.tm4B = _root.tm4;
_root.pos.data.tm5B = _root.tm5;
_root.pos.data.tm6B = _root.tm6;
_root.pos.data.tm7B = _root.tm7;
_root.pos.data.tm8B = _root.tm8;
_root.pos.data.tm9B = _root.tm9;
_root.pos.data.tm10B = _root.tm10;
_root.pos.data.tm11B = _root.tm11;
_root.pos.data.tm12B = _root.tm12;
_root.pos.data.tm13B = _root.tm13;
_root.pos.data.tm14B = _root.tm14;
_root.pos.data.tm15B = _root.tm15;
_root.pos.data.tm16B = _root.tm16;
_root.pos.data.tm17B = _root.tm17;
_root.pos.data.tm18B = _root.tm18;
_root.pos.data.tm19B = _root.tm19;
_root.pos.data.tm20B = _root.tm20;
_root.pos.data.yrB = _root.ayr;
_root.pos.data.rrB = _root.arr;
_root.pos.data.brB = _root.abr;
_root.pos.data.bmB = _root.abm;
_root.pos.data.smB = _root.asm;
_root.pos.data.gmB = _root.agm;
_root.pos.data.bcB = _root.abc;
_root.pos.data.scB = _root.asc;
_root.pos.data.gcB = _root.agc;
} else {
if (this.player == '3') {
this.ybox.xbox.game3t.text = empty;
this.game3 = empty;
_root.pos.data.gameC = this.game3;
_root.pos.data.playerC = _root.player;
_root.pos.data.m1NC = _root.m1N;
_root.pos.data.m2NC = _root.m2N;
_root.pos.data.m3NC = _root.m3N;
_root.pos.data.m4NC = _root.m4N;
_root.pos.data.m5NC = _root.m5N;
_root.pos.data.m6NC = _root.m6N;
_root.pos.data.m7NC = _root.m7N;
_root.pos.data.m8NC = _root.m8N;
_root.pos.data.m9NC = _root.m9N;
_root.pos.data.m10NC = _root.m10N;
_root.pos.data.m11NC = _root.m11N;
_root.pos.data.m12NC = _root.m12N;
_root.pos.data.m13NC = _root.m13N;
_root.pos.data.m14NC = _root.m14N;
_root.pos.data.m15NC = _root.m15N;
_root.pos.data.m16NC = _root.m16N;
_root.pos.data.m17NC = _root.m17N;
_root.pos.data.m18NC = _root.m18N;
_root.pos.data.m19NC = _root.m19N;
_root.pos.data.m20NC = _root.m20N;
_root.pos.data.tm1C = _root.tm1;
_root.pos.data.tm2C = _root.tm2;
_root.pos.data.tm3C = _root.tm3;
_root.pos.data.tm4C = _root.tm4;
_root.pos.data.tm5C = _root.tm5;
_root.pos.data.tm6C = _root.tm6;
_root.pos.data.tm7C = _root.tm7;
_root.pos.data.tm8C = _root.tm8;
_root.pos.data.tm9C = _root.tm9;
_root.pos.data.tm10C = _root.tm10;
_root.pos.data.tm11C = _root.tm11;
_root.pos.data.tm12C = _root.tm12;
_root.pos.data.tm13C = _root.tm13;
_root.pos.data.tm14C = _root.tm14;
_root.pos.data.tm15C = _root.tm15;
_root.pos.data.tm16C = _root.tm16;
_root.pos.data.tm17C = _root.tm17;
_root.pos.data.tm18C = _root.tm18;
_root.pos.data.tm19C = _root.tm19;
_root.pos.data.tm20C = _root.tm20;
_root.pos.data.yrC = _root.ayr;
_root.pos.data.rrC = _root.arr;
_root.pos.data.brC = _root.abr;
_root.pos.data.bmC = _root.abm;
_root.pos.data.smC = _root.asm;
_root.pos.data.gmC = _root.agm;
_root.pos.data.bcC = _root.abc;
_root.pos.data.scC = _root.asc;
_root.pos.data.gcC = _root.agc;
} else {
if (this.player == '4') {
this.ybox.xbox.game4t.text = empty;
this.game4 = empty;
_root.pos.data.gameD = this.game4;
_root.pos.data.playerD = _root.player;
_root.pos.data.m1ND = _root.m1N;
_root.pos.data.m2ND = _root.m2N;
_root.pos.data.m3ND = _root.m3N;
_root.pos.data.m4ND = _root.m4N;
_root.pos.data.m5ND = _root.m5N;
_root.pos.data.m6ND = _root.m6N;
_root.pos.data.m7ND = _root.m7N;
_root.pos.data.m8ND = _root.m8N;
_root.pos.data.m9ND = _root.m9N;
_root.pos.data.m10ND = _root.m10N;
_root.pos.data.m11ND = _root.m11N;
_root.pos.data.m12ND = _root.m12N;
_root.pos.data.m13ND = _root.m13N;
_root.pos.data.m14ND = _root.m14N;
_root.pos.data.m15ND = _root.m15N;
_root.pos.data.m16ND = _root.m16N;
_root.pos.data.m17ND = _root.m17N;
_root.pos.data.m18ND = _root.m18N;
_root.pos.data.m19ND = _root.m19N;
_root.pos.data.m20ND = _root.m20N;
_root.pos.data.tm1D = _root.tm1;
_root.pos.data.tm2D = _root.tm2;
_root.pos.data.tm3D = _root.tm3;
_root.pos.data.tm4D = _root.tm4;
_root.pos.data.tm5D = _root.tm5;
_root.pos.data.tm6D = _root.tm6;
_root.pos.data.tm7D = _root.tm7;
_root.pos.data.tm8D = _root.tm8;
_root.pos.data.tm9D = _root.tm9;
_root.pos.data.tm10D = _root.tm10;
_root.pos.data.tm11D = _root.tm11;
_root.pos.data.tm12D = _root.tm12;
_root.pos.data.tm13D = _root.tm13;
_root.pos.data.tm14D = _root.tm14;
_root.pos.data.tm15D = _root.tm15;
_root.pos.data.tm16D = _root.tm16;
_root.pos.data.tm17D = _root.tm17;
_root.pos.data.tm18D = _root.tm18;
_root.pos.data.tm19D = _root.tm19;
_root.pos.data.tm20D = _root.tm20;
_root.pos.data.yrD = _root.ayr;
_root.pos.data.rrD = _root.arr;
_root.pos.data.brD = _root.abr;
_root.pos.data.bmD = _root.abm;
_root.pos.data.smD = _root.asm;
_root.pos.data.gmD = _root.agm;
_root.pos.data.bcD = _root.abc;
_root.pos.data.scD = _root.asc;
_root.pos.data.gcD = _root.agc;
}
}
}
play();
}
}
movieClip 610 {
frame 1 {
stop();
}
instance of movieClip 595 {
onClipEvent (enterFrame) {
if (_root.ayr == 1 && _root.arr == 1 && _root.abr == 1 && _root.abm == 1 && _root.asm == 1 && _root.agm == 1 && _root.abc == 1 && _root.asc == 1 && _root.agc == 1) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
this.button.useHandCursor = 0;
}
}
frame 8 {
stop();
}
frame 15 {
this.box.box.game1 = _root.game1;
this.box.box.game2 = _root.game2;
this.box.box.game3 = _root.game3;
this.box.box.game4 = _root.game4;
gotoAndStop(1);
}
frame 23 {
stop();
}
frame 30 {
gotoAndStop(1);
}
frame 38 {
stop();
}
frame 45 {
gotoAndStop(1);
}
}
movieClip 611 {
instance box of movieClip 610 {
onClipEvent (load) {
this.player = _root.player;
_root.pos = SharedObject.getLocal('fugli_moth2');
if (_root.game1 == undefined) {
_root.pos.data.gameA = 'Empty';
}
_root.game1 = _root.pos.data.gameA;
if (_root.game2 == undefined) {
_root.pos.data.gameB = 'Empty';
}
_root.game2 = _root.pos.data.gameB;
if (_root.game3 == undefined) {
_root.pos.data.gameC = 'Empty';
}
_root.game3 = _root.pos.data.gameC;
if (_root.game4 == undefined) {
_root.pos.data.gameD = 'Empty';
}
_root.game4 = _root.pos.data.gameD;
}
onClipEvent (enterFrame) {
_root.player = this.player;
if (_root.m1N == undefined) {
tellTarget ('_root') {
resetVariables();
}
}
if (_root.m1N == undefined) {
tellTarget ('_root') {
resetVariables();
}
}
if (_root.m1N == undefined) {
tellTarget ('_root') {
resetVariables();
}
}
if (_root.m1N == undefined) {
tellTarget ('_root') {
resetVariables();
}
}
}
}
}
movieClip 612 {
}
button 616 {
on (press) {
startDrag(this, false, 155, 30, 305, 30);
}
on (release, releaseOutside) {
stopDrag();
}
}
movieClip 617 {
}
movieClip 618 {
}
movieClip 621 {
frame 1 {
stop();
_root.music = 1;
}
instance of movieClip 618 {
onClipEvent (load) {
this.slider._x = (_root.volumeMusic / 10) * 15 + 155;
}
onClipEvent (enterFrame) {
_root.volumeMusic = ((this.slider._x - 155) / 15) * 10;
_root.my_sound.setVolume(_root.volumeMusic);
}
}
frame 11 {
stop();
_root.music = 0;
}
}
button 622 {
on (release) {
if (this.onoff._currentframe == 1) {
stopAllSounds();
}
if (this.onoff._currentframe == 11) {
tellTarget ('_root') {
play();
}
}
tellTarget ('this.onoff') {
play();
}
}
}
movieClip 623 {
instance onoff of movieClip 621 {
onClipEvent (load) {
if (_root.music == 0) {
gotoAndStop('soff');
}
}
}
}
movieClip 627 {
frame 1 {
stop();
qualers = (eval(_root))._quality;
if (qualers == 'MEDIUM') {
gotoAndStop(2);
}
if (qualers == 'LOW') {
gotoAndStop(3);
}
if (qualers == 'HIGH') {
gotoAndStop(4);
}
}
frame 2 {
stop();
_root._quality = 'medium';
}
frame 3 {
stop();
_root._quality = 'low';
}
frame 4 {
stop();
_root._quality = 'high';
}
frame 5 {
gotoAndPlay(2);
}
}
button 628 {
on (release) {
tellTarget ('this.qual') {
play();
}
}
}
button 629 {
on (release) {
tellTarget ('this.auto') {
play();
}
}
}
movieClip 633 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.autosave = 0;
}
frame 3 {
stop();
_root.autosave = 1;
}
frame 4 {
gotoAndStop(2);
}
}
movieClip 640 {
}
movieClip 642 {
}
movieClip 644 {
instance of movieClip 456 {
onClipEvent (load) {
if (_root.ayr == 1) {
gotoAndStop('yr');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.abm == 1) {
gotoAndStop('bm');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.arr == 1) {
gotoAndStop('rr');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.asm == 1) {
gotoAndStop('sm');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.abr == 1) {
gotoAndStop('br');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.agm == 1) {
gotoAndStop('gm');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.asc == 1) {
gotoAndStop('sc');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.abc == 1 && _root.asc == 1) {
gotoAndStop('bc');
} else {
gotoAndStop('none');
}
}
}
instance of movieClip 456 {
onClipEvent (load) {
if (_root.agc == 1) {
gotoAndStop('gc');
} else {
if (_root.abc == 1 && _root.asc == 0) {
gotoAndStop('bc');
} else {
gotoAndStop('none');
}
}
}
}
}
button 646 {
on (release) {
play();
if (_root.ipod._currentframe != 1) {
tellTarget ('_root.ipod') {
gotoAndPlay(26);
}
}
}
}
movieClip 647 {
frame 1 {
_root.thepause = 1;
_root.musicpause = 1;
if (_root.total + _root.counter > 0) {
tellTarget ('this.play') {
gotoAndStop(2);
}
}
}
frame 22 {
stop();
_root.thepause = 1;
_root.musicpause = 1;
_root.mousefly = 1;
}
frame 23 {
gotoAndPlay('off');
}
instance of movieClip 504 {
onClipEvent (enterFrame) {
this.texty = 'Species: ' + _root.mothlist + ' Moths: ' + _root.total;
}
}
frame 35 {
stop();
this.list._alpha = 100;
}
frame 36 {
_root.mothlist = 0;
}
frame 46 {
gotoAndPlay('on');
}
frame 58 {
stop();
}
frame 66 {
if (_root.instructoid == 1) {
gotoAndPlay('soff');
_root.instructoid = 0;
} else {
gotoAndPlay('on');
}
}
frame 78 {
stop();
}
instance auto of movieClip 633 {
onClipEvent (load) {
if (_root.autosave == 0) {
gotoAndStop(2);
} else {
if (_root.autosave == 1) {
gotoAndStop(3);
}
}
}
}
frame 84 {
gotoAndPlay('on');
}
frame 96 {
stop();
}
frame 98 {
gotoAndPlay('on');
}
frame 99 {
if (_root.total + _root.counter > 0) {
tellTarget ('this.play') {
gotoAndStop(2);
}
}
}
frame 122 {
_root.thepause = 0;
_root.musicpause = 0;
stop();
}
frame 123 {
gotoAndPlay('on');
}
frame 131 {
stop();
}
instance of movieClip 415 {
onClipEvent (enterFrame) {
if (_root.ayr == 0 && _root.arr == 0 && _root.abr == 0 && _root.abm == 0 && _root.asm == 0 && _root.agm == 0 && _root.abc == 0 && _root.asc == 0 && _root.agc == 0) {
gotoAndStop('noawards');
} else {
gotoAndStop('off');
}
}
}
frame 140 {
gotoAndPlay('Collectmenu');
}
}
frame 140 {
gotoAndStop('song3');
}
frame 141 {
stop();
firstsong = 1;
}
frame 141 {
stopAllSounds();
var my_sound = new Sound(_root);
my_sound.attachSound('song1');
my_sound.onSoundComplete = function () {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
if (bytes_loaded == bytes_total && _root.repeat == 0) {
tellTarget ('_root') {
gotoAndStop('song2');
}
} else {
my_sound.start();
}
};
my_sound.start();
}
frame 142 {
stop();
}
frame 142 {
stopAllSounds();
var my_sound2 = new Sound(_root);
my_sound2.attachSound('song2');
my_sound2.onSoundComplete = function () {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
if (bytes_loaded == bytes_total && _root.repeat == 0) {
tellTarget ('_root') {
gotoAndStop('song3');
}
} else {
my_sound2.start();
}
};
my_sound2.start();
}
frame 143 {
stop();
}
frame 143 {
stopAllSounds();
var my_sound3 = new Sound(_root);
my_sound3.attachSound('song3');
my_sound3.onSoundComplete = function () {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
if (bytes_loaded == bytes_total && _root.repeat == 0) {
tellTarget ('_root') {
gotoAndStop('song1');
}
} else {
my_sound3.start();
}
};
my_sound3.start();
}
frame 144 {
gotoAndStop('song1');
}
frame 145 {
gotoAndStop('song2');
}