Combined Code
frame 1 {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 410;
this.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
}
frame 1 {
Stage.showMenu = false;
}
// unknown tag 88 length 100
// unknown tag 88 length 269
frame 2 {
this.gotoAndPlay(1);
}
frame 3 {
stop();
}
movieClip 16 {
}
button 18 {
on (release) {
gotoAndStop('Level');
}
}
button 20 {
on (release) {
gotoAndStop('Intro');
}
}
button 23 {
on (release) {
gotoAndStop('Controls');
}
}
button 26 {
on (release) {
gotoAndStop('Options');
}
}
button 29 {
on (release) {
getURL('http://www.zeldalinkedgreen.com/', '');
}
}
button 32 {
on (release) {
gotoAndStop('Credits');
}
}
frame 4 {
stop();
}
movieClip 58 {
}
movieClip 64 {
}
movieClip 65 {
}
movieClip 141 {
}
movieClip 190 {
}
// unknown tag 88 length 71
// unknown tag 88 length 75
movieClip 273 {
}
movieClip 345 {
frame 3623 {
_root.gotoAndStop('stage1_start');
}
}
button 348 {
on (release) {
gotoAndStop('stage1');
}
}
frame 5 {
stop();
}
// unknown tag 88 length 12
button 355 {
on (release) {
gotoAndStop('Menu');
_root.characterselect.gotoAndStop('nochar');
}
}
movieClip 364 {
frame 1 {
stop();
}
frame 20 {
gotoAndStop(1);
}
}
frame 6 {
stop();
}
button 366 {
on (press) {
if (_quality == 'HIGH') {
_quality = 'MEDIUM';
} else {
if (_quality == 'MEDIUM') {
_quality = 'LOW';
} else {
if (_quality == 'LOW') {
_quality = 'HIGH';
}
}
}
}
}
frame 7 {
stop();
}
button 382 {
on (release) {
gotoAndStop('stage1_3');
}
}
button 387 {
on (release) {
gotoAndStop('stage1_cutscene2');
}
}
button 392 {
on (release) {
gotoAndStop('stage1_cutscene3');
}
}
button 394 {
on (release) {
gotoAndStop('Menu');
_root.characterselect.gotoAndStop('nochar');
}
}
frame 8 {
stop();
}
frame 9 {
nextFrame();
}
movieClip 406 {
}
movieClip 408 {
frame 80 {
_root.gotoAndStop('stage1_clear');
}
}
movieClip 409 {
frame 2 {
stop();
}
}
movieClip 413 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 10 {
stop();
}
movieClip 418 {
}
movieClip 420 {
}
movieClip 423 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 424 {
}
movieClip 429 {
}
movieClip 430 {
}
movieClip 431 {
frame 48 {
_root.bg.enemyC.gotoAndStop(2);
}
}
movieClip 432 {
}
movieClip 434 {
}
movieClip 436 {
frame 1 {
stop();
}
}
movieClip 438 {
frame 29 {
_root.bg.enemyC.gotoAndStop(5);
}
}
movieClip 446 {
frame 39 {
_root.bg.enemyC.gotoAndStop(10);
}
}
movieClip 447 {
frame 36 {
_root.bg.enemyC.gotoAndStop(11);
}
}
movieClip 448 {
frame 119 {
_root.bg.enemyC.gotoAndStop(1);
}
}
movieClip 449 {
frame 119 {
_root.bg.enemyC.gotoAndStop(1);
}
}
movieClip 451 {
frame 53 {
_root.bg.enemyC.gotoAndStop(1);
}
}
movieClip 452 {
frame 53 {
_root.bg.enemyC.gotoAndStop(1);
}
}
movieClip 453 {
frame 18 {
stop();
}
}
movieClip 455 {
frame 1 {
stop();
}
}
movieClip 456 {
instance enemy_damagebox_fake of movieClip 455 {
onClipEvent (enterFrame) {
speed = 8;
_root.bg.enemyC.enemy4C.enemy_damagebox_fake._x -= speed;
}
}
instance enemy_damagebox_fake of movieClip 455 {
onClipEvent (enterFrame) {
speed = 8;
_root.bg.enemyC.enemy4C.enemy_damagebox_fake._x -= speed;
}
}
frame 29 {
_root.bg.enemyC.gotoAndStop(2);
}
}
movieClip 457 {
instance enemy_damagebox_fake of movieClip 455 {
onClipEvent (enterFrame) {
speed = 8;
_root.bg.enemyC.enemy4C.enemy_damagebox_fake._x += speed;
}
}
instance enemy_damagebox_fake of movieClip 455 {
onClipEvent (enterFrame) {
speed = 8;
_root.bg.enemyC.enemy4C.enemy_damagebox_fake._x += speed;
}
}
frame 29 {
_root.bg.enemyC.gotoAndStop(5);
}
}
movieClip 458 {
frame 1 {
stop();
}
frame 2 {
if (this.hitTest(_root.hero.beam2.beam)) {
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.bg.enemyC.gotoAndStop(9);
}
}
instance enemy1C of movieClip 432 {
onClipEvent (enterFrame) {
speed = 3;
_root.bg.enemyC._x -= speed;
}
}
instance zelda_faceright of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.bg.enemyC.gotoAndStop(6);
} else {
if (this.hitTest(_root.hero_walk.hitbox)) {
_root.bg.enemyC.gotoAndStop(6);
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.bg.enemyC.gotoAndStop(14);
}
}
}
}
}
instance zelda_faceleft of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.bg.enemyC.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero_walk.hitbox)) {
_root.bg.enemyC.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.bg.enemyC.gotoAndStop(13);
}
}
}
}
}
instance zelda_sitright of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.bg.enemyC.gotoAndStop(5);
}
}
}
instance zelda_sitleft of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.bg.enemyC.gotoAndStop(2);
}
}
}
frame 5 {
if (this.hitTest(_root.hero.beam2.beam)) {
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.enemyhp.nextFrame();
_root.bg.enemyC.gotoAndStop(8);
}
}
instance enemy1C of movieClip 432 {
onClipEvent (enterFrame) {
speed = 3;
_root.bg.enemyC._x += speed;
}
}
instance zelda_faceright of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.bg.enemyC.gotoAndStop(6);
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.bg.enemyC.gotoAndStop(14);
}
}
}
}
instance zelda_faceleft of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.bg.enemyC.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.bg.enemyC.gotoAndStop(13);
}
}
}
}
instance zelda_sitright of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.bg.enemyC.gotoAndStop(5);
}
}
}
instance zelda_sitleft of movieClip 434 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.bg.enemyC.gotoAndStop(2);
}
}
}
instance of movieClip 451 {
onClipEvent (enterFrame) {
speed = 8;
_root.bg.enemyC._x += speed;
}
}
instance of movieClip 452 {
onClipEvent (enterFrame) {
speed = 5;
_root.bg.enemyC._x += speed;
}
}
}
movieClip 459 {
frame 28 {
_root.bg.enemyD.gotoAndStop(5);
}
}
movieClip 460 {
frame 64 {
_root.bg.enemyD.gotoAndStop(15);
}
}
movieClip 462 {
frame 57 {
_root.bg.enemyD.gotoAndStop(2);
}
}
movieClip 464 {
frame 45 {
_root.bg.enemyD.gotoAndStop(10);
}