Frame 1
function restart() {
if (Msindo > 100) {
Msindo = Msindo;
while (Msindo >= 100) {
if (_root["OBJ" + Msindo]._name != null) {
_root["OBJ" + Msindo].removeMovieClip();
}
Msindo--;
}
}
clear_score = 20;
miss_counter = 0;
Msindo = 100;
rest = clear_score;
MAX = 100;
MIN = 15;
more = 8;
FREEZE = 0;
ratio = MAX;
score = 0;
}
fscommand ("fullscreen", true);
fscommand ("allowscale", true);
highscore = 0;
Frame 2
restart();
stop();
Frame 3
stop();
Instance of Symbol 16 MovieClip in Frame 3
onClipEvent (load) {
_root.Msindo = 100;
mainch = 0;
}
onClipEvent (enterFrame) {
if ((mainch <= 0) & (_root.rest > 0)) {
mainch = _root.MAX - (_root.score * _root.more);
_root.rest--;
if (mainch < _root.MIN) {
mainch = _root.MIN;
}
Msindo = _root.Msindo;
_root.Item.duplicateMovieClip("OBJ" + Msindo, Msindo);
_root["OBJ" + Msindo]._x = 593;
_root["OBJ" + Msindo]._y = 270;
_root["OBJ" + Msindo].mind = 1;
_root.Msindo++;
}
mainch--;
if (_root.OK > 0) {
_root.OK--;
}
}
Instance of Symbol 24 MovieClip "_btn" in Frame 3
on (press) {
if (_root.score < _root.clear_score) {
_root.gotoAndStop("Chara1_act");
}
}
Instance of Symbol 47 MovieClip in Frame 3
on (press) {
if (_root.score < _root.clear_score) {
_root.gotoAndStop("Chara3_act");
}
}
Instance of Symbol 81 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.miss_counter == 1) {
this._alpha = 100;
} else {
this._alpha = 0;
}
if (_root.miss_counter > 1) {
_root.gotoAndStop("MISS");
}
}
Instance of Symbol 61 MovieClip "Item" in Frame 3
onClipEvent (load) {
if (this.mind != 1) {
this._y = -32000;
}
this._alpha = 0;
this.Bowl_A._alpha = 0;
this.Bowl_B._alpha = 0;
this.Soup._alpha = 0;
}
onClipEvent (enterFrame) {
if ((_root.FREEZE == 0) & (this.mind == 1)) {
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
}
if ((this._alpha >= 100) & (this._x > 150)) {
tmp = _root.score + 3;
if (tmp > 13) {
tmp = 13;
}
this._x = this._x - tmp;
}
if (this._x <= 150) {
if (((this.Soup._alpha != 100) | (this.Bowl_A._alpha != 100)) | (this.Bowl_B._alpha != 100)) {
this._alpha = this._alpha - 20;
if (this._alpha <= 0) {
_root.rest++;
_root.miss_counter++;
this.removeMovieClip();
}
} else {
_root.miss_counter = 0;
_root.OK = 4;
_root.score++;
this.removeMovieClip();
}
}
}
}
Instance of Symbol 85 MovieClip in Frame 3
onClipEvent (load) {
_xscale = 0;
_yscale = 0;
mainch = 0;
}
onClipEvent (enterFrame) {
if (_root.score >= _root.clear_score) {
_xscale = (_xscale + 10);
_yscale = (_yscale + 10);
if (_alpha > 0) {
_alpha = (_alpha - 5);
}
mainch++;
if (mainch > 40) {
_root.gotoAndPlay("HAPPY_END");
}
}
}
Frame 4
stop();
Instance of Symbol 65 MovieClip in Frame 4
onClipEvent (load) {
mainch = 0;
}
onClipEvent (enterFrame) {
if (mainch >= 2) {
tmp = 0;
Msindo = _root.Msindo - 10;
while (Msindo < _root.Msindo) {
if (_root["OBJ" + Msindo]._name == null) {
} else if ((Math.abs((this._x + 10) - _root["OBJ" + Msindo]._x) < 40) & (_root["OBJ" + Msindo].Bowl_A._alpha == 0)) {
_root["OBJ" + Msindo].Bowl_A._alpha = 100;
_root["OBJ" + Msindo].Bowl_B._alpha = 100;
tmp++;
}
Msindo++;
}
if (tmp == 0) {
_root.miss_id = 0;
_root.gotoAndStop("MISS");
} else {
_root.gotoAndStop("DEF");
}
}
mainch++;
}
Frame 5
stop();
Instance of Symbol 69 MovieClip in Frame 5
onClipEvent (load) {
mainch = 0;
}
onClipEvent (enterFrame) {
if (mainch >= 2) {
_root.gotoAndStop(_root._currentframe + 1);
}
mainch++;
}
Frame 6
stop();
Instance of Symbol 70 MovieClip in Frame 6
onClipEvent (load) {
mainch = 0;
}
onClipEvent (enterFrame) {
if (mainch >= 2) {
tmp = 0;
Msindo = _root.Msindo - 10;
while (Msindo < _root.Msindo) {
if (_root["OBJ" + Msindo]._name == null) {
} else if (((Math.abs((this._x + 10) - _root["OBJ" + Msindo]._x) < 40) & (_root["OBJ" + Msindo].Soup._alpha == 0)) & (_root["OBJ" + Msindo].Bowl_A._alpha == 100)) {
_root["OBJ" + Msindo].Soup._alpha = 100;
tmp++;
}
Msindo++;
}
if (tmp == 0) {
_root.miss_id = 1;
_root.gotoAndStop("MISS");
} else {
_root.gotoAndStop("DEF");
}
}
mainch++;
}
Frame 18
if (_root.score > _root.highscore) {
_root.highscore = _root.score;
}
FREEZE = 1;
play();
Instance of Symbol 99 MovieClip in Frame 18
onClipEvent (load) {
if (_root.miss_counter > 1) {
this._alpha = 100;
}
}
Instance of Symbol 105 MovieClip in Frame 18
onClipEvent (load) {
if (_root.miss_id == 0) {
this._alpha = 100;
}
}
Instance of Symbol 105 MovieClip in Frame 18
onClipEvent (load) {
if (_root.miss_id == 1) {
this._alpha = 100;
}
}
Instance of Symbol 109 MovieClip "BOWL" in Frame 18
onClipEvent (load) {
if (_root.miss_id == 0) {
this._alpha = 100;
}
}
Instance of Symbol 111 MovieClip in Frame 18
onClipEvent (load) {
if (_root.miss_id == 1) {
this._alpha = 100;
}
}
Frame 26
stop();
Instance of Symbol 132 MovieClip "RB" in Frame 26
onClipEvent (load) {
this.swapDepths(32000);
this.score = _root.score;
this.highscore = _root.highscore;
}
Frame 27
stop();
Instance of Symbol 139 MovieClip in Frame 27
onClipEvent (load) {
mainch = -5;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (mainch > 0) {
this._xscale = this._xscale + ((100 - this._xscale) / 2);
this._yscale = this._yscale + ((100 - this._yscale) / 2);
}
mainch++;
}
Instance of Symbol 141 MovieClip in Frame 27
onClipEvent (load) {
mainch = -7;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (mainch > 0) {
this._xscale = this._xscale + ((100 - this._xscale) / 2);
this._yscale = this._yscale + ((100 - this._yscale) / 2);
}
mainch++;
}
Instance of Symbol 143 MovieClip in Frame 27
onClipEvent (load) {
mainch = -9;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (mainch > 0) {
this._xscale = this._xscale + ((100 - this._xscale) / 2);
this._yscale = this._yscale + ((100 - this._yscale) / 2);
}
mainch++;
}
Instance of Symbol 145 MovieClip in Frame 27
onClipEvent (load) {
mainch = -11;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (mainch > 0) {
this._xscale = this._xscale + ((100 - this._xscale) / 2);
this._yscale = this._yscale + ((100 - this._yscale) / 2);
}
mainch++;
}
Instance of Symbol 147 MovieClip in Frame 27
onClipEvent (load) {
mainch = -13;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (mainch > 0) {
this._xscale = this._xscale + ((100 - this._xscale) / 2);
this._yscale = this._yscale + ((100 - this._yscale) / 2);
}
mainch++;
}
Instance of Symbol 149 MovieClip in Frame 27
onClipEvent (load) {
mainch = -15;
this._xscale = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (mainch > 0) {
this._xscale = this._xscale + ((100 - this._xscale) / 2);
this._yscale = this._yscale + ((100 - this._yscale) / 2);
}
mainch++;
}
Instance of Symbol 151 MovieClip in Frame 27
onClipEvent (load) {
mainch = -17;
this._xscale = 0;
this._yscale = 0;
a = 0;
Msindo = 100;
}
onClipEvent (enterFrame) {
if (mainch > 0) {
if ((mainch % 3) == 0) {
_root.attachMovie("Star", "O" + Msindo, Msindo);
_root["O" + Msindo]._x = (this._x + (Math.random() * 280)) - 140;
_root["O" + Msindo]._y = (this._y + (Math.random() * 80)) - 40;
Msindo++;
}
a = (a / 1.5) + ((100 - this._xscale) / 2);
this._xscale = this._xscale + a;
this._yscale = this._yscale + a;
}
mainch++;
}
Symbol 3 MovieClip [Star] Frame 1
x = ((-Math.random()) * 10) + 5;
y = (-Math.random()) * 10;
c = 0;
Symbol 3 MovieClip [Star] Frame 2
_rotation = (_rotation + 10);
_alpha = (_alpha - 5);
_x = (_x + x);
_y = (_y + y);
y++;
c++;
if (c > 20) {
this.removeMovieClip();
}
Symbol 3 MovieClip [Star] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 38 MovieClip Frame 1
if (_root.OK > 0) {
gotoAndPlay (5);
}
Symbol 38 MovieClip Frame 2
gotoAndPlay(_currentframe - 1);
Symbol 38 MovieClip Frame 5
if (_root.OK <= 0) {
gotoAndPlay (1);
}
Symbol 38 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 51 MovieClip Frame 1
tmp = (_root.score * 2) + 3;
if (tmp > 26) {
tmp = 26;
}
_rotation = (_rotation - tmp);
Symbol 51 MovieClip Frame 2
gotoAndPlay (1);
Symbol 56 Button
on (release) {
_root.gotoAndStop(_currentframe + 1);
}
Symbol 77 MovieClip Frame 1
this.Tray.Bowl_A._alpha = 0;
this.Tray.Bowl_B._alpha = 0;
this.Tray.Soup._alpha = 0;
Symbol 77 MovieClip Frame 10
this.Tray.Bowl_A._alpha = 100;
this.Tray.Bowl_B._alpha = 100;
Symbol 77 MovieClip Frame 20
this.Tray.Soup._alpha = 100;
Symbol 92 Button
on (release) {
_root.RB.removeMovieClip();
_root.gotoAndStop(2);
}
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 2
stop();
Symbol 127 MovieClip Frame 3
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
stop();
Symbol 131 MovieClip Frame 3
stop();
Instance of Symbol 127 MovieClip "_btn" in Symbol 132 MovieClip Frame 1
on (release) {
_root.restart();
_root.gotoAndStop("DEF");
_root.RB.removeMovieClip();
}
Instance of Symbol 131 MovieClip "_btn" in Symbol 132 MovieClip Frame 1
on (release) {
_root.gotoAndStop("INTRO");
_root.RB.removeMovieClip();
}