Frame 2
this.stop();
Instance of Symbol 74 MovieClip "base" in Frame 2
onClipEvent (load) {
function ModeSet(modesetNum) {
activeNum = modesetNum;
this._parent.palette.SelectSet(1, 5);
this._parent.control.SoundEffect(3);
}
function Move() {
if (timeNum == paceNum) {
IDNum = ((IDNum >= 1) ? (IDNum - 1) : 1000);
this.attachMovie("enemy", "enemy" + IDNum, IDNum);
nameNum = Math.round((Math.random() * enemyNum) + 0.5) + (Math.round(Math.random() * 2) * 5);
this["enemy" + IDNum].typeNum = ((((nameNum + 5) % 5) != 0) ? ((nameNum + 5) % 5) : 5);
this["enemy" + IDNum].core.gotoAndStop("o" + nameNum);
this["enemy" + IDNum].core._rotation = this["enemy" + IDNum].core._rotation + ((Math.random() * 90) - 45);
this["enemy" + IDNum].core._xscale = ((1 < Math.round(Math.random() * 2)) ? 100 : -100);
this["enemy" + IDNum]._x = (Math.random() * 320) - 160;
this["enemy" + IDNum]._xscale = 1;
this["enemy" + IDNum]._yscale = 1;
this["enemy" + IDNum]._alpha = 0;
timeNum = 0;
} else {
for (movieclip in this) {
if ((this[movieclip]._xscale + 2) < 100) {
this[movieclip]._xscale = this[movieclip]._xscale + 2;
this[movieclip]._yscale = this[movieclip]._yscale + 2;
this[movieclip]._alpha = this[movieclip]._alpha + 2.5;
} else {
this[movieclip]._xscale = 100;
this[movieclip]._yscale = 100;
this[movieclip]._alpha = 100;
}
this[movieclip]._y = this[movieclip]._y + ((this[movieclip]._y < 165) ? (0.1 * this[movieclip]._xscale) : (reachNum));
if (220 >= this[movieclip]._y) {
} else {
(this[movieclip].gotoAndStop("caution"));// not popped
}
}
((this._height >= 270) ? (this.GameLose()) : ((timeNum = timeNum + 1)));
}
}
function PointGet(pointgetNum) {
((pointNum < 10000) ? ((pointNum = pointNum + pointgetNum)) : 9999);
normNum = normNum + pointgetNum;
this._parent.score.CounterReset(pointNum);
this._parent.misshit.CounterReset(Math.floor((pointNum / (misshitNum + pointNum)) * 100));
((normNum >= (dayNum * 10)) ? (this.GameClear()) : (pointNum));
}
function Normget(normgetNum) {
normNum = normNum + (normgetNum * (10 / levelNum));
normNum = ((normNum < 0) ? 0 : (normNum));
this._parent.norm.BarChange(normNum);
}
function SpeedGet(getNum) {
if (getNum < 140) {
speedgetNum = speedgetNum + 5;
} else if ((getNum >= 140) && (getNum < 190)) {
speedgetNum = speedgetNum + 4;
} else if ((getNum >= 190) && (getNum < 215)) {
speedgetNum = speedgetNum + 3;
} else if ((getNum >= 215) && (getNum < 230)) {
speedgetNum = speedgetNum + 2;
} else {
speedgetNum = speedgetNum + 1;
}
this._parent.speed.CounterReset(speedgetNum);
}
function MissHit(missNum) {
misshitNum = misshitNum + missNum;
this._parent.misshit.CounterReset(Math.floor((pointNum / (misshitNum + pointNum)) * 100));
}
function ObjDelete() {
this._alpha = this._alpha - speedNum;
speedNum = speedNum + 4;
for (movieclip in this) {
this[movieclip]._y = this[movieclip]._y + speedNum;
}
}
function GameLose() {
this._parent.control.SoundEffect(5);
for (movieclip in this) {
this[movieclip].gotoAndStop("over");
this[movieclip].core.Sleep();
}
chanceNum = chanceNum - 1;
this._parent.chance.ChanceSet(chanceNum);
if (0 >= chanceNum) {
speedgetNum = ((0 < Math.round(speedgetNum / pointNum)) ? (Math.round(speedgetNum / pointNum)) : 1);
misshitNum = ((0 < Math.floor((pointNum / (misshitNum + pointNum)) * 100)) ? (Math.floor((pointNum / (misshitNum + pointNum)) * 100)) : 0);
this._parent.speed.CounterReset(speedgetNum);
this._parent.misshit.CounterReset(misshitNum);
this._parent.control.GameOver();
} else {
this._parent.control.GameLose();
}
activeNum = 0;
}
function GameClear() {
normNum = 100;
this._parent.norm.BarChange(normNum);
this._parent.control.SoundEffect(4);
for (movieclip in this) {
this[movieclip].core.Bomb();
this[movieclip].removeMovieClip();
}
this._parent.sky.gotoAndPlay("stage" + (((levelNum + 2) % 3) + 1));
this._parent.sky.sky1.gotoAndStop("stage" + (((levelNum + 3) % 3) + 1));
this._parent.sea.gotoAndPlay("stage" + (((levelNum + 2) % 3) + 1));
dayNum = Math.floor(levelNum / 3) + 1;
this._parent.day.CounterReset(dayNum);
activeNum = 0;
}
function NextStage() {
timeNum = 0;
paceNum = 5;
waveNum = 60;
wavemoveNum = 100;
wavestopNum = wavemoveNum + 30;
((enemyNum < 4.5) ? ((enemyNum = enemyNum + 0.5)) : ((enemyNum = 4.5)));
levelNum = levelNum + 1;
normNum = 0;
IDNum = 1000;
speedNum = 0;
reachNum = reachNum + 0.1;
this._parent.norm.BarChange(normNum);
this._parent.chance.ChanceSet(chanceNum);
activeNum = 1;
}
function GameReset() {
for (movieclip in this) {
this[movieclip].removeMovieClip();
}
this._alpha = 100;
activeNum = 1;
timeNum = 0;
paceNum = 5;
waveNum = 60;
wavemoveNum = 100;
wavestopNum = wavemoveNum + 30;
enemyNum = 2;
levelNum = 1;
pointNum = 0;
misshitNum = 0;
speedgetNum = 0;
reachNum = 1;
dayNum = 1;
normNum = 0;
chanceNum = 1;
IDNum = 1000;
speedNum = 0;
this._parent.norm.BarChange(normNum);
this._parent.chance.ChanceSet(chanceNum);
this._parent.score.CounterReset(pointNum);
this._parent.misshit.CounterReset(0);
this._parent.day.CounterReset(dayNum);
this._parent.speed.CounterReset(speedgetNum);
this._parent.sky.gotoAndStop("start");
this._parent.sky.sky1.gotoAndStop("start");
this._parent.sea.gotoAndStop("start");
}
var activeNum = 0;
var timeNum = 0;
var paceNum = 5;
var waveNum = 60;
var wavemoveNum = 100;
var wavestopNum = (wavemoveNum + 30);
var enemyNum = 2;
var levelNum = 1;
var pointNum = 0;
var misshitNum = 0;
var speedgetNum = 0;
var dayNum = 1;
var normNum = 0;
var chanceNum = 1;
var IDNum = 1000;
var speedNum = 0;
var reachNum = 1;
}
onClipEvent (enterFrame) {
if (activeNum == 1) {
if (waveNum < wavemoveNum) {
this.Move();
waveNum = waveNum + 1;
} else if (waveNum == wavestopNum) {
waveNum = 0;
} else {
waveNum = waveNum + 1;
this.Move();
timeNum = 0;
}
}
}
Instance of Symbol 114 MovieClip "control" in Frame 2
onClipEvent (load) {
function GameLose() {
this.gotoAndPlay("gamelose");
}
function GameOver() {
this.gotoAndPlay("gameover");
}
function GameClear() {
this.gotoAndPlay("gameclear");
}
function SoundEffect(soundNum) {
this["sound" + soundNum].start(0, 1);
}
sound1 = new Sound(this);
sound1.attachSound("sound1");
sound2 = new Sound(this);
sound2.attachSound("sound2");
sound3 = new Sound(this);
sound3.attachSound("sound3");
sound4 = new Sound(this);
sound4.attachSound("sound4");
sound5 = new Sound(this);
sound5.attachSound("sound5");
}
Instance of Symbol 142 MovieClip "palette" in Frame 2
onClipEvent (load) {
function SelectSet(selectsetNum, colsNum) {
i = 1;
while (i < 6) {
this["col" + i].gotoAndStop("sleep");
i++;
}
i = 1;
while (i < (colsNum + 1)) {
this["col" + i].gotoAndStop("active");
i++;
}
checkNum = selectsetNum;
this["col" + selectsetNum].gotoAndStop("select");
this._parent.control.checkNum = selectsetNum;
}
function Select(selectNum) {
this["col" + checkNum].gotoAndStop("active");
this["col" + selectNum].gotoAndStop("select");
checkNum = selectNum;
this._parent.control.checkNum = selectNum;
}
var checkNum = 1;
}
Instance of Symbol 148 MovieClip "norm" in Frame 2
onClipEvent (load) {
function BarChange(barchangeNum) {
this.main._xscale = barchangeNum;
}
}
Instance of Symbol 156 MovieClip "chance" in Frame 2
onClipEvent (load) {
function ChanceSet(chancesetNum) {
this.gotoAndStop("c" + chancesetNum);
}
this.gotoAndStop("c3");
}
Instance of Symbol 157 MovieClip "score" in Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(0);
}
Instance of Symbol 157 MovieClip "speed" in Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(0);
}
Instance of Symbol 157 MovieClip "misshit" in Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(0);
}
Instance of Symbol 158 MovieClip "day" in Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(1);
}
Frame 3
this.stop();
Symbol 20 Button
on (press) {
HitCheck();
}
Symbol 27 Button
on (press) {
HitCheck();
}
Symbol 34 Button
on (press) {
HitCheck();
}
Symbol 39 MovieClip Frame 2
this.stop();
Symbol 39 MovieClip Frame 3
this.stop();
Symbol 39 MovieClip Frame 4
this.stop();
Symbol 39 MovieClip Frame 5
this.stop();
Symbol 39 MovieClip Frame 6
this.stop();
Symbol 39 MovieClip Frame 7
this.stop();
Symbol 39 MovieClip Frame 8
this.stop();
Symbol 39 MovieClip Frame 9
this.stop();
Symbol 39 MovieClip Frame 10
this.stop();
Symbol 39 MovieClip Frame 11
this.stop();
Symbol 39 MovieClip Frame 12
this.stop();
Symbol 39 MovieClip Frame 13
this.stop();
Symbol 39 MovieClip Frame 14
this.stop();
Symbol 39 MovieClip Frame 15
this.stop();
Symbol 39 MovieClip Frame 16
this.stop();
Symbol 39 MovieClip Frame 17
this.stop();
Symbol 39 MovieClip Frame 18
this.stop();
Symbol 39 MovieClip Frame 19
this.stop();
Symbol 39 MovieClip Frame 20
this.stop();
Symbol 39 MovieClip Frame 21
this.stop();
Symbol 39 MovieClip Frame 22
this.stop();
Symbol 39 MovieClip Frame 23
this.stop();
Symbol 39 MovieClip Frame 24
this.stop();
Symbol 39 MovieClip Frame 25
this.stop();
Symbol 39 MovieClip Frame 26
this.stop();
Symbol 39 MovieClip Frame 27
this.stop();
Symbol 39 MovieClip Frame 28
this.stop();
Symbol 39 MovieClip Frame 29
this.stop();
Symbol 39 MovieClip Frame 30
this.stop();
Symbol 39 MovieClip Frame 31
this.stop();
Symbol 42 MovieClip [enemy] Frame 1
this.stop();
Instance of Symbol 39 MovieClip "core" in Symbol 42 MovieClip [enemy] Frame 1
onClipEvent (load) {
function HitCheck() {
if (this._parent._parent._parent.control.checkNum == this._parent.typeNum) {
this._parent._parent._parent.control.SoundEffect(1);
this._parent._parent.SpeedGet(this._parent._y);
this._parent._parent.PointGet(1);
randNum = Math.floor((Math.random() * 1000) + 1000);
this._parent._parent._parent.attachMovie("bomb", "bomb" + randNum, randNum);
this._parent._parent._parent["bomb" + randNum]._x = this._parent._x + 200;
this._parent._parent._parent["bomb" + randNum]._y = this._parent._y + 85;
this._parent.removeMovieClip();
} else {
this._parent._parent.MissHit(1);
this._parent._parent._parent.control.SoundEffect(2);
}
}
function Sleep() {
this.gotoAndStop(_currentframe + 1);
}
function Bomb() {
randNum = Math.floor(Math.random() * 1000);
this._parent._parent._parent.attachMovie("bomb", "bomb" + randNum, randNum);
this._parent._parent._parent["bomb" + randNum]._x = this._parent._x + 200;
this._parent._parent._parent["bomb" + randNum]._y = this._parent._y + 85;
}
}
Symbol 42 MovieClip [enemy] Frame 2
this.stop();
Symbol 42 MovieClip [enemy] Frame 3
this.stop();
Symbol 44 MovieClip [bomb] Frame 2
function Move() {
this._rotation = this._rotation + 20;
if (0 < this._alpha) {
this._alpha = this._alpha - 10;
} else {
this.removeMovieClip();
}
}
scaleNum = (Math.random() * 100) + 50;
this._yscale = scaleNum;
this._xscale = scaleNum;
Symbol 44 MovieClip [bomb] Frame 3
this.Move();
Symbol 44 MovieClip [bomb] Frame 4
this.gotoAndPlay(_currentframe - 1);
Symbol 54 MovieClip Frame 1
Symbol 57 MovieClip Frame 1
this.stop();
Symbol 57 MovieClip Frame 15
this.stop();
Symbol 57 MovieClip Frame 30
this.stop();
Symbol 57 MovieClip Frame 45
this.gotoAndStop("stage1");
Symbol 68 MovieClip Frame 1
this.stop();
Instance of Symbol 60 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
function Move() {
this._x = this._x + 0.2;
if (this._x >= 450) {
this._x = -50;
}
}
}
onClipEvent (enterFrame) {
this.Move();
}
Instance of Symbol 62 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
function Move() {
this._x = this._x + 2;
if (this._x >= 450) {
this._x = -50;
}
}
}
onClipEvent (enterFrame) {
this.Move();
}
Instance of Symbol 64 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
function Move() {
this._x = this._x - 4;
if (-50 >= this._x) {
this._x = 480;
}
}
}
onClipEvent (enterFrame) {
this.Move();
}
Symbol 68 MovieClip Frame 2
this.stop();
Symbol 68 MovieClip Frame 3
this.stop();
Symbol 68 MovieClip Frame 4
this.stop();
Symbol 69 MovieClip Frame 1
this.stop();
Symbol 69 MovieClip Frame 15
this.stop();
this._parent.base.nextStage();
Symbol 69 MovieClip Frame 30
this.stop();
this._parent.base.nextStage();
Symbol 69 MovieClip Frame 45
this.gotoAndStop("stage1");
this._parent.base.nextStage();
Symbol 78 Button
on (press) {
this.gotoAndPlay(_currentframe + 1);
}
Symbol 106 MovieClip Frame 1
this.stop();
Symbol 106 MovieClip Frame 2
this.stop();
Symbol 106 MovieClip Frame 3
this.stop();
Symbol 106 MovieClip Frame 4
this.stop();
Symbol 106 MovieClip Frame 5
this.stop();
Symbol 106 MovieClip Frame 6
this.stop();
Symbol 106 MovieClip Frame 7
this.stop();
Symbol 108 MovieClip Frame 1
this.stop();
Symbol 108 MovieClip Frame 2
this.stop();
Instance of Symbol 87 MovieClip "score" in Symbol 108 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(this._parent._parent._parent.base.pointNum);
}
Instance of Symbol 88 MovieClip "speed" in Symbol 108 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(this._parent._parent._parent.base.dayNum);
}
Instance of Symbol 89 MovieClip "misshit" in Symbol 108 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(6 - this._parent._parent._parent.base.speedgetNum);
}
Instance of Symbol 90 MovieClip "day" in Symbol 108 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(this._parent._parent._parent.base.misshitNum);
}
Instance of Symbol 106 MovieClip in Symbol 108 MovieClip Frame 2
onClipEvent (load) {
this._parent._parent._parent.base.pointNum;
this._parent._parent._parent.base.speedgetNum;
this._parent._parent._parent.base.misshitNum;
var rankNum = Math.floor(this._parent._parent._parent.base.pointNum);
if (rankNum >= 1650) {
this.gotoAndStop("l7");
} else if ((rankNum < 1650) && (rankNum >= 500)) {
this.gotoAndStop("l6");
} else if ((rankNum < 500) && (rankNum >= 300)) {
this.gotoAndStop("l5");
} else if ((rankNum < 300) && (rankNum >= 150)) {
this.gotoAndStop("l4");
} else if ((rankNum < 150) && (rankNum >= 100)) {
this.gotoAndStop("l3");
} else if ((rankNum < 100) && (rankNum >= 50)) {
this.gotoAndStop("l2");
} else if (rankNum < 49) {
this.gotoAndStop("l1");
}
}
Symbol 109 MovieClip Frame 1
this.stop();
Symbol 109 MovieClip Frame 2
this.stop();
Instance of Symbol 87 MovieClip "score" in Symbol 109 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(this._parent._parent._parent.base.pointNum);
}
Instance of Symbol 88 MovieClip "speed" in Symbol 109 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(this._parent._parent._parent.base.dayNum);
}
Instance of Symbol 89 MovieClip "misshit" in Symbol 109 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(6 - this._parent._parent._parent.base.speedgetNum);
}
Instance of Symbol 90 MovieClip "day" in Symbol 109 MovieClip Frame 2
onClipEvent (load) {
function CounterSet(resetNum) {
i = 1;
while (i < (countsNum + 1)) {
this.attachMovie("zero", "zero" + i, i);
this["zero" + i]._x = (76 - (i * 19)) + 10;
i++;
}
this.CounterReset(resetNum);
}
function CounterReset(resetNum) {
resetNum = ((resetNum >= Math.pow(10, countsNum)) ? (Math.pow(10, countsNum) - 1) : (resetNum));
resetNum = "" + resetNum;
i = resetNum.length;
while (i < countsNum) {
resetNum = "n" + resetNum;
i++;
}
i = 1;
while (i < (countsNum + 1)) {
zerofsetNum = ((parseInt(resetNum.charAt(countsNum - i)) + 1) ? (parseInt(resetNum.charAt(countsNum - i)) + 1) : 11);
this["zero" + i].gotoAndStop(zerofsetNum);
i++;
}
}
var countsNum = 4;
this.CounterSet(this._parent._parent._parent.base.misshitNum);
}
Instance of Symbol 106 MovieClip in Symbol 109 MovieClip Frame 2
onClipEvent (load) {
this._parent._parent._parent.base.pointNum;
this._parent._parent._parent.base.speedgetNum;
this._parent._parent._parent.base.misshitNum;
var rankNum = Math.floor(this._parent._parent._parent.base.pointNum);
if (rankNum >= 1650) {
this.gotoAndStop("l7");
} else if ((rankNum < 1650) && (rankNum >= 500)) {
this.gotoAndStop("l6");
} else if ((rankNum < 500) && (rankNum >= 300)) {
this.gotoAndStop("l5");
} else if ((rankNum < 300) && (rankNum >= 150)) {
this.gotoAndStop("l4");
} else if ((rankNum < 150) && (rankNum >= 100)) {
this.gotoAndStop("l3");
} else if ((rankNum < 100) && (rankNum >= 50)) {
this.gotoAndStop("l2");
} else if (rankNum < 49) {
this.gotoAndStop("l1");
}
}
Symbol 111 Button
on (press) {
this.gotoAndPlay(_currentframe + 1);
}
Symbol 114 MovieClip Frame 1
this.stop();
Symbol 114 MovieClip Frame 13
this._parent.base.ModeSet(1);
this.gotoAndStop("sleep");
Symbol 114 MovieClip Frame 14
this._alpha = 100;
this.stop();
Symbol 114 MovieClip Frame 49
this._parent.base.ObjDelete();
this._alpha = this._alpha - 20;
Symbol 114 MovieClip Frame 50
this.gotoAndPlay(_currentframe - 1);
Symbol 114 MovieClip Frame 85
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 86
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 87
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 88
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 89
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 90
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 91
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 92
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 93
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 94
this._parent.base.ObjDelete();
Symbol 114 MovieClip Frame 96
this.stop();
this.result.gotoAndStop("active");
Symbol 114 MovieClip Frame 103
this._parent.base.GameReset();
this.stop();
Symbol 114 MovieClip Frame 155
this._parent.base.nextStage();
this.stop();
Symbol 119 Button
on (press) {
this._parent.Select(5);
}
Symbol 121 MovieClip Frame 1
this.stop();
Symbol 121 MovieClip Frame 2
this.stop();
Symbol 121 MovieClip Frame 3
this.stop();
Symbol 124 Button
on (press) {
this._parent.Select(1);
}
Symbol 126 MovieClip Frame 1
this.stop();
Symbol 126 MovieClip Frame 2
this.stop();
Symbol 126 MovieClip Frame 3
this.stop();
Symbol 129 Button
on (press) {
this._parent.Select(2);
}
Symbol 131 MovieClip Frame 1
this.stop();
Symbol 131 MovieClip Frame 2
this.stop();
Symbol 131 MovieClip Frame 3
this.stop();
Symbol 134 Button
on (press) {
this._parent.Select(3);
}
Symbol 136 MovieClip Frame 1
this.stop();
Symbol 136 MovieClip Frame 2
this.stop();
Symbol 136 MovieClip Frame 3
this.stop();
Symbol 139 Button
on (press) {
this._parent.Select(4);
}
Symbol 141 MovieClip Frame 1
this.stop();
Symbol 141 MovieClip Frame 2
this.stop();
Symbol 141 MovieClip Frame 3
this.stop();
Instance of Symbol 146 MovieClip "main" in Symbol 148 MovieClip Frame 1
onClipEvent (load) {
this._Xscale = 0;
}
Symbol 156 MovieClip Frame 1
this.stop();
Symbol 156 MovieClip Frame 2
this.stop();
Symbol 156 MovieClip Frame 3
this.stop();
Symbol 156 MovieClip Frame 4
this.stop();
Symbol 156 MovieClip Frame 5
this.stop();
Symbol 156 MovieClip Frame 6
this.stop();