Frame 1
stop();
Stage.showMenu = eval (false)();
Frame 2
maxname = 10;
sword = 2;
swordstr = 1;
linkdir = 0;
sheild = 2;
name = "";
nlettercount = 0;
inven = false;
sk = 0;
arrows = 20;
maxarrows = 20;
boomerang = 1;
bomb = 0;
bombs = 30;
maxbombs = 30;
rupees = 0;
rupeeplus = 0;
grass = new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21");
current = random(unlocks);
rupeebag = 1;
bk = 0;
hearts = 1;
unlocks = 22;
maxhp = 13;
remhp = 1;
poh = 0;
heal = 0;
magic = 0;
maxmag = 0;
magrest = 0;
magicdone = false;
Instance of Symbol 38 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.play();
}
}
Frame 3
stop();
Frame 5
Instance of Symbol 200 MovieClip in Frame 5
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
gotoAndStop (5);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip in Frame 5
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
gotoAndStop (5);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip in Frame 5
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
gotoAndStop (5);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip in Frame 5
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
gotoAndStop (5);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 239 MovieClip "d" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 245 MovieClip "w" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 251 MovieClip "shift" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 366 MovieClip "hp" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 370 MovieClip "rupeess" in Frame 5
onClipEvent (enterFrame) {
this.rupees = _root.rupees;
if ((_root.rupees < 10) && (_root.maxrupees <= 99)) {
this.rupees = "0" + _root.rupees;
}
if ((_root.rupees <= 99) && (_root.maxrupees >= 100)) {
this.rupees = "0" + _root.rupees;
}
if ((_root.rupees <= 9) && (_root.maxrupees >= 100)) {
this.rupees = "00" + _root.rupees;
}
if (_root.rupees == 0) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
this._x = _root.link._x + 5;
this._y = _root.link._y + 10;
}
Instance of Symbol 379 MovieClip "magicbar" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 383 MovieClip "rb" in Frame 5
onClipEvent (load) {
this.gotoAndStop(_root.rupeebag);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.rupeebag);
}
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 388 MovieClip "spacebar" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 396 MovieClip in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 405 MovieClip in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 473 MovieClip "texter" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 477 MovieClip "camFrame" in Frame 5
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 493 MovieClip in Frame 119
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
if (_root.link.dir == 0) {
_root.link._y = _root.link._y + _root.link.speed;
} else if (_root.link.dir == 1) {
_root.link._x = _root.link._x - _root.link.speed;
} else if (_root.link.dir == 2) {
_root.link._y = _root.link._y - _root.link.speed;
} else if (_root.link.dir == 3) {
_root.link._x = _root.link._x + _root.link.speed;
}
}
}
Instance of Symbol 537 MovieClip "b" in Frame 119
/* no clip actions */
Instance of Symbol 709 MovieClip "inv" in Frame 303
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 823 MovieClip in Frame 303
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Instance of Symbol 827 MovieClip "bossclear" in Frame 303
onClipEvent (enterFrame) {
_x = (_root.link._x + 5);
_y = (_root.link._y + 10);
}
Frame 304
stop();
link._x = x;
link._y = y;
area = "";
bosshp = 40;
if (linkdir == 0) {
link.gotoAndStop(5);
} else if (linkdir == 1) {
link.gotoAndStop(3);
} else if (linkdir == 2) {
link.gotoAndStop(1);
} else if (linkdir == 3) {
link.gotoAndStop(7);
}
onEnterFrame = function () {
if (bosshp == 0) {
_root.boss.gotoAndPlay("die");
}
if ((maxmag > 0) && (!magicdone)) {
unlocks = unlocks + 5;
grass.push("23");
grass.push("24");
grass.push("25");
grass.push("26");
grass.push("27");
magicdone = true;
}
if (heal > 0) {
remhp--;
heal--;
}
if (magrest > 0) {
magic = magic + 5;
magrest = magrest - 5;
}
if (poh == 4) {
hearts++;
maxhp = maxhp + 4;
poh = 0;
}
if (remhp >= maxhp) {
remhp = maxhp;
_root.gotoAndStop("gameover");
}
if (remhp <= 1) {
remhp = 1;
}
if (magic >= maxmag) {
magic = maxmag;
}
hp.hp.gotoAndStop(remhp);
hp.gotoAndStop(hearts);
if (rupeeplus > 0) {
rupees++;
rupeeplus--;
}
if (rupeeplus < 0) {
rupees--;
rupeeplus++;
}
if (rupees >= maxrupees) {
rupeess.gotoAndStop(2);
rupees = maxrupees;
} else if ((rupees < maxrupees) && (rupees > 0)) {
rupeess.gotoAndStop(1);
}
};
Instance of Symbol 829 MovieClip in Frame 304
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
if (_root.link.dir == 0) {
_root.link._y = _root.link._y + _root.link.speed;
} else if (_root.link.dir == 1) {
_root.link._x = _root.link._x - _root.link.speed;
} else if (_root.link.dir == 2) {
_root.link._y = _root.link._y - _root.link.speed;
} else if (_root.link.dir == 3) {
_root.link._x = _root.link._x + _root.link.speed;
}
}
}
Instance of Symbol 829 MovieClip in Frame 304
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
if (_root.link.dir == 0) {
_root.link._y = _root.link._y + _root.link.speed;
} else if (_root.link.dir == 1) {
_root.link._x = _root.link._x - _root.link.speed;
} else if (_root.link.dir == 2) {
_root.link._y = _root.link._y - _root.link.speed;
} else if (_root.link.dir == 3) {
_root.link._x = _root.link._x + _root.link.speed;
}
}
}
Instance of Symbol 829 MovieClip in Frame 304
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
if (_root.link.dir == 0) {
_root.link._y = _root.link._y + _root.link.speed;
} else if (_root.link.dir == 1) {
_root.link._x = _root.link._x - _root.link.speed;
} else if (_root.link.dir == 2) {
_root.link._y = _root.link._y - _root.link.speed;
} else if (_root.link.dir == 3) {
_root.link._x = _root.link._x + _root.link.speed;
}
}
}
Instance of Symbol 829 MovieClip in Frame 304
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
if (_root.link.dir == 0) {
_root.link._y = _root.link._y + _root.link.speed;
} else if (_root.link.dir == 1) {
_root.link._x = _root.link._x - _root.link.speed;
} else if (_root.link.dir == 2) {
_root.link._y = _root.link._y - _root.link.speed;
} else if (_root.link.dir == 3) {
_root.link._x = _root.link._x + _root.link.speed;
}
}
}
Instance of Symbol 200 MovieClip in Frame 304
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
this.gotoAndStop(1);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip in Frame 304
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
this.gotoAndStop(1);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip in Frame 304
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
this.gotoAndStop(1);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip in Frame 304
onClipEvent (load) {
count = 500;
}
onClipEvent (enterFrame) {
if (_currentframe > 1) {
count--;
}
if (count == 0) {
this.gotoAndStop(1);
count = 500;
}
if (this.hitTest(_root.link.swordhit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.bomb.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.link.boom.hit) && (this._currentframe == 1)) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1055 MovieClip "link" in Frame 304
onClipEvent (load) {
repel = 0;
speed = 6;
counter = 13;
dir = 0;
}
onClipEvent (enterFrame) {
if (hurt || (defend)) {
speed = repel;
} else {
speed = 6;
}
if (attack) {
countdown = true;
}
if (countdown) {
counter--;
if (counter <= 0) {
countdown = false;
counter = 13;
}
}
if ((((Key.isDown(38) && (!defend)) && (!attack)) && (!item)) && (!hurt)) {
this.gotoAndStop(6);
_y = (_y - speed);
dir = 0;
} else if ((((Key.isDown(39) && (!defend)) && (!attack)) && (!item)) && (!hurt)) {
this.gotoAndStop(4);
_x = (_x + speed);
dir = 1;
} else if ((((Key.isDown(40) && (!defend)) && (!attack)) && (!item)) && (!hurt)) {
this.gotoAndStop(2);
_y = (_y + speed);
dir = 2;
} else if ((((Key.isDown(37) && (!defend)) && (!attack)) && (!item)) && (!hurt)) {
this.gotoAndStop(8);
_x = (_x - speed);
dir = 3;
}
}
Instance of Symbol 209 MovieClip in Frame 304
onClipEvent (enterFrame) {
_x = (_root.link._x + 8);
_y = (_root.link._y - 13);
}
Frame 305
link._x = 0 + (_root.camFrame._width / 2);
link._y = 0 + (_root.camFrame._height / 2);
Frame 335
namea = _root.name + "!";
stop();
onEnterFrame = function () {
if (Key.isDown(32) && (_root.conte)) {
nextFrame();
_root.conte = false;
}
};
Frame 336
stop();
Frame 337
namea = _root.name + ",";
stop();
Frame 338
play();
Symbol 32 MovieClip Frame 1
Percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (Percent != 100) {
percentBytes = Math.round(Percent) + "%";
} else {
gotoAndStop ("loaded");
}
Symbol 32 MovieClip Frame 2
gotoAndPlay (1);
Symbol 32 MovieClip Frame 3
_root.nextFrame();
Symbol 47 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "A";
_root.nlettercount++;
}
}
Symbol 51 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "B";
_root.nlettercount++;
}
}
Symbol 53 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "C";
_root.nlettercount++;
}
}
Symbol 55 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "D";
_root.nlettercount++;
}
}
Symbol 57 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "E";
_root.nlettercount++;
}
}
Symbol 59 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "F";
_root.nlettercount++;
}
}
Symbol 61 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "G";
_root.nlettercount++;
}
}
Symbol 63 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "H";
_root.nlettercount++;
}
}
Symbol 65 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "I";
_root.nlettercount++;
}
}
Symbol 67 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "J";
_root.nlettercount++;
}
}
Symbol 69 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "K";
_root.nlettercount++;
}
}
Symbol 71 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "L";
_root.nlettercount++;
}
}
Symbol 73 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "M";
_root.nlettercount++;
}
}
Symbol 75 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "N";
_root.nlettercount++;
}
}
Symbol 77 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "O";
_root.nlettercount++;
}
}
Symbol 79 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "P";
_root.nlettercount++;
}
}
Symbol 81 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "Q";
_root.nlettercount++;
}
}
Symbol 83 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "R";
_root.nlettercount++;
}
}
Symbol 85 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "S";
_root.nlettercount++;
}
}
Symbol 87 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "T";
_root.nlettercount++;
}
}
Symbol 89 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "U";
_root.nlettercount++;
}
}
Symbol 91 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "V";
_root.nlettercount++;
}
}
Symbol 93 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "W";
_root.nlettercount++;
}
}
Symbol 95 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "X";
_root.nlettercount++;
}
}
Symbol 97 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "Y";
_root.nlettercount++;
}
}
Symbol 99 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "Z";
_root.nlettercount++;
}
}
Symbol 101 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "a";
_root.nlettercount++;
}
}
Symbol 103 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "b";
_root.nlettercount++;
}
}
Symbol 105 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "c";
_root.nlettercount++;
}
}
Symbol 107 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "d";
_root.nlettercount++;
}
}
Symbol 109 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "e";
_root.nlettercount++;
}
}
Symbol 111 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "f";
_root.nlettercount++;
}
}
Symbol 113 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "g";
_root.nlettercount++;
}
}
Symbol 115 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "h";
_root.nlettercount++;
}
}
Symbol 117 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "i";
_root.nlettercount++;
}
}
Symbol 119 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "j";
_root.nlettercount++;
}
}
Symbol 121 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "k";
_root.nlettercount++;
}
}
Symbol 123 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "l";
_root.nlettercount++;
}
}
Symbol 125 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "m";
_root.nlettercount++;
}
}
Symbol 127 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "n";
_root.nlettercount++;
}
}
Symbol 129 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "o";
_root.nlettercount++;
}
}
Symbol 131 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "p";
_root.nlettercount++;
}
}
Symbol 133 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "q";
_root.nlettercount++;
}
}
Symbol 135 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "r";
_root.nlettercount++;
}
}
Symbol 137 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "s";
_root.nlettercount++;
}
}
Symbol 139 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "t";
_root.nlettercount++;
}
}
Symbol 141 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "u";
_root.nlettercount++;
}
}
Symbol 143 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "v";
_root.nlettercount++;
}
}
Symbol 145 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "w";
_root.nlettercount++;
}
}
Symbol 147 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "x";
_root.nlettercount++;
}
}
Symbol 149 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "y";
_root.nlettercount++;
}
}
Symbol 151 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "z";
_root.nlettercount++;
}
}
Symbol 153 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "1";
_root.nlettercount++;
}
}
Symbol 155 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "2";
_root.nlettercount++;
}
}
Symbol 157 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "3";
_root.nlettercount++;
}
}
Symbol 159 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "4";
_root.nlettercount++;
}
}
Symbol 161 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "5";
_root.nlettercount++;
}
}
Symbol 163 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "6";
_root.nlettercount++;
}
}
Symbol 165 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "7";
_root.nlettercount++;
}
}
Symbol 167 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "8";
_root.nlettercount++;
}
}
Symbol 169 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "9";
_root.nlettercount++;
}
}
Symbol 171 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "0";
_root.nlettercount++;
}
}
Symbol 173 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "!";
_root.nlettercount++;
}
}
Symbol 175 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "?";
_root.nlettercount++;
}
}
Symbol 177 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + ",";
_root.nlettercount++;
}
}
Symbol 179 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + ".";
_root.nlettercount++;
}
}
Symbol 181 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "-";
_root.nlettercount++;
}
}
Symbol 183 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + "_";
_root.nlettercount++;
}
}
Symbol 185 Button
on (release) {
if (_root.nlettercount < _root.maxname) {
_root.name = _root.name + " ";
_root.nlettercount++;
}
}
Symbol 187 Button
on (release) {
_root.name = "";
_root.nlettercount = 0;
}
Symbol 189 Button
on (release) {
if ((_root.name != "") && (_root.name != undefined)) {
_root.play();
}
}
Symbol 198 MovieClip Frame 14
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Instance of Symbol 199 MovieClip in Symbol 200 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.link.hit)) {
_root.heal = _root.heal + 4;
this.gotoAndStop(2);
}
}
Instance of Symbol 208 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
function getPoints() {
getY = random(15) - 6;
getX = random(15) - 6;
gotoY = (getY - _y) / speed;
gotoX = (getX - _x) / speed;
clearInterval(id);
id = setInterval(getPoints, random(2000) + 50);
}
speed = 20;
id = setInterval(getPoints, 0);
getY = random(15) - 6;
getX = random(15) - 6;
}
onClipEvent (enterFrame) {
_y = (_y + gotoY);
_x = (_x + gotoX);
}
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
onEnterFrame = function () {
if ((((Key.isDown(68) && (!_root.inven)) && (!_root.item)) && (_root.arrows > 0)) && (_currentframe == 2)) {
_root.link.bow = true;
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 239 MovieClip Frame 2
onClipEvent (enterFrame) {
arrows = _root.arrows;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxarrows) {
_root.arrows = _root.maxarrows;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 239 MovieClip Frame 3
onEnterFrame = function () {
if (((Key.isDown(68) && (!_root.inven)) && (!_root.item)) && (_currentframe == 3)) {
_root.link.boomerang = true;
}
};
Symbol 239 MovieClip Frame 4
onEnterFrame = function () {
if ((((Key.isDown(68) && (!_root.inven)) && (!_root.item)) && (_root.bombs > 0)) && (_currentframe == 4)) {
_root.link.bomb = true;
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 239 MovieClip Frame 4
onClipEvent (enterFrame) {
arrows = _root.bombs;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 218 MovieClip "no" in Symbol 239 MovieClip Frame 5
onClipEvent (enterFrame) {
arrows = _root.arrows;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxarrows) {
_root.arrows = _root.maxarrows;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 2
onEnterFrame = function () {
if ((((Key.isDown(87) && (!_root.inven)) && (!_root.item)) && (_root.arrows > 0)) && (_currentframe == 2)) {
_root.link.bow = true;
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 245 MovieClip Frame 2
onClipEvent (enterFrame) {
arrows = _root.arrows;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxarrows) {
_root.arrows = _root.maxarrows;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 245 MovieClip Frame 3
onEnterFrame = function () {
if (((Key.isDown(87) && (!_root.inven)) && (!_root.item)) && (_currentframe == 3)) {
_root.link.boomerang = true;
}
};
Symbol 245 MovieClip Frame 4
onEnterFrame = function () {
if ((((Key.isDown(87) && (!_root.inven)) && (!_root.item)) && (_root.bombs > 0)) && (_currentframe == 4)) {
_root.link.bomb = true;
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 245 MovieClip Frame 4
onClipEvent (enterFrame) {
arrows = _root.bombs;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 218 MovieClip "no" in Symbol 245 MovieClip Frame 5
onClipEvent (enterFrame) {
arrows = _root.arrows;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxarrows) {
_root.arrows = _root.maxarrows;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
onEnterFrame = function () {
if ((((Key.isDown(16) && (!_root.inven)) && (!_root.item)) && (_root.arrows > 0)) && (_currentframe == 2)) {
_root.link.bow = true;
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 251 MovieClip Frame 2
onClipEvent (enterFrame) {
arrows = _root.arrows;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxarrows) {
_root.arrows = _root.maxarrows;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 251 MovieClip Frame 3
onEnterFrame = function () {
if (((Key.isDown(16) && (!_root.inven)) && (!_root.item)) && (_currentframe == 3)) {
_root.link.boomerang = true;
}
};
Symbol 251 MovieClip Frame 4
onEnterFrame = function () {
if ((((Key.isDown(16) && (!_root.inven)) && (!_root.item)) && (_root.bombs > 0)) && (_currentframe == 4)) {
_root.link.bomb = true;
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 251 MovieClip Frame 4
onClipEvent (enterFrame) {
arrows = _root.bombs;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 218 MovieClip "no" in Symbol 251 MovieClip Frame 5
onClipEvent (enterFrame) {
arrows = _root.arrows;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxarrows) {
_root.arrows = _root.maxarrows;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 13
_root.gotoAndStop("gameover");
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 17
_root.gotoAndStop("gameover");
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 21
_root.gotoAndStop("gameover");
Symbol 335 MovieClip Frame 25
_root.gotoAndStop("gameover");
Symbol 365 MovieClip Frame 29
_root.gotoAndStop("gameover");
Symbol 366 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 1
if (_root.maxmag > 0) {
_parent.gotoAndStop(2);
}
Symbol 373 MovieClip Frame 2
if (_root.maxmag > 0) {
_parent.gotoAndStop(2);
}
Symbol 376 MovieClip Frame 1
if (_root.maxmag > 100) {
_parent.gotoAndStop(3);
}
Symbol 376 MovieClip Frame 2
if (_root.maxmag > 100) {
_parent.gotoAndStop(3);
}
Symbol 379 MovieClip Frame 1
stop();
Instance of Symbol 376 MovieClip in Symbol 379 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = _root.magic;
}
Symbol 383 MovieClip Frame 1
_root.maxrupees = 99;
Symbol 383 MovieClip Frame 2
_root.maxrupees = 200;
Symbol 383 MovieClip Frame 3
_root.maxrupees = 750;
Symbol 388 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 1
_parent.gotoAndStop(_root.sword);
Symbol 392 MovieClip Frame 2
_parent.gotoAndStop(_root.sword);
Symbol 400 MovieClip Frame 1
_parent.gotoAndStop(_root.sheild);
Symbol 400 MovieClip Frame 2
_parent.gotoAndStop(_root.sheild);
Symbol 409 MovieClip Frame 100
stop();
_root.cont = true;
Symbol 443 MovieClip Frame 40
stop();
_root.cont = true;
Symbol 444 MovieClip Frame 1
stop();
_root.cont = true;
_root.dekusheild.gotoAndStop(1);
_root.heart.gotoAndStop(1);
onEnterFrame = function () {
if ((Key.isDown(32) && (_root.cont)) && (!hold)) {
_root.texter.gotoAndStop(1);
_root.link.item = false;
_root.cont = false;
}
if (Key.isDown(37) && (!hold)) {
gotoAndStop (2);
} else if (Key.isDown(39) && (!hold)) {
gotoAndStop (3);
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!Key.isDown(32))) {
hold = false;
}
};
Symbol 444 MovieClip Frame 2
_root.cont = false;
_root.dekusheild.gotoAndStop(2);
onEnterFrame = function () {
if (Key.isDown(39)) {
gotoAndStop (1);
hold = true;
}
if ((Key.isDown(32) && (_root.rupees >= 40)) && (_root.sheild == 1)) {
_root.rupeeplus = _root.rupeeplus - 40;
_root.dekusheild.gotoAndStop(1);
_root.texter.gotoAndStop("ds");
}
if ((Key.isDown(32) && (_root.rupees < 40)) || (Key.isDown(32) && (_root.sheild > 1))) {
gotoAndStop (4);
}
};
Symbol 444 MovieClip Frame 3
_root.cont = false;
_root.heart.gotoAndStop(2);
onEnterFrame = function () {
if (Key.isDown(37)) {
gotoAndStop (1);
hold = true;
}
if (Key.isDown(32) && (_root.rupees >= 10)) {
_root.rupeeplus = _root.rupeeplus - 10;
_root.heart.gotoAndStop(1);
_root.heal = _root.heal + 4;
_root.texter.gotoAndStop("rh");
}
if (Key.isDown(32) && (_root.rupees < 10)) {
gotoAndStop (4);
}
};
Symbol 444 MovieClip Frame 4
_root.dekusheild.gotoAndStop(1);
_root.heart.gotoAndStop(1);
onEnterFrame = function () {
if (Key.isDown(32) && (_root.cont)) {
_root.texter.gotoAndStop(1);
_root.link.item = false;
_root.cont = false;
}
};
Symbol 455 MovieClip Frame 50
stop();
_root.conte = true;
Symbol 457 MovieClip Frame 50
stop();
_root.conte = true;
Symbol 459 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
stop();
_root.cont = false;
_root.link.item = false;
Symbol 473 MovieClip Frame 7
onEnterFrame = function () {
if (Key.isDown(32) && (_root.cont)) {
_root.sheild = 2;
}
};
Symbol 473 MovieClip Frame 20
namer = _root.name + "'s";
Symbol 473 MovieClip Frame 21
namer = _root.name;
Instance of Symbol 459 MovieClip in Symbol 473 MovieClip Frame 21
onClipEvent (enterFrame) {
if (Key.isDown(32) && (_root.conte)) {
nextFrame();
_root.conte = false;
}
namer = _parent.namer + "!";
}
Symbol 473 MovieClip Frame 23
namer = _root.name;
Instance of Symbol 468 MovieClip "speak" in Symbol 473 MovieClip Frame 23
onClipEvent (enterFrame) {
if ((Key.isDown(32) && (_root.conte)) && (_currentframe == 1)) {
nextFrame();
_root.conte = false;
}
namer = _parent.namer + "?";
if ((Key.isDown(32) && (_root.conte)) && (_currentframe == 2)) {
if ((_root.sheild == 2) && (_root.sword == 1)) {
gotoAndStop (3);
_root.conte = false;
}
}
if ((Key.isDown(32) && (_root.conte)) && (_currentframe == 2)) {
if ((_root.sheild == 1) && (_root.sword == 2)) {
gotoAndStop (4);
_root.conte = false;
}
}
if ((Key.isDown(32) && (_root.conte)) && (_currentframe == 2)) {
if ((_root.sheild == 2) && (_root.sword == 2)) {
gotoAndStop (5);
_root.conte = false;
}
}
if ((Key.isDown(32) && (_root.conte)) && (_currentframe == 2)) {
if ((_root.sheild == 1) && (_root.sword == 1)) {
gotoAndStop (6);
_root.conte = false;
}
}
}
Symbol 475 MovieClip Frame 1
stop();
Instance of Symbol 370 MovieClip "keys" in Symbol 475 MovieClip Frame 2
onClipEvent (enterFrame) {
rupees = _root.sk;
}
Symbol 477 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 481 MovieClip Frame 1
_parent.gotoAndStop(_root.sword);
Symbol 481 MovieClip Frame 2
_parent.gotoAndStop(_root.sword);
Symbol 484 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 1
stop();
Instance of Symbol 493 MovieClip in Symbol 537 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.boom.hit)) {
_parent.gotoAndPlay(10);
}
}
Instance of Symbol 495 MovieClip in Symbol 537 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
if (_root.link.dir == 0) {
_root.link._y = _root.link._y + _root.link.speed;
} else if (_root.link.dir == 1) {
_root.link._x = _root.link._x - _root.link.speed;
} else if (_root.link.dir == 2) {
_root.link._y = _root.link._y - _root.link.speed;
} else if (_root.link.dir == 3) {
_root.link._x = _root.link._x + _root.link.speed;
}
}
}
Symbol 537 MovieClip Frame 9
gotoAndPlay (1);
Symbol 537 MovieClip Frame 17
_parent.chopped++;
Symbol 537 MovieClip Frame 100
_parent.chopped--;
Symbol 537 MovieClip Frame 107
gotoAndPlay (1);
Instance of Symbol 495 MovieClip in Symbol 537 MovieClip Frame 111
onClipEvent (load) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 9;
_root.remhp++;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 9;
_root.remhp++;
}
}
Instance of Symbol 495 MovieClip in Symbol 537 MovieClip Frame 111
onClipEvent (load) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 9;
_root.remhp++;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 9;
_root.remhp++;
}
}
Symbol 537 MovieClip Frame 116
gotoAndPlay (1);
Symbol 537 MovieClip Frame 140
_root.gh1.play();
Symbol 537 MovieClip Frame 160
_root.gh2.play();
Symbol 537 MovieClip Frame 202
gotoAndPlay (1);
Symbol 549 Button
on (press) {
gotoAndStop (3);
}
Symbol 551 Button
on (press) {
gotoAndStop (5);
}
Symbol 552 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_currentframe == 1) && (_root.boomerang == 1)) {
gotoAndStop (2);
}
};
Symbol 552 MovieClip Frame 3
onEnterFrame = function () {
if (_currentframe == 3) {
if (Key.isDown(87)) {
if (_root.w._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.w._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.w._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.w._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.w._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.w._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.w._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.w.gotoAndStop(3);
gotoAndStop (4);
} else if (Key.isDown(68)) {
if (_root.d._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.d._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.d._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.d._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.d._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.d._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.d._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.d.gotoAndStop(3);
gotoAndStop (4);
}
if (Key.isDown(16)) {
if (_root.shift._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.shift._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.shift._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.shift._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.shift._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.shift._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.shift._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.shift.gotoAndStop(3);
gotoAndStop (4);
}
}
};
Symbol 552 MovieClip Frame 5
onEnterFrame = function () {
if (_currentframe == 5) {
if (Key.isDown(87)) {
if (_root.w._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.w._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.w._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.w._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.w._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.w._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.w._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 3) {
_root.d.gotoAndStop(1);
} else if (_root.shift._currentframe == 3) {
_root.shift.gotoAndStop(1);
}
_root.w.gotoAndStop(3);
gotoAndStop (4);
} else if (Key.isDown(68)) {
if (_root.d._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.d._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.d._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.d._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.d._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.d._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.d._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 3) {
_root.w.gotoAndStop(1);
} else if (_root.shift._currentframe == 3) {
_root.shift.gotoAndStop(1);
}
_root.d.gotoAndStop(3);
gotoAndStop (4);
}
if (Key.isDown(16)) {
if (_root.shift._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.shift._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.shift._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.shift._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.shift._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.shift._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.shift._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 3) {
_root.d.gotoAndStop(1);
} else if (_root.w._currentframe == 3) {
_root.w.gotoAndStop(1);
}
_root.shift.gotoAndStop(3);
gotoAndStop (4);
}
}
};
Symbol 554 Button
on (press) {
gotoAndStop (3);
}
Symbol 555 Button
on (press) {
gotoAndStop (5);
}
Symbol 556 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_currentframe == 1) && (_root.bomb == 1)) {
gotoAndStop (2);
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 556 MovieClip Frame 2
onClipEvent (load) {
arrows = _root.bombs;
if (_root.bombs == 0) {
gotoAndStop (2);
} else if (_root.bombs >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else if ((_root.bombs < _root.maxbombs) && (_root.bombs > 0)) {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
arrows = _root.bombs;
if (_root.bombs == 0) {
gotoAndStop (2);
} else if (_root.bombs >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else if ((_root.bombs < _root.maxbombs) && (_root.bombs > 0)) {
gotoAndStop (1);
}
}
Symbol 556 MovieClip Frame 3
onEnterFrame = function () {
if (_currentframe == 3) {
if (Key.isDown(87)) {
if (_root.w._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.w._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.w._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.w._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.w._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.w._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.w._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.w.gotoAndStop(4);
gotoAndStop (4);
} else if (Key.isDown(68)) {
if (_root.d._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.d._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.d._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.d._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.d._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.d._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.d._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.d.gotoAndStop(4);
gotoAndStop (4);
}
if (Key.isDown(16)) {
if (_root.shift._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.shift._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.shift._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.shift._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.shift._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.shift._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.shift._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.shift.gotoAndStop(4);
gotoAndStop (4);
}
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 556 MovieClip Frame 3
onClipEvent (load) {
arrows = _root.bombs;
if (_root.bombs == 0) {
gotoAndStop (2);
} else if (_root.bombs >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else if ((_root.bombs < _root.maxbombs) && (_root.bombs > 0)) {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
arrows = _root.bombs;
if (_root.bombs == 0) {
gotoAndStop (2);
} else if (_root.bombs >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else if ((_root.bombs < _root.maxbombs) && (_root.bombs > 0)) {
gotoAndStop (1);
}
}
Symbol 556 MovieClip Frame 5
onEnterFrame = function () {
if (_currentframe == 5) {
if (Key.isDown(87)) {
if (_root.w._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.w._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.w._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.w._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.w._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.w._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.w._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 4) {
_root.d.gotoAndStop(1);
} else if (_root.shift._currentframe == 4) {
_root.shift.gotoAndStop(1);
}
_root.w.gotoAndStop(4);
gotoAndStop (4);
} else if (Key.isDown(68)) {
if (_root.d._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.d._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.d._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.d._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.d._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.d._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.d._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 4) {
_root.w.gotoAndStop(1);
} else if (_root.shift._currentframe == 4) {
_root.shift.gotoAndStop(1);
}
_root.d.gotoAndStop(4);
gotoAndStop (4);
}
if (Key.isDown(16)) {
if (_root.shift._currentframe == 2) {
_root.inv.bow.gotoAndStop(1);
} else if (_root.shift._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.shift._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.shift._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.shift._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.shift._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.shift._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 4) {
_root.d.gotoAndStop(1);
} else if (_root.w._currentframe == 4) {
_root.w.gotoAndStop(1);
}
_root.shift.gotoAndStop(4);
gotoAndStop (4);
}
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 556 MovieClip Frame 5
onClipEvent (load) {
arrows = _root.bombs;
if (_root.bombs == 0) {
gotoAndStop (2);
} else if (_root.bombs >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else if ((_root.bombs < _root.maxbombs) && (_root.bombs > 0)) {
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
arrows = _root.bombs;
if (_root.bombs == 0) {
gotoAndStop (2);
} else if (_root.bombs >= _root.maxbombs) {
_root.bombs = _root.maxbombs;
gotoAndStop (3);
} else if ((_root.bombs < _root.maxbombs) && (_root.bombs > 0)) {
gotoAndStop (1);
}
}
Symbol 557 Button
on (press) {
gotoAndStop (3);
}
Symbol 558 Button
on (press) {
gotoAndStop (5);
}
Symbol 559 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_currentframe == 1) && (_root.bow == 1)) {
gotoAndStop (2);
}
};
Instance of Symbol 218 MovieClip "no" in Symbol 559 MovieClip Frame 2
onClipEvent (enterFrame) {
arrows = _root.arrows;
if (arrows == 0) {
gotoAndStop (2);
} else if (arrows >= _root.maxarrows) {
_root.arrows = _root.maxarrows;
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 559 MovieClip Frame 3
onEnterFrame = function () {
if (_currentframe == 3) {
if (Key.isDown(87)) {
if (_root.w._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.w._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.w._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.w._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.w._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.w._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.w._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.w.gotoAndStop(2);
gotoAndStop (4);
} else if (Key.isDown(68)) {
if (_root.d._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.d._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.d._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.d._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.d._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.d._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.d._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.d.gotoAndStop(2);
gotoAndStop (4);
}
if (Key.isDown(16)) {
if (_root.shift._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.shift._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.shift._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.shift._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.shift._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.shift._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.shift._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
}
_root.shift.gotoAndStop(2);
gotoAndStop (4);
}
}
};
Symbol 559 MovieClip Frame 5
onEnterFrame = function () {
if (_currentframe == 5) {
if (Key.isDown(87)) {
if (_root.w._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.w._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.w._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.w._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.w._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.w._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.w._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.w._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.w._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.w._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 2) {
_root.d.gotoAndStop(1);
} else if (_root.shift._currentframe == 2) {
_root.shift.gotoAndStop(1);
}
_root.w.gotoAndStop(2);
gotoAndStop (4);
} else if (Key.isDown(68)) {
if (_root.d._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.d._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.d._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.d._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.d._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.d._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.d._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.d._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.d._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.d._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.w._currentframe == 2) {
_root.w.gotoAndStop(1);
} else if (_root.shift._currentframe == 2) {
_root.shift.gotoAndStop(1);
}
_root.d.gotoAndStop(2);
gotoAndStop (4);
}
if (Key.isDown(16)) {
if (_root.shift._currentframe == 3) {
_root.inv.boom.gotoAndStop(1);
} else if (_root.shift._currentframe == 4) {
_root.inv.bomb.gotoAndStop(1);
} else if (_root.shift._currentframe == 5) {
_root.inv.bow.gotoAndStop(1);
_root.inv.fa.gotoAndStop(1);
} else if (_root.shift._currentframe == 6) {
_root.inv.bow.gotoAndStop(1);
_root.inv.ia.gotoAndStop(1);
} else if (_root.shift._currentframe == 7) {
_root.inv.bow.gotoAndStop(1);
_root.inv.la.gotoAndStop(1);
} else if (_root.shift._currentframe == 8) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 9) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 10) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 11) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 12) {
_root.inv.b1.gotoAndStop(1);
} else if (_root.shift._currentframe == 13) {
_root.inv.mr.gotoAndStop(1);
} else if (_root.shift._currentframe == 14) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 15) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 16) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 17) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 18) {
_root.inv.b2.gotoAndStop(1);
} else if (_root.shift._currentframe == 19) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 20) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 21) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 22) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 23) {
_root.inv.b3.gotoAndStop(1);
} else if (_root.shift._currentframe == 24) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 25) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 26) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 27) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.shift._currentframe == 28) {
_root.inv.b4.gotoAndStop(1);
} else if (_root.d._currentframe == 2) {
_root.d.gotoAndStop(1);
} else if (_root.w._currentframe == 2) {
_root.w.gotoAndStop(1);
}
_root.shift.gotoAndStop(2);
gotoAndStop (4);
}
}
};
Symbol 709 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
play();
}
};
Symbol 709 MovieClip Frame 2
_root.inven = true;
Symbol 709 MovieClip Frame 20
stop();
onEnterFrame = function () {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
play();
}
};
Symbol 709 MovieClip Frame 21
_root.inven = false;
Symbol 746 MovieClip Frame 1
stop();
Symbol 823 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
play();
}
};
Instance of Symbol 715 MovieClip in Symbol 823 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.poh + 1);
}
Symbol 823 MovieClip Frame 20
stop();
onEnterFrame = function () {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
play();
}
};
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 50
_root.gotoAndPlay("dungeon1cutscene");
Instance of Symbol 493 MovieClip in Symbol 833 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.swordhit)) {
_parent.gotoAndPlay(4);
}
}
Symbol 833 MovieClip Frame 3
gotoAndPlay (1);
Symbol 833 MovieClip Frame 4
_root.bosshp = _root.bosshp - _root.swordstr;
Symbol 852 MovieClip Frame 10
stop();
Symbol 853 MovieClip Frame 1
stop();
Symbol 853 MovieClip Frame 2
onEnterFrame = function () {
if (Key.isDown(32) && (_root.cont)) {
_root.texter.gotoAndStop(1);
gotoAndStop (3);
}
};
Symbol 853 MovieClip Frame 3
_root.hearts++;
_root.maxhp = _root.maxhp + 4;
_root.heal = _root.remhp - 1;
Symbol 857 MovieClip Frame 1
chopped = 0;
stop();
Instance of Symbol 493 MovieClip in Symbol 857 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
if (_root.link.dir == 0) {
_root.link._y = _root.link._y + _root.link.speed;
} else if (_root.link.dir == 1) {
_root.link._x = _root.link._x - _root.link.speed;
} else if (_root.link.dir == 2) {
_root.link._y = _root.link._y - _root.link.speed;
} else if (_root.link.dir == 3) {
_root.link._x = _root.link._x + _root.link.speed;
}
}
}
Instance of Symbol 537 MovieClip "a" in Symbol 857 MovieClip Frame 1
onClipEvent (load) {
count = random(100);
count2 = random(400);
}
onClipEvent (enterFrame) {
count--;
count2--;
if ((count <= 0) && (_currentframe < 9)) {
attack = true;
}
if (attack && (_currentframe < 9)) {
gotoAndPlay (108);
}
if (_currentframe == 116) {
attack = false;
if (_parent.chopped == 1) {
count = random(100);
}
}
if (((((_currentframe < 9) && (_parent.b._currentframe < 9)) && (count2 <= 0)) && (attack == false)) && (_parent.b.attack == false)) {
attack = true;
gotoAndPlay (117);
}
if (_currentframe == 178) {
attack = false;
_parent.b.attack = false;
count2 = random(400);
}
}
Instance of Symbol 537 MovieClip "b" in Symbol 857 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.a.attack) {
attack = true;
}
if ((attack && (_currentframe < 9)) && (_parent.a._currentframe < 9)) {
gotoAndPlay (108);
}
if (attack) {
_parent.a.count = 2;
}
if (_currentframe == 116) {
attack = false;
_parent.a.count = random(100);
}
}
onClipEvent (load) {
count = random(100);
}
onClipEvent (enterFrame) {
if ((_parent.chopped == 1) && (_currentframe < 9)) {
count--;
}
if (((count <= 0) && (_currentframe < 9)) && (_parent.chopped == 1)) {
attack = true;
}
if ((attack && (_currentframe < 9)) && (_parent.chopped == 1)) {
gotoAndPlay (108);
}
if (_currentframe == 116) {
attack = false;
if (_parent.chopped == 1) {
count = random(100);
}
}
if (_parent.a._currentframe == 118) {
gotoAndPlay (118);
attack = true;
}
}
Instance of Symbol 540 MovieClip in Symbol 857 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.chopped == 2) {
_parent.play();
}
}
Symbol 857 MovieClip Frame 104
stop();
gotoAndPlay (1);
Symbol 857 MovieClip Frame 105
stop();
gotoAndPlay (1);
Symbol 857 MovieClip Frame 185
_root.link.item = true;
_root.bosshp = undefined;
Instance of Symbol 853 MovieClip in Symbol 857 MovieClip Frame 350
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
_root.link.item = true;
_root.texter.gotoAndStop("hc");
this.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 857 MovieClip Frame 350
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit)) {
_root.link.item = true;
_root.bossclear.play();
}
}
Symbol 857 MovieClip Frame 400
stop();
_root.link.item = false;
Symbol 872 MovieClip Frame 1
stop();
Symbol 872 MovieClip Frame 2
_x = (_root.link._x + 13);
_y = (_root.link._y + 30);
Instance of Symbol 495 MovieClip in Symbol 872 MovieClip Frame 13
onClipEvent (load) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 12;
_root.remhp = _root.remhp + 2;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 12;
_root.remhp = _root.remhp + 2;
}
}
Instance of Symbol 495 MovieClip in Symbol 872 MovieClip Frame 15
onClipEvent (load) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 9;
_root.remhp++;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.link.hit) && (!_root.link.hurt)) {
_root.link.hurt = true;
_root.link.repel = _root.link.repel + 9;
_root.remhp++;
}
}
Symbol 934 MovieClip Frame 3
stop();
Symbol 942 MovieClip Frame 3
stop();
Symbol 945 MovieClip Frame 3
stop();
Symbol 946 MovieClip Frame 3
stop();
Symbol 952 MovieClip Frame 1
gotoAndStop(random(3) + 2);
Symbol 961 MovieClip Frame 1
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(17);
}
Symbol 961 MovieClip Frame 2
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(17);
}
Symbol 961 MovieClip Frame 3
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(17);
}
Symbol 961 MovieClip Frame 4
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(17);
}
Symbol 961 MovieClip Frame 5
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(17);
}
Symbol 961 MovieClip Frame 9
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 972 MovieClip Frame 1
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(18);
}
Symbol 972 MovieClip Frame 2
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(18);
}
Symbol 972 MovieClip Frame 3
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(18);
}
Symbol 972 MovieClip Frame 4
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(18);
}
Symbol 972 MovieClip Frame 5
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(18);
}
Symbol 972 MovieClip Frame 9
_parent.attack = false;
_parent.gotoAndStop(3);
Symbol 981 MovieClip Frame 1
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(19);
}
Symbol 981 MovieClip Frame 2
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(19);
}
Symbol 981 MovieClip Frame 3
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(19);
}
Symbol 981 MovieClip Frame 4
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(19);
}
Symbol 981 MovieClip Frame 5
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(19);
}
Symbol 981 MovieClip Frame 9
_parent.attack = false;
_parent.gotoAndStop(5);
Symbol 983 MovieClip Frame 1
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(20);
}
Symbol 983 MovieClip Frame 2
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(20);
}
Symbol 983 MovieClip Frame 3
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(20);
}
Symbol 983 MovieClip Frame 4
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(20);
}
Symbol 983 MovieClip Frame 5
if (!Key.isDown(65)) {
_parent.hold = false;
}
if ((Key.isDown(65) && (_root.magic > 4)) && (!_parent.hold)) {
_parent.gotoAndStop(20);
}
Symbol 983 MovieClip Frame 9
_parent.attack = false;
_parent.gotoAndStop(7);
Symbol 985 MovieClip Frame 7
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 986 MovieClip Frame 7
_parent.attack = false;
_parent.gotoAndStop(3);
Symbol 987 MovieClip Frame 7
_parent.attack = false;
_parent.gotoAndStop(5);
Symbol 988 MovieClip Frame 7
_parent.attack = false;
_parent.gotoAndStop(7);
Symbol 1005 MovieClip Frame 49
_parent.item = false;
_parent.boomerang = false;
_parent.gotoAndStop(1);
Symbol 1014 MovieClip Frame 49
_parent.item = false;
_parent.boomerang = false;
_parent.gotoAndStop(3);
Symbol 1023 MovieClip Frame 49
_parent.item = false;
_parent.boomerang = false;
_parent.gotoAndStop(5);
Symbol 1028 MovieClip Frame 49
_parent.item = false;
_parent.boomerang = false;
_parent.gotoAndStop(7);
Symbol 1036 MovieClip Frame 16
_root.arrow._x = _root.link._x + 20;
_root.arrows--;
_root.arrow._y = _root.link._y + 25;
_root.arrow.gotoAndStop(2);
Symbol 1036 MovieClip Frame 22
_parent.item = false;
_parent.bow = false;
_parent.gotoAndStop(1);
Symbol 1044 MovieClip Frame 16
_root.arrow._x = _root.link._x + 20;
_root.arrows--;
_root.arrow._y = _root.link._y + 16;
_root.arrow.gotoAndStop(5);
Symbol 1044 MovieClip Frame 22
_parent.item = false;
_parent.bow = false;
_parent.gotoAndStop(3);
Symbol 1051 MovieClip Frame 16
_root.arrow._x = _root.link._x + 15;
_root.arrows--;
_root.arrow._y = _root.link._y - 5;
_root.arrow.gotoAndStop(4);
Symbol 1051 MovieClip Frame 22
_parent.item = false;
_parent.bow = false;
_parent.gotoAndStop(5);
Symbol 1054 MovieClip Frame 16
_root.arrow._x = _root.link._x;
_root.arrows--;
_root.arrow._y = _root.link._y + 16;
_root.arrow.gotoAndStop(3);
Symbol 1054 MovieClip Frame 22
_parent.item = false;
_parent.bow = false;
_parent.gotoAndStop(7);
Symbol 1055 MovieClip Frame 1
hurt = false;
defend = false;
onEnterFrame = function () {
if (boomerang && (!item)) {
gotoAndStop (25);
}
if (((bow && (!item)) && (_root.arrow._currentframe == 1)) && (_root.arrows > 0)) {
gotoAndStop (29);
}
if (bow && (_root.arrows == 0)) {
bow = false;
}
if (repel == 0) {
hurt = false;
}
if (hurt) {
gotoAndStop (21);
}
if (((Key.isDown(83) && (!attack)) && (!item)) && (_root.sheild > 1)) {
this.gotoAndStop(9);
}
if ((((Key.isDown(65) && (!countdown)) && (!defend)) && (!item)) && (_root.sword > 1)) {
this.gotoAndStop(13);
hold = true;
}
};
Symbol 1055 MovieClip Frame 2
onEnterFrame = function () {
if (hurt) {
gotoAndStop (21);
}
if (!Key.isDown(40)) {
this.gotoAndStop(1);
}
};
Symbol 1055 MovieClip Frame 3
hurt = false;
defend = false;
onEnterFrame = function () {
if (boomerang && (!item)) {
gotoAndStop (26);
}
if (((bow && (!item)) && (_root.arrow._currentframe == 1)) && (_root.arrows > 0)) {
gotoAndStop (30);
}
if (bow && (_root.arrows == 0)) {
bow = false;
}
if (repel == 0) {
hurt = false;
}
if (hurt) {
gotoAndStop (22);
}
if (((Key.isDown(83) && (!attack)) && (!item)) && (_root.sheild > 1)) {
this.gotoAndStop(10);
}
if ((((Key.isDown(65) && (!countdown)) && (!defend)) && (!item)) && (_root.sword > 1)) {
this.gotoAndStop(14);
hold = true;
}
};
Symbol 1055 MovieClip Frame 4
onEnterFrame = function () {
if (hurt) {
gotoAndStop (22);
}
if (!Key.isDown(39)) {
this.gotoAndStop(3);
}
};
Symbol 1055 MovieClip Frame 5
hurt = false;
defend = false;
onEnterFrame = function () {
if (boomerang && (!item)) {
gotoAndStop (27);
}
if (((bow && (!item)) && (_root.arrow._currentframe == 1)) && (_root.arrows > 0)) {
gotoAndStop (31);
}
if (bow && (_root.arrows == 0)) {
bow = false;
}
if (repel == 0) {
hurt = false;
}
if (hurt) {
gotoAndStop (23);
}
if (((Key.isDown(83) && (!attack)) && (!item)) && (_root.sheild > 1)) {
this.gotoAndStop(11);
}
if ((((Key.isDown(65) && (!countdown)) && (!defend)) && (!item)) && (_root.sword > 1)) {
this.gotoAndStop(15);
hold = true;
}
};
Symbol 1055 MovieClip Frame 6
onEnterFrame = function () {
if (hurt) {
gotoAndStop (23);
}
if (!Key.isDown(38)) {
this.gotoAndStop(5);
}
};
Symbol 1055 MovieClip Frame 7
hurt = false;
defend = false;
onEnterFrame = function () {
if (boomerang && (!item)) {
gotoAndStop (28);
}
if (((bow && (!item)) && (_root.arrow._currentframe == 1)) && (_root.arrows > 0)) {
gotoAndStop (32);
}
if (bow && (_root.arrows == 0)) {
bow = false;
}
if (repel == 0) {
hurt = false;
}
if (hurt) {
gotoAndStop (24);
}
if (((Key.isDown(83) && (!attack)) && (!item)) && (_root.sheild > 1)) {
this.gotoAndStop(12);
}
if ((((Key.isDown(65) && (!countdown)) && (!defend)) && (!item)) && (_root.sword > 1)) {
this.gotoAndStop(16);
hold = true;
}
};
Symbol 1055 MovieClip Frame 8
onEnterFrame = function () {
if (hurt) {
gotoAndStop (24);
}
if (!Key.isDown(37)) {
this.gotoAndStop(7);
}
};
Symbol 1055 MovieClip Frame 9
onEnterFrame = function () {
dir = 0;
defend = true;
if (!Key.isDown(83)) {
defend = false;
this.gotoAndStop(1);
}
if (hurt) {
gotoAndStop (21);
}
if (repel > 0) {
_y = (_y - repel);
repel--;
}
};
Symbol 1055 MovieClip Frame 10
onEnterFrame = function () {
dir = 3;
if (hurt) {
gotoAndStop (22);
}
defend = true;
if (!Key.isDown(83)) {
defend = false;
this.gotoAndStop(3);
}
if (repel > 0) {
_x = (_x - repel);
repel--;
}
};
Symbol 1055 MovieClip Frame 11
onEnterFrame = function () {
if (hurt) {
gotoAndStop (23);
}
dir = 2;
defend = true;
if (!Key.isDown(83)) {
defend = false;
this.gotoAndStop(5);
}
if (repel > 0) {
_y = (_y + repel);
repel--;
}
};
Symbol 1055 MovieClip Frame 12
onEnterFrame = function () {
if (hurt) {
gotoAndStop (24);
}
dir = 1;
defend = true;
if (!Key.isDown(83)) {
defend = false;
this.gotoAndStop(7);
}
if (repel > 0) {
_x = (_x + repel);
repel--;
}
};
Symbol 1055 MovieClip Frame 13
attack = true;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (21);
}
};
Symbol 1055 MovieClip Frame 14
attack = true;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (22);
}
};
Symbol 1055 MovieClip Frame 15
attack = true;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (23);
}
};
Symbol 1055 MovieClip Frame 16
attack = true;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (24);
}
};
Symbol 1055 MovieClip Frame 17
attack = true;
_root.magic = _root.magic - 5;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (21);
}
};
Symbol 1055 MovieClip Frame 18
attack = true;
_root.magic = _root.magic - 5;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (22);
}
};
Symbol 1055 MovieClip Frame 19
attack = true;
_root.magic = _root.magic - 5;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (23);
}
};
Symbol 1055 MovieClip Frame 20
attack = true;
_root.magic = _root.magic - 5;
onEnterFrame = function () {
if (hurt) {
gotoAndStop (24);
}
};
Symbol 1055 MovieClip Frame 21
item = false;
bow = false;
boomerang = false;
onEnterFrame = function () {
dir = 0;
if (repel > 0) {
_y = (_y - repel);
repel--;
hurt = true;
} else {
hurt = false;
}
if (!hurt) {
gotoAndStop (1);
}
};
Symbol 1055 MovieClip Frame 22
item = false;
bow = false;
boomerang = false;
onEnterFrame = function () {
dir = 3;
if (repel > 0) {
_x = (_x - repel);
repel--;
hurt = true;
} else {
hurt = false;
}
if (!hurt) {
gotoAndStop (3);
}
};
Symbol 1055 MovieClip Frame 23
item = false;
bow = false;
boomerang = false;
onEnterFrame = function () {
dir = 2;
if (repel > 0) {
_y = (_y + repel);
repel--;
hurt = true;
} else {
hurt = false;
}
if (!hurt) {
gotoAndStop (5);
}
};
Symbol 1055 MovieClip Frame 24
item = false;
bow = false;
boomerang = false;
onEnterFrame = function () {
dir = 1;
if (repel > 0) {
_x = (_x + repel);
repel--;
hurt = true;
} else {
hurt = false;
}
if (!hurt) {
gotoAndStop (7);
}
};
Symbol 1055 MovieClip Frame 25
item = true;
Symbol 1055 MovieClip Frame 26
item = true;
Symbol 1055 MovieClip Frame 27
item = true;
Symbol 1055 MovieClip Frame 28
item = true;
Symbol 1055 MovieClip Frame 29
item = true;
Instance of Symbol 1036 MovieClip in Symbol 1055 MovieClip Frame 29
onClipEvent (enterFrame) {
if (_currentframe == 16) {
_root.arrow.gotoAndStop(2);
}
}
Symbol 1055 MovieClip Frame 30
item = true;
Instance of Symbol 1044 MovieClip in Symbol 1055 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_currentframe == 16) {
_root.arrow.gotoAndStop(5);
}
}
Symbol 1055 MovieClip Frame 31
item = true;
Instance of Symbol 1051 MovieClip in Symbol 1055 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_currentframe == 16) {
_root.arrow.gotoAndStop(4);
}
}
Symbol 1055 MovieClip Frame 32
item = true;
Symbol 1062 MovieClip Frame 1
gotoAndStop(_root.sheild);
Symbol 1086 MovieClip Frame 111
_root.maxname = 10;
_root.sword = 2;
_root.swordstr = 1;
_root.linkdir = 0;
_root.sheild = 2;
_root.name = "";
_root.nlettercount = 0;
_root.inven = false;
_root.sk = 0;
_root.arrows = 20;
_root.maxarrows = 20;
_root.boomerang = 1;
_root.bomb = 0;
_root.bombs = 30;
_root.maxbombs = 30;
_root.rupees = 0;
_root.rupeeplus = 0;
_root.grass = new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21");
_root.current = random(unlocks);
_root.rupeebag = 1;
_root.bk = 0;
_root.hearts = 1;
_root.unlocks = 22;
_root.maxhp = 13;
_root.remhp = 1;
_root.heal = 0;
_root.magic = 0;
_root.maxmag = 0;
_root.magrest = 0;
_root.magicdone = false;
_root.gotoAndStop(2);