Frame 1
Frame 2
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes / 1000);
totalkbytes = Math.ceil(totalbytes / 1000);
if (loadedbytes == totalbytes) {
gotoAndPlay ("Start");
}
frame = int(loadedbytes / (totalbytes / 100));
barmovement = frame - oldframe;
_root.loader.Loadbar._x = _root.loader.Loadbar._x + (barmovement * 3);
oldframe = frame;
Frame 3
gotoAndPlay ("Load2");
Frame 5
sonido = true;
_quality = "high";
loadMovieNum ("Title_Music.swf", 5);
loadVariables ("config.php", "_root.varTarget");
Score = 0;
TotalEp1Score = 0;
TotalEp2Score = 0;
TotalEp3Score = 0;
TotalScore = 0;
EnemiesKilled = 0;
DragonLife = 0;
DragonLifeTotal = 200;
Stamp = new Date();
TimeStamp = Stamp.getTime();
Frame 35
stop();
tunein.gotoAndPlay(1);
Frame 174
stop();
Frame 190
if (SectionToLoad == 1) {
unloadMovieNum (5);
gotoAndPlay ("Level1Loading");
} else if (SectionToLoad == 2) {
gotoAndPlay ("Email");
} else if (SectionToLoad == 3) {
gotoAndPlay ("Credits");
} else if (SectionToLoad == 4) {
gotoAndPlay ("ViewHighScores");
} else if (SectionToLoad == 5) {
gotoAndPlay ("HowToPlay");
} else if (SectionToLoad == 6) {
gotoAndPlay ("BuyNow");
}
Frame 207
stop();
Frame 222
stop();
Frame 239
stop();
Frame 261
stop();
loadMovieNum ("Postcard_Thumb.swf", 10);
Frame 273
_root.SonicSpecialMeterP1 = 0;
_root.TailsSpecialMeterP1 = 0;
_root.KnucklesSpecialMeterP1 = 0;
_root.RingBlocksDestroyedP1 = 0;
_root.BlockBlocksDestroyedP1 = 0;
_root.ChaosBlocksDestroyedP1 = 0;
_root.LevelOver = 0;
_root.whistle0sec = 0;
_root.TotalScoreP1 = 0;
_root.SonicSpecialMeterP2 = 0;
_root.TailsSpecialMeterP2 = 0;
_root.KnucklesSpecialMeterP2 = 0;
_root.RingBlocksDestroyedP2 = 0;
_root.BlockBlocksDestroyedP2 = 0;
_root.ChaosBlocksDestroyedP2 = 0;
_root.LevelOverP2 = 0;
_root.whistle0sec = 0;
_root.TotalScoreP2 = 0;
_root.TwoPlayer = 0;
Timer.MyMinute = 0;
Timer.MySeconds = 0;
Timer.MyTimer = 0;
Timer.MyZero = 0;
_root.P2Cover._alpha = 100;
loadMovieNum ("Level_Music.swf", 4);
Instance of Symbol 158 MovieClip "Timer" in Frame 274
onClipEvent (enterFrame) {
}
Instance of Symbol 162 MovieClip "Timer2" in Frame 274
onClipEvent (enterFrame) {
}
Frame 275
_root.HeadChance = 50;
_root.BaseBlockNum = 1;
_root.Player1BlockNum = 1;
_root.Player2BlockNum = 1;
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockChaosFrame", random(5) + 1);
}
_root.NextSetP1.TopBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockFrame"));
_root.NextSetP1.TopBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockChaosFrame"));
_root.NextSetP1.MiddleBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockFrame"));
_root.NextSetP1.MiddleBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockChaosFrame"));
_root.NextSetP1.BottomBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockFrame"));
_root.NextSetP1.BottomBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockChaosFrame"));
_root.NextSetP2.TopBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockFrame"));
_root.NextSetP2.TopBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockChaosFrame"));
_root.NextSetP2.MiddleBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockFrame"));
_root.NextSetP2.MiddleBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockChaosFrame"));
_root.NextSetP2.BottomBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockFrame"));
_root.NextSetP2.BottomBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockChaosFrame"));
_root.BaseBlockNum++;
Instance of Symbol 193 MovieClip "r1b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r1b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r1b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r1b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r1b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r1b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r2b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r2b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r2b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r2b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r2b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r2b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r3b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r3b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r3b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r3b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r3b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r3b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r4b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r4b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r4b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r4b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r4b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r4b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r5b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r5b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r5b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r5b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r5b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r5b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r6b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r6b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r6b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r6b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r6b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r6b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r7b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r7b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r7b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r7b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r7b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r7b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r8b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r8b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r8b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r8b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r8b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r8b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r9b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r9b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r9b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r9b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r9b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r9b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r10b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r10b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r10b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r10b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r10b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r10b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r11b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r11b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r11b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r11b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r11b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r11b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r12b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r12b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r12b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r12b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r12b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r12b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 6;
}
Instance of Symbol 193 MovieClip "r13b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 1;
}
Instance of Symbol 193 MovieClip "r13b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 2;
}
Instance of Symbol 193 MovieClip "r13b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 3;
}
Instance of Symbol 193 MovieClip "r13b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 4;
}
Instance of Symbol 193 MovieClip "r13b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 5;
}
Instance of Symbol 193 MovieClip "r13b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 6;
}
Instance of Symbol 199 MovieClip "SonicSpecialP1" in Frame 275
onClipEvent (enterFrame) {
this.gotoAndStop(_root.SonicSpecialMeterP1 + 1);
}
Instance of Symbol 205 MovieClip "TailsSpecialP1" in Frame 275
onClipEvent (enterFrame) {
this.gotoAndStop(_root.TailsSpecialMeterP1 + 1);
}
Instance of Symbol 211 MovieClip "KnucklesSpecialP1" in Frame 275
onClipEvent (enterFrame) {
this.gotoAndStop(_root.KnucklesSpecialMeterP1 + 1);
}
Instance of Symbol 225 MovieClip "P2r1b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r1b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r1b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r1b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r1b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r1b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 1;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r2b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r2b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r2b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r2b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r2b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r2b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 2;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r3b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r3b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r3b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r3b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r3b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r3b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 3;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r4b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r4b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r4b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r4b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r4b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r4b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 4;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r5b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r5b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r5b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r5b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r5b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r5b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 5;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r6b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r6b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r6b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r6b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r6b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r6b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 6;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r7b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r7b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r7b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r7b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r7b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r7b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 7;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r8b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r8b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r8b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r8b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r8b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r8b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 8;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r9b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r9b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r9b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r9b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r9b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r9b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 9;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r10b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r10b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r10b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r10b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r10b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r10b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 10;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r11b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r11b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r11b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r11b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r11b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r11b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 11;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r12b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r12b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r12b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r12b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r12b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r12b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 12;
this.block = 6;
}
Instance of Symbol 225 MovieClip "P2r13b1" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 1;
}
Instance of Symbol 225 MovieClip "P2r13b2" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 2;
}
Instance of Symbol 225 MovieClip "P2r13b3" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 3;
}
Instance of Symbol 225 MovieClip "P2r13b4" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 4;
}
Instance of Symbol 225 MovieClip "P2r13b5" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 5;
}
Instance of Symbol 225 MovieClip "P2r13b6" in Frame 275
onClipEvent (enterFrame) {
this.row = 13;
this.block = 6;
}
Instance of Symbol 199 MovieClip "SonicSpecialP2" in Frame 275
onClipEvent (enterFrame) {
this.gotoAndStop(_root.SonicSpecialMeterP2 + 1);
}
Instance of Symbol 205 MovieClip "TailsSpecialP2" in Frame 275
onClipEvent (enterFrame) {
this.gotoAndStop(_root.TailsSpecialMeterP2 + 1);
}
Instance of Symbol 211 MovieClip "KnucklesSpecialP2" in Frame 275
onClipEvent (enterFrame) {
this.gotoAndStop(_root.KnucklesSpecialMeterP2 + 1);
}
Frame 278
stop();
Frame 279
if (_root.GameType == "Timed") {
Timer.gotoAndPlay(2);
}
if (_root.TwoPlayer == 1) {
_root.P2Cover._alpha = 0;
Timer.gotoAndPlay(2);
Timer2.gotoAndPlay(2);
}
Frame 283
DropSpeedNumP1Base = 1000;
DropSpeedNumP1 = DropSpeedNumP1Base;
DropSpeedNumP2Base = 1000;
DropSpeedNumP2 = DropSpeedNumP1Base;
newtotalP1 = 0;
LevelP1 = 1;
TotalScoreP1 = 0;
oldtotalP1 = 0;
combocounterP1 = 0;
CurrentComboBlocksP1 = 0;
TotalBlocksDestroyedP1 = 0;
newtotalP2 = 0;
LevelP2 = 1;
TotalScoreP21 = 0;
oldtotalP2 = 0;
combocounterP2 = 0;
CurrentComboBlocksP2 = 0;
TotalBlocksDestroyedP2 = 0;
_root.TallyReadyP1 = 0;
_root.TallyReadyP2 = 0;
HeadChance = 50;
Row1 = new Array();
k = 0;
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
Row1[k] = (("r" + i) + "b") + j;
k++;
j++;
}
i++;
}
Frame 335
if (_root.GameType == "Timed") {
Timer.gotoAndPlay(4);
}
if (_root.TwoPlayer == 1) {
Timer.gotoAndPlay(4);
Timer2.gotoAndPlay(4);
}
Frame 336
topblockframep1 = eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockFrame");
topblockframep2 = eval (("_root.Block" + eval (_root.Player2BlockNum)) + "TopBlockFrame");
if (_root.LevelP1 < 5) {
if (_root.TotalScoreP1 < 2000) {
_root.LevelP1 = 1;
}
if ((_root.TotalScoreP1 > 2000) and (_root.TotalScoreP1 < 4000)) {
_root.LevelP1 = 2;
if (Level1Up != 1) {
Level1Up = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
if ((_root.TotalScoreP1 > 4000) and (_root.TotalScoreP1 < 6000)) {
_root.LevelP1 = 3;
if (Level2Up != 1) {
Level2Up = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
if ((_root.TotalScoreP1 > 6000) and (_root.TotalScoreP1 < 8000)) {
_root.LevelP1 = 4;
if (Level3Up != 1) {
Level3Up = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
if (_root.TotalScoreP1 > 8000) {
_root.LevelP1 = 5;
if (Level4Up != 1) {
Level4Up = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
}
if (_root.SonicActiveP1 != 1) {
if (_root.LevelP1 == 2) {
_root.DropSpeedNumP1Base = 800;
}
if (_root.LevelP1 == 3) {
_root.DropSpeedNumP1Base = 600;
}
if (_root.LevelP1 == 4) {
_root.DropSpeedNumP1Base = 400;
}
if (_root.LevelP1 == 5) {
_root.DropSpeedNumP1Base = 300;
}
}
newtotalP1 = _root.TotalBlocksDestroyedP1;
if (_root.TwoPLayer == 1) {
if ((_root.TallyReadyP1 == 1) and (_root.TallyReadyP2 == 1)) {
gotoAndPlay ("TwoPlayerGameOver");
}
if (_root.LevelOver == 1) {
if (whistle0sec != 1) {
loadMovieNum ("Level_Music.swf", 4);
whistle0sec = 1;
_root.Timer.gotoAndStop(6);
_root.Whistle.gotoAndPlay(2);
_root.GameOverP1.gotoAndPlay(2);
}
}
if (_root.LevelOverP2 == 1) {
if (whistle0secP2 != 1) {
loadMovieNum ("Level_Music.swf", 4);
whistle0secP2 = 1;
_root.Timer2.gotoAndStop(6);
_root.Whistle.gotoAndPlay(2);
_root.GameOverP2.gotoAndPlay(2);
}
}
} else if (_root.LevelOver == 1) {
if (whistle0sec != 1) {
unloadMovieNum (4);
whistle0sec = 1;
_root.Whistle.gotoAndPlay(2);
}
if (_root.GameType == "Timed") {
gotoAndPlay ("LevelEnd");
} else {
gotoAndPlay ("GameOver");
}
}
if (newtotalP1 != oldtotalP1) {
combocounterP1 = 20;
_root.ComboValueP1 = _root.CurrentComboBlocksP1 * 10;
_root.ComboScoreP1 = _root.ComboValueP1 * _root.CurrentComboBlocksP1;
} else if (combocounterP1 > 0) {
combocounterP1 = combocounterP1 - 1;
} else {
_root.SonicVoicePlay = 0;
_root.TailsVoicePlay = 0;
_root.KnucklesVoicePlay = 0;
_root.SonicHeadP1.gotoAndStop(1);
_root.TailsHeadP1.gotoAndStop(1);
_root.KnucklesHeadP1.gotoAndStop(1);
_root.CurrentComboBlocksP1 = 0;
if (_root.ComboValueP1 != 0) {
_root.TotalScoreP1 = _root.TotalScoreP1 + _root.ComboScoreP1;
_root.ComboValueP1 = 0;
}
}
_root.OnscreenRingsP1 = 0;
_root.OnscreenBlocksP1 = 0;
_root.OnscreenChaosP1 = 0;
i = 12;
while (i >= 0) {
j = 1;
while (j < 7) {
k = i + 1;
if (i != 13) {
if (eval ("_root." + ((("r" + k) + "b") + j))._currentframe == 1) {
eval ("_root." + ((("r" + k) + "b") + j)).gotoAndStop(eval ("_root." + ((("r" + i) + "b") + j))._currentframe);
eval ("_root." + ((("r" + k) + "b") + j)).Chaos.gotoAndStop(eval ("_root." + ((("r" + i) + "b") + j)).Chaos._currentframe);
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndStop(1);
eval ("_root." + ((("r" + k) + "b") + j)).destroyready = 0;
} else {
eval ("_root." + ((("r" + k) + "b") + j)).destroyready = 1;
}
} else {
eval ("_root." + ((("r" + k) + "b") + j)).destroyready = 1;
}
j++;
}
i--;
}
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (_root.KnucklesActive != 1) {
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe >= 8) {
eval ("_root." + ((("r" + i) + "b") + j)).play();
}
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 2) {
_root.OnscreenRingsP1++;
}
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 3) {
_root.OnscreenBlocksP1++;
}
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 4) {
_root.OnscreenChaosP1++;
}
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 5) {
eval ("_root." + ((("r" + i) + "b") + j)).headnum = eval ("_root." + ((("r" + i) + "b") + j))._currentframe;
if (eval ("_root." + ((("r" + (i - 1)) + "b") + j))._currentframe == 2) {
if (eval ("_root." + ((("r" + (i - 1)) + "b") + j)).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + i) + "b") + (j + 1)))._currentframe == 2) {
if (eval ("_root." + ((("r" + i) + "b") + (j + 1))).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + (i + 1)) + "b") + j))._currentframe == 2) {
if (eval ("_root." + ((("r" + (i + 1)) + "b") + j)).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + i) + "b") + (j - 1)))._currentframe == 2) {
if (eval ("_root." + ((("r" + i) + "b") + (j - 1))).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
}
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 6) {
eval ("_root." + ((("r" + i) + "b") + j)).headnum = eval ("_root." + ((("r" + i) + "b") + j))._currentframe;
if (eval ("_root." + ((("r" + (i - 1)) + "b") + j))._currentframe == 3) {
if (eval ("_root." + ((("r" + (i - 1)) + "b") + j)).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + i) + "b") + (j + 1)))._currentframe == 3) {
if (eval ("_root." + ((("r" + i) + "b") + (j + 1))).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + (i + 1)) + "b") + j))._currentframe == 3) {
if (eval ("_root." + ((("r" + (i + 1)) + "b") + j)).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + i) + "b") + (j - 1)))._currentframe == 3) {
if (eval ("_root." + ((("r" + i) + "b") + (j - 1))).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
}
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 7) {
eval ("_root." + ((("r" + i) + "b") + j)).headnum = eval ("_root." + ((("r" + i) + "b") + j))._currentframe;
if (eval ("_root." + ((("r" + (i - 1)) + "b") + j))._currentframe == 4) {
if (eval ("_root." + ((("r" + (i - 1)) + "b") + j)).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + i) + "b") + (j + 1)))._currentframe == 4) {
if (eval ("_root." + ((("r" + i) + "b") + (j + 1))).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + (i + 1)) + "b") + j))._currentframe == 4) {
if (eval ("_root." + ((("r" + (i + 1)) + "b") + j)).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root." + ((("r" + i) + "b") + (j - 1)))._currentframe == 4) {
if (eval ("_root." + ((("r" + i) + "b") + (j - 1))).destroyready == 1) {
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
}
}
j++;
}
i++;
}
if (_root.SonicSpecialMeterP1 < 100) {
_root.SonicSpecialMeterP1 = _root.RingBlocksDestroyedP1 * 3;
} else {
_root.SonicSpecialMeterP1 = 0;
_root.RingBlocksDestroyedP1 = 0;
_root.SonicPower.gotoAndPlay(2);
}
if (_root.TailsSpecialMeterP1 < 100) {
_root.TailsSpecialMeterP1 = _root.ChaosBlocksDestroyedP1 * 3;
} else {
_root.TailsSpecialMeterP1 = 0;
_root.ChaosBlocksDestroyedP1 = 0;
_root.TailsPower.gotoAndPlay(2);
}
if (_root.KnucklesSpecialMeterP1 < 100) {
_root.KnucklesSpecialMeterP1 = _root.BlockBlocksDestroyedP1 * 3;
} else {
_root.KnucklesSpecialMeterP1 = 0;
_root.BlockBlocksDestroyedP1 = 0;
_root.KnucklesPower.gotoAndPlay(2);
}
oldtotalP1 = newtotalP1;
if (_root.TwoPlayer == 1) {
if (_root.LevelP2 < 5) {
if (_root.TotalScoreP2 < 2000) {
_root.LevelP2 = 1;
}
if ((_root.TotalScoreP2 > 2000) and (_root.TotalScoreP2 < 4000)) {
_root.LevelP2 = 2;
if (Level1UpP2 != 1) {
Level1UpP2 = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
if ((_root.TotalScoreP2 > 4000) and (_root.TotalScoreP2 < 6000)) {
_root.LevelP2 = 3;
if (Level2UpP2 != 1) {
Level2UpP2 = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
if ((_root.TotalScoreP2 > 6000) and (_root.TotalScoreP21 < 8000)) {
_root.LevelP2 = 4;
if (Level3UpP2 != 1) {
Level3UpP2 = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
if (_root.TotalScoreP2 > 8000) {
_root.LevelP2 = 5;
if (Level4UpP2 != 1) {
Level4UpP2 = 1;
_root.LevelUp.gotoAndPlay(2);
}
}
}
if (_root.SonicActiveP2 != 1) {
if (_root.LevelP2 == 2) {
_root.DropSpeedNumP2Base = 800;
}
if (_root.LevelP2 == 3) {
_root.DropSpeedNumP2Base = 600;
}
if (_root.LevelP2 == 4) {
_root.DropSpeedNumP2Base = 400;
}
if (_root.LevelP2 == 5) {
_root.DropSpeedNumP2Base = 300;
}
}
newtotalP2 = _root.TotalBlocksDestroyedP2;
if (newtotalP2 != oldtotalP2) {
combocounterP2 = 20;
_root.ComboValueP2 = _root.CurrentComboBlocksP2 * 10;
_root.ComboScoreP2 = _root.ComboValueP2 * _root.CurrentComboBlocksP2;
} else if (combocounterP2 > 0) {
combocounterP2 = combocounterP2 - 1;
} else {
_root.SonicVoicePlay = 0;
_root.TailsVoicePlay = 0;
_root.KnucklesVoicePlay = 0;
_root.SonicHeadP2.gotoAndStop(1);
_root.TailsHeadP2.gotoAndStop(1);
_root.KnucklesHeadP2.gotoAndStop(1);
_root.CurrentComboBlocksP2 = 0;
if (_root.ComboValueP2 != 0) {
_root.TotalScoreP2 = _root.TotalScoreP2 + _root.ComboScoreP2;
_root.ComboValueP2 = 0;
}
}
_root.OnscreenRingsP2 = 0;
_root.OnscreenBlocksP2 = 0;
_root.OnscreenChaosP2 = 0;
i = 12;
while (i >= 0) {
j = 1;
while (j < 7) {
k = i + 1;
if (i != 13) {
if (eval ("_root.P2" + ((("r" + k) + "b") + j))._currentframe == 1) {
eval ("_root.P2" + ((("r" + k) + "b") + j)).gotoAndStop(eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe);
eval ("_root.P2" + ((("r" + k) + "b") + j)).Chaos.gotoAndStop(eval ("_root.P2" + ((("r" + i) + "b") + j)).Chaos._currentframe);
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndStop(1);
eval ("_root.P2" + ((("r" + k) + "b") + j)).destroyready = 0;
} else {
eval ("_root.P2" + ((("r" + k) + "b") + j)).destroyready = 1;
}
} else {
eval ("_root.P2" + ((("r" + k) + "b") + j)).destroyready = 1;
}
j++;
}
i--;
}
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (_root.KnucklesActiveP2 != 1) {
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe >= 8) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).play();
}
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 2) {
_root.OnscreenRingsP2++;
}
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 3) {
_root.OnscreenBlocksP2++;
}
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 4) {
_root.OnscreenChaosP2++;
}
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 5) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).headnum = eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe;
if (eval ("_root.P2" + ((("r" + (i - 1)) + "b") + j))._currentframe == 2) {
if (eval ("_root.P2" + ((("r" + (i - 1)) + "b") + j)).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + (j + 1)))._currentframe == 2) {
if (eval ("_root.P2" + ((("r" + i) + "b") + (j + 1))).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + (i + 1)) + "b") + j))._currentframe == 2) {
if (eval ("_root.P2" + ((("r" + (i + 1)) + "b") + j)).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + (j - 1)))._currentframe == 2) {
if (eval ("_root.P2" + ((("r" + i) + "b") + (j - 1))).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 6) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).headnum = eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe;
if (eval ("_root.P2" + ((("r" + (i - 1)) + "b") + j))._currentframe == 3) {
if (eval ("_root.P2" + ((("r" + (i - 1)) + "b") + j)).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + (j + 1)))._currentframe == 3) {
if (eval ("_root.P2" + ((("r" + i) + "b") + (j + 1))).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + (i + 1)) + "b") + j))._currentframe == 3) {
if (eval ("_root.P2" + ((("r" + (i + 1)) + "b") + j)).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + (j - 1)))._currentframe == 3) {
if (eval ("_root.P2" + ((("r" + i) + "b") + (j - 1))).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 7) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).headnum = eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe;
if (eval ("_root.P2" + ((("r" + (i - 1)) + "b") + j))._currentframe == 4) {
if (eval ("_root.P2" + ((("r" + (i - 1)) + "b") + j)).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + (j + 1)))._currentframe == 4) {
if (eval ("_root.P2" + ((("r" + i) + "b") + (j + 1))).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + (i + 1)) + "b") + j))._currentframe == 4) {
if (eval ("_root.P2" + ((("r" + (i + 1)) + "b") + j)).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
if (eval ("_root.P2" + ((("r" + i) + "b") + (j - 1)))._currentframe == 4) {
if (eval ("_root.P2" + ((("r" + i) + "b") + (j - 1))).destroyready == 1) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
}
}
}
}
j++;
}
i++;
}
if (_root.SonicSpecialMeterP2 < 100) {
_root.SonicSpecialMeterP2 = _root.RingBlocksDestroyedP2 * 3;
} else {
_root.SonicSpecialMeterP2 = 0;
_root.RingBlocksDestroyedP2 = 0;
_root.SonicPowerP2.gotoAndPlay(2);
}
if (_root.TailsSpecialMeterP2 < 100) {
_root.TailsSpecialMeterP2 = _root.ChaosBlocksDestroyedP2 * 3;
} else {
_root.TailsSpecialMeterP2 = 0;
_root.ChaosBlocksDestroyedP2 = 0;
_root.TailsPowerP2.gotoAndPlay(2);
}
if (_root.KnucklesSpecialMeterP2 < 100) {
_root.KnucklesSpecialMeterP2 = _root.BlockBlocksDestroyedP2 * 3;
} else {
_root.KnucklesSpecialMeterP2 = 0;
_root.BlockBlocksDestroyedP2 = 0;
_root.KnucklesPowerP2.gotoAndPlay(2);
}
oldtotalP2 = newtotalP2;
}
Instance of Symbol 231 MovieClip in Frame 336
onClipEvent (load) {
this.TopBlock.gotoAndStop(_root.NextSetP1.TopBlock._currentframe);
this.TopBlock.Chaos.gotoAndStop(_root.NextSetP1.TopBlock.Chaos._currentframe);
this.MiddleBlock.gotoAndStop(_root.NextSetP1.MiddleBlock._currentframe);
this.MiddleBlock.Chaos.gotoAndStop(_root.NextSetP1.MiddleBlock.Chaos._currentframe);
this.BottomBlock.gotoAndStop(_root.NextSetP1.BottomBlock._currentframe);
this.BottomBlock.Chaos.gotoAndStop(_root.NextSetP1.BottomBlock.Chaos._currentframe);
_root.Player1BlockNum++;
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockChaosFrame", random(5) + 1);
}
_root.BaseBlockNum++;
_root.NextSetP1.TopBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockFrame"));
_root.NextSetP1.TopBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockChaosFrame"));
_root.NextSetP1.MiddleBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockFrame"));
_root.NextSetP1.MiddleBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockChaosFrame"));
_root.NextSetP1.BottomBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockFrame"));
_root.NextSetP1.BottomBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockChaosFrame"));
}
onClipEvent (enterFrame) {
if (_root.LevelOver != 1) {
if (_root.TwoPlayer == 1) {
if (Key.isDown(65)) {
left = 1;
} else {
left = 0;
leftdown = 0;
}
if (Key.isDown(87)) {
up = 1;
} else {
up = 0;
updown = 0;
}
if (Key.isDown(68)) {
right = 1;
} else {
right = 0;
rightdown = 0;
}
if (Key.isDown(83)) {
down = 1;
} else {
_root.DropSpeedNumP1 = _root.DropSpeedNumP1Base;
down = 0;
downdown = 0;
}
} else {
if (Key.isDown(37)) {
left = 1;
} else {
left = 0;
leftdown = 0;
}
if (Key.isDown(38)) {
up = 1;
} else {
up = 0;
updown = 0;
}
if (Key.isDown(39)) {
right = 1;
} else {
right = 0;
rightdown = 0;
}
if (Key.isDown(40)) {
down = 1;
} else {
_root.DropSpeedNumP1 = _root.DropSpeedNumP1Base;
down = 0;
downdown = 0;
}
}
if ((((up == 0) && (right == 0)) && (down == 0)) && (left == 1)) {
if (leftdown != 1) {
leftdown = 1;
if (OldDropTime == DropTime) {
if (eval ((("_root.r" + this.BottomBlockRowNum) + "b") + (this.BottomBlockBlockNum - 1))._currentframe == 1) {
this._x = this._x - 32;
}
}
}
}
if ((((up == 1) && (right == 0)) && (down == 0)) && (left == 0)) {
if (updown != 1) {
updown = 1;
TopCrystalColor = this.TopBlock.Chaos._currentframe;
MiddleCrystalColor = this.MiddleBlock.Chaos._currentframe;
BottomCrystalColor = this.BottomBlock.Chaos._currentframe;
this.TempBlock = this.TopBlock._currentframe;
this.TopBlock.gotoAndStop(this.MiddleBlock._currentframe);
this.TopBlock.Chaos.gotoAndStop(MiddleCrystalColor);
this.MiddleBlock.gotoAndStop(this.BottomBlock._currentframe);
this.MiddleBlock.Chaos.gotoAndStop(BottomCrystalColor);
this.BottomBlock.gotoAndStop(this.TempBlock);
this.BottomBlock.Chaos.gotoAndStop(TopCrystalColor);
}
}
if ((((up == 0) && (right == 1)) && (down == 0)) && (left == 0)) {
if (rightdown != 1) {
rightdown = 1;
if (OldDropTime == DropTime) {
if (eval ((("_root.r" + this.BottomBlockRowNum) + "b") + (this.BottomBlockBlockNum + 1))._currentframe == 1) {
this._x = this._x + 32;
}
}
}
}
if ((((up == 0) && (right == 0)) && (down == 1)) && (left == 0)) {
if (downdown != 1) {
downdown = 1;
_root.DropSpeedNumP1 = _root.DropSpeedNumP1 / 2;
}
}
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (this.BottomBlock.hitTest("_root." + ((("r" + i) + "b") + j))) {
this.BottomBlock.currentposition = (("r" + i) + "b") + j;
this.BottomBlockRowNum = i;
this.BottomBlockBlockNum = j;
}
j++;
}
i++;
}
clock = getTimer();
OldDropTime = DropTime;
DropTime = Math.round(Math.abs(clock / _root.DropSpeedNumP1));
if (_root.combocounterP1 < 1) {
if (OldDropTime != DropTime) {
if (eval ((("_root.r" + (this.BottomBlockRowNum + 1)) + "b") + this.BottomBlockBlockNum)._currentframe == 1) {
this._y = this._y + 32;
} else {
eval ((("_root.r" + this.BottomBlockRowNum) + "b") + this.BottomBlockBlockNum).gotoAndStop(this.BottomBlock._currentframe);
eval ((("_root.r" + this.BottomBlockRowNum) + "b") + this.BottomBlockBlockNum).Chaos.gotoAndStop(this.BottomBlock.Chaos._currentframe);
eval ((("_root.r" + (this.BottomBlockRowNum - 1)) + "b") + this.BottomBlockBlockNum).gotoAndStop(this.MiddleBlock._currentframe);
eval ((("_root.r" + (this.BottomBlockRowNum - 1)) + "b") + this.BottomBlockBlockNum).Chaos.gotoAndStop(this.MiddleBlock.Chaos._currentframe);
eval ((("_root.r" + (this.BottomBlockRowNum - 2)) + "b") + this.BottomBlockBlockNum).gotoAndStop(this.TopBlock._currentframe);
eval ((("_root.r" + (this.BottomBlockRowNum - 2)) + "b") + this.BottomBlockBlockNum).Chaos.gotoAndStop(this.TopBlock.Chaos._currentframe);
if (_root.r1b4._currentframe == 1) {
_root.LevelOver = 0;
this._x = _root.r1b4._x;
this._y = 15.9;
} else {
_root.LevelOver = 1;
}
this.TopBlock.gotoAndStop(_root.NextSetP1.TopBlock._currentframe);
this.TopBlock.Chaos.gotoAndStop(_root.NextSetP1.TopBlock.Chaos._currentframe);
this.MiddleBlock.gotoAndStop(_root.NextSetP1.MiddleBlock._currentframe);
this.MiddleBlock.Chaos.gotoAndStop(_root.NextSetP1.MiddleBlock.Chaos._currentframe);
this.BottomBlock.gotoAndStop(_root.NextSetP1.BottomBlock._currentframe);
this.BottomBlock.Chaos.gotoAndStop(_root.NextSetP1.BottomBlock.Chaos._currentframe);
_root.Player1BlockNum++;
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockChaosFrame", random(5) + 1);
}
_root.BaseBlockNum++;
_root.NextSetP1.TopBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockFrame"));
_root.NextSetP1.TopBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "TopBlockChaosFrame"));
_root.NextSetP1.MiddleBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockFrame"));
_root.NextSetP1.MiddleBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "MiddleBlockChaosFrame"));
_root.NextSetP1.BottomBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockFrame"));
_root.NextSetP1.BottomBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player1BlockNum)) + "BottomBlockChaosFrame"));
}
}
}
}
}
Instance of Symbol 231 MovieClip in Frame 336
onClipEvent (load) {
if (_root.TwoPlayer == 1) {
this.TopBlock.gotoAndStop(_root.NextSetP2.TopBlock._currentframe);
this.TopBlock.Chaos.gotoAndStop(_root.NextSetP2.TopBlock.Chaos._currentframe);
this.MiddleBlock.gotoAndStop(_root.NextSetP2.MiddleBlock._currentframe);
this.MiddleBlock.Chaos.gotoAndStop(_root.NextSetP2.MiddleBlock.Chaos._currentframe);
this.BottomBlock.gotoAndStop(_root.NextSetP2.BottomBlock._currentframe);
this.BottomBlock.Chaos.gotoAndStop(_root.NextSetP2.BottomBlock.Chaos._currentframe);
_root.Player2BlockNum++;
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockChaosFrame", random(5) + 1);
}
_root.BaseBlockNum++;
_root.NextSetP2.TopBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "TopBlockFrame"));
_root.NextSetP2.TopBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "TopBlockChaosFrame"));
_root.NextSetP2.MiddleBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "MiddleBlockFrame"));
_root.NextSetP2.MiddleBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "MiddleBlockChaosFrame"));
_root.NextSetP2.BottomBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "BottomBlockFrame"));
_root.NextSetP2.BottomBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "BottomBlockChaosFrame"));
}
}
onClipEvent (enterFrame) {
if (_root.TwoPlayer == 1) {
if (_root.LevelOverP2 != 1) {
if (Key.isDown(37)) {
left = 1;
} else {
left = 0;
leftdown = 0;
}
if (Key.isDown(38)) {
up = 1;
} else {
up = 0;
updown = 0;
}
if (Key.isDown(39)) {
right = 1;
} else {
right = 0;
rightdown = 0;
}
if (Key.isDown(40)) {
down = 1;
} else {
_root.DropSpeedNumP2 = _root.DropSpeedNumP2Base;
down = 0;
downdown = 0;
}
if ((((up == 0) && (right == 0)) && (down == 0)) && (left == 1)) {
if (leftdown != 1) {
leftdown = 1;
if (OldDropTime == DropTime) {
if (eval ((("_root.P2r" + this.BottomBlockRowNum) + "b") + (this.BottomBlockBlockNum - 1))._currentframe == 1) {
this._x = this._x - 32;
}
}
}
}
if ((((up == 1) && (right == 0)) && (down == 0)) && (left == 0)) {
if (updown != 1) {
updown = 1;
TopCrystalColor = this.TopBlock.Chaos._currentframe;
MiddleCrystalColor = this.MiddleBlock.Chaos._currentframe;
BottomCrystalColor = this.BottomBlock.Chaos._currentframe;
this.TempBlock = this.TopBlock._currentframe;
this.TopBlock.gotoAndStop(this.MiddleBlock._currentframe);
this.TopBlock.Chaos.gotoAndStop(MiddleCrystalColor);
this.MiddleBlock.gotoAndStop(this.BottomBlock._currentframe);
this.MiddleBlock.Chaos.gotoAndStop(BottomCrystalColor);
this.BottomBlock.gotoAndStop(this.TempBlock);
this.BottomBlock.Chaos.gotoAndStop(TopCrystalColor);
}
}
if ((((up == 0) && (right == 1)) && (down == 0)) && (left == 0)) {
if (rightdown != 1) {
rightdown = 1;
if (OldDropTime == DropTime) {
if (eval ((("_root.P2r" + this.BottomBlockRowNum) + "b") + (this.BottomBlockBlockNum + 1))._currentframe == 1) {
this._x = this._x + 32;
}
}
}
}
if ((((up == 0) && (right == 0)) && (down == 1)) && (left == 0)) {
if (downdown != 1) {
downdown = 1;
_root.DropSpeedNumP2 = _root.DropSpeedNumP2 / 2;
}
}
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (this.BottomBlock.hitTest("_root.P2" + ((("r" + i) + "b") + j))) {
this.BottomBlock.currentposition = (("r" + i) + "b") + j;
this.BottomBlockRowNum = i;
this.BottomBlockBlockNum = j;
}
j++;
}
i++;
}
clock = getTimer();
OldDropTime = DropTime;
DropTime = Math.round(Math.abs(clock / _root.DropSpeedNumP2));
if (_root.combocounterP2 < 1) {
if (OldDropTime != DropTime) {
if (eval ((("_root.P2r" + (this.BottomBlockRowNum + 1)) + "b") + this.BottomBlockBlockNum)._currentframe == 1) {
this._y = this._y + 32;
} else {
eval ((("_root.P2r" + this.BottomBlockRowNum) + "b") + this.BottomBlockBlockNum).gotoAndStop(this.BottomBlock._currentframe);
eval ((("_root.P2r" + this.BottomBlockRowNum) + "b") + this.BottomBlockBlockNum).Chaos.gotoAndStop(this.BottomBlock.Chaos._currentframe);
eval ((("_root.P2r" + (this.BottomBlockRowNum - 1)) + "b") + this.BottomBlockBlockNum).gotoAndStop(this.MiddleBlock._currentframe);
eval ((("_root.P2r" + (this.BottomBlockRowNum - 1)) + "b") + this.BottomBlockBlockNum).Chaos.gotoAndStop(this.MiddleBlock.Chaos._currentframe);
eval ((("_root.P2r" + (this.BottomBlockRowNum - 2)) + "b") + this.BottomBlockBlockNum).gotoAndStop(this.TopBlock._currentframe);
eval ((("_root.P2r" + (this.BottomBlockRowNum - 2)) + "b") + this.BottomBlockBlockNum).Chaos.gotoAndStop(this.TopBlock.Chaos._currentframe);
if (_root.P2r1b4._currentframe == 1) {
_root.LevelOverP2 = 0;
this._x = _root.P2r1b4._x;
this._y = 15.9;
} else {
_root.LevelOverP2 = 1;
}
this.TopBlock.gotoAndStop(_root.NextSetP2.TopBlock._currentframe);
this.TopBlock.Chaos.gotoAndStop(_root.NextSetP2.TopBlock.Chaos._currentframe);
this.MiddleBlock.gotoAndStop(_root.NextSetP2.MiddleBlock._currentframe);
this.MiddleBlock.Chaos.gotoAndStop(_root.NextSetP2.MiddleBlock.Chaos._currentframe);
this.BottomBlock.gotoAndStop(_root.NextSetP2.BottomBlock._currentframe);
this.BottomBlock.Chaos.gotoAndStop(_root.NextSetP2.BottomBlock.Chaos._currentframe);
_root.Player2BlockNum++;
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "TopBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "MiddleBlockChaosFrame", random(5) + 1);
}
chanceforhead = random(_root.HeadChance);
if (chanceforhead < 10) {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 5);
} else {
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockFrame", random(3) + 2);
Set(("_root.Block" + eval (_root.BaseBlockNum)) + "BottomBlockChaosFrame", random(5) + 1);
}
_root.BaseBlockNum++;
_root.NextSetP2.TopBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "TopBlockFrame"));
_root.NextSetP2.TopBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "TopBlockChaosFrame"));
_root.NextSetP2.MiddleBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "MiddleBlockFrame"));
_root.NextSetP2.MiddleBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "MiddleBlockChaosFrame"));
_root.NextSetP2.BottomBlock.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "BottomBlockFrame"));
_root.NextSetP2.BottomBlock.Chaos.gotoAndStop(eval (("_root.Block" + eval (_root.Player2BlockNum)) + "BottomBlockChaosFrame"));
}
}
}
}
}
}
Frame 337
prevFrame();
play();
Frame 371
gotoAndPlay ("Scoring");
Frame 376
if (sonido) {
_root.Scoreloop.gotoAndPlay(2);
}
Frame 406
stop();
Stamp = new Date();
TimeStamp = Stamp.getTime();
Frame 407
_root.scoretable.filename = _root.varTarget.filename;
_root.scoretable.scoresize = 20;
_root.scoretable.action = "VIEW";
_root.scoretable.viewtype = _root.varTarget.viewingtype;
_root.scoretable.winname = _root.name;
_root.scoretable.winscore = _root.score;
_root.traceurl = (("http://" + _root.varTarget.server) + _root.varTarget.base) + _root.varTarget.scoresurl;
_root.scoretable.loadVariables((("http://" + _root.varTarget.server) + _root.varTarget.base) + _root.varTarget.scoresurl, "GET");
Frame 412
prevFrame();
play();
Frame 438
stop();
Frame 444
unloadMovieNum (4);
_root.Scoreloop.gotoAndPlay(2);
Instance of Symbol 460 MovieClip in Frame 498
onClipEvent (enterFrame) {
if (_root.TotalScoreP1 > _root.TotalScoreP2) {
this.gotoAndStop(2);
}
if (_root.TotalScoreP1 < _root.TotalScoreP2) {
this.gotoAndStop(3);
}
}
Frame 521
stop();
Symbol 3 Button
on (release) {
stopAllSounds();
gotoAndStop ("off");
_root.sonido = false;
}
Symbol 7 Button
on (release) {
gotoAndPlay ("on");
_root.sonido = true;
}
Symbol 9 MovieClip Frame 1
loadMovieNum ("Title_Music.swf", 5);
Scoreloop.gotoAndPlay(1);
stop();
Symbol 9 MovieClip Frame 3
unloadMovieNum (5);
Scoreloop.gotoAndStop(2);
stop();
Symbol 42 MovieClip Frame 55
_root.gotoAndPlay("siguetune");
Symbol 59 Button
on (release) {
SectionToLoad = 5;
play();
}
Symbol 60 Button
on (release) {
unloadMovieNum (205);
gotoAndPlay ("Level1Loading");
}
Symbol 61 Button
on (release) {
unloadMovieNum (205);
GameType = "Freeplay";
gotoAndPlay ("Level1Loading");
}
Symbol 69 Button
on (release) {
gotoAndStop (2);
}
Symbol 73 Button
on (release) {
gotoAndStop (1);
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
stop();
Symbol 77 Button
on (release) {
unloadMovieNum (205);
GameType = "Freeplay";
gotoAndPlay ("Level1Loading");
}
Symbol 84 Button
on (release) {
getURL ("http://www.amazon.com/exec/obidos/tg/detail/-/B0000VSH4K", "_blank");
}
Symbol 88 Button
on (release) {
getURL ("http://www.amazon.com/exec/obidos/tg/detail/-/B00000IZS1", "_blank");
}
Symbol 92 Button
on (release) {
getURL ("http://www.amazon.com/exec/obidos/tg/detail/-/B0000VSH4U", "_blank");
}
Symbol 94 Button
on (release) {
gotoAndPlay ("Menu");
}
Symbol 117 Button
on (release) {
if (((!useremail.length) || (useremail.indexOf("@") == -1)) || (useremail.indexOf(".") == -1)) {
answer = "Please enter a valid E-mail address";
} else if (((!friendemail.length) || (friendemail.indexOf("@") == -1)) || (friendemail.indexOf(".") == -1)) {
answer = "Please enter a valid E-mail address to send this to";
} else if (!friendname.length) {
answer = "Please enter the name of who you are sending this to";
} else if (!username.length) {
answer = "Please Enter your name before Sending";
} else {
action = "send";
loadVariablesNum ("email.php", 0, "POST");
answer = "Sending... One Moment Please...";
tellTarget ("_root.EmailIncrement") {
gotoAndPlay (2);
};
unloadMovieNum (10);
play();
}
}
Symbol 118 Button
on (release) {
unloadMovieNum (10);
_parent.gotoAndPlay("Menu");
}
Symbol 128 Button
on (release) {
_parent.gotoAndPlay("Start");
}
Symbol 131 Button
on (release) {
loadMovieNum ("Postcard_Thumb.swf", 10);
gotoAndPlay ("Entry");
}
Symbol 132 MovieClip Frame 1
useremail = "";
answer = "";
friendemail = "";
friendname = "";
username = "";
comments = "";
Symbol 132 MovieClip Frame 2
stop();
Symbol 132 MovieClip Frame 3
loadVariablesNum ("email.php", 0);
if (answer != "Sending... One Moment Please....") {
stop();
this.gotoAndPlay("Done");
} else {
play();
}
Symbol 132 MovieClip Frame 4
prevFrame();
Symbol 132 MovieClip Frame 6
stop();
Stamp = new Date();
TimeStamp = Stamp.getTime();
Symbol 135 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
timerdif = getTimer();
MySecondsTotal = 300;
whistle0sec = 0;
whistle10sec = 0;
timercountdownplay = 0;
Symbol 158 MovieClip Frame 3
prevFrame();
play();
Symbol 158 MovieClip Frame 4
clock = getTimer();
MySeconds = 300 - Math.round(Math.abs((clock - timerdif) / 1000));
if (MySeconds == 0) {
_root.LevelOver = 1;
gotoAndStop (6);
}
if (MySeconds < 100) {
MyZero2 = 0;
} else {
MyZero2 = "";
}
if (MySeconds == 11) {
unloadMovieNum (4);
if (timercountdownplay != 1) {
timercountdownplay = 1;
_root.TimeCountDown.gotoAndPlay(2);
}
}
if (MySeconds < 10) {
MyZero = 0;
} else {
MyZero = "";
}
Symbol 158 MovieClip Frame 5
prevFrame();
play();
Symbol 158 MovieClip Frame 6
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
timerdif = getTimer();
MySecondsTotal = 300;
whistle0sec = 0;
whistle10sec = 0;
timercountdownplay = 0;
Symbol 162 MovieClip Frame 3
prevFrame();
play();
Symbol 162 MovieClip Frame 4
clock = getTimer();
MySeconds = 300 - Math.round(Math.abs((clock - timerdif) / 1000));
if (MySeconds == 0) {
_root.LevelOverP2 = 1;
gotoAndStop (6);
}
if (MySeconds < 100) {
MyZero2 = 0;
} else {
MyZero2 = "";
}
if (MySeconds == 11) {
unloadMovieNum (4);
if (timercountdownplay != 1) {
timercountdownplay = 1;
_root.TimeCountDown.gotoAndPlay(2);
}
}
if (MySeconds < 10) {
MyZero = 0;
} else {
MyZero = "";
}
Symbol 162 MovieClip Frame 5
prevFrame();
play();
Symbol 162 MovieClip Frame 6
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 173 MovieClip Frame 4
stop();
Symbol 173 MovieClip Frame 5
stop();
Symbol 193 MovieClip Frame 1
this.headnum = 1;
stop();
Symbol 193 MovieClip Frame 2
stop();
Symbol 193 MovieClip Frame 3
stop();
Symbol 193 MovieClip Frame 4
stop();
Symbol 193 MovieClip Frame 5
stop();
Symbol 193 MovieClip Frame 6
stop();
Symbol 193 MovieClip Frame 7
stop();
Symbol 193 MovieClip Frame 8
play();
Symbol 193 MovieClip Frame 9
_root.TotalBlocksDestroyedP1++;
if (_root.combocounterP1 > 0) {
_root.CurrentComboBlocksP1++;
}
if (this.headnum == 5) {
_root.RingBlocksDestroyedP1++;
_root.Ring.gotoAndPlay(2);
voicenum = random(3) + 1;
if (_root.SonicVoicePlay != 1) {
_root.SonicVoicePlay = 1;
eval ("_root.Sonic" + voicenum).gotoAndPlay(2);
}
_root.SonicHeadP1.gotoAndStop(2);
if (eval ((("_root.r" + (this.row - 1)) + "b") + this.block)._currentframe == 2) {
this.headnum = 1;
eval ((("_root.r" + (this.row - 1)) + "b") + this.block).headnum = 5;
eval ((("_root.r" + (this.row - 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + this.row) + "b") + (this.block + 1))._currentframe == 2) {
this.headnum = 1;
eval ((("_root.r" + this.row) + "b") + (this.block + 1)).headnum = 5;
eval ((("_root.r" + this.row) + "b") + (this.block + 1)).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + (this.row + 1)) + "b") + this.block)._currentframe == 2) {
this.headnum = 1;
eval ((("_root.r" + (this.row + 1)) + "b") + this.block).headnum = 5;
eval ((("_root.r" + (this.row + 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + this.row) + "b") + (this.block - 1))._currentframe == 2) {
this.headnum = 1;
eval ((("_root.r" + this.row) + "b") + (this.block - 1)).headnum = 5;
eval ((("_root.r" + this.row) + "b") + (this.block - 1)).gotoAndPlay("Destroyed");
}
gotoAndPlay ("RingDestroyed");
}
if (this.headnum == 6) {
_root.BlockBlocksDestroyedP1++;
_root.Block.gotoAndPlay(2);
voicenum = random(3) + 1;
if (_root.KnucklesVoicePlay != 1) {
_root.KnucklesVoicePlay = 1;
eval ("_root.Knuckles" + voicenum).gotoAndPlay(2);
}
_root.KnucklesHeadP1.gotoAndStop(2);
if (eval ((("_root.r" + (this.row - 1)) + "b") + this.block)._currentframe == 3) {
this.headnum = 1;
eval ((("_root.r" + (this.row - 1)) + "b") + this.block).headnum = 6;
eval ((("_root.r" + (this.row - 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + this.row) + "b") + (this.block + 1))._currentframe == 3) {
this.headnum = 1;
eval ((("_root.r" + this.row) + "b") + (this.block + 1)).headnum = 6;
eval ((("_root.r" + this.row) + "b") + (this.block + 1)).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + (this.row + 1)) + "b") + this.block)._currentframe == 3) {
this.headnum = 1;
eval ((("_root.r" + (this.row + 1)) + "b") + this.block).headnum = 6;
eval ((("_root.r" + (this.row + 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + this.row) + "b") + (this.block - 1))._currentframe == 3) {
this.headnum = 1;
eval ((("_root.r" + this.row) + "b") + (this.block - 1)).headnum = 6;
eval ((("_root.r" + this.row) + "b") + (this.block - 1)).gotoAndPlay("Destroyed");
}
gotoAndPlay ("BlockDestroyed");
}
if (this.headnum == 7) {
_root.ChaosBlocksDestroyedP1++;
_root.Chaos.gotoAndPlay(2);
voicenum = random(3) + 1;
if (_root.TailsVoicePlay != 1) {
_root.TailsVoicePlay = 1;
eval ("_root.Tails" + voicenum).gotoAndPlay(2);
}
_root.TailsHeadP1.gotoAndStop(2);
if (eval ((("_root.r" + (this.row - 1)) + "b") + this.block)._currentframe == 4) {
this.headnum = 1;
eval ((("_root.r" + (this.row - 1)) + "b") + this.block).headnum = 7;
eval ((("_root.r" + (this.row - 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + this.row) + "b") + (this.block + 1))._currentframe == 4) {
this.headnum = 1;
eval ((("_root.r" + this.row) + "b") + (this.block + 1)).headnum = 7;
eval ((("_root.r" + this.row) + "b") + (this.block + 1)).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + (this.row + 1)) + "b") + this.block)._currentframe == 4) {
this.headnum = 1;
eval ((("_root.r" + (this.row + 1)) + "b") + this.block).headnum = 7;
eval ((("_root.r" + (this.row + 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.r" + this.row) + "b") + (this.block - 1))._currentframe == 4) {
this.headnum = 1;
eval ((("_root.r" + this.row) + "b") + (this.block - 1)).headnum = 7;
eval ((("_root.r" + this.row) + "b") + (this.block - 1)).gotoAndPlay("Destroyed");
}
gotoAndPlay ("ChaosDestroyed");
}
Symbol 193 MovieClip Frame 10
play();
Symbol 193 MovieClip Frame 15
gotoAndStop (1);
Symbol 193 MovieClip Frame 30
gotoAndStop (1);
Symbol 193 MovieClip Frame 44
gotoAndStop (1);
Symbol 193 MovieClip Frame 57
gotoAndStop (1);
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 101
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 101
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 101
stop();
Symbol 225 MovieClip Frame 1
this.headnum = 1;
stop();
Symbol 225 MovieClip Frame 2
stop();
Symbol 225 MovieClip Frame 3
stop();
Symbol 225 MovieClip Frame 4
stop();
Symbol 225 MovieClip Frame 5
stop();
Symbol 225 MovieClip Frame 6
stop();
Symbol 225 MovieClip Frame 7
stop();
Symbol 225 MovieClip Frame 8
play();
Symbol 225 MovieClip Frame 9
_root.TotalBlocksDestroyedP2++;
if (_root.combocounterP2 > 0) {
_root.CurrentComboBlocksP2++;
}
if (this.headnum == 5) {
_root.RingBlocksDestroyedP2++;
_root.Ring.gotoAndPlay(2);
voicenum = random(3) + 1;
if (_root.SonicVoicePlay != 1) {
_root.SonicVoicePlay = 1;
eval ("_root.Sonic" + voicenum).gotoAndPlay(2);
}
_root.SonicHeadP2.gotoAndStop(2);
if (eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block)._currentframe == 2) {
this.headnum = 1;
eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block).headnum = 5;
eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + this.row) + "b") + (this.block + 1))._currentframe == 2) {
this.headnum = 1;
eval ((("_root.P2r" + this.row) + "b") + (this.block + 1)).headnum = 5;
eval ((("_root.P2r" + this.row) + "b") + (this.block + 1)).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block)._currentframe == 2) {
this.headnum = 1;
eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block).headnum = 5;
eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + this.row) + "b") + (this.block - 1))._currentframe == 2) {
this.headnum = 1;
eval ((("_root.P2r" + this.row) + "b") + (this.block - 1)).headnum = 5;
eval ((("_root.P2r" + this.row) + "b") + (this.block - 1)).gotoAndPlay("Destroyed");
}
gotoAndPlay ("RingDestroyed");
}
if (this.headnum == 6) {
_root.BlockBlocksDestroyedP2++;
_root.Block.gotoAndPlay(2);
voicenum = random(3) + 1;
if (_root.KnucklesVoicePlay != 1) {
_root.KnucklesVoicePlay = 1;
eval ("_root.Knuckles" + voicenum).gotoAndPlay(2);
}
_root.KnucklesHeadP2.gotoAndStop(2);
if (eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block)._currentframe == 3) {
this.headnum = 1;
eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block).headnum = 6;
eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + this.row) + "b") + (this.block + 1))._currentframe == 3) {
this.headnum = 1;
eval ((("_root.P2r" + this.row) + "b") + (this.block + 1)).headnum = 6;
eval ((("_root.P2r" + this.row) + "b") + (this.block + 1)).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block)._currentframe == 3) {
this.headnum = 1;
eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block).headnum = 6;
eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + this.row) + "b") + (this.block - 1))._currentframe == 3) {
this.headnum = 1;
eval ((("_root.P2r" + this.row) + "b") + (this.block - 1)).headnum = 6;
eval ((("_root.P2r" + this.row) + "b") + (this.block - 1)).gotoAndPlay("Destroyed");
}
gotoAndPlay ("BlockDestroyed");
}
if (this.headnum == 7) {
_root.ChaosBlocksDestroyedP2++;
_root.Chaos.gotoAndPlay(2);
voicenum = random(3) + 1;
if (_root.TailsVoicePlay != 1) {
_root.TailsVoicePlay = 1;
eval ("_root.Tails" + voicenum).gotoAndPlay(2);
}
_root.TailsHeadP2.gotoAndStop(2);
if (eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block)._currentframe == 4) {
this.headnum = 1;
eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block).headnum = 7;
eval ((("_root.P2r" + (this.row - 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + this.row) + "b") + (this.block + 1))._currentframe == 4) {
this.headnum = 1;
eval ((("_root.P2r" + this.row) + "b") + (this.block + 1)).headnum = 7;
eval ((("_root.P2r" + this.row) + "b") + (this.block + 1)).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block)._currentframe == 4) {
this.headnum = 1;
eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block).headnum = 7;
eval ((("_root.P2r" + (this.row + 1)) + "b") + this.block).gotoAndPlay("Destroyed");
}
if (eval ((("_root.P2r" + this.row) + "b") + (this.block - 1))._currentframe == 4) {
this.headnum = 1;
eval ((("_root.P2r" + this.row) + "b") + (this.block - 1)).headnum = 7;
eval ((("_root.P2r" + this.row) + "b") + (this.block - 1)).gotoAndPlay("Destroyed");
}
gotoAndPlay ("ChaosDestroyed");
}
Symbol 225 MovieClip Frame 10
play();
Symbol 225 MovieClip Frame 15
gotoAndStop (1);
Symbol 225 MovieClip Frame 30
gotoAndStop (1);
Symbol 225 MovieClip Frame 44
gotoAndStop (1);
Symbol 225 MovieClip Frame 57
gotoAndStop (1);
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 3
stop();
Symbol 230 MovieClip Frame 4
stop();
Symbol 230 MovieClip Frame 5
stop();
Symbol 230 MovieClip Frame 6
stop();
Symbol 230 MovieClip Frame 7
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 3
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
stop();
Symbol 253 MovieClip Frame 3
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
stop();
Symbol 260 MovieClip Frame 3
stop();
Symbol 299 Button
on (release) {
_root.GameType = "Timed";
_root.play();
}
Symbol 302 Button
on (release) {
_root.GameType = "Freeplay";
_root.play();
}
Symbol 309 Button
on (release) {
gotoAndPlay ("Level1Loading");
audio.gotoAndStop("off");
}
Symbol 312 Button
on (release) {
gotoAndPlay ("Menu");
}
Symbol 324 MovieClip Frame 1
timerdif = getTimer();
MySecondsTotal = 300;
whistle0sec = 0;
whistle10sec = 0;
timercountdownplay = 0;
_root.SonicActiveP1 = 1;
DropSpeedOrig = _root.DropSpeedNumP1Base;
if (_root.DropSpeedNumP1Base <= 600) {
_root.DropSpeedNumP1Base = _root.DropSpeedNumP1Base + 400;
} else {
_root.DropSpeedNumP1Base = 1000;
}
Symbol 324 MovieClip Frame 2
clock = getTimer();
MySeconds = 30 - Math.round(Math.abs((clock - timerdif) / 1000));
if (MySeconds == 0) {
_root.SonicActive = 0;
_root.DropSpeedNumP1Base = DropSpeedOrig;
gotoAndStop (5);
_parent.gotoAndStop(1);
}
if (MySeconds < 10) {
MyZero = 0;
} else {
MyZero = "";
}
Symbol 324 MovieClip Frame 3
prevFrame();
play();
Symbol 324 MovieClip Frame 4
stop();
Symbol 325 MovieClip Frame 1
stop();
Instance of Symbol 324 MovieClip "Timer" in Symbol 325 MovieClip Frame 15
onClipEvent (enterFrame) {
}
Symbol 325 MovieClip Frame 35
prevFrame();
play();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 37
_root.Timer.timerdif = _root.Timer.timerdif + 30000;
if (_root.Timer.MySeconds < 11) {
loadMovieNum ("Level_Music.swf", 4);
_root.Timer.timercountdownplay = 0;
_root.TimeCountDown.gotoAndStop(1);
}
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 34
_root.KnucklesActive = 1;
if ((_root.OnscreenRingsP1 > _root.OnscreenBlocksP1) and (_root.OnscreenRingsP1 > _root.OnscreenChaosP1)) {
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 2) {
eval ("_root." + ((("r" + i) + "b") + j)).headnum = 5;
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
_root.combocounterP1 = 20;
_root.CurrentComboBlocksP1++;
}
j++;
}
i++;
}
}
if ((_root.OnscreenBlocksP1 > _root.OnscreenRingsP1) and (_root.OnscreenBlocksP1 > _root.OnscreenChaosP1)) {
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 3) {
eval ("_root." + ((("r" + i) + "b") + j)).headnum = 6;
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
_root.combocounterP1 = 20;
_root.CurrentComboBlocksP1++;
}
j++;
}
i++;
}
}
if ((_root.OnscreenChaosP1 > _root.OnscreenRingsP1) and (_root.OnscreenChaosP1 > _root.OnscreenBlocksP1)) {
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (eval ("_root." + ((("r" + i) + "b") + j))._currentframe == 4) {
eval ("_root." + ((("r" + i) + "b") + j)).headnum = 7;
eval ("_root." + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
_root.combocounterP1 = 20;
_root.CurrentComboBlocksP1++;
}
j++;
}
i++;
}
}
_root.KnucklesActive = 0;
Symbol 347 MovieClip Frame 1
timerdif = getTimer();
MySecondsTotal = 300;
whistle0sec = 0;
whistle10sec = 0;
timercountdownplay = 0;
_root.SonicActiveP2 = 1;
DropSpeedOrig = _root.DropSpeedNumP2Base;
if (_root.DropSpeedNumP2Base <= 600) {
_root.DropSpeedNumP2Base = _root.DropSpeedNumP2Base + 400;
} else {
_root.DropSpeedNumP2Base = 1000;
}
Symbol 347 MovieClip Frame 2
clock = getTimer();
MySeconds = 30 - Math.round(Math.abs((clock - timerdif) / 1000));
if (MySeconds == 0) {
_root.SonicActiveP2 = 0;
_root.DropSpeedNumP2Base = DropSpeedOrig;
gotoAndStop (5);
_parent.gotoAndStop(1);
}
if (MySeconds < 10) {
MyZero = 0;
} else {
MyZero = "";
}
Symbol 347 MovieClip Frame 3
prevFrame();
play();
Symbol 347 MovieClip Frame 4
stop();
Symbol 348 MovieClip Frame 1
stop();
Instance of Symbol 347 MovieClip "Timer" in Symbol 348 MovieClip Frame 15
onClipEvent (enterFrame) {
}
Symbol 348 MovieClip Frame 35
prevFrame();
play();
Symbol 349 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 37
_root.Timer2.timerdif = _root.Timer2.timerdif + 30000;
if (_root.Timer2.MySeconds < 11) {
loadMovieNum ("Level_Music.swf", 4);
_root.Timer2.timercountdownplay = 0;
_root.TimeCountDown.gotoAndStop(1);
}
Symbol 350 MovieClip Frame 1
stop();
Symbol 350 MovieClip Frame 34
_root.KnucklesActiveP2 = 1;
if ((_root.OnscreenRingsP2 > _root.OnscreenBlocksP2) and (_root.OnscreenRingsP2 > _root.OnscreenChaosP2)) {
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 2) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).headnum = 5;
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
_root.combocounterP2 = 20;
_root.CurrentComboBlocksP2++;
}
j++;
}
i++;
}
}
if ((_root.OnscreenBlocksP2 > _root.OnscreenRingsP2) and (_root.OnscreenBlocksP2 > _root.OnscreenChaosP2)) {
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 3) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).headnum = 6;
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
_root.combocounterP2 = 20;
_root.CurrentComboBlocksP2++;
}
j++;
}
i++;
}
}
if ((_root.OnscreenChaosP2 > _root.OnscreenRingsP2) and (_root.OnscreenChaosP2 > _root.OnscreenBlocksP2)) {
i = 1;
while (i < 14) {
j = 1;
while (j < 7) {
if (eval ("_root.P2" + ((("r" + i) + "b") + j))._currentframe == 4) {
eval ("_root.P2" + ((("r" + i) + "b") + j)).headnum = 7;
eval ("_root.P2" + ((("r" + i) + "b") + j)).gotoAndPlay("Destroyed");
_root.combocounterP2 = 20;
_root.CurrentComboBlocksP2++;
}
j++;
}
i++;
}
}
_root.KnucklesActiveP2 = 0;
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 2
filename = "sonicscores";
state = "busy";
name21 = "";
score21 = 0;
loadVariables ("http://immersion-a.sega.com/cgi-bin/SonicDBread.cgi", "", "POST");
Symbol 371 MovieClip Frame 4
if (state eq "busy") {
gotoAndPlay (3);
}
Symbol 371 MovieClip Frame 5
if (state eq "done") {
i = 1;
while (Number(i) <= 20) {
Set("/:name" add i, eval ("name" add i));
Set("/:score" add i, eval ("score" add i));
i = Number(i) + 1;
}
}
if (/:score ne "") {
name21 = /:name;
Set("/:name21", /:name);
score21 = /:score;
Set("/:score21", /:score);
scoretemp = score21;
nametemp = name21;
if (score21 < score20) {
score20 = score20;
} else {
scoretemp = score20;
nametemp = name20;
score20 = score21;
Set("/:score20", score21);
name20 = name21;
Set("/:name20", name21);
score21 = scoretemp;
name21 = nametemp;
}
i = 20;
while (i > 1) {
j = i - 1;
if (eval ("score" add i) > eval ("score" add j)) {
Set(scoretemp, eval ("score" add i));
Set(nametemp, eval ("name" add i));
Set("score" add i, eval ("score" add j));
Set("/:score" add i, eval ("score" add j));
Set("name" add i, eval ("name" add j));
Set("/:name" add i, eval ("name" add j));
Set("score" add j, eval (scoretemp));
Set("/:score" add j, eval (scoretemp));
Set("name" add j, eval (nametemp));
Set("/:name" add j, eval (nametemp));
}
i--;
}
}
filename = "sonicscores";
loadVariables ("http://immersion-a.sega.com/cgi-bin/SonicDBwrite.cgi", "", "POST");
gotoAndStop (1);
Symbol 373 Button
on (release) {
unloadMovieNum (205);
unloadMovieNum (4);
gotoAndPlay ("Level1Loading");
}
Symbol 374 Button
on (release) {
_root.Scoreloop.gotoAndStop(1);
unloadMovieNum (4);
gotoAndPlay ("Menu");
}
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 2
filename = "sonicscores";
state = "busy";
name21 = "";
score21 = 0;
loadVariables ("http://immersion-a.sega.com/cgi-bin/SonicDBread.cgi", "", "POST");
Symbol 375 MovieClip Frame 4
if (state eq "busy") {
gotoAndPlay (3);
}
Symbol 375 MovieClip Frame 5
if (state eq "done") {
i = 1;
while (Number(i) <= 20) {
Set("/:name" add i, eval ("name" add i));
Set("/:score" add i, eval ("score" add i));
i = Number(i) + 1;
}
}
stop();
Symbol 437 Button
on (release) {
gotoAndPlay ("Menu");
}
Symbol 440 Button
on (release) {
gotoAndPlay ("Email");
}
Symbol 446 Button
on (release) {
gotoAndPlay ("acorrer");
}
Symbol 447 Button
on (release) {
loadMovieNum ("Title_Music.swf", 5);
gotoAndPlay ("Menu");
}
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 2
stop();
Symbol 460 MovieClip Frame 3
stop();
Symbol 461 Button
on (release) {
_root.Scoreloop.gotoAndStop(1);
unloadMovieNum (4);
loadMovieNum ("Title_Music.swf", 5);
gotoAndPlay ("Menu");
}
Symbol 462 Button
on (release) {
_root.Scoreloop.gotoAndStop(1);
unloadMovieNum (4);
loadMovieNum ("Title_Music.swf", 5);
gotoAndPlay ("Email");
}