Frame 1
function itemHandler(obj, item) {
getURL ("http://necrolordofchaos.newgrounds.com/", "_blank");
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems(true);
_root.menu = root_cm;
_root.menu.customItems.push(new ContextMenuItem("Ultimate Gamer", itemHandler));
Instance of Symbol 18 MovieClip in Frame 1
on (release) {
_root.gotoAndStop("help");
}
Frame 2
stop();
var hp = 100;
var mana = 100;
var hppotions = 2;
var manapotions = 2;
var ehppotions = 2;
_root.hpp = _root.hppotions;
_root.mpp = _root.manapotions;
var enemyhp = 100;
var enemymana = 100;
_root.hpbar._xscale = _root.hp;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
_root.enemymanabar._xscale = _root.enemymana;
var isyourturn = true;
var isblocking = false;
var newwin = "win01";
var melee = 5;
var holybolt = 20;
var turnevil = 30;
var holyrain = 10;
var holyregen = 15;
var divinewrath = 35;
var manaholybolt = 20;
var manaturnevil = 40;
var manaholyrain = 10;
var manadivinewrath = 50;
var manadis = 50;
var curseturnleft = 0;
var meleehits = 1;
var holybolthits = 1;
var turnevilhits = 1;
var holyrainhits = 3;
var divinewrathhits = 2;
Instance of Symbol 21 MovieClip in Frame 2
on (rollOver) {
_root.infobar.gotoAndStop("empty");
}
Instance of Symbol 70 MovieClip "darkness" in Frame 2
onClipEvent (enterFrame) {
if (_root.isyourturn == false) {
if (_root.enemyhp <= 50) {
if (_root.ehppotions >= 1) {
_root.darkness.gotoAndStop("heal");
} else {
_root.darkness.gotoAndStop("attack");
}
} else {
if (_root.isblocking == false) {
_root.darkness.gotoAndStop("attack");
}
if (_root.isblocking == true) {
_root.cloud.gotoAndPlay("guard");
_root.evildamage.gotoAndPlay(2);
_root.evildamage.damage = 0;
_root.hpbar._xscale = _root.hp;
_root.isblocking = false;
_root.isyourturn = true;
}
}
}
if (_root.hp <= 0) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 139 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndPlay("attack");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("melee");
_root.infobar.manacost = 0;
_root.infobar.damage = _root.melee;
_root.infobar.hits = _root.meleehits;
_root.infobar.managain = _root.melee;
_root.infobar.healthgain = 0;
}
Instance of Symbol 141 MovieClip in Frame 2
on (release) {
_root.gotoAndStop("fight03");
}
Instance of Symbol 143 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndStop("holyregen");
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyregen");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = _root.holyregen;
_root.infobar.healthgain = _root.holyregen;
}
Instance of Symbol 145 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 146 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaturnevil) {
_root.cloud.gotoAndStop("turnevil");
}
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("turnevil");
_root.infobar.manacost = _root.manaturnevil;
_root.infobar.damage = _root.turnevil;
_root.infobar.hits = _root.turnevilhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 147 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaholybolt) {
_root.cloud.gotoAndStop("holybolt");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holybolt");
_root.infobar.manacost = _root.manaholybolt;
_root.infobar.damage = _root.holybolt;
_root.infobar.hits = _root.holybolthits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 148 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= (_root.manaholyrain * 3)) {
_root.cloud.gotoAndStop("holyrain");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyrain");
_root.infobar.manacost = _root.manaholyrain;
_root.infobar.damage = _root.holyrain;
_root.infobar.hits = _root.holyrainhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 150 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.hppotions >= 1) {
if (_root.hp <= 99) {
_root.cloud.gotoAndStop("heal");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("hp");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 0;
_root.infobar.healthgain = 50;
}
Instance of Symbol 152 MovieClip in Frame 2
on (release) {
if (_root.isyourturn == true) {
if (_root.manapotions >= 1) {
if (_root.mana <= 99) {
_root.cloud.gotoAndStop("manaup");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("mana");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 50;
_root.infobar.healthgain = 0;
}
Frame 3
stop();
var hp = 100;
var mana = 100;
var hppotions = 2;
var manapotions = 2;
var ehppotions = 2;
_root.hpp = _root.hppotions;
_root.mpp = _root.manapotions;
var enemyhp = 150;
var enemymana = 150;
_root.hpbar._xscale = _root.hp;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
_root.enemymanabar._xscale = _root.enemymana;
var isyourturn = true;
var isblocking = false;
var newwin = "win02";
var melee = 10;
var holybolt = 20;
var turnevil = 30;
var holyrain = 10;
var holyregen = 20;
var divinewrath = 35;
var manaholybolt = 20;
var manaturnevil = 40;
var manaholyrain = 10;
var manadivinewrath = 50;
var manadis = 50;
var curseturnleft = 0;
var meleehits = 1;
var holybolthits = 1;
var turnevilhits = 1;
var holyrainhits = 3;
var divinewrathhits = 2;
Instance of Symbol 21 MovieClip in Frame 3
on (rollOver) {
_root.infobar.gotoAndStop("empty");
}
Instance of Symbol 70 MovieClip "darkness" in Frame 3
onClipEvent (enterFrame) {
if (_root.isyourturn == false) {
if (_root.enemyhp <= 50) {
if (_root.ehppotions >= 1) {
_root.darkness.gotoAndStop("heal");
} else {
_root.darkness.gotoAndStop("attack");
}
} else {
if (_root.isblocking == false) {
_root.darkness.gotoAndStop("attack");
}
if (_root.isblocking == true) {
_root.cloud.gotoAndPlay("guard");
_root.evildamage.gotoAndPlay(2);
_root.evildamage.damage = 0;
_root.hpbar._xscale = _root.hp;
_root.isblocking = false;
_root.isyourturn = true;
}
}
}
if (_root.hp <= 0) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 145 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 139 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndPlay("attack");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("melee");
_root.infobar.manacost = 0;
_root.infobar.damage = _root.melee;
_root.infobar.hits = _root.meleehits;
_root.infobar.managain = _root.melee;
_root.infobar.healthgain = 0;
}
Instance of Symbol 143 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndStop("holyregen");
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyregen");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = _root.holyregen;
_root.infobar.healthgain = _root.holyregen;
}
Instance of Symbol 146 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaturnevil) {
_root.cloud.gotoAndStop("turnevil");
}
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("turnevil");
_root.infobar.manacost = _root.manaturnevil;
_root.infobar.damage = _root.turnevil;
_root.infobar.hits = _root.turnevilhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 147 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaholybolt) {
_root.cloud.gotoAndStop("holybolt");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holybolt");
_root.infobar.manacost = _root.manaholybolt;
_root.infobar.damage = _root.holybolt;
_root.infobar.hits = _root.holybolthits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 148 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= (_root.manaholyrain * 3)) {
_root.cloud.gotoAndStop("holyrain");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyrain");
_root.infobar.manacost = _root.manaholyrain;
_root.infobar.damage = _root.holyrain;
_root.infobar.hits = _root.holyrainhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 150 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.hppotions >= 1) {
if (_root.hp <= 99) {
_root.cloud.gotoAndStop("heal");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("mana");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 0;
_root.infobar.healthgain = 50;
}
Instance of Symbol 152 MovieClip in Frame 3
on (release) {
if (_root.isyourturn == true) {
if (_root.manapotions >= 1) {
if (_root.mana <= 99) {
_root.cloud.gotoAndStop("manaup");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("mana");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 50;
_root.infobar.healthgain = 0;
}
Frame 4
stop();
var hp = 100;
var mana = 100;
var hppotions = 2;
var manapotions = 2;
var ehppotions = 2;
_root.hpp = _root.hppotions;
_root.mpp = _root.manapotions;
var enemyhp = 200;
var enemymana = 200;
_root.hpbar._xscale = _root.hp;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
_root.enemymanabar._xscale = _root.enemymana;
var isyourturn = true;
var isblocking = false;
var newwin = "win03";
var melee = 10;
var holybolt = 20;
var turnevil = 30;
var holyrain = 10;
var holyregen = 20;
var divinewrath = 35;
var disint = 10;
var manaholybolt = 20;
var manaturnevil = 40;
var manaholyrain = 10;
var manadivinewrath = 50;
var manadis = 50;
var curseturnleft = 0;
var meleehits = 1;
var holybolthits = 1;
var turnevilhits = 1;
var holyrainhits = 3;
var divinewrathhits = 2;
function itemHandler(obj, item) {
getURL ("http://necrolordofchaos.newgrounds.com/", "_blank");
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems(true);
_root.menu = root_cm;
_root.menu.customItems.push(new ContextMenuItem("Ultimate Gamer", itemHandler));
Instance of Symbol 21 MovieClip in Frame 4
on (rollOver) {
_root.infobar.gotoAndStop("empty");
}
Instance of Symbol 243 MovieClip "darkness" in Frame 4
onClipEvent (enterFrame) {
if (_root.isyourturn == false) {
if (_root.enemyhp <= 50) {
if (_root.ehppotions >= 1) {
_root.darkness.gotoAndStop("heal");
} else {
_root.darkness.gotoAndStop("attack");
}
} else {
if (_root.isblocking == false) {
_root.darkness.gotoAndStop("attack");
}
if (_root.isblocking == true) {
_root.cloud.gotoAndPlay("guard");
_root.evildamage.gotoAndPlay(2);
_root.evildamage.damage = 0;
_root.hpbar._xscale = _root.hp;
_root.isblocking = false;
_root.isyourturn = true;
}
}
}
if (_root.hp <= 0) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 145 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 249 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= (_root.manadivinewrath * 2)) {
_root.cloud.gotoAndStop("divinewrath");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("divinewrath");
_root.infobar.manacost = _root.manadivinewrath;
_root.infobar.damage = _root.divinewrath;
_root.infobar.hits = _root.divinewrathhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 139 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndPlay("attack");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("melee");
_root.infobar.manacost = 0;
_root.infobar.damage = _root.melee;
_root.infobar.hits = _root.meleehits;
_root.infobar.managain = _root.melee;
_root.infobar.healthgain = 0;
}
Instance of Symbol 146 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaturnevil) {
_root.cloud.gotoAndStop("turnevil");
}
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("turnevil");
_root.infobar.manacost = _root.manaturnevil;
_root.infobar.damage = _root.turnevil;
_root.infobar.hits = _root.turnevilhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 147 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaholybolt) {
_root.cloud.gotoAndStop("holybolt");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holybolt");
_root.infobar.manacost = _root.manaholybolt;
_root.infobar.damage = _root.holybolt;
_root.infobar.hits = _root.holybolthits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 143 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndStop("holyregen");
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyregen");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = _root.holyregen;
_root.infobar.healthgain = _root.holyregen;
}
Instance of Symbol 148 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= (_root.manaholyrain * 3)) {
_root.cloud.gotoAndStop("holyrain");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyrain");
_root.infobar.manacost = _root.manaholyrain;
_root.infobar.damage = _root.holyrain;
_root.infobar.hits = _root.holyrainhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 150 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.hppotions >= 1) {
if (_root.hp <= 99) {
_root.cloud.gotoAndStop("heal");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("mana");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 0;
_root.infobar.healthgain = 50;
}
Instance of Symbol 152 MovieClip in Frame 4
on (release) {
if (_root.isyourturn == true) {
if (_root.manapotions >= 1) {
if (_root.mana <= 99) {
_root.cloud.gotoAndStop("manaup");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("mana");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 50;
_root.infobar.healthgain = 0;
}
Frame 5
stop();
var hp = 100;
var mana = 100;
var hppotions = 2;
var manapotions = 2;
var ehppotions = 2;
_root.hpp = _root.hppotions;
_root.mpp = _root.manapotions;
var enemyhp = 250;
var enemymana = 250;
_root.hpbar._xscale = _root.hp;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
_root.enemymanabar._xscale = _root.enemymana;
var isyourturn = true;
var isblocking = false;
var newwin = "win03";
var melee = 10;
var holybolt = 20;
var turnevil = 30;
var holyrain = 10;
var holyregen = 20;
var divinewrath = 35;
var disint = 10;
var manaholybolt = 20;
var manaturnevil = 40;
var manaholyrain = 10;
var manadivinewrath = 50;
var manadis = 50;
var disturnleft = 0;
var meleehits = 1;
var holybolthits = 1;
var turnevilhits = 1;
var holyrainhits = 3;
var divinewrathhits = 2;
Instance of Symbol 21 MovieClip in Frame 5
on (rollOver) {
_root.infobar.gotoAndStop("empty");
}
Instance of Symbol 243 MovieClip "darkness" in Frame 5
onClipEvent (enterFrame) {
if (_root.isyourturn == false) {
if (_root.enemyhp <= 50) {
if (_root.ehppotions >= 1) {
_root.darkness.gotoAndStop("heal");
} else {
_root.darkness.gotoAndStop("attack");
}
} else {
if (_root.isblocking == false) {
_root.darkness.gotoAndStop("attack");
}
if (_root.isblocking == true) {
_root.cloud.gotoAndPlay("guard");
_root.evildamage.gotoAndPlay(2);
_root.evildamage.damage = 0;
_root.hpbar._xscale = _root.hp;
_root.isblocking = false;
_root.isyourturn = true;
}
}
}
if (_root.hp <= 0) {
_root.gotoAndStop("lose");
}
}
Instance of Symbol 150 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.hppotions >= 1) {
if (_root.hp <= 99) {
_root.cloud.gotoAndStop("heal");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("mana");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 0;
_root.infobar.healthgain = 50;
}
Instance of Symbol 152 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.manapotions >= 1) {
if (_root.mana <= 99) {
_root.cloud.gotoAndStop("manaup");
}
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("mana");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = 50;
_root.infobar.healthgain = 0;
}
Instance of Symbol 145 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 145 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= 20) {
_root.cloud.gotoAndStop("attack2");
}
}
}
Instance of Symbol 249 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= (_root.manadivinewrath * 2)) {
_root.cloud.gotoAndStop("divinewrath");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("divinewrath");
_root.infobar.manacost = _root.manadivinewrath;
_root.infobar.damage = _root.divinewrath;
_root.infobar.hits = _root.divinewrathhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 139 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndPlay("attack2");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("melee");
_root.infobar.manacost = 0;
_root.infobar.damage = _root.melee;
_root.infobar.hits = _root.meleehits;
_root.infobar.managain = _root.melee;
_root.infobar.healthgain = 0;
}
Instance of Symbol 146 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaturnevil) {
_root.cloud.gotoAndStop("turnevil");
}
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("turnevil");
_root.infobar.manacost = _root.manaturnevil;
_root.infobar.damage = _root.turnevil;
_root.infobar.hits = _root.turnevilhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 147 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= _root.manaholybolt) {
_root.cloud.gotoAndStop("holybolt");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holybolt");
_root.infobar.manacost = _root.manaholybolt;
_root.infobar.damage = _root.holybolt;
_root.infobar.hits = _root.holybolthits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Instance of Symbol 143 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
_root.cloud.gotoAndStop("holyregen");
}
if (_root.enemyhp <= 0) {
_root.gotoAndStop("win");
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyregen");
_root.infobar.manacost = 0;
_root.infobar.damage = 0;
_root.infobar.hits = 0;
_root.infobar.managain = _root.holyregen;
_root.infobar.healthgain = _root.holyregen;
}
Instance of Symbol 148 MovieClip in Frame 5
on (release) {
if (_root.isyourturn == true) {
if (_root.mana >= (_root.manaholyrain * 3)) {
_root.cloud.gotoAndStop("holyrain");
}
}
}
on (rollOver) {
_root.infobar.gotoAndStop("holyrain");
_root.infobar.manacost = _root.manaholyrain;
_root.infobar.damage = _root.holyrain;
_root.infobar.hits = _root.holyrainhits;
_root.infobar.managain = 0;
_root.infobar.healthgain = 0;
}
Frame 6
stop();
Instance of Symbol 107 MovieClip in Frame 6
on (release) {
_root.gotoAndStop("fight02");
}
Frame 7
stop();
Instance of Symbol 107 MovieClip in Frame 7
on (release) {
_root.gotoAndStop("fight03");
}
Frame 8
stop();
Instance of Symbol 107 MovieClip in Frame 8
on (release) {
_root.gotoAndStop("fight04");
}
Frame 9
stop();
Instance of Symbol 277 MovieClip in Frame 9
on (release) {
_root.gotoAndStop("fight01");
}
Frame 10
stop();
Instance of Symbol 284 MovieClip in Frame 10
on (release) {
_root.gotoAndStop("loader");
}
Symbol 9 MovieClip Frame 29
gotoAndPlay (1);
Symbol 9 MovieClip Frame 65
gotoAndPlay ("ready_loop");
Symbol 9 MovieClip Frame 85
_root.play();
Symbol 15 Button
on (press) {
_root.loader.hank.gotoAndPlay("go");
play();
}
Symbol 16 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
_root.loader.hank.gotoAndPlay("ready");
}
Symbol 16 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 MovieClip Frame 5
stop();
Symbol 64 MovieClip Frame 40
_root.evildamage.gotoAndPlay(2);
_root.evildamage.damage = 10;
_root.hp = _root.hp - 10;
_root.hpbar._xscale = _root.hp;
_root.isyourturn = true;
Symbol 64 MovieClip Frame 72
_parent.gotoAndStop("idle");
Symbol 69 MovieClip Frame 1
_root.enemyhp = _root.enemyhp + 50;
if (_root.enemyhp >= 101) {
_root.enemyhp = 100;
}
_root.enemyhpbar._xscale = _root.enemyhp;
_root.isyourturn = true;
_root.ehppotions = _root.ehppotions - 1;
if (_root.hp <= 0) {
_root.gotoAndStop("lose");
}
Symbol 69 MovieClip Frame 20
_parent.gotoAndStop("idle");
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 10
stop();
Symbol 70 MovieClip Frame 20
stop();
Symbol 70 MovieClip Frame 30
stop();
Symbol 89 MovieClip Frame 25
_root.holydamage.gotoAndPlay(2);
_root.holydamage.damage = _root.melee;
_root.enemyhp = _root.enemyhp - _root.melee;
_root.mana = _root.mana + _root.melee;
if (_root.mana >= 101) {
_root.mana = 100;
}
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 89 MovieClip Frame 50
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 93 MovieClip Frame 25
_root.holydamage.gotoAndPlay(2);
_root.holydamage.damage = _root.holybolt;
_root.enemyhp = _root.enemyhp - _root.holybolt;
_root.mana = _root.mana - _root.manaholybolt;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 93 MovieClip Frame 37
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 98 MovieClip Frame 1
_root.hp = _root.hp + 50;
if (_root.hp >= 101) {
_root.hp = 100;
}
_root.hpbar._xscale = _root.hp;
_root.hppotions = _root.hppotions - 1;
_root.hpp = _root.hppotions;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 98 MovieClip Frame 20
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 102 MovieClip Frame 1
_root.mana = _root.mana + 50;
if (_root.mana >= 101) {
_root.mana = 100;
}
_root.manabar._xscale = _root.mana;
_root.manapotions = _root.manapotions - 1;
_root.mpp = _root.manapotions;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 102 MovieClip Frame 20
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 109 MovieClip Frame 15
_root.holydamage.gotoAndPlay(2);
_root.holydamage.damage = _root.turnevil;
_root.enemyhp = _root.enemyhp - _root.turnevil;
_root.mana = _root.mana - _root.manaturnevil;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 109 MovieClip Frame 40
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 119 MovieClip Frame 1
_root.hp = _root.hp + _root.holyregen;
_root.mana = _root.mana + _root.holyregen;
if (_root.hp >= 101) {
_root.hp = 100;
}
if (_root.mana >= 101) {
_root.mana = 100;
}
hpamount = _root.holyregen;
manaamount = _root.holyregen;
_root.hpbar._xscale = _root.hp;
_root.manabar._xscale = _root.mana;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 119 MovieClip Frame 20
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 120 MovieClip Frame 25
_root.holydamage.gotoAndPlay(2);
_root.holydamage.damage = _root.holyrain;
_root.enemyhp = _root.enemyhp - _root.holyrain;
_root.mana = _root.mana - _root.manaholyrain;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 120 MovieClip Frame 28
_root.holydamage2.gotoAndPlay(2);
_root.holydamage2.damage = _root.holyrain;
_root.enemyhp = _root.enemyhp - _root.holyrain;
_root.mana = _root.mana - _root.manaholyrain;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 120 MovieClip Frame 31
_root.holydamage3.gotoAndPlay(2);
_root.holydamage3.damage = _root.holyrain;
_root.enemyhp = _root.enemyhp - _root.holyrain;
_root.mana = _root.mana - _root.manaholyrain;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 120 MovieClip Frame 40
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 125 MovieClip Frame 32
_root.holydamage.gotoAndPlay(2);
_root.holydamage.damage = _root.divinewrath;
_root.enemyhp = _root.enemyhp - _root.divinewrath;
_root.mana = _root.mana - _root.manadivinewrath;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 125 MovieClip Frame 42
_root.holydamage2.gotoAndPlay(2);
_root.holydamage2.damage = _root.divinewrath;
_root.enemyhp = _root.enemyhp - _root.divinewrath;
_root.mana = _root.mana - _root.manadivinewrath;
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 125 MovieClip Frame 70
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 126 MovieClip Frame 25
_root.holydamage.gotoAndPlay(2);
_root.holydamage.damage = _root.melee;
_root.enemyhp = _root.enemyhp - _root.melee;
_root.mana = _root.mana + _root.melee;
if (_root.mana >= 101) {
_root.mana = 100;
}
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 126 MovieClip Frame 70
_root.holydamage.gotoAndPlay(2);
_root.holydamage.damage = _root.melee;
_root.enemyhp = _root.enemyhp - _root.melee;
_root.mana = _root.mana + _root.melee;
if (_root.mana >= 101) {
_root.mana = 100;
}
_root.manabar._xscale = _root.mana;
_root.enemyhpbar._xscale = _root.enemyhp;
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
Symbol 126 MovieClip Frame 100
if (_root.enemyhp <= 0) {
_root.gotoAndStop(_root.newwin);
}
_root.isyourturn = false;
_parent.gotoAndStop("idle");
Symbol 127 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 10
stop();
Symbol 127 MovieClip Frame 20
stop();
Symbol 127 MovieClip Frame 30
stop();
Symbol 127 MovieClip Frame 40
stop();
Symbol 127 MovieClip Frame 50
stop();
Symbol 127 MovieClip Frame 60
stop();
Symbol 127 MovieClip Frame 70
stop();
Symbol 127 MovieClip Frame 80
stop();
Symbol 127 MovieClip Frame 90
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 52
_root.evildamage.gotoAndPlay(2);
_root.evildamage.damage = 10;
_root.hp = _root.hp - 10;
_root.hpbar._xscale = _root.hp;
Symbol 241 MovieClip Frame 56
_root.evildamage2.gotoAndPlay(2);
_root.evildamage2.damage = 10;
_root.hp = _root.hp - 10;
_root.hpbar._xscale = _root.hp;
_root.isyourturn = true;
Symbol 241 MovieClip Frame 95
_parent.gotoAndStop("idle");
Symbol 242 MovieClip Frame 1
_root.enemyhp = _root.enemyhp + 50;
if (_root.enemyhp >= 101) {
_root.enemyhp = 100;
}
_root.enemyhpbar._xscale = _root.enemyhp;
_root.isyourturn = true;
_root.ehppotions = _root.ehppotions - 1;
if (_root.hp <= 0) {
_root.gotoAndStop("lose");
}
Symbol 242 MovieClip Frame 20
_parent.gotoAndStop("idle");
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 10
stop();
Symbol 243 MovieClip Frame 20
stop();