Frame 1
Stage.showMenu = false;
_root.foreststones = 0;
_root.cliffsstones = 0;
_root.flowerstones = 0;
_root.junglestones = 0;
_root.desertstones = 0;
_root.swampstones = 0;
_root.rockystones = 0;
_root.winterlandstones = 0;
_root.cabinstones = 0;
_root.oasisstones = 0;
_root.stones = 0;
_root.gold = 10;
_root.exp = 0;
_root.level = 1;
_root.hp = 20;
_root.hptotal = 20;
_root.defense = 13;
_root.attack = 3;
_root.magicattack = 3;
_root.mptotal = 15;
_root.mp = 15;
_root.potion = 1;
_root.hipotion = 0;
_root.xpotion = 0;
_root.ether = 1;
_root.hiether = 0;
_root.xether = 0;
_root.normalshirt = true;
_root.woodenshirt = false;
_root.ironedshirt = false;
_root.magicshirt = false;
_root.slickshirt = false;
_root.armorshirt = false;
_root.pricklyshirt = false;
_root.megashirt = false;
_root.normalshoes = true;
_root.spikeyshoes = false;
_root.heavyshoes = false;
_root.magicshoes = false;
_root.shinyshoes = false;
_root.shieldshoes = false;
_root.fuzzyshoes = false;
_root.megashoes = false;
_root.woodenshirtgot = false;
_root.ironedshirtgot = false;
_root.magicshirtgot = false;
_root.slickshirtgot = false;
_root.armorshirtgot = false;
_root.pricklyshirtgot = false;
_root.megashirtgot = false;
_root.spikeyshoesgot = false;
_root.heavyshoesgot = false;
_root.magicshoesgot = false;
_root.shinyshoesgot = false;
_root.shieldshoesgot = false;
_root.fuzzyshoesgot = false;
_root.megashoesgot = false;
_root.menuscreenon = false;
_root.Turn = "guy";
Frame 2
stop();
Frame 3
_global.battlecounter = 0;
_root.Turn = "guy";
Instance of Symbol 488 MovieClip in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Instance of Symbol 490 MovieClip in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Instance of Symbol 499 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone1 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone1 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone3 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone3 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone2 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone2 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone50 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone50 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone49 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone49 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone48 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone48 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone47 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone47 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone46 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone46 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone45 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone45 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone44 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone44 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone43 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone43 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone42 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone42 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone41 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone41 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone40 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone40 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone39 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone39 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone38 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone38 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone37 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone37 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone36 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone36 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone35 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone35 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone34 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone34 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone33 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone33 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone32 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone32 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone31 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone31 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone30 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone30 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone29 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone29 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone28 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone28 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone27 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone27 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone26 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone26 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone25 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone25 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone24 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone24 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone23 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone23 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone22 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone22 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone21 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone21 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone20 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone20 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone19 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone19 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone18 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone18 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone17 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone17 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone16 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone16 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone15 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone15 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone14 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone14 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone13 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone13 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone12 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone12 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone11 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone11 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone10 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone10 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone9 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone9 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone8 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone8 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone7 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone7 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone6 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone6 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone5 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone5 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone4 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone4 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 837 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 837 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 837 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 837 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 837 MovieClip "bridge" in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Instance of Symbol 854 MovieClip "shadow" in Frame 3
onClipEvent (load) {
moveSpeed = 0.8;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + (moveSpeed + 0.5);
_root.guy.gotoAndPlay(26);
}
} else if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - (moveSpeed + 0.5);
_root.guy.gotoAndPlay(30);
}
} else if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + (moveSpeed + 0.5);
_root.guy.gotoAndPlay(22);
}
} else if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (Key.isDown(16)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - (moveSpeed + 0.5);
_root.guy.gotoAndPlay(34);
}
} else if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
}
} else if (_root.menu == true) {
}
}
Instance of Symbol 488 MovieClip in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Instance of Symbol 951 MovieClip "guy" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.shadow._x;
this._y = _root.shadow._y;
}
Instance of Symbol 812 MovieClip "wiztrees6" in Frame 3
/* no clip actions */
Instance of Symbol 973 MovieClip "shop" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 985 MovieClip "goldstats" in Frame 3
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 987 MovieClip "camera" in Frame 3
onClipEvent (enterFrame) {
_x = _root.Shadow._x;
_y = (_root.Shadow._y - 5);
}
Instance of Symbol 989 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Instance of Symbol 1017 MovieClip "wiztalk" in Frame 3
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
this._xscale = _root.camera._xscale;
this._yscale = _root.camera._yscale;
}
Instance of Symbol 1398 MovieClip "menuscreen" in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(8) && (_root.menu == false)) {
this.gotoAndStop("Main");
_root.menu = true;
}
}
onClipEvent (enterFrame) {
_x = _root.camera._x;
_y = _root.camera._y;
}
Frame 4
stop();
_root.Turn = "guy";
Frame 5
stop();
_global.Menu = true;
_root.run = true;
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone1 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone1 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone3 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone3 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone2 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone2 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone50 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone50 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone49 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone49 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone48 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone48 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone47 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone47 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone46 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone46 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone45 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone45 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone44 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone44 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone43 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone43 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone42 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone42 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone41 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone41 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone40 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone40 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone39 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone39 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone38 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone38 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone37 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone37 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone36 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone36 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone35 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone35 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone34 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone34 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone33 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone33 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone32 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone32 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone31 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone31 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone30 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone30 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone29 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone29 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone28 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone28 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone27 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone27 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone26 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone26 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone25 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone25 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone24 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.oasisstones = _root.oasisstones + 1;
}
if (_root.stone24 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone23 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone23 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone22 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cabinstones = _root.cabinstones + 1;
}
if (_root.stone22 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone21 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone21 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone20 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone20 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone19 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone19 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone18 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.winterlandstones = _root.winterlandstones + 1;
}
if (_root.stone18 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone17 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone17 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone16 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.swampstones = _root.swampstones + 1;
}
if (_root.stone16 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone15 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone15 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone14 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.cliffsstones = _root.cliffsstones + 1;
}
if (_root.stone14 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone13 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone13 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone12 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone12 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone11 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone11 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone10 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.junglestones = _root.junglestones + 1;
}
if (_root.stone10 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone9 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone9 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone8 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.flowerstones = _root.flowerstones + 1;
}
if (_root.stone8 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone7 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.rockystones = _root.rockystones + 1;
}
if (_root.stone7 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone6 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone6 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone5 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.foreststones = _root.foreststones + 1;
}
if (_root.stone5 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 536 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.guy.gotoAndStop("magicstonegot");
_root.stone4 = true;
_root.stones = _root.stones + 1;
_root.menu = true;
_root.desertstones = _root.desertstones + 1;
}
if (_root.stone4 == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 951 MovieClip "guy" in Frame 5
onClipEvent (enterFrame) {
this._x = _root.shadow._x;
this._y = _root.shadow._y;
}
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
_root.run = false;
_global.Menu = true;
_root.wiztalk = false;
Frame 9
stop();
Symbol 18 MovieClip Frame 10
stop();
Symbol 21 Button
on (release) {
_root.play();
}
Symbol 24 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 24 MovieClip Frame 2
gotoAndPlay (1);
Symbol 24 MovieClip Frame 3
stop();
Symbol 31 Button
on (release) {
getURL ("http://www.starogre.com");
}
Symbol 36 Button
on (release) {
getURL ("http://www.whitneystudios.com");
}
Symbol 39 Button
on (release) {
getURL ("http://www.gamesofgondor.com");
}
Symbol 42 MovieClip Frame 11
stop();
Symbol 55 MovieClip Frame 1877
gotoAndPlay (1);
_root.intromovie.gotoAndPlay(1);
Symbol 58 Button
on (release) {
_parent.play();
}
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 2
stop();
Symbol 66 MovieClip Frame 21
stop();
stop();
Symbol 82 Button
on (release) {
_parent.play();
}
Symbol 86 Button
on (release) {
_root.pos = sharedobject.getLocal("RPGDATA");
_root.shadow._x = _root.pos.data.shadowx;
_root.shadow._y = _root.pos.data.shadowy;
_root.level = _root.pos.data.level;
_root.hp = _root.pos.data.hp;
_root.hptotal = _root.pos.data.hptotal;
_root.mp = _root.pos.data.mp;
_root.mptotal = _root.pos.data.mptotal;
_root.attack = _root.pos.data.attack;
_root.magicattack = _root.pos.data.magicattack;
_root.exp = _root.pos.data.exp;
_root.gold = _root.pos.data.gold;
_root.stones = _root.pos.data.stones;
_root.potion = _root.pos.data.potion;
_root.hipotion = _root.pos.data.hipotion;
_root.xpotion = _root.pos.data.xpotion;
_root.ether = _root.pos.data.ether;
_root.hiether = _root.pos.data.hiether;
_root.xether = _root.pos.data.xether;
_root.normalshirt = _root.pos.data.normalshirt;
_root.woodenshirt = _root.pos.data.woodenshirt;
_root.ironedshirt = _root.pos.data.ironedshirt;
_root.magicshirt = _root.pos.data.magicshirt;
_root.armorshirt = _root.pos.data.armorshirt;
_root.pricklyshirt = _root.pos.data.pricklyshirt;
_root.megashirt = _root.pos.data.megashirt;
_root.slickshirt = _root.pos.data.slickshirt;
_root.normalshirtgot = _root.pos.data.normalshirtgot;
_root.woodenshirtgot = _root.pos.data.woodenshirtgot;
_root.ironedshirtgot = _root.pos.data.ironedshirtgot;
_root.magicshirtgot = _root.pos.data.magicshirtgot;
_root.armorshirtgot = _root.pos.data.armorshirtgot;
_root.pricklyshirtgot = _root.pos.data.pricklyshirtgot;
_root.megashirtgot = _root.pos.data.megashirtgot;
_root.slickshirtgot = _root.pos.data.slickshirtgot;
_root.normalshoes = _root.pos.data.normalshoes;
_root.spikeyshoes = _root.pos.data.spikeyshoes;
_root.heavyshoes = _root.pos.data.heavyshoes;
_root.magicshoes = _root.pos.data.magicshoes;
_root.shinyshoes = _root.pos.data.shinyshoes;
_root.shieldshoes = _root.pos.data.shieldshoes;
_root.fuzzyshoes = _root.pos.data.fuzzyshoes;
_root.megashoes = _root.pos.data.megashoes;
_root.normalshoesgot = _root.pos.data.normalshoesgot;
_root.spikeyshoesgot = _root.pos.data.spikeyshoesgot;
_root.heavyshoesgot = _root.pos.data.heavyshoesgot;
_root.magicshoesgot = _root.pos.data.magicshoesgot;
_root.shinyshoesgot = _root.pos.data.shinyshoesgot;
_root.shieldshoesgot = _root.pos.data.shieldshoesgot;
_root.fuzzyshoesgot = _root.pos.data.fuzzyshoesgot;
_root.megashoesgot = _root.pos.data.megashoesgot;
_root.stone1 = _root.pos.data.stone1;
_root.stone2 = _root.pos.data.stone2;
_root.stone3 = _root.pos.data.stone3;
_root.stone4 = _root.pos.data.stone4;
_root.stone5 = _root.pos.data.stone5;
_root.stone6 = _root.pos.data.stone6;
_root.stone7 = _root.pos.data.stone7;
_root.stone8 = _root.pos.data.stone8;
_root.stone9 = _root.pos.data.stone9;
_root.stone10 = _root.pos.data.stone10;
_root.stone11 = _root.pos.data.stone11;
_root.stone12 = _root.pos.data.stone12;
_root.stone13 = _root.pos.data.stone13;
_root.stone14 = _root.pos.data.stone14;
_root.stone15 = _root.pos.data.stone15;
_root.stone16 = _root.pos.data.stone16;
_root.stone17 = _root.pos.data.stone17;
_root.stone18 = _root.pos.data.stone18;
_root.stone19 = _root.pos.data.stone19;
_root.stone20 = _root.pos.data.stone20;
_root.stone21 = _root.pos.data.stone21;
_root.stone22 = _root.pos.data.stone22;
_root.stone23 = _root.pos.data.stone23;
_root.stone24 = _root.pos.data.stone24;
_root.stone25 = _root.pos.data.stone25;
_root.stone26 = _root.pos.data.stone26;
_root.stone27 = _root.pos.data.stone27;
_root.stone28 = _root.pos.data.stone28;
_root.stone29 = _root.pos.data.stone29;
_root.stone30 = _root.pos.data.stone30;
_root.stone31 = _root.pos.data.stone31;
_root.stone32 = _root.pos.data.stone32;
_root.stone33 = _root.pos.data.stone33;
_root.stone34 = _root.pos.data.stone34;
_root.stone35 = _root.pos.data.stone35;
_root.stone36 = _root.pos.data.stone36;
_root.stone37 = _root.pos.data.stone37;
_root.stone38 = _root.pos.data.stone38;
_root.stone39 = _root.pos.data.stone39;
_root.stone40 = _root.pos.data.stone40;
_root.stone41 = _root.pos.data.stone41;
_root.stone42 = _root.pos.data.stone42;
_root.stone43 = _root.pos.data.stone43;
_root.stone44 = _root.pos.data.stone44;
_root.stone45 = _root.pos.data.stone45;
_root.stone46 = _root.pos.data.stone46;
_root.stone47 = _root.pos.data.stone47;
_root.stone48 = _root.pos.data.stone48;
_root.stone49 = _root.pos.data.stone49;
_root.stone50 = _root.pos.data.stone50;
_root.foreststones = _root.pos.data.foreststones;
_root.cliffsstones = _root.pos.data.cliffsstones;
_root.flowerstones = _root.pos.data.flowerstones;
_root.junglestones = _root.pos.data.junglestones;
_root.desertstones = _root.pos.data.desertstones;
_root.swampstones = _root.pos.data.swampstones;
_root.rockystones = _root.pos.data.rockystones;
_root.winterlandstones = _root.pos.data.winterlandstones;
_root.cabinstones = _root.pos.data.cabinstones;
_root.oasisstones = _root.pos.data.oasisstones;
_root.gotoAndPlay(3);
}
Symbol 87 Button
on (release) {
nextFrame();
}
Symbol 91 Button
on (release) {
gotoAndPlay (33);
}
Symbol 99 Button
on (release) {
_root.intromovie.gamemenu.fade.play();
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 16
_root.intromovie.gotoAndPlay(1);
Symbol 110 Button
on (release) {
nextFrame();
}
Symbol 115 Button
on (release) {
_parent.prevFrame();
}
Symbol 121 Button
on (release) {
prevFrame();
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
stop();
Symbol 130 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 4
stop();
Symbol 133 MovieClip Frame 31
stop();
Symbol 133 MovieClip Frame 32
stop();
Symbol 133 MovieClip Frame 40
_root.gotoAndStop("credits");
Symbol 143 Button
on (release) {
_root.gotoAndPlay(3);
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 12
stop();
Symbol 286 MovieClip Frame 1
goldget = _root.goldget;
Symbol 288 MovieClip Frame 1
expget = _root.expget;
Symbol 293 Button
on (release) {
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.play();
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.play();
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.play();
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.play();
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.play();
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.play();
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.play();
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.play();
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.play();
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.play();
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.play();
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.play();
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.play();
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.play();
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.play();
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.play();
}
_root.battleguy.swapDepths(_root.EnemyMain);
}
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
stop();
_root.potion = _root.potion + 1;
Symbol 303 MovieClip Frame 3
stop();
_root.hipotion = _root.hipotion + 1;
Symbol 303 MovieClip Frame 4
stop();
_root.xpotion = _root.xpotion + 1;
Symbol 303 MovieClip Frame 5
stop();
_root.ether = _root.ether + 1;
Symbol 303 MovieClip Frame 6
stop();
_root.hiether = _root.hiether + 1;
Symbol 303 MovieClip Frame 7
stop();
_root.xether = _root.xether + 1;
Symbol 326 Button
on (release) {
_root.hptotal = _root.hptotal + 5;
_root.hp = _root.hptotal;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 331 Button
on (release) {
_root.mptotal = _root.mptotal + 5;
_root.mp = _root.mptotal;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 336 Button
on (release) {
_root.attack = _root.attack + 1;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 341 Button
on (release) {
_root.magicattack = _root.magicattack + 1;
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(1);
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(1);
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(1);
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(1);
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(1);
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(1);
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(1);
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(1);
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.okbutton.gotoAndStop(1);
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(1);
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(1);
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(1);
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(1);
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(1);
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(1);
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(1);
}
nextFrame();
}
Symbol 342 MovieClip Frame 55
stop();
Symbol 342 MovieClip Frame 56
stop();
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 2
_root.levelisplaying = true;
Symbol 374 MovieClip Frame 16
stop();
Symbol 378 MovieClip Frame 1
_root.enemyHP = random(10) + 5;
_root.enemyMP = 15;
Symbol 378 MovieClip Frame 2
stop();
Symbol 378 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 378 MovieClip Frame 22
block = true;
spikeydmg = random(3) + 1;
Symbol 378 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 378 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 378 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 378 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 378 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 378 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 378 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 378 MovieClip Frame 37
_root.turn = "comp";
_root.battleguy.gotoAndStop(1);
Symbol 378 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 378 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(4) + 2;
_root.gold = _root.gold + _root.goldget;
_root.expget = 11 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.spikey.itemchooser.gotoAndStop("potion");
} else {
_root.enemyMain.spikey.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.spikey.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.spikey.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 378 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battlespikey = false;
_root.EnemyMain.gotoAndStop(1);
_root.enemychooser = 0;
Symbol 378 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
Symbol 378 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 378 MovieClip Frame 84
block = true;
spikeymagic = random(4) + 2;
Symbol 378 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 378 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 378 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 378 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spikey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 378 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 3;
Symbol 378 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 378 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Instance of Symbol 252 MovieClip "spikeyrotate" in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
_root.SpikeyMad == true;
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._x > _x) {
_root.spikey._x = _root.spikey._x + 5;
}
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._x < _x) {
_root.spikey._x = _root.spikey._x - 5;
}
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._y > _y) {
_root.spikey._y = _root.spikey._y + 5;
}
}
onClipEvent (enterFrame) {
if (_root.spikeyshadow._y < _y) {
_root.spikey._y = _root.spikey._y - 5;
}
}
Symbol 403 MovieClip Frame 6
_global.battlecounter = _global.battlecounter + 1;
Symbol 486 MovieClip Frame 1
_root.intromovie.menumusic.gotoAndPlay(1);
Symbol 486 MovieClip Frame 124
stop();
Symbol 486 MovieClip Frame 125
stop();
Symbol 486 MovieClip Frame 1614
_root.gotoAndPlay(3);
Symbol 536 MovieClip Frame 1
stop();
Instance of Symbol 535 MovieClip in Symbol 536 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_global.battlecounter = 0;
}
}
Symbol 536 MovieClip Frame 2
stop();
Symbol 570 Button
on (release) {
play();
}
Symbol 575 Button
on (release) {
gotoAndStop (1);
_root.menu = false;
_root.guy.swapDepths(_root.obstacles);
_root.shopspace1.gotoAndStop(2);
_root.shopspace1.operate = false;
}
Symbol 608 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 614 Button
on (release) {
if (_root.potion < 100) {
if ((_root.gold == 10) || (_root.gold > 10)) {
_root.potion = _root.potion + 1;
_root.gold = _root.gold - 10;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 618 Button
on (release) {
if (_root.ether < 100) {
if ((_root.gold == 5) || (_root.gold > 5)) {
_root.ether = _root.ether + 1;
_root.gold = _root.gold - 5;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 628 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.woodenshirtgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.gotoAndPlay(2);
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 2
stop();
Symbol 635 Button
on (release) {
if ((_root.gold == 15) || (_root.gold > 15)) {
_root.spikeyshoesgot = true;
_root.gold = _root.gold - 15;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 637 MovieClip Frame 1
stop();
Symbol 637 MovieClip Frame 2
stop();
Symbol 642 Button
on (release) {
if ((_root.gold == 25) || (_root.gold > 25)) {
_root.ironedshirtgot = true;
_root.gold = _root.gold - 25;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 644 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 2
stop();
Symbol 649 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.heavyshoesgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 651 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 2
stop();
Symbol 656 Button
on (release) {
if ((_root.gold == 25) || (_root.gold > 25)) {
_root.magicshirtgot = true;
_root.gold = _root.gold - 25;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 658 MovieClip Frame 1
stop();
Symbol 658 MovieClip Frame 2
stop();
Symbol 663 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.magicshoesgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 665 MovieClip Frame 1
stop();
Symbol 665 MovieClip Frame 2
stop();
Symbol 670 Button
on (release) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.slickshirtgot = true;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 672 MovieClip Frame 1
stop();
Symbol 672 MovieClip Frame 2
stop();
Symbol 677 Button
on (release) {
if ((_root.gold == 15) || (_root.gold > 15)) {
_root.shinyshoesgot = true;
_root.gold = _root.gold - 15;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 679 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 2
stop();
Symbol 684 Button
on (release) {
if (_root.hipotion < 100) {
if ((_root.gold == 20) || (_root.gold > 20)) {
_root.hipotion = _root.hipotion + 1;
_root.gold = _root.gold - 20;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 689 Button
on (release) {
if (_root.hiether < 100) {
if ((_root.gold == 10) || (_root.gold > 10)) {
_root.hiether = _root.hiether + 1;
_root.gold = _root.gold - 10;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 696 Button
on (release) {
if ((_root.gold == 40) || (_root.gold > 40)) {
_root.armorshirtgot = true;
_root.gold = _root.gold - 40;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 698 MovieClip Frame 1
stop();
Symbol 698 MovieClip Frame 2
stop();
Symbol 703 Button
on (release) {
if ((_root.gold == 30) || (_root.gold > 30)) {
_root.shieldshoesgot = true;
_root.gold = _root.gold - 30;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 705 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 2
stop();
Symbol 712 Button
on (release) {
if ((_root.gold == 45) || (_root.gold > 45)) {
_root.pricklyshirtgot = true;
_root.gold = _root.gold - 45;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 714 MovieClip Frame 1
stop();
Symbol 714 MovieClip Frame 2
stop();
Symbol 719 Button
on (release) {
if ((_root.gold == 35) || (_root.gold > 35)) {
_root.fuzzyshoesgot = true;
_root.gold = _root.gold - 35;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 2
stop();
Symbol 726 Button
on (release) {
if (_root.xpotion < 100) {
if ((_root.gold == 40) || (_root.gold > 40)) {
_root.xpotion = _root.xpotion + 1;
_root.gold = _root.gold - 40;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 731 Button
on (release) {
if (_root.xether < 100) {
if ((_root.gold == 100) || (_root.gold > 100)) {
_root.xether = _root.xether + 1;
_root.gold = _root.gold - 100;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
}
Symbol 737 Button
on (release) {
if ((_root.gold == 200) || (_root.gold > 200)) {
_root.megashirtgot = true;
_root.gold = _root.gold - 200;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 2
stop();
Symbol 744 Button
on (release) {
if ((_root.gold == 200) || (_root.gold > 200)) {
_root.megashoesgot = true;
_root.gold = _root.gold - 200;
_root.shop.shopmenu.buy.play();
} else {
_root.shop.shopmenu.nobuy.play();
}
}
Symbol 746 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 2
stop();
Symbol 747 MovieClip Frame 1
if (_root.shopchooser == 1) {
gotoAndStop (2);
}
if (_root.shopchooser == 2) {
gotoAndStop (3);
}
if (_root.shopchooser == 3) {
gotoAndStop (4);
}
if (_root.shopchooser == 4) {
gotoAndStop (5);
}
if (_root.shopchooser == 5) {
gotoAndStop (6);
}
Symbol 747 MovieClip Frame 2
stop();
Instance of Symbol 630 MovieClip "woodenshirtmc" in Symbol 747 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.woodenshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 637 MovieClip "spikeyshoesmc" in Symbol 747 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.spikeyshoesgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 644 MovieClip "ironedshirtmc" in Symbol 747 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.ironedshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 651 MovieClip "heavyshoesmc" in Symbol 747 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.heavyshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 747 MovieClip Frame 3
stop();
Instance of Symbol 658 MovieClip "magicshirtmc" in Symbol 747 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.magicshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 665 MovieClip "magicshoesmc" in Symbol 747 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.magicshoesgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 672 MovieClip "slickshirtmc" in Symbol 747 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.slickshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 679 MovieClip "shinyshoesmc" in Symbol 747 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.shinyshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 747 MovieClip Frame 4
stop();
Instance of Symbol 698 MovieClip "armorshirtmc" in Symbol 747 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.armorshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 705 MovieClip "shieldshoesmc" in Symbol 747 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.shieldshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 747 MovieClip Frame 5
stop();
Instance of Symbol 714 MovieClip "pricklyshirtmc" in Symbol 747 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pricklyshirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 721 MovieClip "fuzzyshoesmc" in Symbol 747 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.fuzzyshoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 747 MovieClip Frame 6
stop();
Instance of Symbol 739 MovieClip "megashirtmc" in Symbol 747 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.megashirtgot == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 746 MovieClip "megashoesmc" in Symbol 747 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.megashoesgot == true) {
this.gotoAndStop(2);
}
}
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 2
_root.menu = true;
_root.camera.xscale = 100;
_root.camera.yscale = 100;
Symbol 748 MovieClip Frame 3
stop();
Symbol 748 MovieClip Frame 30
stop();
Symbol 848 MovieClip Frame 1
operate = true;
Symbol 848 MovieClip Frame 2
stop();
Instance of Symbol 841 MovieClip in Symbol 848 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 1;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 848 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 843 MovieClip in Symbol 848 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 845 MovieClip in Symbol 848 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 848 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 848 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 848 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 849 MovieClip Frame 1
operate = true;
Symbol 849 MovieClip Frame 2
stop();
Instance of Symbol 841 MovieClip in Symbol 849 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 2;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 849 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 843 MovieClip in Symbol 849 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 845 MovieClip in Symbol 849 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 849 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 849 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 849 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 850 MovieClip Frame 1
operate = true;
Symbol 850 MovieClip Frame 2
stop();
Instance of Symbol 841 MovieClip in Symbol 850 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 3;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 850 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 843 MovieClip in Symbol 850 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 845 MovieClip in Symbol 850 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 850 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 850 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 850 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 851 MovieClip Frame 1
operate = true;
Symbol 851 MovieClip Frame 2
stop();
Instance of Symbol 841 MovieClip in Symbol 851 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 4;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 851 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 843 MovieClip in Symbol 851 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 845 MovieClip in Symbol 851 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 851 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 851 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 851 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 852 MovieClip Frame 1
operate = true;
Symbol 852 MovieClip Frame 2
stop();
Instance of Symbol 841 MovieClip in Symbol 852 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.shopchooser = 5;
_root.menu = true;
nextFrame();
operate = false;
_root.showshop = true;
_global.battlecounter = 0;
}
}
Symbol 852 MovieClip Frame 3
stop();
_root.showshop = false;
Instance of Symbol 843 MovieClip in Symbol 852 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 845 MovieClip in Symbol 852 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 852 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 852 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Instance of Symbol 847 MovieClip in Symbol 852 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.shadow)) {
_root.shopspace1.gotoAndPlay(1);
_root.shopspace2.gotoAndPlay(1);
_root.shopspace3.gotoAndPlay(1);
_root.shopspace4.gotoAndPlay(1);
_root.shopspace5.gotoAndPlay(1);
}
}
Symbol 873 MovieClip Frame 7
_global.battlecounter = _global.battlecounter + 1;
Symbol 873 MovieClip Frame 15
_global.battlecounter = _global.battlecounter + 1;
Symbol 890 MovieClip Frame 5
_global.battlecounter = _global.battlecounter + 1;
Symbol 890 MovieClip Frame 12
_global.battlecounter = _global.battlecounter + 1;
Symbol 907 MovieClip Frame 8
_global.battlecounter = _global.battlecounter + 1;
Symbol 907 MovieClip Frame 14
_global.battlecounter = _global.battlecounter + 1;
Symbol 935 MovieClip Frame 1
_root.menu = true;
Symbol 935 MovieClip Frame 40
_root.guy.gotoAndStop(1);
_root.menu = false;
Symbol 943 MovieClip Frame 6
_global.battlecounter = _global.battlecounter + 1;
Symbol 950 MovieClip Frame 6
_global.battlecounter = _global.battlecounter + 1;
Symbol 951 MovieClip Frame 1
stop();
_root.menu = false;
Instance of Symbol 873 MovieClip in Symbol 951 MovieClip Frame 2
/* no clip actions */
Symbol 951 MovieClip Frame 4
gotoAndStop (1);
Symbol 951 MovieClip Frame 5
stop();
Symbol 951 MovieClip Frame 8
gotoAndStop (5);
Instance of Symbol 890 MovieClip in Symbol 951 MovieClip Frame 8
/* no clip actions */
Symbol 951 MovieClip Frame 9
stop();
Symbol 951 MovieClip Frame 12
gotoAndStop (9);
Symbol 951 MovieClip Frame 13
stop();
Symbol 951 MovieClip Frame 16
gotoAndStop (13);
Symbol 951 MovieClip Frame 17
stop();
Symbol 951 MovieClip Frame 21
stop();
_root.menu = false;
Symbol 951 MovieClip Frame 24
gotoAndStop (1);
Symbol 951 MovieClip Frame 25
stop();
Symbol 951 MovieClip Frame 28
gotoAndStop (5);
Symbol 951 MovieClip Frame 29
stop();
Symbol 951 MovieClip Frame 32
gotoAndStop (9);
Symbol 951 MovieClip Frame 33
stop();
Symbol 951 MovieClip Frame 36
gotoAndStop (13);
Symbol 955 Button
on (release) {
gotoAndPlay (1);
_root.menu = false;
_root.shopspace1.gotoAndStop(3);
_root.shopspace2.gotoAndStop(3);
_root.shopspace3.gotoAndStop(3);
_root.shopspace4.gotoAndStop(3);
_root.shopspace5.gotoAndStop(3);
_root.showshop = false;
}
Symbol 972 Button
on (release) {
gotoAndPlay (1);
_root.menu = false;
_root.shopspace1.gotoAndStop(3);
_root.shopspace2.gotoAndStop(3);
_root.shopspace3.gotoAndStop(3);
_root.shopspace4.gotoAndStop(3);
_root.shopspace5.gotoAndStop(3);
_root.showshop = false;
}
Symbol 973 MovieClip Frame 1
if (_root.showshop == true) {
gotoAndStop (3);
}
Symbol 973 MovieClip Frame 2
gotoAndPlay (1);
Symbol 973 MovieClip Frame 3
stop();
Symbol 973 MovieClip Frame 30
stop();
Symbol 982 Button
on (release) {
_root.goldstats.gotoAndStop(1);
}
Symbol 984 MovieClip Frame 2
shopgold = 30;
stop();
Symbol 985 MovieClip Frame 1
stop();
Symbol 985 MovieClip Frame 2
stop();
Symbol 987 MovieClip Frame 1
onEnterFrame = function () {
Mcamera = new Color(this);
parent = new Color(_parent);
parent.setTransform(Mcamera.getTransform());
this._visible = false;
_parent._x = ((-(this._x - (this._width / 2))) * Stage.width) / this._width;
_parent._y = ((-(this._y - (this._height / 2))) * Stage.height) / this._height;
_parent._xscale = (Stage.width / this._width) * 100;
_parent._yscale = (Stage.height / this._height) * 100;
};
onUnload = function () {
myColorTransform = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
parent.setTransform(myColorTransform);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
};
stop();
Symbol 989 MovieClip Frame 21
stop();
Symbol 992 MovieClip Frame 1
stop();
Symbol 992 MovieClip Frame 2
stop();
Symbol 997 MovieClip Frame 1
stop();
Symbol 997 MovieClip Frame 2
stop();
Instance of Symbol 991 MovieClip in Symbol 997 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 991 MovieClip in Symbol 997 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 991 MovieClip in Symbol 997 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 991 MovieClip in Symbol 997 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.mapwizard.mapwizardtouch.gotoAndStop(1);
}
}
Instance of Symbol 992 MovieClip "mapwizardtouch" in Symbol 997 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hittest(_root.shadow)) {
_root.menu = true;
_root.wiztalk = true;
}
}
Instance of Symbol 996 MovieClip in Symbol 997 MovieClip Frame 2
/* no clip actions */
Symbol 999 MovieClip Frame 2
if (_root.stones == 50) {
_root.mapwizard.gotoAndStop(2);
}
Symbol 1006 Button
on (release) {
play();
}
Symbol 1011 Button
on (release) {
gotoAndPlay (1);
_root.menu = false;
_root.wiztalk = false;
_root.mapwizard.mapwizardtouch.gotoAndStop(2);
_root.mapmusic.play();
}
Symbol 1017 MovieClip Frame 1
if (_root.wiztalk == true) {
gotoAndStop (3);
_root.wiztalk = false;
}
Symbol 1017 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1017 MovieClip Frame 3
stop();
_root.mapmusic.gotoAndStop(1);
Symbol 1017 MovieClip Frame 420
gotoAndPlay (1);
_root.mapmusic.play();
_root.gotoAndStop("wizardbattle");
_root.menu = false;
_root.wiztalk = false;
_root.mapwizard.mapwizardtouch.gotoAndStop(2);
Symbol 1018 MovieClip Frame 1
menumagicattack = _root.magicattack;
menuattack = _root.attack;
Symbol 1026 Button
on (release) {
_root.menuscreen.stonetracker.gotoAndStop(2);
}
Symbol 1031 Button
on (release) {
gotoAndStop (1);
}
Symbol 1045 MovieClip Frame 1
stop();
Symbol 1045 MovieClip Frame 2
stop();
Symbol 1051 Button
on (release) {
gotoAndStop (2);
}
Symbol 1056 Button
on (release) {
gotoAndStop (1);
}
Symbol 1057 MovieClip Frame 1
stop();
_root.mapmusic.play();
Symbol 1057 MovieClip Frame 2
stop();
_root.mapmusic.gotoAndStop(1);
Symbol 1079 Button
on (release) {
_root.menuscreen.gotoAndStop("equipment");
}
Symbol 1083 Button
on (release) {
_root.menuscreen.gotoAndStop("magic");
}
Symbol 1087 Button
on (release) {
_root.menuscreen.gotoAndStop("items");
}
Symbol 1091 Button
on (release) {
_root.menuscreen.gotoAndStop("save");
}
Symbol 1095 Button
on (release) {
_root.menuscreen.gotoAndStop("quit");
}
Symbol 1099 Button
on (release) {
_root.menuscreen.gotoAndStop(1);
}
Symbol 1102 MovieClip Frame 1
hp = (_root.hp + "/") + _root.hptotal;
Symbol 1104 MovieClip Frame 1
mp = (_root.mp + "/") + _root.mptotal;
Symbol 1106 MovieClip Frame 1
level = _root.level;
Symbol 1109 MovieClip Frame 1
stones = _root.stones;
Symbol 1111 MovieClip Frame 1
exp = _root.exp;
Symbol 1113 MovieClip Frame 1
menuattack = _root.attack;
Symbol 1115 MovieClip Frame 1
menumagicattack = _root.magicattack;
Symbol 1122 Button
on (release) {
_quality = "LOW";
}
Symbol 1126 Button
on (release) {
_quality = "HIGH";
}
Symbol 1131 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 1137 MovieClip Frame 1
gold = _root.gold;
Symbol 1137 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1145 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 1151 Button
on (release) {
_root.menuscreen.gotoAndStop("main");
}
Symbol 1159 Button
on (release) {
_root.menuscreen.gotoAndStop("main");
}
Symbol 1176 MovieClip Frame 1
stop();
Symbol 1192 Button
on (release) {
if (_root.hp == _root.hptotal) {
} else if ((_root.mp == 4) || (_root.mp > 4)) {
_root.mp = _root.mp - 4;
_root.hp = _root.hp + 10;
_root.menuscreen.magicmenu.cureinmenu.play();
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
if (_root.mp < 0) {
_root.mp = 0;
}
}
}
Symbol 1212 Button
on (release) {
if (_root.hp == _root.hptotal) {
} else if ((_root.mp == 8) || (_root.mp > 8)) {
_root.mp = _root.mp - 8;
_root.hp = _root.hp + 30;
_root.menuscreen.magicmenu.cureinmenu.play();
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
if (_root.mp < 0) {
_root.mp = 0;
}
}
}
Symbol 1232 Button
on (release) {
if (_root.hp == _root.hptotal) {
} else if ((_root.mp == 12) || (_root.mp > 12)) {
_root.mp = _root.mp - 12;
_root.hp = _root.hptotal;
_root.menuscreen.magicmenu.cureinmenu.play();
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
if (_root.mp < 0) {
_root.mp = 0;
}
}
}
Symbol 1233 MovieClip Frame 1
stop();
Symbol 1233 MovieClip Frame 2
stop();
Symbol 1233 MovieClip Frame 3
stop();
Symbol 1233 MovieClip Frame 4
stop();
Symbol 1233 MovieClip Frame 5
stop();
Symbol 1233 MovieClip Frame 6
stop();
Symbol 1233 MovieClip Frame 7
stop();
Symbol 1233 MovieClip Frame 8
stop();
Symbol 1233 MovieClip Frame 9
stop();
Symbol 1233 MovieClip Frame 10
stop();
Symbol 1233 MovieClip Frame 11
stop();
Symbol 1233 MovieClip Frame 12
stop();
Symbol 1233 MovieClip Frame 13
stop();
Symbol 1249 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 2
stop();
Symbol 1249 MovieClip Frame 3
stop();
Symbol 1249 MovieClip Frame 4
stop();
Symbol 1249 MovieClip Frame 5
stop();
Symbol 1249 MovieClip Frame 6
stop();
Symbol 1249 MovieClip Frame 7
stop();
Symbol 1249 MovieClip Frame 8
stop();
Symbol 1259 MovieClip Frame 1
stop();
Symbol 1259 MovieClip Frame 2
stop();
Symbol 1259 MovieClip Frame 3
stop();
Symbol 1259 MovieClip Frame 4
stop();
Symbol 1259 MovieClip Frame 5
stop();
Symbol 1259 MovieClip Frame 6
stop();
Symbol 1259 MovieClip Frame 7
stop();
Symbol 1259 MovieClip Frame 8
stop();
Symbol 1263 Button
on (release) {
if (_root.normalshirt == false) {
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("normal");
_root.normalshirt = true;
}
}
}
}
Symbol 1264 Button
on (release) {
if (_root.normalshoes == false) {
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("normal");
_root.normalshoes = true;
}
}
}
}
Symbol 1268 Button
on (release) {
if (_root.armorshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("armor");
_root.armorshirt = true;
_root.hp = _root.hp + 30;
_root.hptotal = _root.hptotal + 30;
}
}
}
}
Symbol 1269 MovieClip Frame 1
stop();
Symbol 1269 MovieClip Frame 2
stop();
Symbol 1273 Button
on (release) {
if (_root.woodenshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("wooden");
_root.woodenshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
}
}
}
}
Symbol 1274 MovieClip Frame 1
stop();
Symbol 1274 MovieClip Frame 2
stop();
Symbol 1278 Button
on (release) {
if (_root.hp > 5) {
if (_root.magicshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 35) || (_root.hp < 35)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("magic");
_root.magicshirt = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
}
}
}
Symbol 1279 MovieClip Frame 1
stop();
Symbol 1279 MovieClip Frame 2
stop();
Symbol 1283 Button
on (release) {
if (_root.pricklyshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("prickly");
_root.pricklyshirt = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.attack = _root.attack + 4;
}
}
}
}
Symbol 1284 MovieClip Frame 1
stop();
Symbol 1284 MovieClip Frame 2
stop();
Symbol 1288 Button
on (release) {
if (_root.slickshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("slick");
_root.slickshirt = true;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
}
}
}
}
Symbol 1289 MovieClip Frame 1
stop();
Symbol 1289 MovieClip Frame 2
stop();
Symbol 1293 Button
on (release) {
if (_root.mp > 5) {
if (_root.ironedshirt == false) {
if (_root.normalshirt == true) {
_root.normalshirt = false;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
if (_root.megashirt == true) {
if (((_root.hp == 20) || (_root.hp < 20)) || (_root.mp < 20)) {
} else {
_root.megashirt = false;
_root.attack = _root.attack - 5;
_root.magicattack = _root.magicattack - 5;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
_root.menuscreen.bluebox.gotoAndStop("ironed");
_root.ironedshirt = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
}
}
}
}
}
Symbol 1294 MovieClip Frame 1
stop();
Symbol 1294 MovieClip Frame 2
stop();
Symbol 1298 Button
on (release) {
if (_root.megashirt == false) {
_root.menuscreen.bluebox.gotoAndStop("mega");
if (_root.normalshirt == true) {
_root.normalshirt = false;
}
if (_root.woodenshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.woodenshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
}
}
if (_root.ironedshirt == true) {
if ((_root.hp == 20) || (_root.hp < 20)) {
} else {
_root.ironedshirt = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
}
if (_root.magicshirt == true) {
if (_root.mp < 20) {
} else {
_root.magicshirt = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp - 20;
_root.mptotal = _root.mptotal - 20;
}
}
if (_root.slickshirt == true) {
if (_root.mp < 10) {
} else {
_root.slickshirt = false;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
}
}
if (_root.armorshirt == true) {
if ((_root.hp == 30) || (_root.hp < 30)) {
} else {
_root.armorshirt = false;
_root.hp = _root.hp - 30;
_root.hptotal = _root.hptotal - 30;
}
}
if (_root.pricklyshirt == true) {
if ((_root.hp == 10) || (_root.hp < 10)) {
} else {
_root.pricklyshirt = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.attack = _root.attack - 4;
}
}
_root.megashirt = true;
_root.attack = _root.attack + 5;
_root.magicattack = _root.magicattack + 5;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 20;
_root.mptotal = _root.mptotal + 20;
}
}
Symbol 1299 MovieClip Frame 1
stop();
Symbol 1299 MovieClip Frame 2
stop();
Symbol 1303 Button
on (release) {
if (_root.spikeyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("spikey");
_root.spikeyshoes = true;
_root.attack = _root.attack + 2;
}
}
}
}
Symbol 1304 MovieClip Frame 1
stop();
Symbol 1304 MovieClip Frame 2
stop();
Symbol 1308 Button
on (release) {
if (_root.heavyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("heavy");
_root.heavyshoes = true;
_root.magicattack = _root.magicattack - 2;
_root.attack = _root.attack + 4;
}
}
}
}
Symbol 1309 MovieClip Frame 1
stop();
Symbol 1309 MovieClip Frame 2
stop();
Symbol 1310 Button
on (release) {
if (_root.magicshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("magic");
_root.magicshoes = true;
_root.attack = _root.attack - 2;
_root.magicattack = _root.magicattack + 4;
}
}
}
}
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1311 MovieClip Frame 2
stop();
Symbol 1315 Button
on (release) {
if (_root.shinyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shiny");
_root.shinyshoes = true;
_root.magicattack = _root.magicattack + 2;
}
}
}
}
Symbol 1316 MovieClip Frame 1
stop();
Symbol 1316 MovieClip Frame 2
stop();
Symbol 1320 Button
on (release) {
if (_root.shieldshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("shield");
_root.shieldshoes = true;
_root.hp = _root.hp + 10;
_root.hptotal = _root.hptotal + 10;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
}
}
}
}
Symbol 1321 MovieClip Frame 1
stop();
Symbol 1321 MovieClip Frame 2
stop();
Symbol 1325 Button
on (release) {
if ((_root.hp < 5) || (_root.mp < 5)) {
} else if (_root.fuzzyshoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
}
if (_root.megashoes == true) {
if (((_root.hp < 20) || (_root.hp == 20)) || (_root.mp < 10)) {
} else {
_root.megashoes = false;
_root.hp = _root.hp - 20;
_root.hptotal = _root.hptotal - 20;
_root.mp = _root.mp - 10;
_root.mptotal = _root.mptotal - 10;
_root.attack = _root.attack - 4;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("fuzzy");
_root.fuzzyshoes = true;
_root.hp = _root.hp - 5;
_root.hptotal = _root.hptotal - 5;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.attack = _root.attack + 3;
_root.magicattack = _root.magicattack + 3;
}
}
}
}
Symbol 1326 MovieClip Frame 1
stop();
Symbol 1326 MovieClip Frame 2
stop();
Symbol 1327 Button
on (release) {
if (_root.megashoes == false) {
if (_root.normalshoes == true) {
_root.normalshoes = false;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.spikeyshoes == true) {
_root.spikeyshoes = false;
_root.attack = _root.attack - 2;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.heavyshoes == true) {
_root.heavyshoes = false;
_root.magicattack = _root.magicattack + 2;
_root.attack = _root.attack - 4;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.magicshoes == true) {
_root.magicshoes = false;
_root.attack = _root.attack + 2;
_root.magicattack = _root.magicattack - 4;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shinyshoes == true) {
_root.shinyshoes = false;
_root.magicattack = _root.magicattack - 2;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
if (_root.shieldshoes == true) {
if (((_root.hp < 10) || (_root.hp == 10)) || (_root.mp < 5)) {
} else {
_root.shieldshoes = false;
_root.hp = _root.hp - 10;
_root.hptotal = _root.hptotal - 10;
_root.mp = _root.mp - 5;
_root.mptotal = _root.mptotal - 5;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
}
if (_root.fuzzyshoes == true) {
_root.fuzzyshoes = false;
_root.hp = _root.hp + 5;
_root.hptotal = _root.hptotal + 5;
_root.mp = _root.mp + 5;
_root.mptotal = _root.mptotal + 5;
_root.attack = _root.attack - 3;
_root.magicattack = _root.magicattack - 3;
_root.menuscreen.redbox.gotoAndStop("mega");
_root.megashoes = true;
_root.hp = _root.hp + 20;
_root.hptotal = _root.hptotal + 20;
_root.mp = _root.mp + 10;
_root.mptotal = _root.mptotal + 10;
_root.attack = _root.attack + 4;
_root.magicattack = _root.magicattack + 4;
}
}
}
Symbol 1328 MovieClip Frame 1
stop();
Symbol 1328 MovieClip Frame 2
stop();
Symbol 1343 Button
on (release) {
if (_root.potion > 0) {
_root.potion = _root.potion - 1;
_root.hp = _root.hp + 10;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
_root.menuscreen.cureinmenu.gotoAndPlay(1);
}
}
Symbol 1350 Button
on (release) {
if (_root.hipotion > 0) {
_root.hipotion = _root.hipotion - 1;
_root.hp = _root.hp + 30;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
_root.menuscreen.cureinmenu.gotoAndPlay(1);
}
}
Symbol 1357 Button
on (release) {
if (_root.xpotion > 0) {
_root.xpotion = _root.xpotion - 1;
_root.hp = _root.hptotal;
_root.menuscreen.cureinmenu.gotoAndPlay(1);
}
}
Symbol 1365 Button
on (release) {
if (_root.ether > 0) {
_root.ether = _root.ether - 1;
_root.mp = _root.mp + 10;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
_root.menuscreen.cureinmenu2.gotoAndPlay(1);
}
}
Symbol 1372 Button
on (release) {
if (_root.hiether > 0) {
_root.hiether = _root.hiether - 1;
_root.mp = _root.mp + 30;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
_root.menuscreen.cureinmenu2.gotoAndPlay(1);
}
}
Symbol 1379 Button
on (release) {
if (_root.xether > 0) {
_root.xether = _root.xether - 1;
_root.mp = _root.mptotal;
_root.menuscreen.cureinmenu2.gotoAndPlay(1);
}
}
Symbol 1381 MovieClip Frame 1
potion = _root.potion;
Symbol 1381 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1383 MovieClip Frame 1
hipotion = _root.hipotion;
Symbol 1383 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1385 MovieClip Frame 1
xpotion = _root.xpotion;
Symbol 1385 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1387 MovieClip Frame 1
ether = _root.ether;
Symbol 1387 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1389 MovieClip Frame 1
hiether = _root.hiether;
Symbol 1389 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1391 MovieClip Frame 1
xether = _root.xether;
Symbol 1391 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1396 Button
on (release) {
_root.menuscreen.gotoAndStop("main");
_root.pos = sharedobject.getLocal("RPGDATA");
_root.pos.data.shadowx = _root.shadow._x;
_root.pos.data.shadowy = _root.shadow._y;
_root.pos.data.level = _root.level;
_root.pos.data.hp = _root.hp;
_root.pos.data.hptotal = _root.hptotal;
_root.pos.data.mp = _root.mp;
_root.pos.data.mptotal = _root.mptotal;
_root.pos.data.attack = _root.attack;
_root.pos.data.magicattack = _root.magicattack;
_root.pos.data.exp = _root.exp;
_root.pos.data.gold = _root.gold;
_root.pos.data.stones = _root.stones;
_root.pos.data.potion = _root.potion;
_root.pos.data.hipotion = _root.hipotion;
_root.pos.data.xpotion = _root.xpotion;
_root.pos.data.ether = _root.ether;
_root.pos.data.hiether = _root.hiether;
_root.pos.data.xether = _root.xether;
_root.pos.data.normalshirt = _root.normalshirt;
_root.pos.data.woodenshirt = _root.woodenshirt;
_root.pos.data.ironedshirt = _root.ironedshirt;
_root.pos.data.magicshirt = _root.magicshirt;
_root.pos.data.armorshirt = _root.armorshirt;
_root.pos.data.pricklyshirt = _root.pricklyshirt;
_root.pos.data.megashirt = _root.megashirt;
_root.pos.data.slickshirt = _root.slickshirt;
_root.pos.data.normalshirtgot = _root.normalshirtgot;
_root.pos.data.woodenshirtgot = _root.woodenshirtgot;
_root.pos.data.ironedshirtgot = _root.ironedshirtgot;
_root.pos.data.magicshirtgot = _root.magicshirtgot;
_root.pos.data.armorshirtgot = _root.armorshirtgot;
_root.pos.data.pricklyshirtgot = _root.pricklyshirtgot;
_root.pos.data.megashirtgot = _root.megashirtgot;
_root.pos.data.slickshirtgot = _root.slickshirtgot;
_root.pos.data.normalshoes = _root.normalshoes;
_root.pos.data.spikeyshoes = _root.spikeyshoes;
_root.pos.data.heavyshoes = _root.heavyshoes;
_root.pos.data.magicshoes = _root.magicshoes;
_root.pos.data.shinyshoes = _root.shinyshoes;
_root.pos.data.shieldshoes = _root.shieldshoes;
_root.pos.data.fuzzyshoes = _root.fuzzyshoes;
_root.pos.data.megashoes = _root.megashoes;
_root.pos.data.normalshoesgot = _root.normalshoesgot;
_root.pos.data.spikeyshoesgot = _root.spikeyshoesgot;
_root.pos.data.heavyshoesgot = _root.heavyshoesgot;
_root.pos.data.magicshoesgot = _root.magicshoesgot;
_root.pos.data.shinyshoesgot = _root.shinyshoesgot;
_root.pos.data.shieldshoesgot = _root.shieldshoesgot;
_root.pos.data.fuzzyshoesgot = _root.fuzzyshoesgot;
_root.pos.data.megashoesgot = _root.megashoesgot;
_root.pos.data.stone1 = _root.stone1;
_root.pos.data.stone2 = _root.stone2;
_root.pos.data.stone3 = _root.stone3;
_root.pos.data.stone4 = _root.stone4;
_root.pos.data.stone5 = _root.stone5;
_root.pos.data.stone6 = _root.stone6;
_root.pos.data.stone7 = _root.stone7;
_root.pos.data.stone8 = _root.stone8;
_root.pos.data.stone9 = _root.stone9;
_root.pos.data.stone10 = _root.stone10;
_root.pos.data.stone11 = _root.stone11;
_root.pos.data.stone12 = _root.stone12;
_root.pos.data.stone13 = _root.stone13;
_root.pos.data.stone14 = _root.stone14;
_root.pos.data.stone15 = _root.stone15;
_root.pos.data.stone16 = _root.stone16;
_root.pos.data.stone17 = _root.stone17;
_root.pos.data.stone18 = _root.stone18;
_root.pos.data.stone19 = _root.stone19;
_root.pos.data.stone20 = _root.stone20;
_root.pos.data.stone21 = _root.stone21;
_root.pos.data.stone22 = _root.stone22;
_root.pos.data.stone23 = _root.stone23;
_root.pos.data.stone24 = _root.stone24;
_root.pos.data.stone25 = _root.stone25;
_root.pos.data.stone26 = _root.stone26;
_root.pos.data.stone27 = _root.stone27;
_root.pos.data.stone28 = _root.stone28;
_root.pos.data.stone29 = _root.stone29;
_root.pos.data.stone30 = _root.stone30;
_root.pos.data.stone31 = _root.stone31;
_root.pos.data.stone32 = _root.stone32;
_root.pos.data.stone33 = _root.stone33;
_root.pos.data.stone34 = _root.stone34;
_root.pos.data.stone35 = _root.stone35;
_root.pos.data.stone36 = _root.stone36;
_root.pos.data.stone37 = _root.stone37;
_root.pos.data.stone38 = _root.stone38;
_root.pos.data.stone39 = _root.stone39;
_root.pos.data.stone40 = _root.stone40;
_root.pos.data.stone41 = _root.stone41;
_root.pos.data.stone42 = _root.stone42;
_root.pos.data.stone43 = _root.stone43;
_root.pos.data.stone44 = _root.stone44;
_root.pos.data.stone45 = _root.stone45;
_root.pos.data.stone46 = _root.stone46;
_root.pos.data.stone47 = _root.stone47;
_root.pos.data.stone48 = _root.stone48;
_root.pos.data.stone49 = _root.stone49;
_root.pos.data.stone50 = _root.stone50;
_root.pos.data.foreststones = _root.foreststones;
_root.pos.data.cliffsstones = _root.cliffsstones;
_root.pos.data.flowerstones = _root.flowerstones;
_root.pos.data.junglestones = _root.junglestones;
_root.pos.data.desertstones = _root.desertstones;
_root.pos.data.swampstones = _root.swampstones;
_root.pos.data.rockystones = _root.rockystones;
_root.pos.data.winterlandstones = _root.winterlandstones;
_root.pos.data.cabinstones = _root.cabinstones;
_root.pos.data.oasisstones = _root.oasisstones;
}
Symbol 1398 MovieClip Frame 1
stop();
_root.menu = false;
Symbol 1398 MovieClip Frame 2
stop();
_root.menu = true;
Instance of Symbol 1133 MovieClip in Symbol 1398 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(8) && (_root.menu == true)) {
gotoAndStop (1);
_root.menu = false;
}
}
Symbol 1398 MovieClip Frame 3
stop();
_root.menu = true;
Symbol 1398 MovieClip Frame 4
stop();
_root.menu = true;
Instance of Symbol 1233 MovieClip "magicmenu" in Symbol 1398 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop("blizzard");
} else if (_root.level == 2) {
this.gotoAndStop("cure");
} else if (_root.level == 3) {
this.gotoAndStop("blizzara");
} else if (_root.level == 4) {
this.gotoAndStop("cura");
} else if (_root.level == 5) {
this.gotoAndStop("blizzaga");
} else if ((_root.level == 6) || (_root.level > 6)) {
this.gotoAndStop("curaga");
}
}
Symbol 1398 MovieClip Frame 5
stop();
_root.menu = true;
if (_root.woodenshirtgot == true) {
_root.menuscreen.woodenshirtmc.gotoAndStop(2);
}
if (_root.ironedshirtgot == true) {
_root.menuscreen.ironedshirtmc.gotoAndStop(2);
}
if (_root.magicshirtgot == true) {
_root.menuscreen.magicshirtmc.gotoAndStop(2);
}
if (_root.slickshirtgot == true) {
_root.menuscreen.slickshirtmc.gotoAndStop(2);
}
if (_root.armorshirtgot == true) {
_root.menuscreen.armorshirtmc.gotoAndStop(2);
}
if (_root.pricklyshirtgot == true) {
_root.menuscreen.pricklyshirtmc.gotoAndStop(2);
}
if (_root.megashirtgot == true) {
_root.menuscreen.megashirtmc.gotoAndStop(2);
}
if (_root.spikeyshoesgot == true) {
_root.menuscreen.spikeyshoesmc.gotoAndStop(2);
}
if (_root.heavyshoesgot == true) {
_root.menuscreen.heavyshoesmc.gotoAndStop(2);
}
if (_root.magicshoesgot == true) {
_root.menuscreen.magicshoesmc.gotoAndStop(2);
}
if (_root.shinyshoesgot == true) {
_root.menuscreen.shinyshoesmc.gotoAndStop(2);
}
if (_root.shieldshoesgot == true) {
_root.menuscreen.shieldshoesmc.gotoAndStop(2);
}
if (_root.fuzzyshoesgot == true) {
_root.menuscreen.fuzzyshoesmc.gotoAndStop(2);
}
if (_root.megashoesgot == true) {
_root.menuscreen.megashoesmc.gotoAndStop(2);
}
if (_root.normalshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("normal");
}
if (_root.woodenshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("wooden");
}
if (_root.ironedshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("ironed");
}
if (_root.magicshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("magic");
}
if (_root.slickshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("slick");
}
if (_root.armorshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("armor");
}
if (_root.pricklyshirt == true) {
_root.menuscreen.bluebox.gotoAndStop("prickly");
}
if (_root.megashirt == true) {
_root.menuscreen.bluebox.gotoAndStop("mega");
}
if (_root.normalshoes == true) {
_root.menuscreen.redbox.gotoAndStop("normal");
}
if (_root.spikeyshoes == true) {
_root.menuscreen.redbox.gotoAndStop("spikey");
}
if (_root.heavyshoes == true) {
_root.menuscreen.redbox.gotoAndStop("heavy");
}
if (_root.magicshoes == true) {
_root.menuscreen.redbox.gotoAndStop("magic");
}
if (_root.slickshoes == true) {
_root.menuscreen.redbox.gotoAndStop("slick");
}
if (_root.shieldshoes == true) {
_root.menuscreen.redbox.gotoAndStop("shield");
}
if (_root.fuzzyshoes == true) {
_root.menuscreen.redbox.gotoAndStop("fuzzy");
}
if (_root.megashoes == true) {
_root.menuscreen.redbox.gotoAndStop("mega");
}
Symbol 1398 MovieClip Frame 6
stop();
_root.menu = true;
Symbol 1398 MovieClip Frame 7
stop();
_root.menu = true;
Symbol 1400 MovieClip Frame 1
if (_root.critical == false) {
_root.attack = _root.attack - 1;
_root.critical = nothing;
}
Symbol 1400 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1402 MovieClip Frame 1
_root.dead = false;
Symbol 1402 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1403 MovieClip Frame 1
if (_root.shadow._y > _root.wiztrees1._y) {
_root.wiztrees1._visible = 0;
_root.bwiztrees1._visible = 1;
} else {
_root.wiztrees1._visible = 1;
_root.bwiztrees1._visible = 0;
}
if (_root.shadow._y > _root.wiztrees2._y) {
_root.wiztrees2._visible = 0;
_root.bwiztrees2._visible = 1;
} else {
_root.wiztrees2._visible = 1;
_root.bwiztrees2._visible = 0;
}
if (_root.shadow._y > _root.wiztrees3._y) {
_root.wiztrees3._visible = 0;
_root.bwiztrees3._visible = 1;
} else {
_root.wiztrees3._visible = 1;
_root.bwiztrees3._visible = 0;
}
if (_root.shadow._y > _root.wiztrees4._y) {
_root.wiztrees4._visible = 0;
_root.bwiztrees4._visible = 1;
} else {
_root.wiztrees4._visible = 1;
_root.bwiztrees4._visible = 0;
}
if (_root.shadow._y > _root.wiztrees5._y) {
_root.wiztrees5._visible = 0;
_root.bwiztrees5._visible = 1;
} else {
_root.wiztrees5._visible = 1;
_root.bwiztrees5._visible = 0;
}
if (_root.shadow._y > _root.wiztrees6._y) {
_root.wiztrees6._visible = 0;
_root.bwiztrees6._visible = 1;
} else {
_root.wiztrees6._visible = 1;
_root.bwiztrees6._visible = 0;
}
if (_root.shadow._y > _root.wiztrees7._y) {
_root.wiztrees7._visible = 0;
_root.bwiztrees7._visible = 1;
} else {
_root.wiztrees7._visible = 1;
_root.bwiztrees7._visible = 0;
}
if (_root.shadow._y > _root.rock1._y) {
_root.rock1._visible = 0;
_root.brock1._visible = 1;
} else {
_root.rock1._visible = 1;
_root.brock1._visible = 0;
}
if (_root.shadow._y > _root.rock2._y) {
_root.rock2._visible = 0;
_root.brock2._visible = 1;
} else {
_root.rock2._visible = 1;
_root.brock2._visible = 0;
}
if (_root.shadow._y > _root.rock3._y) {
_root.rock3._visible = 0;
_root.brock3._visible = 1;
} else {
_root.rock3._visible = 1;
_root.brock3._visible = 0;
}
if (_root.shadow._y > _root.rock4._y) {
_root.rock4._visible = 0;
_root.brock4._visible = 1;
} else {
_root.rock4._visible = 1;
_root.brock4._visible = 0;
}
if (_root.shadow._y > _root.treewierd._y) {
_root.treewierd._visible = 0;
_root.btreewierd._visible = 1;
} else {
_root.treewierd._visible = 1;
_root.btreewierd._visible = 0;
}
if (_root.shadow._y > _root.house1._y) {
_root.house1._visible = 0;
_root.bhouse1._visible = 1;
} else {
_root.house1._visible = 1;
_root.bhouse1._visible = 0;
}
if (_root.shadow._y > _root.house2._y) {
_root.house2._visible = 0;
_root.bhouse2._visible = 1;
} else {
_root.house2._visible = 1;
_root.bhouse2._visible = 0;
}
if (_root.shadow._y > _root.house3._y) {
_root.house3._visible = 0;
_root.bhouse3._visible = 1;
} else {
_root.house3._visible = 1;
_root.bhouse3._visible = 0;
}
if (_root.shadow._y > _root.house4._y) {
_root.house4._visible = 0;
_root.bhouse4._visible = 1;
} else {
_root.house4._visible = 1;
_root.bhouse4._visible = 0;
}
if (_root.shadow._y > _root.house5._y) {
_root.house5._visible = 0;
_root.bhouse5._visible = 1;
} else {
_root.house5._visible = 1;
_root.bhouse5._visible = 0;
}
if (_root.shadow._y > _root.house6._y) {
_root.house6._visible = 0;
_root.bhouse6._visible = 1;
} else {
_root.house6._visible = 1;
_root.bhouse6._visible = 0;
}
if (_root.shadow._y > _root.house7._y) {
_root.house7._visible = 0;
_root.bhouse7._visible = 1;
} else {
_root.house7._visible = 1;
_root.bhouse7._visible = 0;
}
if (_root.shadow._y > _root.house8._y) {
_root.house8._visible = 0;
_root.bhouse8._visible = 1;
} else {
_root.house8._visible = 1;
_root.bhouse8._visible = 0;
}
if (_root.shadow._y > _root.desert1._y) {
_root.desert1._visible = 0;
_root.bdesert1._visible = 1;
} else {
_root.desert1._visible = 1;
_root.bdesert1._visible = 0;
}
if (_root.shadow._y > _root.desert2._y) {
_root.desert2._visible = 0;
_root.bdesert2._visible = 1;
} else {
_root.desert2._visible = 1;
_root.bdesert2._visible = 0;
}
if (_root.shadow._y > _root.desert3._y) {
_root.desert3._visible = 0;
_root.bdesert3._visible = 1;
} else {
_root.desert3._visible = 1;
_root.bdesert3._visible = 0;
}
if (_root.shadow._y > _root.desert4._y) {
_root.desert4._visible = 0;
_root.bdesert4._visible = 1;
} else {
_root.desert4._visible = 1;
_root.bdesert4._visible = 0;
}
if (_root.shadow._y > _root.desert5._y) {
_root.desert5._visible = 0;
_root.bdesert5._visible = 1;
} else {
_root.desert5._visible = 1;
_root.bdesert5._visible = 0;
}
if (_root.shadow._y > _root.desert6._y) {
_root.desert6._visible = 0;
_root.bdesert6._visible = 1;
} else {
_root.desert6._visible = 1;
_root.bdesert6._visible = 0;
}
if (_root.shadow._y > _root.desert7._y) {
_root.desert7._visible = 0;
_root.bdesert7._visible = 1;
} else {
_root.desert7._visible = 1;
_root.bdesert7._visible = 0;
}
if (_root.shadow._y > _root.desert8._y) {
_root.desert8._visible = 0;
_root.bdesert8._visible = 1;
} else {
_root.desert8._visible = 1;
_root.bdesert8._visible = 0;
}
if (_root.shadow._y > _root.rocky1._y) {
_root.rocky1._visible = 0;
_root.brocky1._visible = 1;
} else {
_root.rocky1._visible = 1;
_root.brocky1._visible = 0;
}
if (_root.shadow._y > _root.rocky2._y) {
_root.rocky2._visible = 0;
_root.brocky2._visible = 1;
} else {
_root.rocky2._visible = 1;
_root.brocky2._visible = 0;
}
if (_root.shadow._y > _root.rocky3._y) {
_root.rocky3._visible = 0;
_root.brocky3._visible = 1;
} else {
_root.rocky3._visible = 1;
_root.brocky3._visible = 0;
}
if (_root.shadow._y > _root.rocky4._y) {
_root.rocky4._visible = 0;
_root.brocky4._visible = 1;
} else {
_root.rocky4._visible = 1;
_root.brocky4._visible = 0;
}
if (_root.shadow._y > _root.rocky5._y) {
_root.rocky5._visible = 0;
_root.brocky5._visible = 1;
} else {
_root.rocky5._visible = 1;
_root.brocky5._visible = 0;
}
if (_root.shadow._y > _root.rocky6._y) {
_root.rocky6._visible = 0;
_root.brocky6._visible = 1;
} else {
_root.rocky6._visible = 1;
_root.brocky6._visible = 0;
}
if (_root.shadow._y > _root.rocky7._y) {
_root.rocky7._visible = 0;
_root.brocky7._visible = 1;
} else {
_root.rocky7._visible = 1;
_root.brocky7._visible = 0;
}
if (_root.shadow._y > _root.rocky8._y) {
_root.rocky8._visible = 0;
_root.brocky8._visible = 1;
} else {
_root.rocky8._visible = 1;
_root.brocky8._visible = 0;
}
if (_root.shadow._y > _root.rocky9._y) {
_root.rocky9._visible = 0;
_root.brocky9._visible = 1;
} else {
_root.rocky9._visible = 1;
_root.brocky9._visible = 0;
}
if (_root.shadow._y > _root.rocky10._y) {
_root.rocky10._visible = 0;
_root.brocky10._visible = 1;
} else {
_root.rocky10._visible = 1;
_root.brocky10._visible = 0;
}
if (_root.shadow._y > _root.winter1._y) {
_root.winter1._visible = 0;
_root.bwinter1._visible = 1;
} else {
_root.winter1._visible = 1;
_root.bwinter1._visible = 0;
}
if (_root.shadow._y > _root.winter2._y) {
_root.winter2._visible = 0;
_root.bwinter2._visible = 1;
} else {
_root.winter2._visible = 1;
_root.bwinter2._visible = 0;
}
if (_root.shadow._y > _root.winter3._y) {
_root.winter3._visible = 0;
_root.bwinter3._visible = 1;
} else {
_root.winter3._visible = 1;
_root.bwinter3._visible = 0;
}
if (_root.shadow._y > _root.winter4._y) {
_root.winter4._visible = 0;
_root.bwinter4._visible = 1;
} else {
_root.winter4._visible = 1;
_root.bwinter4._visible = 0;
}
if (_root.shadow._y > _root.winter5._y) {
_root.winter5._visible = 0;
_root.bwinter5._visible = 1;
} else {
_root.winter5._visible = 1;
_root.bwinter5._visible = 0;
}
if (_root.shadow._y > _root.winter6._y) {
_root.winter6._visible = 0;
_root.bwinter6._visible = 1;
} else {
_root.winter6._visible = 1;
_root.bwinter6._visible = 0;
}
if (_root.shadow._y > _root.oasis1._y) {
_root.oasis1._visible = 0;
_root.boasis1._visible = 1;
} else {
_root.oasis1._visible = 1;
_root.boasis1._visible = 0;
}
if (_root.shadow._y > _root.oasis2._y) {
_root.oasis2._visible = 0;
_root.boasis2._visible = 1;
} else {
_root.oasis2._visible = 1;
_root.boasis2._visible = 0;
}
if (_root.shadow._y > _root.oasis3._y) {
_root.oasis3._visible = 0;
_root.boasis3._visible = 1;
} else {
_root.oasis3._visible = 1;
_root.boasis3._visible = 0;
}
if (_root.shadow._y > _root.oasis4._y) {
_root.oasis4._visible = 0;
_root.boasis4._visible = 1;
} else {
_root.oasis4._visible = 1;
_root.boasis4._visible = 0;
}
if (_root.shadow._y > _root.oasis5._y) {
_root.oasis5._visible = 0;
_root.boasis5._visible = 1;
} else {
_root.oasis5._visible = 1;
_root.boasis5._visible = 0;
}
if (_root.shadow._y > _root.oasis6._y) {
_root.oasis6._visible = 0;
_root.boasis6._visible = 1;
} else {
_root.oasis6._visible = 1;
_root.boasis6._visible = 0;
}
if (_root.shadow._y > _root.oasis7._y) {
_root.oasis7._visible = 0;
_root.boasis7._visible = 1;
} else {
_root.oasis7._visible = 1;
_root.boasis7._visible = 0;
}
if (_root.shadow._y > _root.oasis8._y) {
_root.oasis8._visible = 0;
_root.boasis8._visible = 1;
} else {
_root.oasis8._visible = 1;
_root.boasis8._visible = 0;
}
if (_root.shadow._y > _root.oasis9._y) {
_root.oasis9._visible = 0;
_root.boasis9._visible = 1;
} else {
_root.oasis9._visible = 1;
_root.boasis9._visible = 0;
}
if (_root.shadow._y > _root.oasis10._y) {
_root.oasis10._visible = 0;
_root.boasis10._visible = 1;
} else {
_root.oasis10._visible = 1;
_root.boasis10._visible = 0;
}
if (_root.shadow._y > _root.oasis11._y) {
_root.oasis11._visible = 0;
_root.boasis11._visible = 1;
} else {
_root.oasis11._visible = 1;
_root.boasis11._visible = 0;
}
if (_root.shadow._y > _root.oasis12._y) {
_root.oasis12._visible = 0;
_root.boasis12._visible = 1;
} else {
_root.oasis12._visible = 1;
_root.boasis12._visible = 0;
}
if (_root.shadow._y > _root.oasis13._y) {
_root.oasis13._visible = 0;
_root.boasis13._visible = 1;
} else {
_root.oasis13._visible = 1;
_root.boasis13._visible = 0;
}
if (_root.shadow._y > _root.oasis14._y) {
_root.oasis14._visible = 0;
_root.boasis14._visible = 1;
} else {
_root.oasis14._visible = 1;
_root.boasis14._visible = 0;
}
if (_root.shadow._y > _root.oasis15._y) {
_root.oasis15._visible = 0;
_root.boasis15._visible = 1;
} else {
_root.oasis15._visible = 1;
_root.boasis15._visible = 0;
}
if (_root.shadow._y > _root.oasis16._y) {
_root.oasis16._visible = 0;
_root.boasis16._visible = 1;
} else {
_root.oasis16._visible = 1;
_root.boasis16._visible = 0;
}
Symbol 1403 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1405 MovieClip Frame 2
if (battlecounter == (random(20) + 20)) {
_root.gotoAndStop("battle");
_global.battlecounter = 0;
_root.menu = true;
}
Symbol 1406 MovieClip Frame 1241
gotoAndPlay (19);
Symbol 1408 MovieClip Frame 1
stop();
Symbol 1408 MovieClip Frame 2
stop();
Symbol 1418 MovieClip Frame 2
gotoAndPlay (2);
_root.battlespikey = true;
Symbol 1422 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1422 MovieClip Frame 24
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1430 MovieClip Frame 1
_root.enemyHP = random(5) + 5;
_root.enemyMP = 15;
Symbol 1430 MovieClip Frame 2
stop();
Symbol 1430 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1430 MovieClip Frame 22
block = true;
spikeydmg = random(6) + 1;
Symbol 1430 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1430 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.pointy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1430 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.pointy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1430 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.pointy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1430 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1430 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1430 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1430 MovieClip Frame 37
_root.turn = "comp";
Symbol 1430 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1430 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(5) + 2;
_root.gold = _root.gold + _root.goldget;
_root.expget = 12 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.pointy.itemchooser.gotoAndStop("potion");
} else {
_root.enemyMain.pointy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.pointy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.pointy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1430 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battlepointy = false;
_root.EnemyMain.gotoAndStop(1);
_root.enemychooser = 0;
Symbol 1430 MovieClip Frame 67
_root.spikeyplay = random(2);
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
_root.pointyplay = random(2) + 1;
if (_root.pointyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.pointyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
Symbol 1430 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1430 MovieClip Frame 88
spikeydmg = spikeydmg + (random(3) + 1);
Symbol 1430 MovieClip Frame 89
_root.enemyMP = _root.enemyMP - 5;
Symbol 1430 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1431 MovieClip Frame 2
gotoAndPlay (1);
_root.battlepointy = true;
Symbol 1434 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1434 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1457 MovieClip Frame 1
duplicateMovieClip (twister, t, t);
setProperty(twister, _rotation , random(10));
Symbol 1457 MovieClip Frame 2
t = t + 1;
if (t > 20) {
t = 0;
}
gotoAndPlay (1);
Symbol 1458 MovieClip Frame 1
_root.enemyHP = random(15) + 3;
_root.enemyMP = 15;
Symbol 1458 MovieClip Frame 2
stop();
Symbol 1458 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1458 MovieClip Frame 22
block = true;
spikeydmg = random(3) + 1;
Symbol 1458 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1458 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1458 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1458 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1458 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1458 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1458 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1458 MovieClip Frame 37
_root.turn = "comp";
Symbol 1458 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1458 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(7) + 3;
_root.gold = _root.gold + _root.goldget;
_root.expget = 13 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.wingy.itemchooser.gotoAndStop("potion") || (gotoAndStop (1));
} else {
_root.enemyMain.wingy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.wingy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.wingy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1458 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battlewingy = false;
_root.enemychooser = 0;
Symbol 1458 MovieClip Frame 65
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
Symbol 1458 MovieClip Frame 67
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1458 MovieClip Frame 82
block = true;
spikeymagic = random(5) + 3;
Symbol 1458 MovieClip Frame 83
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1458 MovieClip Frame 84
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1458 MovieClip Frame 85
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1458 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wingy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1458 MovieClip Frame 87
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 4;
Symbol 1458 MovieClip Frame 88
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1458 MovieClip Frame 100
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1459 MovieClip Frame 2
gotoAndPlay (1);
_root.battlewingy = true;
Symbol 1462 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1462 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1520 MovieClip Frame 1
_root.enemyHP = random(20) + 5;
_root.enemyMP = 15;
Symbol 1520 MovieClip Frame 2
stop();
Symbol 1520 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1520 MovieClip Frame 22
block = true;
spikeydmg = random(2) + 1;
Symbol 1520 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1520 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1520 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1520 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1520 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1520 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1520 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1520 MovieClip Frame 37
_root.turn = "comp";
Symbol 1520 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1520 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(8) + 4;
_root.gold = _root.gold + _root.goldget;
_root.expget = 14 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.blasty.itemchooser.gotoAndStop("potion") || (gotoAndStop (1));
} else {
_root.enemyMain.blasty.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.blasty.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.blasty.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1520 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.battleblasty = false;
_root.enemychooser = 0;
Symbol 1520 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
Symbol 1520 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1520 MovieClip Frame 81
block = true;
spikeymagic = random(10) + 1;
Symbol 1520 MovieClip Frame 82
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1520 MovieClip Frame 83
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1520 MovieClip Frame 84
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1520 MovieClip Frame 85
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.blasty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1520 MovieClip Frame 86
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 6;
Symbol 1520 MovieClip Frame 87
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1520 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1521 MovieClip Frame 2
gotoAndPlay (1);
_root.battleblasty = true;
Symbol 1524 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1524 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1551 MovieClip Frame 1
_root.enemyHP = random(20) + 5;
_root.enemyMP = 15;
Symbol 1551 MovieClip Frame 2
stop();
Symbol 1551 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1551 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 5;
Symbol 1551 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1551 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.shelly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1551 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.shelly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1551 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.shelly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1551 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1551 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1551 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1551 MovieClip Frame 37
_root.turn = "comp";
Symbol 1551 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1551 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(5) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 15 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.shelly.itemchooser.gotoAndStop("hipotion");
} else {
_root.enemyMain.shelly.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.shelly.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.shelly.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1551 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battleshelly = false;
Symbol 1551 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
Symbol 1551 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1551 MovieClip Frame 88
_root.enemyHP = _root.enemyHP + 5;
Symbol 1551 MovieClip Frame 89
_root.enemyMP = _root.enemyMP - 5;
Symbol 1551 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1552 MovieClip Frame 2
gotoAndPlay (1);
_root.battleshelly = true;
Symbol 1555 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1555 MovieClip Frame 27
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1626 MovieClip Frame 1
_root.enemyHP = random(17) + 8;
_root.enemyMP = 15;
Symbol 1626 MovieClip Frame 2
stop();
Symbol 1626 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1626 MovieClip Frame 18
block = true;
spikeydmg = random(5) + 6;
Symbol 1626 MovieClip Frame 19
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1626 MovieClip Frame 20
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1626 MovieClip Frame 21
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1626 MovieClip Frame 22
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1626 MovieClip Frame 23
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1626 MovieClip Frame 24
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1626 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1626 MovieClip Frame 37
_root.turn = "comp";
Symbol 1626 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1626 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(7) + 7;
_root.gold = _root.gold + _root.goldget;
_root.expget = 16 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.buffy.itemchooser.gotoAndStop("hipotion");
} else {
_root.enemyMain.buffy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.buffy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.buffy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1626 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlebuffy = false;
Symbol 1626 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
Symbol 1626 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1626 MovieClip Frame 170
block = true;
spikeymagic = random(6) + 7;
Symbol 1626 MovieClip Frame 171
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1626 MovieClip Frame 172
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1626 MovieClip Frame 173
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1626 MovieClip Frame 174
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.buffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1626 MovieClip Frame 175
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 3;
Symbol 1626 MovieClip Frame 176
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1626 MovieClip Frame 223
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1627 MovieClip Frame 2
gotoAndPlay (1);
_root.battlebuffy = true;
Symbol 1630 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1630 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1635 MovieClip Frame 34
stop();
Symbol 1639 MovieClip Frame 1
_root.enemyHP = random(10) + 5;
_root.enemyMP = 15;
Symbol 1639 MovieClip Frame 2
stop();
Symbol 1639 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1639 MovieClip Frame 22
block = true;
spikeydmg = random(1) + 1;
Symbol 1639 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1639 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1639 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1639 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1639 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1639 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1639 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1639 MovieClip Frame 37
_root.turn = "comp";
Symbol 1639 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1639 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(7) + 11;
_root.gold = _root.gold + _root.goldget;
_root.expget = 17 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.rocky.itemchooser.gotoAndStop("hipotion");
} else {
_root.enemyMain.rocky.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.rocky.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.rocky.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1639 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlerocky = false;
Symbol 1639 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
Symbol 1639 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Instance of Symbol 1635 MovieClip "duplicatedrocky" in Symbol 1639 MovieClip Frame 69
onClipEvent (load) {
this._x = _x.rockyenemy + 100;
this._y = _y.rockyenemy - random(50);
}
Instance of Symbol 1635 MovieClip "duplicatedrocky2" in Symbol 1639 MovieClip Frame 69
onClipEvent (load) {
this._x = _x.rockyenemy + 100;
this._y = _y.rockyenemy + random(50);
}
Symbol 1639 MovieClip Frame 70
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 71
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 72
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 73
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 74
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 75
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 76
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 77
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 78
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 79
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 80
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 81
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 82
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 83
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 84
block = true;
spikeymagic = random(10) + 5;
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.rocky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 11;
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 91
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 92
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 93
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 94
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 95
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 96
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 97
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 98
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 99
duplicatedrockycount = duplicatedrockycount + 1;
duplicateMovieClip (duplicatedrocky, "duplicatedrocky" + duplicatedrockycount, duplicatedrockycount);
Symbol 1639 MovieClip Frame 100
duplicatedrockycount2 = duplicatedrockycount2 + 1;
duplicateMovieClip (duplicatedrocky2, "duplicatedrocky2" + duplicatedrockycount2, duplicatedrockycount2);
Symbol 1639 MovieClip Frame 101
duplicatedrockycount = 0;
Symbol 1639 MovieClip Frame 129
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1640 MovieClip Frame 2
gotoAndPlay (1);
_root.battlerocky = true;
Symbol 1643 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1643 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1674 MovieClip Frame 75
gotoAndPlay (25);
Symbol 1702 MovieClip Frame 1
_root.enemyHP = random(2) + 7;
_root.enemyMP = 15;
Symbol 1702 MovieClip Frame 2
stop();
Symbol 1702 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1702 MovieClip Frame 22
block = true;
spikeydmg = random(1) + 1;
Symbol 1702 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1702 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1702 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1702 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1702 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1702 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1702 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1702 MovieClip Frame 37
_root.turn = "comp";
Symbol 1702 MovieClip Frame 38
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1702 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1702 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = 1 + random(2);
_root.gold = _root.gold + _root.goldget;
_root.expget = 18 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.fishy.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.fishy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.fishy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.fishy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1702 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlefishy = false;
Symbol 1702 MovieClip Frame 62
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
Symbol 1702 MovieClip Frame 64
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1702 MovieClip Frame 337
block = true;
spikeymagic = random(15) + 5;
Symbol 1702 MovieClip Frame 338
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1702 MovieClip Frame 339
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1702 MovieClip Frame 340
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1702 MovieClip Frame 341
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.fishy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1702 MovieClip Frame 342
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 15;
Symbol 1702 MovieClip Frame 343
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1702 MovieClip Frame 370
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1703 MovieClip Frame 2
gotoAndPlay (1);
_root.battlefishy = true;
Symbol 1706 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1706 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1725 MovieClip Frame 7
stop();
Symbol 1761 MovieClip Frame 1
_root.enemyHP = random(14) + 6;
_root.enemyMP = 15;
Symbol 1761 MovieClip Frame 2
stop();
Symbol 1761 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1761 MovieClip Frame 9
block = true;
spikeydmg = random(5) + 4;
Symbol 1761 MovieClip Frame 10
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1761 MovieClip Frame 11
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1761 MovieClip Frame 12
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1761 MovieClip Frame 13
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1761 MovieClip Frame 14
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1761 MovieClip Frame 15
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1761 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1761 MovieClip Frame 37
_root.turn = "comp";
Symbol 1761 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1761 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(13) + 7;
_root.gold = _root.gold + _root.goldget;
_root.expget = 19 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.helly.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.helly.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.helly.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.helly.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1761 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlehelly = false;
Symbol 1761 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
Symbol 1761 MovieClip Frame 70
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1761 MovieClip Frame 76
block = true;
spikeymagic = random(15) + 5;
Symbol 1761 MovieClip Frame 77
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1761 MovieClip Frame 78
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1761 MovieClip Frame 79
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1761 MovieClip Frame 80
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.helly.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1761 MovieClip Frame 81
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 15;
Symbol 1761 MovieClip Frame 82
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1761 MovieClip Frame 100
_root.levelupisplaying = false;
Symbol 1761 MovieClip Frame 101
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(13) + 7;
_root.gold = _root.gold + _root.goldget;
_root.expget = 19 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.helly.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.helly.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.helly.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.helly.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 1761 MovieClip Frame 102
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlehelly = false;
Symbol 1762 MovieClip Frame 2
gotoAndPlay (1);
_root.battlehelly = true;
Symbol 1765 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1765 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 1903 MovieClip Frame 1
_root.enemyHP = random(10) + 10;
_root.enemyMP = 15;
Symbol 1903 MovieClip Frame 2
stop();
Symbol 1903 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1903 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 1;
Symbol 1903 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1903 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1903 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1903 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1903 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1903 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 1903 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1903 MovieClip Frame 37
_root.turn = "comp";
Symbol 1903 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 1903 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(14) + 8;
_root.gold = _root.gold + _root.goldget;
_root.expget = 20 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.spongy.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.spongy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.spongy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.spongy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 1903 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlespongy = false;
Symbol 1903 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
Symbol 1903 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1903 MovieClip Frame 167
block = true;
spikeymagic = random(10) + 10;
Symbol 1903 MovieClip Frame 168
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1903 MovieClip Frame 169
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1903 MovieClip Frame 170
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 1903 MovieClip Frame 171
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.spongy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
_root.enemyMP = _root.enemyMP - 15;
Symbol 1903 MovieClip Frame 172
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 1903 MovieClip Frame 173
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 1903 MovieClip Frame 199
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 1904 MovieClip Frame 2
gotoAndPlay (1);
_root.battlespongy = true;
Symbol 1907 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 1907 MovieClip Frame 23
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2025 MovieClip Frame 1
_root.enemyHP = random(10) + 15;
_root.enemyMP = 15;
Symbol 2025 MovieClip Frame 2
stop();
Symbol 2025 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2025 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 3;
Symbol 2025 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2025 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2025 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2025 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2025 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2025 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2025 MovieClip Frame 49
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2025 MovieClip Frame 50
_root.turn = "comp";
Symbol 2025 MovieClip Frame 67
_root.levelupisplaying = false;
Symbol 2025 MovieClip Frame 68
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(16) + 9;
_root.gold = _root.gold + _root.goldget;
_root.expget = 21 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.wormy.itemchooser.gotoAndStop("hipotion") || (gotoAndStop (1));
} else {
_root.enemyMain.wormy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.wormy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.wormy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2025 MovieClip Frame 69
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlewormy = false;
Symbol 2025 MovieClip Frame 76
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
Symbol 2025 MovieClip Frame 78
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2025 MovieClip Frame 89
block = true;
spikeymagic = random(4) + 1;
Symbol 2025 MovieClip Frame 90
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2025 MovieClip Frame 91
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2025 MovieClip Frame 92
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2025 MovieClip Frame 93
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.wormy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2025 MovieClip Frame 94
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 2;
Symbol 2025 MovieClip Frame 95
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2025 MovieClip Frame 111
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2026 MovieClip Frame 2
gotoAndPlay (1);
_root.battlewormy = true;
Symbol 2029 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2029 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2036 MovieClip Frame 11
stop();
Symbol 2067 MovieClip Frame 1
_root.enemyHP = random(15) + 5;
_root.enemyMP = 15;
Symbol 2067 MovieClip Frame 2
stop();
Symbol 2067 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2067 MovieClip Frame 22
block = true;
spikeydmg = random(5) + 1;
Symbol 2067 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2067 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2067 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2067 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2067 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2067 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2067 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2067 MovieClip Frame 37
_root.turn = "comp";
Symbol 2067 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2067 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(18) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 22 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.puffy.itemchooser.gotoAndStop("xether");
} else {
_root.enemyMain.puffy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.puffy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.puffy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2067 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlepuffy = false;
Symbol 2067 MovieClip Frame 68
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
Symbol 2067 MovieClip Frame 70
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2067 MovieClip Frame 85
block = true;
spikeymagic = random(6) + 7;
Symbol 2067 MovieClip Frame 86
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2067 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2067 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2067 MovieClip Frame 89
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.puffy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2067 MovieClip Frame 90
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 4;
Symbol 2067 MovieClip Frame 91
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2067 MovieClip Frame 103
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2068 MovieClip Frame 2
gotoAndPlay (1);
_root.battlepuffy = true;
Symbol 2071 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2071 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2088 MovieClip Frame 1
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndStop("getstuff");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndStop("getstuff");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndStop("getstuff");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndStop("getstuff");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndStop("getstuff");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndStop("getstuff");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndStop("getstuff");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndStop("getstuff");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndStop("getstuff");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndStop("getstuff");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndStop("getstuff");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndStop("getstuff");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndStop("getstuff");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndStop("getstuff");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndStop("getstuff");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndStop("getstuff");
}
Symbol 2088 MovieClip Frame 2
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndStop("getstuff");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndStop("getstuff");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndStop("getstuff");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndStop("getstuff");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndStop("getstuff");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndStop("getstuff");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndStop("getstuff");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndStop("getstuff");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndStop("getstuff");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndStop("getstuff");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndStop("getstuff");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndStop("getstuff");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndStop("getstuff");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndStop("getstuff");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndStop("getstuff");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndStop("getstuff");
}
Symbol 2089 MovieClip Frame 1
stop();
Symbol 2089 MovieClip Frame 2
stop();
Symbol 2089 MovieClip Frame 3
stop();
Symbol 2089 MovieClip Frame 4
stop();
_root.dead = false;
_root.battlemusic.gotoAndStop("victory");
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndStop("getstuff");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndStop("getstuff");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndStop("getstuff");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndStop("getstuff");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndStop("getstuff");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndStop("getstuff");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndStop("getstuff");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndStop("getstuff");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndStop("getstuff");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndStop("getstuff");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndStop("getstuff");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndStop("getstuff");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndStop("getstuff");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndStop("getstuff");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndStop("getstuff");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndStop("getstuff");
}
Symbol 2094 Button
on (release) {
if (_root.Turn == "guy") {
gotoAndStop (2);
}
}
Symbol 2098 Button
on (release) {
if (_root.Turn == "guy") {
_root.battleguy.gotoAndPlay("attack");
}
}
Symbol 2103 Button
on (release) {
if (_root.Turn == "guy") {
if (_root.run == true) {
run = random(2) + 1;
if (run == 1) {
_root.battleguy.gotoAndPlay("run");
} else if (run == 2) {
_root.battleguy.gotoAndPlay("norun");
}
}
}
}
Symbol 2108 Button
on (release) {
if (_root.Turn == "guy") {
gotoAndStop (3);
}
}
Symbol 2115 MovieClip Frame 1
stop();
Symbol 2115 MovieClip Frame 20
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 2118 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 2126 Button
on (release) {
if ((_root.mp == 1) || (_root.mp > 1)) {
_root.battleguy.gotoAndPlay("fire");
_root.mp = _root.mp - 1;
}
}
Symbol 2128 MovieClip Frame 1
stop();
Symbol 2128 MovieClip Frame 2
stop();
Symbol 2134 Button
on (release) {
if ((_root.mp == 2) || (_root.mp > 2)) {
_root.battleguy.gotoAndPlay("blizzard");
_root.mp = _root.mp - 2;
}
}
Symbol 2136 MovieClip Frame 1
stop();
Symbol 2136 MovieClip Frame 2
stop();
Symbol 2142 Button
on (release) {
if ((_root.mp == 3) || (_root.mp > 3)) {
_root.battleguy.gotoAndPlay("thunder");
_root.mp = _root.mp - 3;
}
}
Symbol 2144 MovieClip Frame 1
stop();
Symbol 2144 MovieClip Frame 2
stop();
Symbol 2150 Button
on (release) {
if ((_root.mp == 4) || (_root.mp > 4)) {
_root.battleguy.gotoAndPlay("cure");
_root.mp = _root.mp - 4;
}
}
Symbol 2152 MovieClip Frame 1
stop();
Symbol 2152 MovieClip Frame 2
stop();
Symbol 2158 Button
on (release) {
if ((_root.mp == 5) || (_root.mp > 5)) {
_root.battleguy.gotoAndPlay("fira");
_root.mp = _root.mp - 5;
}
}
Symbol 2160 MovieClip Frame 1
stop();
Symbol 2160 MovieClip Frame 2
stop();
Symbol 2165 Button
on (release) {
if ((_root.mp == 6) || (_root.mp > 6)) {
_root.battleguy.gotoAndPlay("blizzara");
_root.mp = _root.mp - 6;
}
}
Symbol 2167 MovieClip Frame 1
stop();
Symbol 2167 MovieClip Frame 2
stop();
Symbol 2173 Button
on (release) {
if ((_root.mp == 7) || (_root.mp > 7)) {
_root.battleguy.gotoAndPlay("thundara");
_root.mp = _root.mp - 7;
}
}
Symbol 2175 MovieClip Frame 1
stop();
Symbol 2175 MovieClip Frame 2
stop();
Symbol 2181 Button
on (release) {
if ((_root.mp == 8) || (_root.mp > 8)) {
_root.battleguy.gotoAndPlay("cura");
_root.mp = _root.mp - 8;
}
}
Symbol 2183 MovieClip Frame 1
stop();
Symbol 2183 MovieClip Frame 2
stop();
Symbol 2189 Button
on (release) {
if ((_root.mp == 9) || (_root.mp > 9)) {
_root.battleguy.gotoAndPlay("firaga");
_root.mp = _root.mp - 9;
}
}
Symbol 2191 MovieClip Frame 1
stop();
Symbol 2191 MovieClip Frame 2
stop();
Symbol 2197 Button
on (release) {
if ((_root.mp == 10) || (_root.mp > 10)) {
_root.battleguy.gotoAndPlay("blizzaga");
_root.mp = _root.mp - 10;
}
}
Symbol 2199 MovieClip Frame 1
stop();
Symbol 2199 MovieClip Frame 2
stop();
Symbol 2205 Button
on (release) {
if ((_root.mp == 11) || (_root.mp > 11)) {
_root.battleguy.gotoAndPlay("thundaga");
_root.mp = _root.mp - 11;
}
}
Symbol 2207 MovieClip Frame 1
stop();
Symbol 2207 MovieClip Frame 2
stop();
Symbol 2213 Button
on (release) {
if ((_root.mp == 12) || (_root.mp > 12)) {
_root.battleguy.gotoAndPlay("curaga");
_root.mp = _root.mp - 12;
}
}
Symbol 2215 MovieClip Frame 1
stop();
Symbol 2215 MovieClip Frame 2
stop();
Symbol 2216 MovieClip Frame 1
stop();
Symbol 2216 MovieClip Frame 2
stop();
Instance of Symbol 2128 MovieClip "battlefiremc" in Symbol 2216 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.mp < 1) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 3
stop();
Instance of Symbol 2136 MovieClip "battleblizzardmc" in Symbol 2216 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.mp < 2) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 4
stop();
Instance of Symbol 2144 MovieClip "battlethundermc" in Symbol 2216 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mp < 3) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 5
stop();
Instance of Symbol 2152 MovieClip "battlecuremc" in Symbol 2216 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.mp < 4) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 6
stop();
Instance of Symbol 2160 MovieClip "battlefiramc" in Symbol 2216 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.mp < 5) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 7
stop();
Instance of Symbol 2167 MovieClip "battleblizzaramc" in Symbol 2216 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.mp < 6) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 8
stop();
Instance of Symbol 2175 MovieClip "battlethundaramc" in Symbol 2216 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.mp < 7) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 9
stop();
Instance of Symbol 2183 MovieClip "battlecuramc" in Symbol 2216 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.mp < 8) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 10
stop();
Instance of Symbol 2191 MovieClip "battllefiragamc" in Symbol 2216 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.mp < 9) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 11
stop();
Instance of Symbol 2199 MovieClip "battleblizzagamc" in Symbol 2216 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.mp < 10) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 12
stop();
Instance of Symbol 2207 MovieClip "battlethundagamc" in Symbol 2216 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.mp < 11) {
this.gotoAndStop(2);
}
}
Symbol 2216 MovieClip Frame 13
stop();
Instance of Symbol 2215 MovieClip "battlecuragamc" in Symbol 2216 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.mp < 12) {
this.gotoAndStop(2);
}
}
Symbol 2218 Button
on (release) {
gotoAndStop (1);
}
Symbol 2220 Button
on (release) {
if (_root.potion > 0) {
_root.battleguy.battlemenu.potionuse.play();
_root.potion = _root.potion - 1;
_root.hp = _root.hp + 10;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
gotoAndStop (1);
}
}
Symbol 2221 Button
on (release) {
if (_root.ether > 0) {
_root.battleguy.battlemenu.potionuse.play();
_root.ether = _root.ether - 1;
_root.mp = _root.mp + 10;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
gotoAndStop (1);
}
}
Symbol 2222 Button
on (release) {
if (_root.hipotion > 0) {
_root.battleguy.battlemenu.hipotionuse.play();
_root.hipotion = _root.hipotion - 1;
_root.hp = _root.hp + 30;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
gotoAndStop (1);
}
}
Symbol 2223 Button
on (release) {
if (_root.hiether > 0) {
_root.battleguy.battlemenu.hipotionuse.play();
_root.hiether = _root.hiether - 1;
_root.mp = _root.mp + 30;
if (_root.mp > _root.mptotal) {
_root.mp = _root.mptotal;
}
gotoAndStop (1);
}
}
Symbol 2224 Button
on (release) {
if (_root.xpotion > 0) {
_root.battleguy.battlemenu.xpotionuse.play();
_root.xpotion = _root.xpotion - 1;
_root.hp = _root.hptotal;
gotoAndStop (1);
}
}
Symbol 2225 Button
on (release) {
if (_root.xether > 0) {
_root.battleguy.battlemenu.xpotionuse.play();
_root.xether = _root.xether - 1;
_root.mp = _root.mptotal;
gotoAndStop (1);
}
}
Symbol 2226 MovieClip Frame 1
stop();
Instance of Symbol 2216 MovieClip in Symbol 2226 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.level == 1) {
this.gotoAndStop("blizzard");
} else if (_root.level == 2) {
this.gotoAndStop("cure");
} else if (_root.level == 3) {
this.gotoAndStop("blizzara");
} else if (_root.level == 4) {
this.gotoAndStop("cura");
} else if (_root.level == 5) {
this.gotoAndStop("blizzaga");
} else if ((_root.level == 6) || (_root.level > 6)) {
this.gotoAndStop("curaga");
}
}
Symbol 2286 MovieClip Frame 1
_root.enemyHP = random(15) + 10;
_root.enemyMP = 15;
Symbol 2286 MovieClip Frame 2
stop();
Symbol 2286 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 3
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 4
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 5
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 5
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 6
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 6
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 7
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 7
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 8
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 8
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 9
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 9
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 10
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 10
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 11
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 11
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 12
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 12
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 13
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 13
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 14
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 14
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 15
block = true;
spikeydmg = random(8) + 7;
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 15
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 16
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 16
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 16
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 17
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 17
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 17
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 18
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 18
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 18
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 19
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 19
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 19
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 20
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 20
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 20
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 21
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 21
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 21
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 22
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 22
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 23
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Instance of Symbol 854 MovieClip "shadow" in Symbol 2286 MovieClip Frame 23
onClipEvent (load) {
moveSpeed = 7;
}
onClipEvent (enterFrame) {
if (_root.menu == false) {
if (Key.isDown(39)) {
if (_root.obstacles.hitTest(getBounds(_root).xMax, _y, true)) {
} else {
this._x = this._x + moveSpeed;
_root.guy.gotoAndPlay(6);
}
} else if (Key.isDown(38)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMin, true)) {
} else {
this._y = this._y - moveSpeed;
_root.guy.gotoAndPlay(10);
}
} else if (Key.isDown(40)) {
if (_root.obstacles.hitTest(_x, getBounds(_root).yMax, true)) {
} else {
this._y = this._y + moveSpeed;
_root.guy.gotoAndPlay(2);
}
} else if (Key.isDown(37)) {
if (_root.obstacles.hitTest(getBounds(_root).xMin, _y, true)) {
} else {
this._x = this._x - moveSpeed;
_root.guy.gotoAndPlay(14);
}
} else if (_root.menu == true) {
}
}
}
Symbol 2286 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2286 MovieClip Frame 37
_root.turn = "comp";
Symbol 2286 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2286 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(20) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 23 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.screamy.itemchooser.gotoAndStop("xether");
} else {
_root.enemyMain.screamy.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.screamy.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.screamy.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2286 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlescreamy = false;
Symbol 2286 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
Symbol 2286 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2286 MovieClip Frame 87
block = true;
spikeymagic = random(7) + 10;
Symbol 2286 MovieClip Frame 88
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2286 MovieClip Frame 89
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2286 MovieClip Frame 90
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2286 MovieClip Frame 91
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.screamy.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2286 MovieClip Frame 92
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - random(5);
Symbol 2286 MovieClip Frame 93
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2286 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2287 MovieClip Frame 2
gotoAndPlay (1);
_root.battlescreamy = true;
Symbol 2290 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2290 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2365 MovieClip Frame 11
stop();
Symbol 2379 MovieClip Frame 1
_root.enemyHP = random(20) + 10;
_root.enemyMP = 15;
Symbol 2379 MovieClip Frame 2
stop();
Symbol 2379 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2379 MovieClip Frame 24
block = true;
spikeydmg = random(10) + 5;
Symbol 2379 MovieClip Frame 25
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2379 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2379 MovieClip Frame 27
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2379 MovieClip Frame 28
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2379 MovieClip Frame 29
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2379 MovieClip Frame 30
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2379 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2379 MovieClip Frame 37
_root.turn = "comp";
Symbol 2379 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2379 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(25) + 10;
_root.gold = _root.gold + _root.goldget;
_root.expget = 24 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.sticky.itemchooser.gotoAndStop("xether") || (gotoAndStop (1));
} else {
_root.enemyMain.sticky.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.sticky.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.sticky.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2379 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlesticky = false;
Symbol 2379 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
Symbol 2379 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2379 MovieClip Frame 84
block = true;
spikeymagic = random(10) + 12;
Symbol 2379 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2379 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2379 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2379 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.sticky.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2379 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 2;
Symbol 2379 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2379 MovieClip Frame 102
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2380 MovieClip Frame 2
gotoAndPlay (1);
_root.battlesticky = true;
Symbol 2383 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2383 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2500 MovieClip Frame 1
_root.enemyHP = random(30) + 15;
_root.enemyMP = 15;
Symbol 2500 MovieClip Frame 2
stop();
Symbol 2500 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2500 MovieClip Frame 22
block = true;
spikeydmg = random(10) + 6;
Symbol 2500 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2500 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2500 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2500 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2500 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2500 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2500 MovieClip Frame 70
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2500 MovieClip Frame 71
_root.turn = "comp";
Symbol 2500 MovieClip Frame 88
_root.levelupisplaying = false;
Symbol 2500 MovieClip Frame 89
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(30) + 20;
_root.gold = _root.gold + _root.goldget;
_root.expget = 25 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.slimey.itemchooser.gotoAndStop("xpotion");
} else {
_root.enemyMain.slimey.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.slimey.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.slimey.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2500 MovieClip Frame 90
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battleslimey = false;
Symbol 2500 MovieClip Frame 101
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
Symbol 2500 MovieClip Frame 103
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2500 MovieClip Frame 130
block = true;
spikeymagic = _root.attack;
Symbol 2500 MovieClip Frame 131
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2500 MovieClip Frame 132
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2500 MovieClip Frame 133
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2500 MovieClip Frame 134
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.slimey.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2500 MovieClip Frame 135
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - _root.magicattack;
Symbol 2500 MovieClip Frame 136
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2500 MovieClip Frame 169
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2501 MovieClip Frame 2
gotoAndPlay (1);
_root.battleslimey = true;
Symbol 2504 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2504 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2508 MovieClip Frame 21
stop();
Symbol 2510 MovieClip Frame 1
duplicateMovieClip (plasma, p, p);
setProperty(plasma, _rotation , random(6));
Symbol 2510 MovieClip Frame 2
p = p + 1;
if (p > 20) {
p = 0;
}
gotoAndPlay (1);
Symbol 2518 MovieClip Frame 1
_root.enemyHP = random(20) + 15;
_root.enemyMP = 15;
Symbol 2518 MovieClip Frame 2
stop();
Symbol 2518 MovieClip Frame 3
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2518 MovieClip Frame 22
block = true;
spikeydmg = 10;
Symbol 2518 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2518 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2518 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2518 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2518 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2518 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 2518 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2518 MovieClip Frame 37
_root.turn = "comp";
Symbol 2518 MovieClip Frame 54
_root.levelupisplaying = false;
Symbol 2518 MovieClip Frame 55
_root.dead = true;
_root.EnemyMain.swapDepths(_root.battleguy);
stop();
_root.goldget = random(30) + 15;
_root.gold = _root.gold + _root.goldget;
_root.expget = 26 - _root.level;
_root.itemget = random(4);
if (_root.itemget == 3) {
_root.enemyMain.ghosty.itemchooser.gotoAndStop("xpotion");
} else {
_root.enemyMain.ghosty.itemchooser.gotoAndStop("none");
}
if ((_root.expget < 0) || (_root.expget == 0)) {
_root.expget = 1;
}
_root.exp = _root.exp + _root.expget;
if ((_root.exp == 100) || (_root.exp > 100)) {
_root.EnemyMain.ghosty.okbutton.gotoAndStop(2);
if (_root.level == 30) {
_root.level = 30;
_root.exp = 100;
} else {
_root.level = _root.level + 1;
_root.exp = 0;
}
_root.EnemyMain.ghosty.levelup.gotoAndStop(2);
_root.hp = _root.hptotal;
_root.mp = _root.mptotal;
}
Symbol 2518 MovieClip Frame 56
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battleghosty = false;
Symbol 2518 MovieClip Frame 67
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
Symbol 2518 MovieClip Frame 69
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2518 MovieClip Frame 84
block = true;
spikeymagic = 10;
Symbol 2518 MovieClip Frame 85
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2518 MovieClip Frame 86
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2518 MovieClip Frame 87
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 2518 MovieClip Frame 88
if (Key.isDown(32)) {
if (block == true) {
spikeymagic = spikeymagic - 2;
_root.battleguy.guystances.gotoAndStop("block");
_root.EnemyMain.ghosty.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 2518 MovieClip Frame 89
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
_root.enemyMP = _root.enemyMP - 5;
Symbol 2518 MovieClip Frame 90
if (block == false) {
spikeymagic = spikeymagic + 2;
}
Symbol 2518 MovieClip Frame 91
_root.enemyHP = _root.enemyHP + 10;
Symbol 2518 MovieClip Frame 105
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.EnemyMain);
gotoAndStop (2);
_root.Turn = "guy";
Symbol 2519 MovieClip Frame 2
gotoAndPlay (1);
_root.battleghosty = true;
Symbol 2522 MovieClip Frame 1
_root.EnemyMain.swapDepths(_root.battleguy);
Symbol 2522 MovieClip Frame 22
_root.battleguy.swapDepths(_root.EnemyMain);
stop();
Symbol 2523 MovieClip Frame 1
if ((_root.level == 8) || (_root.level > 8)) {
_root.enemychooser = random(16) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 11) {
_root.EnemyMain.gotoAndStop("wormy");
_root.battlewormy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 12) {
_root.EnemyMain.gotoAndStop("puffy");
_root.battlepuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 13) {
_root.EnemyMain.gotoAndStop("screamy");
_root.battlescreamy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 14) {
_root.EnemyMain.gotoAndStop("sticky");
_root.battlesticky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 15) {
_root.EnemyMain.gotoAndStop("slimey");
_root.battleslimey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 16) {
_root.EnemyMain.gotoAndStop("ghosty");
_root.battleghosty = true;
_root.enemychooser = 0;
}
}
if (_root.level == 7) {
_root.enemychooser = random(14) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 11) {
_root.EnemyMain.gotoAndStop("wormy");
_root.battlewormy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 12) {
_root.EnemyMain.gotoAndStop("puffy");
_root.battlepuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 13) {
_root.EnemyMain.gotoAndStop("screamy");
_root.battlescreamy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 14) {
_root.EnemyMain.gotoAndStop("sticky");
_root.battlesticky = true;
_root.enemychooser = 0;
}
}
if (_root.level == 6) {
_root.enemychooser = random(12) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 11) {
_root.EnemyMain.gotoAndStop("wormy");
_root.battlewormy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 12) {
_root.EnemyMain.gotoAndStop("puffy");
_root.battlepuffy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 5) {
_root.enemychooser = random(10) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 9) {
_root.EnemyMain.gotoAndStop("helly");
_root.battlehelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 10) {
_root.EnemyMain.gotoAndStop("spongy");
_root.battlespongy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 4) {
_root.enemychooser = random(8) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 7) {
_root.EnemyMain.gotoAndStop("rocky");
_root.battlerocky = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 8) {
_root.EnemyMain.gotoAndStop("fishy");
_root.battlefishy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 3) {
_root.enemychooser = random(6) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 5) {
_root.EnemyMain.gotoAndStop("shelly");
_root.battleshelly = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 6) {
_root.EnemyMain.gotoAndStop("buffy");
_root.battlebuffy = true;
_root.enemychooser = 0;
}
}
if (_root.level == 2) {
_root.enemychooser = random(4) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 3) {
_root.EnemyMain.gotoAndStop("wingy");
_root.battlewingy = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 4) {
_root.EnemyMain.gotoAndStop("blasty");
_root.battleblasty = true;
_root.enemychooser = 0;
}
}
if (_root.level == 1) {
_root.enemychooser = random(2) + 1;
if (_root.enemychooser == 1) {
_root.EnemyMain.gotoAndStop("spikey");
_root.battlespikey = true;
_root.enemychooser = 0;
}
if (_root.enemychooser == 2) {
_root.EnemyMain.gotoAndStop("pointy");
_root.battlepointy = true;
_root.enemychooser = 0;
}
}
Symbol 2523 MovieClip Frame 2
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 3
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 4
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 5
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 6
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 7
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 8
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 9
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 10
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 11
stop();
_root.run = true;
Instance of Symbol 1903 MovieClip "spongy" in Symbol 2523 MovieClip Frame 11
/* no clip actions */
Symbol 2523 MovieClip Frame 12
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 13
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 14
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 15
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 16
stop();
_root.run = true;
Symbol 2523 MovieClip Frame 17
stop();
_root.run = true;
Symbol 2525 MovieClip Frame 1
if (_root.dead == true) {
_root.battleguy.guystances.gotoAndStop("win");
_root.menu = true;
}
Symbol 2525 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2555 MovieClip Frame 21
stop();
Symbol 2556 MovieClip Frame 1
duplicateMovieClip (orb, c, c);
setProperty(orb, _rotation , random(6));
Symbol 2556 MovieClip Frame 2
c = c + 1;
if (c > 20) {
c = 0;
}
gotoAndPlay (1);
Symbol 2690 MovieClip Frame 17
gotoAndPlay (9);
Symbol 2750 MovieClip Frame 80
stop();
Symbol 2751 MovieClip Frame 1
duplicateMovieClip (crystal, x, x);
setProperty(crystal, _rotation , random(360));
Symbol 2751 MovieClip Frame 2
x = x + 1;
if (x == 20) {
x = 0;
}
gotoAndPlay (1);
Symbol 2889 MovieClip Frame 1
stop();
Symbol 2889 MovieClip Frame 2
stop();
Symbol 2913 MovieClip Frame 26
stop();
Symbol 2914 MovieClip Frame 46
stop();
Symbol 2930 MovieClip Frame 6
stop();
Symbol 2932 MovieClip Frame 1
duplicateMovieClip (bolt, b, b);
setProperty(bolt, _rotation , random(360));
Symbol 2932 MovieClip Frame 2
b = b + 1;
if (b > 20) {
b = 0;
}
gotoAndPlay (1);
Symbol 3054 MovieClip Frame 8
stop();
Symbol 3105 MovieClip Frame 21
stop();
Symbol 3107 MovieClip Frame 1
duplicateMovieClip (fairy, z, z);
setProperty(fairy, _rotation , random(360));
Symbol 3107 MovieClip Frame 2
z = z + 1;
if (z > 20) {
z = 0;
}
gotoAndPlay (1);
Symbol 3173 MovieClip Frame 6
stop();
Symbol 3273 MovieClip Frame 1
stop();
Symbol 3273 MovieClip Frame 13
_root.critical = true;
Symbol 3273 MovieClip Frame 14
if (Key.isDown(32)) {
_root.critical = nothing;
}
Symbol 3273 MovieClip Frame 15
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3273 MovieClip Frame 16
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3273 MovieClip Frame 17
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3273 MovieClip Frame 18
if (Key.isDown(32)) {
if (_root.critical == true) {
_root.attack = _root.attack + 1;
_root.battleguy.blockstar.gotoAndPlay("starhit");
_root.battleguy.blockstar2.gotoAndPlay("starhit");
_root.critical = false;
}
}
Symbol 3273 MovieClip Frame 25
_root.enemyhp = _root.enemyhp - _root.attack;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 26
if (_root.critical == false) {
_root.attack = _root.attack - 1;
}
Symbol 3273 MovieClip Frame 27
_root.critical = nothing;
Symbol 3273 MovieClip Frame 36
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 3273 MovieClip Frame 38
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 75
_root.enemyhp = _root.enemyhp - (_root.magicattack + 1);
_root.mp = _root.mp - 1;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 88
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 125
_root.enemyhp = _root.enemyhp - (_root.magicattack + 5);
_root.mp = _root.mp - 5;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 138
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 270
_root.enemyhp = _root.enemyhp - (_root.magicattack + 9);
_root.mp = _root.mp - 9;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 283
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 320
_root.enemyhp = _root.enemyhp - (_root.magicattack + 6);
_root.mp = _root.mp - 6;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 333
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 370
_root.enemyhp = _root.enemyhp - (_root.magicattack + 2);
_root.mp = _root.mp - 2;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 383
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 430
if ((_root.battlewizard == true) || (_root.battlewizard2 == true)) {
_root.battleguy.snowblocker.gotoAndStop(2);
}
Symbol 3273 MovieClip Frame 527
_root.battleguy.snowblocker.gotoAndStop(1);
Symbol 3273 MovieClip Frame 546
_root.enemyhp = _root.enemyhp - (_root.magicattack + 10);
_root.mp = _root.mp - 10;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 559
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 596
_root.enemyhp = _root.enemyhp - (_root.magicattack + 3);
_root.mp = _root.mp - 3;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 609
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 646
_root.enemyhp = _root.enemyhp - (_root.magicattack + 7);
_root.mp = _root.mp - 7;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 659
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 850
_root.enemyhp = _root.enemyhp - (_root.magicattack + 11);
_root.mp = _root.mp - 11;
if (_root.battlepointy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.pointy.gotoAndPlay("pointydead");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointydamage");
}
}
if (_root.battlespikey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spikey.gotoAndPlay("dead");
} else {
_root.EnemyMain.spikey.gotoAndPlay("damage");
}
}
if (_root.battlebuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.buffy.gotoAndPlay("buffydead");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffydamage");
}
}
if (_root.battlerocky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.rocky.gotoAndPlay("rockydead");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockydamage");
}
}
if (_root.battlefishy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.fishy.gotoAndPlay("fishydead");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishydamage");
}
}
if (_root.battlehelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.helly.gotoAndPlay("hellydead");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellydamage");
}
}
if (_root.battlespongy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.spongy.gotoAndPlay("spongydead");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongydamage");
}
}
if (_root.battlewormy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wormy.gotoAndPlay("wormydead");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormydamage");
}
}
if (_root.battlepuffy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.puffy.gotoAndPlay("puffydead");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffydamage");
}
}
if (_root.battlescreamy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.screamy.gotoAndPlay("screamydead");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamydamage");
}
}
if (_root.battlesticky == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.sticky.gotoAndPlay("stickydead");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickydamage");
}
}
if (_root.battleslimey == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.slimey.gotoAndPlay("slimeydead");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeydamage");
}
}
if (_root.battleghosty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydead");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostydamage");
}
}
if (_root.battleshelly == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.shelly.gotoAndPlay("shellydead");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellydamage");
}
}
if (_root.battleblasty == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.blasty.gotoAndPlay("blastydead");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastydamage");
}
}
if (_root.battlewingy == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.EnemyMain.wingy.gotoAndPlay("wingydead");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingydamage");
}
}
if (_root.battlewizard == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead");
} else {
_root.wizard.gotoAndPlay("wizarddamage");
}
}
if (_root.battlewizard2 == true) {
if ((_root.enemyhp < 0) || (_root.enemyhp == 0)) {
_root.wizard.gotoAndPlay("wizarddead2");
} else {
_root.wizard.gotoAndPlay("wizarddamage2");
}
}
Symbol 3273 MovieClip Frame 863
gotoAndStop (1);
_root.Turn = "comp";
Symbol 3273 MovieClip Frame 881
_root.hp = _root.hp + 10;
_root.mp = _root.mp - 4;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
Symbol 3273 MovieClip Frame 913
gotoAndStop (1);
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 3273 MovieClip Frame 932
_root.hp = _root.hp + 30;
_root.mp = _root.mp - 8;
if (_root.hp > _root.hptotal) {
_root.hp = _root.hptotal;
}
Symbol 3273 MovieClip Frame 963
gotoAndStop (1);
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 3273 MovieClip Frame 1068
_root.hp = _root.hptotal;
_root.mp = _root.mp - 12;
Symbol 3273 MovieClip Frame 1125
gotoAndStop (1);
_root.Turn = "comp";
_root.spikeyplay = random(2) + 1;
if (_root.battlepointy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.pointy.gotoAndPlay("pointymagicattacking");
} else {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
}
}
if (_root.battlespikey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spikey.gotoAndPlay("magicattacking");
} else {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
}
}
if (_root.battlebuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.buffy.gotoAndPlay("buffymagicattacking");
} else {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
}
}
if (_root.battlerocky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.rocky.gotoAndPlay("rockymagicattacking");
} else {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
}
}
if (_root.battlefishy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.fishy.gotoAndPlay("fishymagicattacking");
} else {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
}
}
if (_root.battlehelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.helly.gotoAndPlay("hellymagicattacking");
} else {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
}
}
if (_root.battlespongy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.spongy.gotoAndPlay("spongymagicattacking");
} else {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
}
}
if (_root.battlewormy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wormy.gotoAndPlay("wormymagicattacking");
} else {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
}
}
if (_root.battlepuffy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.puffy.gotoAndPlay("puffymagicattacking");
} else {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
}
}
if (_root.battlescreamy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.screamy.gotoAndPlay("screamymagicattacking");
} else {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
}
}
if (_root.battlesticky == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.sticky.gotoAndPlay("stickymagicattacking");
} else {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
}
}
if (_root.battleslimey == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.slimey.gotoAndPlay("slimeymagicattacking");
} else {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
}
}
if (_root.battleghosty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostymagicattacking");
} else {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
}
}
if (_root.battleshelly == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.shelly.gotoAndPlay("shellymagicattacking");
} else {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
}
}
if (_root.battleblasty == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.blasty.gotoAndPlay("blastymagicattacking");
} else {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
}
}
if (_root.battlewingy == true) {
if (_root.spikeyplay == 1) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.EnemyMain.wingy.gotoAndPlay("wingymagicattacking");
} else {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
}
}
if (_root.battlewizard == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
}
if (_root.battlewizard2 == true) {
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
} else if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
}
Symbol 3273 MovieClip Frame 1240
_root.battlespikey = false;
_root.battlepointy = false;
_root.battlewingy = false;
_root.battleblasty = false;
_root.battlerocky = false;
_root.battlespongy = false;
_root.battlewormy = false;
_root.battlecopty = false;
_root.battlepuffy = false;
_root.battlebuffy = false;
_root.battlefishy = false;
_root.battleghosty = false;
_root.battleslimey = false;
_root.battlesticky = false;
_root.battlewizard = false;
_root.battlewizard2 = false;
_root.gotoAndStop("gameover");
Symbol 3273 MovieClip Frame 1270
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
if (_root.battlespikey == true) {
_root.battlespikey = false;
}
if (_root.battlepointy == true) {
_root.battlepointy = false;
}
if (_root.battlewingy == true) {
_root.battlewingy = false;
}
if (_root.battleblasty == true) {
_root.battleblasty = false;
}
if (_root.battleshelly == true) {
_root.battleshelly = false;
}
if (_root.battlespongy == true) {
_root.battlespongy = false;
}
if (_root.battlehelly == true) {
_root.battlehelly = false;
}
if (_root.battlewormy == true) {
_root.battlewormy = false;
}
if (_root.battlefishy == true) {
_root.battlefishy = false;
}
if (_root.battlepuffy == true) {
_root.battlepuffy = false;
}
if (_root.battlebuffy == true) {
_root.battlebuffy = false;
}
if (_root.battlescreamy == true) {
_root.battlescreamy = false;
}
if (_root.battlesticky == true) {
_root.battlesticky = false;
}
if (_root.battleslimey == true) {
_root.battleslimey = false;
}
if (_root.battleghosty == true) {
_root.battleghosty = false;
}
if (_root.battlerocky == true) {
_root.battlerocky = false;
}
Symbol 3273 MovieClip Frame 1304
gotoAndStop (1);
if (_root.battlespikey == true) {
_root.EnemyMain.spikey.gotoAndPlay("attacking");
}
if (_root.battlepointy == true) {
_root.EnemyMain.pointy.gotoAndPlay("pointyattacking");
}
if (_root.battlewingy == true) {
_root.EnemyMain.wingy.gotoAndPlay("wingyattacking");
}
if (_root.battleblasty == true) {
_root.EnemyMain.blasty.gotoAndPlay("blastyattacking");
}
if (_root.battleshelly == true) {
_root.EnemyMain.shelly.gotoAndPlay("shellyattacking");
}
if (_root.battlebuffy == true) {
_root.EnemyMain.buffy.gotoAndPlay("buffyattacking");
}
if (_root.battlerocky == true) {
_root.EnemyMain.rocky.gotoAndPlay("rockyattacking");
}
if (_root.battlespongy == true) {
_root.EnemyMain.spongy.gotoAndPlay("spongyattacking");
}
if (_root.battlehelly == true) {
_root.EnemyMain.helly.gotoAndPlay("hellyattacking");
}
if (_root.battlewormy == true) {
_root.EnemyMain.wormy.gotoAndPlay("wormyattacking");
}
if (_root.battlepuffy == true) {
_root.EnemyMain.puffy.gotoAndPlay("puffyattacking");
}
if (_root.battlefishy == true) {
_root.EnemyMain.fishy.gotoAndPlay("fishyattacking");
}
if (_root.battlescreamy == true) {
_root.EnemyMain.screamy.gotoAndPlay("screamyattacking");
}
if (_root.battlesticky == true) {
_root.EnemyMain.sticky.gotoAndPlay("stickyattacking");
}
if (_root.battleslimey == true) {
_root.EnemyMain.slimey.gotoAndPlay("slimeyattacking");
}
if (_root.battleghosty == true) {
_root.EnemyMain.ghosty.gotoAndPlay("ghostyattacking");
}
_root.Turn = "comp";
Symbol 3278 Button
on (release) {
getURL ("http://www.newgrounds.com");
}
Symbol 3285 Button
on (release) {
getURL ("http://www.starogre.com");
}
Symbol 3296 Button
on (release) {
play();
}
Symbol 3299 MovieClip Frame 91
stop();
Symbol 3299 MovieClip Frame 108
_root.gotoAndStop("credits");
Symbol 3301 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _rotation , random(360));
Symbol 3302 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 3302 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3302 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3310 MovieClip Frame 1215
_root.gotoAndPlay(1);
Symbol 3313 MovieClip Frame 2
_root.battlewizard = true;
gotoAndPlay (1);
Symbol 3336 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _yscale , scale);
setProperty(_target, _rotation , scale);
Symbol 3337 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 3337 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3337 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3352 MovieClip Frame 20
stop();
Symbol 3354 MovieClip Frame 1
duplicateMovieClip (crystal, x, x);
setProperty(crystal, _rotation , random(360));
Symbol 3354 MovieClip Frame 2
x = x + 1;
if (x > 10) {
x = 0;
}
gotoAndPlay (1);
Symbol 3356 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _rotation , random(360));
Symbol 3357 MovieClip Frame 1
i = 1;
max = 30;
x = getProperty("fire", _x);
Symbol 3357 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3357 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3363 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
setProperty(_target, _xscale , scale);
setProperty(_target, _rotation , random(360));
Symbol 3364 MovieClip Frame 1
i = 1;
max = 100;
x = getProperty("fire", _x);
Symbol 3364 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3364 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3367 MovieClip Frame 1
scale = Number(random(50)) + 30;
setProperty(_target, _x , (Number(../:x) + Number(random(12))) - 6);
setProperty(_target, _yscale , scale);
Symbol 3368 MovieClip Frame 1
i = 1;
max = 60;
x = getProperty("fire", _x);
Symbol 3368 MovieClip Frame 2
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
Symbol 3368 MovieClip Frame 3
if (Number(i) <= Number(max)) {
duplicateMovieClip ("fire", "fire" add i, i);
i = Number(i) + 1;
}
gotoAndPlay (2);
Symbol 3369 MovieClip Frame 1
_root.enemyHP = 90;
_root.enemyMP = 6;
_root.battlewizard = true;
_root.Turn = "guy";
Symbol 3369 MovieClip Frame 2
stop();
Symbol 3369 MovieClip Frame 3
_root.wizard.swapDepths(_root.battleguy);
Symbol 3369 MovieClip Frame 22
block = true;
spikeydmg = random(4) + 18;
Symbol 3369 MovieClip Frame 23
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 24
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 25
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 26
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3369 MovieClip Frame 27
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 28
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 3369 MovieClip Frame 51
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.wizard);
Symbol 3369 MovieClip Frame 55
gotoAndStop (2);
_root.Turn = "guy";
Symbol 3369 MovieClip Frame 56
_root.turn = "comp";
Symbol 3369 MovieClip Frame 58
_root.wizard.swapDepths(_root.battleguy);
Symbol 3369 MovieClip Frame 89
_root.battleguy.swapDepths(_root.wizard);
Symbol 3369 MovieClip Frame 90
gotoAndPlay (196);
Symbol 3369 MovieClip Frame 101
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking");
}
if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking");
} else {
_root.wizard.gotoAndPlay("wizardattacking");
}
}
Symbol 3369 MovieClip Frame 104
_root.wizard.swapDepths(_root.battleguy);
Symbol 3369 MovieClip Frame 152
block = true;
spikeymagic = Math.round(_root.hp / 2);
_root.battleguy.guystances.gotoAndStop("hit");
Symbol 3369 MovieClip Frame 153
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3369 MovieClip Frame 154
_root.enemyMP = _root.enemyMP - 1;
Symbol 3369 MovieClip Frame 186
_root.battleguy.guystances.gotoAndStop("stance");
_root.battleguy.swapDepths(_root.wizard);
Symbol 3369 MovieClip Frame 195
gotoAndStop (2);
_root.Turn = "guy";
Symbol 3369 MovieClip Frame 196
_root.enemyHP = 80;
_root.enemyMP = 3;
_root.battlewizard2 = true;
_root.battlewizard = false;
_root.Turn = "guy";
Symbol 3369 MovieClip Frame 197
stop();
Symbol 3369 MovieClip Frame 217
block = true;
spikeydmg = random(4) + 18;
Symbol 3369 MovieClip Frame 218
if (Key.isDown(32)) {
block = nothing;
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 219
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 220
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 221
if (Key.isDown(32)) {
if (block == true) {
spikeydmg = spikeydmg - 1;
_root.battleguy.guystances.gotoAndStop("block");
_root.wizard.blockstar.gotoAndPlay("starhit");
block = false;
}
} else if (block == true) {
_root.battleguy.guystances.gotoAndStop("hit");
block = nothing;
}
damage = spikeydmg;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
_root.hp = _root.hp - damage;
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3369 MovieClip Frame 222
if (block == nothing) {
_root.battleguy.guystances.gotoAndStop("hit");
}
Symbol 3369 MovieClip Frame 223
if (block == false) {
spikeydmg = spikeydmg + 1;
}
Symbol 3369 MovieClip Frame 246
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 3369 MovieClip Frame 250
gotoAndStop (197);
_root.Turn = "guy";
Symbol 3369 MovieClip Frame 251
_root.turn = "comp";
Symbol 3369 MovieClip Frame 410
_root.gotoAndStop("ending");
Symbol 3369 MovieClip Frame 411
_root.gotoAndPlay("map1");
_root.Menu = false;
_root.Turn = "guy";
_root.enemychooser = 0;
_root.battlewizard2 = false;
Symbol 3369 MovieClip Frame 443
_root.spikeyplay = random(2) + 1;
if (_root.spikeyplay == 1) {
_root.wizard.gotoAndPlay("wizardattacking2");
}
if (_root.spikeyplay == 2) {
if (_root.enemyMP > 0) {
_root.wizard.gotoAndPlay("wizardmagicattacking2");
} else {
_root.wizard.gotoAndPlay("wizardattacking2");
}
}
Symbol 3369 MovieClip Frame 473
spikeymagic = 10;
Symbol 3369 MovieClip Frame 477
damage = spikeymagic;
if ((damage < 0) || (damage == 0)) {
damage = 1;
}
if (_root.hp == 1) {
_root.hp - 1;
} else {
_root.hp = 1;
}
if ((_root.hp == 0) || (_root.hp < 0)) {
_root.battleguy.gotoAndPlay("dead");
_root.hp = 0;
}
Symbol 3369 MovieClip Frame 478
_root.enemyMP = _root.enemyMP - 1;
Symbol 3369 MovieClip Frame 542
_root.battleguy.guystances.gotoAndStop("stance");
Symbol 3369 MovieClip Frame 546
gotoAndStop (197);
_root.Turn = "guy";
Symbol 3371 MovieClip Frame 21
stop();
Symbol 3388 MovieClip Frame 621
_root.gotoAndStop("credits");