Frame 2
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
gotoAndPlay (1);
}
Frame 3
gotoAndPlay (4);
Frame 4
stop();
fscommand ("fullscreen", "true");
fscommand ("allowscale", "false");
Frame 5
battlestart = "true";
battleover = "false";
actiontype = "null";
tech = "null";
select = "false";
enemycount = 1;
allycount = 1;
redhp = 5000;
redap = 5000;
bluehp = 90900 /* 0x016314 */;
bluehpcontrol = 90900 /* 0x016314 */;
blueap = 5000;
calcspcl = "false";
calcdmg = "false";
calcdmg2 = "false";
damage = "null";
damage2 = "null";
miss = "null";
miss2 = "null";
weapon = "null";
heal = "null";
confirm = "false";
setProperty("_root.enemymenu", _visible , false);
setProperty("_root.itemmenu", _visible , false);
setProperty("_root.spclmenu", _visible , false);
setProperty("_root.menu", _visible , false);
setProperty("_root.charmenu", _visible , false);
setProperty("_root.menu.cancel", _visible , false);
setProperty("_root.equipmenu", _visible , false);
setProperty("_root.replay", _visible , false);
setProperty("_root.graphics", _visible , false);
cancel = "false";
Frame 24
stop();
Symbol 2 MovieClip Frame 1
setProperty(this, _xscale , (_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
Symbol 2 MovieClip Frame 2
gotoAndPlay (1);
Symbol 17 Button
on (release) {
gotoAndStop (5);
}
Symbol 18 MovieClip Frame 1
stopAllSounds();
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 35 MovieClip Frame 5
stop();
Symbol 39 MovieClip Frame 35
stop();
Symbol 57 MovieClip Frame 15
stop();
_root.allycount = _root.allycount - 1;
Symbol 81 MovieClip Frame 20
gotoAndPlay (1);
Symbol 81 MovieClip Frame 40
gotoAndPlay (21);
Symbol 81 MovieClip Frame 48
_root.calcdmg = "true";
Symbol 81 MovieClip Frame 72
gotoAndPlay (21);
if (_root.battleover == "false") {
with (_root.turn) {
gotoAndPlay("enemy1");
}
}
Symbol 81 MovieClip Frame 100
setProperty("_root.message", _visible , true);
_root.message.message = "SWOD BEATS BLUE BALL!";
stop();
with (_root.fadein) {
gotoAndPlay("defeat");
}
Symbol 81 MovieClip Frame 117
gotoAndPlay (21);
Symbol 81 MovieClip Frame 127
gotoAndPlay (21);
Symbol 81 MovieClip Frame 128
setProperty("_root.menu", _visible , false);
Symbol 81 MovieClip Frame 163
_root.calcspcl = "true";
Symbol 81 MovieClip Frame 179
gotoAndPlay (21);
if (_root.battleover == "false") {
with (_root.turn) {
gotoAndPlay("enemy1");
}
}
Symbol 81 MovieClip Frame 184
_root.calcdmg = "true";
Symbol 81 MovieClip Frame 203
gotoAndPlay (1);
if (_root.battleover == "false") {
with (_root.turn) {
gotoAndStop("enemy1");
}
}
Symbol 81 MovieClip Frame 220
gotoAndPlay (1);
Symbol 81 MovieClip Frame 229
gotoAndPlay (1);
Symbol 81 MovieClip Frame 233
stop();
_root.confirm = "true";
Symbol 81 MovieClip Frame 242
if (_root.battleover == "false") {
gotoAndPlay (1);
}
Symbol 81 MovieClip Frame 245
stop();
_root.confirm = "true";
Symbol 81 MovieClip Frame 254
if (_root.battleover == "false") {
gotoAndPlay (21);
}
Symbol 81 MovieClip Frame 270
oldredhp = _root.redhp;
_root.redhp = _root.redhp + 3000;
if (_root.redhp > 5000) {
_root.redhp = 5000;
_root.heal = 5000 - oldredhp;
tellTarget ("_root.damage2") {
gotoAndPlay ("heal2");
};
} else {
_root.heal = 3000;
tellTarget ("_root.damage2") {
gotoAndPlay ("heal2");
};
}
Symbol 81 MovieClip Frame 280
gotoAndPlay (21);
if (_root.battleover == "false") {
with (_root.turn) {
gotoAndPlay("enemy1");
}
}
Symbol 81 MovieClip Frame 294
oldredhp = _root.redhp;
_root.redhp = _root.redhp + 3000;
if (_root.redhp > 5000) {
_root.redhp = 5000;
_root.heal = 5000 - oldredhp;
tellTarget ("_root.damage2") {
gotoAndPlay ("heal2");
};
} else {
_root.heal = 3000;
tellTarget ("_root.damage2") {
gotoAndPlay ("heal2");
};
}
Symbol 81 MovieClip Frame 305
gotoAndPlay (1);
if (_root.battleover == "false") {
with (_root.turn) {
gotoAndPlay("enemy1");
}
}
Symbol 84 Button
on (rollOver) {
setProperty("_root.npc.cursor1", _visible , true);
}
on (rollOut) {
setProperty("_root.npc.cursor1", _visible , false);
}
on (release) {
if (_root.actiontype == "attack") {
_root.actiontype = "null";
_root.select = "false";
setProperty("_root.menu", _visible , false);
setProperty("_root.npc.cursor1", _visible , false);
setProperty("_root.npc.select1", _visible , false);
with (_root.label) {
gotoAndStop("null");
}
with (_root.character) {
gotoAndPlay(_root.weapon + "attack");
}
}
}
on (release) {
if (_root.actiontype == "special") {
_root.actiontype = "null";
_root.select = "false";
_root.redap = _root.redap - 2500;
setProperty("_root.menu", _visible , false);
setProperty("_root.npc.cursor1", _visible , false);
setProperty("_root.npc.select1", _visible , false);
with (_root.label) {
gotoAndStop("null");
}
with (_root.character) {
gotoAndPlay("nova");
}
}
}
on (release) {
setProperty("_root.menu.cancel", _visible , false);
}
Symbol 89 MovieClip Frame 1
setProperty("_root.npc.cursor1", _visible , false);
setProperty("_root.npc.select1", _visible , false);
Symbol 94 MovieClip Frame 35
stop();
Symbol 98 MovieClip Frame 54
stop();
_root.enemycount = _root.enemycount - 1;
Symbol 111 MovieClip Frame 20
gotoAndPlay (1);
Symbol 111 MovieClip Frame 37
gotoAndPlay (1);
Symbol 111 MovieClip Frame 55
_root.calcdmg2 = "true";
Symbol 111 MovieClip Frame 70
gotoAndPlay (1);
if (_root.battleover == "false") {
with (_root.turn) {
gotoAndPlay("char1");
}
}
Symbol 111 MovieClip Frame 82
gotoAndPlay (1);
with (_root.turn) {
gotoAndPlay("char1");
}
Symbol 111 MovieClip Frame 201
_root.calcspcl2 = "true";
Symbol 111 MovieClip Frame 265
gotoAndPlay (1);
if (_root.battleover == "false") {
with (_root.turn) {
gotoAndPlay("char1");
}
}
Symbol 117 MovieClip Frame 1
setProperty("_root.message2", _visible , false);
setProperty("_root.message", _visible , false);
stop();
Symbol 117 MovieClip Frame 80
gotoAndPlay (1);
setProperty("_root.message", _visible , false);
_root.message.message = "";
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 40
gotoAndPlay (1);
Symbol 124 MovieClip Frame 80
gotoAndPlay (1);
Symbol 124 MovieClip Frame 81
gotoAndPlay (1);
Symbol 126 MovieClip Frame 1
if (_root.bluehp <= 0) {
_root.bluehp = 0;
_root.battleover = "true";
setProperty("_root.menu", _visible , false);
with (_root.npc) {
gotoAndStop("death");
}
}
if (_root.redhp <= 0) {
_root.redhp = 0;
_root.battleover = "true";
setProperty("_root.menu", _visible , false);
with (_root.character) {
gotoAndStop(_root.weapon + "death");
}
}
if (_root.weapon == "swod") {
if (_root.cancel == "false") {
_root.cancel = "true";
setProperty("_root.spclmenu.nova", _visible , true);
setProperty("_root.spclmenu.novanull", _visible , false);
}
}
if (_root.weapon != "swod") {
setProperty("_root.spclmenu.nova", _visible , false);
setProperty("_root.spclmenu.novanull", _visible , true);
}
_root.miss2 = random(10);
if (_root.calcdmg2 == "true") {
if (_root.miss2 == 1) {
tellTarget ("_root.damage2") {
gotoAndPlay ("miss2");
};
with (_root.character) {
gotoAndPlay(_root.weapon + "miss");
}
_root.calcdmg2 = "false";
}
if (_root.miss2 != 1) {
if (_root.actiontype != "guard") {
_root.damage2 = 500 + random(100);
_root.redhp = _root.redhp - _root.damage2;
if (_root.redhp <= 0) {
_root.redhp = 0;
}
tellTarget ("_root.damage2") {
gotoAndPlay ("damage2");
};
with (_root.character) {
gotoAndPlay(_root.weapon + "hit");
}
_root.calcdmg2 = "false";
}
}
}
if (_root.calcdmg == "true") {
_root.miss = random(10);
if (_root.miss == 1) {
tellTarget ("_root.damage") {
gotoAndPlay ("miss");
};
with (_root.npc) {
gotoAndPlay("miss");
}
_root.calcdmg = "false";
} else if (_root.miss != 1) {
if (_root.weapon == "swod") {
_root.damage = 9999;
_root.bluehp = _root.bluehp - _root.damage;
if (_root.bluehp <= 0) {
_root.bluehp = 0;
}
tellTarget ("_root.damage") {
gotoAndPlay ("damage");
};
with (_root.npc) {
gotoAndPlay("hit");
}
_root.calcdmg = "false";
}
if (_root.weapon == "null") {
_root.damage = 400 + random(15);
_root.bluehp = _root.bluehp - _root.damage;
if (_root.bluehp <= 0) {
_root.bluehp = 0;
}
tellTarget ("_root.damage") {
gotoAndPlay ("damage");
};
with (_root.npc) {
gotoAndPlay("hit");
}
_root.calcdmg = "false";
}
}
}
if (_root.calcdmg2 == "true") {
if (_root.actiontype == "guard") {
_root.damage2 = 500 + random(100);
_root.damage2 = _root.damage2 - 250;
_root.redhp = _root.redhp - _root.damage2;
_root.calcdmg2 = "false";
_root.actiontype = "null";
_root.confirm = "false";
with (_root.character) {
gotoAndPlay(_root.weapon + "guardhit");
}
tellTarget ("_root.damage2") {
gotoAndPlay ("damage2");
};
if (_root.redhp <= 0) {
_root.redhp = 0;
}
}
}
if (_root.calcspcl == "true") {
_root.damage = 19000 + random(1000);
_root.bluehp = _root.bluehp - _root.damage;
if (_root.bluehp <= 0) {
_root.bluehp = 0;
}
tellTarget ("_root.damage") {
gotoAndPlay ("damage");
};
with (_root.npc) {
gotoAndPlay("hit");
}
_root.calcspcl = "false";
}
if (_root.calcspcl2 == "true") {
if (_root.actiontype == "guard") {
_root.damage2 = 2000 + random(500);
_root.damage2 = _root.damage2 - 1000;
_root.redhp = _root.redhp - _root.damage2;
if (_root.redhp <= 0) {
_root.redhp = 0;
}
tellTarget ("_root.damage2") {
gotoAndPlay ("damage");
};
with (_root.character) {
gotoAndPlay(_root.weapon + "hit");
}
_root.calcspcl2 = "false";
}
}
if (_root.calcspcl2 == "true") {
if (_root.actiontype != "guard") {
_root.damage2 = 2000 + random(500);
_root.redhp = _root.redhp - _root.damage2;
if (_root.redhp <= 0) {
_root.redhp = 0;
}
tellTarget ("_root.damage2") {
gotoAndPlay ("damage");
};
with (_root.character) {
gotoAndPlay(_root.weapon + "hit");
}
_root.calcspcl2 = "false";
}
}
if (_root.allycount == 0) {
_root.allycount = "null";
_root.enemycount = "null";
_root.message2.message = "HA HA! I AM THE VICTORY.";
setProperty("_root.message2", _visible , true);
with (_root.turn) {
gotoAndStop("defeat");
}
with (_root.npc) {
gotoAndStop("defeat");
}
with (_root.fadein) {
gotoAndPlay("defeat");
}
}
if (_root.enemycount == 0) {
_root.enemycount = "null";
_root.allycount = "null";
with (_root.character) {
gotoAndPlay("victory");
}
with (_root.turn) {
gotoAndStop("victory");
}
}
Symbol 126 MovieClip Frame 2
gotoAndPlay (1);
gotoAndPlay (1);
gotoAndPlay (1);
gotoAndPlay (1);
gotoAndPlay (1);
Symbol 128 Button
on (release) {
_root.redhp = 0;
}
Symbol 130 Button
on (release) {
_root.bluehp = 0;
}
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
if (_root.battleover == "false") {
setProperty("_root.menu", _visible , true);
}
Symbol 135 MovieClip Frame 3
stop();
setProperty("_root.menu", _visible , false);
Symbol 135 MovieClip Frame 4
stop();
setProperty("_root.menu", _visible , false);
Symbol 135 MovieClip Frame 5
stop();
setProperty("_root.npc.cursor1", _visible , false);
setProperty("_root.npc.select1", _visible , false);
setProperty("_root.menu", _visible , false);
if (_root.battleover == "false") {
_root.enmyspecial = random(5);
if (_root.enmyspecial == 1) {
if (_root.blueap >= 2500) {
with (_root.npc) {
gotoAndPlay("lightning");
_root.blueap = _root.blueap - 2500;
}
} else {
with (_root.npc) {
gotoAndPlay("attack");
}
}
}
}
if (_root.enmyspecial != 1) {
with (_root.npc) {
gotoAndPlay("attack");
}
}
Symbol 135 MovieClip Frame 6
stop();
Symbol 135 MovieClip Frame 7
stop();
Symbol 135 MovieClip Frame 8
stop();
Symbol 135 MovieClip Frame 9
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 41
gotoAndPlay (1);
Symbol 137 MovieClip Frame 81
gotoAndPlay (1);
Symbol 151 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
if (_root.bluehp == _root.bluehpcontrol) {
with (_root.enemymenu.lifebar) {
gotoAndStop("100%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.9)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("90%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.8)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("80%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.7)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("70%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.6)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("60%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.5)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("50%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.4)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("40%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.3)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("30%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.2)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("20%");
}
}
if (_root.bluehp <= (_root.bluehpcontrol * 0.1)) {
with (_root.enemymenu.lifebar) {
gotoAndStop("10%");
}
}
if (_root.bluehp <= 0) {
with (_root.enemymenu.lifebar) {
gotoAndStop("nohp");
}
}
Symbol 154 MovieClip Frame 2
gotoAndPlay (1);
Symbol 164 MovieClip Frame 1
stop();
Symbol 167 Button
on (rollOver) {
setProperty("_root.spclmenu", _visible , "false");
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("special");
}
}
}
on (rollOut) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
on (release) {
if (_root.select == "false") {
_root.actiontype = "special";
_root.select = "true";
setProperty("_root.menu.cancel", _visible , true);
setProperty("_root.spclmenu", _visible , true);
with (_root.label) {
gotoAndStop("techselect");
}
}
}
on (release, keyPress "8") {
setProperty("_root.message", _visible , false);
}
Symbol 170 Button
on (rollOver) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("attack");
}
}
}
on (rollOut) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
on (release) {
if (_root.select == "false") {
_root.actiontype = "attack";
_root.select = "true";
setProperty("_root.npc.select1", _visible , true);
setProperty("_root.npc.cursor1", _visible , true);
setProperty("_root.menu.cancel", _visible , true);
with (_root.label) {
gotoAndStop("select");
}
}
}
on (release) {
setProperty("_root.message", _visible , false);
}
Symbol 172 Button
on (rollOver) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("itemselect");
}
}
}
on (rollOut) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
on (release) {
if (_root.select == "false") {
_root.actiontype = "item";
_root.select = "true";
setProperty("_root.itemmenu", _visible , true);
setProperty("_root.menu.cancel", _visible , true);
with (_root.label) {
gotoAndStop("select");
}
}
}
on (release, keyPress "6") {
setProperty("_root.message", _visible , false);
}
Symbol 174 Button
on (rollOver, keyPress "4") {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("guard");
}
}
}
on (rollOut) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
on (release) {
if (_root.select == "false") {
_root.actiontype = "guard";
_root.select = "true";
setProperty("_root.menu.cancel", _visible , true);
with (_root.character) {
gotoAndPlay(_root.weapon + "guard");
}
}
}
on (release) {
if (_root.confirm == "true") {
_root.confirm = "false";
_root.select = "false";
setProperty("_root.menu.cancel", _visible , "false");
with (_root.turn) {
gotoAndPlay("enemy1");
}
}
}
on (release, keyPress "4") {
setProperty("_root.message", _visible , false);
}
Symbol 176 Button
on (rollOver) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("equip");
}
}
}
on (rollOut) {
if (_root.select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
on (release) {
if (_root.select == "false") {
setProperty("_root.equipmenu", _visible , true);
setProperty("_root.menu.cancel", _visible , true);
_root.select = "true";
_root.actiontype = "equip";
with (_root.label) {
gotoAndStop("equipselect");
}
}
}
on (release) {
setProperty("_root.message", _visible , false);
}
Symbol 178 Button
on (release) {
setProperty("_root.spclmenu", _visible , false);
setProperty("_root.equipmenu", _visible , false);
setProperty("_root.itemmenu", _visible , false);
setProperty("_root.npc.cursor1", _visible , false);
setProperty("_root.npc.select1", _visible , false);
setProperty("_root.menu.cancel", _visible , false);
_root.special = "false";
_root.confirm = "false";
_root.attack = "false";
_root.select = "false";
with (_root.label) {
gotoAndStop("null");
}
with (_root.character) {
if (_root.weapon == "null") {
gotoAndPlay("basic");
}
if (_root.weapon == "swod") {
gotoAndPlay("swod");
}
}
}
Symbol 179 Button
on (rollOver) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("special");
}
}
}
on (rollOut) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
Symbol 180 Button
on (rollOver) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("attack");
}
}
}
on (rollOut) {
if (../:select == "false") {
if (../:atack == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
}
on (release) {
Set("../:attack", "true");
Set("../:select", "true");
setProperty("_root.npc.select1", _visible , true);
setProperty("_root.npc.cursor1", _visible , true);
with (_root.label) {
gotoAndStop("select");
}
}
Symbol 181 Button
on (rollOver) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("item");
}
}
}
on (rollOut) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
Symbol 182 Button
on (rollOver) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("guard");
}
}
}
on (rollOut) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
Symbol 183 Button
on (rollOver) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("equip");
}
}
}
on (rollOut) {
if (../:select == "false") {
with (_root.label) {
gotoAndStop("null");
}
}
}
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 2
stop();
Symbol 184 MovieClip Frame 3
stop();
Symbol 194 MovieClip Frame 1
setProperty(_root._root.equipmenu.equip1null, _visible , false);
Symbol 196 Button
on (release) {
_root.weapon = "swod";
with (_root.character) {
gotoAndPlay("swod");
setProperty("_root.equipmenu.equip1null", _visible , true);
setProperty("_root.equipmenu.swoditem", _visible , false);
setProperty("_root.equipmenu", _visible , false);
setProperty("_root.menu.cancel", _visible , false);
_root.actiontype = "null";
_root.select = "false";
with (_root.label) {
gotoAndStop("null");
}
}
}
on (release) {
with (_root.message) {
gotoAndPlay("timedmessage");
}
setProperty("_root.message", _visible , true);
_root.message.message = "I HAVE SWOD!";
}
Symbol 202 Button
on (release) {
_root.select = "false";
_root.actiontype = "null";
setProperty("_root.itemmenu.item1null", _visible , true);
setProperty("_root.itemmenu.item1", _visible , false);
setProperty("_root.itemmenu", _visible , false);
setProperty("_root.menu", _visible , false);
setProperty("_root.menu.cancel", _visible , false);
with (_root.label) {
gotoAndStop("null");
}
with (_root.character) {
gotoAndPlay(_root.weapon + "heal");
}
}
Symbol 208 MovieClip Frame 1
setProperty("_root.spclmenu.novanull", _visible , false);
Symbol 211 Button
on (release) {
_root.tech = "nova";
setProperty("_root.npc.select1", _visible , true);
setProperty("_root.npc.cursor1", _visible , true);
setProperty("_root.spclmenu", _visible , false);
with (_root.label) {
gotoAndStop("select");
}
}
Symbol 219 MovieClip Frame 1
if (_root.redap < 2500) {
setProperty("_root.spclmenu.novanull", _visible , true);
setProperty("_root.spclmenu.nova", _visible , false);
}
Symbol 219 MovieClip Frame 2
gotoAndPlay (1);
Symbol 221 MovieClip Frame 25
setProperty("_root.enemymenu", _visible , "1");
setProperty("_root.charmenu", _visible , "1");
setProperty("_root.menu", _visible , "1");
stop();
Symbol 221 MovieClip Frame 166
stop();
setProperty("_root.replay", _visible , true);
setProperty("_root.graphics", _visible , true);
Symbol 226 Button
on (release) {
gotoAndPlay (6);
}
Symbol 230 Button
on (release) {
gotoAndPlay (4);
}
Symbol 269 Button
on (release) {
gotoAndPlay (4);
}