Section 1
//AdLoader (CPMStar.AdLoader)
package CPMStar {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public class AdLoader {
private static var cpmstarLoader:Loader;
public static function LoadAd(_arg1:int, _arg2:int):DisplayObject{
var _local3:String;
Security.allowDomain("server.cpmstar.com");
_local3 = "http://server.cpmstar.com/adviewas3.swf";
cpmstarLoader = new Loader();
cpmstarLoader.load(new URLRequest(((((_local3 + "?poolid=") + _arg1) + "&subpoolid=") + _arg2)));
return (cpmstarLoader);
}
}
}//package CPMStar
Section 2
//adCont_6 (scgmd3_fla.adCont_6)
package scgmd3_fla {
import flash.display.*;
public dynamic class adCont_6 extends MovieClip {
public var ndAd:SimpleButton;
public var adBox:MovieClip;
}
}//package scgmd3_fla
Section 3
//awardDisplay_70 (scgmd3_fla.awardDisplay_70)
package scgmd3_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class awardDisplay_70 extends MovieClip {
public function awardDisplay_70(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
gotoAndStop(MovieClip(parent).gameAward);
stop();
}
function frame1(){
gotoAndStop(MovieClip(parent).gameAward);
stop();
}
function frame4(){
gotoAndStop(MovieClip(parent).gameAward);
stop();
}
function frame2(){
gotoAndStop(MovieClip(parent).gameAward);
stop();
}
}
}//package scgmd3_fla
Section 4
//awardDisplaySmall_43 (scgmd3_fla.awardDisplaySmall_43)
package scgmd3_fla {
import flash.display.*;
public dynamic class awardDisplaySmall_43 extends MovieClip {
public function awardDisplaySmall_43(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package scgmd3_fla
Section 5
//clearConfirm_49 (scgmd3_fla.clearConfirm_49)
package scgmd3_fla {
import flash.display.*;
public dynamic class clearConfirm_49 extends MovieClip {
public var noButt:SimpleButton;
public var yesButt:SimpleButton;
}
}//package scgmd3_fla
Section 6
//cmdA_113 (scgmd3_fla.cmdA_113)
package scgmd3_fla {
import flash.display.*;
public dynamic class cmdA_113 extends MovieClip {
public function cmdA_113(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package scgmd3_fla
Section 7
//cmdBar_90 (scgmd3_fla.cmdBar_90)
package scgmd3_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cmdBar_90 extends MovieClip {
public function cmdBar_90(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame3(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame6(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame7(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame1(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame4(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame5(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame9(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame8(){
gotoAndStop(MovieClip(parent.parent).guit);
}
function frame2(){
gotoAndStop(MovieClip(parent.parent).guit);
}
}
}//package scgmd3_fla
Section 8
//cmdD_117 (scgmd3_fla.cmdD_117)
package scgmd3_fla {
import flash.display.*;
public dynamic class cmdD_117 extends MovieClip {
public function cmdD_117(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package scgmd3_fla
Section 9
//cmdF_119 (scgmd3_fla.cmdF_119)
package scgmd3_fla {
import flash.display.*;
public dynamic class cmdF_119 extends MovieClip {
public function cmdF_119(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package scgmd3_fla
Section 10
//cmdS_115 (scgmd3_fla.cmdS_115)
package scgmd3_fla {
import flash.display.*;
public dynamic class cmdS_115 extends MovieClip {
public function cmdS_115(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package scgmd3_fla
Section 11
//credits_18 (scgmd3_fla.credits_18)
package scgmd3_fla {
import flash.display.*;
public dynamic class credits_18 extends MovieClip {
public var mochiButt:SimpleButton;
public var creditsButt2:SimpleButton;
}
}//package scgmd3_fla
Section 12
//guyCont_95 (scgmd3_fla.guyCont_95)
package scgmd3_fla {
import flash.display.*;
public dynamic class guyCont_95 extends MovieClip {
public var guitar:MovieClip;
public var head:MovieClip;
public function guyCont_95(){
addFrameScript(0, frame1, 4, frame5, 8, frame9, 12, frame13, 16, frame17, 120, frame121);
}
function frame1(){
stop();
}
function frame13(){
stop();
}
function frame17(){
stop();
}
function frame5(){
stop();
}
function frame9(){
stop();
}
function frame121(){
gotoAndPlay(21);
}
}
}//package scgmd3_fla
Section 13
//guyGuitar_97 (scgmd3_fla.guyGuitar_97)
package scgmd3_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class guyGuitar_97 extends MovieClip {
public function guyGuitar_97(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10);
}
function frame10(){
gotoAndStop(MovieClip(root).guit);
}
function frame3(){
gotoAndStop(MovieClip(root).guit);
}
function frame6(){
gotoAndStop(MovieClip(root).guit);
}
function frame7(){
gotoAndStop(MovieClip(root).guit);
}
function frame1(){
gotoAndStop(MovieClip(root).guit);
}
function frame4(){
gotoAndStop(MovieClip(root).guit);
}
function frame5(){
gotoAndStop(MovieClip(root).guit);
}
function frame9(){
gotoAndStop(MovieClip(root).guit);
}
function frame8(){
gotoAndStop(MovieClip(root).guit);
}
function frame2(){
gotoAndStop(MovieClip(root).guit);
}
}
}//package scgmd3_fla
Section 14
//guyGuitarCont_96 (scgmd3_fla.guyGuitarCont_96)
package scgmd3_fla {
import flash.display.*;
public dynamic class guyGuitarCont_96 extends MovieClip {
public var strum:MovieClip;
public function guyGuitarCont_96(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package scgmd3_fla
Section 15
//guyStrumArm_109 (scgmd3_fla.guyStrumArm_109)
package scgmd3_fla {
import flash.display.*;
public dynamic class guyStrumArm_109 extends MovieClip {
public function guyStrumArm_109(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package scgmd3_fla
Section 16
//introFlash_76 (scgmd3_fla.introFlash_76)
package scgmd3_fla {
import flash.display.*;
public dynamic class introFlash_76 extends MovieClip {
public function introFlash_76(){
addFrameScript(5, frame6);
}
function frame6(){
stop();
}
}
}//package scgmd3_fla
Section 17
//keyX_59 (scgmd3_fla.keyX_59)
package scgmd3_fla {
import flash.display.*;
public dynamic class keyX_59 extends MovieClip {
public function keyX_59(){
addFrameScript(0, frame1);
}
function frame1(){
this.mouseEnabled = false;
}
}
}//package scgmd3_fla
Section 18
//loaderLoading_4 (scgmd3_fla.loaderLoading_4)
package scgmd3_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class loaderLoading_4 extends MovieClip {
public function loaderLoading_4(){
addFrameScript(27, frame28, 54, frame55);
}
function frame28(){
gotoAndPlay(1);
}
function frame55(){
stop();
MovieClip(root).showPlay();
MovieClip(parent.parent).removeChild(MovieClip(parent));
}
}
}//package scgmd3_fla
Section 19
//lockedGuitar_40 (scgmd3_fla.lockedGuitar_40)
package scgmd3_fla {
import flash.display.*;
import flash.text.*;
public dynamic class lockedGuitar_40 extends MovieClip {
public var lockText:TextField;
}
}//package scgmd3_fla
Section 20
//lockedSong_48 (scgmd3_fla.lockedSong_48)
package scgmd3_fla {
import flash.display.*;
import flash.text.*;
public dynamic class lockedSong_48 extends MovieClip {
public var numText:TextField;
}
}//package scgmd3_fla
Section 21
//notDoppler_intro_73 (scgmd3_fla.notDoppler_intro_73)
package scgmd3_fla {
import flash.display.*;
public dynamic class notDoppler_intro_73 extends MovieClip {
public function notDoppler_intro_73(){
addFrameScript(371, frame372);
}
function frame372(){
stop();
MovieClip(parent).gotoAndStop(2);
}
}
}//package scgmd3_fla
Section 22
//songDump_11 (scgmd3_fla.songDump_11)
package scgmd3_fla {
import flash.display.*;
public dynamic class songDump_11 extends MovieClip {
public function songDump_11(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package scgmd3_fla
Section 23
//tutorialMC_51 (scgmd3_fla.tutorialMC_51)
package scgmd3_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tutorialMC_51 extends MovieClip {
public var award2:MovieClip;
public var award3:MovieClip;
public var award4:MovieClip;
public var award1:MovieClip;
public var screen:int;
public var nextButt:SimpleButton;
public var prevButt:SimpleButton;
public function tutorialMC_51(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7);
}
public function removeTutorial():void{
this.nextButt.removeEventListener("click", nextButtClick);
this.prevButt.removeEventListener("click", prevButtClick);
MovieClip(parent).disableTutorial();
MovieClip(parent).gotoAndStop("main");
}
function frame3(){
if (screen){
if (screen != currentFrame){
gotoAndStop(screen);
} else {
MovieClip(parent.parent).playVoice("Tut3");
};
} else {
gotoAndStop(1);
};
}
function frame6(){
if (screen){
if (screen != currentFrame){
gotoAndStop(screen);
} else {
MovieClip(parent.parent).playVoice("Tut6");
};
} else {
gotoAndStop(1);
};
}
function frame7(){
award1.gotoAndStop(1);
award2.gotoAndStop(2);
award3.gotoAndStop(3);
award4.gotoAndStop(4);
if (screen){
if (screen != currentFrame){
gotoAndStop(screen);
} else {
MovieClip(parent.parent).playVoice("Tut7");
};
} else {
gotoAndStop(1);
};
}
function frame1(){
stop();
MovieClip(parent.parent).playVoice("Tut1");
screen = 1;
this.nextButt.addEventListener("click", nextButtClick);
this.prevButt.addEventListener("click", prevButtClick);
}
function frame4(){
if (screen){
if (screen != currentFrame){
gotoAndStop(screen);
} else {
MovieClip(parent.parent).playVoice("Tut4");
};
} else {
gotoAndStop(1);
};
}
function frame2(){
if (screen){
if (screen != currentFrame){
gotoAndStop(screen);
} else {
MovieClip(parent.parent).playVoice("Tut2");
};
} else {
gotoAndStop(1);
};
}
function frame5(){
if (screen){
if (screen != currentFrame){
gotoAndStop(screen);
} else {
MovieClip(parent.parent).playVoice("Tut5");
};
} else {
gotoAndStop(1);
};
}
public function nextButtClick(_arg1:Object):void{
if (screen < 7){
screen++;
gotoAndStop(screen);
} else {
if (screen == 7){
removeTutorial();
};
};
}
public function prevButtClick(_arg1:Object):void{
if (screen > 1){
screen--;
gotoAndStop(screen);
} else {
removeTutorial();
};
}
}
}//package scgmd3_fla
Section 24
//voiceX_58 (scgmd3_fla.voiceX_58)
package scgmd3_fla {
import flash.display.*;
public dynamic class voiceX_58 extends MovieClip {
public function voiceX_58(){
addFrameScript(0, frame1);
}
function frame1(){
this.mouseEnabled = false;
}
}
}//package scgmd3_fla
Section 25
//Butter (Butter)
package {
import flash.media.*;
public dynamic class Butter extends Sound {
}
}//package
Section 26
//cmd1 (cmd1)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cmd1 extends MovieClip {
public function cmd1(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
if (!MovieClip(parent).pressed){
gotoAndStop(1);
};
stop();
}
}
}//package
Section 27
//cmd2 (cmd2)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cmd2 extends MovieClip {
public function cmd2(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
if (!MovieClip(parent).pressed){
gotoAndStop(1);
};
stop();
}
}
}//package
Section 28
//cmd3 (cmd3)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cmd3 extends MovieClip {
public function cmd3(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
if (!MovieClip(parent).pressed){
gotoAndStop(1);
};
stop();
}
}
}//package
Section 29
//cmd4 (cmd4)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cmd4 extends MovieClip {
public function cmd4(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
if (!MovieClip(parent).pressed){
gotoAndStop(1);
};
stop();
}
}
}//package
Section 30
//cmd5 (cmd5)
package {
import flash.display.*;
public dynamic class cmd5 extends MovieClip {
public var letter:MovieClip;
public var holdBar:MovieClip;
public var holdBarBack:MovieClip;
public var end:MovieClip;
public function cmd5(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 31
//cmd6 (cmd6)
package {
import flash.display.*;
public dynamic class cmd6 extends MovieClip {
public var letter:MovieClip;
public var holdBar:MovieClip;
public var holdBarBack:MovieClip;
public var end:MovieClip;
public function cmd6(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 32
//cmd7 (cmd7)
package {
import flash.display.*;
public dynamic class cmd7 extends MovieClip {
public var letter:MovieClip;
public var holdBar:MovieClip;
public var holdBarBack:MovieClip;
public var end:MovieClip;
public function cmd7(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 33
//cmd8 (cmd8)
package {
import flash.display.*;
public dynamic class cmd8 extends MovieClip {
public var letter:MovieClip;
public var holdBar:MovieClip;
public var holdBarBack:MovieClip;
public var end:MovieClip;
public function cmd8(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 34
//Command (Command)
package {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class Command extends MovieClip {
private var evaluated:Boolean;// = false
public var travelTime:int;
public var pressed:Boolean;// = false
private var cmdTime:int;
private var appearPointY1:int;// = 59
private var appearPointY3:int;// = 162
private var appearPointY4:int;// = 213
private var appearPointY2:int;// = 108
private var cmdMC:MovieClip;
private var triggered:Boolean;// = false
private var keyVariable:String;
private var keySet:int;
private var holdCount:int;// = 0
private var pinged:Boolean;// = false
private var holdLength:int;
private var cmdType:int;
private var holdMulti:int;
private var appearPointX:int;// = 770
private var pingOff:Boolean;
private var pingRdy:Boolean;// = true
private var bitePointX:int;// = 70
private var travelDist:int;
public function Command(_arg1:int, _arg2:int, _arg3:int, _arg4:Boolean, _arg5:int, _arg6:int):void{
var _local7:Class;
appearPointX = 770;
appearPointY1 = 59;
appearPointY2 = 108;
appearPointY3 = 162;
appearPointY4 = 213;
bitePointX = 70;
triggered = false;
travelDist = (appearPointX - bitePointX);
evaluated = false;
pressed = false;
holdCount = 0;
pingRdy = true;
pinged = false;
super();
pingOff = _arg4;
keySet = _arg5;
cmdType = _arg1;
cmdTime = _arg3;
holdLength = _arg2;
travelTime = _arg6;
_local7 = (getDefinitionByName(("cmd" + cmdType)) as Class);
cmdMC = new (_local7);
if (_arg1 < 5){
cmdMC.cacheAsBitmap = true;
} else {
if (_arg5 == 2){
cmdMC.letter.gotoAndStop(1);
} else {
cmdMC.letter.gotoAndStop(2);
};
cmdMC.holdBar.scaleX = 0;
cmdMC.holdBarBack.scaleX = ((7 * holdLength) / travelTime);
cmdMC.end.x = (cmdMC.holdBarBack.scaleX * 100);
};
x = appearPointX;
addChild(cmdMC);
switch (_arg1){
case 1:
keyVariable = "upKey";
y = appearPointY1;
break;
case 2:
keyVariable = "riKey";
y = appearPointY2;
break;
case 3:
keyVariable = "leKey";
y = appearPointY3;
break;
case 4:
keyVariable = "doKey";
y = appearPointY4;
break;
case 5:
keyVariable = "aKey";
y = appearPointY4;
break;
case 6:
keyVariable = "sKey";
y = appearPointY3;
break;
case 7:
keyVariable = "dKey";
y = appearPointY2;
break;
case 8:
keyVariable = "fKey";
y = appearPointY1;
break;
default:
break;
};
addEventListener("enterFrame", cmdMove, false, 2);
}
private function destroy():void{
removeEventListener("enterFrame", cmdMove);
removeEventListener("enterFrame", cmdCheck);
removeEventListener("enterFrame", holdUpdate);
if (parent != null){
parent.removeChild(this);
};
}
private function cmdMove(_arg1:Event):void{
var _local2:int;
if (!MovieClip(parent).inGame){
destroy();
} else {
if (!MovieClip(parent).gamePaused){
_local2 = (getTimer() - (MovieClip(parent).startTime + cmdTime));
x = (appearPointX - ((travelDist * _local2) / travelTime));
if (!triggered){
if ((x - bitePointX) < 50){
addEventListener("enterFrame", cmdCheck, false, 1);
triggered = true;
};
} else {
if (!evaluated){
if ((x - bitePointX) < -35){
MovieClip(parent).evalMultiplier();
evaluated = true;
};
} else {
if (x < -(cmdMC.width)){
removeEventListener("enterFrame", cmdMove);
parent.removeChild(this);
};
};
};
};
};
}
private function holdUpdate(_arg1:Event):void{
var _local2:Number;
if (MovieClip(parent)[keyVariable] > 0){
_local2 = (bitePointX - x);
if ((_local2 / 100) > cmdMC.holdBarBack.scaleX){
_local2 = (cmdMC.letter.x = (cmdMC.holdBarBack.scaleX * 100));
cmdMC.holdBar.scaleX = cmdMC.holdBarBack.scaleX;
checkHold(_local2);
MovieClip(parent).cmdHit(1);
removeEventListener("enterFrame", holdUpdate);
} else {
cmdMC.holdBar.scaleX = (_local2 / 100);
cmdMC.letter.x = _local2;
checkHold(_local2);
};
} else {
removeEventListener("enterFrame", holdUpdate);
MovieClip(parent).cmdHit();
};
}
private function cmdCheck(_arg1:Event):void{
var _local2:MovieClip;
var _local3:int;
var _local4:Class;
var _local5:MovieClip;
var _local6:Class;
var _local7:MovieClip;
if (parent == null){
destroy();
} else {
if (!MovieClip(parent).gamePaused){
_local2 = MovieClip(parent);
if ((((_local2[keyVariable] > 0)) && ((_local2[keyVariable] < 5)))){
_local3 = Math.abs((x - bitePointX));
if (_local3 < 35){
if (cmdTime != _local2.lastTime){
_local2.evalMultiplier();
_local2.lastTime = cmdTime;
};
_local2[keyVariable] = 6;
if (!pingOff){
_local4 = (getDefinitionByName(("ping" + _local2.multiplier)) as Class);
_local5 = new (_local4);
_local5.x = bitePointX;
_local5.y = y;
_local5.alpha = 0.8;
_local2.addChild(_local5);
if (_local2.guitar > 2){
_local6 = (getDefinitionByName(("pingSp" + _local2.guitar)) as Class);
_local7 = new (_local6);
_local7.x = bitePointX;
_local7.y = y;
_local7.alpha = 0.8;
_local7.rotation = Math.floor((Math.random() * 360));
_local2.addChild(_local7);
};
};
pressed = true;
if (cmdType > 4){
x = bitePointX;
addEventListener("enterFrame", holdUpdate);
holdMulti = _local2.multiplier;
} else {
_local2.cmdHit(1);
};
removeEventListener("enterFrame", cmdCheck);
cmdMC.gotoAndStop(2);
_local2.scoreAdd(10);
_local2.comboAdd();
};
} else {
if ((x - bitePointX) < -35){
_local2.comboWipe();
_local2.cmdHit();
MovieClip(parent).evalMultiplier();
evaluated = true;
removeEventListener("enterFrame", cmdCheck);
};
};
};
};
}
private function checkHold(_arg1:Number):void{
var _local2:Class;
var _local3:MovieClip;
if (_arg1 > holdCount){
holdCount = (holdCount + 20);
MovieClip(parent).scoreAdd2(1, cmdType, holdMulti);
if (!pingOff){
if (pingRdy){
_local2 = (getDefinitionByName(("ping" + holdMulti)) as Class);
_local3 = new (_local2);
_local3.x = bitePointX;
_local3.y = y;
_local3.alpha = 0.8;
parent.addChild(_local3);
pingRdy = false;
} else {
pingRdy = true;
};
};
checkHold(_arg1);
};
}
}
}//package
Section 35
//EndSong (EndSong)
package {
import flash.display.*;
import flash.events.*;
public dynamic class EndSong extends MovieClip {
private var gameTiming:int;
private var notesHit:int;
private var notesTotal:int;
private var gameAward:int;
private var gameMode:int;
private var gameScore:int;
private var mistakes:int;
private var parentMC:MovieClip;
public function EndSong(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
gameScore = _arg1;
gameTiming = _arg2;
notesHit = _arg3;
notesTotal = _arg4;
mistakes = _arg5;
}
private function sponsorButtClick(_arg1:MouseEvent):void{
MovieClip(root).goURL("http://www.notdoppler.com");
}
private function retryButtClick(_arg1:MouseEvent):void{
this.sponsorButt.removeEventListener("click", sponsorButtClick);
this.menuButt.removeEventListener("click", menuButtClick);
this.retryButt.removeEventListener("click", retryButtClick);
this.ssButt.removeEventListener("click", ssButtClick);
if (gameMode == 2){
(gameTiming = (gameTiming - 10));
};
parentMC.loadGame(gameTiming);
parentMC.removeChild(this);
}
public function initiate():void{
var _local1:int;
var _local2:Boolean;
var _local3:Boolean;
parentMC = MovieClip(parent);
parentMC.adCount++;
if (parentMC.saving){
_local2 = false;
_local3 = false;
_local2 = (this.highScoreText.visible = (gameScore > parentMC.so.data.xyz[(gameTiming - 1)][0]));
};
switch (gameTiming){
case 1:
_local1 = 26018;
this.songText.text = "In Your Eyes by Verax";
break;
case 2:
_local1 = 23334;
this.songText.text = "Chaos Within by Tatsu-Takahashi";
break;
case 3:
_local1 = 36398;
this.songText.text = "The Instrumental Song by DTG";
break;
case 4:
_local1 = 39664;
this.songText.text = "Nobody Else by Noise Pollution";
break;
case 5:
_local1 = 17977;
this.songText.text = "All Day Comfort by SWiTCH";
break;
case 6:
_local1 = 55775;
this.songText.text = "The Fade by Setu Firestorm";
break;
case 7:
_local1 = 57395;
this.songText.text = "Lick Up The Honey by AQUILA";
break;
case 8:
_local1 = 88676;
this.songText.text = "Train Wreck by Noise Pollution";
break;
case 9:
_local1 = 54179;
this.songText.text = "Speedfreak by Eliminator";
break;
case 10:
_local1 = 25070;
this.songText.text = "Mars bars and Mentos by yapperface";
break;
case 11:
_local1 = 42780;
this.songText.text = "SWiTCH vs Evil-Dog Round 2";
break;
case 12:
_local1 = 41995;
this.songText.text = "Plan A by Nick Crockett";
break;
case 13:
_local1 = 47640;
break;
case 14:
_local1 = 34023;
_local1;
(this.songText.text = "Asshole! by Evil-Dog");
break;
default:
break;
};
if ((((((notesHit == 0)) && ((mistakes == 0)))) && ((gameScore == 0)))){
(MovieClip(parent).minim = true);
MovieClip(parent).playVoice("Minim");
if (MovieClip(parent).saving){
(MovieClip(parent).so.data.score[5] = true);
MovieClip(parent).so.flush();
};
};
if (gameScore > (_local1 + 1000)){
(gameAward = 0);
} else {
if ((((mistakes > 0)) || (!((notesHit == notesTotal))))){
(gameAward = (((gameScore > (_local1 * 0.2)) + (gameScore > (_local1 * 0.4))) + (gameScore > (_local1 * 0.6))));
} else {
(gameAward = 4);
};
};
if (parentMC.saving){
_local3 = (this.newAwardText.visible = (gameAward > parentMC.so.data.xyz[(gameTiming - 1)][1]));
_local3;
if (_local2){
(parentMC.so.data.xyz[(gameTiming - 1)][0] = gameScore);
};
if (_local3){
(parentMC.so.data.abc = (parentMC.so.data.abc + (gameAward - parentMC.so.data.xyz[(gameTiming - 1)][1])));
(parentMC.so.data.xyz[(gameTiming - 1)][1] = gameAward);
};
parentMC.flushTheSo2(this.dataSavedText);
parentMC.kongSubmit();
};
if (((!(parentMC.saving)) || (((!(_local3)) && (!(_local2)))))){
(this.dataSavedText.visible = false);
};
(this.scoreText.text = gameScore.toString());
(this.cmdHitText.text = notesHit.toString());
if (mistakes < 1000){
(this.mistakeText.text = mistakes.toString());
} else {
(this.mistakeText.text = "LOTS!");
};
(this.cmdTotalText.text = notesTotal.toString());
if (gameAward > 0){
this.awardDisplay.gotoAndStop(gameAward);
} else {
(this.awardDisplay.visible = false);
};
this.menuButt.addEventListener("click", menuButtClick);
this.sponsorButt.addEventListener("click", sponsorButtClick);
this.retryButt.addEventListener("click", retryButtClick);
this.ssButt.addEventListener("click", ssButtClick);
}
private function menuButtClick(_arg1:MouseEvent):void{
this.sponsorButt.removeEventListener("click", sponsorButtClick);
this.menuButt.removeEventListener("click", menuButtClick);
this.retryButt.removeEventListener("click", retryButtClick);
this.ssButt.removeEventListener("click", ssButtClick);
parentMC.loadMenu();
parentMC.removeChild(this);
}
private function ssButtClick(_arg1:MouseEvent):void{
var _local2:MovieClip;
this.sponsorButt.removeEventListener("click", sponsorButtClick);
this.menuButt.removeEventListener("click", menuButtClick);
this.retryButt.removeEventListener("click", retryButtClick);
this.ssButt.removeEventListener("click", ssButtClick);
_local2 = new MainMenu();
parentMC.addChildCentre(_local2);
parentMC.removeChild(this);
(parentMC.gameStage = 2);
_local2.initiate(true);
_local2.gotoAndStop("song");
}
}
}//package
Section 36
//errorDisplay (errorDisplay)
package {
import flash.display.*;
public dynamic class errorDisplay extends MovieClip {
}
}//package
Section 37
//fadeOut (fadeOut)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class fadeOut extends MovieClip {
public function fadeOut(){
addFrameScript(59, frame60);
}
function frame60(){
MovieClip(parent).loadSongEnd();
MovieClip(parent).removeChild(this);
stop();
}
}
}//package
Section 38
//Game (Game)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
public dynamic class Game extends MovieClip {
public var fKey:int;
public var leKey:int;
private var gameSong:Sound;
public var aKey:int;
public var timing:int;
private var tA:Array;
public var startTime:int;
public var lastTime:int;// = 0
private var score:int;// = 0
public var riKey:int;
public var inGame:Boolean;// = false
private var mistakes:int;// = 0
private var currentIndex:int;// = 0
private var gameSongChannel:SoundChannel;
public var sKey:int;
private var sKeyCode:int;
private var travelTime:int;// = 2250
private var aKeyCode:int;
public var dKey:int;
private var scoreSubmitCounter:int;// = 10000
private var combo:int;// = 0
private var fKeyCode:int;
private var comboMiss:int;// = 0
public var multiplier:int;// = 1
public var upKey:int;
public var doKey:int;
private var dKeyCode:int;
public function Game(_arg1:int):void{
var _local2:Class;
travelTime = 2250;
lastTime = 0;
score = 0;
mistakes = 0;
combo = 0;
comboMiss = 0;
multiplier = 1;
gameSongChannel = new SoundChannel();
currentIndex = 0;
scoreSubmitCounter = 10000;
inGame = false;
super();
timing = _arg1;
this.frets.cacheAsBitmap = true;
this.guy.head.stop();
this.scoreText.text = score.toString();
this.mistakeText.text = mistakes.toString();
this.restartButt.visible = false;
this.statusBar.scaleX = 0;
updateMultiplier(false);
loadSongName();
_local2 = (getDefinitionByName(("song" + timing)) as Class);
gameSong = new (_local2);
switch (timing){
case 1:
tA = [[819, 1], [1172, 2], [1525, 3], [2408, 2], [3643, 1], [3996, 2], [4349, 3], [5231, 2], [6467, 1], [6820, 2], [7173, 3], [8055, 2], [9290, 1], [9643, 2], [9996, 4], [11584, 8, 2300], [14408, 8, 2300], [17232, 8, 2300], [20055, 8, 500], [20938, 7, 1400], [23243, 1], [23949, 1], [24655, 1], [25361, 1], [26067, 1], [26772, 1], [27478, 1], [28184, 1], [28890, 3], [29596, 3], [30302, 3], [31008, 3], [31714, 3], [32420, 3], [33126, 2], [33831, 2], [34537, 1], [35243, 1], [35949, 1], [36655, 1], [37361, 1], [38067, 1], [38773, 1], [39479, 1], [40185, 3], [40890, 3], [41596, 3], [42302, 3], [0xA800, 3], [43714, 3], [44420, 2], [45126, 2], [45455, 7, 2300], [48279, 6, 2300], [51102, 5, 2300], [53926, 6, 2300], [56749, 7, 2300], [59573, 6, 2300], [62397, 5, 2300], [65220, 6, 2300], [68065, 4], [70183, 2], [70889, 3], [73006, 3], [73359, 2], [73712, 1], [75124, 1], [75830, 2], [76536, 3], [77948, 2], [78654, 3], [79723, 1], [80429, 1], [81135, 1], [81841, 1], [82547, 1], [83252, 1], [83958, 1], [84664, 1], [85370, 3], [86076, 3], [86782, 3], [87488, 3], [88194, 3], [88900, 3], [89606, 2], [90311, 2], [91017, 1], [91723, 1], [92429, 1], [93135, 1], [93841, 1], [94547, 1], [95253, 1], [95959, 1], [96665, 3], [97370, 3], [98076, 3], [98782, 3], [99488, 3], [100194, 3], [100900, 2], [101606, 2], [101959, 7, 2300], [104782, 6, 2300], [107606, 5, 2300], [110430, 6, 2300], [113253, 7, 2300], [116077, 6, 2300], [118900, 5, 2300], [121724, 6, 2300], [124525, 2], [124878, 4], [125231, 2], [125584, 4], [125937, 2], [126290, 4], [126643, 2], [126996, 4], [127349, 3], [127702, 4], [128055, 3], [128407, 4], [128760, 3], [129113, 4], [129466, 3], [129819, 4], [130172, 2], [130525, 4], [130878, 2], [131231, 4], [131584, 2], [131937, 4], [132290, 2], [132643, 4], [132996, 1], [133349, 4], [133702, 1], [134055, 4], [134408, 1], [134761, 4], [135114, 1], [135466, 4], [135819, 2], [136172, 4], [136525, 2], [136878, 4], [137231, 2], [137584, 4], [137937, 2], [138290, 4], [138643, 3], [138996, 4], [139349, 3], [139702, 4], [140055, 3], [140408, 4], [140761, 3], [141114, 4], [141467, 2], [141820, 4], [142173, 2], [142525, 4], [142878, 2], [143231, 4], [143584, 2], [143937, 4], [144290, 1], [144643, 4], [144996, 1], [145349, 4], [145702, 1], [146055, 4], [146408, 1], [146761, 4], [149454, 5, 800], [152278, 7, 800], [155101, 6, 800], [158753, 1], [159459, 1], [160165, 1], [160871, 1], [161577, 1], [162282, 1], [162988, 1], [163694, 1], [164400, 3], [165106, 3], [165812, 3], [166518, 3], [167224, 3], [167930, 3], [168636, 2], [169341, 2], [169694, 7, 2300], [172518, 6, 2300], [175342, 5, 2300], [178165, 6, 2300], [180989, 7, 2300], [183812, 6, 2300], [186636, 5, 2300], [189460, 6, 2300], [192283, 8, 2300], [195107, 8, 2300], [197930, 8, 2300], [200754, 8, 500], [201636, 7, 1400], [203578, 1], [203754, 2], [203931, 1], [206401, 1], [206578, 2], [206754, 1], [209225, 1], [209401, 2], [209578, 1], [212048, 1], [212225, 2], [212401, 1], [212931, 2], [213107, 3], [213284, 2], [214940, 7, 1000]];
break;
case 2:
tA = [[3103, 4], [3665, 1], [4040, 2], [4790, 2], [5165, 3], [5728, 3], [6103, 4], [6665, 1], [7040, 2], [7790, 8, 1100], [9103, 4], [9665, 1], [10040, 2], [10790, 2], [11165, 3], [11728, 3], [12103, 4], [12665, 1], [13040, 2], [13790, 8, 1100], [15103, 4], [15478, 4], [15665, 4], [16040, 4], [16228, 4], [16603, 4], [16978, 4], [17165, 4], [17540, 4], [17728, 4], [18103, 4], [18478, 4], [18665, 4], [19040, 4], [19228, 4], [19603, 4], [19978, 4], [20540, 2], [20728, 3], [21103, 4], [21478, 4], [21665, 4], [22040, 4], [22228, 4], [22603, 4], [22978, 4], [23165, 4], [23540, 4], [23728, 4], [24103, 4], [24478, 4], [24665, 4], [25040, 4], [25228, 4], [25603, 4], [25978, 4], [26540, 2], [0x6868, 3], [27103, 4], [27478, 4], [27665, 4], [28040, 4], [28228, 4], [28603, 4], [28978, 4], [29165, 4], [29540, 4], [29728, 4], [30103, 4], [30478, 4], [30665, 4], [31040, 4], [31228, 4], [31603, 4], [31978, 4], [32540, 2], [32728, 3], [33103, 4], [33478, 4], [33665, 4], [34040, 4], [34228, 4], [34603, 4], [34978, 4], [35165, 4], [35540, 4], [35728, 4], [36103, 4], [36478, 4], [36665, 4], [37040, 4], [37415, 4], [37790, 6, 550], [38540, 2], [38728, 3], [39290, 8, 800], [40415, 7, 800], [41540, 2], [0xA300, 3], [43040, 2], [44165, 1], [45290, 8, 800], [46415, 7, 800], [47540, 2], [47728, 3], [48665, 2], [49790, 2], [50540, 1], [51290, 8, 800], [52415, 7, 800], [53540, 2], [53728, 3], [0xD700, 2], [56165, 1], [57290, 8, 800], [58415, 7, 800], [59540, 2], [59728, 3], [60103, 4], [60665, 1], [61040, 2], [61790, 2], [62165, 3], [62728, 3], [63103, 4], [63665, 1], [64040, 2], [64790, 8, 1100], [66103, 4], [66665, 1], [67040, 2], [67790, 2], [68165, 3], [68728, 3], [69103, 4], [69665, 1], [70040, 2], [70790, 8, 1100], [72103, 4], [72478, 4], [72665, 4], [73040, 4], [73228, 4], [73603, 4], [73978, 4], [74165, 4], [74540, 4], [74728, 4], [75103, 4], [75478, 4], [75665, 4], [76040, 4], [76228, 4], [76603, 4], [76978, 4], [77540, 2], [77728, 3], [78103, 4], [78478, 4], [78665, 4], [79040, 4], [79228, 4], [79603, 4], [79978, 4], [80165, 4], [80540, 4], [80728, 4], [81103, 4], [81478, 4], [81665, 4], [82040, 4], [82228, 4], [82603, 4], [82978, 4], [83540, 2], [83728, 3], [84103, 4], [84478, 4], [84665, 4], [85040, 4], [85228, 4], [85603, 4], [85978, 4], [86165, 4], [86540, 4], [86728, 4], [87103, 4], [87478, 4], [87665, 4], [88040, 4], [88228, 4], [88603, 4], [88978, 4], [89540, 2], [89728, 3], [90103, 4], [90478, 4], [90665, 4], [91040, 4], [91228, 4], [91603, 4], [91978, 4], [92165, 4], [92540, 4], [92728, 4], [93103, 4], [93478, 4], [93665, 4], [94040, 4], [94415, 4], [94790, 6, 550], [95540, 2], [95728, 3], [96290, 8, 800], [97415, 7, 800], [98540, 2], [98728, 3], [100040, 2], [101165, 1], [102290, 8, 800], [103415, 7, 800], [104540, 2], [104728, 3], [105665, 2], [106790, 2], [107540, 1], [108290, 8, 800], [109415, 7, 800], [110540, 2], [110728, 3], [112040, 2], [113165, 1], [114290, 8, 800], [115415, 7, 800], [116540, 2], [116728, 3], [117103, 4], [117665, 1], [118040, 2], [118790, 2], [119165, 3], [119728, 3], [120103, 4], [120665, 1], [121040, 2], [121790, 8, 1100], [123103, 4], [123665, 1], [124040, 2], [124790, 2], [125165, 3], [125728, 3], [126103, 4], [126665, 1], [127040, 2], [127790, 8, 1100], [129103, 4]];
break;
case 3:
tA = [[290, 3], [702, 1], [907, 2], [1113, 3], [1319, 1], [1525, 2], [1730, 6, 1500], [3582, 3], [3994, 1], [4199, 2], [4405, 3], [4611, 1], [4817, 2], [5022, 6, 1500], [6855, 3], [7250, 1], [7448, 2], [7645, 3], [7843, 1], [8040, 2], [8238, 6, 1500], [10015, 3], [10410, 1], [10608, 2], [10805, 3], [11003, 1], [11200, 2], [11398, 3], [11793, 4], [11990, 4], [12188, 4], [12385, 2], [12780, 3], [13176, 3], [13579, 1], [13780, 2], [13982, 3], [14183, 1], [14384, 2], [14586, 6, 1500], [16398, 3], [16801, 1], [17002, 2], [17204, 3], [17405, 1], [17606, 2], [17808, 3], [18210, 4], [18412, 4], [18613, 4], [18815, 2], [19217, 3], [19620, 3], [20017, 1], [20215, 2], [20413, 3], [20611, 1], [20810, 2], [21008, 6, 1500], [22792, 3], [23189, 1], [0x5B5B, 2], [23585, 3], [23783, 1], [23982, 2], [24180, 3], [0x6000, 4], [24775, 4], [24973, 4], [25171, 2], [25568, 3], [25960, 4], [26359, 4], [26759, 3], [26958, 3], [27357, 2], [27757, 3], [28156, 4], [28555, 4], [28755, 4], [29154, 4], [29553, 4], [29953, 3], [30152, 3], [30551, 3], [30951, 2], [31350, 1], [31749, 1], [31949, 1], [32350, 4], [32750, 4], [33150, 3], [33350, 3], [33750, 2], [34150, 3], [34550, 4], [34950, 4], [35150, 4], [35550, 4], [35950, 4], [36350, 3], [36550, 3], [36950, 3], [37350, 2], [37750, 1], [38150, 1], [38350, 2], [38750, 3], [39146, 1], [39344, 2], [39543, 3], [39741, 1], [39939, 2], [40137, 6, 1500], [41920, 3], [42316, 1], [42514, 2], [42713, 3], [42911, 1], [43109, 2], [43307, 3], [43703, 4], [43901, 4], [44099, 4], [44298, 2], [44694, 3], [45000, 3], [45388, 1], [45582, 2], [45776, 3], [45970, 1], [46164, 2], [46358, 6, 1500], [48104, 3], [48492, 1], [48686, 2], [48880, 3], [49074, 1], [49268, 2], [49462, 3], [49850, 4], [50044, 4], [50238, 4], [0xC500, 2], [50820, 3], [51210, 4], [51603, 4], [51997, 3], [52193, 3], [52586, 2], [52980, 3], [53373, 4], [53766, 4], [53963, 4], [54356, 4], [54749, 4], [55143, 3], [55339, 3], [55732, 3], [56126, 2], [56519, 1], [56912, 1], [57109, 1], [57500, 4], [57886, 4], [58272, 3], [58465, 3], [58851, 2], [59237, 3], [59623, 4], [60009, 4], [60202, 4], [60588, 4], [60974, 4], [61360, 3], [61553, 3], [61939, 3], [62325, 2], [62711, 1], [63097, 1], [63290, 1], [63630, 3], [63822, 3], [64398, 1], [64589, 2], [64973, 4], [65357, 3], [65933, 4], [66316, 4], [66700, 3], [66892, 3], [67084, 4], [67276, 4], [67468, 1], [67659, 2], [68043, 4], [68427, 3], [69003, 4], [69386, 4], [69770, 3], [69962, 3], [70537, 1], [70729, 2], [71112, 4], [71496, 3], [72071, 4], [72455, 4], [72838, 3], [73030, 3], [73605, 1], [73797, 2], [74180, 4], [74564, 3], [74756, 2], [74947, 3], [75139, 8, 1300], [76673, 3], [77057, 4], [77410, 6, 1300], [78968, 7, 1300], [80526, 6, 1300], [82084, 7, 1300], [83640, 6, 1300], [85174, 7, 1300], [86708, 6, 1300], [88242, 2], [88626, 2], [89009, 2], [89393, 2], [89780, 4], [90168, 4], [90555, 3], [90749, 3], [91136, 2], [91524, 3], [91911, 4], [92299, 4], [92493, 4], [92880, 4], [93268, 4], [93655, 3], [93849, 3], [94236, 3], [94624, 2], [95011, 1], [95399, 1], [95593, 1], [95980, 4], [96368, 4], [96755, 3], [96949, 3], [97336, 2], [97724, 3], [98111, 4], [98499, 4], [98693, 4], [98886, 4], [99080, 4], [99468, 4], [99855, 3], [100049, 3], [100436, 3], [100824, 2], [101211, 1], [101599, 1], [101793, 1], [102180, 3], [102560, 1], [102749, 2], [102939, 3], [103129, 1], [103319, 2], [103508, 6, 1400], [105216, 3], [105596, 1], [105785, 2], [105975, 3], [106165, 1], [106355, 2], [106544, 3], [106924, 4], [107114, 4], [107303, 4], [107493, 2], [107873, 3], [108250, 3], [108628, 1], [108816, 2], [109005, 3], [109194, 1], [109383, 2], [109571, 6, 1400], [111270, 3], [111648, 1], [111836, 2], [112025, 3], [112214, 1], [112403, 2], [112591, 3], [112969, 4], [113158, 4], [113346, 4], [113535, 2], [113913, 3], [114240, 4], [114624, 4], [115007, 3], [115199, 3], [115582, 2], [115966, 3], [116349, 4], [116733, 4], [116925, 4], [117308, 4], [117692, 4], [118075, 3], [118267, 3], [118650, 3], [119034, 2], [119417, 1], [119801, 1], [119993, 1], [120370, 4], [120748, 4], [121125, 3], [121314, 3], [121691, 2], [122069, 3], [122446, 4], [122824, 4], [123013, 4], [123390, 4], [123768, 4], [124145, 3], [124334, 3], [124711, 3], [125089, 2], [125466, 1], [125844, 1], [126033, 1], [126410, 3], [126602, 3], [126794, 3], [126985, 3], [127177, 3], [127369, 3], [127561, 4], [127752, 3], [128136, 2], [128519, 1], [128903, 1], [129095, 1], [129286, 1], [129478, 3], [129670, 3], [129862, 3], [130053, 3], [130245, 3], [130437, 3], [130629, 4], [130820, 3], [131204, 2], [131587, 1], [131971, 1], [132163, 1], [132354, 1], [132480, 3], [132674, 3], [132868, 3], [133061, 3], [133255, 3], [133449, 3], [133643, 4], [133836, 3], [134224, 2], [134611, 1], [134999, 1], [135193, 1], [135386, 1], [135580, 3], [135774, 3], [135968, 3], [136161, 3], [136355, 3], [136549, 3], [136743, 4], [136936, 3], [137324, 2], [137711, 8, 700]];
break;
case 4:
tA = [[11075, 7, 1100], [12454, 6, 1100], [13834, 5, 1100], [15213, 6, 1100], [16592, 7, 1100], [17972, 6, 1100], [19351, 5, 1100], [20730, 7, 1100], [22109, 2], [22454, 2], [22627, 1], [22971, 1], [23489, 3], [23834, 3], [24006, 1], [24351, 1], [24868, 4], [25213, 4], [25385, 2], [25730, 2], [26247, 3], [26592, 3], [26765, 1], [27109, 1], [27626, 2], [27971, 2], [28144, 1], [28488, 1], [29006, 3], [29351, 3], [29523, 1], [29868, 1], [30385, 4], [30730, 4], [30902, 2], [31247, 2], [31764, 3], [32109, 3], [32282, 1], [32626, 1], [33143, 2], [33488, 2], [33661, 1], [34005, 1], [34523, 3], [34868, 3], [35040, 1], [35385, 1], [35902, 4], [36247, 4], [36419, 2], [36764, 2], [37281, 3], [37626, 3], [37799, 1], [38143, 1], [38660, 2], [39005, 2], [39178, 1], [39522, 1], [40040, 3], [40385, 3], [40557, 1], [40902, 1], [41419, 4], [41764, 4], [41936, 2], [42281, 2], [42798, 3], [43143, 3], [43316, 1], [43660, 1], [44178, 5, 5207], [46937, 6, 2450], [49695, 6, 1100], [51075, 7, 1100], [52454, 8, 1380], [55213, 7, 1100], [56592, 6, 1100], [57972, 5, 1100], [59351, 6, 1100], [60730, 7, 1100], [62110, 6, 1100], [63489, 5, 1100], [64868, 6, 1100], [66247, 7, 1100], [67626, 6, 1100], [69006, 5, 1100], [70385, 6, 1100], [71764, 7, 1100], [73144, 6, 1100], [74523, 5, 1100], [75902, 6, 1100], [77281, 4], [77799, 4], [78316, 4], [78661, 3], [79178, 3], [79695, 3], [80040, 4], [80557, 4], [81074, 4], [81419, 2], [81937, 2], [82454, 2], [82799, 4], [83316, 4], [83833, 4], [84178, 3], [84695, 3], [85212, 3], [85557, 2], [86074, 2], [86592, 2], [86937, 1], [87454, 1], [87971, 1], [88316, 2], [88661, 2], [88834, 1], [89178, 1], [89696, 3], [90041, 3], [90213, 1], [90558, 1], [91075, 4], [91420, 4], [91592, 2], [91937, 2], [92454, 3], [92799, 3], [92972, 1], [93316, 1], [93833, 2], [94178, 2], [94351, 1], [94695, 1], [95213, 3], [95558, 3], [95730, 1], [96075, 1], [96592, 4], [96937, 4], [97109, 2], [97454, 2], [97971, 3], [98316, 3], [98489, 1], [98833, 1], [99350, 2], [99695, 2], [99868, 1], [100212, 1], [100730, 3], [101075, 3], [101247, 1], [101592, 1], [102109, 4], [102454, 4], [102626, 2], [102971, 2], [103488, 3], [103833, 3], [104006, 1], [104350, 1], [104867, 2], [105212, 2], [105385, 1], [105729, 1], [106247, 3], [106592, 3], [106764, 1], [107109, 1], [107626, 4], [107971, 4], [108143, 2], [108488, 2], [109005, 3], [109350, 3], [109523, 1], [109867, 1], [110385, 5, 5207], [113144, 6, 2450], [115902, 6, 1100], [117282, 7, 1100], [118661, 8, 1380], [121420, 7, 1100], [122799, 6, 1100], [124179, 5, 1100], [125558, 6, 1100], [126937, 7, 1100], [128317, 6, 1100], [129696, 5, 1100], [131075, 6, 1100], [132454, 7, 1100], [133833, 6, 1100], [135213, 5, 1100], [136592, 6, 1100], [137971, 7, 1100], [139351, 6, 1100], [140730, 5, 1100], [142109, 6, 1100], [143488, 4], [143660, 4], [144005, 4], [144177, 4], [145384, 4], [145557, 4], [145729, 4], [146074, 4], [146246, 3], [146418, 3], [146763, 3], [146935, 3], [148142, 3], [148315, 3], [148487, 3], [148832, 3], [149005, 4], [149177, 4], [149522, 4], [149694, 4], [150901, 4], [151074, 4], [151246, 4], [151591, 4], [151763, 3], [151935, 3], [152280, 3], [152452, 3], [153659, 3], [153832, 3], [154004, 3], [154349, 3], [154522, 4], [154694, 4], [155039, 4], [155211, 4], [156418, 4], [156591, 4], [156763, 4], [157108, 4], [157280, 3], [157452, 3], [157797, 3], [157969, 3], [159176, 3], [159349, 3], [159521, 3], [159866, 3], [160039, 2], [160211, 2], [160556, 2], [160728, 2], [161935, 2], [162108, 2], [162280, 2], [162625, 2], [162797, 2], [162969, 2], [163314, 2], [163486, 2], [164693, 2], [164866, 2], [165038, 2], [165557, 5, 5207], [168316, 6, 2450], [171074, 6, 1100], [172454, 7, 1100], [173833, 8, 1380], [176591, 2], [176936, 2], [177281, 2], [177625, 2], [177970, 3], [178315, 3], [178660, 3], [179005, 3], [179350, 4], [179694, 4], [180039, 4], [180384, 4], [180729, 3], [181074, 3], [181419, 3], [181763, 3], [182108, 2], [182453, 2], [182798, 2], [183143, 2], [183488, 3], [183832, 3], [184177, 3], [184522, 3], [184867, 4], [185212, 4], [185556, 4], [185901, 4], [186246, 3], [186591, 3], [186936, 3], [187281, 3], [187625, 2], [187970, 2], [188315, 2], [188659, 2], [189004, 3], [189349, 3], [189694, 3], [190039, 3], [190384, 4], [190728, 4], [191073, 4], [191418, 4], [191763, 3], [192108, 3], [192453, 3], [192797, 3], [193142, 2], [193487, 2], [193832, 2], [194177, 2], [194522, 3], [194866, 3], [195211, 3], [195556, 3], [195901, 4], [196246, 4], [196590, 4], [196935, 4], [197280, 3], [197625, 3], [197970, 3], [198315, 3], [198660, 7, 4400], [198660, 8, 4400]];
break;
case 5:
tA = [[90, 2], [756, 3], [1256, 4], [1755, 3], [2088, 3], [2755, 2], [3421, 3], [3920, 4], [4420, 3], [4753, 3], [5419, 2], [6085, 3], [6585, 1], [7084, 3], [7417, 3], [8084, 7, 800], [9083, 4], [9416, 6, 1100], [10748, 5, 2200], [11082, 2], [11583, 3], [12083, 1], [12584, 3], [13085, 2], [13419, 5, 2200], [13752, 2], [14253, 3], [14754, 1], [15254, 3], [15755, 2], [15922, 2], [16089, 5, 2200], [16423, 2], [16924, 3], [17424, 1], [17925, 3], [18426, 2], [18760, 5, 2200], [19093, 2], [19594, 3], [20095, 2], [20595, 3], [21430, 7, 2200], [21764, 2], [22266, 3], [22767, 1], [23269, 3], [23770, 2], [24105, 5, 2200], [24439, 2], [24940, 3], [25442, 1], [25943, 3], [26445, 2], [26612, 2], [26779, 5, 2200], [27113, 2], [27615, 3], [28116, 1], [28618, 3], [29119, 2], [29454, 5, 2200], [29788, 2], [30289, 3], [30791, 4], [31292, 3], [32105, 4], [32272, 3], [32606, 7, 450], [33275, 2], [33609, 7, 1000], [34111, 2], [34445, 1], [34780, 4], [34947, 3], [35281, 7, 450], [35950, 2], [36284, 7, 1000], [36785, 2], [0x9100, 3], [37450, 4], [37616, 3], [37948, 7, 450], [38612, 2], [38944, 7, 1000], [39442, 2], [39774, 1], [40107, 4], [40273, 3], [40605, 7, 450], [41269, 2], [41601, 7, 1000], [42099, 2], [42431, 3], [42764, 4], [42931, 3], [0xA900, 7, 450], [43932, 2], [44265, 7, 1000], [44766, 2], [45099, 1], [45433, 4], [45600, 3], [45933, 7, 450], [46601, 2], [46934, 7, 1000], [47435, 2], [47768, 3], [48100, 4], [48266, 3], [48598, 7, 450], [49263, 2], [49595, 7, 1000], [50093, 2], [50425, 1], [50758, 4], [50924, 3], [51256, 7, 450], [51920, 2], [52252, 7, 1000], [52751, 2], [53083, 3], [53420, 5, 2200], [53754, 2], [54256, 3], [54757, 1], [55259, 3], [55760, 2], [56095, 5, 2200], [56429, 2], [56930, 3], [57432, 1], [57933, 3], [58435, 2], [58602, 2], [58769, 5, 2200], [59103, 2], [59605, 3], [60106, 1], [60608, 3], [61109, 2], [61444, 5, 2200], [61778, 2], [62279, 3], [62781, 2], [63282, 3], [64120, 7, 2200], [64449, 2], [64942, 3], [65435, 1], [65928, 3], [66421, 2], [66750, 4], [66917, 3], [67251, 7, 450], [67918, 2], [68252, 7, 1000], [68753, 2], [69086, 1], [69420, 4], [69587, 3], [69921, 7, 450], [70588, 2], [70922, 7, 1000], [71423, 2], [71756, 3], [72090, 4], [72257, 3], [72591, 7, 450], [73258, 2], [73592, 7, 1000], [74093, 2], [74426, 1], [74760, 4], [74927, 3], [75261, 7, 450], [75928, 2], [76262, 7, 1000], [76763, 2], [77096, 3], [77420, 7, 1500], [77750, 1], [78245, 2], [78740, 3], [79235, 5, 600]];
break;
case 6:
tA = [[100, 6, 4400], [4600, 4], [4788, 4], [6850, 6, 900], [7975, 7, 900], [9100, 8, 4500], [18100, 2], [18663, 4], [19225, 2], [19600, 4], [19975, 3], [20350, 1], [20913, 3], [21475, 2], [21850, 4], [22225, 2], [22600, 2], [23163, 4], [23725, 2], [24100, 4], [24475, 3], [24850, 1], [25413, 3], [25975, 2], [26350, 4], [26725, 2], [27100, 3], [27288, 4], [27663, 4], [28038, 4], [28225, 3], [28413, 4], [28788, 4], [29163, 4], [29350, 2], [29538, 4], [29913, 4], [30288, 4], [30475, 1], [30663, 4], [31038, 4], [31413, 4], [31600, 3], [31788, 4], [32163, 4], [32538, 4], [32725, 3], [32913, 4], [33288, 4], [33663, 4], [33850, 2], [34038, 4], [34413, 4], [34788, 4], [34975, 1], [35163, 4], [35538, 4], [35913, 4], [36100, 5, 4300], [40600, 4], [40788, 3], [41163, 2], [41538, 3], [41725, 4], [42100, 5, 2800], [45100, 1], [45288, 3], [45663, 3], [46225, 1], [46413, 3], [46788, 4], [47350, 3], [47538, 4], [47913, 2], [48475, 3], [48663, 4], [49038, 1], [49600, 1], [49788, 3], [50163, 3], [50725, 1], [50913, 3], [51288, 4], [51850, 3], [52038, 4], [52413, 2], [52975, 3], [53163, 4], [53538, 1], [54100, 3], [54288, 3], [54663, 3], [55038, 3], [55225, 3], [55413, 3], [55788, 3], [56163, 3], [56350, 2], [56538, 2], [56913, 2], [57288, 2], [57475, 2], [57663, 2], [58038, 2], [58413, 2], [58600, 1], [58788, 1], [59163, 1], [59538, 1], [59725, 1], [59913, 1], [60288, 1], [60663, 1], [60850, 1], [63100, 4], [63288, 3], [63663, 3], [64038, 4], [64225, 3], [64413, 4], [64788, 4], [65163, 4], [65350, 2], [65538, 4], [65913, 4], [66288, 4], [66475, 3], [66663, 4], [67038, 2], [67600, 4], [67788, 3], [68163, 3], [68538, 4], [68725, 3], [68913, 4], [69288, 4], [69663, 4], [69850, 2], [70038, 4], [70413, 4], [70788, 4], [70975, 3], [71163, 4], [71538, 2], [72100, 3], [72288, 4], [72663, 4], [73038, 4], [73225, 3], [73413, 4], [73788, 4], [74163, 4], [74350, 2], [74538, 4], [74913, 4], [75288, 4], [75475, 1], [75663, 4], [76038, 4], [76413, 4], [76600, 3], [76788, 4], [77163, 4], [77538, 4], [77725, 3], [77913, 4], [78288, 4], [78663, 4], [78850, 2], [79038, 4], [79413, 4], [79788, 4], [79975, 1], [80163, 4], [80538, 4], [80913, 4], [81100, 5, 4300], [85600, 4], [85788, 3], [86163, 2], [86538, 3], [86725, 4], [87100, 5, 2800], [90100, 1], [90288, 3], [90663, 3], [91225, 1], [91413, 3], [91788, 4], [92350, 3], [92538, 4], [92913, 2], [93475, 3], [93663, 4], [94038, 1], [94600, 1], [94788, 3], [95163, 3], [95725, 1], [95913, 3], [96288, 4], [96850, 3], [97038, 4], [97413, 2], [97975, 3], [98163, 4], [98538, 1], [99100, 3], [99288, 3], [99663, 3], [100038, 3], [100225, 3], [100413, 3], [100788, 3], [101163, 3], [101350, 2], [101538, 2], [101913, 2], [102288, 2], [102475, 2], [102663, 2], [103038, 2], [103413, 2], [103600, 1], [103788, 1], [104163, 1], [104538, 1], [104725, 1], [104913, 1], [105288, 1], [105663, 1], [105850, 1], [108100, 4], [108288, 3], [108663, 3], [109038, 4], [109225, 3], [109413, 4], [109788, 4], [110163, 4], [110350, 2], [110538, 4], [110913, 4], [111288, 4], [111475, 3], [111663, 4], [112038, 2], [112600, 4], [112788, 3], [113163, 3], [113538, 4], [113725, 3], [113913, 4], [114288, 4], [114663, 4], [114850, 2], [115038, 4], [115413, 4], [115788, 4], [115975, 3], [116163, 4], [116538, 2], [117100, 3], [117288, 4], [117663, 4], [118038, 4], [118225, 3], [118413, 4], [118788, 4], [119163, 4], [119350, 2], [119538, 4], [119913, 4], [120288, 4], [120475, 1], [120663, 4], [121038, 4], [121413, 4], [121600, 3], [121788, 4], [122163, 4], [122538, 4], [122725, 3], [122913, 4], [123288, 4], [123663, 4], [123850, 2], [124038, 4], [124413, 4], [124788, 4], [124975, 1], [125163, 4], [125538, 4], [125913, 4], [126100, 4], [126288, 4], [126663, 4], [126850, 4], [127225, 4], [127413, 4], [127788, 4], [127975, 4], [128350, 4], [128538, 4], [128913, 4], [129100, 4], [129475, 4], [129663, 4], [130600, 6, 800], [131725, 7, 800], [132850, 5, 800], [133975, 5, 800], [135100, 4], [135288, 4], [135663, 4], [135850, 4], [136225, 4], [136413, 4], [136788, 4], [136975, 4], [137350, 4], [137538, 4], [137913, 4], [138100, 4], [138475, 4, 800], [139600, 6, 800], [140725, 7, 800], [141850, 5, 800], [142975, 5, 800], [144100, 6, 800], [145225, 7, 800], [146350, 5, 800], [147475, 5, 800], [148600, 6, 800], [149725, 7, 800], [150850, 5, 800], [151975, 5, 800], [153100, 3], [153288, 4], [153663, 4], [154038, 4], [154225, 3], [154413, 4], [154788, 4], [155163, 4], [155350, 2], [155538, 4], [155913, 4], [156288, 4], [156475, 1], [156663, 4], [157038, 4], [157413, 4], [157600, 2], [157975, 4], [158350, 3], [158725, 2], [159100, 4], [159475, 3], [159850, 1], [160225, 1], [160600, 2], [160975, 1], [161350, 1], [161725, 2], [162100, 1], [162288, 2], [162475, 2], [162663, 2], [162850, 2], [163038, 3], [163225, 1], [163413, 2], [163600, 2], [163788, 2], [163975, 2], [164163, 3], [164350, 4], [164725, 2], [165100, 2], [165475, 4], [165850, 2], [166225, 2], [166600, 8, 800], [167725, 7, 800], [168850, 4], [169038, 2], [169225, 2], [169413, 4], [169600, 2], [169788, 4], [169975, 2], [170163, 4], [170350, 4], [170538, 4], [170725, 7, 4300], [180100, 4], [180288, 4], [180475, 4], [180663, 4], [180850, 4], [181038, 4], [181225, 4], [181413, 4], [181600, 4], [181788, 4], [181975, 4], [182163, 4], [182350, 2], [182538, 2], [182725, 2], [182913, 2], [183100, 2], [183288, 2], [183475, 3], [183663, 3], [183850, 3], [184038, 3], [184225, 3], [184413, 3], [184600, 4], [184788, 4], [184975, 4], [185163, 4], [185350, 4], [185538, 4], [185725, 4], [185913, 4], [186100, 4], [186288, 4], [186475, 4], [186663, 4], [186850, 2], [187038, 2], [187413, 2], [187788, 3], [187975, 3], [188163, 3], [188538, 3], [188913, 1], [189100, 4], [189288, 3], [189663, 3], [190038, 4], [190225, 3], [190413, 4], [190788, 4], [191163, 4], [191350, 2], [191538, 4], [191913, 4], [192288, 4], [192475, 3], [192663, 4], [193038, 2], [193600, 4], [193788, 3], [194163, 3], [194538, 4], [194725, 3], [194913, 4], [195288, 4], [195663, 4], [195850, 2], [196038, 4], [196413, 4], [196788, 4], [196975, 3], [197163, 4], [197538, 2], [198100, 3], [198288, 4], [198663, 4], [199038, 4], [199225, 3], [199413, 4], [199788, 4], [200163, 4], [200350, 2], [200538, 4], [200913, 4], [201288, 4], [201475, 1], [201663, 4], [202038, 4], [202413, 4], [202600, 3], [202788, 4], [203163, 4], [203538, 4], [203725, 3], [203913, 4], [204288, 4], [204663, 4], [204850, 2], [205038, 4], [205413, 4], [205788, 4], [205975, 1], [206163, 4], [206538, 4], [206913, 4], [207100, 4], [207288, 3], [207663, 3], [208038, 4], [208225, 3], [208413, 4], [208788, 4], [209163, 4], [209350, 2], [209538, 4], [209913, 4], [210288, 4], [210475, 3], [210663, 4], [211038, 2], [211600, 4], [211788, 3], [212163, 3], [212538, 4], [212725, 3], [212913, 4], [213288, 4], [213663, 4], [213850, 2], [214038, 4], [214413, 4], [214788, 4], [214975, 3], [215163, 4], [215538, 2], [216100, 3], [216288, 4], [216663, 4], [217038, 4], [217225, 3], [217413, 4], [217788, 4], [218163, 4], [218350, 2], [218538, 4], [218913, 4], [219288, 4], [219475, 1], [219663, 4], [220038, 4], [220413, 4], [220600, 3], [220788, 4], [221163, 4], [221538, 4], [221725, 3], [221913, 4], [222288, 4], [222663, 4], [222850, 2], [223038, 4], [223413, 4], [223788, 4], [223975, 1], [224163, 4], [224538, 4], [224913, 4]];
break;
case 7:
tA = [[190, 3], [665, 3], [903, 4], [1140, 3], [1615, 3], [1853, 2], [2090, 1], [2565, 2], [2803, 4], [3040, 3], [3278, 2], [3515, 3], [3753, 4], [3990, 2], [4465, 2], [4703, 1], [4940, 2], [5415, 2], [5653, 3], [5890, 2], [6365, 2], [6603, 4], [6840, 3], [7078, 2], [7790, 3], [8243, 3], [8469, 4], [8695, 3], [9148, 3], [9374, 2], [9600, 1], [10053, 2], [10279, 4], [10505, 3], [10731, 2], [10958, 3], [11184, 4], [11410, 2], [11859, 2], [12083, 1], [12307, 2], [12756, 2], [12980, 3], [13204, 2], [13653, 2], [13877, 4], [14101, 3], [14325, 2], [14550, 3], [14774, 4], [14998, 3], [15448, 3], [15673, 4], [15898, 3], [16347, 3], [16572, 2], [16797, 1], [17247, 2], [17472, 4], [17697, 3], [17921, 2], [18146, 3], [18371, 4], [18596, 3], [19045, 1], [19493, 3], [20390, 3], [20839, 1], [21287, 3], [22184, 3], [22630, 1], [23076, 3], [23967, 3], [24413, 1], [24859, 7, 650], [25750, 6, 400], [26422, 5, 800], [27093, 2], [27317, 4], [27541, 6, 400], [28213, 5, 800], [28884, 2], [29108, 4], [29332, 6, 400], [30010, 5, 800], [30689, 2], [30915, 4], [31146, 6, 400], [31819, 5, 800], [32498, 2], [32724, 4], [32950, 6, 400], [33634, 5, 800], [34317, 4], [34545, 2], [34773, 6, 400], [35457, 5, 800], [36140, 4], [36368, 2], [36596, 6, 400], [37275, 5, 800], [37954, 4], [38180, 2], [38406, 6, 400], [39085, 5, 800], [39764, 4], [39990, 2], [40230, 6, 400], [40913, 7, 800], [41597, 4], [41824, 2], [42052, 7, 400], [42735, 6, 800], [43419, 4], [43646, 2], [43876, 6, 400], [44559, 7, 800], [45243, 4], [45470, 2], [45665, 4], [45891, 3], [46117, 2], [46342, 4], [46568, 3], [46794, 2], [47020, 4], [47245, 3], [47471, 3], [47697, 2], [47923, 1], [48148, 3], [48374, 2], [48600, 1], [48826, 3], [49051, 2], [49277, 6, 400], [49955, 5, 800], [50632, 1], [51084, 2], [51762, 3], [52900, 6, 400], [53572, 5, 800], [54243, 1], [54691, 2], [55363, 3], [56495, 2], [56950, 2], [57406, 2], [57861, 2], [58316, 2], [58771, 2], [59227, 2], [59682, 2], [59909, 4], [60140, 3], [60598, 3], [60826, 4], [61055, 3], [61513, 3], [61741, 2], [61970, 1], [62428, 2], [62656, 4], [62885, 3], [63114, 2], [63343, 3], [63571, 4], [63800, 2], [64249, 2], [64473, 1], [64697, 2], [65146, 2], [65370, 3], [65594, 2], [66043, 2], [66267, 4], [66491, 3], [66715, 2], [66940, 3], [67164, 4], [67390, 3], [67842, 3], [68067, 4], [68293, 3], [68745, 3], [68970, 2], [69196, 1], [69648, 2], [69873, 4], [70099, 3], [70325, 2], [70551, 3], [70776, 4], [71000, 2], [71447, 2], [71671, 1], [71895, 2], [72342, 2], [72565, 3], [72789, 2], [73236, 2], [73460, 4], [73684, 3], [73907, 2], [74131, 3], [74354, 4], [74580, 3], [75027, 3], [75251, 4], [75474, 3], [75921, 3], [76145, 2], [76368, 1], [76815, 2], [77039, 4], [77262, 3], [77486, 2], [77709, 3], [77933, 4], [78155, 3], [78603, 1], [79051, 3], [79947, 3], [80395, 1], [80843, 3], [81739, 3], [82187, 1], [82635, 3], [83531, 3], [83979, 1], [84427, 7, 700], [85315, 4], [85650, 2], [85984, 1], [86319, 2], [86654, 3], [86877, 2], [87100, 4], [87435, 2], [87769, 2], [88104, 4], [88439, 1], [88900, 4], [89235, 2], [89569, 1], [89904, 2], [90239, 3], [90462, 2], [90685, 4], [91020, 2], [91354, 2], [91689, 4], [92024, 1], [92470, 5, 7200], [93821, 2], [94046, 4], [95622, 2], [95847, 4], [97427, 2], [97654, 4], [99243, 2], [99470, 4], [99700, 6, 400], [100379, 5, 800], [101058, 2], [101284, 4], [101510, 6, 400], [102189, 5, 800], [102868, 2], [103094, 4], [103320, 6, 400], [104014, 5, 800], [104708, 2], [104939, 4], [105170, 6, 400], [105864, 5, 800], [106558, 2], [106789, 4], [107020, 6, 400], [107701, 7, 800], [108381, 4], [108608, 2], [108835, 7, 400], [109516, 6, 800], [110196, 4], [110423, 2], [110650, 6, 400], [111325, 7, 800], [111999, 4], [112224, 2], [112449, 4], [112674, 3], [112899, 2], [113124, 4], [113349, 3], [113573, 2], [113798, 4], [114023, 3], [114250, 3], [114475, 2], [114699, 1], [114924, 3], [115149, 2], [115373, 1], [115598, 3], [115822, 2], [116047, 6, 400], [116721, 5, 800], [117395, 1], [117840, 2], [118510, 3], [119627, 6, 400], [120297, 5, 800], [120967, 1], [121410, 2], [122083, 3], [123210, 2], [123660, 2], [124110, 2], [124559, 2], [125009, 2], [125459, 2], [125909, 2], [126358, 2], [126583, 4], [126810, 3], [127270, 3], [127499, 4], [127729, 3], [128189, 3], [128418, 2], [128648, 1], [129108, 2], [129337, 4], [129567, 3], [129797, 2], [130027, 3], [130256, 4], [130486, 2], [130932, 2], [131154, 1], [131377, 2], [131823, 2], [132045, 3], [132268, 2], [132714, 2], [132936, 4], [133159, 3], [133382, 2], [133605, 3], [133827, 4], [134050, 3], [134498, 3], [134722, 4], [134946, 3], [135393, 3], [135617, 2], [135841, 1], [136289, 2], [136513, 4], [136737, 3], [136960, 2], [137184, 3], [137408, 4], [137632, 2], [138075, 2], [138296, 1], [138517, 2], [138960, 2], [139181, 3], [139402, 2], [139845, 2], [140066, 4], [140287, 3], [140508, 2], [140730, 3], [140951, 4], [141172, 3], [141619, 3], [141842, 4], [142066, 3], [142512, 3], [142736, 2], [142959, 1], [143406, 2], [143629, 4], [143853, 3], [144076, 2], [144299, 3], [144523, 4], [144746, 8, 1600], [146536, 7, 1600], [147431, 2], [147767, 2], [148102, 2], [148326, 8, 1600], [151046, 2], [151385, 2], [151725, 2], [151970, 8, 1600], [154654, 2], [154989, 2], [155324, 2], [155500, 1], [156378, 1], [157255, 1], [157705, 3], [158155, 2], [158493, 2], [158830, 2], [159100, 1], [159979, 3], [160858, 2], [161737, 2], [161957, 1], [162177, 2], [162396, 3], [162600, 1], [163026, 1], [163452, 1], [163878, 1], [164310, 1], [164742, 1], [165174, 3], [165498, 2], [165822, 3], [166050, 1], [166911, 1], [167771, 1], [168201, 2], [168632, 3], [169062, 4], [169490, 2], [169915, 3], [170339, 3], [171190, 1], [172039, 1], [172357, 2], [172676, 3], [172900, 4], [180388, 3], [180607, 2], [181263, 3], [181482, 2], [182139, 4], [182358, 3], [183014, 4], [183233, 3], [183897, 3], [184118, 2], [184780, 4], [185001, 3], [185664, 3], [185885, 2], [186547, 4], [186768, 3], [187424, 2], [187641, 1], [188293, 3], [188510, 2], [189161, 2], [189378, 1], [190030, 3], [190247, 2], [190891, 2], [191107, 1], [191753, 3], [191969, 2], [192615, 2], [192831, 1], [193477, 3], [193693, 2], [194340, 2], [194555, 1], [195201, 3], [195416, 2], [196061, 2], [196276, 1], [196922, 3], [197137, 2], [197782, 2], [197998, 1], [198647, 3], [198863, 2], [199079, 1], [199511, 1], [199944, 1], [200820, 4], [201265, 3], [201710, 4], [202155, 3], [202378, 2], [202600, 1], [203490, 1], [203713, 2], [203935, 3], [204158, 4], [204380, 2], [204816, 1], [205252, 2], [205687, 1], [205905, 3], [206123, 2], [206995, 2], [207212, 1], [207430, 2], [207648, 3], [207870, 4], [208306, 3], [208742, 4], [209178, 3], [209396, 2], [209614, 1], [210486, 1], [210704, 2], [210922, 3], [211140, 4], [211358, 2], [211791, 1], [212223, 2], [212656, 1], [212872, 3], [213088, 2], [213953, 2], [214169, 1], [214386, 2], [214602, 3], [214810, 4], [215249, 3], [215687, 4], [216126, 3], [216345, 2], [216564, 1], [217441, 1], [217660, 2], [217880, 3], [218099, 4], [218320, 3], [218754, 1], [219187, 3], [220054, 3], [220488, 1], [220921, 3], [221785, 3], [222217, 1], [222648, 3], [223511, 3], [223943, 1], [224374, 7, 700], [225240, 1], [225675, 4], [225892, 4], [226110, 1], [226979, 1], [227414, 4], [227631, 4], [227849, 1], [228718, 1], [229153, 4], [229370, 4], [229588, 1], [230022, 2], [230240, 1]];
break;
case 8:
tA = [[420, 6, 900], [720, 3], [1020, 2], [1320, 3], [1620, 7, 900], [1920, 3], [2220, 2], [2520, 3], [2820, 8, 900], [3120, 3], [3420, 2], [3720, 3], [4020, 7, 900], [4320, 1], [4620, 2], [4920, 3], [5220, 6, 900], [5520, 3], [5820, 2], [6120, 3], [6420, 7, 900], [6720, 3], [7020, 2], [7320, 3], [7620, 8, 900], [7920, 3], [8220, 2], [8520, 3], [8820, 7, 900], [9120, 1], [9420, 2], [9720, 3], [10020, 5, 900], [10020, 6, 900], [10320, 3], [10620, 2], [10920, 3], [11220, 6, 900], [11220, 7, 900], [0x2D00, 3], [11820, 2], [12120, 3], [12420, 7, 900], [12420, 8, 900], [12720, 3], [13020, 2], [13320, 3], [13620, 7, 350], [13620, 8, 350], [13920, 1], [14220, 6, 350], [14220, 7, 350], [14520, 3], [14820, 5, 900], [14820, 6, 900], [15120, 3], [0x3C3C, 2], [15720, 3], [16020, 6, 900], [16020, 7, 900], [16320, 3], [16620, 2], [16920, 3], [17220, 7, 900], [17220, 8, 900], [17520, 3], [17820, 2], [18120, 3], [18420, 7, 350], [18420, 8, 350], [18720, 1], [19020, 6, 350], [19020, 7, 350], [19320, 3], [19620, 5, 900], [19620, 6, 900], [19920, 3], [20220, 2], [20520, 3], [20820, 6, 900], [20820, 7, 900], [21120, 3], [21420, 2], [21720, 3], [22020, 7, 900], [22020, 8, 900], [22320, 3], [22620, 2], [22920, 3], [23220, 7, 350], [23220, 8, 350], [23520, 1], [23820, 6, 350], [23820, 7, 350], [24120, 3], [24420, 5, 900], [24420, 6, 900], [24720, 3], [25020, 2], [25320, 3], [25620, 6, 900], [25620, 7, 900], [25920, 3], [26220, 2], [26520, 3], [26820, 7, 900], [26820, 8, 900], [27120, 3], [27420, 2], [27720, 3], [28020, 2], [28020, 1], [28320, 3], [28320, 4], [29220, 4], [29520, 4], [29820, 4], [30120, 4], [30270, 4], [30420, 3], [0x7800, 3], [31020, 3], [31320, 3], [31470, 3], [31620, 2], [31920, 2], [32220, 2], [32520, 2], [32670, 2], [32820, 3], [33120, 3], [33420, 3], [33720, 3], [33870, 3], [34020, 4], [34320, 4], [34620, 4], [34920, 4], [35070, 4], [35220, 3], [35520, 3], [35820, 3], [36120, 3], [36270, 3], [36420, 2], [36720, 2], [37020, 2], [37320, 2], [37470, 2], [37620, 3], [37920, 3], [38220, 3], [38520, 3], [38670, 3], [38820, 4], [39120, 4], [39420, 4], [39720, 4], [39870, 4], [40020, 3], [40320, 3], [40620, 3], [40920, 3], [41070, 3], [41220, 2], [41520, 2], [41820, 2], [42120, 2], [42270, 2], [42420, 3], [42720, 3], [43020, 3], [43320, 3], [43470, 3], [43620, 4], [43920, 4], [44220, 4], [44520, 4], [44670, 4], [44820, 3], [45120, 3], [45420, 3], [45720, 3], [45870, 3], [46020, 2], [46320, 2], [46620, 2], [46920, 2], [47070, 2], [47220, 2], [47220, 1], [47520, 3], [47520, 4], [48420, 6, 900], [48420, 4], [48720, 4], [49020, 4], [49320, 4], [49620, 8, 900], [49620, 2], [0xC300, 2], [50220, 2], [50520, 2], [50820, 7, 900], [50820, 3], [51120, 3], [51420, 3], [51720, 3], [52020, 8, 350], [52020, 7, 350], [52620, 7, 350], [52620, 6, 350], [53220, 6, 900], [53220, 4], [53520, 4], [53820, 4], [54120, 4], [54420, 8, 900], [54420, 2], [54720, 2], [55020, 2], [55320, 2], [55620, 7, 900], [55620, 3], [55920, 3], [56220, 3], [56520, 3], [56820, 8, 350], [56820, 7, 350], [57420, 7, 350], [57420, 6, 350], [58020, 6, 900], [58020, 4], [58320, 4], [58620, 4], [58920, 4], [59220, 8, 900], [59220, 2], [59520, 2], [59820, 2], [60120, 2], [60420, 7, 900], [60420, 3], [60720, 3], [61020, 3], [61320, 3], [61620, 8, 350], [61620, 7, 350], [62220, 7, 350], [62220, 6, 350], [62820, 6, 900], [62820, 4], [63120, 4], [63420, 4], [63720, 4], [64020, 8, 900], [64020, 2], [64320, 2], [64620, 2], [64920, 2], [65220, 7, 900], [65220, 3], [65520, 3], [65820, 3], [66120, 3], [66420, 8, 350], [66420, 7, 350], [67020, 7, 350], [67020, 6, 350], [67620, 5, 900], [67620, 6, 900], [67920, 3], [68220, 2], [68520, 3], [68820, 6, 900], [68820, 7, 900], [69120, 3], [69420, 2], [69720, 3], [70020, 7, 900], [70020, 8, 900], [70320, 3], [70620, 2], [70920, 3], [71220, 7, 350], [71220, 8, 350], [71520, 1], [71820, 6, 350], [71820, 7, 350], [72120, 3], [72420, 5, 900], [72420, 6, 900], [72720, 3], [73020, 2], [73320, 3], [73620, 6, 900], [73620, 7, 900], [73920, 3], [74220, 2], [74520, 3], [74820, 7, 900], [74820, 8, 900], [75120, 3], [75420, 2], [75720, 3], [76020, 7, 350], [76020, 8, 350], [76320, 1], [76620, 6, 350], [76620, 7, 350], [76920, 3], [77220, 5, 900], [77220, 6, 900], [77520, 3], [77820, 2], [78120, 3], [78420, 6, 900], [78420, 7, 900], [78720, 3], [79020, 2], [79320, 3], [79620, 7, 900], [79620, 8, 900], [79920, 3], [80220, 2], [80520, 3], [80820, 7, 350], [80820, 8, 350], [81120, 1], [81420, 6, 350], [81420, 7, 350], [81720, 3], [82020, 5, 900], [82020, 6, 900], [82320, 3], [82620, 2], [82920, 3], [83220, 6, 900], [83220, 7, 900], [83520, 3], [83820, 2], [84120, 3], [84420, 7, 900], [84420, 8, 900], [84720, 3], [85020, 2], [85320, 3], [85620, 2], [85620, 1], [85920, 4], [85920, 3], [86820, 4], [87120, 4], [87420, 4], [87720, 4], [87870, 4], [88020, 3], [88320, 3], [88620, 3], [88920, 3], [89070, 3], [89220, 2], [89520, 2], [89820, 2], [90120, 2], [90270, 2], [90420, 3], [90720, 3], [91020, 3], [91320, 3], [91470, 3], [91620, 4], [91920, 4], [92220, 4], [92520, 4], [92670, 4], [92820, 3], [93120, 3], [93420, 3], [93720, 3], [93870, 3], [94020, 2], [94320, 2], [94620, 2], [94920, 2], [95070, 2], [95220, 3], [95520, 3], [95820, 3], [96120, 3], [96270, 3], [96420, 4], [96720, 4], [97020, 4], [97320, 4], [97470, 4], [97620, 3], [97920, 3], [98220, 3], [98520, 3], [98670, 3], [98820, 2], [99120, 2], [99420, 2], [99720, 2], [99870, 2], [100020, 3], [100320, 3], [100620, 3], [100920, 3], [101070, 3], [101220, 4], [101520, 4], [101820, 4], [102120, 4], [102270, 4], [102420, 3], [102720, 3], [103020, 3], [103320, 3], [103470, 3], [103620, 2], [103920, 2], [104220, 2], [104520, 2], [104670, 2], [104820, 2], [104820, 1], [105120, 3], [105120, 4], [106020, 6, 900], [106020, 4], [106320, 4], [106620, 4], [106920, 4], [107220, 8, 900], [107220, 2], [107520, 2], [107820, 2], [108120, 2], [108420, 7, 900], [108420, 3], [108720, 3], [109020, 3], [109320, 3], [109620, 8, 350], [109620, 7, 350], [110220, 7, 350], [110220, 6, 350], [110820, 6, 900], [110820, 4], [111120, 4], [111420, 4], [111720, 4], [112020, 8, 900], [112020, 2], [112320, 2], [112620, 2], [112920, 2], [113220, 7, 900], [113220, 3], [113520, 3], [113820, 3], [114120, 3], [114420, 8, 350], [114420, 7, 350], [115020, 7, 350], [115020, 6, 350], [115620, 6, 900], [115620, 4], [115920, 4], [116220, 4], [116520, 4], [116820, 8, 900], [116820, 2], [117120, 2], [117420, 2], [117720, 2], [118020, 7, 900], [118020, 3], [118320, 3], [118620, 3], [118920, 3], [119220, 8, 350], [119220, 7, 350], [119820, 7, 350], [119820, 6, 350], [120420, 6, 900], [120420, 4], [120720, 4], [121020, 4], [121320, 4], [121620, 8, 900], [121620, 2], [121920, 2], [122220, 2], [122520, 2], [122820, 7, 900], [122820, 3], [123120, 3], [123420, 3], [123720, 3], [124020, 8, 350], [124020, 7, 350], [124620, 7, 350], [124620, 6, 350], [125220, 4], [125220, 3], [125520, 4], [125520, 3], [126420, 3], [126420, 1], [126720, 3], [126720, 1], [127620, 4], [127620, 2], [127920, 4], [127920, 2], [128520, 3], [128820, 3], [129120, 2], [129270, 3], [129570, 7, 350], [130020, 3], [130170, 4], [130920, 4], [131220, 3], [131520, 2], [131820, 3], [132120, 4], [132420, 3], [132720, 2], [133320, 1], [133620, 8, 900], [134820, 4], [135120, 3], [135420, 2], [135720, 3], [136020, 4], [136320, 3], [136620, 4], [136920, 3], [137220, 3], [137520, 2], [138420, 6, 900], [139620, 4], [139920, 3], [140220, 2], [140520, 3], [141120, 2], [141720, 8, 900], [142920, 3], [143220, 7, 700], [144420, 1], [144720, 2], [145020, 3], [145320, 4], [145620, 1], [145920, 2], [146220, 3], [146820, 7, 900], [148020, 7, 900], [149220, 4], [149520, 3], [149820, 2], [149970, 3], [150720, 2], [151020, 8, 900], [152520, 2], [152820, 1], [153420, 2], [154020, 6, 3000], [154020, 5, 3000], [157320, 2], [157620, 1], [158220, 2], [158820, 6, 3000], [158820, 5, 3000], [163620, 6, 900], [163620, 4], [163920, 4], [164220, 4], [164520, 4], [164820, 8, 900], [164820, 2], [165120, 2], [165420, 2], [165720, 2], [166020, 7, 900], [166020, 3], [166320, 3], [166620, 3], [166920, 3], [167220, 8, 350], [167220, 7, 350], [167820, 7, 350], [167820, 6, 350], [168420, 6, 900], [168420, 4], [168720, 4], [169020, 4], [169320, 4], [169620, 8, 900], [169620, 2], [169920, 2], [170220, 2], [170520, 2], [170820, 7, 900], [170820, 3], [171120, 3], [171420, 3], [171720, 3], [172020, 8, 350], [172020, 7, 350], [172620, 7, 350], [172620, 6, 350], [173220, 6, 900], [173220, 4], [173520, 4], [173820, 4], [174120, 4], [174420, 8, 900], [174420, 2], [174720, 2], [175020, 2], [175320, 2], [175620, 7, 900], [175620, 3], [175920, 3], [176220, 3], [176520, 3], [176820, 8, 350], [176820, 7, 350], [177420, 7, 350], [177420, 6, 350], [178020, 6, 900], [178020, 4], [178320, 4], [178620, 4], [178920, 4], [179220, 8, 900], [179220, 2], [179520, 2], [179820, 2], [180120, 2], [180420, 7, 900], [180420, 3], [180720, 3], [181020, 3], [181320, 3], [181620, 8, 350], [181620, 7, 350], [182220, 7, 350], [182220, 6, 350], [182820, 6, 900], [182820, 4], [183120, 4], [183420, 4], [183720, 4], [184020, 8, 900], [184020, 2], [184320, 2], [184620, 2], [184920, 2], [185220, 7, 900], [185220, 3], [185520, 3], [185820, 3], [186120, 3], [186420, 8, 350], [186420, 7, 350], [187020, 7, 350], [187020, 6, 350], [187620, 6, 900], [187620, 4], [187920, 4], [188220, 4], [188520, 4], [188820, 8, 900], [188820, 2], [189120, 2], [189420, 2], [189720, 2], [190020, 7, 900], [190020, 3], [190320, 3], [190620, 3], [190920, 3], [191220, 8, 350], [191220, 7, 350], [191820, 7, 350], [191820, 6, 350], [192420, 6, 900], [192420, 4], [192720, 4], [193020, 4], [193320, 4], [193620, 8, 900], [193620, 2], [193920, 2], [194220, 2], [194520, 2], [194820, 7, 900], [194820, 3], [195120, 3], [195420, 3], [195720, 3], [196020, 8, 350], [196020, 7, 350], [196620, 7, 350], [196620, 6, 350], [197220, 6, 900], [197220, 4], [197520, 4], [197820, 4], [198120, 4], [198420, 8, 900], [198420, 2], [198720, 2], [199020, 2], [199320, 2], [199620, 7, 900], [199620, 3], [199920, 3], [200220, 3], [200520, 3], [200820, 8, 350], [200820, 7, 350], [201420, 7, 350], [201420, 6, 350], [202020, 6, 2200], [202020, 5, 2200]];
break;
case 9:
tA = [[988, 5, 5000], [6471, 7, 2300], [9214, 6, 1200], [10756, 2], [11440, 1], [11956, 3], [12470, 4], [12641, 4], [12813, 2], [13156, 4], [13327, 4], [13498, 1], [13840, 4], [14013, 2], [14356, 3], [14527, 3], [14697, 4], [15212, 4], [15383, 4], [15555, 2], [15898, 4], [16069, 4], [16240, 1], [16582, 4], [16755, 2], [17098, 1], [17439, 3], [17954, 4], [18125, 4], [18297, 2], [18640, 4], [18811, 4], [18982, 1], [19324, 4], [19497, 2], [19840, 3], [20011, 3], [20181, 4], [20696, 4], [20867, 4], [21039, 2], [21382, 4], [21553, 4], [21724, 1], [22066, 4], [22239, 2], [22582, 1], [22923, 6, 1400], [24466, 3], [24809, 3], [25152, 2], [25324, 3], [25666, 6, 1400], [27209, 1], [27381, 2], [27552, 1], [27724, 2], [27895, 1], [28066, 2], [28237, 2], [28408, 3], [28922, 4], [29093, 4], [29265, 2], [29608, 4], [29779, 4], [29950, 1], [30292, 4], [30465, 2], [30808, 3], [30979, 3], [31149, 4], [31664, 4], [31835, 4], [32007, 2], [32350, 4], [32521, 4], [32692, 1], [33034, 4], [33207, 2], [33550, 1], [33891, 3], [34406, 4], [34577, 4], [34749, 2], [35092, 4], [35263, 4], [35434, 1], [35776, 4], [35949, 2], [36292, 3], [36463, 3], [36633, 4], [37148, 4], [37319, 4], [37491, 2], [37834, 4], [38005, 4], [38176, 1], [38518, 4], [38691, 2], [39034, 1], [39375, 3], [39890, 4], [40061, 4], [40233, 2], [40576, 4], [40747, 4], [40918, 1], [41260, 4], [41433, 2], [41776, 3], [41947, 3], [42117, 4], [42632, 4], [42803, 4], [42975, 2], [43318, 4], [43489, 4], [43660, 1], [44002, 4], [44175, 2], [44518, 1], [44859, 6, 1400], [46402, 3], [46745, 3], [47088, 2], [47260, 3], [47602, 6, 1400], [49145, 1], [49317, 2], [49488, 1], [49660, 2], [49831, 1], [50002, 2], [50345, 5, 2000], [52572, 3], [52744, 2], [53086, 5, 2000], [55314, 3], [55486, 2], [55828, 5, 2000], [58056, 3], [58228, 2], [58570, 5, 2000], [60798, 3], [60970, 2], [61312, 5, 1200], [62683, 3], [63197, 2], [63540, 3], [63883, 4], [64054, 4], [65425, 7, 400], [66111, 6, 400], [66796, 5, 1200], [68167, 3], [68681, 2], [69024, 3], [69367, 4], [69538, 4], [70909, 7, 400], [71595, 6, 400], [72280, 6, 1200], [73651, 2], [74165, 1], [74508, 2], [74851, 3], [75022, 3], [76393, 8, 400], [77079, 7, 400], [77765, 6, 1200], [79136, 2], [79649, 1], [79992, 2], [80335, 3], [80506, 3], [81877, 1], [81877, 3], [83248, 4], [83248, 2], [86161, 2], [86504, 4], [86847, 2], [87189, 4], [87532, 1], [87875, 4], [88218, 2], [88560, 4], [88903, 1], [89246, 3], [89589, 2], [89931, 3], [90274, 1], [90617, 3], [90960, 2], [91302, 3], [91645, 1], [91988, 3], [92331, 2], [92673, 4], [93016, 3], [93359, 4], [93702, 8, 500], [94387, 7, 500], [95073, 4], [95244, 6, 1300], [96958, 3], [97473, 4], [97644, 4], [97816, 2], [98159, 4], [98330, 4], [98501, 1], [98843, 4], [99016, 2], [99359, 3], [99530, 3], [99700, 4], [100215, 4], [100386, 4], [100558, 2], [100901, 4], [101072, 4], [101243, 1], [101585, 4], [101758, 2], [102101, 1], [102442, 3], [102957, 4], [103128, 4], [103300, 2], [103643, 4], [103814, 4], [103985, 1], [104327, 4], [104500, 2], [104843, 3], [105014, 3], [105184, 4], [105699, 4], [105870, 4], [106042, 2], [106385, 4], [106556, 4], [106727, 1], [107069, 4], [107242, 2], [107585, 1], [107926, 6, 1400], [109469, 3], [109812, 3], [110155, 2], [110327, 3], [110669, 6, 1400], [112212, 1], [112384, 2], [112555, 1], [112727, 2], [112898, 1], [113069, 2], [113412, 5, 2000], [115639, 3], [115811, 2], [116153, 5, 2000], [118381, 3], [118553, 2], [118895, 5, 2000], [121123, 3], [121295, 2], [121637, 5, 2000], [123865, 3], [124037, 2], [124379, 5, 1200], [125750, 3], [126264, 2], [126607, 3], [126950, 4], [127121, 4], [128492, 7, 400], [129178, 6, 400], [129863, 5, 1200], [131234, 3], [131748, 2], [132091, 3], [132434, 4], [132605, 4], [133976, 7, 400], [134662, 6, 400], [135347, 6, 1200], [136718, 2], [137232, 1], [137575, 2], [137918, 3], [138089, 3], [139460, 8, 400], [140146, 7, 400], [140832, 6, 1200], [142203, 2], [142716, 1], [143059, 2], [143402, 3], [143573, 3], [144943, 2], [144943, 3], [145457, 4], [145800, 4], [146314, 1], [146314, 2], [146828, 4], [147171, 4], [148200, 2], [148543, 2], [148715, 2], [148886, 4], [149057, 3], [149401, 3], [149572, 4], [149743, 3], [150087, 2], [150258, 3], [150429, 4], [150942, 2], [151285, 2], [151457, 2], [151628, 4], [151799, 2], [152143, 3], [152314, 4], [152485, 3], [152829, 2], [153000, 3], [153171, 4], [153685, 2], [154028, 2], [154200, 2], [154371, 4], [154542, 3], [154886, 3], [155057, 4], [155228, 3], [155572, 2], [155743, 3], [155914, 4], [156427, 2], [156770, 2], [156942, 2], [157113, 4], [157284, 2], [157628, 3], [157799, 4], [157970, 2], [158314, 2], [158485, 3], [158656, 4], [159171, 1], [159514, 1], [159686, 1], [159857, 3], [160028, 2], [160372, 2], [160543, 3], [160714, 2], [161058, 1], [161229, 2], [161400, 3], [161913, 1], [162256, 1], [162428, 1], [162599, 3], [162770, 1], [163114, 2], [163285, 3], [163456, 2], [163800, 1], [163971, 2], [164142, 3], [164656, 1], [164999, 1], [165171, 1], [165342, 3], [165513, 2], [165857, 2], [166028, 3], [166199, 2], [166543, 1], [166714, 2], [166885, 3], [167398, 1], [167741, 1], [167913, 1], [168084, 3], [168255, 1], [168599, 2], [168770, 3], [168941, 1], [169285, 1], [169456, 2], [169627, 3], [170142, 2], [170485, 2], [170657, 2], [170828, 4], [170999, 3], [171343, 3], [171514, 4], [171685, 3], [172029, 2], [172200, 3], [172371, 4], [172884, 2], [173227, 2], [173399, 2], [173570, 4], [173741, 2], [174085, 3], [174256, 4], [174427, 3], [174771, 2], [174942, 3], [175113, 4], [175627, 2], [175970, 2], [176142, 2], [176313, 4], [176484, 3], [176828, 3], [176999, 4], [177170, 3], [177514, 2], [177685, 3], [177856, 4], [178369, 2], [178712, 2], [178884, 2], [179055, 4], [179226, 2], [179570, 3], [179741, 4], [179912, 2], [180256, 2], [180427, 3], [180598, 4], [181113, 1], [181456, 1], [181628, 1], [181799, 3], [181970, 2], [182314, 2], [182485, 3], [182656, 2], [183000, 1], [183171, 2], [183342, 3], [183855, 1], [184198, 1], [184370, 1], [184541, 3], [184712, 1], [185056, 2], [185227, 3], [185398, 2], [185742, 1], [185913, 2], [186084, 3], [186598, 1], [186941, 1], [187113, 1], [187284, 3], [187455, 2], [187799, 2], [187970, 3], [188141, 2], [188485, 1], [188656, 2], [188827, 3], [189340, 1], [189683, 1], [189855, 1], [190026, 3], [190197, 1], [190541, 2], [190712, 3], [190883, 1], [191227, 1], [191398, 2], [191569, 3], [192242, 4], [192413, 4], [192585, 2], [192928, 4], [193099, 4], [193270, 1], [193612, 4], [193785, 2], [194128, 3], [194299, 3], [194469, 4], [194984, 4], [195155, 4], [195327, 2], [195670, 4], [195841, 4], [196012, 1], [196354, 4], [196527, 2], [196870, 1], [197211, 3], [197726, 4], [197897, 4], [198069, 2], [198412, 4], [198583, 4], [198754, 1], [199096, 4], [199269, 2], [199612, 3], [199783, 3], [199953, 4], [200468, 4], [200639, 4], [200811, 2], [201154, 4], [201325, 4], [201496, 1], [202011, 1], [202011, 2], [203382, 2], [203382, 3], [204753, 3], [204753, 4]];
break;
case 10:
tA = [[6080, 4], [6455, 1], [6830, 1], [7080, 2], [7330, 3], [7580, 4], [7955, 1], [8330, 1], [8580, 2], [8830, 3], [9080, 4], [9455, 1], [9830, 1], [10080, 2], [10330, 3], [10580, 4], [10955, 1], [11330, 4], [11580, 3], [11830, 2], [12080, 4], [12455, 1], [12830, 1], [13080, 2], [13330, 3], [13580, 4], [13955, 1], [14330, 1], [14580, 2], [14830, 3], [15080, 4], [15455, 1], [15830, 1], [16080, 2], [16330, 3], [16580, 4], [16955, 1], [17330, 4], [17580, 3], [17830, 2], [18080, 1], [18455, 1], [18830, 3], [19080, 3], [19330, 3], [19580, 1], [19955, 1], [20330, 3], [20580, 3], [20830, 3], [21080, 1], [21455, 1], [21830, 3], [22080, 3], [22330, 3], [22580, 1], [22955, 1], [23330, 3], [23580, 3], [23830, 3], [24080, 2], [24330, 2], [24580, 2], [24830, 2], [25080, 2], [25330, 2], [25455, 2], [25830, 4], [26830, 3], [27080, 1], [27330, 1], [27580, 1], [27830, 2], [28080, 1], [28205, 2], [28455, 3], [28705, 4], [29830, 3], [30080, 2], [30330, 2], [30580, 2], [30830, 2], [31080, 2], [31330, 2], [31455, 2], [31830, 4], [32830, 3], [33080, 1], [33330, 1], [33580, 1], [33830, 2], [34080, 1], [34205, 2], [34455, 3], [34705, 4], [35330, 3], [35580, 3], [35830, 3], [36080, 4], [36455, 1], [36830, 1], [37080, 2], [37330, 3], [37580, 4], [37955, 1], [38330, 1], [38580, 2], [38830, 3], [39080, 4], [39455, 1], [39830, 1], [40080, 2], [40330, 3], [40580, 4], [40955, 1], [41330, 4], [41580, 3], [41830, 2], [42080, 4], [42455, 1], [42830, 1], [43080, 2], [43330, 3], [43580, 4], [43955, 1], [44330, 1], [44580, 2], [44830, 3], [45080, 4], [45455, 1], [45830, 1], [0xB400, 2], [46330, 3], [46580, 4], [46955, 1], [47330, 4], [47580, 3], [47830, 2], [48080, 1], [48455, 1], [0xBEBE, 3], [49080, 3], [49330, 3], [49580, 1], [49955, 1], [50330, 3], [50580, 3], [50830, 3], [51080, 1], [51455, 1], [51830, 3], [52080, 3], [52330, 3], [52580, 1], [52955, 1], [53330, 3], [53580, 3], [53830, 3], [54080, 2], [54330, 2], [54580, 2], [54830, 1], [55080, 2], [55330, 3], [55455, 2], [55830, 4], [56830, 3], [57080, 1], [57330, 1], [57580, 1], [57830, 2], [58080, 1], [58455, 3], [58705, 4], [59830, 3], [60080, 2], [60330, 2], [60580, 2], [61080, 2], [61580, 2], [61830, 4], [62830, 3], [63080, 1], [63330, 1], [63580, 1], [63830, 2], [64080, 1], [64205, 2], [64455, 3], [64705, 4], [65330, 3], [65580, 3], [65830, 3], [66080, 4], [66455, 1], [66830, 1], [67080, 2], [67330, 3], [67580, 4], [67955, 1], [68330, 1], [68580, 2], [68830, 3], [69080, 4], [69455, 1], [69830, 1], [70080, 2], [70330, 3], [70580, 4], [70955, 1], [71330, 4], [71580, 3], [71830, 2], [72080, 4], [72455, 1], [72830, 1], [73080, 2], [73330, 3], [73580, 4], [73955, 1], [74330, 1], [74580, 2], [74830, 3], [75080, 4], [75455, 1], [75830, 1], [76080, 2], [76330, 3], [76580, 4], [76955, 1], [77330, 4], [77580, 3], [77830, 2], [78080, 5, 800], [79080, 4], [79330, 3], [79580, 6, 700], [80580, 4], [80830, 3], [81080, 2], [83580, 4], [83830, 3], [84080, 5, 800], [85080, 3], [85330, 2], [85580, 7, 700], [86330, 1], [86580, 2], [86830, 3], [87080, 4], [89580, 2], [89830, 1], [90080, 8, 800], [91080, 2], [91330, 3], [91580, 7, 1000], [92830, 3], [93080, 4], [93455, 1], [93830, 1], [94080, 2], [94330, 3], [94580, 4], [94955, 1], [95330, 1], [95580, 2], [95830, 3], [96080, 4], [96455, 1], [96830, 1], [97080, 2], [97330, 3], [97580, 4], [97955, 1], [98330, 4], [98580, 3], [98830, 2], [99080, 4], [99455, 1], [99830, 1], [100080, 2], [100330, 3], [100580, 4], [100955, 1], [101330, 1], [101580, 2], [101830, 3], [102080, 4], [102455, 1], [102830, 1], [103080, 2], [103330, 3], [103580, 4], [103955, 1], [104330, 4], [104580, 3], [104830, 2]];
break;
case 11:
tA = [[2530, 3], [2676, 3], [2823, 2], [3115, 3], [3262, 2], [3554, 3], [3701, 2], [3993, 3], [4140, 1], [4579, 3], [4871, 4], [5018, 4], [5164, 3], [5457, 4], [5603, 3], [5896, 4], [6042, 3], [6335, 4], [6481, 3], [6920, 4], [7213, 3], [7359, 3], [7505, 2], [7798, 3], [7944, 2], [8237, 3], [8384, 2], [8676, 3], [8823, 1], [9262, 3], [9554, 4], [9701, 4], [9847, 3], [10140, 4], [10286, 3], [10579, 4], [10725, 3], [11018, 4], [11164, 3], [11603, 4], [11896, 3], [12042, 3], [12188, 2], [12481, 3], [12627, 2], [12920, 3], [13066, 2], [13359, 3], [13505, 1], [13944, 3], [14237, 4], [14383, 4], [14530, 3], [14822, 4], [14969, 3], [15261, 4], [15408, 3], [15700, 4], [15847, 3], [16286, 4], [16578, 3], [16725, 3], [16871, 2], [17164, 3], [17310, 2], [17603, 3], [17749, 2], [18042, 3], [18188, 1], [18627, 3], [18920, 4], [19066, 4], [19212, 3], [19505, 4], [19651, 3], [19944, 4], [20091, 3], [20383, 4], [20530, 3], [20969, 4], [21261, 3], [21408, 3], [21847, 4], [21993, 4], [22432, 3], [22578, 3], [23017, 2], [23164, 2], [23603, 3], [23749, 3], [24188, 3], [24334, 3], [24773, 2], [24920, 2], [25359, 3], [25505, 4], [25944, 3], [26090, 3], [26529, 4], [26676, 4], [27115, 3], [27261, 3], [27700, 2], [27846, 2], [28285, 1], [28432, 1], [28871, 1], [29017, 1], [29456, 2], [29602, 2], [30041, 3], [30188, 4], [30627, 3], [30773, 3], [31212, 4], [31358, 4], [31798, 3], [31944, 3], [32383, 2], [32529, 2], [32968, 3], [33115, 3], [33554, 3], [33700, 3], [34139, 3], [34285, 4], [34724, 3], [34871, 4], [35310, 3], [35456, 3], [35895, 2], [36041, 2], [36480, 3], [36627, 3], [37066, 2], [37212, 2], [37651, 3], [37797, 3], [38236, 3], [38383, 3], [38822, 3], [39114, 2], [39407, 8, 500], [39992, 3], [40139, 3], [40431, 4], [40578, 3], [40724, 3], [41017, 4], [41163, 3], [41309, 3], [41602, 4], [41748, 3], [41895, 3], [42334, 4], [42480, 4], [42773, 3], [0xA7A7, 2], [43065, 2], [43505, 1], [43651, 1], [43944, 1], [44090, 3], [44236, 4], [44675, 3], [44822, 3], [45114, 4], [45261, 3], [45407, 3], [45700, 4], [45846, 3], [45992, 3], [46285, 4], [46431, 3], [46578, 3], [47017, 4], [47163, 4], [47456, 3], [47602, 2], [47748, 2], [48041, 1], [48187, 1], [48334, 1], [48626, 1], [48773, 7, 500], [49358, 3], [49504, 3], [49797, 4], [49943, 3], [50090, 3], [50382, 4], [50529, 3], [50675, 3], [50968, 4], [51114, 3], [51260, 3], [51699, 4], [51846, 4], [52138, 3], [52285, 2], [52431, 2], [52870, 1], [53016, 1], [53309, 1], [53455, 3], [53602, 4], [54041, 3], [54187, 3], [54480, 4], [54626, 3], [54772, 3], [55065, 4], [55212, 3], [55358, 3], [55651, 4], [55797, 3], [55943, 3], [56382, 4], [56529, 4], [56821, 3], [56968, 2], [57114, 2], [57407, 2], [57553, 4], [57846, 4], [58138, 3], [58431, 3], [58724, 3], [58870, 3], [59309, 2], [59455, 2], [59894, 3], [60041, 3], [60480, 1], [60626, 1], [61065, 3], [61211, 3], [61650, 2], [61797, 2], [62236, 3], [62382, 3], [62821, 1], [62967, 1], [63406, 4], [63553, 4], [63992, 3], [64138, 3], [64577, 4], [64723, 4], [65162, 3], [65309, 3], [65748, 4], [65894, 4], [66333, 4], [66479, 4], [66919, 4], [67211, 4], [67504, 3], [67797, 3], [68089, 3], [68236, 3], [68382, 2], [68675, 3], [68821, 2], [69114, 3], [69260, 2], [69553, 3], [69699, 1], [70138, 3], [70431, 4], [70577, 4], [70723, 3], [71016, 4], [71162, 3], [71455, 4], [71601, 3], [71894, 4], [72040, 3], [72479, 4], [72772, 3], [72918, 3], [73065, 2], [73357, 3], [73504, 2], [73796, 3], [73943, 2], [74235, 3], [74382, 1], [74821, 3], [75113, 4], [75260, 4], [75406, 3], [75699, 4], [75845, 3], [76138, 4], [76284, 3], [76577, 4], [76723, 3], [77162, 4], [77455, 3], [77601, 3], [77747, 2], [78040, 3], [78186, 2], [78479, 3], [78626, 2], [78918, 3], [79065, 1], [79504, 3], [79796, 4], [79943, 4], [80089, 3], [80382, 4], [80528, 3], [80821, 4], [80967, 3], [81260, 4], [81406, 3], [81845, 4], [82138, 3], [82284, 3], [82430, 2], [82723, 3], [82869, 2], [83162, 3], [83308, 2], [83601, 3], [83747, 1], [84186, 3], [84479, 4], [84625, 4], [84772, 3], [85064, 4], [85211, 3], [85503, 4], [85650, 3], [85942, 4], [86089, 3], [86528, 4], [86820, 8, 2400], [91503, 1], [91650, 1], [91796, 1], [91942, 1], [92089, 1], [92235, 1], [92381, 1], [92528, 1], [92674, 1], [92820, 1], [92967, 1], [93113, 1], [93259, 1], [93406, 1], [93552, 1], [93698, 1], [93845, 1], [93991, 1], [94137, 1], [94284, 1], [94430, 1], [94576, 1], [94723, 1], [94869, 1], [95015, 1], [95162, 1], [95308, 1], [95454, 1], [95601, 1], [95747, 1], [95893, 1], [96040, 1], [96186, 5, 450], [96771, 6, 450], [97357, 3], [97649, 2], [97942, 1], [98235, 2], [98527, 5, 450], [99113, 6, 450], [99698, 3], [99991, 2], [100283, 1], [100576, 2], [100869, 5, 450], [101454, 6, 450], [102040, 3], [102332, 2], [102625, 1], [102918, 2], [103210, 2], [103503, 2], [103649, 2], [103796, 2], [103942, 2], [104088, 2], [104235, 2], [104381, 1], [104674, 1], [104820, 1], [104966, 1], [105113, 1], [105259, 1], [105405, 1], [105552, 5, 450], [106137, 6, 450], [106722, 3], [107015, 2], [107308, 1], [107600, 2], [107893, 5, 450], [108478, 6, 450], [109064, 3], [109356, 2], [109649, 1], [109942, 2], [110234, 5, 450], [110820, 6, 450], [111405, 3], [111698, 2], [111990, 1], [112283, 2], [112576, 2], [112868, 2], [113015, 2], [113161, 2], [113307, 2], [113454, 2], [113600, 2], [113747, 1], [114039, 1], [114186, 1], [114332, 1], [114478, 1], [114625, 1], [114771, 1], [114917, 4], [115064, 4], [115210, 4], [115356, 4], [115503, 3], [115649, 3], [115795, 3], [115942, 3], [116088, 3], [116234, 3], [116381, 3], [116527, 3], [116673, 2], [116820, 2], [116966, 2], [117112, 2], [117259, 1], [117405, 1], [117551, 1], [117698, 1], [117844, 1], [117990, 1], [118137, 1], [118283, 1], [118429, 4], [118576, 4], [118722, 4], [118868, 4], [119015, 4], [119161, 4], [119307, 4], [119454, 4]];
break;
case 12:
tA = [[390, 4], [590, 4], [790, 3], [990, 4], [1990, 4], [2190, 4], [2390, 3], [2590, 4], [3590, 4], [3790, 4], [3990, 3], [4190, 2], [5190, 4], [5390, 4], [5590, 3], [5790, 5, 800], [6790, 2], [7090, 2], [7390, 2], [7590, 2], [7890, 2], [8190, 4], [8390, 2], [8690, 2], [8990, 2], [9190, 2], [9490, 2], [9790, 3], [9990, 2], [10290, 2], [10590, 2], [10790, 2], [11090, 2], [11390, 4], [11590, 3], [11790, 2], [11990, 3], [12190, 4], [12390, 3], [12590, 2], [12790, 1], [12990, 2], [13190, 6, 1400], [14790, 5, 1400], [16390, 6, 1400], [0x4646, 7, 1400], [19590, 6, 1400], [21190, 5, 1400], [22790, 6, 1400], [24390, 7, 1400], [25990, 1], [26290, 2], [26590, 3], [26890, 4], [27190, 3], [27390, 2], [27590, 1], [27890, 2], [28190, 3], [28490, 4], [28790, 3], [28990, 2], [29190, 1], [29490, 2], [29790, 3], [30090, 4], [30390, 3], [30590, 2], [30790, 1], [31090, 2], [31390, 3], [31690, 4], [31990, 6, 300], [32390, 1], [32590, 1], [32790, 1], [33090, 1], [33490, 1], [33790, 3], [33990, 1], [34190, 1], [34390, 1], [34690, 1], [35090, 1], [35390, 3], [35590, 1], [35790, 1], [35990, 1], [36290, 1], [36690, 1], [36990, 3], [37190, 1], [37390, 1], [37590, 1], [37790, 3], [37990, 2], [38190, 3], [38390, 1], [38590, 2], [38790, 1], [38990, 1], [39190, 1], [39490, 1], [39890, 1], [40190, 3], [40390, 1], [40590, 1], [40790, 1], [41090, 1], [41490, 1], [41790, 3], [41990, 1], [42190, 1], [42390, 1], [42690, 1], [43090, 1], [43390, 3], [43590, 1], [43790, 1], [43990, 1], [44190, 3], [44390, 2], [44590, 3], [44790, 1], [44990, 2], [45190, 6, 1100], [45190, 1], [45490, 2], [45790, 3], [46090, 2], [46390, 3], [46590, 2], [46790, 5, 1100], [46790, 3], [47090, 4], [47390, 3], [47690, 4], [47990, 3], [48190, 2], [48390, 5, 1100], [48390, 3], [48690, 2], [48990, 3], [49290, 2], [49590, 3], [49790, 2], [49990, 6, 1100], [49990, 1], [50290, 2], [50590, 3], [50890, 2], [51190, 3], [51390, 2], [51590, 6, 1100], [51590, 1], [51890, 2], [52190, 3], [52490, 2], [52790, 3], [52990, 2], [53190, 5, 1100], [53190, 3], [53490, 4], [53790, 3], [54090, 4], [54390, 3], [54590, 2], [54790, 5, 1100], [54790, 3], [55090, 2], [55390, 3], [55690, 2], [55990, 3], [56190, 2], [56390, 6, 1100], [56390, 1], [56690, 2], [56990, 3], [57290, 2], [57590, 3], [57790, 2], [57990, 3], [58190, 3], [58390, 3], [58590, 3], [58790, 3], [58990, 3], [59190, 3], [59290, 4], [59590, 3], [59790, 3], [59990, 3], [60190, 3], [60390, 3], [60590, 3], [60790, 3], [60890, 4], [61190, 3], [61390, 3], [61590, 3], [61790, 3], [61990, 3], [62190, 3], [62390, 3], [62490, 4], [62790, 3], [62990, 3], [63190, 3], [63390, 3], [63590, 3], [63790, 3], [63990, 3], [64090, 1], [67590, 2], [67890, 2], [68190, 2], [68390, 2], [68690, 2], [68990, 4], [69190, 3], [69390, 2], [69590, 3], [69790, 4], [69990, 3], [70190, 2], [70390, 1], [70590, 2], [70790, 1], [71090, 2], [71390, 3], [71690, 4], [71990, 3], [72190, 2], [72390, 1], [72690, 2], [72990, 3], [73290, 4], [73590, 3], [73790, 2], [73990, 1], [74290, 2], [74590, 3], [74890, 4], [75190, 3], [75390, 2], [75590, 1], [75890, 2], [76190, 3], [76490, 4], [76790, 2], [76990, 1], [77190, 1], [77490, 2], [77790, 3], [78090, 4], [78390, 3], [78590, 2], [78790, 1], [79090, 2], [79390, 3], [79690, 4], [79990, 3], [80190, 2], [80390, 1], [80690, 2], [80990, 3], [81290, 4], [81590, 3], [81790, 2], [81990, 1], [82290, 2], [82590, 3], [82890, 4], [83190, 2], [83390, 1], [83590, 1], [83890, 2], [84190, 3], [84490, 2], [84790, 3], [84990, 2], [85190, 3], [85490, 4], [85790, 3], [86090, 4], [86390, 3], [86590, 2], [86790, 3], [87090, 2], [87390, 3], [87690, 2], [87990, 3], [88190, 2], [88390, 1], [88690, 2], [88990, 3], [89290, 2], [89590, 3], [89790, 2], [89990, 6, 1100], [89990, 1], [90290, 2], [90590, 3], [90890, 2], [91190, 3], [91390, 2], [91590, 5, 1100], [91590, 3], [91890, 4], [92190, 3], [92490, 4], [92790, 3], [92990, 2], [93190, 5, 1100], [93190, 3], [93490, 2], [93790, 3], [94090, 2], [94390, 3], [94590, 2], [94790, 6, 1100], [94790, 1], [95090, 2], [95390, 3], [95690, 2], [95990, 3], [96190, 2], [96390, 6, 1100], [96390, 1], [96690, 2], [96990, 3], [97290, 2], [97590, 3], [97790, 2], [97990, 5, 1100], [97990, 3], [98290, 4], [98590, 3], [98890, 4], [99190, 3], [99390, 2], [99590, 5, 1100], [99590, 3], [99890, 2], [100190, 3], [100490, 2], [100790, 3], [100990, 2], [101190, 6, 1100], [101190, 1], [101490, 2], [101790, 3], [102090, 2], [102390, 3], [102590, 2], [102790, 6, 1100], [102790, 1], [103090, 2], [103390, 3], [103690, 2], [103990, 3], [104190, 2], [104390, 5, 1100], [104390, 3], [104690, 4], [104990, 3], [105290, 4], [105590, 3], [105790, 2], [105990, 5, 1100], [105990, 3], [106290, 2], [106590, 3], [106890, 2], [107190, 3], [107390, 2], [107590, 6, 1100], [107590, 1], [107890, 2], [108190, 3], [108490, 2], [108790, 3], [108990, 2], [110790, 2], [111090, 2], [111390, 2], [111590, 2], [111890, 2], [112190, 4], [112390, 2], [112690, 2], [112990, 2], [113190, 2], [113490, 2], [113790, 3], [113990, 2], [114290, 2], [114590, 2], [114790, 2], [115090, 2], [115390, 4], [115590, 3], [115790, 2], [115990, 3], [116190, 4], [116390, 3], [116590, 2], [116790, 1], [116990, 2], [117190, 2], [117590, 3], [117790, 4], [118390, 3], [118590, 2], [118790, 4], [119190, 3], [119390, 2], [119590, 3], [119990, 4], [120390, 2], [120790, 3], [120990, 4], [121590, 3], [121790, 2], [121990, 4], [122390, 3], [122590, 2], [122790, 6, 1500]];
break;
case 13:
tA = [[90, 4], [390, 4], [690, 1], [840, 2], [990, 3], [1140, 2], [1290, 4], [1590, 3], [2040, 3], [2340, 2], [2490, 4], [2790, 4], [3090, 1], [3240, 2], [3390, 3], [3540, 2], [3690, 4], [3990, 2], [4440, 1], [4740, 2], [4890, 4], [5190, 4], [5490, 1], [5640, 2], [5790, 3], [5940, 2], [6090, 4], [6390, 3], [6840, 3], [7140, 2], [7290, 4], [7590, 4], [7890, 1], [8040, 2], [8190, 3], [8340, 2], [8490, 4], [8790, 2], [9240, 1], [9540, 2], [10290, 1], [10440, 2], [10890, 4], [11340, 4], [11790, 3], [12690, 2], [12840, 1], [13290, 4], [13740, 4], [14190, 3], [15090, 1], [15240, 2], [15690, 4], [16140, 4], [16590, 3], [17490, 2], [17640, 1], [18090, 2], [18540, 2], [18990, 2], [19140, 4], [19890, 4], [20040, 3], [20190, 2], [20340, 3], [21090, 4], [21240, 3], [21390, 2], [22290, 4], [22440, 3], [22590, 2], [22740, 1], [23490, 4], [23640, 3], [23790, 1], [24090, 1], [24540, 2], [24990, 2], [25440, 3], [25890, 4], [26190, 3], [26490, 4], [27690, 4], [29190, 3], [29340, 2], [29640, 3], [29790, 2], [29940, 3], [30090, 2], [30390, 1], [30690, 2], [30990, 3], [31590, 3], [31740, 2], [32040, 3], [32190, 2], [32340, 3], [32490, 3], [32790, 2], [33090, 1], [33390, 2], [33690, 2], [34140, 1], [34590, 2], [34890, 3], [35340, 4], [35790, 3], [36090, 2], [36840, 2], [36990, 1], [37140, 2], [38790, 3], [38940, 2], [39240, 3], [39390, 2], [39540, 3], [39690, 2], [39990, 1], [40290, 2], [40590, 3], [41190, 3], [41340, 2], [41640, 3], [41790, 2], [41940, 3], [42090, 3], [42390, 2], [42690, 1], [42990, 2], [43290, 2], [43740, 1], [44190, 2], [44490, 3], [44940, 4], [45390, 3], [45690, 2], [46440, 2], [46590, 1], [46740, 2], [48090, 6, 2000], [48690, 1], [48840, 2], [49290, 4], [49740, 4], [50190, 3], [50490, 5, 2000], [51090, 2], [51240, 1], [51690, 4], [52140, 4], [52590, 3], [52890, 6, 2000], [53490, 1], [53640, 2], [54090, 4], [54540, 4], [54990, 3], [55290, 5, 2000], [55890, 2], [56040, 1], [56490, 2], [56940, 2], [57390, 2], [57540, 4], [57690, 6, 2000], [58290, 1], [58440, 2], [58890, 4], [59340, 4], [59790, 3], [60090, 5, 2000], [60690, 2], [60840, 1], [61290, 4], [61740, 4], [62190, 3], [62490, 6, 2000], [63090, 1], [63240, 2], [63690, 4], [64140, 4], [64590, 3], [64890, 5, 2000], [65490, 2], [65640, 1], [66090, 2], [66540, 2], [66990, 2], [67140, 4], [67890, 4], [68040, 3], [68190, 2], [68340, 3], [69090, 4], [69240, 3], [69390, 2], [70290, 4], [70440, 3], [70590, 2], [70740, 1], [71490, 4], [71640, 3], [71790, 1], [72090, 1], [72540, 2], [72990, 2], [73440, 3], [73890, 4], [74190, 3], [74490, 4], [75690, 4], [76890, 2], [77340, 1], [77640, 1], [77940, 2], [78090, 3], [78690, 4], [78990, 4], [79140, 2], [79740, 1], [80040, 1], [80340, 2], [80490, 3], [80940, 3], [81390, 4], [81690, 2], [82140, 1], [82440, 1], [82740, 2], [82890, 3], [83490, 4], [83790, 4], [83940, 2], [84540, 1], [84840, 1], [85140, 2], [85290, 3], [85740, 3], [86190, 4], [86490, 2], [86940, 1], [87240, 1], [87540, 2], [87690, 3], [88290, 4], [88590, 4], [88740, 2], [89340, 1], [89640, 1], [89940, 2], [90090, 3], [90540, 3], [90990, 4], [91290, 2], [91740, 4], [92040, 4], [92340, 3], [92490, 2], [92640, 1], [92790, 2], [92940, 3], [93090, 4], [93390, 4], [93540, 3], [93690, 2], [94140, 4], [94440, 4], [94740, 3], [94890, 2], [95040, 1], [95190, 2], [95340, 3], [95490, 2], [95790, 4], [96090, 2], [96540, 1], [96840, 1], [97140, 2], [97290, 3], [97890, 4], [98190, 4], [98340, 2], [98940, 1], [99240, 1], [99540, 2], [99690, 3], [100140, 3], [100590, 4], [100890, 2], [101340, 1], [101640, 1], [101940, 2], [102090, 3], [102690, 4], [102990, 4], [103140, 2], [103740, 1], [104040, 1], [104340, 2], [104490, 3], [104940, 3], [105390, 4], [105690, 2], [106140, 1], [106440, 1], [106740, 2], [106890, 3], [107490, 4], [107790, 4], [107940, 2], [108540, 1], [108840, 1], [109140, 2], [109290, 3], [109740, 3], [110190, 4], [110490, 2], [110940, 4], [111240, 4], [111540, 3], [111690, 2], [111840, 1], [111990, 2], [112140, 3], [112290, 4], [112590, 4], [112740, 3], [112890, 2], [113340, 4], [113640, 4], [113940, 3], [114090, 2], [114240, 1], [114390, 2], [114540, 3], [114690, 2], [114990, 4], [115590, 3], [115740, 2], [116040, 3], [116190, 2], [116340, 3], [116490, 2], [116790, 1], [117090, 2], [117390, 3], [117990, 3], [118140, 2], [118440, 3], [118590, 2], [118740, 3], [118890, 3], [119190, 2], [119490, 1], [119790, 2], [120090, 2], [120540, 1], [120990, 2], [121290, 3], [121740, 4], [122190, 3], [122490, 2], [123240, 2], [123390, 1], [123540, 2], [125190, 3], [125340, 2], [125640, 3], [125790, 2], [125940, 3], [126090, 2], [126390, 1], [126690, 2], [126990, 3], [127590, 3], [127740, 2], [128040, 3], [128190, 2], [128340, 3], [128490, 3], [128790, 2], [129090, 1], [129390, 2], [129690, 2], [130140, 1], [130590, 2], [130890, 3], [131340, 4], [131790, 3], [132090, 2], [132840, 2], [132990, 1], [133140, 2], [134490, 6, 2000], [135090, 1], [135240, 2], [135690, 4], [136140, 4], [136590, 3], [136890, 5, 2000], [137490, 2], [137640, 1], [138090, 4], [138540, 4], [138990, 3], [139290, 6, 2000], [139890, 1], [140040, 2], [140490, 4], [140940, 4], [141390, 3], [141690, 5, 2000], [142290, 2], [142440, 1], [142890, 2], [143340, 2], [143790, 2], [143940, 4], [144090, 6, 2000], [144690, 1], [144840, 2], [145290, 4], [145740, 4], [146190, 3], [146490, 5, 2000], [147090, 2], [147240, 1], [147690, 4], [148140, 4], [148590, 3], [148890, 6, 2000], [149490, 1], [149640, 2], [150090, 4], [150540, 4], [150990, 3], [151290, 5, 2000], [151890, 2], [152040, 1], [152490, 2], [152940, 2], [153390, 2], [153540, 4], [153690, 7, 950], [154290, 4], [154440, 3], [154590, 2], [154740, 3], [154890, 7, 950], [155490, 4], [155640, 3], [155790, 2], [156090, 7, 950], [156690, 4], [156840, 3], [156990, 2], [157140, 1], [157290, 7, 950], [157890, 4], [158040, 3], [158190, 1], [158490, 1], [158940, 2], [159390, 2], [159840, 3], [160290, 4], [160590, 3], [160890, 4], [161190, 7, 700], [162090, 4], [162390, 7, 700]];
break;
case 14:
tA = [[5550, 2], [5744, 2], [5937, 2], [6131, 3], [6324, 4], [9421, 2], [9614, 2], [9808, 2], [10002, 3], [10195, 7, 2900], [13292, 1], [13485, 1], [13679, 1], [13873, 2], [14066, 1], [14260, 1], [14453, 1], [14647, 1], [14840, 1], [15034, 1], [15227, 1], [15421, 1], [15614, 1], [15808, 1], [16002, 1], [16195, 1], [16389, 1], [16582, 1], [16776, 1], [16969, 1], [17163, 2], [17356, 2], [17550, 2], [17743, 3], [17937, 7, 2900], [21034, 2], [21324, 3], [21615, 1], [21808, 2], [22099, 4], [22389, 3], [22582, 2], [0x5959, 3], [23163, 4], [23357, 3], [23647, 2], [23937, 3], [24131, 5, 600], [24905, 1], [25195, 2], [25486, 3], [25679, 7, 1300], [27228, 2], [27518, 3], [27808, 1], [28002, 2], [28292, 4], [28582, 3], [28776, 2], [29066, 3], [29357, 4], [29550, 3], [29840, 2], [30131, 3], [30324, 5, 600], [31098, 1], [31389, 2], [31679, 3], [31873, 5, 1300], [33421, 2], [33566, 2], [33711, 2], [34002, 2], [34195, 1], [34486, 2], [34776, 3], [34969, 2], [35114, 2], [35259, 2], [35550, 2], [35743, 2], [35888, 2], [36033, 2], [36324, 2], [36518, 2], [36663, 2], [36808, 2], [37099, 2], [37292, 1], [37583, 2], [37873, 3], [38066, 2], [38211, 2], [38356, 2], [38647, 1], [38840, 6, 500], [39615, 2], [39760, 2], [39905, 2], [40196, 2], [40389, 1], [40534, 1], [40679, 1], [40970, 2], [41163, 2], [41308, 2], [41453, 2], [41744, 2], [41937, 2], [42082, 2], [42227, 2], [42518, 2], [42712, 3], [42857, 3], [43002, 3], [43293, 3], [43486, 2], [43777, 3], [44067, 2], [44260, 4], [45808, 4], [46098, 4], [46582, 1], [46873, 1], [47356, 4], [47647, 4], [48131, 1], [48421, 1], [48905, 4], [49195, 4], [49679, 1], [49969, 1], [50453, 5, 500], [51227, 6, 500], [52002, 4], [52292, 4], [52776, 1], [53066, 1], [53550, 4], [53840, 4], [54324, 1], [54614, 1], [55098, 4], [55389, 4], [55872, 1], [56163, 1], [56647, 5, 500], [57421, 6, 500], [58195, 1], [58485, 2], [58776, 3], [58969, 2], [59260, 3], [59550, 2], [59743, 6, 1700], [61679, 4], [62066, 1], [62453, 2], [62840, 7, 2800], [65937, 3], [66227, 2], [66518, 1], [66711, 2], [67001, 3], [67292, 4], [67485, 2], [67776, 3], [68066, 4], [68260, 3], [68550, 2], [68840, 3], [69034, 4], [69227, 4], [69614, 4], [69808, 2], [70098, 3], [70389, 4], [70582, 4], [70776, 4], [72130, 3], [72421, 2], [72711, 1], [72905, 2], [73195, 3], [73485, 4], [73679, 1], [73824, 2], [73969, 3], [74259, 4], [74453, 3], [74743, 2], [75034, 3], [75227, 4], [75421, 4], [76001, 2], [76292, 3], [76582, 4], [76776, 5, 1300], [78324, 4], [79098, 3], [79872, 2], [80647, 1], [81421, 4], [82195, 3], [82969, 2], [83743, 1], [84518, 4], [85292, 3], [86066, 2], [86840, 1], [87614, 4], [87905, 4], [88195, 4], [88388, 3], [88679, 3], [88969, 3], [89163, 2], [89453, 2], [89743, 2], [89937, 1], [90227, 1], [90517, 1], [90711, 3], [91001, 2], [91292, 1], [91485, 2], [91776, 3], [92066, 4], [92259, 2], [92550, 3], [92840, 4], [93034, 3], [93324, 2], [93614, 3], [93808, 4], [94388, 4], [94582, 2], [94872, 3], [95163, 4], [95356, 5, 1300], [96905, 3], [97195, 2], [97485, 1], [97679, 2], [97969, 3], [98259, 4], [98453, 2], [98743, 3], [99034, 4], [99227, 3], [99517, 2], [99808, 3], [100001, 4], [100775, 2], [101066, 3], [101356, 4], [101550, 5, 1300], [103098, 2], [103243, 2], [103388, 2], [103679, 2], [103872, 1], [104163, 2], [104453, 3], [104646, 2], [104791, 2], [104936, 2], [105227, 2], [105420, 2], [105565, 2], [105710, 2], [106001, 2], [106195, 2], [106340, 2], [106485, 2], [106776, 2], [106969, 1], [107260, 2], [107550, 3], [107743, 2], [107888, 2], [108033, 2], [108324, 1], [108517, 6, 500], [109292, 2], [109437, 2], [109582, 2], [109873, 2], [110066, 1], [110211, 1], [110356, 1], [110647, 2], [110840, 2], [110985, 2], [111130, 2], [111421, 2], [111614, 2], [111759, 2], [111904, 2], [112195, 2], [112389, 3], [112534, 3], [112679, 3], [112970, 3], [113163, 2], [113454, 3], [113744, 2], [113937, 4], [115485, 5, 500], [116259, 6, 500], [117033, 5, 500], [117808, 7, 500], [118582, 8, 500], [119356, 6, 500], [120130, 8, 500], [120904, 7, 500], [121679, 4], [121969, 4], [122453, 7, 500], [122453, 1], [122744, 1], [123227, 4], [123518, 4], [124002, 7, 500], [124002, 1], [124292, 1], [124776, 4], [125066, 4], [125550, 7, 500], [125550, 1], [125840, 1], [126324, 5, 500], [127098, 6, 500], [127873, 4], [128163, 4], [128647, 7, 500], [128647, 1], [128937, 1], [129421, 4], [129711, 4], [130195, 7, 500], [130195, 1], [130485, 1], [130969, 4], [131260, 4], [131743, 7, 500], [131743, 1], [132034, 1], [132518, 5, 500], [133292, 6, 500], [134066, 1], [134356, 2], [134647, 3], [134840, 2], [135131, 3], [135421, 2], [135614, 4]];
default:
break;
};
this.menuButt.addEventListener("click", menuButtClick);
this.voiceButt.addEventListener("click", voiceButtClick);
this.effectsButt.addEventListener("click", effectsButtClick);
this.numKeysButt.addEventListener("click", numKeysButtClick);
this.afKeysButt.addEventListener("click", afKeysButtClick);
this.qButt.addEventListener("click", qButtClick);
this.cmdHitText.text = "0";
this.cmdTotalText.text = "0";
}
private function setVolume(_arg1:Number):void{
var _local2:SoundTransform;
_local2 = new SoundTransform(_arg1, 0);
gameSongChannel.soundTransform = _local2;
}
private function voiceButtClick(_arg1:MouseEvent):void{
this.voiceX.visible = (MovieClip(parent).voiceOff = !(MovieClip(parent).voiceOff));
if (MovieClip(parent).saving){
MovieClip(parent).so.data.score[1] = MovieClip(parent).voiceOff;
MovieClip(parent).so.flush();
};
}
private function gameUpdate1(_arg1:Event):void{
var _local2:int;
_local2 = (getTimer() - startTime);
if (_local2 > travelTime){
gameSongChannel = gameSong.play((_local2 - travelTime));
setVolume(0.8);
gameSongChannel.addEventListener("soundComplete", gameSongComplete);
removeEventListener("enterFrame", gameUpdate1);
};
}
private function gameUpdate2(_arg1:Event):void{
var _local2:int;
_local2 = (getTimer() - startTime);
if (((!((currentIndex == tA.length))) && ((_local2 >= tA[currentIndex][0])))){
spawnCommand();
};
if (leKey == 4){
wrongKey(3);
};
if (upKey == 4){
wrongKey(1);
};
if (riKey == 4){
wrongKey(2);
};
if (doKey == 4){
wrongKey(4);
};
if (aKey == 4){
wrongKey(4);
};
if (sKey == 4){
wrongKey(3);
};
if (dKey == 4){
wrongKey(2);
};
if (fKey == 4){
wrongKey(1);
};
leKey = (leKey + (((leKey > 0)) && ((leKey < 5))));
upKey = (upKey + (((upKey > 0)) && ((upKey < 5))));
riKey = (riKey + (((riKey > 0)) && ((riKey < 5))));
doKey = (doKey + (((doKey > 0)) && ((doKey < 5))));
aKey = (aKey + (((aKey > 0)) && ((aKey < 5))));
sKey = (sKey + (((sKey > 0)) && ((sKey < 5))));
dKey = (dKey + (((dKey > 0)) && ((dKey < 5))));
fKey = (fKey + (((fKey > 0)) && ((fKey < 5))));
}
private function gameUpdate3(_arg1:Event):void{
this.statusBar.scaleX = (((getTimer() - startTime) - travelTime) / gameSong.length);
}
private function loadSongName():void{
switch (timing){
case 1:
this.songText.text = "In Your Eyes by Verax";
break;
case 2:
this.songText.text = "Chaos Within by Tatsu-Takahashi";
break;
case 3:
this.songText.text = "The Instrumental Song by DTG";
break;
case 4:
this.songText.text = "Nobody Else by Noise Pollution";
break;
case 5:
this.songText.text = "All Day Comfort by SWiTCH";
break;
case 6:
this.songText.text = "The Fade by Setu Firestorm";
break;
case 7:
this.songText.text = "Lick Up The Honey by AQUILA";
break;
case 8:
this.songText.text = "Train Wreck by Noise Pollution";
break;
case 9:
this.songText.text = "Speedfreak by Eliminator";
break;
case 10:
this.songText.text = "Mars bars and Mentos by yapperface";
break;
case 11:
this.songText.text = "SWiTCH vs Evil-Dog Round 2";
break;
case 12:
this.songText.text = "Plan A by Nick Crockett";
break;
case 13:
this.songText.text = "Betrayal of Fate by Goukisan";
break;
case 14:
this.songText.text = "Asshole! by Evil-Dog";
break;
default:
break;
};
}
public function comboAdd():void{
if (combo < (10 + (multiplier * 2))){
combo++;
if (combo == 1){
setVolume(0.8);
};
};
}
private function effectsButtClick(_arg1:MouseEvent):void{
this.effectsX.visible = (MovieClip(parent).effectsOff = !(MovieClip(parent).effectsOff));
if (MovieClip(parent).saving){
MovieClip(parent).so.data.score[2] = MovieClip(parent).effectsOff;
MovieClip(parent).so.flush();
};
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
var _local2:int;
_local2 = _arg1.keyCode;
switch (_local2){
case 37:
if (!leKey){
leKey = 1;
this.guy.guitar.gotoAndStop(2);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
case 38:
if (!upKey){
upKey = 1;
this.guy.guitar.gotoAndStop(4);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
case 39:
if (!riKey){
riKey = 1;
this.guy.guitar.gotoAndStop(3);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
case 40:
if (!doKey){
doKey = 1;
this.guy.guitar.gotoAndStop(1);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
case aKeyCode:
if (!aKey){
aKey = 1;
this.guy.guitar.gotoAndStop(1);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
case dKeyCode:
if (!dKey){
dKey = 1;
this.guy.guitar.gotoAndStop(3);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
case sKeyCode:
if (!sKey){
sKey = 1;
this.guy.guitar.gotoAndStop(2);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
case fKeyCode:
if (!fKey){
fKey = 1;
this.guy.guitar.gotoAndStop(4);
this.guy.guitar.strum.gotoAndPlay(2);
};
break;
default:
break;
};
}
private function gameSongComplete(_arg1:Event):void{
var _local2:MovieClip;
stage.removeEventListener("keyDown", keyDownHandler);
stage.removeEventListener("keyUp", keyUpHandler);
removeEventListener("enterFrame", gameUpdate2);
removeEventListener("enterFrame", gameUpdate3);
gameSongChannel.removeEventListener("soundComplete", gameSongComplete);
gameSongChannel = null;
gameSong = null;
_local2 = new fadeOut();
addChild(_local2);
}
private function keyUpHandler(_arg1:KeyboardEvent):void{
var _local2:int;
_local2 = _arg1.keyCode;
switch (_local2){
case 37:
leKey = 0;
break;
case 38:
upKey = 0;
break;
case 39:
riKey = 0;
break;
case 40:
doKey = 0;
break;
case aKeyCode:
aKey = 0;
break;
case dKeyCode:
dKey = 0;
break;
case sKeyCode:
sKey = 0;
break;
case fKeyCode:
fKey = 0;
break;
default:
break;
};
}
private function menuButtClick(_arg1:MouseEvent):void{
var _local2:MovieClip;
var _local3:MovieClip;
stage.removeEventListener("keyDown", readyEnter);
this.menuButt.removeEventListener("click", menuButtClick);
this.voiceButt.removeEventListener("click", voiceButtClick);
this.effectsButt.removeEventListener("click", effectsButtClick);
this.numKeysButt.removeEventListener("click", numKeysButtClick);
this.afKeysButt.removeEventListener("click", afKeysButtClick);
this.qButt.removeEventListener("click", qButtClick);
_local2 = new MainMenu();
_local3 = MovieClip(parent);
_local3.addChildCentre(_local2);
_local3.removeChild(this);
_local2.initiate();
}
public function scoreAdd(_arg1:int):void{
var _local2:int;
_local2 = multiplier;
if (multiplier == 6){
_local2 = 10;
};
score = (score + (_arg1 * _local2));
if (score < 0){
score = 0;
};
this.scoreText.text = score.toString();
}
public function initiate():void{
this.voiceX.visible = MovieClip(parent).voiceOff;
this.effectsX.visible = MovieClip(parent).effectsOff;
this.numX.visible = !((MovieClip(parent).keySet == 1));
this.afX.visible = !((MovieClip(parent).keySet == 2));
this.voiceX.mouseEnabled = (this.effectsX.mouseEnabled = (this.numX.mouseEnabled = (this.afX.mouseEnabled = false)));
stage.addEventListener("keyDown", readyEnter);
stage.focus = null;
}
public function disable():void{
removeEventListener("enterFrame", gameUpdate1);
removeEventListener("enterFrame", gameUpdate2);
removeEventListener("enterFrame", gameUpdate3);
stage.removeEventListener("keyDown", keyDownHandler);
stage.removeEventListener("keyUp", keyUpHandler);
gameSongChannel.stop();
gameSongChannel.removeEventListener("soundComplete", gameSongComplete);
gameSongChannel = null;
gameSong = null;
}
private function readyEnter(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 13){
MovieClip(parent).addFramerateDisplay();
inGame = true;
this.guy.head.play();
stage.removeEventListener("keyDown", readyEnter);
this.menuButt.removeEventListener("click", menuButtClick);
this.voiceButt.removeEventListener("click", voiceButtClick);
this.effectsButt.removeEventListener("click", effectsButtClick);
this.numKeysButt.removeEventListener("click", numKeysButtClick);
this.afKeysButt.removeEventListener("click", afKeysButtClick);
this.qButt.removeEventListener("click", qButtClick);
removeChild(this.menuButt);
removeChild(this.voiceButt);
removeChild(this.voiceX);
removeChild(this.effectsButt);
removeChild(this.effectsX);
removeChild(this.numKeysButt);
removeChild(this.numX);
removeChild(this.afKeysButt);
removeChild(this.afX);
removeChild(this.qButt);
this.restartButt.visible = true;
this.restartButt.addEventListener("click", restartButtClick);
switch (MovieClip(parent).keySet){
case 1:
aKeyCode = 49;
sKeyCode = 50;
dKeyCode = 51;
fKeyCode = 52;
break;
case 2:
aKeyCode = 65;
sKeyCode = 83;
dKeyCode = 68;
fKeyCode = 70;
break;
default:
break;
};
startTime = getTimer();
addEventListener("enterFrame", gameUpdate1, false, 1);
addEventListener("enterFrame", gameUpdate2, false, 1);
addEventListener("enterFrame", gameUpdate3);
stage.addEventListener("keyDown", keyDownHandler);
stage.addEventListener("keyUp", keyUpHandler);
stage.focus = null;
};
}
public function comboWipe():void{
combo = 0;
comboMiss++;
setVolume(0.2);
}
private function spawnCommand():void{
var _local1:Command;
_local1 = new Command(tA[currentIndex][1], tA[currentIndex][2], tA[currentIndex][0], MovieClip(parent).effectsOff, MovieClip(parent).keySet, travelTime);
addChild(_local1);
currentIndex++;
if (currentIndex == tA.length){
this.restartButt.removeEventListener("click", restartButtClick);
this.restartButt.visible = false;
this.buttonBack.visible = false;
} else {
if (tA[currentIndex][0] == tA[(currentIndex - 1)][0]){
spawnCommand();
};
};
}
public function scoreAdd2(_arg1:int, _arg2:int, _arg3:int):void{
if (_arg3 == 6){
_arg3 = 10;
};
score = (score + (_arg1 * _arg3));
if (score < 0){
score = 0;
};
this.scoreText.text = score.toString();
}
private function updateMultiplier(_arg1:Boolean):void{
var _local2:int;
var _local3:int;
switch (multiplier){
case 1:
this.multiplierName.text = "Weak...";
_local2 = 13408563;
this.guy.gotoAndStop(1);
break;
case 2:
this.multiplierName.text = "Not Bad";
_local2 = 0x669900;
if (_arg1){
this.guy.gotoAndPlay(2);
} else {
this.guy.gotoAndStop(5);
};
break;
case 3:
this.multiplierName.text = "Cool";
_local2 = 3381708;
if (_arg1){
this.guy.gotoAndPlay(6);
} else {
this.guy.gotoAndStop(9);
};
break;
case 4:
this.multiplierName.text = "Super";
_local2 = 16763955;
if (_arg1){
this.guy.gotoAndPlay(10);
} else {
this.guy.gotoAndStop(13);
};
break;
case 5:
this.multiplierName.text = "Crazy!";
_local2 = 0xCC0000;
if (_arg1){
this.guy.gotoAndPlay(14);
} else {
this.guy.gotoAndStop(17);
};
break;
case 6:
this.multiplierName.text = "Maniac!!";
_local2 = 14677236;
this.guy.gotoAndPlay(18);
break;
default:
break;
};
this.multiplierName.textColor = (this.multiplierText.textColor = _local2);
_local3 = multiplier;
if (multiplier == 6){
_local3 = 10;
};
this.multiplierText.text = ("x" + _local3.toString());
}
private function wrongKey(_arg1:int):void{
var _local2:Class;
var _local3:Sound;
var _local4:SoundChannel;
_local2 = (getDefinitionByName(("mess" + _arg1)) as Class);
_local3 = new (_local2);
_local4 = _local3.play();
mistakes++;
if (mistakes < 1000){
this.mistakeText.text = mistakes.toString();
} else {
if (mistakes == 1000){
this.mistakeText.text = "LOTS!";
MovieClip(parent).butter = true;
MovieClip(parent).playVoice("Butter");
if (MovieClip(parent).saving){
MovieClip(parent).so.data.score[4] = true;
MovieClip(parent).so.flush();
};
};
};
comboWipe();
evalMultiplier();
}
private function afKeysButtClick(_arg1:MouseEvent):void{
MovieClip(parent).keySet = 2;
if (MovieClip(parent).saving){
MovieClip(parent).so.data.score[3] = 2;
MovieClip(parent).so.flush();
};
this.afX.visible = false;
this.numX.visible = true;
}
public function evalMultiplier():void{
if ((((combo >= (10 + (multiplier * 2)))) && ((multiplier < 6)))){
multiplier++;
combo = 0;
comboMiss = 0;
MovieClip(parent).playVoice(("Mult" + multiplier));
updateMultiplier(true);
} else {
if ((((((comboMiss == 1)) && ((multiplier == 6)))) || ((((comboMiss >= 2)) && ((multiplier > 1)))))){
multiplier--;
comboMiss = 0;
if (multiplier == 1){
MovieClip(parent).playVoice("Mult1");
};
updateMultiplier(false);
};
};
}
private function numKeysButtClick(_arg1:MouseEvent):void{
MovieClip(parent).keySet = 1;
if (MovieClip(parent).saving){
MovieClip(parent).so.data.score[3] = 1;
MovieClip(parent).so.flush();
};
this.numX.visible = false;
this.afX.visible = true;
}
public function loadSongEnd():void{
inGame = false;
MovieClip(parent).loadEndSong(score, timing, int(this.cmdHitText.text), int(this.cmdTotalText.text), mistakes);
parent.removeChild(this);
}
private function qButtClick(_arg1:MouseEvent):void{
var _local2:String;
_local2 = stage.quality;
switch (_local2){
case "LOW":
stage.quality = "BEST";
break;
case "MEDIUM":
stage.quality = "LOW";
break;
case "HIGH":
case "BEST":
stage.quality = "MEDIUM";
break;
default:
break;
};
}
private function restartButtClick(_arg1:MouseEvent):void{
var _local2:MovieClip;
inGame = false;
_local2 = MovieClip(parent);
_local2.restartGame(null);
}
public function cmdHit(_arg1:int=0):void{
if (_arg1){
this.cmdHitText.text = (int(this.cmdHitText.text) + 1).toString();
};
this.cmdTotalText.text = (int(this.cmdTotalText.text) + 1).toString();
}
}
}//package
Section 39
//Guitar (Guitar)
package {
import flash.media.*;
public dynamic class Guitar extends Sound {
}
}//package
Section 40
//guitarMain (guitarMain)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import CPMStar.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
public dynamic class guitarMain extends MovieClip {
public var butter:Boolean;
public var stageWid:int;// = 720
private var endSongMC:MovieClip;
private var gameStage:int;
public var so:SharedObject;
public var stageWidHalf:int;
public var startTime:Number;
public var stageHeiHalf:int;
public var guit:int;
public var adCount:int;// = 0
private var ads:Boolean;// = false
private var pauseCoverMC:MovieClip;
public var interval:Number;// = 4
public var voiceOff:Boolean;
public var saveOutput:String;
public var minim:Boolean;
public var saving:Boolean;// = true
private var introMC:MovieClip;
public var gameMC:MovieClip;
public var effectsOff:Boolean;
public var stageHei:int;// = 400
private var tempText:TextField;
private var menuMC:MovieClip;
private var pausedBool:Boolean;// = false
private var voiceChannel:SoundChannel;
public var keySet:int;
public var fpsText:TextField;
public var numFrames:Number;// = 0
public function guitarMain():void{
saving = true;
pausedBool = false;
adCount = 0;
stageWid = 720;
stageHei = 400;
stageWidHalf = (stageWid / 2);
stageHeiHalf = (stageHei / 2);
interval = 4;
numFrames = 0;
ads = false;
super();
addFrameScript(0, frame1, 2, frame3);
stage.showDefaultContextMenu = false;
MochiBot.track(this, "22b528cb");
showAds();
this.ndLogo.addEventListener("click", ndClick);
this.playButt.visible = false;
}
private function flushTheSo():void{
var flushStatus:String;
flushStatus = null;
try {
flushStatus = so.flush();
} catch(error:Error) {
saveOutput = "Data could not be saved.";
saving = false;
};
if (flushStatus != null){
switch (flushStatus){
case "pending":
so.addEventListener("netStatus", onFlushStatus);
break;
case "flushed":
saveOutput = "New save file created.";
break;
};
};
}
public function hideAds():void{
if (ads){
this.adCont.ndAd.removeEventListener("click", ndClick);
this.adCont.removeChild(this.adCont.adBox);
removeChild(this.adCont);
ads = false;
};
}
private function nullify():void{
introMC = null;
menuMC = null;
gameMC = null;
endSongMC = null;
}
public function stopVoice():void{
voiceChannel.stop();
voiceChannel = null;
}
private function onFlushStatus2(_arg1:NetStatusEvent):void{
switch (_arg1.info.code){
case "SharedObject.Flush.Success":
tempText.text = "Data saved!";
break;
case "SharedObject.Flush.Failed":
tempText.text = "Data could not be saved.";
break;
};
tempText = null;
so.removeEventListener("netStatus", onFlushStatus2);
}
public function playVoice(_arg1:String):void{
var _local2:Class;
var _local3:Sound;
if (voiceChannel != null){
stopVoice();
};
_local2 = (getDefinitionByName(_arg1) as Class);
_local3 = new (_local2);
if (!voiceOff){
voiceChannel = _local3.play();
} else {
if (_arg1.substr(0, 4) != "Mult"){
voiceChannel = _local3.play();
};
};
}
function frame3(){
stop();
loadData();
}
function frame1(){
stop();
}
private function showAds():void{
var _local1:int;
var _local2:int;
var _local3:DisplayObject;
_local1 = 1377;
_local2 = 501;
_local3 = AdLoader.LoadAd(_local1, _local2);
_local3.opaqueBackground = 0;
this.adCont.adBox.addChild(_local3);
ads = true;
this.adCont.ndAd.addEventListener("click", ndClick);
}
public function restartGame(_arg1:Event):void{
gameMC.disable();
removeChild(gameMC);
loadGame(gameMC.timing);
}
public function kongSubmit():void{
}
private function playClick(_arg1):void{
this.ndLogo.removeEventListener("click", ndClick);
this.playButt.removeEventListener("click", playClick);
hideAds();
play();
}
public function addChildCentre(_arg1:DisplayObject):void{
addChild(_arg1);
_arg1.x = stageWidHalf;
_arg1.y = stageHeiHalf;
}
private function onFlushStatus(_arg1:NetStatusEvent):void{
switch (_arg1.info.code){
case "SharedObject.Flush.Success":
saveOutput = "Save file created successfully!";
break;
case "SharedObject.Flush.Failed":
saveOutput = "Data could not be saved.";
saving = false;
break;
};
so.removeEventListener("netStatus", onFlushStatus);
}
public function loadEndSong(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
nullify();
endSongMC = new EndSong(_arg1, _arg2, _arg3, _arg4, _arg5);
addChild(endSongMC);
endSongMC.initiate();
gameStage = 4;
}
public function addFramerateDisplay():void{
startTime = getTimer();
stage.addEventListener("enterFrame", fpsMod);
}
private function loadIntro():void{
if (saving){
guit = so.data.score[0];
voiceOff = so.data.score[1];
effectsOff = so.data.score[2];
keySet = so.data.score[3];
butter = so.data.score[4];
minim = so.data.score[5];
} else {
guit = 1;
voiceOff = false;
effectsOff = false;
keySet = 1;
butter = false;
minim = false;
};
introMC = new Intro();
addChildCentre(introMC);
introMC.gotoAndPlay(1);
gameStage = 1;
}
public function flushTheSo2(_arg1:TextField):void{
var flushStatus:String;
var output = _arg1;
flushStatus = null;
try {
flushStatus = so.flush();
} catch(error:Error) {
output.text = "Data could not be saved.";
};
if (flushStatus != null){
switch (flushStatus){
case "pending":
tempText = output;
so.addEventListener("netStatus", onFlushStatus2);
break;
case "flushed":
output.text = "Data saved!";
break;
};
};
}
public function loadMenu():void{
nullify();
menuMC = new MainMenu();
addChildCentre(menuMC);
menuMC.initiate();
gameStage = 2;
}
public function ndClick(_arg1:MouseEvent):void{
goURL("http://www.notdoppler.com");
}
public function goURL(_arg1:String):void{
var _local2:URLRequest;
_local2 = new URLRequest(_arg1);
navigateToURL(_local2, "_blank");
}
private function fpsMod(_arg1:Object):void{
var _local2:Number;
var _local3:Number;
if ((++numFrames % interval) == 0){
_local2 = getTimer();
_local3 = ((1000 * interval) / (_local2 - startTime));
startTime = _local2;
if (numFrames < 100){
if ((((stage.frameRate > 60)) && ((_local3 > 60)))){
stage.frameRate = (stage.frameRate - 2);
} else {
if ((((stage.frameRate < 80)) && ((_local3 < 65)))){
stage.frameRate = (stage.frameRate + 2);
};
};
} else {
stage.removeEventListener("enterFrame", fpsMod);
};
};
}
private function loadData():void{
try {
so = SharedObject.getLocal("options");
} catch(error:Error) {
saveOutput = "Game progress will not be saved.";
saving = false;
};
if (saving){
if (!so.size){
so.data.xyz = new Array([0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]);
so.data.abc = new int(0);
so.data.score = new Array(1, false, false, 1, false, false);
flushTheSo();
} else {
saveOutput = "Save file loaded.";
};
};
loadIntro();
}
public function showPlay():void{
this.playButt.visible = true;
this.playButt.addEventListener("click", playClick);
}
public function loadGame(_arg1:int):void{
nullify();
gameMC = new Game(_arg1);
addChild(gameMC);
gameMC.initiate();
gameStage = 3;
}
}
}//package
Section 41
//Intro (Intro)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.net.*;
import flash.system.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Intro extends MovieClip {
public var notDopp:SimpleButton;
public function Intro(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
notDopp.addEventListener("click", ndClick);
}
function frame2(){
stop();
notDopp.removeEventListener("click", ndClick);
MovieClip(parent).loadMenu();
parent.removeChild(this);
}
public function ndClick(_arg1):void{
MovieClip(root).goURL("http://www.notdoppler.com");
}
}
}//package
Section 42
//MainMenu (MainMenu)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public dynamic class MainMenu extends MovieClip {
private var perfects:int;// = 0
private var menuMusic:Sound;
private var kong:Boolean;// = false
private var menuMusicChannel:SoundChannel;
private var gameSong:int;
private var awards:int;// = 0
private var parentMC:MovieClip;
public function MainMenu():void{
kong = false;
awards = 0;
perfects = 0;
super();
addFrameScript(0, frame1, 10, frame11, 19, frame20, 27, frame28);
}
public function enableTutorial():void{
this.backButt.addEventListener("click", tutorialBackButtClick);
this.edButt.addEventListener("click", edButtClick);
}
private function song14ButtClick(_arg1:MouseEvent):void{
var _local2:int;
_local2 = 36;
if (parentMC.so.data.abc >= _local2){
gameSong = 14;
disableSongSelect();
startGame();
};
}
private function g5ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 5;
disableGuitarSelect();
gotoAndStop("main");
}
private function download6ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://setu-firestorm.newgrounds.com");
}
private function song4ButtClick(_arg1:MouseEvent):void{
gameSong = 4;
disableSongSelect();
startGame();
}
private function enableSongSelect():void{
var _local1:int;
var _local2:int;
this.clearConfirm.visible = false;
parentMC.playVoice("Song");
gameSong = 0;
_local1 = 1;
while (_local1 < 15) {
if (MovieClip(parent).saving){
this[(("score" + _local1) + "Text")].text = MovieClip(parent).so.data.xyz[(_local1 - 1)][0];
} else {
this[(("score" + _local1) + "Text")].text = "0";
};
this[(("score" + _local1) + "Text")].mouseEnabled = false;
if (((MovieClip(parent).saving) && (MovieClip(parent).so.data.xyz[(_local1 - 1)][1]))){
this[("award" + _local1)].gotoAndStop(MovieClip(parent).so.data.xyz[(_local1 - 1)][1]);
this[("award" + _local1)].visible = true;
} else {
this[("award" + _local1)].visible = false;
};
this[("award" + _local1)].mouseEnabled = false;
_local1++;
};
if (MovieClip(parent).saving){
_local2 = MovieClip(parent).so.data.abc;
} else {
_local2 = 0;
};
this.apText.text = _local2.toString();
this.pdisplay.visible = (_local2 == 56);
if (this.pdisplay.visible){
this.pdisplay.x = 0;
};
this.lock1.numText.text = "3";
this.lock1.visible = (_local2 < 3);
this.song8Butt.mouseEnabled = !(this.lock1.visible);
this.lock2.numText.text = "6";
this.lock2.visible = (_local2 < 6);
this.song9Butt.mouseEnabled = !(this.lock2.visible);
this.lock3.numText.text = "10";
this.lock3.visible = (_local2 < 10);
this.song10Butt.mouseEnabled = !(this.lock3.visible);
this.lock4.numText.text = "15";
this.lock4.visible = (_local2 < 15);
this.song11Butt.mouseEnabled = !(this.lock4.visible);
this.lock5.numText.text = "21";
this.lock5.visible = (_local2 < 21);
this.song12Butt.mouseEnabled = !(this.lock5.visible);
this.lock6.numText.text = "28";
this.lock6.visible = (_local2 < 28);
this.song13Butt.mouseEnabled = !(this.lock6.visible);
this.lock7.numText.text = "36";
this.lock7.visible = (_local2 < 36);
this.song14Butt.mouseEnabled = !(this.lock7.visible);
this.song1Butt.addEventListener("click", song1ButtClick);
this.song2Butt.addEventListener("click", song2ButtClick);
this.song3Butt.addEventListener("click", song3ButtClick);
this.song4Butt.addEventListener("click", song4ButtClick);
this.song5Butt.addEventListener("click", song5ButtClick);
this.song6Butt.addEventListener("click", song6ButtClick);
this.song7Butt.addEventListener("click", song7ButtClick);
this.song8Butt.addEventListener("click", song8ButtClick);
this.song9Butt.addEventListener("click", song9ButtClick);
this.song10Butt.addEventListener("click", song10ButtClick);
this.song11Butt.addEventListener("click", song11ButtClick);
this.song12Butt.addEventListener("click", song12ButtClick);
this.song13Butt.addEventListener("click", song13ButtClick);
this.song14Butt.addEventListener("click", song14ButtClick);
this.download1Butt.addEventListener("click", download1ButtClick);
this.download2Butt.addEventListener("click", download2ButtClick);
this.download3Butt.addEventListener("click", download3ButtClick);
this.download4Butt.addEventListener("click", download4ButtClick);
this.download5Butt.addEventListener("click", download5ButtClick);
this.download6Butt.addEventListener("click", download6ButtClick);
this.download7Butt.addEventListener("click", download7ButtClick);
this.download8Butt.addEventListener("click", download8ButtClick);
this.download9Butt.addEventListener("click", download9ButtClick);
this.download11Butt.addEventListener("click", download11ButtClick);
this.download12Butt.addEventListener("click", download12ButtClick);
this.download13Butt.addEventListener("click", download13ButtClick);
this.download14Butt.addEventListener("click", download14ButtClick);
this.clearButt.addEventListener("click", clearButtClick);
this.backButt.addEventListener("click", songBackButtClick);
if (((kong) && (MovieClip(parent).saving))){
MovieClip(parent).kongregate.stats.submit("SongsUnlocked", ((((((int((_local2 > 2)) + int((_local2 > 5))) + int((_local2 > 9))) + int((_local2 > 14))) + int((_local2 > 20))) + int((_local2 > 27))) + int((_local2 > 35))));
};
}
private function g7ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 7;
disableGuitarSelect();
gotoAndStop("main");
}
public function disableTutorial():void{
this.backButt.removeEventListener("click", tutorialBackButtClick);
this.edButt.removeEventListener("click", edButtClick);
parentMC.stopVoice();
}
function frame1(){
stop();
enableMainMenu();
}
function frame11(){
stop();
enableGuitarSelect();
}
function frame28(){
stop();
enableTutorial();
}
private function download8ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.myspace.com/noisepollutionpunk");
}
private function song6ButtClick(_arg1:MouseEvent):void{
gameSong = 6;
disableSongSelect();
startGame();
}
private function creditsButt2Click(_arg1:MouseEvent):void{
this.credits.visible = false;
}
private function download1ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.myspace.com/veraxband");
}
function frame20(){
stop();
enableSongSelect();
}
public function initiate(_arg1:Boolean=false):void{
var _local2:int;
parentMC = MovieClip(parent);
menuMusic = new menuLoop();
menuMusicChannel = menuMusic.play();
menuMusicChannel.addEventListener("soundComplete", menuLoopComplete);
if (parentMC.saving){
_local2 = 0;
while (_local2 < 14) {
if (parentMC.so.data.xyz[_local2][1] > 0){
awards++;
if (parentMC.so.data.xyz[_local2][1] == 4){
perfects++;
};
};
_local2++;
};
};
if (!_arg1){
gotoAndStop("main");
};
}
private function download12ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://hazard-productions.newgrounds.com");
}
private function guitButtClick(_arg1:MouseEvent):void{
disableMainMenu();
gotoAndStop("guitar");
}
private function song8ButtClick(_arg1:MouseEvent):void{
var _local2:int;
_local2 = 3;
if (parentMC.so.data.abc >= _local2){
gameSong = 8;
disableSongSelect();
startGame();
};
}
private function g9ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 9;
disableGuitarSelect();
gotoAndStop("main");
}
private function song11ButtClick(_arg1:MouseEvent):void{
var _local2:int;
_local2 = 15;
if (parentMC.so.data.abc >= _local2){
gameSong = 11;
disableSongSelect();
startGame();
};
}
private function download3ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://dtg.fuzz.com");
}
private function g2ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 2;
disableGuitarSelect();
gotoAndStop("main");
}
private function song1ButtClick(_arg1:MouseEvent):void{
gameSong = 1;
disableSongSelect();
startGame();
}
private function websiteButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.shinki.co.uk");
}
public function disable():void{
menuMusicChannel.removeEventListener("soundComplete", menuLoopComplete);
menuMusicChannel.stop();
menuMusic = null;
menuMusicChannel = null;
}
private function download14ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://evil-dog.newgrounds.com");
}
private function songBackButtClick(_arg1:MouseEvent):void{
disableSongSelect();
gotoAndStop("main");
}
private function menuLoopComplete(_arg1:Event):void{
menuMusicChannel.removeEventListener("soundComplete", menuLoopComplete);
menuMusicChannel = menuMusic.play(4350);
menuMusicChannel.addEventListener("soundComplete", menuLoopComplete);
}
private function song13ButtClick(_arg1:MouseEvent):void{
var _local2:int;
_local2 = 28;
if (parentMC.so.data.abc >= _local2){
gameSong = 13;
disableSongSelect();
startGame();
};
}
private function clearYesButtClick(_arg1:MouseEvent):void{
if (parentMC.saving){
parentMC.so.data.xyz = new Array([0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]);
parentMC.so.data.abc = new int(0);
parentMC.so.data.score = new Array(1, false, false, 1, false, false);
parentMC.so.flush();
};
this.clearConfirm.yesButt.removeEventListener("click", clearYesButtClick);
this.clearConfirm.noButt.removeEventListener("click", clearNoButtClick);
enableSongSelect();
}
private function g4ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 4;
disableGuitarSelect();
gotoAndStop("main");
}
private function song3ButtClick(_arg1:MouseEvent):void{
gameSong = 3;
disableSongSelect();
startGame();
}
private function g10ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 10;
disableGuitarSelect();
gotoAndStop("main");
}
private function download5ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://switch.newgrounds.com");
}
private function disableGuitarSelect():void{
if (MovieClip(parent).saving){
MovieClip(parent).so.data.score[0] = MovieClip(parent).guit;
MovieClip(parent).so.flush();
};
this.g1Butt.removeEventListener("click", g1ButtClick);
this.g2Butt.removeEventListener("click", g2ButtClick);
this.g3Butt.removeEventListener("click", g3ButtClick);
this.g4Butt.removeEventListener("click", g4ButtClick);
this.g5Butt.removeEventListener("click", g5ButtClick);
this.g6Butt.removeEventListener("click", g6ButtClick);
this.g7Butt.removeEventListener("click", g7ButtClick);
this.g8Butt.removeEventListener("click", g8ButtClick);
this.g9Butt.removeEventListener("click", g9ButtClick);
this.g10Butt.removeEventListener("click", g10ButtClick);
this.backButt.removeEventListener("click", guitarBackButtClick);
}
private function dwnButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.notdoppler.com/scgmd3-download.php");
}
private function sponsorButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.notdoppler.com");
}
private function enableGuitarSelect():void{
parentMC.playVoice("Guitar");
this.g1Butt.addEventListener("click", g1ButtClick);
this.g2Butt.addEventListener("click", g2ButtClick);
this.g3Butt.visible = (awards > 3);
this.g4Butt.visible = (awards > 7);
this.g5Butt.visible = (awards > 13);
this.g6Butt.visible = MovieClip(parent).butter;
this.g7Butt.visible = MovieClip(parent).minim;
this.g8Butt.visible = (perfects > 0);
this.g9Butt.visible = (perfects > 4);
this.g10Butt.visible = (perfects > 9);
if (awards > 3){
this.g3Butt.addEventListener("click", g3ButtClick);
};
if (awards > 7){
this.g4Butt.addEventListener("click", g4ButtClick);
};
if (awards > 13){
this.g5Butt.addEventListener("click", g5ButtClick);
};
if (MovieClip(parent).butter){
this.g6Butt.addEventListener("click", g6ButtClick);
};
if (MovieClip(parent).minim){
this.g7Butt.addEventListener("click", g7ButtClick);
};
if (perfects > 0){
this.g8Butt.addEventListener("click", g8ButtClick);
};
if (perfects > 4){
this.g9Butt.addEventListener("click", g9ButtClick);
};
if (perfects > 9){
this.g10Butt.addEventListener("click", g10ButtClick);
};
this.lock1.lockText.text = "At least bronze on 4 songs.";
this.lock2.lockText.text = "At least bronze on 8 songs.";
this.lock3.lockText.text = "At least bronze on every song.";
this.lock4.lockText.text = "Butterfingers!";
this.lock5.lockText.text = "Minimalist...";
this.lock6.lockText.text = "Perfect a song.";
this.lock7.lockText.text = "Perfect 5 songs.";
this.lock8.lockText.text = "Perfect 10 songs.";
this.lock1.visible = !(this.g3Butt.visible);
this.lock2.visible = !(this.g4Butt.visible);
this.lock3.visible = !(this.g5Butt.visible);
this.lock4.visible = !(this.g6Butt.visible);
this.lock5.visible = !(this.g7Butt.visible);
this.lock6.visible = !(this.g8Butt.visible);
this.lock7.visible = !(this.g9Butt.visible);
this.lock8.visible = !(this.g10Butt.visible);
this.backButt.addEventListener("click", guitarBackButtClick);
if (((kong) && (MovieClip(parent).saving))){
MovieClip(parent).kongregate.stats.submit("GuitarsUnlocked", ((((((int((awards > 3)) + int((awards > 7))) + int(MovieClip(parent).butter)) + int(MovieClip(parent).minim)) + int((perfects > 0))) + int((perfects > 4))) + int((perfects > 9))));
};
}
private function g6ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 6;
disableGuitarSelect();
gotoAndStop("main");
}
private function rockButtClick(_arg1:MouseEvent):void{
disableMainMenu();
gotoAndStop("song");
}
private function song5ButtClick(_arg1:MouseEvent):void{
gameSong = 5;
disableSongSelect();
startGame();
}
private function edButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.users.on.net/~edwyn.tiong/");
}
private function tutorialBackButtClick(_arg1:MouseEvent):void{
this.tutMC.removeTutorial();
gotoAndStop("main");
}
private function enableMainMenu():void{
parentMC.playVoice("Title");
this.mainSO.text = parentMC.saveOutput;
this.rockButt.addEventListener("click", rockButtClick);
this.guitButt.addEventListener("click", guitButtClick);
this.tutorialButt.addEventListener("click", tutorialButtClick);
this.websiteButt.addEventListener("click", websiteButtClick);
this.scgmd2Butt.addEventListener("click", scgmd2ButtClick);
this.sponsorButt.addEventListener("click", sponsorButtClick);
this.dwnButt.addEventListener("click", dwnButtClick);
this.creditsButt.addEventListener("click", creditsButtClick);
this.credits.visible = false;
this.credits.creditsButt2.addEventListener("click", creditsButt2Click);
this.credits.mochiButt.addEventListener("click", mochiButtClick);
}
private function download11ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.newgrounds.com/audio/listen/48297");
}
private function clearButtClick(_arg1:MouseEvent):void{
disableSongSelect();
this.clearConfirm.visible = true;
this.clearConfirm.yesButt.addEventListener("click", clearYesButtClick);
this.clearConfirm.noButt.addEventListener("click", clearNoButtClick);
}
private function tutorialButtClick(_arg1:MouseEvent):void{
disableMainMenu();
gotoAndStop("tutorial");
}
private function disableSongSelect():void{
parentMC.stopVoice();
this.song1Butt.removeEventListener("click", song1ButtClick);
this.song2Butt.removeEventListener("click", song2ButtClick);
this.song3Butt.removeEventListener("click", song3ButtClick);
this.song4Butt.removeEventListener("click", song4ButtClick);
this.song5Butt.removeEventListener("click", song5ButtClick);
this.song6Butt.removeEventListener("click", song6ButtClick);
this.song7Butt.removeEventListener("click", song7ButtClick);
this.song8Butt.removeEventListener("click", song8ButtClick);
this.song9Butt.removeEventListener("click", song9ButtClick);
this.song10Butt.removeEventListener("click", song10ButtClick);
this.song11Butt.removeEventListener("click", song11ButtClick);
this.song12Butt.removeEventListener("click", song12ButtClick);
this.song13Butt.removeEventListener("click", song13ButtClick);
this.song14Butt.removeEventListener("click", song14ButtClick);
this.download1Butt.removeEventListener("click", download1ButtClick);
this.download2Butt.removeEventListener("click", download2ButtClick);
this.download3Butt.removeEventListener("click", download3ButtClick);
this.download4Butt.removeEventListener("click", download4ButtClick);
this.download5Butt.removeEventListener("click", download5ButtClick);
this.download6Butt.removeEventListener("click", download6ButtClick);
this.download7Butt.removeEventListener("click", download7ButtClick);
this.download8Butt.removeEventListener("click", download8ButtClick);
this.download9Butt.removeEventListener("click", download9ButtClick);
this.download11Butt.removeEventListener("click", download11ButtClick);
this.download12Butt.removeEventListener("click", download12ButtClick);
this.download13Butt.removeEventListener("click", download13ButtClick);
this.download14Butt.removeEventListener("click", download14ButtClick);
this.clearButt.removeEventListener("click", clearButtClick);
this.backButt.removeEventListener("click", songBackButtClick);
}
private function startGame():void{
disable();
parentMC.loadGame(gameSong);
parentMC.removeChild(this);
}
private function download7ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.aquilalovesyou.com");
}
private function g8ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 8;
disableGuitarSelect();
gotoAndStop("main");
}
private function download9ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.myspace.com/itseliminator");
}
private function scgmd2ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.notdoppler.com/supercrazyguitarmaniacdeluxe2.php");
}
private function mochiButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.mochibot.com");
}
private function song7ButtClick(_arg1:MouseEvent):void{
gameSong = 7;
disableSongSelect();
startGame();
}
private function song10ButtClick(_arg1:MouseEvent):void{
var _local2:int;
_local2 = 10;
if (parentMC.so.data.abc >= _local2){
gameSong = 10;
disableSongSelect();
startGame();
};
}
private function guitarBackButtClick(_arg1:MouseEvent):void{
disableGuitarSelect();
gotoAndStop("main");
}
private function g1ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 1;
disableGuitarSelect();
gotoAndStop("main");
}
private function download2ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://tatsu-takahashi.newgrounds.com");
}
private function creditsButtClick(_arg1:MouseEvent):void{
this.credits.visible = true;
}
private function download13ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://goukisan.newgrounds.com");
}
private function disableMainMenu():void{
this.rockButt.removeEventListener("click", rockButtClick);
this.guitButt.removeEventListener("click", guitButtClick);
this.tutorialButt.removeEventListener("click", tutorialButtClick);
this.websiteButt.removeEventListener("click", websiteButtClick);
this.scgmd2Butt.removeEventListener("click", scgmd2ButtClick);
this.sponsorButt.removeEventListener("click", sponsorButtClick);
this.dwnButt.removeEventListener("click", dwnButtClick);
this.creditsButt.removeEventListener("click", creditsButtClick);
this.credits.creditsButt2.removeEventListener("click", creditsButt2Click);
this.credits.mochiButt.removeEventListener("click", mochiButtClick);
}
private function song9ButtClick(_arg1:MouseEvent):void{
var _local2:int;
_local2 = 6;
if (parentMC.so.data.abc >= _local2){
gameSong = 9;
disableSongSelect();
startGame();
};
}
private function song12ButtClick(_arg1:MouseEvent):void{
var _local2:int;
_local2 = 21;
if (parentMC.so.data.abc >= _local2){
gameSong = 12;
disableSongSelect();
startGame();
};
}
private function download4ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).goURL("http://www.myspace.com/noisepollutionpunk");
}
private function clearNoButtClick(_arg1:MouseEvent):void{
this.clearConfirm.yesButt.removeEventListener("click", clearYesButtClick);
this.clearConfirm.noButt.removeEventListener("click", clearNoButtClick);
enableSongSelect();
}
private function g3ButtClick(_arg1:MouseEvent):void{
MovieClip(parent).guit = 3;
disableGuitarSelect();
gotoAndStop("main");
}
private function song2ButtClick(_arg1:MouseEvent):void{
gameSong = 2;
disableSongSelect();
startGame();
}
}
}//package
Section 43
//menuLoop (menuLoop)
package {
import flash.media.*;
public dynamic class menuLoop extends Sound {
}
}//package
Section 44
//mess1 (mess1)
package {
import flash.media.*;
public dynamic class mess1 extends Sound {
}
}//package
Section 45
//mess2 (mess2)
package {
import flash.media.*;
public dynamic class mess2 extends Sound {
}
}//package
Section 46
//mess3 (mess3)
package {
import flash.media.*;
public dynamic class mess3 extends Sound {
}
}//package
Section 47
//mess4 (mess4)
package {
import flash.media.*;
public dynamic class mess4 extends Sound {
}
}//package
Section 48
//Minim (Minim)
package {
import flash.media.*;
public dynamic class Minim extends Sound {
}
}//package
Section 49
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("core.mochibot.com");
Security.allowInsecureDomain("core.mochibot.com");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 50
//Mult1 (Mult1)
package {
import flash.media.*;
public dynamic class Mult1 extends Sound {
}
}//package
Section 51
//Mult2 (Mult2)
package {
import flash.media.*;
public dynamic class Mult2 extends Sound {
}
}//package
Section 52
//Mult3 (Mult3)
package {
import flash.media.*;
public dynamic class Mult3 extends Sound {
}
}//package
Section 53
//Mult4 (Mult4)
package {
import flash.media.*;
public dynamic class Mult4 extends Sound {
}
}//package
Section 54
//Mult5 (Mult5)
package {
import flash.media.*;
public dynamic class Mult5 extends Sound {
}
}//package
Section 55
//Mult6 (Mult6)
package {
import flash.media.*;
public dynamic class Mult6 extends Sound {
}
}//package
Section 56
//pauseCover (pauseCover)
package {
import flash.display.*;
public dynamic class pauseCover extends MovieClip {
}
}//package
Section 57
//ping1 (ping1)
package {
import flash.display.*;
public dynamic class ping1 extends MovieClip {
public function ping1(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).removeChild(this);
stop();
}
function frame1(){
play();
}
}
}//package
Section 58
//ping2 (ping2)
package {
import flash.display.*;
public dynamic class ping2 extends MovieClip {
public function ping2(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).removeChild(this);
stop();
}
function frame1(){
play();
}
}
}//package
Section 59
//ping3 (ping3)
package {
import flash.display.*;
public dynamic class ping3 extends MovieClip {
public function ping3(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).removeChild(this);
stop();
}
function frame1(){
play();
}
}
}//package
Section 60
//ping4 (ping4)
package {
import flash.display.*;
public dynamic class ping4 extends MovieClip {
public function ping4(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).removeChild(this);
stop();
}
function frame1(){
play();
}
}
}//package
Section 61
//ping5 (ping5)
package {
import flash.display.*;
public dynamic class ping5 extends MovieClip {
public function ping5(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).removeChild(this);
stop();
}
function frame1(){
play();
}
}
}//package
Section 62
//ping6 (ping6)
package {
import flash.display.*;
public dynamic class ping6 extends MovieClip {
public function ping6(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
MovieClip(parent).removeChild(this);
stop();
}
function frame1(){
play();
}
}
}//package
Section 63
//pingSp6 (pingSp6)
package {
import flash.display.*;
public dynamic class pingSp6 extends MovieClip {
public function pingSp6(){
addFrameScript(0, frame1, 11, frame12);
}
function frame12(){
MovieClip(parent).removeChild(this);
stop();
}
function frame1(){
play();
}
}
}//package
Section 64
//Preloader (Preloader)
package {
import flash.display.*;
import flash.text.*;
public dynamic class Preloader extends MovieClip {
public var loaderBar:MovieClip;
public var textTotal:TextField;
public var loadedPercent:int;
public var textLoaded:TextField;
public var loaderLoading:MovieClip;
public var totalSize:int;
public var loadedAmount:int;
public var parentMC:MovieClip;
public var blah:Boolean;
public function Preloader(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame2(){
gotoAndPlay(1);
}
function frame3(){
if (((blah) && ((loadedAmount >= totalSize)))){
stop();
parentMC = null;
} else {
gotoAndPlay(1);
};
}
function frame1(){
parentMC = MovieClip(parent);
parentMC.stop();
blah = true;
loadedAmount = root.loaderInfo.bytesLoaded;
textLoaded.text = (Math.round((loadedAmount / 0x0400)) + "kb");
totalSize = root.loaderInfo.bytesTotal;
textTotal.text = (Math.round((totalSize / 0x0400)) + "kb");
if (totalSize == 0){
gotoAndStop(3);
loaderLoading.gotoAndPlay("done");
} else {
loadedPercent = Math.round(((loadedAmount / totalSize) * 100));
loaderBar.scaleX = (loadedPercent / 100);
loaderLoading.x = (loaderBar.x + loaderBar.width);
if (loadedAmount == totalSize){
gotoAndStop(3);
loaderLoading.gotoAndPlay("done");
};
};
}
}
}//package
Section 65
//Song (Song)
package {
import flash.media.*;
public dynamic class Song extends Sound {
}
}//package
Section 66
//song1 (song1)
package {
import flash.media.*;
public dynamic class song1 extends Sound {
}
}//package
Section 67
//song10 (song10)
package {
import flash.media.*;
public dynamic class song10 extends Sound {
}
}//package
Section 68
//song11 (song11)
package {
import flash.media.*;
public dynamic class song11 extends Sound {
}
}//package
Section 69
//song12 (song12)
package {
import flash.media.*;
public dynamic class song12 extends Sound {
}
}//package
Section 70
//song13 (song13)
package {
import flash.media.*;
public dynamic class song13 extends Sound {
}
}//package
Section 71
//song14 (song14)
package {
import flash.media.*;
public dynamic class song14 extends Sound {
}
}//package
Section 72
//song2 (song2)
package {
import flash.media.*;
public dynamic class song2 extends Sound {
}
}//package
Section 73
//song3 (song3)
package {
import flash.media.*;
public dynamic class song3 extends Sound {
}
}//package
Section 74
//song4 (song4)
package {
import flash.media.*;
public dynamic class song4 extends Sound {
}
}//package
Section 75
//song5 (song5)
package {
import flash.media.*;
public dynamic class song5 extends Sound {
}
}//package
Section 76
//song6 (song6)
package {
import flash.media.*;
public dynamic class song6 extends Sound {
}
}//package
Section 77
//song7 (song7)
package {
import flash.media.*;
public dynamic class song7 extends Sound {
}
}//package
Section 78
//song8 (song8)
package {
import flash.media.*;
public dynamic class song8 extends Sound {
}
}//package
Section 79
//song9 (song9)
package {
import flash.media.*;
public dynamic class song9 extends Sound {
}
}//package
Section 80
//Title (Title)
package {
import flash.media.*;
public dynamic class Title extends Sound {
}
}//package
Section 81
//Tut1 (Tut1)
package {
import flash.media.*;
public dynamic class Tut1 extends Sound {
}
}//package
Section 82
//Tut2 (Tut2)
package {
import flash.media.*;
public dynamic class Tut2 extends Sound {
}
}//package
Section 83
//Tut3 (Tut3)
package {
import flash.media.*;
public dynamic class Tut3 extends Sound {
}
}//package
Section 84
//Tut4 (Tut4)
package {
import flash.media.*;
public dynamic class Tut4 extends Sound {
}
}//package
Section 85
//Tut5 (Tut5)
package {
import flash.media.*;
public dynamic class Tut5 extends Sound {
}
}//package
Section 86
//Tut6 (Tut6)
package {
import flash.media.*;
public dynamic class Tut6 extends Sound {
}
}//package
Section 87
//Tut7 (Tut7)
package {
import flash.media.*;
public dynamic class Tut7 extends Sound {
}
}//package