Combined Code
frame 1 {
good = 500;
bad = 500;
mp = 500;
}
frame 1 {
stopAllSounds();
}
movieClip 5 {
}
movieClip 8 {
}
movieClip 18 {
}
movieClip 22 {
}
movieClip 25 {
frame 40 {
stop();
}
}
movieClip 37 {
}
button 39 {
on (press) {
_root.play();
}
}
movieClip 40 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (v3 >= 1) {
if (firstframe) {
gotoAndStop('loaded');
} else {
play();
bar._x = initX;
}
loaded = true;
} else {
bar._x = initX + (v3 - 1) * bar._width;
}
}
var v4 = getTimer() - time;
timeAccum += v4;
while (timeAccum >= FRAME_TIME) {
var v2 = 0;
while (v2 < timeClips.length) {
if (timeClips[v2]._currentframe < timeClips[v2]._totalframes) {
timeClips[v2].nextFrame();
} else {
timeClips[v2].gotoAndStop(1);
}
++v2;
}
if (loaded && _currentframe < _totalframes) {
nextFrame();
}
timeAccum -= FRAME_TIME;
}
time += v4;
firstframe = false;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.33333333333334;
var timeAccum = 0;
var firstframe = true;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
++i;
}
}
frame 53 {
}
}
movieClip 42 {
}
movieClip 48 {
frame 6 {
stop();
}
}
movieClip 49 {
frame 3 {
stop();
}
}
movieClip 51 {
}
movieClip 60 {
}
movieClip 67 {
frame 5 {
stop();
}
}
movieClip 74 {
}
movieClip 82 {
}
movieClip 84 {
}
frame 106 {
stop();
}
movieClip 88 {
}
button 91 {
on (release) {
gotoAndPlay('start');
}
}
movieClip 96 {
}
frame 116 {
stop();
}
movieClip 100 {
}
button 102 {
on (release) {
gotoAndPlay('play');
}
}
button 105 {
on (release) {
gotoAndPlay('How to play');
}
}
frame 117 {
stop();
}
button 111 {
on (release) {
gotoAndPlay('home');
}
}
frame 118 {
stop();
}
movieClip 115 {
}
button 116 {
on (release) {
gotoAndPlay('sonic');
}
}
movieClip 118 {
}
button 119 {
on (release) {
gotoAndPlay('shadow');
}
}
movieClip 121 {
}
movieClip 123 {
}
frame 135 {
gotoAndPlay('play');
}
frame 162 {
stopAllSounds();
}
movieClip 131 {
}
frame 199 {
stop();
}
movieClip 133 {
}
movieClip 137 {
}
button 138 {
on (release) {
gotoAndPlay('1');
}
}
frame 216 {
stop();
}
button 140 {
on (release) {
gotoAndPlay('2');
}
}
frame 233 {
stop();
}
movieClip 143 {
}
button 144 {
on (release) {
gotoAndPlay('3');
}
}
frame 250 {
stop();
}
movieClip 147 {
}
button 148 {
on (release) {
gotoAndPlay('4');
}
}
frame 251 {
stop();
}
button 150 {
on (release) {
gotoAndPlay('5');
}
}
frame 268 {
stop();
}
button 152 {
on (release) {
gotoAndPlay('6');
}
}
frame 285 {
stop();
}
button 154 {
on (release) {
gotoAndPlay('7');
}
}
frame 302 {
stop();
}
movieClip 157 {
}
button 158 {
on (release) {
gotoAndPlay('8');
}
}
frame 303 {
stop();
}
button 160 {
on (release) {
gotoAndPlay('9');
}
}
frame 322 {
stop();
}
movieClip 162 {
}
button 163 {
on (release) {
gotoAndPlay('10');
}
}
movieClip 165 {
}
frame 323 {
stop();
}
button 168 {
on (release) {
gotoAndPlay('11');
}
}
movieClip 171 {
}
frame 342 {
stop();
}
button 173 {
on (release) {
gotoAndPlay('12');
}
}
frame 359 {
stop();
}
button 175 {
on (release) {
gotoAndPlay('13');
}
}
frame 376 {
stop();
}
button 177 {
on (release) {
gotoAndPlay('14');
}
}
frame 377 {
stopAllSounds();
}
movieClip 181 {
}
movieClip 183 {
}
frame 432 {
stop();
}
button 185 {
on (release) {
gotoAndPlay('15');
}
}
movieClip 190 {
}
frame 460 {
stop();
}
button 199 {
on (release) {
gotoAndPlay('16');
}
}
frame 468 {
stop();
}
movieClip 202 {
}
button 203 {
on (release) {
gotoAndPlay('attack');
}
}
movieClip 211 {
}
movieClip 213 {
}
movieClip 218 {
frame 4 {
stop();
}
}
movieClip 225 {
}
movieClip 227 {
}
movieClip 229 {
}
movieClip 231 {
}
movieClip 233 {
}
movieClip 235 {
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 242 {
}
movieClip 244 {
}
movieClip 246 {
}
movieClip 248 {
}
movieClip 250 {
}
movieClip 252 {
}
movieClip 254 {
}
movieClip 256 {
}
movieClip 258 {
}
movieClip 259 {
frame 2 {
_root.good -= random(50);
}
frame 7 {
_root.good -= random(50);
}
frame 11 {
_root.good -= random(50);
}
frame 16 {
stop();
}
}
movieClip 261 {
}
frame 579 {
stop();
}
button 263 {
on (release) {
gotoAndPlay('17');
}
}
movieClip 267 {
}
movieClip 269 {
frame 3 {
stop();
}
}
movieClip 279 {
}
frame 644 {
stop();
}
button 281 {
on (release) {
gotoAndPlay('18');
}
}
frame 652 {
stop();
}
frame 652 {
stop();
}
button 282 {
on (release) {
gotoAndPlay('maria');
}
}
movieClip 295 {
frame 5 {
stop();
}
}
movieClip 306 {
frame 13 {
stop();
}
}
movieClip 314 {
frame 6 {
stop();
}
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 328 {
}
frame 781 {
stop();
}
button 332 {
on (release) {
gotoAndPlay('19');
}
}
frame 782 {
stop();
}
button 334 {
on (release) {
gotoAndPlay('20');
}
}
frame 790 {
stop();
}
button 335 {
on (release) {
gotoAndPlay('Gerald');
}
}
movieClip 354 {
frame 32 {
stop();
}
}
movieClip 355 {
frame 1 {
stop();
}
}
movieClip 363 {
}
movieClip 365 {
frame 5 {
stop();
}
}
frame 947 {
stop();
}
button 367 {
on (release) {
gotoAndPlay('21');
}
}
frame 955 {
stopAllSounds();
}
frame 1054 {
stop();
}
button 370 {
on (release) {
gotoAndPlay('22');
}
}
movieClip 373 {
}
frame 1110 {
stopAllSounds();
}
frame 1122 {
stop();
}
button 376 {
on (release) {
gotoAndPlay('23');
}
}
frame 1139 {
stop();
}
button 378 {
on (release) {
gotoAndPlay('24');
}
}
frame 1175 {
stopAllSounds();
}
frame 1176 {
stop();
}
button 382 {
on (release) {
gotoAndPlay('25');
}
}
frame 1177 {
stop();
}
movieClip 385 {
}
movieClip 386 {
}
button 387 {
on (release) {
gotoAndPlay('beach');
}
}
button 388 {
on (release) {
gotoAndPlay('tree house');
}
}
movieClip 399 {
}
frame 1199 {
stop();
}
button 402 {
on (release) {
gotoAndPlay('forest');
}
}
frame 1223 {
gotoAndPlay('25');
}
frame 1239 {
stop();
}
button 405 {
on (release) {
gotoAndPlay('tails');
}
}
frame 1263 {
stop();
}
button 407 {
on (release) {
gotoAndPlay('26');
}
}
frame 1280 {
stop();
}
movieClip 410 {
}
button 411 {
on (release) {
gotoAndPlay('27');
}
}
frame 1297 {
stop();
}
button 413 {
on (release) {
gotoAndPlay('28');
}
}
frame 1314 {
stop();
}
movieClip 416 {
}
button 417 {
on (release) {
gotoAndPlay('29');
}
}
frame 1331 {
stop();
}
button 419 {
on (release) {
gotoAndPlay('30');
}
}
frame 1348 {
stop();
}
button 421 {
on (release) {
gotoAndPlay('31');
}
}
frame 1365 {
stop();
}
button 423 {
on (release) {
gotoAndPlay('32');
}
}
frame 1382 {
stop();
}
button 425 {
on (release) {
gotoAndPlay('33');
}
}
frame 1399 {
stop();
}
button 427 {
on (release) {
gotoAndPlay('34');
}
}
frame 1418 {
stop();
}
movieClip 429 {
}
button 430 {
on (release) {
gotoAndPlay('35');
}
}
frame 1437 {
stop();
}
button 433 {
on (release) {
gotoAndPlay('36');
}
}
frame 1454 {
stop();
}
button 435 {
on (release) {
gotoAndPlay('37');
}
}
frame 1462 {
stop();
}
button 436 {
on (release) {
gotoAndPlay('tails 2');
}
}
button 437 {
on (release) {
gotoAndPlay('forest 2');
}
}
frame 1470 {
stop();
}
button 438 {
on (release) {
gotoAndPlay('38');
}
}
frame 1477 {
gotoAndPlay('tree house home');
}
frame 1496 {
stop();
}
button 439 {
on (release) {
gotoAndPlay('beach 2');
}
}
frame 1513 {
stop();
}
button 440 {
on (release) {
gotoAndPlay('to avent city');
}
}
movieClip 442 {
}