Combined Code
movieClip 56 {
}
movieClip 60 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof clip[childName] == 'movieclip') {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.33333333333334;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
}
frame 37 {
startMovie();
}
}
button 64 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(32);
}
}
button 67 {
on (release) {
getURL('http://www.patreon.com/skuddbutt', '_blank');
}
}
button 70 {
on (release) {
getURL('http://www.shadbase.com', '_blank');
}
}
button 73 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(569);
}
}
frame 30 {
stop();
}
frame 31 {
gotoAndPlay(1);
}
frame 32 {
bgmsound = new Sound(this);
bgmsound.attachSound('BGM');
bgmsound.start(0, 999);
}
frame 84 {
gotoAndPlay(85);
}
frame 85 {
breath9Sound = new Sound(this);
breath9Sound.attachSound('Breath9');
breath8Sound = new Sound(this);
breath8Sound.attachSound('Breath8');
breath7Sound = new Sound(this);
breath7Sound.attachSound('Breath7');
breath6Sound = new Sound(this);
breath6Sound.attachSound('Breath6');
breath5Sound = new Sound(this);
breath5Sound.attachSound('Breath5');
breath4Sound = new Sound(this);
breath4Sound.attachSound('Breath4');
breath3Sound = new Sound(this);
breath3Sound.attachSound('Breath3');
breath2Sound = new Sound(this);
breath2Sound.attachSound('Breath2');
breath1Sound = new Sound(this);
breath1Sound.attachSound('Breath1');
var mySoundArray = new Array(breath9Sound, breath8Sound, breath7Sound, breath6Sound, breath5Sound, breath4Sound, breath3Sound, breath2Sound, breath1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
button 78 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(229);
}
}
button 81 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(205);
}
}
button 84 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(181);
}
}
button 87 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(157);
}
}
button 90 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(133);
}
}
button 94 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(109);
}
}
button 99 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(85);
}
}
frame 108 {
gotoAndPlay(85);
}
frame 109 {
grunt1Sound = new Sound(this);
grunt1Sound.attachSound('Grunt1');
grunt2Sound = new Sound(this);
grunt2Sound.attachSound('Grunt2');
grunt3Sound = new Sound(this);
grunt3Sound.attachSound('Grunt3');
grunt4Sound = new Sound(this);
grunt4Sound.attachSound('Grunt4');
grunt5Sound = new Sound(this);
grunt5Sound.attachSound('Grunt5');
grunt6Sound = new Sound(this);
grunt6Sound.attachSound('Grunt6');
grunt7Sound = new Sound(this);
grunt7Sound.attachSound('Grunt7');
var mySoundArray = new Array(grunt1Sound, grunt2Sound, grunt2Sound, grunt3Sound, grunt4Sound, grunt5Sound, grunt6Sound, grunt7Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 109 {
ah1Sound = new Sound(this);
ah1Sound.attachSound('Ah1');
ah2Sound = new Sound(this);
ah2Sound.attachSound('Ah2');
ah3Sound = new Sound(this);
ah3Sound.attachSound('Ah3');
ah4Sound = new Sound(this);
ah4Sound.attachSound('Ah4');
ah5Sound = new Sound(this);
ah5Sound.attachSound('Ah5');
ah6Sound = new Sound(this);
ah6Sound.attachSound('Ah6');
ah7Sound = new Sound(this);
ah7Sound.attachSound('Ah7');
ah8Sound = new Sound(this);
ah8Sound.attachSound('Ah8');
var mySoundArray = new Array(ah1Sound, ah2Sound, ah3Sound, ah4Sound, ah5Sound, ah6Sound, ah7Sound, ah8Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(10, 0);
}
frame 132 {
gotoAndPlay(109);
}
frame 133 {
breath9Sound = new Sound(this);
breath9Sound.attachSound('Breath9');
breath8Sound = new Sound(this);
breath8Sound.attachSound('Breath8');
breath7Sound = new Sound(this);
breath7Sound.attachSound('Breath7');
breath6Sound = new Sound(this);
breath6Sound.attachSound('Breath6');
breath5Sound = new Sound(this);
breath5Sound.attachSound('Breath5');
breath4Sound = new Sound(this);
breath4Sound.attachSound('Breath4');
breath3Sound = new Sound(this);
breath3Sound.attachSound('Breath3');
breath2Sound = new Sound(this);
breath2Sound.attachSound('Breath2');
breath1Sound = new Sound(this);
breath1Sound.attachSound('Breath1');
var mySoundArray = new Array(breath9Sound, breath8Sound, breath7Sound, breath6Sound, breath5Sound, breath4Sound, breath3Sound, breath2Sound, breath1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 133 {
gag13Sound = new Sound(this);
gag13Sound.attachSound('Gag13');
gag12Sound = new Sound(this);
gag12Sound.attachSound('Gag12');
gag11Sound = new Sound(this);
gag11Sound.attachSound('Gag11');
gag10Sound = new Sound(this);
gag10Sound.attachSound('Gag10');
gag9Sound = new Sound(this);
gag9Sound.attachSound('Gag9');
gag8Sound = new Sound(this);
gag8Sound.attachSound('Gag8');
gag7Sound = new Sound(this);
gag7Sound.attachSound('Gag7');
gag6Sound = new Sound(this);
gag6Sound.attachSound('Gag6');
gag5Sound = new Sound(this);
gag5Sound.attachSound('Gag5');
gag4Sound = new Sound(this);
gag4Sound.attachSound('Gag4');
gag3Sound = new Sound(this);
gag3Sound.attachSound('Gag3');
gag2Sound = new Sound(this);
gag2Sound.attachSound('Gag2');
gag1Sound = new Sound(this);
gag1Sound.attachSound('Gag1');
var mySoundArray = new Array(gag13Sound, gag12Sound, gag11Sound, gag10Sound, gag9Sound, gag8Sound, gag7Sound, gag6Sound, gag5Sound, gag4Sound, gag3Sound, gag2Sound, gag1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 156 {
gotoAndPlay(133);
}
frame 157 {
breath9Sound = new Sound(this);
breath9Sound.attachSound('Breath9');
breath8Sound = new Sound(this);
breath8Sound.attachSound('Breath8');
breath7Sound = new Sound(this);
breath7Sound.attachSound('Breath7');
breath6Sound = new Sound(this);
breath6Sound.attachSound('Breath6');
breath5Sound = new Sound(this);
breath5Sound.attachSound('Breath5');
breath4Sound = new Sound(this);
breath4Sound.attachSound('Breath4');
breath3Sound = new Sound(this);
breath3Sound.attachSound('Breath3');
breath2Sound = new Sound(this);
breath2Sound.attachSound('Breath2');
breath1Sound = new Sound(this);
breath1Sound.attachSound('Breath1');
var mySoundArray = new Array(breath9Sound, breath8Sound, breath7Sound, breath6Sound, breath5Sound, breath4Sound, breath3Sound, breath2Sound, breath1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 157 {
gag13Sound = new Sound(this);
gag13Sound.attachSound('Gag13');
gag12Sound = new Sound(this);
gag12Sound.attachSound('Gag12');
gag11Sound = new Sound(this);
gag11Sound.attachSound('Gag11');
gag10Sound = new Sound(this);
gag10Sound.attachSound('Gag10');
gag9Sound = new Sound(this);
gag9Sound.attachSound('Gag9');
gag8Sound = new Sound(this);
gag8Sound.attachSound('Gag8');
gag7Sound = new Sound(this);
gag7Sound.attachSound('Gag7');
gag6Sound = new Sound(this);
gag6Sound.attachSound('Gag6');
gag5Sound = new Sound(this);
gag5Sound.attachSound('Gag5');
gag4Sound = new Sound(this);
gag4Sound.attachSound('Gag4');
gag3Sound = new Sound(this);
gag3Sound.attachSound('Gag3');
gag2Sound = new Sound(this);
gag2Sound.attachSound('Gag2');
gag1Sound = new Sound(this);
gag1Sound.attachSound('Gag1');
var mySoundArray = new Array(gag13Sound, gag12Sound, gag11Sound, gag10Sound, gag9Sound, gag8Sound, gag7Sound, gag6Sound, gag5Sound, gag4Sound, gag3Sound, gag2Sound, gag1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 180 {
gotoAndPlay(157);
}
frame 181 {
grunt1Sound = new Sound(this);
grunt1Sound.attachSound('Grunt1');
grunt2Sound = new Sound(this);
grunt2Sound.attachSound('Grunt2');
grunt3Sound = new Sound(this);
grunt3Sound.attachSound('Grunt3');
grunt4Sound = new Sound(this);
grunt4Sound.attachSound('Grunt4');
grunt5Sound = new Sound(this);
grunt5Sound.attachSound('Grunt5');
grunt6Sound = new Sound(this);
grunt6Sound.attachSound('Grunt6');
grunt7Sound = new Sound(this);
grunt7Sound.attachSound('Grunt7');
var mySoundArray = new Array(grunt1Sound, grunt2Sound, grunt2Sound, grunt3Sound, grunt4Sound, grunt5Sound, grunt6Sound, grunt7Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 181 {
breath9Sound = new Sound(this);
breath9Sound.attachSound('Breath9');
breath8Sound = new Sound(this);
breath8Sound.attachSound('Breath8');
breath7Sound = new Sound(this);
breath7Sound.attachSound('Breath7');
breath6Sound = new Sound(this);
breath6Sound.attachSound('Breath6');
breath5Sound = new Sound(this);
breath5Sound.attachSound('Breath5');
breath4Sound = new Sound(this);
breath4Sound.attachSound('Breath4');
breath3Sound = new Sound(this);
breath3Sound.attachSound('Breath3');
breath2Sound = new Sound(this);
breath2Sound.attachSound('Breath2');
breath1Sound = new Sound(this);
breath1Sound.attachSound('Breath1');
var mySoundArray = new Array(breath9Sound, breath8Sound, breath7Sound, breath6Sound, breath5Sound, breath4Sound, breath3Sound, breath2Sound, breath1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 204 {
gotoAndPlay(181);
}
frame 205 {
gag13Sound = new Sound(this);
gag13Sound.attachSound('Gag13');
gag12Sound = new Sound(this);
gag12Sound.attachSound('Gag12');
gag11Sound = new Sound(this);
gag11Sound.attachSound('Gag11');
gag10Sound = new Sound(this);
gag10Sound.attachSound('Gag10');
gag9Sound = new Sound(this);
gag9Sound.attachSound('Gag9');
gag8Sound = new Sound(this);
gag8Sound.attachSound('Gag8');
gag7Sound = new Sound(this);
gag7Sound.attachSound('Gag7');
gag6Sound = new Sound(this);
gag6Sound.attachSound('Gag6');
gag5Sound = new Sound(this);
gag5Sound.attachSound('Gag5');
gag4Sound = new Sound(this);
gag4Sound.attachSound('Gag4');
gag3Sound = new Sound(this);
gag3Sound.attachSound('Gag3');
gag2Sound = new Sound(this);
gag2Sound.attachSound('Gag2');
gag1Sound = new Sound(this);
gag1Sound.attachSound('Gag1');
var mySoundArray = new Array(gag13Sound, gag12Sound, gag11Sound, gag10Sound, gag9Sound, gag8Sound, gag7Sound, gag6Sound, gag5Sound, gag4Sound, gag3Sound, gag2Sound, gag1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
frame 228 {
gotoAndPlay(205);
}
frame 229 {
breath9Sound = new Sound(this);
breath9Sound.attachSound('Breath9');
breath8Sound = new Sound(this);
breath8Sound.attachSound('Breath8');
breath7Sound = new Sound(this);
breath7Sound.attachSound('Breath7');
breath6Sound = new Sound(this);
breath6Sound.attachSound('Breath6');
breath5Sound = new Sound(this);
breath5Sound.attachSound('Breath5');
breath4Sound = new Sound(this);
breath4Sound.attachSound('Breath4');
breath3Sound = new Sound(this);
breath3Sound.attachSound('Breath3');
breath2Sound = new Sound(this);
breath2Sound.attachSound('Breath2');
breath1Sound = new Sound(this);
breath1Sound.attachSound('Breath1');
var mySoundArray = new Array(breath9Sound, breath8Sound, breath7Sound, breath6Sound, breath5Sound, breath4Sound, breath3Sound, breath2Sound, breath1Sound);
mySoundArray[Math.floor(Math.random() * mySoundArray.length)].start(0, 0);
}
button 108 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(301);
}
}
frame 300 {
gotoAndPlay(229);
}
frame 518 {
gotoAndPlay(519);
}
button 113 {
on (press) {
buttonsound = new Sound(this);
buttonsound.attachSound('Buttonsound');
buttonsound.start(0, 0);
gotoAndPlay(1);
stopAllSounds();
}
}
frame 568 {
gotoAndPlay(519);
}
frame 1789 {
gotoAndPlay(569);
}