Frame 1
loading = getBytesLoaded();
total = getBytesTotal();
percent = (loading / total) * 100;
per = int(percent);
if (percent == 100) {
gotoAndStop (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
play.onRelease = function () {
gotoAndPlay (101);
};
tc = 0;
_global.meleew = "<None>";
_global.rangew = "<None>";
_global.mr = 1;
_global.h_type = "Makie (Red)";
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
_global.h_sc = 0;
_global.hw = 1;
_global.c_type = "Makie (Red)";
_global.c_sc = 0;
_global.cw = 1;
_global.r_type = "Makie (Red)";
_global.r_sc = 0;
_global.rw = 1;
_global.f_type = "Makie (Red)";
_global.f_sc = 0;
_global.fw = 1;
_global.l_type = "Makie (Red)";
_global.l_sc = 0;
_global.lw = 7;
_global.ht_hp = 1;
_global.ct_hp = 5;
_global.rt_hp = 0;
_global.ft_hp = 0;
_global.lt_hp = 3;
_global.h_hp = 1;
_global.c_hp = 5;
_global.r_hp = 0;
_global.f_hp = 0;
_global.l_hp = 3;
_global.t_pc = 0;
_global.t_bm = 1;
_global.t_sp = 2;
_global.w_sc = 0;
_global.tw_sc = 0;
_global.ww = 0;
_global.bweight = false;
_global.bstats = false;
_global.bequipt = false;
_global.rhand = true;
_global.fhand = true;
_global.whand = false;
_global.rlift = 3;
_global.flift = 3;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1e = _global.s1name;
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2e = _global.s2name;
_global.s2sc = 0;
_global.s3 = false;
_global.s3name = " ";
_global.s3e = _global.s3name;
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4e = _global.s4name;
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5e = _global.s5name;
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6e = _global.s6name;
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7e = _global.s7name;
_global.s7sc = 0;
_global.melee = "<None>";
_global.range = "<None>";
_global.credits = 100;
ht_sc = 1;
ct_sc = 1;
ft_sc = 1;
rt_sc = 1;
lt_sc = 1;
wt_sc = 0;
_global.h_sc = 1;
_global.c_sc = 1;
_global.f_sc = 1;
_global.r_sc = 1;
_global.l_sc = 1;
_global.w_sc = 0;
_global.t_amo = false;
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
_global.plot = 0;
_global.time = 7;
_global.day = 6;
_global.month = 5;
_global.year = 2031;
_global.health = 10;
_global.mhealth = 10;
_global.fatigue = 10;
_global.mfatigue = 10;
_global.sick = false;
_global.psick = 0;
_global.awake = 1;
_global.britni = 1;
_global.cereal = 1;
_global.skull = 0;
_global.jeremiah = 0;
_global.veil = 0;
_global.missionArray = [3, false, false, false];
_global.exp = 100;
_global.pevm = 0;
_global.pmrk = 0;
_global.pplt = 0;
_global.ppam = 0;
_global.pgng = 0;
_global.pmel = 0;
_global.pgrp = 0;
_global.cevm = 10;
_global.cmrk = 10;
_global.cplt = 12;
_global.cpam = 11;
_global.cgng = 11;
_global.cmel = 11;
_global.cgrp = 12;
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.credits = credits - tc;
_global.wcrit = _global.t_wcrit;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
_global.hp = 9;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
_global.plvl = 1;
_global.evmp = false;
_global.mrkp = false;
_global.pltp = false;
_global.pamp = false;
_global.gngp = false;
_global.melp = false;
_global.grpp = false;
_global.nps = 3;
Frame 5
_global.ytext = _ymouse;
_global.xtext = _xmouse;
Frame 6
gotoAndPlay (4);
Frame 7
gotoAndPlay (8);
Frame 8
for (var i in _global.sArray) {
if (_global.sArray[i] == "Extra Ammo") {
_global.suArray[i] = 1;
}
}
_gobal.s1u = _global.suArray[1];
_gobal.s2u = _global.suArray[2];
_gobal.s3u = _global.suArray[3];
_gobal.s4u = _global.suArray[4];
_gobal.s5u = _global.suArray[5];
_gobal.s6u = _global.suArray[6];
_gobal.s7u = _global.suArray[7];
armor = ((((_global.c_hp + _global.bm) + _global.fdb) + _global.rdb) + 5) + _global.pevm;
tohit = ((_global.bm + _global.fab) + _global.rab) + _global.pmrk;
s.stop();
stopAllSounds();
_global.turn = 0;
_global.rnd = 0;
kil = 0;
m = _global.map;
t = _global.top;
s = _global.scn;
top.gotoAndPlay(t);
map.gotoAndStop(m);
bck.gotoAndStop(m);
scn.gotoAndStop(s);
_global.chp = _global.hp;
_global.camu = _global.amo;
if (_global.pc >= _global.enemy_list[4]) {
pturn = 1;
} else if (_global.pc >= _global.enemy_list[24]) {
pturn = 2;
} else if (_global.pc >= _global.enemy_list[44]) {
pturn = 3;
} else if (_global.pc >= _global.enemy_list[64]) {
pturn = 4;
} else if (_global.pc >= _global.enemy_list[84]) {
pturn = 5;
} else {
pturn = 0;
}
pgone = false;
if (pturn > _global.enemy_list[0]) {
pturn = _global.enemy_list[0];
}
pgone = false;
if (_global.pc >= _global.enemy_list[4]) {
_global.turn = 0;
} else {
_global.turn = 1;
}
gotoAndPlay (78);
trace("OMFREAKINGOSH!!! ---------------------------------");
music.gotoAndPlay(3);
music_b.onRelease = function () {
stopAllSounds();
if (_global.m == 1) {
music.gotoAndPlay(1648);
}
if (_global.m == 2) {
music.gotoAndPlay(3);
}
};
Frame 9
sp = _global.tsp;
if ((sp == 0) or ((a == 1) and (sp < _global.sp))) {
sp = 0;
ctrl.gotoAndStop(3);
}
action = "Players Turn";
if (kil == _global.enemy_list[0]) {
if ((_global.rnd <= _global.don) and (_global.m_type == "Defend")) {
} else {
_global.kil = kil;
gotoAndPlay (83);
}
}
if (_global.chp <= 0) {
_global.kil = kil;
gotoAndPlay (92);
}
hp = (_global.chp / _global.hp) * 100;
hpbar._width = hp;
if (_global.amo == false) {
_global.camu = " ";
ambar._width = 100;
} else {
amo = (_global.camu / _global.amo) * 100;
ambar._width = amo;
}
p1xy = (_global.p1x * 1000) + _global.p1y;
p1x = _global.p1x;
p1y = _global.p1y;
next.onRelease = function () {
_global.turn = _global.turn + 1;
gotoAndPlay (78);
};
e2.onRelease = function () {
_global.eatk = false;
_global.e1bm = _global.enemy_list[5];
if (_global.p1x >= _global.e2x) {
xrange = _global.p1x - _global.e2x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e2x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e2y) {
yrange = _global.p1y - _global.e2y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e2y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
_global.range = range;
} else {
_global.range = range;
range = yrange;
}
t_range = range;
n_range = range + 1;
_global.e1x = _global.e2x;
_global.e1y = _global.e2y;
_global.losx = _global.p1x;
_global.losy = _global.p1y;
en = 1;
ehp = (_global.enemy_list[3] / _global.e1hp) * 100;
ehpbar._width = ehp;
if (a >= 1) {
gotoAndPlay (9);
} else {
gotoAndPlay (11);
}
};
e3.onRelease = function () {
en = 2;
_global.eatk = false;
_global.e1bm = _global.enemy_list[25];
if (_global.p1x >= _global.e3x) {
xrange = _global.p1x - _global.e3x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e3x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e3y) {
yrange = _global.p1y - _global.e3y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e3y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
_global.range = range;
} else {
_global.range = range;
range = yrange;
}
n_range = range + 1;
t_range = range;
_global.e1x = _global.e3x;
_global.e1y = _global.e3y;
_global.losx = _global.p1x;
_global.losy = _global.p1y;
ehp = (_global.enemy_list[23] / _global.e2hp) * 100;
ehpbar._width = ehp;
if (a >= 1) {
gotoAndPlay (9);
} else {
gotoAndPlay (11);
}
};
e4.onRelease = function () {
en = 3;
_global.eatk = false;
_global.e1bm = _global.enemy_list[45];
if (_global.p1x >= _global.e3x) {
xrange = _global.p1x - _global.e3x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e4x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e4y) {
yrange = _global.p1y - _global.e4y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e4y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
_global.range = range;
} else {
_global.range = range;
range = yrange;
}
n_range = range + 1;
t_range = range;
_global.e1x = _global.e4x;
_global.e1y = _global.e4y;
_global.losx = _global.p1x;
_global.losy = _global.p1y;
ehp = (_global.enemy_list[43] / _global.e3hp) * 100;
ehpbar._width = ehp;
if (a >= 1) {
gotoAndPlay (9);
} else {
gotoAndPlay (11);
}
};
e5.onRelease = function () {
en = 4;
_global.eatk = false;
_global.e1bm = _global.enemy_list[65];
if (_global.p1x >= _global.e5x) {
xrange = _global.p1x - _global.e5x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e5x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e5y) {
yrange = _global.p1y - _global.e5y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e5y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
_global.range = range;
} else {
_global.range = range;
range = yrange;
}
n_range = range + 1;
t_range = range;
_global.e1x = _global.e5x;
_global.e1y = _global.e5y;
_global.losx = _global.p1x;
_global.losy = _global.p1y;
ehp = (_global.enemy_list[63] / _global.e4hp) * 100;
ehpbar._width = ehp;
if (a >= 1) {
gotoAndPlay (9);
} else {
gotoAndPlay (11);
}
};
e6.onRelease = function () {
en = 5;
_global.eatk = false;
_global.e1bm = _global.enemy_list[85];
if (_global.p1x >= _global.e6x) {
xrange = _global.p1x - _global.e6x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e6x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e6y) {
yrange = _global.p1y - _global.e6y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e6y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
_global.range = range;
} else {
_global.range = range;
range = yrange;
}
n_range = range + 1;
t_range = range;
_global.e1x = _global.e6x;
_global.e1y = _global.e6y;
_global.losx = _global.p1x;
_global.losy = _global.p1y;
ehp = (_global.enemy_list[83] / _global.e5hp) * 100;
ehpbar._width = ehp;
if (a >= 1) {
gotoAndPlay (9);
} else {
gotoAndPlay (11);
}
};
b_end.onRollOver = function () {
b_end.gotoAndPlay(2);
};
b_end.onRollOut = function () {
b_end.gotoAndPlay(7);
};
b_end.onRelease = function () {
gotoAndPlay (78);
};
b_inv.onRollOver = function () {
b_inv.gotoAndPlay(2);
};
b_inv.onRollOut = function () {
b_inv.gotoAndPlay(7);
};
b_inv.onRelease = function () {
if (a >= 1) {
gotoAndPlay (9);
} else {
gotoAndPlay (79);
}
};
b_up.onRollOver = function () {
p1.gotoAndStop(1);
b_up.gotoAndPlay(2);
};
b_up.onRollOut = function () {
b_up.gotoAndPlay(7);
};
b_up.onRelease = function () {
_global.p1y = _global.p1y - 25;
if (_global.p1y == 100) {
_global.p1y = _global.p1y + 25;
}
for (var _local2 in _global.myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1y = _global.p1y + 25;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1y = _global.p1y + 25;
}
}
};
b_right.onRollOver = function () {
p1.gotoAndStop(2);
b_right.gotoAndPlay(2);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_right.onRelease = function () {
_global.p1x = _global.p1x + 25;
if (_global.p1x == 400) {
_global.p1x = _global.p1x - 25;
}
for (var _local2 in myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1x = _global.p1x - 25;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1x = _global.p1x - 25;
}
}
};
b_left.onRollOver = function () {
p1.gotoAndStop(4);
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
_global.p1x = _global.p1x - 25;
if (_global.p1x == 125) {
_global.p1x = _global.p1x + 25;
}
for (var _local2 in myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1x = _global.p1x + 25;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1x = _global.p1x + 25;
}
}
};
b_down.onRollOver = function () {
p1.gotoAndStop(3);
b_down.gotoAndPlay(2);
};
b_down.onRollOut = function () {
b_down.gotoAndPlay(7);
};
b_down.onRelease = function () {
_global.p1y = _global.p1y + 25;
if (_global.p1y == 375) {
_global.p1y = _global.p1y - 25;
}
for (var _local2 in myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1y = _global.p1y - 25;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1y = _global.p1y - 25;
}
}
};
main.onRelease = function () {
s.stop();
gotoAndPlay (2);
};
Instance of Symbol 296 MovieClip "e6" in Frame 9
onClipEvent (enterFrame) {
this._x = _global.e6x;
this._y = _global.e6y;
}
Instance of Symbol 296 MovieClip "e5" in Frame 9
onClipEvent (enterFrame) {
this._x = _global.e5x;
this._y = _global.e5y;
}
Instance of Symbol 296 MovieClip "e4" in Frame 9
onClipEvent (enterFrame) {
this._x = _global.e4x;
this._y = _global.e4y;
}
Instance of Symbol 296 MovieClip "e3" in Frame 9
onClipEvent (enterFrame) {
this._x = _global.e3x;
this._y = _global.e3y;
}
Instance of Symbol 296 MovieClip "e2" in Frame 9
onClipEvent (enterFrame) {
this._x = _global.e2x;
this._y = _global.e2y;
}
Instance of Symbol 300 MovieClip "p1" in Frame 9
onClipEvent (enterFrame) {
this._x = _global.p1x;
this._y = _global.p1y;
}
Frame 10
gotoAndPlay (9);
Frame 11
action = "Range is " + range;
if ((_global.losy < _global.e1y) and (_global.losx < _global.e1x)) {
_global.losy = _global.losy + 25;
_global.losx = _global.losx + 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
_global.losx = _global.losx - 25;
_global.losy = _global.losy - 25;
} else {
n_range = n_range - 1;
gotoAndPlay (13);
}
}
if ((_global.losy > _global.e1y) and (_global.losx > _global.e1x)) {
_global.losy = _global.losy - 25;
_global.losx = _global.losx - 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losy = _global.losy + 25;
_global.losx = _global.losx + 25;
} else {
n_range = n_range - 1;
gotoAndPlay (13);
}
}
if ((_global.losx < _global.e1x) and (_global.losy > _global.e1y)) {
trace("Up/Right");
_global.losx = _global.losx + 25;
_global.losy = _global.losy - 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losx = _global.losx - 25;
_global.losy = _global.losy + 25;
} else {
n_range = n_range - 1;
gotoAndPlay (13);
}
}
if ((_global.losx > _global.e1x) and (_global.losy < _global.e1y)) {
trace("Down/Left");
_global.losx = _global.losx - 25;
_global.losy = _global.losy + 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losx = _global.losx + 25;
_global.losy = _global.losy - 25;
} else {
n_range = n_range - 1;
gotoAndPlay (13);
}
}
e2.onRelease = function () {
};
e3.onRelease = function () {
};
e4.onRelease = function () {
};
e5.onRelease = function () {
};
e6.onRelease = function () {
};
Instance of Symbol 328 MovieClip in Frame 11
onClipEvent (enterFrame) {
this._x = _global.e1x;
this._y = _global.e1y;
}
Frame 12
if (_global.losx > _global.e1x) {
trace("Left");
_global.losx = _global.losx - 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losx = _global.losx + 25;
} else {
n_range = n_range - 1;
}
}
if (_global.losx < _global.e1x) {
trace("Right");
_global.losx = _global.losx + 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
_global.losx = _global.losx - 25;
trace("canceled");
} else {
n_range = n_range - 1;
}
}
if (_global.losy > _global.e1y) {
trace("Up");
_global.losy = _global.losy - 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
_global.losy = _global.losy + 25;
trace("canceled");
} else {
n_range = n_range - 1;
}
}
if (_global.losy < _global.e1y) {
trace("Down");
_global.losy = _global.losy + 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
_global.losy = _global.losy - 25;
trace("canceled");
} else {
n_range = n_range - 1;
}
}
Frame 13
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.losx * 1000) + _global.losy)) {
_global.los = false;
trace("wall");
_global.range = range;
gotoAndPlay (21);
}
}
if (((_global.e1x * 1000) + _global.e1y) == ((_global.losx * 1000) + _global.losy)) {
_global.los = true;
trace("enemy");
_global.range = range;
gotoAndPlay (21);
}
Frame 14
gotoAndPlay (11);
Frame 15
if (en == 1) {
up = up1;
down = down1;
left = left1;
right = right1;
_global.ewt = _global.enemy_list[1];
_global.ename = _global.enemy_list[2];
_global.ehp = _global.enemy_list[3];
_global.mehp = _global.e1hp;
_global.e1x = _global.enemy_list[14];
_global.e1y = _global.enemy_list[15];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e2x;
_global.e1y = _global.e2y;
_global.e1pc = _global.enemy_list[4];
_global.e1bm = _global.enemy_list[5];
_global.e1ab = _global.enemy_list[6];
_global.e1db = _global.enemy_list[7];
_global.e1s = _global.enemy_list[8];
_global.eweap = _global.enemy_list[9];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[10];
_global.e1r = _global.enemy_list[11];
_global.e1a = _global.enemy_list[12];
_global.e1k = _global.enemy_list[13];
ver = _global.enemy_list[16];
hor = _global.enemy_list[17];
e1m = _global.enemy_list[18];
if (_global.enemy_list[18] ne false) {
e1mn = _global.enemy_list[19];
} else {
e1mn = false;
}
e1f = _global.enemy_list[20];
}
if (en == 2) {
up = up2;
down = down2;
left = left2;
right = right2;
_global.ewt = _global.enemy_list[21];
_global.ename = _global.enemy_list[22];
_global.ehp = _global.enemy_list[23];
_global.mehp = _global.e2hp;
_global.e1x = _global.enemy_list[34];
_global.e1y = _global.enemy_list[35];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e3x;
_global.e1y = _global.e3y;
_global.e1pc = _global.enemy_list[24];
_global.e1bm = _global.enemy_list[25];
_global.e1ab = _global.enemy_list[26];
_global.e1db = _global.enemy_list[27];
_global.e1s = _global.enemy_list[28];
_global.eweap = _global.enemy_list[29];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[30];
_global.e1r = _global.enemy_list[31];
_global.e1a = _global.enemy_list[32];
_global.e1k = _global.enemy_list[33];
ver = _global.enemy_list[36];
hor = _global.enemy_list[37];
e1m = _global.enemy_list[38];
if (_global.enemy_list[38] ne false) {
e1mn = _global.enemy_list[39];
} else {
e1mn = false;
}
e1f = _global.enemy_list[40];
}
if (en == 3) {
up = up3;
down = down3;
left = left3;
right = right3;
_global.ewt = _global.enemy_list[41];
_global.ename = _global.enemy_list[42];
_global.ehp = _global.enemy_list[43];
_global.mehp = _global.e3hp;
_global.e1x = _global.enemy_list[54];
_global.e1y = _global.enemy_list[55];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e4x;
_global.e1y = _global.e4y;
_global.e1pc = _global.enemy_list[44];
_global.e1bm = _global.enemy_list[45];
_global.e1ab = _global.enemy_list[46];
_global.e1db = _global.enemy_list[47];
_global.e1s = _global.enemy_list[48];
_global.eweap = _global.enemy_list[49];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[50];
_global.e1r = _global.enemy_list[51];
_global.e1a = _global.enemy_list[52];
_global.e1k = _global.enemy_list[53];
ver = _global.enemy_list[56];
hor = _global.enemy_list[57];
e1m = _global.enemy_list[58];
if (_global.enemy_list[58] ne false) {
e1mn = _global.enemy_list[59];
} else {
e1mn = false;
}
e1f = _global.enemy_list[60];
}
if (en == 4) {
up = up4;
down = down4;
left = left4;
right = right4;
_global.ewt = _global.enemy_list[61];
_global.ename = _global.enemy_list[62];
_global.ehp = _global.enemy_list[63];
_global.mehp = _global.e4hp;
_global.e1x = _global.enemy_list[74];
_global.e1y = _global.enemy_list[75];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e5x;
_global.e1y = _global.e5y;
_global.e1pc = _global.enemy_list[64];
_global.e1bm = _global.enemy_list[65];
_global.e1ab = _global.enemy_list[66];
_global.e1db = _global.enemy_list[67];
_global.e1s = _global.enemy_list[68];
_global.eweap = _global.enemy_list[69];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[70];
_global.e1r = _global.enemy_list[71];
_global.e1a = _global.enemy_list[72];
_global.e1k = _global.enemy_list[73];
ver = _global.enemy_list[76];
hor = _global.enemy_list[77];
e1m = _global.enemy_list[78];
if (_global.enemy_list[78] ne false) {
e1mn = _global.enemy_list[79];
} else {
e1mn = false;
}
e1f = _global.enemy_list[80];
}
if (en == 5) {
up = up5;
down = down5;
left = left5;
right = right5;
_global.ewt = _global.enemy_list[81];
_global.ename = _global.enemy_list[82];
_global.ehp = _global.enemy_list[83];
_global.mehp = _global.e5hp;
_global.e1x = _global.enemy_list[94];
_global.e1y = _global.enemy_list[95];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e6x;
_global.e1y = _global.e6y;
_global.e1pc = _global.enemy_list[84];
_global.e1bm = _global.enemy_list[85];
_global.e1ab = _global.enemy_list[86];
_global.e1db = _global.enemy_list[87];
_global.e1s = _global.enemy_list[88];
_global.eweap = _global.enemy_list[89];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[90];
_global.e1r = _global.enemy_list[91];
_global.e1a = _global.enemy_list[92];
_global.e1k = _global.enemy_list[93];
ver = _global.enemy_list[96];
hor = _global.enemy_list[97];
e1m = _global.enemy_list[98];
if (_global.enemy_list[98] ne false) {
e1mn = _global.enemy_list[99];
} else {
e1mn = false;
}
e1f = _global.enemy_list[100];
}
if (_global.p1x >= _global.e1x) {
xrange = _global.p1x - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e1y) {
yrange = _global.p1y - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
_global.range = range;
} else {
_global.range = range;
range = yrange;
}
t_range = range;
n_range = range + 1;
t = 10;
trace("_global.e1k=");
trace(_global.e1k);
ehp = (_global.ehp / _global.mehp) * 100;
ehpbar._width = ehp;
_global.losy = _global.p1y;
_global.losx = _global.p1x;
look = 0;
if (_global.e1f == true) {
action = _global.ename + " is standing back up";
}
if (_global.ehp <= 0) {
_global.turn = _global.turn + 1;
gotoAndPlay (78);
}
Frame 16
t = t - 1;
if (t == 0) {
trace("--------------------Looped-------------------------");
_global.turn = _global.turn + 1;
gotoAndPlay (78);
}
action = _global.ename + " is searching the area";
trace("Enemy");
trace((_global.e1x * 1000) + _global.e1y);
trace("Player");
trace((_global.p1x * 1000) + _global.p1y);
trace("Finder");
trace((_global.losx * 1000) + _global.losy);
if ((_global.losy < _global.e1y) and (_global.losx < _global.e1x)) {
trace("Right/Down");
_global.losy = _global.losy + 25;
_global.losx = _global.losx + 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losx = _global.losx - 25;
_global.losy = _global.losy - 25;
} else {
n_range = n_range - 1;
gotoAndPlay (18);
}
}
if ((_global.losy > _global.e1y) and (_global.losx > _global.e1x)) {
trace("Left/Up");
_global.losy = _global.losy - 25;
_global.losx = _global.losx - 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losy = _global.losy + 25;
_global.losx = _global.losx + 25;
} else {
n_range = n_range - 1;
gotoAndPlay (18);
}
}
if ((_global.losx < _global.e1x) and (_global.losy > _global.e1y)) {
trace("Right/Up");
_global.losx = _global.losx + 25;
_global.losy = _global.losy - 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losx = _global.losx - 25;
_global.losy = _global.losy + 25;
} else {
n_range = n_range - 1;
gotoAndPlay (18);
}
}
if ((_global.losx > _global.e1x) and (_global.losy < _global.e1y)) {
trace("Left/Down");
_global.losx = _global.losx - 25;
_global.losy = _global.losy + 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losx = _global.losx + 25;
_global.losy = _global.losy - 25;
} else {
n_range = n_range - 1;
gotoAndPlay (18);
}
}
Frame 17
if (_global.losx > _global.e1x) {
trace("Left");
_global.losx = _global.losx - 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
trace("canceled");
_global.losx = _global.losx + 25;
} else {
n_range = n_range - 1;
}
}
if (_global.losx < _global.e1x) {
trace("Right");
_global.losx = _global.losx + 25;
if (_global.losx >= _global.e1x) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
_global.losx = _global.losx - 25;
trace("canceled");
} else {
n_range = n_range - 1;
}
}
if (_global.losy > _global.e1y) {
trace("Up");
_global.losy = _global.losy - 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
_global.losy = _global.losy + 25;
trace("canceled");
} else {
n_range = n_range - 1;
}
}
if (_global.losy < _global.e1y) {
trace("Down");
_global.losy = _global.losy + 25;
if (_global.losy >= _global.e1y) {
xrange = _global.losx - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.losx;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.losy >= _global.e1y) {
yrange = _global.losy - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.losy;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
t_range = xrange;
} else {
t_range = yrange;
}
if (t_range >= n_range) {
_global.losy = _global.losy - 25;
trace("canceled");
} else {
n_range = n_range - 1;
}
}
Frame 18
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.losx * 1000) + _global.losy)) {
_global.los = false;
gotoAndPlay (20);
}
}
for (var i in _global.enemy_array) {
if (_global.enemy_array[i] == ((_global.losx * 1000) + _global.losy)) {
_global.los = true;
if (_global.e1k == false) {
action = _global.ename + " spotted you";
} else {
action = _global.ename + " is moving in";
}
gotoAndPlay (20);
}
}
Frame 19
gotoAndPlay (16);
Frame 20
if (_global.los == true) {
_global.e1l = true;
_global.e1k = true;
trace("----------- Enemy");
trace(en);
trace("Knows where you are");
if (en == 1) {
trace("Saving 1");
_global.enemy_list[13] = true;
}
if (en == 2) {
trace("Saving 2");
_global.enemy_list[33] = true;
}
if (en == 3) {
trace("Saving 3");
_global.enemy_list[53] = true;
}
if (en == 4) {
trace("Saving 4");
_global.enemy_list[73] = true;
}
if (en == 5) {
trace("Saving 5");
_global.enemy_list[93] = true;
}
} else {
_global.e1l = false;
}
gotoAndPlay (23);
Frame 21
back.onRelease = function () {
gotoAndPlay (9);
};
mc_cm.gotoAndPlay(2);
e2.onRelease = function () {
};
e3.onRelease = function () {
};
e4.onRelease = function () {
};
e5.onRelease = function () {
};
e6.onRelease = function () {
};
Instance of Symbol 330 MovieClip "back" in Frame 21
onClipEvent (enterFrame) {
this._x = _global.e1x + 49;
this._y = _global.e1y - 48;
}
Instance of Symbol 357 MovieClip "mc_cm" in Frame 21
onClipEvent (enterFrame) {
this._x = _global.e1x;
this._y = _global.e1y;
}
Frame 22
if (en == 1) {
up = up1;
down = down1;
left = left1;
right = right1;
_global.ewt = _global.enemy_list[1];
_global.ename = _global.enemy_list[2];
_global.ehp = _global.enemy_list[3];
_global.mehp = _global.e1hp;
_global.e1x = _global.enemy_list[14];
_global.e1y = _global.enemy_list[15];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e2x;
_global.e1y = _global.e2y;
_global.e1pc = _global.enemy_list[4];
_global.e1bm = _global.enemy_list[5];
_global.e1ab = _global.enemy_list[6];
_global.e1db = _global.enemy_list[7];
_global.e1s = _global.enemy_list[8];
_global.eweap = _global.enemy_list[9];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[10];
_global.e1r = _global.enemy_list[11];
_global.e1a = _global.enemy_list[12];
_global.e1k = _global.enemy_list[13];
ver = _global.enemy_list[16];
hor = _global.enemy_list[17];
e1m = _global.enemy_list[18];
if (_global.enemy_list[18] ne false) {
e1mn = _global.enemy_list[19];
} else {
e1mn = false;
}
e1f = _global.enemy_list[20];
}
if (en == 2) {
up = up2;
down = down2;
left = left2;
right = right2;
_global.ewt = _global.enemy_list[21];
_global.ename = _global.enemy_list[22];
_global.ehp = _global.enemy_list[23];
_global.mehp = _global.e2hp;
_global.e1x = _global.enemy_list[34];
_global.e1y = _global.enemy_list[35];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e3x;
_global.e1y = _global.e3y;
_global.e1pc = _global.enemy_list[24];
_global.e1bm = _global.enemy_list[25];
_global.e1ab = _global.enemy_list[26];
_global.e1db = _global.enemy_list[27];
_global.e1s = _global.enemy_list[28];
_global.eweap = _global.enemy_list[29];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[30];
_global.e1r = _global.enemy_list[31];
_global.e1a = _global.enemy_list[32];
_global.e1k = _global.enemy_list[33];
ver = _global.enemy_list[36];
hor = _global.enemy_list[37];
e1m = _global.enemy_list[38];
if (_global.enemy_list[38] ne false) {
e1mn = _global.enemy_list[39];
} else {
e1mn = false;
}
e1f = _global.enemy_list[40];
}
if (en == 3) {
up = up3;
down = down3;
left = left3;
right = right3;
_global.ewt = _global.enemy_list[41];
_global.ename = _global.enemy_list[42];
_global.ehp = _global.enemy_list[43];
_global.mehp = _global.e3hp;
_global.e1x = _global.enemy_list[54];
_global.e1y = _global.enemy_list[55];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e4x;
_global.e1y = _global.e4y;
_global.e1pc = _global.enemy_list[44];
_global.e1bm = _global.enemy_list[45];
_global.e1ab = _global.enemy_list[46];
_global.e1db = _global.enemy_list[47];
_global.e1s = _global.enemy_list[48];
_global.eweap = _global.enemy_list[49];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[50];
_global.e1r = _global.enemy_list[51];
_global.e1a = _global.enemy_list[52];
_global.e1k = _global.enemy_list[53];
ver = _global.enemy_list[56];
hor = _global.enemy_list[57];
e1m = _global.enemy_list[58];
if (_global.enemy_list[58] ne false) {
e1mn = _global.enemy_list[59];
} else {
e1mn = false;
}
e1f = _global.enemy_list[60];
}
if (en == 4) {
up = up4;
down = down4;
left = left4;
right = right4;
_global.ewt = _global.enemy_list[61];
_global.ename = _global.enemy_list[62];
_global.ehp = _global.enemy_list[63];
_global.mehp = _global.e4hp;
_global.e1x = _global.enemy_list[74];
_global.e1y = _global.enemy_list[75];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e5x;
_global.e1y = _global.e5y;
_global.e1pc = _global.enemy_list[64];
_global.e1bm = _global.enemy_list[65];
_global.e1ab = _global.enemy_list[66];
_global.e1db = _global.enemy_list[67];
_global.e1s = _global.enemy_list[68];
_global.eweap = _global.enemy_list[69];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[70];
_global.e1r = _global.enemy_list[71];
_global.e1a = _global.enemy_list[72];
_global.e1k = _global.enemy_list[73];
ver = _global.enemy_list[76];
hor = _global.enemy_list[77];
e1m = _global.enemy_list[78];
if (_global.enemy_list[78] ne false) {
e1mn = _global.enemy_list[79];
} else {
e1mn = false;
}
e1f = _global.enemy_list[80];
}
if (en == 5) {
up = up5;
down = down5;
left = left5;
right = right5;
_global.ewt = _global.enemy_list[81];
_global.ename = _global.enemy_list[82];
_global.ehp = _global.enemy_list[83];
_global.mehp = _global.e5hp;
_global.e1x = _global.enemy_list[94];
_global.e1y = _global.enemy_list[95];
_global.losx = _global.p1x;
_global.losy = _global.p1y;
_global.e1x = _global.e6x;
_global.e1y = _global.e6y;
_global.e1pc = _global.enemy_list[84];
_global.e1bm = _global.enemy_list[85];
_global.e1ab = _global.enemy_list[86];
_global.e1db = _global.enemy_list[87];
_global.e1s = _global.enemy_list[88];
_global.eweap = _global.enemy_list[89];
_global.e1ts = _global.e1s;
_global.edam = _global.enemy_list[90];
_global.e1r = _global.enemy_list[91];
_global.e1a = _global.enemy_list[92];
_global.e1k = _global.enemy_list[93];
ver = _global.enemy_list[96];
hor = _global.enemy_list[97];
e1m = _global.enemy_list[98];
if (_global.enemy_list[98] ne false) {
e1mn = _global.enemy_list[99];
} else {
e1mn = false;
}
e1f = _global.enemy_list[100];
}
if (_global.p1x >= _global.e1x) {
xrange = _global.p1x - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e1y) {
yrange = _global.p1y - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
_global.range = range;
} else {
_global.range = range;
range = yrange;
}
stop();
Frame 23
if (e1f == false) {
trace("find range choose to attack");
if (_global.p1x >= _global.e1x) {
xrange = _global.p1x - _global.e1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
} else {
xrange = _global.e1x - _global.p1x;
if (xrange ne 0) {
xrange = xrange / 25;
}
}
if (_global.p1y >= _global.e1y) {
yrange = _global.p1y - _global.e1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
} else {
yrange = _global.e1y - _global.p1y;
if (yrange ne 0) {
yrange = yrange / 25;
}
}
if (xrange > yrange) {
range = xrange;
} else {
range = yrange;
}
trace(range);
trace(_global.e1l);
trace(_global.e1r);
if ((_global.e1l == true) and (_global.e1r >= range)) {
action = _global.ename + " is engaging you";
_global.eatk = true;
gotoAndStop (31);
} else if ((_global.e1ts <= 0) and (look == 0)) {
trace("searching for player again...");
_global.losy = _global.p1y;
_global.losx = _global.p1x;
look = 1;
gotoAndPlay (16);
} else if (look == 1) {
_global.turn = _global.turn + 1;
gotoAndPlay (78);
}
} else {
action = _global.ename + " is standing back up";
if (en == 1) {
_global.enemy_list[20] = false;
}
if (en == 2) {
_global.enemy_list[40] = false;
}
if (en == 3) {
_global.enemy_list[60] = false;
}
if (en == 4) {
_global.enemy_list[80] = false;
}
if (en == 5) {
_global.enemy_list[100] = false;
}
_global.turn = _global.turn + 1;
gotoAndPlay (78);
}
Frame 24
trace("DOES THIS LIL PIGGIE KNOW ANYTHING ABOUT YOU???");
trace(_global.e1k);
ea = _global.e1a;
ea = random(ea);
if (((ea == 0) or (e1m == false)) or (_global.e1ts <= 0)) {
if (e1mn == true) {
e1mn = e1mn - 1;
if (en == 1) {
_global.enemy_list[19] = e1mn;
}
if (en == 2) {
_global.enemy_list[39] = e1mn;
}
if (en == 3) {
_global.enemy_list[59] = e1mn;
}
if (en == 4) {
_global.enemy_list[79] = e1mn;
}
if (en == 5) {
_global.enemy_list[99] = e1mn;
}
if (e1mn == 0) {
if (en == 1) {
_global.enemy_list[18] = true;
}
if (en == 2) {
_global.enemy_list[38] = true;
}
if (en == 3) {
_global.enemy_list[58] = true;
}
if (en == 4) {
_global.enemy_list[78] = true;
}
if (en == 5) {
_global.enemy_list[98] = true;
}
}
}
trace("didn't want to move");
_global.turn = _global.turn + 1;
gotoAndPlay (78);
}
Frame 25
if ((_global.e1l == true) or (_global.e1k == true)) {
trace("Enemy is about to move");
gotoAndPlay (26);
} else {
_global.turn = _global.turn + 1;
gotoAndPlay (78);
}
Frame 26
if (hor == false) {
if (_global.p1y < _global.e1y) {
up = true;
down = false;
if (en == 1) {
e2.gotoAndStop(1);
}
if (en == 2) {
e3.gotoAndStop(1);
}
if (en == 3) {
e4.gotoAndStop(1);
}
if (en == 4) {
e5.gotoAndStop(1);
}
if (en == 5) {
e6.gotoAndStop(1);
}
_global.e1y = _global.e1y - 25;
ver = false;
_global.e1ts = _global.e1ts - 1;
if (_global.e1y == 100) {
_global.e1y = _global.e1y + 25;
}
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
ver = true;
_global.e1y = _global.e1y + 25;
if (left == true) {
_global.e1x = _global.e1x - 25;
} else if (right == true) {
_global.e1x = _global.e1x + 25;
}
if (_global.e1x < 150) {
_global.e1x = 150;
right = true;
} else if (_global.e1x > 375) {
_global.e1x = 375;
left = true;
}
}
}
for (var i in _global.enemy_array) {
if (_global.enemy_array[i] == ((_global.e1x * 1000) + _global.e1y)) {
ver = true;
_global.e1y = _global.e1y + 25;
l = 0;
r = 0;
for (var i in _global.enemy_array) {
if (_global.myArray[i] == (((_global.e1x - 25) * 1000) + (_global.e1y - 25))) {
l = 1;
}
}
for (var i in _global.enemy_array) {
if (_global.myArray[i] == (((_global.e1x + 25) * 1000) + (_global.e1y - 25))) {
r = 1;
}
}
if ((l == 1) and (r == 1)) {
if (_global.e1x >= 275) {
_global.e1x = _global.e1x - 25;
m = "left";
} else if (_global.e1x < 275) {
_global.e1x = _global.e1x + 25;
m = "right";
}
}
if ((l == 1) and (r == 0)) {
_global.e1x = _global.e1x + 25;
m = "right";
} else if ((l == 0) and (r == 1)) {
_global.e1x = _global.e1x - 25;
m = "left";
}
if ((l == 0) and (r == 0)) {
if (_global.p1x > _global.e1x) {
_global.e1x = _global.e1x + 25;
m = "right";
} else {
_global.e1x = _global.e1x - 25;
m = "left";
}
}
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
if (m == "left") {
_global.e1x = _global.e1x + 25;
} else if (m == "right") {
_global.e1x = _global.e1x - 25;
}
}
}
}
}
if (_global.e1y < 125) {
_global.e1y = _global.e1y + 25;
}
if (((_global.p1x * 1000) + _global.p1y) == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1y = _global.e1y + 25;
if (en == 1) {
_global.e2y = _global.e1y;
_global.enemy_array[0] = (_global.e2x * 1000) + _global.e2y;
}
if (en == 2) {
_global.e3y = _global.e1y;
_global.enemy_array[1] = (_global.e3x * 1000) + _global.e3y;
}
if (en == 3) {
_global.e4y = _global.e1y;
_global.enemy_array[2] = (_global.e4x * 1000) + _global.e4y;
}
if (en == 4) {
_global.e5y = _global.e1y;
_global.enemy_array[3] = (_global.e5x * 1000) + _global.e5y;
}
if (en == 5) {
_global.e6y = _global.e1y;
_global.enemy_array[4] = (_global.e6x * 1000) + _global.e6y;
}
}
}
}
if (en == 1) {
up1 = up;
down1 = down;
left1 = left;
right1 = right;
_global.e2x = _global.e1x;
_global.e2y = _global.e1y;
_global.enemy_list[14] = _global.e1x;
_global.enemy_list[15] = _global.e1y;
_global.enemy_list[16] = ver;
_global.enemy_list[17] = hor;
_global.enemy_array[0] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 2) {
up2 = up;
down2 = down;
left2 = left;
right2 = right;
_global.e3x = _global.e1x;
_global.e3y = _global.e1y;
_global.enemy_list[36] = ver;
_global.enemy_list[37] = hor;
_global.enemy_list[34] = _global.e1x;
_global.enemy_list[35] = _global.e1y;
_global.enemy_array[1] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 3) {
up3 = up;
down3 = down;
left3 = left;
right3 = right;
_global.e4x = _global.e1x;
_global.e4y = _global.e1y;
_global.enemy_list[56] = ver;
_global.enemy_list[57] = hor;
_global.enemy_list[54] = _global.e1x;
_global.enemy_list[55] = _global.e1y;
_global.enemy_array[2] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 4) {
up4 = up;
down4 = down;
left4 = left;
right4 = right;
_global.e5x = _global.e1x;
_global.e5y = _global.e1y;
_global.enemy_list[76] = ver;
_global.enemy_list[77] = hor;
_global.enemy_list[74] = _global.e1x;
_global.enemy_list[75] = _global.e1y;
_global.enemy_array[3] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 5) {
up5 = up;
down5 = down;
left5 = left;
right52 = right;
_global.e6x = _global.e1x;
_global.e6y = _global.e1y;
_global.enemy_list[96] = ver;
_global.enemy_list[97] = hor;
_global.enemy_list[94] = _global.e1x;
_global.enemy_list[95] = _global.e1y;
_global.enemy_array[4] = (_global.e1x * 1000) + _global.e1y;
}
if (_global.e1ts <= 0) {
trace("ran out of moves");
gotoAndPlay (23);
}
Frame 27
trace("MOVES LEFT");
trace(_global.e1ts);
if (ver == false) {
if (_global.p1x > _global.e1x) {
right = true;
left = false;
if (en == 1) {
e2.gotoAndStop(2);
}
if (en == 2) {
e3.gotoAndStop(2);
}
if (en == 3) {
e4.gotoAndStop(2);
}
if (en == 4) {
e5.gotoAndStop(2);
}
if (en == 5) {
e6.gotoAndStop(2);
}
_global.e1x = _global.e1x + 25;
_global.e1ts = _global.e1ts - 1;
hor = false;
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1x = _global.e1x - 25;
hor = true;
if (up == true) {
_global.e1y = _global.e1y - 25;
} else if (down == true) {
_global.e1y = _global.e1y + 25;
}
if (_global.e1y < 125) {
_global.e1y = 125;
down = true;
} else if (_global.e1y > 350) {
_global.e1x = 350;
up = true;
}
}
}
for (var i in _global.enemy_array) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1x = _global.e1x - 25;
hor = true;
u = 0;
d = 0;
for (var i in _global.enemy_array) {
if (_global.enemy_array[i] == (((_global.e1x + 25) * 1000) + (_global.e1y - 25))) {
u = 1;
}
}
for (var i in _global.enemy_array) {
if (_global.myArray[i] == (((_global.e1x + 25) * 1000) + (_global.e1y + 25))) {
d = 1;
}
}
if ((u == 1) and (d == 1)) {
if (_global.e1y >= 250) {
m = "up";
_global.e1y = _global.e1y - 25;
} else if (_global.e1y < 250) {
m = "down";
_global.e1y = _global.e1y + 25;
}
}
if ((u == 1) and (d == 0)) {
m = "down";
_global.e1y = _global.e1y + 25;
} else if ((l == 0) and (r == 1)) {
m = "up";
_global.e1y = _global.e1y - 25;
}
if ((u == 0) and (d == 0)) {
if (_global.p1y > _global.e1y) {
m = "down";
_global.e1y = _global.e1y + 25;
} else {
m = "up";
_global.e1y = _global.e1y - 25;
}
}
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
if (m == "up") {
_global.e1x = _global.e1y + 25;
} else if (m == "down") {
_global.e1x = _global.e1y - 25;
}
}
}
}
}
if (_global.e1x > 375) {
_global.e1x = _global.e1x - 25;
}
if (((_global.p1x * 1000) + _global.p1y) == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1x = _global.e1x - 25;
if (en == 1) {
_global.e2x = _global.e1x;
_global.enemy_array[0] = (_global.e2x * 1000) + _global.e2y;
}
if (en == 2) {
_global.e3x = _global.e1x;
_global.enemy_array[1] = (_global.e3x * 1000) + _global.e3y;
}
if (en == 3) {
_global.e4x = _global.e1x;
_global.enemy_array[2] = (_global.e4x * 1000) + _global.e4y;
}
if (en == 4) {
_global.e5x = _global.e1x;
_global.enemy_array[3] = (_global.e5x * 1000) + _global.e5y;
}
if (en == 5) {
_global.e6x = _global.e1x;
_global.enemy_array[4] = (_global.e6x * 1000) + _global.e6y;
}
}
}
}
if (en == 1) {
up1 = up;
down1 = down;
left1 = left;
right1 = right;
_global.e2x = _global.e1x;
_global.e2y = _global.e1y;
_global.enemy_list[14] = _global.e1x;
_global.enemy_list[15] = _global.e1y;
_global.enemy_list[16] = ver;
_global.enemy_list[17] = hor;
_global.enemy_array[0] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 2) {
up2 = up;
down2 = down;
left2 = left;
right2 = right;
_global.e3x = _global.e1x;
_global.e3y = _global.e1y;
_global.enemy_list[36] = ver;
_global.enemy_list[37] = hor;
_global.enemy_list[34] = _global.e1x;
_global.enemy_list[35] = _global.e1y;
_global.enemy_array[1] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 3) {
up3 = up;
down3 = down;
left3 = left;
right3 = right;
_global.e4x = _global.e1x;
_global.e4y = _global.e1y;
_global.enemy_list[56] = ver;
_global.enemy_list[57] = hor;
_global.enemy_list[54] = _global.e1x;
_global.enemy_list[55] = _global.e1y;
_global.enemy_array[2] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 4) {
up4 = up;
down4 = down;
left4 = left;
right4 = right;
_global.e5x = _global.e1x;
_global.e5y = _global.e1y;
_global.enemy_list[76] = ver;
_global.enemy_list[77] = hor;
_global.enemy_list[74] = _global.e1x;
_global.enemy_list[75] = _global.e1y;
_global.enemy_array[3] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 5) {
up5 = up;
down5 = down;
left5 = left;
right52 = right;
_global.e6x = _global.e1x;
_global.e6y = _global.e1y;
_global.enemy_list[96] = ver;
_global.enemy_list[97] = hor;
_global.enemy_list[94] = _global.e1x;
_global.enemy_list[95] = _global.e1y;
_global.enemy_array[4] = (_global.e1x * 1000) + _global.e1y;
}
if (_global.e1ts <= 0) {
trace("ran out of moves");
gotoAndPlay (23);
}
Frame 28
if (ver == false) {
if (_global.p1x < _global.e1x) {
left = true;
right = false;
if (en == 1) {
e2.gotoAndStop(4);
}
if (en == 2) {
e3.gotoAndStop(4);
}
if (en == 3) {
e4.gotoAndStop(4);
}
if (en == 4) {
e5.gotoAndStop(4);
}
if (en == 5) {
e6.gotoAndStop(4);
}
_global.e1x = _global.e1x - 25;
hor = false;
_global.e1ts = _global.e1ts - 1;
if (_global.e1x == 125) {
_global.e1x = _global.e1x + 25;
}
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1x = _global.e1x + 25;
hor = true;
if (up == true) {
_global.e1y = _global.e1y - 25;
} else if (down == true) {
_global.e1y = _global.e1y + 25;
}
if (_global.e1x < 150) {
_global.e1x = 150;
right = true;
} else if (_global.e1x > 375) {
_global.e1x = 375;
left = true;
}
}
}
for (var i in _global.enemy_array) {
if (_global.enemy_array[i] == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1x = _global.e1x + 25;
hor = true;
u = 0;
d = 0;
for (var i in _global.enemy_array) {
if (_global.myArray[i] == (((_global.e1x - 25) * 1000) + (_global.e1y - 25))) {
u = 1;
}
}
for (var i in _global.enemy_array) {
if (_global.myArray[i] == (((_global.e1x - 25) * 1000) + (_global.e1y + 25))) {
d = 1;
}
}
if ((u == 1) and (d == 1)) {
if (_global.e1y >= 250) {
_global.e1y = _global.e1y - 25;
m = "up";
} else if (_global.e1y < 250) {
_global.e1y = _global.e1y + 25;
m = "down";
}
}
if ((u == 1) and (d == 0)) {
_global.e1y = _global.e1y + 25;
m = "down";
} else if ((l == 0) and (r == 1)) {
_global.e1y = _global.e1y - 25;
m = "up";
}
if ((u == 0) and (d == 0)) {
if (_global.p1y > _global.e1y) {
_global.e1y = _global.e1y + 25;
m = "down";
} else {
_global.e1y = _global.e1y - 25;
m = "up";
}
}
for (var i in _global.enemy_array) {
if (_global.enemy_array[i] == ((_global.e1x * 1000) + _global.e1y)) {
if (m == "up") {
_global.e1x = _global.e1y + 25;
} else if (m == "down") {
_global.e1x = _global.e1y - 25;
}
}
}
}
}
if (_global.e1x < 150) {
_global.e1x = _global.e1x + 25;
}
if (((_global.p1x * 1000) + _global.p1y) == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1x = _global.e1x + 25;
if (en == 1) {
_global.e2x = _global.e1x;
_global.enemy_array[0] = (_global.e2x * 1000) + _global.e2y;
}
if (en == 2) {
_global.e3x = _global.e1x;
_global.enemy_array[1] = (_global.e3x * 1000) + _global.e3y;
}
if (en == 3) {
_global.e4x = _global.e1x;
_global.enemy_array[2] = (_global.e4x * 1000) + _global.e4y;
}
if (en == 4) {
_global.e5x = _global.e1x;
_global.enemy_array[3] = (_global.e5x * 1000) + _global.e5y;
}
if (en == 5) {
_global.e6x = _global.e1x;
_global.enemy_array[4] = (_global.e6x * 1000) + _global.e6y;
}
}
}
}
if (en == 1) {
up1 = up;
down1 = down;
left1 = left;
right1 = right;
_global.e2x = _global.e1x;
_global.e2y = _global.e1y;
_global.enemy_list[14] = _global.e1x;
_global.enemy_list[15] = _global.e1y;
_global.enemy_list[16] = ver;
_global.enemy_list[17] = hor;
_global.enemy_array[0] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 2) {
up2 = up;
down2 = down;
left2 = left;
right2 = right;
_global.e3x = _global.e1x;
_global.e3y = _global.e1y;
_global.enemy_list[36] = ver;
_global.enemy_list[37] = hor;
_global.enemy_list[34] = _global.e1x;
_global.enemy_list[35] = _global.e1y;
_global.enemy_array[1] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 3) {
up3 = up;
down3 = down;
left3 = left;
right3 = right;
_global.e4x = _global.e1x;
_global.e4y = _global.e1y;
_global.enemy_list[56] = ver;
_global.enemy_list[57] = hor;
_global.enemy_list[54] = _global.e1x;
_global.enemy_list[55] = _global.e1y;
_global.enemy_array[2] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 4) {
up4 = up;
down4 = down;
left4 = left;
right4 = right;
_global.e5x = _global.e1x;
_global.e5y = _global.e1y;
_global.enemy_list[76] = ver;
_global.enemy_list[77] = hor;
_global.enemy_list[74] = _global.e1x;
_global.enemy_list[75] = _global.e1y;
_global.enemy_array[3] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 5) {
up5 = up;
down5 = down;
left5 = left;
right52 = right;
_global.e6x = _global.e1x;
_global.e6y = _global.e1y;
_global.enemy_list[96] = ver;
_global.enemy_list[97] = hor;
_global.enemy_list[94] = _global.e1x;
_global.enemy_list[95] = _global.e1y;
_global.enemy_array[4] = (_global.e1x * 1000) + _global.e1y;
}
if (_global.e1ts <= 0) {
gotoAndPlay (23);
}
Frame 29
trace("MOVES LEFT");
trace(_global.e1ts);
if (hor == false) {
if (_global.p1y > _global.e1y) {
down = true;
up = false;
if (en == 1) {
e2.gotoAndStop(3);
}
if (en == 2) {
e3.gotoAndStop(3);
}
if (en == 3) {
e4.gotoAndStop(3);
}
if (en == 4) {
e5.gotoAndStop(3);
}
if (en == 5) {
e6.gotoAndStop(3);
}
_global.e1y = _global.e1y + 25;
ver = false;
_global.e1ts = _global.e1ts - 1;
if (_global.e1y == 375) {
_global.e1y = _global.e1y - 25;
}
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
ver = true;
_global.e1y = _global.e1y - 25;
if (left == true) {
_global.e1x = _global.e1x - 25;
} else if (right == true) {
_global.e1x = _global.e1x + 25;
}
if (_global.e1x < 150) {
_global.e1x = 150;
right = true;
} else if (_global.e1x > 375) {
_global.e1x = 375;
left = true;
}
}
}
for (var i in _global.enemy_array) {
if (_global.enemy_array[i] == ((_global.e1x * 1000) + _global.e1y)) {
ver = true;
_global.e1y = _global.e1y - 25;
l = 0;
r = 0;
for (var i in _global.enemy_array) {
if ((_global.myArray[i] == (((_global.e1x - 25) * 1000) + (_global.e1y + 25))) or ((_global.e1x - 50) < 150)) {
l = 1;
}
}
for (var i in _global.enemy_array) {
if ((_global.myArray[i] == (((_global.e1x + 25) * 1000) + (_global.e1y + 25))) or ((_global.e1x + 50) > 375)) {
r = 1;
}
}
if ((l == 1) and (r == 1)) {
if (_global.e1x >= 275) {
_global.e1x = _global.e1x - 25;
m = "left";
} else if (_global.e1x < 275) {
_global.e1x = _global.e1x + 25;
m = "right";
}
}
if ((l == 1) and (r == 0)) {
_global.e1x = _global.e1x + 25;
m = "right";
} else if ((l == 0) and (r == 1)) {
_global.e1x = _global.e1x - 25;
m = "left";
}
if ((l == 0) and (r == 0)) {
if (_global.p1x > _global.e1x) {
_global.e1x = _global.e1x + 25;
m = "right";
} else {
_global.e1x = _global.e1x - 25;
m = "left";
}
}
for (var i in _global.myArray) {
if (_global.myArray[i] == ((_global.e1x * 1000) + _global.e1y)) {
if (m == "left") {
_global.e1x = _global.e1x + 25;
} else if (m == "right") {
_global.e1x = _global.e1x - 25;
}
}
}
}
}
if (_global.e1y > 350) {
_global.e1y = _global.e1y - 25;
}
if (((_global.p1x * 1000) + _global.p1y) == ((_global.e1x * 1000) + _global.e1y)) {
_global.e1y = _global.e1y - 25;
if (en == 1) {
_global.e2y = _global.e1y;
_global.enemy_array[0] = (_global.e2x * 1000) + _global.e2y;
}
if (en == 2) {
_global.e3y = _global.e1y;
_global.enemy_array[1] = (_global.e3x * 1000) + _global.e3y;
}
if (en == 3) {
_global.e4y = _global.e1y;
_global.enemy_array[2] = (_global.e4x * 1000) + _global.e4y;
}
if (en == 4) {
_global.e5y = _global.e1y;
_global.enemy_array[3] = (_global.e5x * 1000) + _global.e5y;
}
if (en == 5) {
_global.e6y = _global.e1y;
_global.enemy_array[4] = (_global.e6x * 1000) + _global.e6y;
}
}
}
}
if (en == 1) {
up1 = up;
down1 = down;
left1 = left;
right1 = right;
_global.e2x = _global.e1x;
_global.e2y = _global.e1y;
_global.enemy_list[14] = _global.e1x;
_global.enemy_list[15] = _global.e1y;
_global.enemy_list[16] = ver;
_global.enemy_list[17] = hor;
_global.enemy_array[0] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 2) {
up2 = up;
down2 = down;
left2 = left;
right2 = right;
_global.e3x = _global.e1x;
_global.e3y = _global.e1y;
_global.enemy_list[36] = ver;
_global.enemy_list[37] = hor;
_global.enemy_list[34] = _global.e1x;
_global.enemy_list[35] = _global.e1y;
_global.enemy_array[1] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 3) {
up3 = up;
down3 = down;
left3 = left;
right3 = right;
_global.e4x = _global.e1x;
_global.e4y = _global.e1y;
_global.enemy_list[56] = ver;
_global.enemy_list[57] = hor;
_global.enemy_list[54] = _global.e1x;
_global.enemy_list[55] = _global.e1y;
_global.enemy_array[2] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 4) {
up4 = up;
down4 = down;
left4 = left;
right4 = right;
_global.e5x = _global.e1x;
_global.e5y = _global.e1y;
_global.enemy_list[76] = ver;
_global.enemy_list[77] = hor;
_global.enemy_list[74] = _global.e1x;
_global.enemy_list[75] = _global.e1y;
_global.enemy_array[3] = (_global.e1x * 1000) + _global.e1y;
}
if (en == 5) {
up5 = up;
down5 = down;
left5 = left;
right52 = right;
_global.e6x = _global.e1x;
_global.e6y = _global.e1y;
_global.enemy_list[96] = ver;
_global.enemy_list[97] = hor;
_global.enemy_list[94] = _global.e1x;
_global.enemy_list[95] = _global.e1y;
_global.enemy_array[4] = (_global.e1x * 1000) + _global.e1y;
}
if (_global.e1ts <= 0) {
trace("ran out of moves");
gotoAndPlay (23);
}
Frame 30
gotoAndPlay (23);
Frame 31
play();
e2.onRelease = function () {
};
e3.onRelease = function () {
};
e4.onRelease = function () {
};
e5.onRelease = function () {
};
e6.onRelease = function () {
};
Instance of Symbol 426 MovieClip "enemy_sv" in Frame 32
onClipEvent (load) {
a = 1;
if (a == 1) {
this.e_head.gotoAndStop(2);
}
this._x = _global.esv;
}
Instance of Symbol 448 MovieClip "player_sv" in Frame 32
onClipEvent (load) {
this._x = _global.psv;
}
Frame 33
if (_global.eatk == false) {
trace("HERE IS THE CODE YOU ARE LOOKING FOR");
trace((_global.e1bm + _global.e1db) + 5);
trace(tohit);
if ((tohit + (random(19) + 1)) >= ((_global.e1bm + _global.e1db) + 5)) {
trace("player hit enemy");
if (_global.atk_typ == "Body Slam") {
if (_global.lift >= _global.ewt) {
_global.atkst = _global.weight;
player_sv.gotoAndStop(250);
enemy_sv.gotoAndStop(204);
} else {
action = "Could not lift " + _global.ename;
_global.atkst = "Miss";
player_sv.gotoAndStop(250);
enemy_sv.gotoAndStop(227);
}
} else if (_global.atk_typ == "Trip") {
if (_global.lift >= _global.ewt) {
_global.atkst = _global.ewt;
player_sv.gotoAndStop(181);
enemy_sv.gotoAndStop(204);
} else {
action = "Could not lift " + _global.ename;
_global.atkst = "Miss";
player_sv.gotoAndStop(181);
enemy_sv.gotoAndStop(227);
}
} else if ((_global.atk_typ == "Melee") and (_global.meleew == "<None>")) {
player_sv.gotoAndStop(409);
enemy_sv.gotoAndStop(227);
} else {
_global.atkst = _global.wd;
if (_global.wt == "bhgun") {
player_sv.gotoAndStop(365);
enemy_sv.gotoAndStop(46);
}
if (_global.wt == "rhgun") {
player_sv.gotoAndStop(2);
enemy_sv.gotoAndStop(46);
}
if (_global.wt == "fhgun") {
player_sv.gotoAndStop(92);
enemy_sv.gotoAndStop(46);
}
if (_global.wt == "2hgun") {
player_sv.gotoAndStop(136);
enemy_sv.gotoAndStop(158);
}
if (_global.wt == "rhsword") {
player_sv.gotoAndStop(273);
enemy_sv.gotoAndStop(227);
}
if (_global.wt == "fhsword") {
player_sv.gotoAndStop(273);
enemy_sv.gotoAndStop(227);
}
if (_global.wt == "bhsword") {
player_sv.gotoAndStop(431);
enemy_sv.gotoAndStop(227);
}
}
} else {
trace("player missed enemy");
_global.atkst = "Miss";
if (_global.atk_typ == "Body Slam") {
player_sv.gotoAndStop(250);
enemy_sv.gotoAndStop(227);
} else if (_global.atk_typ == "Trip") {
player_sv.gotoAndStop(181);
enemy_sv.gotoAndStop(227);
} else if ((_global.atk_typ == "Melee") and (_global.meleew == "<None>")) {
player_sv.gotoAndStop(409);
enemy_sv.gotoAndStop(227);
} else {
if (_global.wt == "bhgun") {
player_sv.gotoAndStop(365);
enemy_sv.gotoAndStop(69);
}
if (_global.wt == "rhgun") {
player_sv.gotoAndStop(2);
enemy_sv.gotoAndStop(69);
}
if (_global.wt == "fhgun") {
player_sv.gotoAndStop(92);
enemy_sv.gotoAndStop(69);
}
if (_global.wt == "2hgun") {
player_sv.gotoAndStop(136);
enemy_sv.gotoAndStop(69);
}
if (_global.wt == "rhsword") {
player_sv.gotoAndStop(273);
enemy_sv.gotoAndStop(227);
}
if (_global.wt == "fhsword") {
player_sv.gotoAndStop(273);
enemy_sv.gotoAndStop(227);
}
if (_global.wt == "bhsword") {
player_sv.gotoAndStop(431);
enemy_sv.gotoAndStop(227);
}
}
}
} else if (((_global.e1ab + _global.e1bm) + (random(19) + 1)) >= armor) {
_global.atkst = _global.edam;
if ((_global.eweap = "SMG")) {
player_sv.gotoAndStop(46);
enemy_sv.gotoAndStop(2);
}
} else {
_global.atkst = "Miss";
if ((_global.eweap = "SMG")) {
player_sv.gotoAndStop(69);
enemy_sv.gotoAndStop(2);
}
}
Frame 37
trace("_global.ehp");
trace(_global.ehp);
Frame 38
player_sv.play();
enemy_sv.play();
Instance of Symbol 453 MovieClip "atkst" in Frame 64
onClipEvent (enterFrame) {
if (_global.eatk == false) {
this._x = _global.e1x;
this._y = _global.e1y;
} else {
this._x = _global.p1x;
this._y = _global.p1y;
}
}
Frame 66
atkst.gotoAndPlay(2);
Frame 77
trace("------BATTLE RESULTS----------");
trace(_global.eatk);
trace("--------------------------------");
trace(_global.enemy_list[83]);
trace(_global.ehp);
trace(_global.atkst);
if (_global.eatk == false) {
if (_global.atk_typ == "Range") {
_global.camu = _global.camu - 1;
}
trace("Player just took his turn, these are his results-----");
trace(en);
if (_global.atkst ne "Miss") {
if (en == 1) {
_global.enemy_list[13] = true;
if ((_global.atk_typ == "Body Slam") or (_global.atk_typ == "Trip")) {
_global.enemy_list[20] = true;
}
_global.enemy_list[3] = _global.ehp - _global.atkst;
if (_global.enemy_list[3] <= 0) {
kil = kil + 1;
_global.enemy_array[0] = 0;
e2.gotoAndStop(5);
}
}
if (en == 2) {
_global.enemy_list[33] = true;
if ((_global.atk_typ == "Body Slam") or (_global.atk_typ == "Trip")) {
_global.enemy_list[40] = true;
}
_global.enemy_list[23] = _global.ehp - _global.atkst;
if (_global.enemy_list[23] <= 0) {
kil = kil + 1;
_global.enemy_array[1] = 0;
e3.gotoAndStop(5);
}
}
if (en == 3) {
_global.enemy_list[53] = true;
if ((_global.atk_typ == "Body Slam") or (_global.atk_typ == "Trip")) {
_global.enemy_list[60] = true;
}
_global.enemy_list[43] = _global.ehp - _global.atkst;
if (_global.enemy_list[43] <= 0) {
kil = kil + 1;
_global.enemy_array[2] = 0;
e4.gotoAndStop(5);
}
}
if (en == 4) {
_global.enemy_list[73] = true;
if ((_global.atk_typ == "Body Slam") or (_global.atk_typ == "Trip")) {
_global.enemy_list[80] = true;
}
_global.enemy_list[63] = _global.ehp - _global.atkst;
if (_global.enemy_list[63] <= 0) {
kil = kil + 1;
_global.enemy_array[3] = 0;
e5.gotoAndStop(5);
}
}
if (en == 5) {
_global.enemy_list[93] = true;
if ((_global.atk_typ == "Body Slam") or (_global.atk_typ == "Trip")) {
_global.enemy_list[100] = true;
}
_global.enemy_list[83] = _global.ehp - _global.atkst;
if (_global.enemy_list[83] <= 0) {
kil = kil + 1;
_global.enemy_array[4] = 0;
e6.gotoAndStop(5);
}
}
}
if (sp == _global.sp) {
a = 2;
gotoAndPlay (9);
} else {
a = 1;
gotoAndPlay (9);
_global.eatk = false;
}
} else {
if (_global.atkst ne "Miss") {
_global.eatk = false;
_global.chp = _global.chp - _global.atkst;
}
_global.turn = _global.turn + 1;
gotoAndPlay (78);
}
ehp = (_global.ehp / _global.mehp) * 100;
ehpbar._width = ehp;
hp = (_global.chp / _global.hp) * 100;
hpbar._width = hp;
if (_global.amo == false) {
_global.camu = " ";
ambar._width = 100;
} else {
amo = (_global.camu / _global.amo) * 100;
ambar._width = amo;
}
Frame 78
if (_global.turn > _global.enemy_list[0]) {
_global.turn = 1;
}
trace(")))))))))))))))))))))))))))))))))))))))))))))");
trace("Current Turn");
trace(_global.turn);
trace("Player Goes");
trace(pturn);
if ((_global.turn == pturn) and (pgone == false)) {
trace("PLAYERS TURN");
pgone = true;
_global.rnd = _global.rnd + 1;
trace(_global.m_type);
trace(_global.rnd);
trace(_global.don);
trace(_global.enemy_list[0]);
trace(_global.maxes);
if (((_global.m_type == "Defend") and (_global.rnd < _global.don)) and ((_global.enemy_list[0] - kil) < _global.maxes)) {
trace("Loading New enemy");
s = random(3);
loadArray = _global.speArray;
trace(loadArray);
if (_global.enemy_list[3] <= 0) {
trace("loading 1");
_global.enemy_list[1] = loadArray[1];
_global.enemy_list[2] = loadArray[2];
_global.enemy_list[3] = loadArray[3];
_global.e1hp = loadArray[3];
_global.mehp = _global.e1hp;
_global.enemy_list[14] = _global.spxArray[s];
_global.enemy_list[15] = _global.spyArray[s];
_global.e2x = _global.spxArray[s];
_global.e2y = _global.spyArray[s];
_global.enemy_list[4] = loadArray[4];
_global.enemy_list[5] = loadArray[5];
_global.enemy_list[8] = loadArray[8];
_global.enemy_list[9] = loadArray[9];
_global.e1ts = _global.e1s;
_global.enemy_list[10] = loadArray[10];
_global.enemy_list[11] = loadArray[11];
_global.enemy_list[12] = loadArray[12];
_global.enemy_list[13] = loadArray[13];
e2.gotoAndStop(1);
trace(_global.e2x);
trace(_global.e2y);
} else if (_global.enemy_list[23] <= 0) {
_global.enemy_list[21] = loadArray[21];
_global.enemy_list[22] = loadArray[22];
_global.enemy_list[23] = loadArray[23];
_global.e2hp = loadArray[23];
_global.mehp = _global.e2hp;
_global.enemy_list[34] = _global.spxArray[s];
_global.enemy_list[35] = _global.spyArray[s];
_global.e3x = _global.spxArray[s];
_global.e3y = _global.spyArray[s];
_global.enemy_list[24] = loadArray[24];
_global.enemy_list[25] = loadArray[25];
_global.enemy_list[28] = loadArray[28];
_global.enemy_list[29] = loadArray[29];
_global.e1ts = _global.e1s;
_global.enemy_list[30] = loadArray[30];
_global.enemy_list[31] = loadArray[31];
_global.enemy_list[32] = loadArray[32];
_global.enemy_list[33] = loadArray[33];
} else if (_global.enemy_list[43] <= 0) {
} else if (_global.enemy_list[63] <= 0) {
} else if (_global.enemy_list[83] <= 0) {
}
}
a = 0;
_global.tsp = _global.sp + Math.round(_global.pplt / 2);
if ((_global.rnd >= _global.don) and (_global.m_type == "Defend")) {
gotoAndPlay (84);
} else {
gotoAndPlay (9);
}
} else {
trace("ENEMY TURN");
pgone = false;
top = false;
right = false;
_global.losx = _global.p1x;
_global.losy = _global.p1y;
n_range = range + 1;
t_range = range;
en = _global.turn;
trace(en);
gotoAndPlay (15);
}
Frame 80
e_box.gotoAndPlay(2);
trace("Player the e movie clip");
Frame 81
back.onRelease = function () {
gotoAndPlay (9);
};
Instance of Symbol 330 MovieClip "back" in Frame 81
onClipEvent (enterFrame) {
this._x = 447;
this._y = 117;
}
Frame 82
stop();
Frame 84
_global.kil = kil;
Frame 91
s.stop();
stopAllSounds();
stop();
Frame 93
_global.kil = kil;
_global.win = 0;
_global.winexp = 0;
_global.ckils = Math.round(_global.ckils / 2);
_global.expkil = Math.round(_global.expkil / 2);
trace("Here be the rewards!");
trace(_global.ckils);
trace(_global.expkil);
Frame 100
s.stop();
stopAllSounds();
stop();
Frame 102
stop();
Frame 103
b = false;
s.stop();
stopAllSounds();
s = new Sound();
s.attachSound("base");
s.start();
Frame 106
delete gtext;
trace(_global.time);
trace(_global.awake);
if ((_global.awake >= 8) and (_global.awake <= 10)) {
_global.fatigue = 9;
} else if ((_global.awake >= 11) and (_global.awake <= 13)) {
_global.fatigue = 8;
} else if ((_global.awake >= 14) and (_global.awake <= 16)) {
_global.fatigue = 7;
} else if ((_global.awake >= 17) and (_global.awake <= 19)) {
_global.fatigue = 6;
} else if ((_global.awake >= 20) and (_global.awake <= 22)) {
_global.fatigue = 5;
} else if ((_global.awake >= 23) and (_global.awake <= 25)) {
_global.fatigue = 4;
} else if ((_global.awake >= 26) and (_global.awake <= 28)) {
_global.fatigue = 3;
} else if ((_global.awake >= 29) and (_global.awake <= 31)) {
_global.fatigue = 2;
} else if ((_global.awake >= 32) and (_global.awake <= 34)) {
_global.fatigue = 1;
} else if ((_global.awake >= 35) and (_global.awake <= 37)) {
_global.fatigue = 0;
}
Frame 108
if ((_global.plot == 0) or (random(8) == 1)) {
talk_mc.gotoAndPlay(2);
stop();
}
Frame 109
if ((_global.time >= 7) and (_global.time <= 16)) {
sky.gotoAndPlay(1);
} else if (((_global.time >= 5) and (_global.time <= 6)) or ((_global.time >= 17) and (_global.time <= 19))) {
sky.gotoAndPlay(4);
} else if ((_global.time >= 20) and (_global.time <= 22)) {
sky.gotoAndPlay(7);
} else if (((_global.time >= 23) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 4))) {
sky.gotoAndPlay(10);
}
if (_global.time > 24) {
_global.time = 1 + (_global.time - 24);
}
b_back.onRollOver = function () {
b_back.gotoAndPlay(2);
};
b_back.onRollOut = function () {
b_back.gotoAndPlay(7);
};
b_back.onRelease = function () {
_global.time = _global.time + 1;
_global.awake = _global.awake + 1;
b = true;
gotoAndPlay (111);
};
forw.onRollOver = function () {
forw.gotoAndPlay(2);
};
forw.onRollOut = function () {
forw.gotoAndPlay(7);
};
forw.onRelease = function () {
b = false;
_global.time = _global.time + 1;
_global.awake = _global.awake + 1;
gotoAndPlay (111);
};
b_enter.onRollOver = function () {
b_enter.gotoAndPlay(2);
};
b_enter.onRollOut = function () {
b_enter.gotoAndPlay(7);
};
b_enter.onRelease = function () {
if (_global.plot == 1) {
gtext = "You Must Purchase A Mobile Armor First";
} else if ((((_global.health / _global.mhealth) * 100) <= 40) or (((_global.fatigue / _global.mfatigue) * 100) <= 60)) {
gtext = "Your condition is too poor";
} else {
move = "enter";
gotoAndPlay (159);
}
};
b_train.onRollOver = function () {
b_train.gotoAndPlay(2);
};
b_train.onRollOut = function () {
b_train.gotoAndPlay(7);
};
b_train.onRelease = function () {
move = "train";
gotoAndPlay (159);
};
clock.onRollOver = function () {
clock.gotoAndStop(3);
};
clock.onRollOut = function () {
clock.gotoAndPlay(1);
};
health = (_global.health / _global.mhealth) * 100;
stat.h_bar._width = health;
fatigue = (_global.fatigue / _global.mfatigue) * 100;
stat.f_bar._width = fatigue;
Frame 110
gotoAndPlay (109);
Frame 114
if (b == true) {
gotoAndPlay (183);
}
Frame 115
delete gtext;
if ((_global.awake >= 8) and (_global.awake <= 10)) {
_global.fatigue = 9;
} else if ((_global.awake >= 11) and (_global.awake <= 13)) {
_global.fatigue = 8;
} else if ((_global.awake >= 14) and (_global.awake <= 16)) {
_global.fatigue = 7;
} else if ((_global.awake >= 17) and (_global.awake <= 19)) {
_global.fatigue = 6;
} else if ((_global.awake >= 20) and (_global.awake <= 22)) {
_global.fatigue = 5;
} else if ((_global.awake >= 23) and (_global.awake <= 25)) {
_global.fatigue = 4;
} else if ((_global.awake >= 26) and (_global.awake <= 28)) {
_global.fatigue = 3;
} else if ((_global.awake >= 29) and (_global.awake <= 31)) {
_global.fatigue = 2;
} else if ((_global.awake >= 32) and (_global.awake <= 34)) {
_global.fatigue = 1;
} else if ((_global.awake >= 35) and (_global.awake <= 37)) {
_global.fatigue = 0;
}
Frame 117
if ((_global.plot == 0) or (random(10) == 1)) {
talk_mc.gotoAndPlay(2);
stop();
}
Frame 118
if ((_global.time >= 7) and (_global.time <= 16)) {
sky.gotoAndPlay(1);
} else if (((_global.time >= 5) and (_global.time <= 6)) or ((_global.time >= 17) and (_global.time <= 19))) {
sky.gotoAndPlay(4);
} else if ((_global.time >= 20) and (_global.time <= 22)) {
sky.gotoAndPlay(7);
} else if (((_global.time >= 23) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 4))) {
sky.gotoAndPlay(10);
}
if (_global.time > 24) {
_global.time = 1 + (_global.time - 24);
}
b_back.onRollOver = function () {
b_back.gotoAndPlay(2);
};
b_back.onRollOut = function () {
b_back.gotoAndPlay(7);
};
b_back.onRelease = function () {
b = true;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (120);
};
forw.onRollOver = function () {
forw.gotoAndPlay(2);
};
forw.onRollOut = function () {
forw.gotoAndPlay(7);
};
forw.onRelease = function () {
b = false;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (120);
};
b_enter.onRollOver = function () {
b_enter.gotoAndPlay(2);
};
b_enter.onRollOut = function () {
b_enter.gotoAndPlay(7);
};
b_enter.onRelease = function () {
if (_global.plot == 1) {
_global.plot = 2;
}
gotoAndPlay (151);
};
clock.onRollOver = function () {
clock.gotoAndStop(3);
};
clock.onRollOut = function () {
clock.gotoAndPlay(1);
};
health = (_global.health / _global.mhealth) * 100;
stat.h_bar._width = health;
fatigue = (_global.fatigue / _global.mfatigue) * 100;
stat.f_bar._width = fatigue;
Frame 119
gotoAndPlay (118);
Frame 123
if (b == true) {
gotoAndPlay (106);
}
Frame 124
delete gtext;
if ((_global.awake >= 8) and (_global.awake <= 10)) {
_global.fatigue = 9;
} else if ((_global.awake >= 11) and (_global.awake <= 13)) {
_global.fatigue = 8;
} else if ((_global.awake >= 14) and (_global.awake <= 16)) {
_global.fatigue = 7;
} else if ((_global.awake >= 17) and (_global.awake <= 19)) {
_global.fatigue = 6;
} else if ((_global.awake >= 20) and (_global.awake <= 22)) {
_global.fatigue = 5;
} else if ((_global.awake >= 23) and (_global.awake <= 25)) {
_global.fatigue = 4;
} else if ((_global.awake >= 26) and (_global.awake <= 28)) {
_global.fatigue = 3;
} else if ((_global.awake >= 29) and (_global.awake <= 31)) {
_global.fatigue = 2;
} else if ((_global.awake >= 32) and (_global.awake <= 34)) {
_global.fatigue = 1;
} else if ((_global.awake >= 35) and (_global.awake <= 37)) {
_global.fatigue = 0;
}
Frame 126
if ((_global.plot == 0) or (random(6) == 1)) {
talk_mc.gotoAndPlay(2);
stop();
}
Frame 127
pstats.onRollOver = function () {
gtext = " ";
pstatsb.gotoAndPlay(2);
pstats.gotoAndPlay(2);
};
pstats.onRollOut = function () {
pstatsb.gotoAndPlay(1);
pstats.gotoAndPlay(7);
};
if ((_global.time >= 7) and (_global.time <= 16)) {
sky.gotoAndPlay(1);
} else if (((_global.time >= 5) and (_global.time <= 6)) or ((_global.time >= 17) and (_global.time <= 19))) {
sky.gotoAndPlay(4);
} else if ((_global.time >= 20) and (_global.time <= 22)) {
sky.gotoAndPlay(7);
} else if (((_global.time >= 23) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 4))) {
sky.gotoAndPlay(10);
}
if (_global.time > 24) {
_global.time = 1 + (_global.time - 24);
_global.day = _global.day + 1;
if (_global.day > 30) {
_global.day = 1;
_global.month = _global.month + 1;
if (_global.month > 12) {
_global.month = 1;
}
}
}
b_back.onRollOver = function () {
b_back.gotoAndPlay(2);
};
b_back.onRollOut = function () {
b_back.gotoAndPlay(7);
};
b_back.onRelease = function () {
b = true;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (129);
};
forw.onRollOver = function () {
forw.gotoAndPlay(2);
};
forw.onRollOut = function () {
forw.gotoAndPlay(7);
};
forw.onRelease = function () {
b = false;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (129);
};
b_sleep.onRollOver = function () {
b_sleep.gotoAndPlay(2);
};
b_sleep.onRollOut = function () {
b_sleep.gotoAndPlay(7);
};
b_sleep.onRelease = function () {
gotoAndPlay (192);
};
clock.onRollOver = function () {
clock.gotoAndStop(3);
};
clock.onRollOut = function () {
clock.gotoAndPlay(1);
};
health = (_global.health / _global.mhealth) * 100;
stat.h_bar._width = health;
fatigue = (_global.fatigue / _global.mfatigue) * 100;
stat.f_bar._width = fatigue;
Frame 128
gotoAndPlay (127);
Frame 132
if (b == true) {
gotoAndPlay (115);
}
Frame 133
delete gtext;
if ((_global.awake >= 8) and (_global.awake <= 10)) {
_global.fatigue = 9;
} else if ((_global.awake >= 11) and (_global.awake <= 13)) {
_global.fatigue = 8;
} else if ((_global.awake >= 14) and (_global.awake <= 16)) {
_global.fatigue = 7;
} else if ((_global.awake >= 17) and (_global.awake <= 19)) {
_global.fatigue = 6;
} else if ((_global.awake >= 20) and (_global.awake <= 22)) {
_global.fatigue = 5;
} else if ((_global.awake >= 23) and (_global.awake <= 25)) {
_global.fatigue = 4;
} else if ((_global.awake >= 26) and (_global.awake <= 28)) {
_global.fatigue = 3;
} else if ((_global.awake >= 29) and (_global.awake <= 31)) {
_global.fatigue = 2;
} else if ((_global.awake >= 32) and (_global.awake <= 34)) {
_global.fatigue = 1;
} else if ((_global.awake >= 35) and (_global.awake <= 37)) {
_global.fatigue = 0;
}
Frame 135
if ((_global.plot == 0) or (random(2) == 1)) {
talk_mc.gotoAndPlay(2);
stop();
}
Frame 136
if ((_global.time >= 7) and (_global.time <= 16)) {
sky.gotoAndPlay(1);
} else if (((_global.time >= 5) and (_global.time <= 6)) or ((_global.time >= 17) and (_global.time <= 19))) {
sky.gotoAndPlay(4);
} else if ((_global.time >= 20) and (_global.time <= 22)) {
sky.gotoAndPlay(7);
} else if (((_global.time >= 23) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 4))) {
sky.gotoAndPlay(10);
}
if (_global.time > 24) {
_global.time = 1 + (_global.time - 24);
_global.day = _global.day + 1;
if (_global.day > 30) {
_global.day = 1;
_global.month = _global.month + 1;
if (_global.month > 12) {
_global.month = 1;
}
}
}
b_back.onRollOver = function () {
b_back.gotoAndPlay(2);
};
b_back.onRollOut = function () {
b_back.gotoAndPlay(7);
};
b_back.onRelease = function () {
b = true;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (138);
};
forw.onRollOver = function () {
forw.gotoAndPlay(2);
};
forw.onRollOut = function () {
forw.gotoAndPlay(7);
};
forw.onRelease = function () {
b = false;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (138);
};
b_enter.onRollOver = function () {
b_enter.gotoAndPlay(2);
};
b_enter.onRollOut = function () {
b_enter.gotoAndPlay(7);
};
b_enter.onRelease = function () {
if (((_global.time >= 23) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 6))) {
gtext = "Sorry, They're Closed";
} else {
gtext = "Not Available in the Demo Version";
}
};
clock.onRollOver = function () {
clock.gotoAndStop(3);
};
clock.onRollOut = function () {
clock.gotoAndPlay(1);
};
health = (_global.health / _global.mhealth) * 100;
stat.h_bar._width = health;
fatigue = (_global.fatigue / _global.mfatigue) * 100;
stat.f_bar._width = fatigue;
Frame 137
gotoAndPlay (136);
Frame 141
if (b == true) {
gotoAndPlay (124);
}
Frame 142
delete gtext;
if ((_global.awake >= 8) and (_global.awake <= 10)) {
_global.fatigue = 9;
} else if ((_global.awake >= 11) and (_global.awake <= 13)) {
_global.fatigue = 8;
} else if ((_global.awake >= 14) and (_global.awake <= 16)) {
_global.fatigue = 7;
} else if ((_global.awake >= 17) and (_global.awake <= 19)) {
_global.fatigue = 6;
} else if ((_global.awake >= 20) and (_global.awake <= 22)) {
_global.fatigue = 5;
} else if ((_global.awake >= 23) and (_global.awake <= 25)) {
_global.fatigue = 4;
} else if ((_global.awake >= 26) and (_global.awake <= 28)) {
_global.fatigue = 3;
} else if ((_global.awake >= 29) and (_global.awake <= 31)) {
_global.fatigue = 2;
} else if ((_global.awake >= 32) and (_global.awake <= 34)) {
_global.fatigue = 1;
} else if ((_global.awake >= 35) and (_global.awake <= 37)) {
_global.fatigue = 0;
}
Frame 144
if ((_global.plot == 0) or (random(10) == 1)) {
talk_mc.gotoAndPlay(2);
stop();
}
Frame 145
if ((_global.time >= 7) and (_global.time <= 16)) {
sky.gotoAndPlay(1);
} else if (((_global.time >= 5) and (_global.time <= 6)) or ((_global.time >= 17) and (_global.time <= 19))) {
sky.gotoAndPlay(4);
} else if ((_global.time >= 20) and (_global.time <= 22)) {
sky.gotoAndPlay(7);
} else if (((_global.time >= 23) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 4))) {
sky.gotoAndPlay(10);
}
if (_global.time > 24) {
_global.time = 1 + (_global.time - 24);
_global.day = _global.day + 1;
if (_global.day > 30) {
_global.day = 1;
_global.month = _global.month + 1;
if (_global.month > 12) {
_global.month = 1;
}
}
}
b_back.onRollOver = function () {
b_back.gotoAndPlay(2);
};
b_back.onRollOut = function () {
b_back.gotoAndPlay(7);
};
b_back.onRelease = function () {
b = true;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (147);
};
forw.onRollOver = function () {
forw.gotoAndPlay(2);
};
forw.onRollOut = function () {
forw.gotoAndPlay(7);
};
forw.onRelease = function () {
b = false;
_global.awake = _global.awake + 1;
_global.time = _global.time + 1;
gotoAndPlay (147);
};
b_enter.onRollOver = function () {
b_enter.gotoAndPlay(2);
};
b_enter.onRollOut = function () {
b_enter.gotoAndPlay(7);
};
b_enter.onRelease = function () {
if (((_global.time >= 20) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 11))) {
gtext = "Sorry, They're Closed";
} else {
gtext = "Not Available in the Demo Version";
}
};
clock.onRollOver = function () {
clock.gotoAndStop(3);
};
clock.onRollOut = function () {
clock.gotoAndPlay(1);
};
health = (_global.health / _global.mhealth) * 100;
stat.h_bar._width = health;
fatigue = (_global.fatigue / _global.mfatigue) * 100;
stat.f_bar._width = fatigue;
Frame 146
gotoAndPlay (145);
Frame 150
if (b == true) {
gotoAndPlay (133);
} else {
gotoAndPlay (183);
}
Frame 152
s.stop();
stopAllSounds();
Frame 154
gotoAndPlay (5);
Frame 155
b = false;
_global.awake = _global.awake + 2;
_global.time = _global.time + 2;
s.stop();
stopAllSounds();
s = new Sound();
s.attachSound("base");
s.start();
Frame 158
gotoAndPlay (118);
Frame 160
s.stop();
stopAllSounds();
Frame 162
trace(move);
if (move == "enter") {
gotoAndPlay (208);
} else if (move == "train") {
gotoAndPlay (217);
}
Frame 163
b = false;
gtext = " ";
_global.awake = _global.awake + 5;
_global.time = _global.time + 5;
s.stop();
stopAllSounds();
s = new Sound();
s.attachSound("base");
s.start();
Frame 166
gotoAndPlay (109);
Frame 183
delete gtext;
Frame 185
if ((_global.plot == 0) or (random(7) == 1)) {
talk_mc.gotoAndPlay(2);
stop();
}
Frame 186
if ((_global.time >= 7) and (_global.time <= 16)) {
sky.gotoAndPlay(1);
} else if (((_global.time >= 5) and (_global.time <= 6)) or ((_global.time >= 17) and (_global.time <= 19))) {
sky.gotoAndPlay(4);
} else if ((_global.time >= 20) and (_global.time <= 22)) {
sky.gotoAndPlay(7);
} else if (((_global.time >= 23) and (_global.time <= 24)) or ((_global.time >= 1) and (_global.time <= 4))) {
sky.gotoAndPlay(10);
}
if (_global.time > 24) {
_global.time = 1 + (_global.time - 24);
_global.day = _global.day + 1;
if (_global.day > 30) {
_global.day = 1;
_global.month = _global.month + 1;
if (_global.month > 12) {
_global.month = 1;
}
}
}
b_back.onRollOver = function () {
b_back.gotoAndPlay(2);
};
b_back.onRollOut = function () {
b_back.gotoAndPlay(7);
};
b_back.onRelease = function () {
b = true;
_global.time = _global.time + 1;
gotoAndPlay (188);
};
clock.onRollOver = function () {
clock.gotoAndStop(3);
};
clock.onRollOut = function () {
clock.gotoAndPlay(1);
};
forw.onRollOver = function () {
forw.gotoAndPlay(2);
};
forw.onRollOut = function () {
forw.gotoAndPlay(7);
};
forw.onRelease = function () {
b = false;
_global.time = _global.time + 1;
gotoAndPlay (188);
};
b_enter.onRollOver = function () {
b_enter.gotoAndPlay(2);
};
b_enter.onRollOut = function () {
b_enter.gotoAndPlay(7);
};
b_enter.onRelease = function () {
gtext = "Not Available in the Demo Version";
};
health = (_global.health / _global.mhealth) * 100;
stat.h_bar._width = health;
fatigue = (_global.fatigue / _global.mfatigue) * 100;
stat.f_bar._width = fatigue;
Frame 187
gotoAndPlay (186);
Frame 191
if (b == true) {
gotoAndPlay (142);
} else {
gotoAndPlay (106);
}
Frame 195
if (_global.awake <= 7) {
_global.health = _global.health - 1;
}
_global.fatigue = 10;
if (_global.awake >= 28) {
trace(Math.round(_global.awake / 9));
s = Math.round(_global.awake / 9);
_global.health = _global.health - s;
} else {
s = 0;
}
ts = 7 + s;
_global.time = ts + _global.time;
gtext = ("You Slept for " + ts) + " Hours";
_global.awake = 0;
Frame 206
gotoAndPlay (127);
Frame 208
trace("PLOT LINE VAR");
trace(_global.plot);
if (_global.plot < 5) {
gotoAndPlay (216);
} else if (_global.plot == 5) {
_global.plot = 6;
_global.missionArray = [1, false];
_global.m_a1 = [175125, 200325, 225125, 225150, 225175, 200175, 175175, 175150, 350150, 350175, 350200, 325200, 300200, 300175, 300150, 325150, 175325, 200325, 225325, 225300, 225275, 200275, 175275, 175300];
_global.e_a1 = [250150, 375175, 150225];
_global.e_l1 = [3, 5, "Coldcell", 14, 1, 0, 2, 7, 2, "SMG", 3, 4, 10, true, 250, 150, false, false, true, false, false, 5, "New Blood 2", 8, 0, 0, 1, 6, 2, "SMG", 3, 4, 10, true, 375, 175, false, false, true, false, false, 5, "New Blood 3", 8, 0, 0, 1, 6, 2, "SMG", 3, 4, 10, true, 150, 225, false, false, true, false, false];
_global.mission1 = ["Firefight", "Cold Blooded", 2, 7, 1, 5, 3, _global.m_a1, _global.e_a1, _global.e_l1, 14, 8, 8, 0, 0, 250, 350, 250, 150, 375, 175, 150, 225, 600, 0, 600, 0, 5, 1, 2, "New Bloods have been raiding research facilities for the past week. Intelligence reports that these hangers are their next target. Use extreme caution, New Blood general ColdCell will be leading the raid."];
gotoAndPlay (211);
}
Frame 211
mini.gotoAndStop(5);
Frame 212
ac = false;
if (_global.missionArray[1] == false) {
m1 = _global.mission1[0];
mn1 = _global.mission1[1];
ml1 = "Level " + _global.mission1[2];
mc1 = _global.mission1[3] + " Credits";
if (_global.mission1[0] == "Assault") {
plaque1.gotoAndStop(1);
} else if (_global.mission1[0] == "Defend") {
plaque1.gotoAndStop(2);
} else if (_global.mission1[0] == "Firefight") {
plaque1.gotoAndStop(3);
}
} else {
m1 = " ";
mn1 = " ";
ml1 = " ";
mc1 = " ";
plaque1.gotoAndStop(4);
}
if ((_global.missionArray[2] == false) and (_global.missionArray[0] >= 2)) {
m2 = _global.mission2[0];
mn2 = _global.mission2[1];
ml2 = "Level " + _global.mission2[2];
mc2 = _global.mission2[3] + " Credits";
if (_global.mission2[0] == "Assault") {
plaque2.gotoAndStop(1);
} else if (_global.mission2[0] == "Defend") {
plaque2.gotoAndStop(2);
} else if (_global.mission2[0] == "Firefight") {
plaque2.gotoAndStop(3);
}
} else {
m2 = " ";
mn2 = " ";
ml2 = " ";
mc2 = " ";
plaque2.gotoAndStop(4);
}
if ((_global.missionArray[3] == false) and (_global.missionArray[0] >= 3)) {
m3 = _global.mission3[0];
mn3 = _global.mission3[1];
ml3 = "Level " + _global.mission3[2];
mc3 = _global.mission3[3] + " Credits";
if (_global.mission3[0] == "Assault") {
plaque3.gotoAndStop(1);
} else if (_global.mission3[0] == "Defend") {
plaque3.gotoAndStop(2);
} else if (_global.mission3[0] == "Firefight") {
plaque3.gotoAndStop(3);
}
} else {
m3 = " ";
mn3 = " ";
ml3 = " ";
mc3 = " ";
plaque3.gotoAndStop(4);
}
if ((_global.missionArray[4] == false) and (_global.missionArray[0] >= 4)) {
m4 = _global.mission4[0];
mn4 = _global.mission4[1];
ml4 = "Level " + _global.mission4[2];
mc4 = _global.mission4[3] + " Credits";
if (_global.mission4[0] == "Assault") {
plaque4.gotoAndStop(1);
} else if (_global.mission4[0] == "Defend") {
plaque4.gotoAndStop(2);
} else if (_global.mission4[0] == "Firefight") {
plaque4.gotoAndStop(3);
}
} else {
m4 = " ";
mn4 = " ";
ml4 = " ";
mc4 = " ";
plaque4.gotoAndStop(4);
}
if ((_global.missionArray[5] == false) and (_global.missionArray[0] >= 5)) {
m5 = _global.mission5[0];
mn5 = _global.mission5[1];
ml5 = "Level " + _global.mission5[2];
mc5 = _global.mission5[3] + " Credits";
if (_global.mission5[0] == "Assault") {
plaque5.gotoAndStop(1);
} else if (_global.mission5[0] == "Defend") {
plaque5.gotoAndStop(2);
} else if (_global.mission5[0] == "Firefight") {
plaque5.gotoAndStop(3);
}
} else {
m5 = " ";
mn5 = " ";
ml5 = " ";
mc5 = " ";
plaque5.gotoAndStop(4);
}
Frame 213
exit.onRollOver = function () {
exit.gotoAndPlay(2);
};
exit.onRollOut = function () {
exit.gotoAndPlay(7);
};
exit.onRelease = function () {
gotoAndPlay (163);
};
if (ac == false) {
accept.gotoAndStop(8);
}
if (ac == true) {
accept.onRollOver = function () {
accept.gotoAndPlay(2);
};
accept.onRollOut = function () {
accept.gotoAndPlay(7);
};
accept.onRelease = function () {
_global.plot = _global.plot + 1;
gotoAndPlay (215);
};
}
if (_global.missionArray[1] == false) {
invs1.onRelease = function () {
_global.m_type = "Assault";
mi = 1;
ac = true;
accept.gotoAndStop(1);
m = _global.mission1[27];
mini.gotoAndStop(m);
minib.gotoAndStop(m);
brief = _global.mission1[30];
};
}
if (_global.missionArray[2] == false) {
invs2.onRelease = function () {
_global.m_type = "Firefight";
mi = 2;
ac = true;
brief = _global.mission2[30];
m = _global.mission2[27];
mini.gotoAndStop(m);
minib.gotoAndStop(m);
accept.gotoAndStop(1);
};
}
if (_global.missionArray[3] == false) {
invs3.onRelease = function () {
mi = 3;
ac = true;
brief = _global.mission3[30];
m = _global.mission3[27];
mini.gotoAndStop(m);
minib.gotoAndStop(m);
accept.gotoAndStop(1);
};
}
Frame 214
gotoAndPlay (213);
Frame 215
if (mi == 1) {
_global.mission = _global.mission1;
_global.missionArray[1] = true;
} else if (mi == 2) {
_global.mission = _global.mission2;
_global.missionArray[2] = true;
} else if (mi == 3) {
_global.m_type = "Defend";
_global.speArray = _global.spe3Array;
_global.spxArray = _global.spx3;
_global.spyArray = _global.spy3;
trace(spxArray);
trace(spyArray);
_global.don = 10;
_global.maxes = 2;
_global.mission = _global.mission3;
_global.missionArray[3] = true;
}
trace(_global.missionArray);
_global.win = _global.mission[3];
_global.ckils = _global.mission[4];
_global.winexp = _global.mission[5];
_global.expkil = _global.mission[6];
_global.myArray = _global.mission[7];
_global.enemy_array = _global.mission[8];
_global.enemy_list = _global.mission[9];
_global.e1hp = _global.mission[10];
_global.e2hp = _global.mission[11];
_global.e3hp = _global.mission[12];
_global.e4hp = _global.mission[13];
_global.e5hp = _global.mission[14];
_global.p1x = _global.mission[15];
_global.p1y = _global.mission[16];
_global.e2x = _global.mission[17];
_global.e2y = _global.mission[18];
_global.e3x = _global.mission[19];
_global.e3y = _global.mission[20];
_global.e4x = _global.mission[21];
_global.e4y = _global.mission[22];
_global.e5x = _global.mission[23];
_global.e5y = _global.mission[24];
_global.e6x = _global.mission[25];
_global.e6y = _global.mission[26];
_global.map = _global.mission[27];
_global.top = _global.mission[28];
_global.scn = _global.mission[29];
trace("-------------------------");
trace(_global.mission[29]);
trace(_global.mission1[29]);
trace(_global.scn);
gotoAndPlay (8);
Frame 216
trace("LOADING MISSIONS");
_global.m_a1 = [275175, 275150, 275125, 150225, 175225, 200225, 250350, 250325, 250300, 375250, 350250, 325250];
_global.e_a1 = [375300, 350125];
_global.e_l1 = [2, 5, "New Blood 1", 8, 1, 0, 1, 6, 2, "SMG", 3, 4, 10, true, 375, 300, false, false, true, false, false, 5, "New Blood 2", 8, 0, 0, 1, 6, 2, "SMG", 3, 4, 10, true, 350, 125, false, false, true, false, false];
_global.m_a2 = [375150, 375175, 325175, 300175, 300150, 325150, 375225, 375250, 375275, 375300, 325250, 300250, 275250, 250250, 250225, 275225, 300225, 325225, 200350, 200325];
_global.e_a2 = [325125, 350250];
_global.e_l2 = [2, 5, "New Blood 1", 9, 1, 1, 1, 6, 2, "SMG", 3, 4, 10, false, 350, 150, false, false, true, false, false, 5, "New Blood 2", 9, 0, 1, 1, 6, 2, "SMG", 3, 4, 10, false, 350, 125, false, false, true, false, false];
_global.m_a3 = [225175, 250175, 300200, 300225, 300250, 275300, 250300, 200275, 200250, 200225];
_global.e_a3 = [350125, 250350];
_global.e_l3 = [2, 5, "New Blood 1", 8, 1, 1, 1, 6, 2, "SMG", 3, 4, 10, true, 350, 125, false, false, true, false, false, 5, "New Blood 2", 8, 0, 1, 1, 6, 2, "SMG", 3, 4, 10, true, 250, 350, false, false, true, false, false];
_global.spe3Array = [0, 5, "New Blood", 8, 0, 1, 1, 6, 2, "SMG", 3, 4, 10, true, 350, 125, false, false, true, false, false];
_global.spx3 = [350, 250, 150];
_global.spy3 = [125, 350, 200];
_global.mission1 = ["Firefight", "Stone Ridge Assault", 1, 4, 0, 3, 1, _global.m_a1, _global.e_a1, _global.e_l1, 8, 8, 0, 0, 0, 150, 125, 350, 150, 350, 125, 600, 0, 600, 0, 600, 0, 2, 2, 1, "Stone Ridge is located near a very busy crossroad. It appears that the New Bloods are using Stone Ridge as a way point for their weapon smuggling route. As well as attacking caravans to pillage them. Intelligence shows a few breaks in their guard shifts, so we can strike them when they are vurnerable. They won't even know what hit 'em."];
_global.mission2 = ["Assault", "Stone City", 1, 5, 0, 3, 1, _global.m_a2, _global.e_a2, _global.e_l2, 9, 9, 0, 0, 0, 175, 350, 325, 125, 350, 250, 600, 0, 600, 0, 600, 0, 3, 1, 2, "New bloods have rescently occupied Stone City. They are extorting Credits from the towns small shops. You must liberate Stone City."];
_global.mission3 = ["Defend", "Attack on Stoney Plains", 1, 5, 0, 3, 1, _global.m_a3, _global.e_a3, _global.e_l3, 8, 8, 0, 0, 0, 250, 225, 350, 125, 250, 350, 600, 0, 600, 0, 600, 0, 4, 1, 1, "Looks like the New Bloods are trying to stick their greedy hands where they don't belong. You'll need to keep them busy till reinforcements arrive."];
trace(_global.mission1);
gotoAndPlay (211);
Frame 217
exp = _global.exp;
exp1 = 0;
exp2 = 0;
exp3 = 0;
exp4 = 0;
exp5 = 0;
exp6 = 0;
exp7 = 0;
c1 = _global.cevm;
c2 = _global.cmrk;
c3 = _global.cplt;
c4 = _global.cpam;
c5 = _global.cgng;
c6 = _global.cmel;
c7 = _global.cgrp;
b1 = _global.pevm;
b2 = _global.pmrk;
b3 = _global.pplt;
b4 = _global.ppam;
b5 = _global.pgng;
b6 = _global.pmel;
b7 = _global.pgrp;
gtext = " ";
if (_global.evmp == true) {
colorval = "FFFFCC";
my_color = new Color(a1);
my_color.setRGB("0x" + colorval);
}
if (_global.nps >= 1) {
gotoAndPlay (218);
} else {
gotoAndPlay (221);
}
Frame 218
if (_global.nps > 1) {
skills = "skills";
} else {
skills = "skill";
}
if (_global.nps > 0) {
text = (("Choose " + _global.nps) + " new primary ") + skills;
} else {
text = " ";
}
a1.onRollOver = function () {
gtext = "Evasive Maneuvers: Increases Battle Mod while Defending";
};
a2.onRollOver = function () {
gtext = "Marksmanship: Increases Battle Mod while Attacking";
};
a3.onRollOver = function () {
gtext = "Piloting: Increases Mobile Armor Speed for every 2 points";
};
a4.onRollOver = function () {
gtext = "Precisce Aiming: Increases Critical Hit chance by 2%";
};
a5.onRollOver = function () {
gtext = "Gunning: Increases Damage dealt in Range attacks";
};
a6.onRollOver = function () {
gtext = "Melee: Increases Damage dealt in Melee attacks";
};
a7.onRollOver = function () {
gtext = "Grappling: Increases Damage dealt in Grapple attacks";
};
if (_global.evmp == true) {
sps = sps + b1;
colorval = "FFFFCC";
my_color = new Color(a1);
my_color.setRGB("0x" + colorval);
}
if (_global.mrkp == true) {
sps = sps + b2;
colorval = "FFFFCC";
my_color = new Color(a2);
my_color.setRGB("0x" + colorval);
}
if (_global.pltp == true) {
sps = sps + b3;
colorval = "FFFFCC";
my_color = new Color(a3);
my_color.setRGB("0x" + colorval);
}
if (_global.pamp == true) {
colorval = "FFFFCC";
my_color = new Color(a4);
my_color.setRGB("0x" + colorval);
sps = sps + b4;
}
if (_global.gngp == true) {
sps = sps + b5;
colorval = "FFFFCC";
my_color = new Color(a5);
my_color.setRGB("0x" + colorval);
}
if (_global.melp == true) {
sps = sps + b6;
colorval = "FFFFCC";
my_color = new Color(a6);
my_color.setRGB("0x" + colorval);
}
if (_global.grpp == true) {
sps = sps + b7;
colorval = "FFFFCC";
my_color = new Color(a7);
my_color.setRGB("0x" + colorval);
}
a1.onRelease = function () {
if (_global.evmp == false) {
colorval = "FFFFCC";
my_color = new Color(a1);
my_color.getRGB(a1);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps - 1;
_global.evmp = true;
} else if (_global.evmp == true) {
colorval = "CCCCCC";
my_color = new Color(a1);
my_color.getRGB(a1);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps + 1;
_global.evmp = false;
}
};
a2.onRelease = function () {
if (_global.mrkp == false) {
colorval = "FFFFCC";
my_color = new Color(a2);
my_color.getRGB(a2);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps - 1;
_global.mrkp = true;
} else if (_global.mrkp == true) {
colorval = "CCCCCC";
my_color = new Color(a2);
my_color.getRGB(a2);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps + 1;
_global.mrkp = false;
}
};
a3.onRelease = function () {
if (_global.pltp == false) {
colorval = "FFFFCC";
my_color = new Color(a3);
my_color.getRGB(a3);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps - 1;
_global.pltp = true;
} else if (_global.pltp == true) {
colorval = "CCCCCC";
my_color = new Color(a3);
my_color.getRGB(a3);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps + 1;
_global.pltp = false;
}
};
a4.onRelease = function () {
if (_global.pamp == false) {
colorval = "FFFFCC";
my_color = new Color(a4);
my_color.getRGB(a4);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps - 1;
_global.pamp = true;
} else if (_global.pamp == true) {
colorval = "CCCCCC";
my_color = new Color(a4);
my_color.getRGB(a4);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps + 1;
_global.pamp = false;
}
};
a5.onRelease = function () {
if (_global.gngp == false) {
colorval = "FFFFCC";
my_color = new Color(a5);
my_color.getRGB(a5);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps - 1;
_global.gngp = true;
} else if (_global.gngp == true) {
colorval = "CCCCCC";
my_color = new Color(a5);
my_color.getRGB(a5);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps + 1;
_global.gngp = false;
}
};
a6.onRelease = function () {
if (_global.melp == false) {
colorval = "FFFFCC";
my_color = new Color(a6);
my_color.getRGB(a6);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps - 1;
_global.melp = true;
} else if (_global.melp == true) {
colorval = "CCCCCC";
my_color = new Color(a6);
my_color.getRGB(a6);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps + 1;
_global.melp = false;
}
};
a7.onRelease = function () {
if (_global.grpp == false) {
colorval = "FFFFCC";
my_color = new Color(a7);
my_color.getRGB(a7);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps - 1;
_global.grpp = true;
} else if (_global.grpp == true) {
colorval = "CCCCCC";
my_color = new Color(a7);
my_color.getRGB(a7);
trace(my_color);
my_color.setRGB("0x" + colorval);
_global.nps = _global.nps + 1;
_global.grpp = false;
}
};
Frame 219
gotoAndPlay (218);
if (_global.nps ne 0) {
accept.gotoAndStop(8);
accept.onRollOver = function () {
};
accept.onRollOut = function () {
};
accept.onRelease = function () {
};
} else if (_global.nps == 0) {
accept.onRollOver = function () {
accept.gotoAndPlay(2);
};
accept.onRollOut = function () {
accept.gotoAndPlay(7);
};
accept.onRelease = function () {
gotoAndPlay (221);
};
}
Frame 221
sps = 0;
plvl = _global.plvl;
if (_global.evmp == true) {
sps = sps + b1;
colorval = "FFFFCC";
my_color = new Color(a1);
my_color.setRGB("0x" + colorval);
}
if (_global.mrkp == true) {
sps = sps + b2;
colorval = "FFFFCC";
my_color = new Color(a2);
my_color.setRGB("0x" + colorval);
}
if (_global.pltp == true) {
sps = sps + b3;
colorval = "FFFFCC";
my_color = new Color(a3);
my_color.setRGB("0x" + colorval);
}
if (_global.pamp == true) {
colorval = "FFFFCC";
my_color = new Color(a4);
my_color.setRGB("0x" + colorval);
sps = sps + b4;
}
if (_global.gngp == true) {
sps = sps + b5;
colorval = "FFFFCC";
my_color = new Color(a5);
my_color.setRGB("0x" + colorval);
}
if (_global.melp == true) {
sps = sps + b6;
colorval = "FFFFCC";
my_color = new Color(a6);
my_color.setRGB("0x" + colorval);
}
if (_global.grpp == true) {
sps = sps + b7;
colorval = "FFFFCC";
my_color = new Color(a7);
my_color.setRGB("0x" + colorval);
}
nxtlvl = (plvl * 5) - sps;
Frame 222
if (nxtlvl == 0) {
_global.plvl = _global.plvl + 1;
gotoAndPlay (221);
}
accept.onRollOver = function () {
accept.gotoAndPlay(2);
};
accept.onRollOut = function () {
accept.gotoAndPlay(7);
};
accept.onRelease = function () {
gotoAndPlay (224);
};
u1.onRollOver = function () {
gtext = "Evasive Maneuvers: Increases Battle Mod while Defending";
};
u2.onRollOver = function () {
gtext = "Marksmanship: Increases Battle Mod while Attacking";
};
u3.onRollOver = function () {
gtext = "Piloting: Increases Mobile Armor Speed for every 2 points";
};
u4.onRollOver = function () {
gtext = "Precisce Aiming: Increases Critical Hit chance by 2%";
};
u5.onRollOver = function () {
gtext = "Gunning: Increases Damage dealt in Range attacks";
};
u6.onRollOver = function () {
gtext = "Melee: Increases Damage dealt in Melee attacks";
};
u7.onRollOver = function () {
gtext = "Grappling: Increases Damage dealt in Grapple attacks";
};
a1.onRollOver = function () {
gtext = "Evasive Maneuvers: Increases Battle Mod while Defending";
};
a2.onRollOver = function () {
gtext = "Marksmanship: Increases Battle Mod while Attacking";
};
a3.onRollOver = function () {
gtext = "Piloting: Increases Mobile Armor Speed for every 2 points";
};
a4.onRollOver = function () {
gtext = "Precisce Aiming: Increases Critical Hit chance by 2%";
};
a5.onRollOver = function () {
gtext = "Gunning: Increases Damage dealt in Range attacks";
};
a6.onRollOver = function () {
gtext = "Melee: Increases Damage dealt in Melee attacks";
};
a7.onRollOver = function () {
gtext = "Grappling: Increases Damage dealt in Grapple attacks";
};
u1.onRelease = function () {
if (exp >= c1) {
exp = exp - c1;
b1 = b1 + 1;
exp1 = exp1 + c1;
if (_global.evmp == true) {
c1 = Math.round(c1 + _global.plvl);
} else {
c1 = Math.round(c1 + (b1 * 1.5));
}
gotoAndPlay (221);
}
};
d1.onRelease = function () {
c1 = _global.cevm;
b1 = _global.pevm;
exp = exp + exp1;
exp1 = 0;
};
u2.onRelease = function () {
if (exp >= c2) {
exp = exp - c2;
b2 = b2 + 1;
exp2 = exp2 + c2;
if (_global.mrkp == true) {
c2 = Math.round(c2 + _global.plvl);
} else {
c2 = Math.round(c2 + (b2 * 1.5));
}
gotoAndPlay (221);
}
};
d2.onRelease = function () {
c2 = _global.cmrk;
b2 = _global.pmrk;
exp = exp + exp2;
exp2 = 0;
};
u3.onRelease = function () {
if (exp >= c3) {
exp = exp - c3;
b3 = b3 + 1;
exp3 = exp3 + c3;
if (_global.pltp == true) {
c3 = Math.round(c3 + _global.plvl);
} else {
c3 = Math.round(c3 + (b3 * 1.5));
}
gotoAndPlay (221);
}
};
d3.onRelease = function () {
c3 = _global.cplt;
b3 = _global.pplt;
exp = exp + exp3;
exp3 = 0;
};
u4.onRelease = function () {
if (exp >= c4) {
exp = exp - c4;
b4 = b4 + 1;
exp4 = exp4 + c4;
if (_global.pamp == true) {
c4 = Math.round(c4 + _global.plvl);
} else {
c4 = Math.round(c4 + (b4 * 1.5));
}
gotoAndPlay (221);
}
};
d4.onRelease = function () {
c4 = _global.cpam;
b4 = _global.ppam;
exp = exp + exp4;
exp4 = 0;
};
u5.onRelease = function () {
if (exp >= c5) {
exp = exp - c5;
b5 = b5 + 1;
exp5 = exp5 + c5;
if (_global.gngp == true) {
c5 = Math.round(c5 + _global.plvl);
} else {
c5 = Math.round(c5 + (b5 * 1.5));
}
gotoAndPlay (221);
}
};
d5.onRelease = function () {
c5 = _global.cgng;
b5 = _global.pgng;
exp = exp + exp5;
exp5 = 0;
};
u6.onRelease = function () {
if (exp >= c6) {
exp = exp - c6;
b6 = b6 + 1;
exp6 = exp6 + c6;
if (_global.melp == true) {
c6 = Math.round(c6 + _global.plvl);
} else {
c6 = Math.round(c6 + (b6 * 1.5));
}
gotoAndPlay (221);
}
};
d6.onRelease = function () {
c6 = _global.cmel;
b6 = _global.pmel;
exp = exp + exp6;
exp6 = 0;
};
u7.onRelease = function () {
if (exp >= c7) {
exp = exp - c7;
b7 = b7 + 1;
exp7 = exp7 + c7;
if (_global.grpp == true) {
c7 = Math.round(c7 + _global.plvl);
} else {
c7 = Math.round(c7 + (b7 * 1.5));
}
gotoAndPlay (221);
}
};
d7.onRelease = function () {
c7 = _global.cgrp;
b7 = _global.pgrp;
exp = exp + exp7;
exp7 = 0;
};
Frame 223
gotoAndPlay (222);
Frame 224
_global.cevm = c1;
_global.cmrk = c2;
_global.cplt = c3;
_global.cpam = c4;
_global.cgng = c5;
_global.cmel = c6;
_global.cgrp = c7;
_global.pevm = b1;
_global.pmrk = b2;
_global.pplt = b3;
_global.ppam = b4;
_global.pgng = b5;
_global.pmel = b6;
_global.pgrp = b7;
_global.exp = exp;
Frame 225
gotoAndPlay (163);
Symbol 15 MovieClip Frame 28
s = random(11);
if (s == 10) {
gotoAndPlay (13);
} else {
gotoAndPlay (18);
}
Symbol 20 MovieClip Frame 1
gotoAndStop (1);
Symbol 20 MovieClip Frame 6
gotoAndStop (6);
Symbol 25 MovieClip Frame 12
if (1 == random(5)) {
gotoAndPlay (13);
} else {
gotoAndPlay (1);
}
Symbol 29 MovieClip Frame 1
gotoAndStop (1);
Symbol 29 MovieClip Frame 6
gotoAndStop (6);
Symbol 34 MovieClip Frame 1
maxw = (((_global.hw + _global.cw) + _global.rw) + _global.fw) + _global.ww;
if (maxw > _global.lw) {
ov = eval("True");
gotoAndPlay (3);
}
Symbol 34 MovieClip Frame 2
gotoAndPlay (1);
Symbol 34 MovieClip Frame 3
maxw = (((_global.hw + _global.cw) + _global.rw) + _global.fw) + _global.ww;
if (maxw <= _global.lw) {
ov = eval("False");
gotoAndPlay (1);
}
Symbol 34 MovieClip Frame 6
gotoAndPlay (3);
Symbol 38 MovieClip Frame 1
gotoAndStop (1);
Symbol 38 MovieClip Frame 6
gotoAndStop (6);
Symbol 40 MovieClip Frame 1
gotoAndStop (1);
Symbol 40 MovieClip Frame 6
gotoAndStop (6);
Symbol 42 MovieClip Frame 1
gotoAndStop (1);
Symbol 42 MovieClip Frame 6
gotoAndStop (6);
Symbol 44 MovieClip Frame 1
gotoAndStop (1);
Symbol 44 MovieClip Frame 6
gotoAndStop (6);
Symbol 46 MovieClip Frame 1
gotoAndStop (1);
Symbol 46 MovieClip Frame 6
gotoAndStop (6);
Symbol 48 MovieClip Frame 1
gotoAndStop (1);
Symbol 48 MovieClip Frame 6
gotoAndStop (6);
Symbol 50 MovieClip Frame 1
gotoAndStop (1);
Symbol 50 MovieClip Frame 6
gotoAndStop (6);
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 101 MovieClip Frame 3
stop();
Symbol 101 MovieClip Frame 4
stop();
Symbol 101 MovieClip Frame 5
stop();
Symbol 101 MovieClip Frame 6
stop();
Symbol 101 MovieClip Frame 7
stop();
Symbol 101 MovieClip Frame 8
stop();
Symbol 101 MovieClip Frame 9
stop();
Symbol 101 MovieClip Frame 10
stop();
Symbol 101 MovieClip Frame 11
stop();
Symbol 101 MovieClip Frame 12
stop();
Symbol 101 MovieClip Frame 13
stop();
Symbol 101 MovieClip Frame 14
stop();
Symbol 101 MovieClip Frame 15
stop();
Symbol 101 MovieClip Frame 16
stop();
Symbol 101 MovieClip Frame 17
stop();
Symbol 101 MovieClip Frame 18
stop();
Symbol 101 MovieClip Frame 19
stop();
Symbol 101 MovieClip Frame 20
stop();
Symbol 101 MovieClip Frame 21
stop();
Symbol 101 MovieClip Frame 22
stop();
Symbol 101 MovieClip Frame 23
stop();
Symbol 101 MovieClip Frame 24
stop();
Symbol 101 MovieClip Frame 25
stop();
Symbol 101 MovieClip Frame 26
stop();
Symbol 101 MovieClip Frame 27
stop();
Symbol 101 MovieClip Frame 28
stop();
Symbol 101 MovieClip Frame 29
stop();
Symbol 101 MovieClip Frame 30
stop();
Symbol 101 MovieClip Frame 31
stop();
Symbol 101 MovieClip Frame 32
stop();
Symbol 101 MovieClip Frame 33
stop();
Symbol 101 MovieClip Frame 34
stop();
Symbol 101 MovieClip Frame 35
stop();
Symbol 101 MovieClip Frame 36
stop();
Symbol 101 MovieClip Frame 37
stop();
Symbol 101 MovieClip Frame 38
stop();
Symbol 101 MovieClip Frame 39
stop();
Symbol 101 MovieClip Frame 40
stop();
Symbol 101 MovieClip Frame 41
stop();
Symbol 101 MovieClip Frame 42
stop();
Symbol 101 MovieClip Frame 43
stop();
Symbol 101 MovieClip Frame 44
stop();
Symbol 101 MovieClip Frame 45
stop();
Symbol 101 MovieClip Frame 46
stop();
Symbol 101 MovieClip Frame 47
stop();
Symbol 101 MovieClip Frame 48
stop();
Symbol 101 MovieClip Frame 49
stop();
Symbol 101 MovieClip Frame 50
stop();
Symbol 101 MovieClip Frame 51
stop();
Symbol 101 MovieClip Frame 52
stop();
Symbol 101 MovieClip Frame 53
stop();
Symbol 101 MovieClip Frame 54
stop();
Symbol 101 MovieClip Frame 55
stop();
Symbol 101 MovieClip Frame 56
stop();
Symbol 101 MovieClip Frame 57
stop();
Symbol 124 MovieClip Frame 1
gotoAndStop (1);
Symbol 124 MovieClip Frame 6
gotoAndStop (6);
Symbol 126 MovieClip Frame 1
gotoAndStop (1);
Symbol 126 MovieClip Frame 6
ww = _global.ww;
Symbol 126 MovieClip Frame 7
gotoAndPlay (6);
Symbol 130 MovieClip Frame 1
gotoAndStop (1);
Symbol 130 MovieClip Frame 6
lw = _global.lw;
Symbol 130 MovieClip Frame 7
gotoAndPlay (6);
Symbol 132 MovieClip Frame 1
gotoAndStop (1);
Symbol 132 MovieClip Frame 6
rw = _global.rw;
Symbol 132 MovieClip Frame 7
gotoAndPlay (6);
Symbol 134 MovieClip Frame 1
gotoAndStop (1);
Symbol 134 MovieClip Frame 6
hw = _global.hw;
Symbol 134 MovieClip Frame 7
gotoAndPlay (6);
Symbol 136 MovieClip Frame 1
gotoAndStop (1);
Symbol 136 MovieClip Frame 6
fw = _global.fw;
Symbol 136 MovieClip Frame 7
gotoAndPlay (6);
Symbol 138 MovieClip Frame 1
gotoAndStop (1);
Symbol 138 MovieClip Frame 6
cw = _global.cw;
Symbol 138 MovieClip Frame 7
gotoAndPlay (6);
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 6
maxhp = (((_global.ht_hp + _global.ct_hp) + _global.rt_hp) + _global.ft_hp) + _global.lt_hp;
maxproc = _global.t_pc;
maxbm = _global.t_bm;
maxsp = _global.t_sp;
armor = (((_global.ct_hp + _global.t_bm) + _global.t_fdb) + _global.t_rdb) + 5;
tohit = (_global.t_bm + _global.t_fab) + _global.t_rab;
maxlift = _global.flift + _global.rlift;
Symbol 149 MovieClip Frame 7
gotoAndPlay (6);
Symbol 149 MovieClip Frame 13
gotoAndStop (1);
Symbol 151 MovieClip Frame 1
gotoAndStop (1);
Symbol 151 MovieClip Frame 6
gotoAndStop (6);
Symbol 153 MovieClip Frame 1
gotoAndStop (1);
Symbol 153 MovieClip Frame 6
gotoAndStop (6);
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 6
melee = _global.meleew;
range = _global.rangew;
s1 = _global.s1name;
s2 = _global.s2name;
s3 = _global.s3name;
s4 = _global.s4name;
s5 = _global.s5name;
s6 = _global.s6name;
s7 = _global.s7name;
s8 = _global.s8name;
s9 = _global.s9name;
s10 = _global.s10name;
Symbol 168 MovieClip Frame 7
gotoAndPlay (6);
Symbol 168 MovieClip Frame 13
gotoAndStop (1);
Symbol 169 MovieClip Frame 1
maxw = (((_global.hw + _global.cw) + _global.fw) + _global.rw) + _global.ww;
b_weight.onRollOver = function () {
if (bweight == false) {
b_stats.gotoAndStop(1);
b_equipt.gotoAndStop(1);
b_weight.gotoAndPlay(2);
mc_cw.gotoAndPlay(2);
mc_hw.gotoAndPlay(2);
mc_rw.gotoAndPlay(2);
mc_fw.gotoAndPlay(2);
mc_lw.gotoAndPlay(2);
mc_ww.gotoAndPlay(2);
bstats = false;
statbox.gotoAndStop(1);
bequipt = false;
ebox.gotoAndStop(1);
}
};
b_weight.onRollOut = function () {
if (bweight == false) {
b_weight.gotoAndPlay(7);
mc_cw.gotoAndPlay(8);
mc_hw.gotoAndPlay(8);
mc_rw.gotoAndPlay(8);
mc_fw.gotoAndPlay(8);
mc_lw.gotoAndPlay(8);
mc_ww.gotoAndPlay(8);
bstats = false;
statbox.gotoAndStop(1);
bequipt = false;
}
};
b_weight.onRelease = function () {
if (bweight == false) {
bweight = true;
mc_cw.gotoAndPlay(6);
mc_hw.gotoAndPlay(6);
mc_rw.gotoAndPlay(6);
mc_fw.gotoAndPlay(6);
mc_lw.gotoAndPlay(6);
mc_ww.gotoAndPlay(6);
} else if (bweight == true) {
bweight = false;
mc_cw.gotoAndPlay(8);
mc_hw.gotoAndPlay(8);
mc_rw.gotoAndPlay(8);
mc_fw.gotoAndPlay(8);
mc_lw.gotoAndPlay(8);
mc_ww.gotoAndPlay(8);
}
};
b_stats.onRollOver = function () {
if (bstats == false) {
b_weight.gotoAndStop(1);
mc_cw.gotoAndStop(1);
mc_hw.gotoAndStop(1);
mc_rw.gotoAndStop(1);
mc_fw.gotoAndStop(1);
mc_lw.gotoAndStop(1);
mc_ww.gotoAndStop(1);
b_stats.gotoAndPlay(2);
statbox.gotoAndPlay(2);
bweight = false;
bequipt = false;
ebox.gotoAndStop(1);
b_equipt.gotoAndStop(1);
}
};
b_stats.onRollOut = function () {
if (bstats == false) {
b_stats.gotoAndPlay(7);
statbox.gotoAndPlay(8);
bweight = false;
bequipt = false;
}
};
b_stats.onRelease = function () {
if (bstats == false) {
bstats = true;
statbox.gotoAndPlay(6);
} else if (bstats == true) {
stats = false;
statbox.gotoAndPlay(8);
b_stats.gotoAndPlay(7);
}
};
b_equipt.onRollOver = function () {
if (bequipt == false) {
ebox.gotoAndPlay(2);
b_equipt.gotoAndPlay(2);
b_stats.gotoAndStop(1);
b_weight.gotoAndStop(1);
mc_cw.gotoAndStop(1);
mc_hw.gotoAndStop(1);
mc_rw.gotoAndStop(1);
mc_fw.gotoAndStop(1);
mc_lw.gotoAndStop(1);
mc_ww.gotoAndStop(1);
statbox.gotoAndStop(1);
bweight = false;
bstats = false;
}
};
b_equipt.onRollOut = function () {
if (bequipt == false) {
b_equipt.gotoAndPlay(7);
ebox.gotoAndPlay(8);
bweight = false;
bstats = false;
}
};
b_equipt.onRelease = function () {
if (bequipt == false) {
bequipt = true;
ebox.gotoAndPlay(6);
} else if (bequipt == true) {
bequipt = false;
ebox.gotoAndPlay(8);
b_equipt.gotoAndPlay(7);
}
};
Symbol 169 MovieClip Frame 2
bweight = false;
gotoAndStop (1);
_global.bstats = false;
gotoAndStop (1);
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 2
stop();
Symbol 170 MovieClip Frame 3
stop();
Symbol 170 MovieClip Frame 4
stop();
Symbol 170 MovieClip Frame 5
stop();
Symbol 170 MovieClip Frame 6
stop();
Symbol 170 MovieClip Frame 7
stop();
Symbol 170 MovieClip Frame 8
stop();
Symbol 170 MovieClip Frame 9
stop();
Symbol 170 MovieClip Frame 10
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
stop();
Symbol 171 MovieClip Frame 3
stop();
Symbol 171 MovieClip Frame 4
stop();
Symbol 171 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 6
stop();
Symbol 171 MovieClip Frame 7
stop();
Symbol 171 MovieClip Frame 8
stop();
Symbol 171 MovieClip Frame 9
stop();
Symbol 171 MovieClip Frame 10
stop();
Symbol 171 MovieClip Frame 11
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 2
stop();
Symbol 172 MovieClip Frame 3
stop();
Symbol 172 MovieClip Frame 4
stop();
Symbol 172 MovieClip Frame 5
stop();
Symbol 172 MovieClip Frame 6
stop();
Symbol 172 MovieClip Frame 7
stop();
Symbol 172 MovieClip Frame 8
stop();
Symbol 172 MovieClip Frame 9
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 173 MovieClip Frame 4
stop();
Symbol 173 MovieClip Frame 5
stop();
Symbol 173 MovieClip Frame 6
stop();
Symbol 173 MovieClip Frame 7
stop();
Symbol 173 MovieClip Frame 8
stop();
Symbol 173 MovieClip Frame 9
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
stop();
Symbol 174 MovieClip Frame 3
stop();
Symbol 174 MovieClip Frame 4
stop();
Symbol 174 MovieClip Frame 5
stop();
Symbol 174 MovieClip Frame 6
stop();
Symbol 174 MovieClip Frame 7
stop();
Symbol 174 MovieClip Frame 8
stop();
Symbol 174 MovieClip Frame 9
stop();
Symbol 179 MovieClip Frame 20
if (1 == random(5)) {
gotoAndPlay (21);
} else {
gotoAndPlay (1);
}
Symbol 179 MovieClip Frame 28
if (1 == random(3)) {
gotoAndPlay (29);
} else {
gotoAndPlay (1);
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 3
stop();
Symbol 180 MovieClip Frame 4
stop();
Symbol 180 MovieClip Frame 5
stop();
Symbol 180 MovieClip Frame 6
stop();
Symbol 200 MovieClip Frame 15
stop();
Symbol 201 MovieClip Frame 39
stop();
Symbol 202 MovieClip Frame 39
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 2
spark = random(2);
if (spark == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (29);
}
Symbol 203 MovieClip Frame 28
gotoAndStop (1);
Symbol 203 MovieClip Frame 54
gotoAndStop (1);
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 2
spark = random(2);
if (spark == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (29);
}
Symbol 204 MovieClip Frame 28
gotoAndStop (1);
Symbol 204 MovieClip Frame 54
gotoAndStop (1);
Symbol 205 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 2
spark = random(2);
if (spark == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (29);
}
Symbol 205 MovieClip Frame 28
gotoAndStop (1);
Symbol 205 MovieClip Frame 54
gotoAndStop (1);
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
spark = random(2);
if (spark == 0) {
gotoAndPlay (2);
} else {
gotoAndPlay (29);
}
Symbol 206 MovieClip Frame 28
gotoAndStop (1);
Symbol 206 MovieClip Frame 54
gotoAndStop (1);
Symbol 266 MovieClip Frame 1
gotoAndPlay (16);
Symbol 266 MovieClip Frame 2
maxw = (((_global.hw + _global.cw) + _global.fw) + _global.rw) + _global.ww;
maxhp = (((_global.ht_hp + _global.ct_hp) + _global.rt_hp) + _global.ft_hp) + _global.lt_hp;
h_makiered.onRollOver = function () {
p_mc.gotoAndStop(1);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 3";
};
h_makiered.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 1;
_global.ht_hp = 1;
_global.t_pc = 0;
_global.t_bm = 1;
h_buy = "Makie (Red)";
h_nc = 3 - _global.h_sc;
ht_sc = 1;
if ((h_buy == h_type) or ("Makie (Blue)" == h_type)) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(2);
heads_mc.gotoAndStop(1);
};
h_makieblue.onRollOver = function () {
p_mc.gotoAndStop(2);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 3";
};
h_makieblue.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 1;
_global.ht_hp = 1;
_global.t_pc = 0;
_global.t_bm = 1;
h_buy = "Makie (Blue)";
h_nc = 3 - _global.h_sc;
ht_sc = 1;
if ((h_buy == h_type) or ("Makie (Red)" == h_type)) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(2);
};
h_sleakred.onRollOver = function () {
p_mc.gotoAndStop(3);
partsdetails = "HP: +1<br>Processor: +1<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 6";
};
h_sleakred.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 1;
_global.ht_hp = 1;
_global.t_pc = 1;
_global.t_bm = 1;
h_buy = "Makie Sleek (Red)";
h_nc = 6 - _global.h_sc;
ht_sc = 3;
if ((h_buy == h_type) or ("Makie Sleek (Blue)" == h_type)) {
h_nc = 0;
ht_sc = _global.h_sc;
}
h_nc = 4 - _global.h_sc;
ht_sc = 2;
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(3);
};
h_sleakblue.onRollOver = function () {
p_mc.gotoAndStop(4);
partsdetails = "HP: +1<br>Processor: +1<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 6";
};
h_sleakblue.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 1;
_global.ht_hp = 1;
_global.t_pc = 1;
_global.t_bm = 1;
h_buy = "Makie Sleek (Blue)";
h_nc = 6 - _global.h_sc;
ht_sc = 3;
if ((h_buy == h_type) or ("Makie Sleek (Red)" == h_type)) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(4);
};
h_grey2k.onRollOver = function () {
p_mc.gotoAndStop(5);
partsdetails = "HP: +1<br>Processor: +1<br>Battle Mod: +0<br>Weight: 1";
partscost = "Cost: 3";
};
h_grey2k.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 1;
_global.ht_hp = 1;
_global.t_pc = 1;
_global.t_bm = 0;
h_buy = "Grey 2k";
h_nc = 3 - _global.h_sc;
ht_sc = 1;
if (h_buy == h_type) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(5);
};
h_toothmetal.onRollOver = function () {
p_mc.gotoAndStop(6);
partsdetails = "HP: +2<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 5";
};
h_toothmetal.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 1;
_global.ht_hp = 2;
_global.t_pc = 0;
_global.t_bm = 1;
h_buy = "Tooth Metal";
h_nc = 5 - _global.h_sc;
ht_sc = 2;
if (h_buy == h_type) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(6);
};
h_opticcentari.onRollOver = function () {
p_mc.gotoAndStop(7);
partsdetails = "HP: +2<br>Processor: +2<br>Battle Mod: +0<br>Weight: 2";
partscost = "Cost: 7";
};
h_opticcentari.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 2;
_global.ht_hp = 2;
_global.t_pc = 2;
_global.t_bm = 0;
h_buy = "Optic Centari";
h_nc = 7 - _global.h_sc;
ht_sc = 3;
if (h_buy == h_type) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(7);
};
h_skyknight.onRollOver = function () {
p_mc.gotoAndStop(8);
partsdetails = "HP: +2<br>Processor: +0<br>Battle Mod: +2<br>Weight: 2";
partscost = "Cost: 8";
};
h_skyknight.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 2;
_global.ht_hp = 2;
_global.t_pc = 0;
_global.t_bm = 2;
h_buy = "Sky Knight";
h_nc = 8 - _global.h_sc;
ht_sc = 4;
if (h_buy == h_type) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(8);
};
h_bullnose.onRollOver = function () {
p_mc.gotoAndStop(9);
partsdetails = "HP: +3<br>Processor: +0<br>Battle Mod: +0<br>Weight: 2";
partscost = "Cost: 4";
};
h_bullnose.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 2;
_global.ht_hp = 3;
_global.t_pc = 0;
_global.t_bm = 0;
h_buy = "Bull Nose";
h_nc = 4 - _global.h_sc;
ht_sc = 2;
if (h_buy == h_type) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(9);
};
h_shenobii.onRollOver = function () {
p_mc.gotoAndStop(10);
partsdetails = "HP: +2<br>Processor: +1<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 8";
};
h_shenobii.onRelease = function () {
h_sparks.gotoAndPlay(2);
_global.hw = 1;
_global.ht_hp = 2;
_global.t_pc = 1;
_global.t_bm = 1;
h_buy = "Shenobi I";
h_nc = 8 - _global.h_sc;
ht_sc = 4;
if (h_buy == h_type) {
h_nc = 0;
ht_sc = _global.h_sc;
}
weight_mc.gotoAndPlay(1);
heads_mc.gotoAndStop(10);
};
b_heads.gotoAndStop(5);
b_heads.onRollOver = function () {
b_heads.gotoAndStop(5);
};
b_heads.onRollOut = function () {
b_heads.gotoAndStop(5);
};
b_cores.onRollOver = function () {
b_cores.gotoAndPlay(2);
};
b_cores.onRollOut = function () {
b_cores.gotoAndPlay(7);
};
b_cores.onRelease = function () {
p_mc.gotoAndStop(11);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 1";
b_cores.gotoAndStop(5);
b_heads.gotoAndStop(1);
gotoAndPlay (4);
};
b_left.onRollOver = function () {
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
p_mc.gotoAndStop(22);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_left.gotoAndStop(5);
b_heads.gotoAndStop(1);
gotoAndPlay (6);
};
b_right.onRollOver = function () {
b_right.gotoAndPlay(2);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_right.onRelease = function () {
p_mc.gotoAndStop(31);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_right.gotoAndPlay(5);
b_heads.gotoAndStop(1);
gotoAndPlay (8);
};
b_legs.onRollOver = function () {
b_legs.gotoAndPlay(2);
};
b_legs.onRollOut = function () {
b_legs.gotoAndPlay(7);
};
b_legs.onRelease = function () {
p_mc.gotoAndStop(40);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 1";
b_legs.gotoAndStop(5);
b_heads.gotoAndStop(1);
gotoAndPlay (10);
};
b_weapons.onRollOver = function () {
b_weapons.gotoAndPlay(2);
};
b_weapons.onRollOut = function () {
b_weapons.gotoAndPlay(7);
};
b_weapons.onRelease = function () {
b_weapons.gotoAndStop(5);
b_heads.gotoAndStop(1);
p_mc.gotoAndStop(49);
gotoAndPlay (12);
};
b_upgrades.onRollOver = function () {
b_upgrades.gotoAndPlay(2);
};
b_upgrades.onRollOut = function () {
b_upgrades.gotoAndPlay(7);
};
b_upgrades.onRelease = function () {
b_upgrades.gotoAndStop(5);
b_heads.gotoAndStop(1);
p_mc.gotoAndStop(54);
gotoAndPlay (14);
};
tc = (((((((((((h_nc + c_nc) + r_nc) + f_nc) + l_nc) + w_nc) + _global.s1sc) + _global.s2sc) + _global.s3sc) + _global.s4sc) + _global.s5sc) + _global.s6sc) + _global.s7sc;
credits = _global.credits;
b_buy.onRollOver = function () {
b_buy.gotoAndPlay(2);
};
b_buy.onRollOut = function () {
b_buy.gotoAndPlay(7);
};
b_buy.onRelease = function () {
if (_global.credits >= tc) {
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.credits = credits - tc;
_global.wcrit = _global.t_wcrit;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
_global.hp = maxhp;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
s.stop();
_parent.gotoAndPlay(155);
}
};
b_exit.onRollOver = function () {
b_exit.gotoAndPlay(2);
};
b_exit.onRollOut = function () {
b_exit.gotoAndPlay(7);
};
b_exit.onRelease = function () {
s.stop();
_parent.gotoAndPlay(155);
};
Instance of Symbol 177 MovieClip in Symbol 266 MovieClip Frame 2
onClipEvent (enterFrame) {
if (xtext > 381) {
if (xtext < 534) {
if (ytext > 102) {
if (ytext < 335) {
myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root._ymouse - this._y);
_root.yMove = Math.round(_root.yChange / 3);
this._y = this._y + _root.yMove;
} else {
this._y = 335;
}
} else {
this._y = 102;
}
}
}
}
Instance of Symbol 180 MovieClip "eweap" in Symbol 266 MovieClip Frame 2
onClipEvent (load) {
if (w_type == "Anti MA SMG") {
this.gotoAndPlay(2);
}
if (w_type == "Anti MA SMG x2") {
this.gotoAndPlay(3);
}
if (w_type == "Grey Rifle") {
this.gotoAndPlay(4);
}
if (w_type == "MA Sabre") {
this.gotoAndPlay(5);
}
if (w_type == "Dual MA Sabres") {
this.gotoAndPlay(6);
}
}
Symbol 266 MovieClip Frame 3
gotoAndPlay (2);
Symbol 266 MovieClip Frame 4
maxw = (((_global.hw + _global.cw) + _global.fw) + _global.rw) + _global.ww;
maxhp = (((_global.ht_hp + _global.ct_hp) + _global.rt_hp) + _global.ft_hp) + _global.lt_hp;
c_makiered.onRollOver = function () {
p_mc.gotoAndStop(11);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 3";
};
c_makiered.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(1);
_global.ct_hp = 5;
c_buy = "Makie (Red)";
c_nc = 3 - _global.c_sc;
ct_sc = 1;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = false;
_global.s3name = " ";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
if ((c_buy == c_type) or ("Makie (Blue)" == c_type)) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 1;
};
c_makieblue.onRollOver = function () {
p_mc.gotoAndStop(12);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 3";
};
c_makieblue.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(2);
_global.ct_hp = 5;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = false;
_global.s3name = " ";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Makie (Blue)";
c_nc = 3 - _global.c_sc;
ct_sc = 1;
if ((c_buy == c_type) or ("Makie (Red)" == c_type)) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 1;
};
c_sleakred.onRollOver = function () {
p_mc.gotoAndStop(13);
partsdetails = "HP: +6<br>Sockets: 4<br>Weight: 1";
partscost = "Cost: 7";
};
c_sleakred.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(3);
_global.ct_hp = 6;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = true;
_global.s3name = "Empty";
_global.s3sc = 0;
_global.s4 = true;
_global.s4name = "Empty";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Makie Sleek (Red)";
c_nc = 7 - _global.c_sc;
ct_sc = 3;
if ((c_buy == c_type) or ("Makie Sleek (Blue)" == c_type)) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 1;
};
c_sleakblue.onRollOver = function () {
p_mc.gotoAndStop(14);
partsdetails = "HP: +6<br>Sockets: 4<br>Weight: 1";
partscost = "Cost: 7";
};
c_sleakblue.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(4);
_global.ct_hp = 6;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = true;
_global.s3name = "Empty";
_global.s3sc = 0;
_global.s4 = true;
_global.s4name = "Empty";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Makie Sleek (Blue)";
c_nc = 7 - _global.c_sc;
ct_sc = 3;
if ((c_buy == c_type) or ("Makie Sleek (Red)" == c_type)) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 1;
};
c_grey2k.onRollOver = function () {
p_mc.gotoAndStop(15);
partsdetails = "HP: +7<br>Sockets: 3<br>Weight: 2";
partscost = "Cost: 5";
};
c_grey2k.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(5);
_global.ct_hp = 7;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = true;
_global.s3name = "Empty";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Grey 2k";
c_nc = 5 - _global.c_sc;
ct_sc = 2;
if (c_buy == c_type) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 2;
};
c_toothmetal.onRollOver = function () {
p_mc.gotoAndStop(16);
partsdetails = "HP: +6<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 3";
};
c_toothmetal.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(6);
_global.ct_hp = 6;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = false;
_global.s3name = " ";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Tooth Metal";
c_nc = 3 - _global.c_sc;
ct_sc = 1;
if (c_buy == c_type) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 1;
};
c_maxcentari.onRollOver = function () {
p_mc.gotoAndStop(17);
partsdetails = "HP: +8<br>Sockets: 5<br>Weight: 2";
partscost = "Cost: 8";
};
c_maxcentari.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(7);
_global.ct_hp = 8;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = true;
_global.s3name = "Empty";
_global.s3sc = 0;
_global.s4 = true;
_global.s4name = "Empty";
_global.s4sc = 0;
_global.s5 = true;
_global.s5name = "Empty";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Maximum Centari";
c_nc = 8 - _global.c_sc;
ct_sc = 4;
if (c_buy == c_type) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 2;
};
c_skyknight.onRollOver = function () {
p_mc.gotoAndStop(18);
partsdetails = "HP: +8<br>Sockets: 3<br>Weight: 2";
partscost = "Cost: 6";
};
c_skyknight.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(8);
_global.ct_hp = 8;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = true;
_global.s3name = "Empty";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Sky Knight";
c_nc = 6 - _global.c_sc;
ct_sc = 3;
if (c_buy == c_type) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 2;
};
c_bullbust.onRollOver = function () {
p_mc.gotoAndStop(19);
partsdetails = "HP: +9<br>Sockets: 1<br>Weight: 3";
partscost = "Cost: 4";
};
c_bullbust.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(9);
_global.ct_hp = 9;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = false;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = false;
_global.s3name = " ";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Bull Bust";
c_nc = 4 - _global.c_sc;
ct_sc = 2;
if (c_buy == c_type) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 3;
};
c_blake.onRollOver = function () {
p_mc.gotoAndStop(20);
partsdetails = "HP: +6<br>Sockets: 3<br>Weight: 2";
partscost = "Cost: 4";
};
c_blake.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(10);
_global.ct_hp = 6;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = true;
_global.s3name = "Empty";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Mega Blake UN";
c_nc = 4 - _global.c_sc;
ct_sc = 2;
if (c_buy == c_type) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 2;
};
c_synth.onRollOver = function () {
p_mc.gotoAndStop(21);
partsdetails = "HP: +7<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 5";
};
c_synth.onRelease = function () {
c_sparks.gotoAndPlay(2);
cores_mc.gotoAndStop(11);
_global.ct_hp = 7;
_global.s1 = true;
_global.s1name = "Empty";
_global.s1sc = 0;
_global.s2 = true;
_global.s2name = "Empty";
_global.s2sc = 0;
_global.s3 = false;
_global.s3name = " ";
_global.s3sc = 0;
_global.s4 = false;
_global.s4name = " ";
_global.s4sc = 0;
_global.s5 = false;
_global.s5name = " ";
_global.s5sc = 0;
_global.s6 = false;
_global.s6name = " ";
_global.s6sc = 0;
_global.s7 = false;
_global.s7name = " ";
_global.s7sc = 0;
c_buy = "Steel Synthicate";
c_nc = 5 - _global.c_sc;
ct_sc = 2;
if (c_buy == c_type) {
c_nc = 0;
_global.s1name = _global.s1e;
_global.s2name = _global.s2e;
_global.s3name = _global.s3e;
_global.s4name = _global.s4e;
_global.s5name = _global.s5e;
_global.s6name = _global.s6e;
_global.s7name = _global.s7e;
ct_sc = _global.c_sc;
}
_global.cw = 1;
};
b_cores.onRollOver = function () {
b_cores.gotoAndStop(5);
};
b_cores.onRollOut = function () {
b_cores.gotoAndStop(5);
};
b_heads.onRollOver = function () {
b_heads.gotoAndPlay(2);
};
b_heads.onRollOut = function () {
b_heads.gotoAndPlay(7);
};
b_heads.onRelease = function () {
p_mc.gotoAndStop(1);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
b_heads.gotoAndStop(5);
b_cores.gotoAndStop(1);
gotoAndPlay (2);
};
b_left.onRollOver = function () {
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
p_mc.gotoAndStop(22);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_left.gotoAndPlay(5);
b_cores.gotoAndStop(1);
gotoAndPlay (6);
};
b_right.onRollOver = function () {
b_right.gotoAndPlay(2);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_right.onRelease = function () {
p_mc.gotoAndStop(31);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_right.gotoAndPlay(5);
b_cores.gotoAndStop(1);
gotoAndPlay (8);
};
b_legs.onRollOver = function () {
b_legs.gotoAndPlay(2);
};
b_legs.onRollOut = function () {
b_legs.gotoAndPlay(7);
};
b_legs.onRelease = function () {
p_mc.gotoAndStop(40);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 1";
b_legs.gotoAndStop(5);
b_cores.gotoAndStop(1);
gotoAndPlay (10);
};
b_weapons.onRollOver = function () {
b_weapons.gotoAndPlay(2);
};
b_weapons.onRollOut = function () {
b_weapons.gotoAndPlay(7);
};
b_weapons.onRelease = function () {
b_weapons.gotoAndStop(5);
b_cores.gotoAndStop(1);
p_mc.gotoAndStop(49);
gotoAndPlay (12);
};
b_upgrades.onRollOver = function () {
b_upgrades.gotoAndPlay(2);
};
b_upgrades.onRollOut = function () {
b_upgrades.gotoAndPlay(7);
};
b_upgrades.onRelease = function () {
b_upgrades.gotoAndStop(5);
b_cores.gotoAndStop(1);
p_mc.gotoAndStop(54);
gotoAndPlay (14);
};
tc = (((((((((((h_nc + c_nc) + r_nc) + f_nc) + l_nc) + w_nc) + _global.s1sc) + _global.s2sc) + _global.s3sc) + _global.s4sc) + _global.s5sc) + _global.s6sc) + _global.s7sc;
credits = _global.credits;
b_buy.onRollOver = function () {
b_buy.gotoAndPlay(2);
};
b_buy.onRollOut = function () {
b_buy.gotoAndPlay(7);
};
b_buy.onRelease = function () {
if (_global.credits >= tc) {
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.wcrit = _global.t_wcrit;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
_global.credits = credits - tc;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
_global.hp = maxhp;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
s.stop();
_parent.gotoAndPlay(155);
}
};
b_exit.onRollOver = function () {
b_exit.gotoAndPlay(2);
};
b_exit.onRollOut = function () {
b_exit.gotoAndPlay(7);
};
b_exit.onRelease = function () {
s.stop();
_parent.gotoAndPlay(155);
};
Symbol 266 MovieClip Frame 5
gotoAndPlay (4);
Symbol 266 MovieClip Frame 6
maxw = (((_global.hw + _global.cw) + _global.fw) + _global.rw) + _global.ww;
maxhp = (((_global.ht_hp + _global.ct_hp) + _global.rt_hp) + _global.ft_hp) + _global.lt_hp;
f_makiered.onRollOver = function () {
p_mc.gotoAndStop(22);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 3";
};
f_makiered.onRelease = function () {
_global.t_fgr = 1;
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(1);
_global.fw = 1;
_global.flift = 3;
_global.ft_hp = 0;
_global.fhand = true;
f_buy = "Makie (Red)";
f_nc = 3 - _global.f_sc;
ft_sc = 1;
if ((f_buy == _global.f_type) or ("Makie (Blue)" == _global.f_type)) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_makieblue.onRollOver = function () {
p_mc.gotoAndStop(23);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 3";
};
f_makieblue.onRelease = function () {
_global.t_fgr = 1;
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(2);
_global.fw = 1;
_global.ft_hp = 0;
_global.flift = 3;
_global.fhand = true;
f_buy = "Makie (Blue)";
f_nc = 3 - _global.f_sc;
ft_sc = 1;
if ((f_buy == _global.f_type) or ("Makie (Red)" == _global.f_type)) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_sleakred.onRollOver = function () {
p_mc.gotoAndStop(24);
partsdetails = "HP: +2<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 5";
};
f_sleakred.onRelease = function () {
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(3);
_global.fw = 1;
_global.ft_hp = 2;
_global.flift = 4;
_global.fhand = true;
f_buy = "Makie Sleek (Red)";
f_nc = 5 - _global.f_sc;
ft_sc = 2;
if ((f_buy == _global.f_type) or ("Makie Sleek (Blue)" == _global.f_type)) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_sleakblue.onRollOver = function () {
p_mc.gotoAndStop(25);
partsdetails = "HP: +2<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 5";
};
f_sleakblue.onRelease = function () {
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(4);
_global.fw = 1;
_global.flift = 4;
_global.ft_hp = 2;
_global.fhand = true;
f_buy = "Makie Sleek (Blue)";
f_nc = 5 - _global.f_sc;
ft_sc = 2;
if ((f_buy == _global.f_type) or ("Makie Sleek (Red)" == _global.f_type)) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_grey2k.onRollOver = function () {
p_mc.gotoAndStop(26);
partsdetails = "HP: +1<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 3";
};
f_grey2k.onRelease = function () {
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(5);
_global.fw = 1;
_global.ft_hp = 1;
_global.flift = 4;
_global.fhand = true;
f_buy = "Grey 2k";
f_nc = 3 - _global.f_sc;
ft_sc = 1;
if (f_buy == _global.f_type) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_toothmetal.onRollOver = function () {
p_mc.gotoAndStop(27);
partsdetails = "HP: +2<br>Max Lift: 4<br>Weight: 2<br>-Puncture Spike-<br>Attack 3/1";
partscost = "Cost: 5";
};
f_toothmetal.onRelease = function () {
_global.t_fhd = 3;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
f_sparks.gotoAndStop(2);
leftarms_mc.gotoAndStop(6);
_global.fw = 2;
_global.ft_hp = 2;
_global.flift = 4;
_global.fhand = false;
f_buy = "Tooth Metal";
f_nc = 5 - _global.f_sc;
ft_sc = 2;
eweap.gotoAndStop(1);
_global.ww = 0;
w_buy = false;
_global.t_wd = 0;
_global.t_wr = 0;
_global.t_wcrit = 0;
_global.t_amo = 0;
_global.wh = false;
_global.meleew = "<None>";
_global.rangew = "<None>";
w_nc = -_global.w_sc;
wt_sc = 0;
if (f_buy == _global.f_type) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_shura.onRollOver = function () {
p_mc.gotoAndStop(28);
partsdetails = "HP: +2<br>Max Lift: 3<br>Weight: 1<br>-Fighting Hand-<br>Critical: 15%";
partscost = "Cost: 4";
};
f_shura.onRelease = function () {
_global.t_fhd = 2;
_global.t_fhc = 15;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 0;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(7);
_global.fw = 1;
_global.ft_hp = 2;
_global.flift = 3;
_global.fhand = true;
f_buy = "Shura Fist";
f_nc = 4 - _global.f_sc;
ft_sc = 2;
if (f_buy == _global.f_type) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_skyknight.onRollOver = function () {
p_mc.gotoAndStop(29);
partsdetails = "HP: +2<br>Max Lift: 5<br>Weight: 2<br>-Standard Hand-<br>Extra Armor: +1 to Battle Mod when Defending";
partscost = "Cost: 6";
};
f_skyknight.onRelease = function () {
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 0;
_global.t_fdb = 1;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(8);
_global.fw = 2;
_global.ft_hp = 2;
_global.flift = 5;
_global.fhand = true;
f_buy = "Sky Knight";
f_nc = 6 - _global.f_sc;
ft_sc = 3;
if (f_buy == _global.f_type) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
f_shenobi.onRollOver = function () {
p_mc.gotoAndStop(30);
partsdetails = "HP: +1<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-<br>AI Targeting: +1 to Battle Mod when Attacking";
partscost = "Cost: 8";
};
f_shenobi.onRelease = function () {
_global.t_fhd = 2;
_global.t_fhc = 0;
_global.t_fhr = 1;
_global.t_fab = 1;
_global.t_fdb = 0;
f_sparks.gotoAndPlay(2);
leftarms_mc.gotoAndStop(9);
_global.fw = 1;
_global.ft_hp = 1;
_global.flift = 4;
_global.fhand = true;
f_buy = "Shenobi I";
f_nc = 8 - _global.f_sc;
ft_sc = 4;
if (f_buy == _global.f_type) {
f_nc = 0;
ft_sc = _global.f_sc;
}
};
b_left.gotoAndStop(5);
b_left.onRollOver = function () {
b_left.gotoAndStop(5);
};
b_left.onRollOut = function () {
b_left.gotoAndStop(5);
};
b_heads.onRollOver = function () {
b_heads.gotoAndPlay(2);
};
b_heads.onRollOut = function () {
b_heads.gotoAndPlay(7);
};
b_heads.onRelease = function () {
p_mc.gotoAndStop(1);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
b_heads.gotoAndStop(5);
b_left.gotoAndStop(1);
gotoAndPlay (2);
};
b_cores.onRollOver = function () {
b_cores.gotoAndPlay(2);
};
b_cores.onRollOut = function () {
b_cores.gotoAndPlay(7);
};
b_cores.onRelease = function () {
p_mc.gotoAndStop(11);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 1";
b_cores.gotoAndStop(5);
b_left.gotoAndStop(1);
gotoAndPlay (4);
};
b_right.onRollOver = function () {
b_right.gotoAndPlay(2);
};
b_right.onRelease = function () {
p_mc.gotoAndStop(31);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_right.gotoAndPlay(5);
b_left.gotoAndStop(1);
gotoAndPlay (8);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_legs.onRollOver = function () {
b_legs.gotoAndPlay(2);
};
b_legs.onRollOut = function () {
b_legs.gotoAndPlay(7);
};
b_legs.onRelease = function () {
p_mc.gotoAndStop(40);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 1";
b_legs.gotoAndStop(5);
b_left.gotoAndStop(1);
gotoAndPlay (10);
};
b_weapons.onRollOver = function () {
b_weapons.gotoAndPlay(2);
};
b_weapons.onRollOut = function () {
b_weapons.gotoAndPlay(7);
};
b_weapons.onRelease = function () {
b_weapons.gotoAndStop(5);
b_left.gotoAndStop(1);
p_mc.gotoAndStop(49);
gotoAndPlay (12);
};
b_upgrades.onRollOver = function () {
b_upgrades.gotoAndPlay(2);
};
b_upgrades.onRollOut = function () {
b_upgrades.gotoAndPlay(7);
};
b_upgrades.onRelease = function () {
b_upgrades.gotoAndStop(5);
b_left.gotoAndStop(1);
p_mc.gotoAndStop(49);
gotoAndPlay (14);
};
tc = (((((((((((h_nc + c_nc) + r_nc) + f_nc) + l_nc) + w_nc) + _global.s1sc) + _global.s2sc) + _global.s3sc) + _global.s4sc) + _global.s5sc) + _global.s6sc) + _global.s7sc;
credits = _global.credits;
b_buy.onRollOver = function () {
b_buy.gotoAndPlay(2);
};
b_buy.onRollOut = function () {
b_buy.gotoAndPlay(7);
};
b_buy.onRelease = function () {
if (_global.credits >= tc) {
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.wcrit = _global.t_wcrit;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
_global.credits = credits - tc;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
_global.hp = maxhp;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
s.stop();
_parent.gotoAndPlay(155);
}
};
b_exit.onRollOver = function () {
b_exit.gotoAndPlay(2);
};
b_exit.onRollOut = function () {
b_exit.gotoAndPlay(7);
};
b_exit.onRelease = function () {
s.stop();
_parent.gotoAndPlay(155);
};
Symbol 266 MovieClip Frame 7
gotoAndPlay (6);
Symbol 266 MovieClip Frame 8
maxw = (((_global.hw + _global.cw) + _global.fw) + _global.rw) + _global.ww;
maxhp = (((_global.ht_hp + _global.ct_hp) + _global.rt_hp) + _global.ft_hp) + _global.lt_hp;
r_makiered.onRollOver = function () {
p_mc.gotoAndStop(31);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 3";
};
r_makiered.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(1);
_global.rw = 1;
_global.rt_hp = 0;
_global.rlift = 3;
_global.rhand = true;
r_buy = "Makie (Red)";
r_nc = 3 - _global.r_sc;
rt_sc = 1;
if ((r_buy == _global.r_type) or ("Makie (Blue)" == _global.r_type)) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_makieblue.onRollOver = function () {
p_mc.gotoAndStop(32);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 3";
};
r_makieblue.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(2);
_global.rw = 1;
_global.rt_hp = 0;
_global.rlift = 3;
_global.rhand = true;
r_buy = "Makie (Blue)";
r_nc = 3 - _global.r_sc;
rt_sc = 1;
if ((r_buy == _global.r_type) or ("Makie (Red)" == _global.r_type)) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_sleakred.onRollOver = function () {
p_mc.gotoAndStop(33);
partsdetails = "HP: +2<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 5";
};
r_sleakred.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(3);
_global.rw = 1;
_global.rt_hp = 2;
_global.rlift = 4;
_global.rhand = true;
r_buy = "Makie Sleek (Red)";
r_nc = 5 - _global.r_sc;
rt_sc = 2;
if ((r_buy == _global.r_type) or ("Makie Sleek (Blue)" == _global.r_type)) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_sleakblue.onRollOver = function () {
p_mc.gotoAndStop(34);
partsdetails = "HP: +2<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 5";
};
r_sleakblue.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(4);
_global.rw = 1;
_global.rt_hp = 2;
_global.rlift = 4;
_global.rhand = true;
r_buy = "Makie Sleek (Blue)";
r_nc = 5 - _global.r_sc;
rt_sc = 2;
if ((r_buy == _global.r_type) or ("Makie Sleek (Red)" == _global.r_type)) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_grey2k.onRollOver = function () {
p_mc.gotoAndStop(35);
partsdetails = "HP: +1<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-";
partscost = "Cost: 3";
};
r_grey2k.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(5);
_global.rw = 1;
_global.rt_hp = 1;
_global.rlift = 4;
_global.rhand = true;
r_buy = "Grey 2k";
r_nc = 3 - _global.r_sc;
rt_sc = 1;
if (r_buy == _global.r_type) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_toothmetal.onRollOver = function () {
p_mc.gotoAndStop(36);
partsdetails = "HP: +2<br>Max Lift: 4<br>Weight: 2<br>-Puncture Spike-<br>Attack 3/1";
partscost = "Cost: 5";
};
r_toothmetal.onRelease = function () {
_global.t_rhd = 3;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
r_sparks.gotoAndStop(2);
rightarms_mc.gotoAndStop(6);
_global.rw = 2;
_global.rt_hp = 2;
_global.rlift = 4;
_global.rhand = false;
r_buy = "Tooth Metal";
r_nc = 5 - _global.r_sc;
rt_sc = 2;
eweap.gotoAndStop(1);
_global.ww = 0;
w_buy = false;
_global.t_wd = 0;
_global.t_wr = 0;
_global.t_wcrit = 0;
_global.t_amo = 0;
_global.wh = false;
_global.meleew = "<None>";
_global.rangew = "<None>";
w_nc = -_global.w_sc;
wt_sc = 0;
if (r_buy == _global.r_type) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_shura.onRollOver = function () {
p_mc.gotoAndStop(37);
partsdetails = "HP: +2<br>Max Lift: 3<br>Weight: 1<br>-Fighting Hand-<br>Critical: 15%";
partscost = "Cost: 4";
};
r_shura.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 15;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 0;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(7);
_global.rw = 1;
_global.rt_hp = 2;
_global.rlift = 3;
_global.rhand = true;
r_buy = "Shura Fist";
r_nc = 4 - _global.r_sc;
rt_sc = 2;
if (r_buy == _global.r_type) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_skyknight.onRollOver = function () {
p_mc.gotoAndStop(38);
partsdetails = "HP: +2<br>Max Lift: 5<br>Weight: 2<br>-Standard Hand-<br>Extra Armor: +1 to Battle Mod when Defending";
partscost = "Cost: 7";
};
r_skyknight.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 0;
_global.t_rdb = 1;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(8);
_global.rw = 2;
_global.rt_hp = 2;
_global.rlift = 5;
_global.rhand = true;
r_buy = "Sky Knight";
r_nc = 7 - _global.r_sc;
rt_sc = 3;
if (r_buy == _global.r_type) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
r_shenobi.onRollOver = function () {
p_mc.gotoAndStop(39);
partsdetails = "HP: +1<br>Max Lift: 4<br>Weight: 1<br>-Standard Hand-<br>AI Targeting: +1 to Battle Mod when Attacking";
partscost = "Cost: 8";
};
r_shenobi.onRelease = function () {
_global.t_rhd = 2;
_global.t_rhc = 0;
_global.t_rhr = 1;
_global.t_rab = 1;
_global.t_rdb = 0;
r_sparks.gotoAndPlay(2);
rightarms_mc.gotoAndStop(9);
_global.rw = 1;
_global.rt_hp = 1;
_global.rlift = 4;
_global.rhand = true;
r_buy = "Shenobi I";
r_nc = 8 - _global.r_sc;
rt_sc = 4;
if (r_buy == _global.r_type) {
r_nc = 0;
rt_sc = _global.r_sc;
}
};
b_right.gotoAndStop(5);
b_right.onRollOver = function () {
b_right.gotoAndStop(5);
};
b_right.onRollOut = function () {
b_right.gotoAndStop(5);
};
b_heads.onRollOver = function () {
b_heads.gotoAndPlay(2);
};
b_heads.onRollOut = function () {
b_heads.gotoAndPlay(7);
};
b_heads.onRelease = function () {
p_mc.gotoAndStop(1);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
b_heads.gotoAndStop(5);
b_right.gotoAndStop(1);
gotoAndPlay (2);
};
b_cores.onRollOver = function () {
b_cores.gotoAndPlay(2);
};
b_cores.onRollOut = function () {
b_cores.gotoAndPlay(7);
};
b_cores.onRelease = function () {
p_mc.gotoAndStop(11);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 1";
b_cores.gotoAndStop(5);
b_right.gotoAndStop(1);
gotoAndPlay (4);
};
b_left.onRollOver = function () {
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
p_mc.gotoAndStop(22);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_left.gotoAndStop(5);
b_right.gotoAndStop(1);
gotoAndPlay (6);
};
b_legs.onRollOver = function () {
b_legs.gotoAndPlay(2);
};
b_legs.onRollOut = function () {
b_legs.gotoAndPlay(7);
};
b_legs.onRelease = function () {
p_mc.gotoAndStop(40);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 1";
b_legs.gotoAndStop(5);
b_right.gotoAndStop(1);
gotoAndPlay (10);
};
b_weapons.onRollOver = function () {
b_weapons.gotoAndPlay(2);
};
b_weapons.onRollOut = function () {
b_weapons.gotoAndPlay(7);
};
b_weapons.onRelease = function () {
b_weapons.gotoAndStop(5);
b_right.gotoAndStop(1);
p_mc.gotoAndStop(49);
gotoAndPlay (12);
};
b_upgrades.onRollOver = function () {
b_upgrades.gotoAndPlay(2);
};
b_upgrades.onRollOut = function () {
b_upgrades.gotoAndPlay(7);
};
b_upgrades.onRelease = function () {
b_upgrades.gotoAndStop(5);
b_right.gotoAndStop(1);
p_mc.gotoAndStop(54);
gotoAndPlay (14);
};
tc = (((((((((((h_nc + c_nc) + r_nc) + f_nc) + l_nc) + w_nc) + _global.s1sc) + _global.s2sc) + _global.s3sc) + _global.s4sc) + _global.s5sc) + _global.s6sc) + _global.s7sc;
credits = _global.credits;
b_buy.onRollOver = function () {
b_buy.gotoAndPlay(2);
};
b_buy.onRollOut = function () {
b_buy.gotoAndPlay(7);
};
b_buy.onRelease = function () {
if (_global.credits >= tc) {
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.wcrit = _global.t_wcrit;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
_global.credits = credits - tc;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
_global.hp = maxhp;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
s.stop();
_parent.gotoAndPlay(155);
}
};
b_exit.onRollOver = function () {
b_exit.gotoAndPlay(2);
};
b_exit.onRollOut = function () {
b_exit.gotoAndPlay(7);
};
b_exit.onRelease = function () {
s.stop();
_parent.gotoAndPlay(155);
};
Symbol 266 MovieClip Frame 9
gotoAndPlay (8);
Symbol 266 MovieClip Frame 10
maxhp = (((_global.ht_hp + _global.ct_hp) + _global.rt_hp) + _global.ft_hp) + _global.lt_hp;
l_makiered.onRollOver = function () {
p_mc.gotoAndStop(40);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 3";
};
l_makiered.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(1);
_global.lw = 7;
_global.lt_hp = 2;
_global.t_sp = 2;
l_buy = "Makie (Red)";
l_nc = 3 - _global.l_sc;
lt_sc = 1;
if ((l_buy == _global.l_type) or ("Makie (Blue)" == _global.l_type)) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_makieblue.onRollOver = function () {
p_mc.gotoAndStop(41);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 3";
};
l_makieblue.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(2);
_global.lw = 7;
_global.lt_hp = 2;
_global.t_sp = 2;
l_buy = "Makie (Blue)";
l_nc = 3 - _global.l_sc;
lt_sc = 1;
if ((l_buy == _global.l_type) or ("Makie (Red)" == _global.l_type)) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_sleakred.onRollOver = function () {
p_mc.gotoAndStop(42);
partsdetails = "HP: +2<br>Max Weight: 6<br>Speed: 4";
partscost = "Cost: 6";
};
l_sleakred.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(3);
_global.lw = 6;
_global.lt_hp = 2;
_global.t_sp = 4;
l_buy = "Makie Sleek (Red)";
l_nc = 6 - _global.l_sc;
lt_sc = 3;
if ((l_buy == _global.l_type) or ("Makie Sleek (Blue)" == _global.l_type)) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_sleakblue.onRollOver = function () {
p_mc.gotoAndStop(43);
partsdetails = "HP: +2<br>Max Weight: 6<br>Speed: 4";
partscost = "Cost: 6";
};
l_sleakblue.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(4);
_global.lw = 6;
_global.lt_hp = 2;
_global.t_sp = 4;
l_buy = "Makie Sleek (Blue)";
l_nc = 6 - _global.l_sc;
lt_sc = 3;
if ((l_buy == _global.l_type) or ("Makie Sleek (Red)" == _global.l_type)) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_grey2k.onRollOver = function () {
p_mc.gotoAndStop(44);
partsdetails = "HP: +3<br>Max Weight: 8<br>Speed: 2";
partscost = "Cost: 4";
};
l_grey2k.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(5);
_global.lw = 8;
_global.lt_hp = 3;
_global.t_sp = 2;
l_buy = "Grey 2k";
l_nc = 4 - _global.l_sc;
lt_sc = 2;
if (l_buy == _global.l_type) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_toothmetal.onRollOver = function () {
p_mc.gotoAndStop(45);
partsdetails = "HP: +3<br>Max Weight: 9<br>Speed: 2";
partscost = "Cost: 5";
};
l_toothmetal.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(6);
_global.lw = 9;
_global.lt_hp = 3;
_global.t_sp = 2;
l_buy = "Tooth Metal";
l_nc = 5 - _global.l_sc;
lt_sc = 2;
if (l_buy == _global.l_type) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_noblecentari.onRollOver = function () {
p_mc.gotoAndStop(46);
partsdetails = "HP: +4<br>Max Weight: 9<br>Speed: 3";
partscost = "Cost: 9";
};
l_noblecentari.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(7);
_global.lw = 9;
_global.lt_hp = 4;
_global.t_sp = 3;
l_buy = "Noble Centari";
l_nc = 9 - _global.l_sc;
lt_sc = 4;
if (l_buy == _global.l_type) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_skyknight.onRollOver = function () {
p_mc.gotoAndStop(47);
partsdetails = "HP: +3<br>Max Weight: 10<br>Speed: 3";
partscost = "Cost: 10";
};
l_skyknight.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(8);
_global.lw = 10;
_global.lt_hp = 3;
_global.t_sp = 3;
l_buy = "Sky Knight";
l_nc = 10 - _global.l_sc;
lt_sc = 5;
if (l_buy == _global.l_type) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
l_blake.onRollOver = function () {
p_mc.gotoAndStop(48);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 3";
partscost = "Cost: 4";
};
l_blake.onRelease = function () {
l_sparks.gotoAndPlay(2);
legs_mc.gotoAndStop(9);
_global.lw = 7;
_global.lt_hp = 2;
_global.t_sp = 3;
l_buy = "Mega Blake UN";
l_nc = 4 - _global.l_sc;
lt_sc = 2;
if (l_buy == _global.l_type) {
l_nc = 0;
lt_sc = _global.l_sc;
}
};
b_legs.gotoAndStop(5);
b_legs.onRollOver = function () {
b_legs.gotoAndStop(5);
};
b_legs.onRollOut = function () {
b_legs.gotoAndStop(5);
};
b_heads.onRollOver = function () {
b_heads.gotoAndPlay(2);
};
b_heads.onRollOut = function () {
b_heads.gotoAndPlay(7);
};
b_heads.onRelease = function () {
p_mc.gotoAndStop(1);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
b_heads.gotoAndStop(5);
b_legs.gotoAndStop(1);
gotoAndPlay (2);
};
b_cores.onRollOver = function () {
b_cores.gotoAndPlay(2);
};
b_cores.onRollOut = function () {
b_cores.gotoAndPlay(7);
};
b_cores.onRelease = function () {
p_mc.gotoAndStop(11);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 1";
b_cores.gotoAndStop(5);
b_legs.gotoAndStop(1);
gotoAndPlay (4);
};
b_left.onRollOver = function () {
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
p_mc.gotoAndStop(22);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_left.gotoAndStop(5);
b_legs.gotoAndStop(1);
gotoAndPlay (6);
};
b_right.onRollOver = function () {
b_right.gotoAndPlay(2);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_right.onRelease = function () {
p_mc.gotoAndStop(31);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_right.gotoAndPlay(5);
b_legs.gotoAndStop(1);
gotoAndPlay (8);
};
b_weapons.onRollOver = function () {
b_weapons.gotoAndPlay(2);
};
b_weapons.onRollOut = function () {
b_weapons.gotoAndPlay(7);
};
b_weapons.onRelease = function () {
b_weapons.gotoAndStop(5);
b_legs.gotoAndStop(1);
p_mc.gotoAndStop(49);
gotoAndPlay (12);
};
b_upgrades.onRollOver = function () {
b_upgrades.gotoAndPlay(2);
};
b_upgrades.onRollOut = function () {
b_upgrades.gotoAndPlay(7);
};
b_upgrades.onRelease = function () {
b_upgrades.gotoAndStop(5);
b_legs.gotoAndStop(1);
p_mc.gotoAndStop(54);
gotoAndPlay (14);
};
tc = (((((((((((h_nc + c_nc) + r_nc) + f_nc) + l_nc) + w_nc) + _global.s1sc) + _global.s2sc) + _global.s3sc) + _global.s4sc) + _global.s5sc) + _global.s6sc) + _global.s7sc;
credits = _global.credits;
b_buy.onRollOver = function () {
b_buy.gotoAndPlay(2);
};
b_buy.onRollOut = function () {
b_buy.gotoAndPlay(7);
};
b_buy.onRelease = function () {
if (_global.credits >= tc) {
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.wcrit = _global.t_wcrit;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
_global.credits = credits - tc;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
_global.hp = maxhp;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
s.stop();
_parent.gotoAndPlay(155);
}
};
b_exit.onRollOver = function () {
b_exit.gotoAndPlay(2);
};
b_exit.onRollOut = function () {
b_exit.gotoAndPlay(7);
};
b_exit.onRelease = function () {
s.stop();
_parent.gotoAndPlay(155);
};
Symbol 266 MovieClip Frame 11
gotoAndPlay (10);
Symbol 266 MovieClip Frame 12
maxw = (((_global.hw + _global.cw) + _global.fw) + _global.rw) + _global.ww;
w_smg.onRollOver = function () {
p_mc.gotoAndStop(49);
partsdetails = "Damage: 3<br>Range: 4<br>Ammo: 10<br>Weight: 1<br>Critical: 15%";
partscost = "Cost: 3";
};
w_none.onRelease = function () {
eweap.gotoAndStop(1);
_global.ww = 0;
w_buy = false;
_global.t_wd = 0;
_global.t_wr = 0;
_global.t_wcrit = 0;
_global.t_amo = 0;
_global.wh = false;
_global.meleew = "<None>";
_global.rangew = "<None>";
trace(w_nc);
trace(_global.w_sc);
trace(wt_sc);
w_nc = -_global.w_sc;
wt_sc = 0;
};
w_smg.onRelease = function () {
if ((_global.rhand == true) or (_global.fhand == true)) {
_global.ww = 1;
eweap.gotoAndStop(2);
if (_global.rhand == true) {
_global.wt = "rhgun";
} else {
_global.wt = "fhgun";
}
w_buy = "Anti MA SMG";
_global.t_wd = 3;
_global.t_wr = 4;
_global.t_wcrit = 15;
_global.t_amo = 10;
_global.wh = false;
_global.meleew = "<None>";
_global.rangew = "Anti MA SMG 3/4";
w_nc = 3 - _global.w_sc;
wt_sc = 1;
if (w_buy == _global.w_type) {
w_nc = 0;
wt_sc = _global.w_sc;
}
}
};
w_smg2.onRollOver = function () {
p_mc.gotoAndStop(50);
partsdetails = "Damage: 6<br>Range: 4<br>Ammo: 10(Each)<br>Weight: 2<br>Critical: 10%<br>Requires Two Hands";
partscost = "Cost: 6";
};
w_smg2.onRelease = function () {
if ((_global.rhand == true) and (_global.fhand == true)) {
_global.ww = 2;
eweap.gotoAndStop(3);
_global.wt = "bhgun";
w_buy = "Anti MA SMG x2";
_global.wh = true;
_global.t_wd = 6;
_global.t_wr = 4;
_global.t_wcrit = 10;
_global.t_amo = 10;
_global.meleew = "<None>";
_global.rangew = "Anti MA SMG x2 6/4";
w_nc = 6 - _global.w_sc;
wt_sc = 3;
if (w_buy == _global.w_type) {
w_nc = 0;
wt_sc = _global.w_sc;
}
}
};
w_rifle.onRollOver = function () {
p_mc.gotoAndStop(51);
partsdetails = "Damage: 6<br>Range: 7<br>Ammo: 8<br>Weight: 2<br>Critical: 25%<br>Requires Two Hands";
partscost = "Cost: 4";
};
w_rifle.onRelease = function () {
if ((_global.rhand == true) and (_global.fhand == true)) {
_global.ww = 2;
eweap.gotoAndStop(4);
_global.wt = "2hgun";
w_buy = "Grey Rifle";
_global.wh = true;
_global.t_wd = 6;
_global.t_wr = 7;
_global.t_wcrit = 25;
_global.t_amo = 8;
_global.meleew = "<None>";
_global.rangew = "Grey Rifle 5/7";
w_nc = 4 - _global.w_sc;
wt_sc = 2;
if (w_buy == _global.w_type) {
w_nc = 0;
wt_sc = _global.w_sc;
}
}
};
w_sabre.onRollOver = function () {
p_mc.gotoAndStop(52);
partsdetails = "Damage: 4<br>Range: 1<br>Ammo: <None><br>Weight: 1<br>Critical: 20%";
partscost = "Cost: 4";
};
w_sabre.onRelease = function () {
if ((_global.rhand == true) or (_global.fhand == true)) {
_global.ww = 1;
if (_global.rhand == true) {
_global.wt = "rhsword";
} else {
_global.wt = "fhsword";
}
eweap.gotoAndStop(5);
w_buy = "MA Sabre";
_global.t_amo = false;
_global.t_wcrit = 20;
_global.t_wd = 4;
_global.t_wr = 1;
_global.wh = false;
_global.rangew = "<None>";
_global.meleew = "MA Sabre 4/1";
w_nc = 4 - _global.w_sc;
wt_sc = 2;
if (w_buy == _global.w_type) {
w_nc = 0;
wt_sc = _global.w_sc;
}
}
};
w_sabres.onRollOver = function () {
p_mc.gotoAndStop(53);
partsdetails = "Damage: 8<br>Range: 1<br>Ammo: <None><br>Weight: 2<br>Critical: 15%<br>Requires Two Hands";
partscost = "Cost: 8";
};
w_sabres.onRelease = function () {
if ((_global.rhand == true) and (_global.fhand == true)) {
_global.ww = 2;
eweap.gotoAndStop(6);
_global.t_wd = 8;
_global.t_wr = 1;
_global.wt = "bhsword";
_global.t_wcrit = 15;
_global.t_amo = false;
_global.wh = true;
w_buy = "Dual MA Sabres";
_global.rangew = "<None>";
_global.meleew = "Dual Sabres 8/1";
w_nc = 8 - _global.w_sc;
wt_sc = 4;
if (w_buy == _global.w_type) {
w_nc = 0;
wt_sc = _global.w_sc;
}
}
};
b_heads.onRollOver = function () {
b_heads.gotoAndPlay(2);
};
b_heads.onRollOut = function () {
b_heads.gotoAndPlay(7);
};
b_heads.onRelease = function () {
p_mc.gotoAndStop(1);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
b_heads.gotoAndStop(5);
b_weapons.gotoAndStop(1);
gotoAndPlay (2);
};
b_cores.onRollOver = function () {
b_cores.gotoAndPlay(2);
};
b_cores.onRollOut = function () {
b_cores.gotoAndPlay(7);
};
b_cores.onRelease = function () {
p_mc.gotoAndStop(11);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 1";
b_cores.gotoAndStop(5);
b_weapons.gotoAndStop(1);
gotoAndPlay (4);
};
b_left.onRollOver = function () {
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
p_mc.gotoAndStop(22);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_left.gotoAndStop(5);
b_weapons.gotoAndStop(1);
gotoAndPlay (6);
};
b_right.onRollOver = function () {
b_right.gotoAndPlay(2);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_right.onRelease = function () {
p_mc.gotoAndStop(31);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_right.gotoAndPlay(5);
b_weapons.gotoAndStop(1);
gotoAndPlay (8);
};
b_legs.onRollOver = function () {
b_legs.gotoAndPlay(2);
};
b_legs.onRollOut = function () {
b_legs.gotoAndPlay(7);
};
b_legs.onRelease = function () {
p_mc.gotoAndStop(40);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 1";
b_legs.gotoAndStop(5);
b_weapons.gotoAndStop(1);
gotoAndPlay (10);
};
b_weapons.onRollOver = function () {
b_weapons.gotoAndStop(5);
};
b_weapons.onRollOut = function () {
b_weapons.gotoAndStop(5);
};
b_upgrades.onRollOver = function () {
b_upgrades.gotoAndPlay(2);
};
b_upgrades.onRollOut = function () {
b_upgrades.gotoAndPlay(7);
};
b_upgrades.onRelease = function () {
b_upgrades.gotoAndStop(5);
b_weapons.gotoAndStop(1);
p_mc.gotoAndStop(54);
gotoAndPlay (14);
};
tc = (((((((((((h_nc + c_nc) + r_nc) + f_nc) + l_nc) + w_nc) + _global.s1sc) + _global.s2sc) + _global.s3sc) + _global.s4sc) + _global.s5sc) + _global.s6sc) + _global.s7sc;
credits = _global.credits;
b_buy.onRollOver = function () {
b_buy.gotoAndPlay(2);
};
b_buy.onRollOut = function () {
b_buy.gotoAndPlay(7);
};
b_buy.onRelease = function () {
if (_global.credits >= tc) {
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.wcrit = _global.t_wcrit;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
_global.credits = credits - tc;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
_global.hp = maxhp;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
s.stop();
_parent.gotoAndPlay(155);
}
};
b_exit.onRollOver = function () {
b_exit.gotoAndPlay(2);
};
b_exit.onRollOut = function () {
b_exit.gotoAndPlay(7);
};
b_exit.onRelease = function () {
s.stop();
_parent.gotoAndPlay(155);
};
Symbol 266 MovieClip Frame 13
gotoAndPlay (12);
Symbol 266 MovieClip Frame 14
u_empty.onRollOver = function () {
p_mc.gotoAndStop(54);
partsdetails = "Empty All Sockets";
partscost = " ";
};
u_empty.onRelease = function () {
_global.s1 = true;
_global.s1name = "Empty";
_global.s1u = 0;
_global.s1sc = 0;
if (_global.s2 == true) {
_global.s2name = "Empty";
_global.s2u = 0;
_global.s2sc = 0;
}
if (_global.s3 == true) {
_global.s3name = "Empty";
_global.s3u = 0;
_global.s3sc = 0;
}
if (_global.s4 == true) {
_global.s4name = "Empty";
_global.s4u = 0;
_global.s4sc = 0;
}
if (_global.s5 == true) {
_global.s5name = "Empty";
_global.s5u = 0;
_global.s5sc = 0;
}
if (_global.s6 == true) {
_global.s6name = "Empty";
_global.s6u = 0;
_global.s6sc = 0;
}
if (_global.s7 == true) {
_global.s7name = "Empty";
_global.s7u = 0;
_global.s7sc = 0;
}
};
u_ammo.onRollOver = function () {
p_mc.gotoAndStop(54);
partsdetails = "Extra Ammo<br>Additional Clips for 1 reload during battle";
partscost = "Cost: 3";
};
u_ammo.onRelease = function () {
uc = 1;
if ((_global.s1 == true) and (_global.s1name == "Empty")) {
_global.s1name = "Extra Ammo";
_global.s1u = 1;
_global.s1sc = 3;
uc = 0;
}
if (uc == 1) {
if ((_global.s2 == true) and (_global.s2name == "Empty")) {
_global.s2name = "Extra Ammo";
_global.s2u = 1;
_global.s2sc = 3;
uc = 0;
}
}
if (uc == 1) {
if ((_global.s3 == true) and (_global.s3name == "Empty")) {
_global.s3name = "Extra Ammo";
_global.s3u = 1;
_global.s3sc = 3;
uc = 0;
}
}
if (uc == 1) {
if ((_global.s4 == true) and (_global.s4name == "Empty")) {
_global.s4name = "Extra Ammo";
_global.s4u = 1;
_global.s4sc = 3;
uc = 0;
}
}
if (uc == 1) {
if ((_global.s5 == true) and (_global.s5name == "Empty")) {
_global.s5name = "Extra Ammo";
_global.s5u = 1;
_global.s5sc = 3;
uc = 0;
}
}
if (uc == 1) {
if ((_global.s6 == true) and (_global.s6name == "Empty")) {
_global.s6name = "Extra Ammo";
_global.s6u = 1;
_global.s6sc = 3;
uc = 0;
}
}
if (uc == 1) {
if ((_global.s7 == true) and (_global.s7name == "Empty")) {
_global.s7name = "Extra Ammo";
_global.s7u = 1;
_global.s7sc = 3;
uc = 0;
}
}
};
b_upgrades.gotoAndStop(5);
b_upgrades.onRollOver = function () {
b_upgrades.gotoAndStop(5);
};
b_upgrades.onRollOut = function () {
b_upgrades.gotoAndStop(5);
};
b_heads.onRollOver = function () {
b_heads.gotoAndPlay(2);
};
b_heads.onRollOut = function () {
b_heads.gotoAndPlay(7);
};
b_heads.onRelease = function () {
p_mc.gotoAndStop(1);
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
b_heads.gotoAndStop(5);
b_cores.gotoAndStop(1);
gotoAndPlay (2);
};
b_cores.onRollOver = function () {
b_cores.gotoAndPlay(2);
};
b_cores.onRollOut = function () {
b_cores.gotoAndPlay(7);
};
b_cores.onRelease = function () {
p_mc.gotoAndStop(11);
partsdetails = "HP: +5<br>Sockets: 2<br>Weight: 1";
partscost = "Cost: 1";
b_cores.gotoAndStop(5);
b_upgrades.gotoAndStop(1);
gotoAndPlay (4);
};
b_left.onRollOver = function () {
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
p_mc.gotoAndStop(22);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_left.gotoAndStop(5);
b_upgrades.gotoAndStop(1);
gotoAndPlay (6);
};
b_right.onRollOver = function () {
b_right.gotoAndPlay(2);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_right.onRelease = function () {
p_mc.gotoAndStop(31);
partsdetails = "HP: +0<br>Max Lift: 3<br>Weight: 0.5<br>-Standard Hand-";
partscost = "Cost: 1";
b_right.gotoAndPlay(5);
b_upgrades.gotoAndStop(1);
gotoAndPlay (8);
};
b_legs.onRollOver = function () {
b_legs.gotoAndPlay(2);
};
b_legs.onRollOut = function () {
b_legs.gotoAndPlay(7);
};
b_legs.onRelease = function () {
p_mc.gotoAndStop(40);
partsdetails = "HP: +2<br>Max Weight: 7<br>Speed: 2";
partscost = "Cost: 1";
b_legs.gotoAndStop(5);
b_upgrades.gotoAndStop(1);
gotoAndPlay (10);
};
b_weapons.onRollOver = function () {
b_weapons.gotoAndPlay(2);
};
b_weapons.onRollOut = function () {
b_weapons.gotoAndPlay(7);
};
b_weapons.onRelease = function () {
b_weapons.gotoAndStop(5);
b_upgrades.gotoAndStop(1);
p_mc.gotoAndStop(49);
gotoAndPlay (12);
};
tc = (((((((((((h_nc + c_nc) + r_nc) + f_nc) + l_nc) + w_nc) + _global.s1sc) + _global.s2sc) + _global.s3sc) + _global.s4sc) + _global.s5sc) + _global.s6sc) + _global.s7sc;
credits = _global.credits;
b_buy.onRollOver = function () {
b_buy.gotoAndPlay(2);
};
b_buy.onRollOut = function () {
b_buy.gotoAndPlay(7);
};
b_buy.onRelease = function () {
if (_global.credits >= tc) {
_global.h_hp = _global.ht_hp;
_global.c_hp = _global.ct_hp;
_global.r_hp = _global.rt_hp;
_global.f_hp = _global.ft_hp;
_global.l_hp = _global.lt_hp;
_global.amo = _global.t_amo;
_global.fhd = _global.t_fhd;
_global.fhc = _global.t_fhc;
_global.fhr = _global.t_fhr;
_global.fab = _global.t_fab;
_global.fdb = _global.t_fdb;
_global.rhd = _global.t_rhd;
_global.rhc = _global.t_rhc;
_global.rhr = _global.t_rhr;
_global.rab = _global.t_rab;
_global.rdb = _global.t_rdb;
_global.weight = ((_global.hw + _global.cw) + _global.fw) + _global.rw;
_global.wcrit = _global.t_wcrit;
_global.wd = _global.t_wd;
_global.wr = _global.t_wr;
_global.credits = credits - tc;
_global.h_type = h_buy;
_global.c_type = c_buy;
_global.f_type = f_buy;
_global.r_type = r_buy;
_global.l_type = l_buy;
_global.w_type = w_buy;
_global.h_sc = ht_sc;
_global.c_sc = ct_sc;
_global.f_sc = ft_sc;
_global.r_sc = rt_sc;
_global.l_sc = lt_sc;
_global.w_sc = wt_sc;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
_global.hp = maxhp;
_global.pc = _global.t_pc;
_global.bm = _global.t_bm;
_global.lift = _global.flift + _global.rlift;
_global.sp = _global.t_sp;
_global.s1sc = 0;
_global.s2sc = 0;
_global.s3sc = 0;
_global.s4sc = 0;
_global.s5sc = 0;
_global.s6sc = 0;
_global.s7sc = 0;
_global.s1e = _global.s1name;
_global.s2e = _global.s2name;
_global.s3e = _global.s3name;
_global.s4e = _global.s4name;
_global.s5e = _global.s5name;
_global.s6e = _global.s6name;
_global.s7e = _global.s7name;
_global.sArray[0] = 0;
_global.sArray[1] = _global.s1name;
_global.sArray[2] = _global.s2name;
_global.sArray[3] = _global.s3name;
_global.sArray[4] = _global.s4name;
_global.sArray[5] = _global.s5name;
_global.sArray[6] = _global.s6name;
_global.sArray[7] = _global.s7name;
_global.suArray[0] = 0;
_global.suArray[1] = _gobal.s1u;
_global.suArray[2] = _gobal.s2u;
_global.suArray[3] = _gobal.s3u;
_global.suArray[4] = _gobal.s4u;
_global.suArray[5] = _gobal.s5u;
_global.suArray[6] = _gobal.s6u;
_global.suArray[7] = _gobal.s7u;
s.stop();
_parent.gotoAndPlay(155);
}
};
b_exit.onRollOver = function () {
b_exit.gotoAndPlay(2);
};
b_exit.onRollOut = function () {
b_exit.gotoAndPlay(7);
};
b_exit.onRelease = function () {
s.stop();
_parent.gotoAndPlay(155);
};
Symbol 266 MovieClip Frame 15
gotoAndPlay (14);
Symbol 266 MovieClip Frame 16
s.stop();
partsdetails = "HP: +1<br>Processor: +0<br>Battle Mod: +1<br>Weight: 1";
partscost = "Cost: 1";
tc = 0;
h_nc = 0;
c_nc = 0;
r_nc = 0;
f_nc = 0;
l_nc = 0;
w_nc = 0;
ht_sc = _global.h_sc;
ct_sc = _global.c_sc;
ft_sc = _global.f_sc;
rt_sc = _global.r_sc;
lt_sc = _global.l_sc;
wt_sc = _global.w_sc;
h_type = _global.h_type;
c_type = _global.c_type;
f_type = _global.f_type;
r_type = _global.r_type;
l_type = _global.l_type;
w_type = _global.w_type;
h_buy = _global.h_type;
c_buy = _global.c_type;
f_buy = _global.f_type;
r_buy = _global.r_type;
l_buy = _global.l_type;
w_buy = _global.w_type;
_global.ht_hp = _global.h_hp;
_global.ct_hp = _global.c_hp;
_global.rt_hp = _global.r_hp;
_global.ft_hp = _global.f_hp;
_global.lt_hp = _global.l_hp;
Symbol 266 MovieClip Frame 17
s = new Sound();
s.attachSound("sound");
s.start();
Symbol 266 MovieClip Frame 19
l_sparks.gotoAndPlay(2);
if (_global.l_type == "Makie (Red)") {
ht_sc = 1;
legs_mc.gotoAndStop(1);
}
if (_global.l_type == "Makie (Blue)") {
legs_mc.gotoAndStop(2);
}
if (_global.l_type == "Makie Sleek (Red)") {
legs_mc.gotoAndStop(3);
}
if (_global.l_type == "Makie Sleek (Blue)") {
legs_mc.gotoAndStop(4);
}
if (_global.l_type == "Grey 2k") {
legs_mc.gotoAndStop(5);
}
if (_global.l_type == "Tooth Metal") {
legs_mc.gotoAndStop(6);
}
if (_global.l_type == "Noble Centari") {
legs_mc.gotoAndStop(7);
}
if (_global.l_type == "Sky Knight") {
legs_mc.gotoAndStop(8);
}
if (_global.l_type == "Mega Blake UN") {
legs_mc.gotoAndStop(9);
}
Symbol 266 MovieClip Frame 22
c_sparks.gotoAndPlay(2);
if (_global.c_type == "Makie (Red)") {
ct_sc = 1;
cores_mc.gotoAndStop(1);
}
if (_global.c_type == "Makie (Blue)") {
cores_mc.gotoAndStop(2);
}
if (_global.c_type == "Makie Sleek (Red)") {
cores_mc.gotoAndStop(3);
}
if (_global.c_type == "Makie Sleek (Blue)") {
cores_mc.gotoAndStop(4);
}
if (_global.c_type == "Grey 2k") {
cores_mc.gotoAndStop(5);
}
if (_global.c_type == "Tooth Metal") {
cores_mc.gotoAndStop(6);
}
if (_global.c_type == "Maximum Centari") {
cores_mc.gotoAndStop(7);
}
if (_global.c_type == "Sky Knight") {
cores_mc.gotoAndStop(8);
}
if (_global.c_type == "Bull Bust") {
cores_mc.gotoAndStop(9);
}
if (_global.c_type == "Mega Blake UN") {
cores_mc.gotoAndStop(10);
}
if (_global.c_type == "Steel Synthicate") {
cores_mc.gotoAndStop(11);
}
Symbol 266 MovieClip Frame 24
r_sparks.gotoAndPlay(2);
if (_global.r_type == "Makie (Red)") {
rt_sc = 1;
rightarms_mc.gotoAndStop(1);
}
if (_global.r_type == "Makie (Blue)") {
rightarms_mc.gotoAndStop(2);
}
if (_global.r_type == "Makie Sleek (Red)") {
rightarms_mc.gotoAndStop(3);
}
if (_global.r_type == "Makie Sleek (Blue)") {
rightarms_mc.gotoAndStop(4);
}
if (_global.r_type == "Grey 2k") {
rightarms_mc.gotoAndStop(5);
}
if (_global.r_type == "Tooth Metal") {
rightarms_mc.gotoAndStop(6);
}
if (_global.r_type == "Shura Fist") {
rightarms_mc.gotoAndStop(7);
}
if (_global.r_type == "Sky Knight") {
rightarms_mc.gotoAndStop(8);
}
if (_global.r_type == "Shenobi I") {
rightarms_mc.gotoAndStop(9);
}
Symbol 266 MovieClip Frame 26
f_sparks.gotoAndPlay(2);
if (_global.f_type == "Makie (Red)") {
ft_sc = 1;
leftarms_mc.gotoAndStop(1);
}
if (_global.f_type == "Makie (Blue)") {
leftarms_mc.gotoAndStop(2);
}
if (_global.f_type == "Makie Sleek (Red)") {
leftarms_mc.gotoAndStop(3);
}
if (_global.f_type == "Makie Sleek (Blue)") {
leftarms_mc.gotoAndStop(4);
}
if (_global.f_type == "Grey 2k") {
leftarms_mc.gotoAndStop(5);
}
if (_global.f_type == "Tooth Metal") {
leftarms_mc.gotoAndStop(6);
}
if (_global.f_type == "Shura Fist") {
leftarms_mc.gotoAndStop(7);
}
if (_global.f_type == "Sky Knight") {
leftarms_mc.gotoAndStop(8);
}
if (_global.f_type == "Shenobi I") {
leftarms_mc.gotoAndStop(9);
}
Symbol 266 MovieClip Frame 29
gotoAndPlay (2);
h_sparks.gotoAndPlay(2);
if (_global.h_type == "Makie (Red)") {
lt_sc = 1;
heads_mc.gotoAndStop(1);
}
if (_global.h_type == "Makie (Blue)") {
heads_mc.gotoAndStop(2);
}
if (_global.h_type == "Makie Sleek (Red)") {
heads_mc.gotoAndStop(3);
}
if (_global.h_type == "Makie Sleek (Blue)") {
heads_mc.gotoAndStop(4);
}
if (_global.h_type == "Grey 2k") {
heads_mc.gotoAndStop(5);
}
if (_global.h_type == "Tooth Metal") {
heads_mc.gotoAndStop(6);
}
if (_global.h_type == "Optic Centari") {
heads_mc.gotoAndStop(7);
}
if (_global.h_type == "Sky Knight") {
heads_mc.gotoAndStop(8);
}
if (_global.h_type == "Bull Nose") {
heads_mc.gotoAndStop(9);
}
if (_global.h_type == "Shenobi I") {
heads_mc.gotoAndStop(10);
}
if (_global.l_type == "Makie (Red)") {
ht_sc = 1;
legs_mc.gotoAndStop(1);
}
if (_global.l_type == "Makie (Blue)") {
legs_mc.gotoAndStop(2);
}
if (_global.l_type == "Makie Sleek (Red)") {
legs_mc.gotoAndStop(3);
}
if (_global.l_type == "Makie Sleek (Blue)") {
legs_mc.gotoAndStop(4);
}
if (_global.l_type == "Grey 2k") {
legs_mc.gotoAndStop(5);
}
if (_global.l_type == "Tooth Metal") {
legs_mc.gotoAndStop(6);
}
if (_global.l_type == "Noble Centari") {
legs_mc.gotoAndStop(7);
}
if (_global.l_type == "Sky Knight") {
legs_mc.gotoAndStop(8);
}
if (_global.l_type == "Mega Blake UN") {
legs_mc.gotoAndStop(9);
}
if (_global.c_type == "Makie (Red)") {
ct_sc = 1;
cores_mc.gotoAndStop(1);
}
if (_global.c_type == "Makie (Blue)") {
cores_mc.gotoAndStop(2);
}
if (_global.c_type == "Makie Sleek (Red)") {
cores_mc.gotoAndStop(3);
}
if (_global.c_type == "Makie Sleek (Blue)") {
cores_mc.gotoAndStop(4);
}
if (_global.c_type == "Grey 2k") {
cores_mc.gotoAndStop(5);
}
if (_global.c_type == "Tooth Metal") {
cores_mc.gotoAndStop(6);
}
if (_global.c_type == "Maximum Centari") {
cores_mc.gotoAndStop(7);
}
if (_global.c_type == "Sky Knight") {
cores_mc.gotoAndStop(8);
}
if (_global.c_type == "Bull Bust") {
cores_mc.gotoAndStop(9);
}
if (_global.c_type == "Mega Blake UN") {
cores_mc.gotoAndStop(10);
}
if (_global.c_type == "Steel Synthicate") {
cores_mc.gotoAndStop(11);
}
if (_global.r_type == "Makie (Red)") {
rt_sc = 1;
rightarms_mc.gotoAndStop(1);
}
if (_global.r_type == "Makie (Blue)") {
rightarms_mc.gotoAndStop(2);
}
if (_global.r_type == "Makie Sleek (Red)") {
rightarms_mc.gotoAndStop(3);
}
if (_global.r_type == "Makie Sleek (Blue)") {
rightarms_mc.gotoAndStop(4);
}
if (_global.r_type == "Grey 2k") {
rightarms_mc.gotoAndStop(5);
}
if (_global.r_type == "Tooth Metal") {
rightarms_mc.gotoAndStop(6);
}
if (_global.r_type == "Shura Fist") {
rightarms_mc.gotoAndStop(7);
}
if (_global.r_type == "Sky Knight") {
rightarms_mc.gotoAndStop(8);
}
if (_global.r_type == "Shenobi I") {
rightarms_mc.gotoAndStop(9);
}
if (_global.f_type == "Makie (Red)") {
ft_sc = 1;
leftarms_mc.gotoAndStop(1);
}
if (_global.f_type == "Makie (Blue)") {
leftarms_mc.gotoAndStop(2);
}
if (_global.f_type == "Makie Sleek (Red)") {
leftarms_mc.gotoAndStop(3);
}
if (_global.f_type == "Makie Sleek (Blue)") {
leftarms_mc.gotoAndStop(4);
}
if (_global.f_type == "Grey 2k") {
leftarms_mc.gotoAndStop(5);
}
if (_global.f_type == "Tooth Metal") {
leftarms_mc.gotoAndStop(6);
}
if (_global.f_type == "Shura Fist") {
leftarms_mc.gotoAndStop(7);
}
if (_global.f_type == "Sky Knight") {
leftarms_mc.gotoAndStop(8);
}
if (_global.f_type == "Shenobi I") {
leftarms_mc.gotoAndStop(9);
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 3
_global.m = 1;
Symbol 270 MovieClip Frame 1648
_global.m = 2;
Symbol 270 MovieClip Frame 5596
gotoAndPlay (2);
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 2
stop();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 2
stop();
Symbol 284 MovieClip Frame 3
stop();
Symbol 284 MovieClip Frame 4
stop();
Symbol 284 MovieClip Frame 5
stop();
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 2
stop();
Symbol 286 MovieClip Frame 3
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
stop();
Symbol 291 MovieClip Frame 1
gotoAndStop (1);
Symbol 291 MovieClip Frame 6
gotoAndStop (6);
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
stop();
Symbol 296 MovieClip Frame 3
stop();
Symbol 296 MovieClip Frame 4
stop();
Symbol 296 MovieClip Frame 5
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 3
stop();
Symbol 300 MovieClip Frame 4
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 6
stop();
Symbol 305 MovieClip Frame 1
b_up.onRollOver = function () {
_parent.p1.gotoAndStop(1);
b_up.gotoAndPlay(2);
};
b_up.onRollOut = function () {
b_up.gotoAndPlay(7);
};
b_up.onRelease = function () {
trace(_global.tsp);
_global.tsp = _global.tsp - 1;
trace(_global.tsp);
_global.p1y = _global.p1y - 25;
if (_global.p1y == 100) {
_global.tsp = _global.tsp + 1;
_global.p1y = _global.p1y + 25;
}
for (var _local2 in _global.myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1y = _global.p1y + 25;
_global.tsp = _global.tsp + 1;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.p1y = _global.p1y + 25;
_global.tsp = _global.tsp + 1;
}
}
};
b_right.onRollOver = function () {
_parent.p1.gotoAndStop(2);
b_right.gotoAndPlay(2);
};
b_right.onRollOut = function () {
b_right.gotoAndPlay(7);
};
b_right.onRelease = function () {
_global.p1x = _global.p1x + 25;
_global.tsp = _global.tsp - 1;
if (_global.p1x == 400) {
_global.tsp = _global.tsp + 1;
_global.p1x = _global.p1x - 25;
}
for (var _local2 in myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.tsp = _global.tsp + 1;
_global.p1x = _global.p1x - 25;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.tsp = _global.tsp + 1;
_global.p1x = _global.p1x - 25;
}
}
};
b_left.onRollOver = function () {
_parent.p1.gotoAndStop(4);
b_left.gotoAndPlay(2);
};
b_left.onRollOut = function () {
b_left.gotoAndPlay(7);
};
b_left.onRelease = function () {
_global.tsp = _global.tsp - 1;
_global.p1x = _global.p1x - 25;
if (_global.p1x == 125) {
_global.tsp = _global.tsp + 1;
_global.p1x = _global.p1x + 25;
}
for (var _local2 in myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.tsp = _global.tsp + 1;
_global.p1x = _global.p1x + 25;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.tsp = _global.tsp + 1;
_global.p1x = _global.p1x + 25;
}
}
};
b_down.onRollOver = function () {
_parent.p1.gotoAndStop(3);
b_down.gotoAndPlay(2);
};
b_down.onRollOut = function () {
b_down.gotoAndPlay(7);
};
b_down.onRelease = function () {
_global.tsp = _global.tsp - 1;
_global.p1y = _global.p1y + 25;
if (_global.p1y == 375) {
_global.tsp = _global.tsp + 1;
_global.p1y = _global.p1y - 25;
}
for (var _local2 in myArray) {
if (_global.myArray[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.tsp = _global.tsp + 1;
_global.p1y = _global.p1y - 25;
}
}
for (var _local2 in _global.enemy_array) {
if (_global.enemy_array[_local2] == ((_global.p1x * 1000) + _global.p1y)) {
_global.tsp = _global.tsp + 1;
_global.p1y = _global.p1y - 25;
}
}
};
Symbol 305 MovieClip Frame 2
gotoAndPlay (1);
Symbol 305 MovieClip Frame 3
b_down.onRelease = function () {
};
b_up.onRelease = function () {
};
b_left.onRelease = function () {
};
b_right.onRelease = function () {
};
stop();
Symbol 306 MovieClip Frame 1
if (_global.h_type == "Makie (Red)") {
heads_mc.gotoAndStop(1);
}
if (_global.h_type == "Makie (Blue)") {
heads_mc.gotoAndStop(2);
}
if (_global.h_type == "Makie Sleek (Red)") {
heads_mc.gotoAndStop(3);
}
if (_global.h_type == "Makie Sleek (Blue)") {
heads_mc.gotoAndStop(4);
}
if (_global.h_type == "Grey 2k") {
heads_mc.gotoAndStop(5);
}
if (_global.h_type == "Tooth Metal") {
heads_mc.gotoAndStop(6);
}
if (_global.h_type == "Optic Centari") {
heads_mc.gotoAndStop(7);
}
if (_global.h_type == "Sky Knight") {
heads_mc.gotoAndStop(8);
}
if (_global.h_type == "Bull Nose") {
heads_mc.gotoAndStop(9);
}
if (_global.h_type == "Shenobi I") {
heads_mc.gotoAndStop(10);
}
if (_global.c_type == "Makie (Red)") {
cores_mc.gotoAndStop(1);
}
if (_global.c_type == "Makie (Blue)") {
cores_mc.gotoAndStop(2);
}
if (_global.c_type == "Makie Sleek (Red)") {
cores_mc.gotoAndStop(3);
}
if (_global.c_type == "Makie Sleek (Blue)") {
cores_mc.gotoAndStop(4);
}
if (_global.c_type == "Grey 2k") {
cores_mc.gotoAndStop(5);
}
if (_global.c_type == "Tooth Metal") {
cores_mc.gotoAndStop(6);
}
if (_global.c_type == "Maximum Centari") {
cores_mc.gotoAndStop(7);
}
if (_global.c_type == "Sky Knight") {
cores_mc.gotoAndStop(8);
}
if (_global.c_type == "Bull Bust") {
cores_mc.gotoAndStop(9);
}
if (_global.c_type == "Mega Blake UN") {
cores_mc.gotoAndStop(10);
}
if (_global.c_type == "Steel Synthicate") {
cores_mc.gotoAndStop(11);
}
if (_global.r_type == "Makie (Red)") {
leftarms_mc.gotoAndStop(1);
}
if (_global.r_type == "Makie (Blue)") {
leftarms_mc.gotoAndStop(2);
}
if (_global.r_type == "Makie Sleek (Red)") {
leftarms_mc.gotoAndStop(3);
}
if (_global.r_type == "Makie Sleek (Blue)") {
leftarms_mc.gotoAndStop(4);
}
if (_global.r_type == "Grey 2k") {
leftarms_mc.gotoAndStop(5);
}
if (_global.r_type == "Tooth Metal") {
leftarms_mc.gotoAndStop(6);
}
if (_global.r_type == "Shura Fist") {
leftarms_mc.gotoAndStop(7);
}
if (_global.r_type == "Sky Knight") {
leftarms_mc.gotoAndStop(8);
}
if (_global.r_type == "Shenobi I") {
leftarms_mc.gotoAndStop(9);
}
if (_global.f_type == "Makie (Red)") {
rightarms_mc.gotoAndStop(1);
}
if (_global.f_type == "Makie (Blue)") {
rightarms_mc.gotoAndStop(2);
}
if (_global.f_type == "Makie Sleek (Red)") {
rightarms_mc.gotoAndStop(3);
}
if (_global.f_type == "Makie Sleek (Blue)") {
rightarms_mc.gotoAndStop(4);
}
if (_global.f_type == "Grey 2k") {
rightarms_mc.gotoAndStop(5);
}
if (_global.f_type == "Tooth Metal") {
rightarms_mc.gotoAndStop(6);
}
if (_global.f_type == "Shura Fist") {
rightarms_mc.gotoAndStop(7);
}
if (_global.f_type == "Sky Knight") {
rightarms_mc.gotoAndStop(8);
}
if (_global.f_type == "Shenobi I") {
rightarms_mc.gotoAndStop(9);
}
if (_global.l_type == "Makie (Red)") {
legs_mc.gotoAndStop(1);
}
if (_global.l_type == "Makie (Blue)") {
legs_mc.gotoAndStop(2);
}
if (_global.l_type == "Makie Sleek (Red)") {
legs_mc.gotoAndStop(3);
}
if (_global.l_type == "Makie Sleek (Blue)") {
legs_mc.gotoAndStop(4);
}
if (_global.l_type == "Grey 2k") {
legs_mc.gotoAndStop(5);
}
if (_global.l_type == "Tooth Metal") {
legs_mc.gotoAndStop(6);
}
if (_global.l_type == "Noble Centari") {
legs_mc.gotoAndStop(7);
}
if (_global.l_type == "Sky Knight") {
legs_mc.gotoAndStop(8);
}
if (_global.l_type == "Mega Blake UN") {
legs_mc.gotoAndStop(9);
}
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 5
stop();
Symbol 339 MovieClip Frame 9
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 5
stop();
Symbol 341 MovieClip Frame 9
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 5
stop();
Symbol 343 MovieClip Frame 9
Symbol 346 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 5
stop();
Symbol 346 MovieClip Frame 9
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 5
stop();
Symbol 348 MovieClip Frame 9
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 5
stop();
Symbol 352 MovieClip Frame 9
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 5
stop();
Symbol 354 MovieClip Frame 9
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 5
stop();
Symbol 356 MovieClip Frame 9
Symbol 357 MovieClip Frame 5
if (_global.eatk == true) {
gotoAndPlay (14);
}
Symbol 357 MovieClip Frame 7
trace(_global.range);
trace(_global.fhr);
trace(_global.rhr);
if ((_global.range <= _global.fhr) or (_global.range <= _global.rhr)) {
g_inv.onRollOver = function () {
mc_g.gotoAndPlay(2);
};
g_inv.onRollOut = function () {
mc_g.gotoAndPlay(6);
};
g_inv.onRelease = function () {
gotoAndPlay (16);
};
} else {
mc_g.gotoAndStop(5);
}
if ((((_global.range <= _global.wr) and (_global.los == true)) and (_global.rangew ne "<None>")) and (_global.camu > 0)) {
r_inv.onRollOver = function () {
mc_r.gotoAndPlay(2);
};
r_inv.onRollOut = function () {
mc_r.gotoAndPlay(6);
};
r_inv.onRelease = function () {
_global.atk_typ = "Range";
_parent.gotoAndPlay(31);
};
} else {
mc_r.gotoAndStop(5);
}
if ((_global.range <= _global.fhr) or (_global.range <= _global.rhr)) {
m_inv.onRollOver = function () {
mc_m.gotoAndPlay(2);
};
m_inv.onRollOut = function () {
mc_m.gotoAndPlay(6);
};
m_inv.onRelease = function () {
_global.atk_typ = "Melee";
_parent.gotoAndPlay(31);
};
} else {
mc_m.gotoAndStop(5);
}
Symbol 357 MovieClip Frame 8
stop();
Symbol 357 MovieClip Frame 13
stop();
Symbol 357 MovieClip Frame 14
_parent.gotoAndPlay(31);
Symbol 357 MovieClip Frame 15
gotoAndPlay (14);
r_inv.onRollOver = function () {
mc_r.gotoAndPlay(2);
};
r_inv.onRollOut = function () {
mc_r.gotoAndPlay(6);
};
r_inv.onRelease = function () {
_global.btl_dsc = "Rock";
trace("You'll have to come back and change this when the game is finished!");
_parent.gotoAndPlay(31);
};
p_inv.onRollOver = function () {
mc_p.gotoAndPlay(2);
};
p_inv.onRollOut = function () {
mc_p.gotoAndPlay(6);
};
p_inv.onRelease = function () {
_global.btl_dsc = "Paper";
trace("You'll have to come back and change this when the game is finished!");
_parent.gotoAndPlay(31);
};
s_inv.onRollOver = function () {
mc_s.gotoAndPlay(2);
};
s_inv.onRollOut = function () {
mc_s.gotoAndPlay(6);
};
s_inv.onRelease = function () {
_global.btl_dsc = "Scissor";
trace("You'll have to come back and change this when the game is finished!");
_parent.gotoAndPlay(31);
};
Symbol 357 MovieClip Frame 16
b_inv.onRollOver = function () {
mc_b.gotoAndPlay(2);
};
b_inv.onRollOut = function () {
mc_b.gotoAndPlay(6);
};
b_inv.onRelease = function () {
_global.atk_typ = "Body Slam";
trace("You'll have to come back and change this when the game is finished!");
_parent.gotoAndPlay(31);
};
t_inv.onRollOver = function () {
mc_t.gotoAndPlay(2);
};
t_inv.onRollOut = function () {
mc_t.gotoAndPlay(6);
};
t_inv.onRelease = function () {
_global.atk_typ = "Trip";
trace("You'll have to come back and change this when the game is finished!");
_parent.gotoAndPlay(31);
};
Symbol 357 MovieClip Frame 17
gotoAndPlay (16);
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
stop();
Symbol 368 MovieClip Frame 3
stop();
Symbol 368 MovieClip Frame 4
stop();
Symbol 368 MovieClip Frame 5
stop();
Symbol 368 MovieClip Frame 6
stop();
Symbol 368 MovieClip Frame 7
stop();
Symbol 368 MovieClip Frame 8
stop();
Symbol 368 MovieClip Frame 9
stop();
Symbol 368 MovieClip Frame 10
stop();
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 2
stop();
Symbol 374 MovieClip Frame 3
stop();
Symbol 374 MovieClip Frame 4
stop();
Symbol 374 MovieClip Frame 5
stop();
Symbol 374 MovieClip Frame 6
stop();
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
stop();
Symbol 383 MovieClip Frame 3
stop();
Symbol 383 MovieClip Frame 4
stop();
Symbol 383 MovieClip Frame 5
stop();
Symbol 383 MovieClip Frame 6
stop();
Symbol 383 MovieClip Frame 7
stop();
Symbol 383 MovieClip Frame 8
stop();
Symbol 383 MovieClip Frame 9
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 391 MovieClip Frame 3
stop();
Symbol 391 MovieClip Frame 4
stop();
Symbol 391 MovieClip Frame 5
stop();
Symbol 391 MovieClip Frame 6
stop();
Symbol 391 MovieClip Frame 7
stop();
Symbol 391 MovieClip Frame 8
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Symbol 396 MovieClip Frame 3
stop();
Symbol 396 MovieClip Frame 4
stop();
Symbol 396 MovieClip Frame 5
stop();
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
stop();
Symbol 408 MovieClip Frame 3
stop();
Symbol 408 MovieClip Frame 4
stop();
Symbol 408 MovieClip Frame 5
stop();
Symbol 408 MovieClip Frame 6
stop();
Symbol 408 MovieClip Frame 7
stop();
Symbol 408 MovieClip Frame 8
stop();
Symbol 408 MovieClip Frame 9
stop();
Symbol 408 MovieClip Frame 10
stop();
Symbol 408 MovieClip Frame 11
stop();
Symbol 408 MovieClip Frame 12
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 2
stop();
Symbol 410 MovieClip Frame 3
stop();
Symbol 410 MovieClip Frame 4
stop();
Symbol 410 MovieClip Frame 5
stop();
Symbol 410 MovieClip Frame 6
stop();
Symbol 410 MovieClip Frame 7
stop();
Symbol 410 MovieClip Frame 8
stop();
Symbol 410 MovieClip Frame 9
stop();
Symbol 410 MovieClip Frame 10
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 2
stop();
Symbol 416 MovieClip Frame 3
stop();
Symbol 416 MovieClip Frame 4
stop();
Symbol 416 MovieClip Frame 5
stop();
Symbol 416 MovieClip Frame 6
stop();
Symbol 426 MovieClip Frame 1
gotoAndPlay (46);
Symbol 426 MovieClip Frame 2
if (_global.eatk == false) {
if (_global.wcrit >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst * 2;
}
gotoAndPlay (24);
}
}
Symbol 426 MovieClip Frame 23
stop();
Symbol 426 MovieClip Frame 45
stop();
Symbol 426 MovieClip Frame 68
stop();
Symbol 426 MovieClip Frame 91
stop();
Symbol 426 MovieClip Frame 92
if (_global.eatk == false) {
if (_global.wcrit >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst * 2;
}
gotoAndPlay (114);
}
}
Symbol 426 MovieClip Frame 113
stop();
Symbol 426 MovieClip Frame 135
stop();
Symbol 426 MovieClip Frame 136
if (_global.eatk == false) {
if (_global.wcrit >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst * 2;
}
}
}
Symbol 426 MovieClip Frame 157
stop();
Symbol 426 MovieClip Frame 180
stop();
Symbol 426 MovieClip Frame 203
stop();
Symbol 426 MovieClip Frame 226
stop();
Symbol 426 MovieClip Frame 249
stop();
Symbol 426 MovieClip Frame 272
stop();
Symbol 426 MovieClip Frame 273
if (_global.eatk == false) {
if (_global.wcrit >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst * 2;
}
gotoAndPlay (319);
}
}
Symbol 426 MovieClip Frame 295
stop();
Symbol 426 MovieClip Frame 296
if (_global.eatk == false) {
if (_global.wcrit >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst * 2;
}
gotoAndPlay (342);
}
}
Symbol 426 MovieClip Frame 318
stop();
Symbol 426 MovieClip Frame 341
stop();
Symbol 426 MovieClip Frame 364
stop();
Symbol 426 MovieClip Frame 365
if (_global.eatk == false) {
if (_global.wcrit >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst * 2;
}
gotoAndPlay (387);
}
}
Symbol 426 MovieClip Frame 386
stop();
Symbol 426 MovieClip Frame 408
stop();
Symbol 426 MovieClip Frame 409
if (_global.eatk == false) {
if (_global.fhc >= (random(99) + 1)) {
_global.atkst = _global.fhd * 2;
} else {
_global.atkst = _global.fhd;
}
if (_global.rhc >= (random(99) + 1)) {
_global.atkst = _global.atkst + (_global.rhd * 2);
} else {
_global.atkst = _global.atkst + _global.rhd;
}
}
Symbol 426 MovieClip Frame 430
stop();
Symbol 426 MovieClip Frame 431
if (_global.eatk == false) {
if (_global.fhc >= (random(99) + 1)) {
_global.atkst = _global.fhd * 2;
} else {
_global.atkst = _global.fhd;
}
if (_global.rhc >= (random(99) + 1)) {
_global.atkst = _global.atkst + (_global.rhd * 2);
} else {
_global.atkst = _global.atkst + _global.rhd;
}
}
Symbol 426 MovieClip Frame 453
stop();
Symbol 428 MovieClip Frame 1
if (r_type == "Makie (Red)") {
gotoAndStop (2);
}
if (r_type == "Makie (Blue)") {
gotoAndStop (3);
}
if (r_type == "Makie Sleek (Red)") {
gotoAndStop (4);
}
if (r_type == "Makie Sleek (Blue)") {
gotoAndStop (5);
}
if (r_type == "Grey 2k") {
gotoAndStop (6);
}
if (r_type == "Tooth Metal") {
gotoAndStop (7);
}
if (r_type == "Shura Fist") {
gotoAndStop (8);
}
if (r_type == "Sky Knight") {
gotoAndStop (9);
}
if (f_type == "Shenobi I") {
gotoAndStop (10);
}
Symbol 428 MovieClip Frame 2
stop();
Symbol 428 MovieClip Frame 3
stop();
Symbol 428 MovieClip Frame 4
stop();
Symbol 428 MovieClip Frame 5
stop();
Symbol 428 MovieClip Frame 6
stop();
Symbol 428 MovieClip Frame 7
stop();
Symbol 428 MovieClip Frame 8
stop();
Symbol 428 MovieClip Frame 9
stop();
Symbol 428 MovieClip Frame 10
stop();
Symbol 429 MovieClip Frame 1
if (((((r_type == "Makie (Red)") or (r_type == "Makie (Blue)")) or (r_type == "Makie Sleek (Red)")) or (r_type == "Makie Sleek (Blue)")) or (r_type == "Grey 2k")) {
gotoAndStop (2);
}
if (r_type == "Tooth Metal") {
gotoAndStop (3);
}
if (r_type == "Shura Fist") {
gotoAndStop (4);
}
if (r_type == "Sky Knight") {
gotoAndStop (5);
}
if (r_type == "Shenobi I") {
gotoAndStop (6);
}
stop();
Symbol 429 MovieClip Frame 2
stop();
Symbol 429 MovieClip Frame 3
stop();
Symbol 429 MovieClip Frame 4
stop();
Symbol 429 MovieClip Frame 5
stop();
Symbol 429 MovieClip Frame 6
stop();
Symbol 430 MovieClip Frame 1
if (h_type == "Makie (Red)") {
gotoAndStop (2);
}
if (h_type == "Makie (Blue)") {
gotoAndStop (3);
}
if (h_type == "Makie Sleek (Red)") {
gotoAndStop (2);
}
if (h_type == "Makie Sleek (Blue)") {
gotoAndStop (3);
}
if (h_type == "Grey 2k") {
gotoAndStop (4);
}
if (h_type == "Tooth Metal") {
gotoAndStop (5);
}
if (h_type == "Optic Centari") {
gotoAndStop (6);
}
if (h_type == "Sky Knight") {
gotoAndStop (7);
}
if (h_type == "Shenobi I") {
gotoAndStop (9);
}
if (h_type == "Bull Nose") {
gotoAndStop (8);
}
Symbol 430 MovieClip Frame 2
stop();
Symbol 430 MovieClip Frame 3
stop();
Symbol 430 MovieClip Frame 4
stop();
Symbol 430 MovieClip Frame 5
stop();
Symbol 430 MovieClip Frame 6
stop();
Symbol 430 MovieClip Frame 7
stop();
Symbol 430 MovieClip Frame 8
stop();
Symbol 430 MovieClip Frame 9
stop();
Symbol 431 MovieClip Frame 1
if (l_type == "Makie (Red)") {
gotoAndStop (2);
}
if (l_type == "Makie (Blue)") {
gotoAndStop (3);
}
if (l_type == "Makie Sleek (Red)") {
gotoAndStop (2);
}
if (l_type == "Makie Sleek (Blue)") {
gotoAndStop (3);
}
if (l_type == "Grey 2k") {
gotoAndStop (4);
}
if (l_type == "Tooth Metal") {
gotoAndStop (5);
}
if (l_type == "Noble Centari") {
gotoAndStop (6);
}
if (l_type == "Sky Knight") {
gotoAndStop (7);
}
if (l_type == "Mega Blake UN") {
gotoAndStop (8);
}
Symbol 431 MovieClip Frame 2
stop();
Symbol 431 MovieClip Frame 3
stop();
Symbol 431 MovieClip Frame 4
stop();
Symbol 431 MovieClip Frame 5
stop();
Symbol 431 MovieClip Frame 6
stop();
Symbol 431 MovieClip Frame 7
stop();
Symbol 431 MovieClip Frame 8
stop();
Symbol 433 MovieClip Frame 1
if (l_type == "Makie (Red)") {
gotoAndStop (2);
}
if (l_type == "Makie (Blue)") {
gotoAndStop (2);
}
if (l_type == "Makie Sleek (Red)") {
gotoAndStop (2);
}
if (l_type == "Makie Sleek (Blue)") {
gotoAndStop (2);
}
if (l_type == "Grey 2k") {
gotoAndStop (2);
}
if (l_type == "Tooth Metal") {
gotoAndStop (3);
}
if (l_type == "Noble Centari") {
gotoAndStop (4);
}
if (l_type == "Sky Knight") {
gotoAndStop (5);
}
if (l_type == "Mega Blake UN") {
gotoAndStop (2);
}
Symbol 433 MovieClip Frame 2
stop();
Symbol 433 MovieClip Frame 3
stop();
Symbol 433 MovieClip Frame 4
stop();
Symbol 433 MovieClip Frame 5
stop();
Symbol 435 MovieClip Frame 1
if (c_type == "Makie (Red)") {
gotoAndStop (2);
}
if (c_type == "Makie (Blue)") {
gotoAndStop (3);
}
if (c_type == "Makie Sleek (Red)") {
gotoAndStop (4);
}
if (c_type == "Makie Sleek (Blue)") {
gotoAndStop (5);
}
if (c_type == "Grey 2k") {
gotoAndStop (6);
}
if (c_type == "Tooth Metal") {
gotoAndStop (7);
}
if (c_type == "Maximum Centari") {
gotoAndStop (8);
}
if (c_type == "Sky Knight") {
gotoAndStop (9);
}
if (c_type == "Bull Bust") {
gotoAndStop (10);
}
if (c_type == "Mega Blake UN") {
gotoAndStop (11);
}
if (c_type == "Steel Synthicate") {
gotoAndStop (12);
}
Symbol 435 MovieClip Frame 2
stop();
Symbol 435 MovieClip Frame 3
stop();
Symbol 435 MovieClip Frame 4
stop();
Symbol 435 MovieClip Frame 5
stop();
Symbol 435 MovieClip Frame 6
stop();
Symbol 435 MovieClip Frame 7
stop();
Symbol 435 MovieClip Frame 8
stop();
Symbol 435 MovieClip Frame 9
stop();
Symbol 435 MovieClip Frame 10
stop();
Symbol 435 MovieClip Frame 11
stop();
Symbol 435 MovieClip Frame 12
stop();
Symbol 436 MovieClip Frame 1
if (f_type == "Makie (Red)") {
gotoAndStop (2);
}
if (f_type == "Makie (Blue)") {
gotoAndStop (3);
}
if (f_type == "Makie Sleek (Red)") {
gotoAndStop (4);
}
if (f_type == "Makie Sleek (Blue)") {
gotoAndStop (5);
}
if (f_type == "Grey 2k") {
gotoAndStop (6);
}
if (f_type == "Tooth Metal") {
gotoAndStop (7);
}
if (f_type == "Shura Fist") {
gotoAndStop (8);
}
if (f_type == "Sky Knight") {
gotoAndStop (9);
}
if (f_type == "Shenobi I") {
gotoAndStop (10);
}
Symbol 436 MovieClip Frame 2
stop();
Symbol 436 MovieClip Frame 3
stop();
Symbol 436 MovieClip Frame 4
stop();
Symbol 436 MovieClip Frame 5
stop();
Symbol 436 MovieClip Frame 6
stop();
Symbol 436 MovieClip Frame 7
stop();
Symbol 436 MovieClip Frame 8
stop();
Symbol 436 MovieClip Frame 9
stop();
Symbol 436 MovieClip Frame 10
stop();
Symbol 442 MovieClip Frame 1
if (((((f_type == "Makie (Red)") or (f_type == "Makie (Blue)")) or (f_type == "Makie Sleek (Red)")) or (f_type == "Makie Sleek (Blue)")) or (f_type == "Grey 2k")) {
gotoAndStop (2);
}
if (f_type == "Tooth Metal") {
gotoAndStop (3);
}
if (f_type == "Shura Fist") {
gotoAndStop (4);
}
if (f_type == "Sky Knight") {
gotoAndStop (5);
}
if (f_type == "Shenobi I") {
gotoAndStop (6);
}
stop();
Symbol 442 MovieClip Frame 2
stop();
Symbol 442 MovieClip Frame 3
stop();
Symbol 442 MovieClip Frame 4
stop();
Symbol 442 MovieClip Frame 5
stop();
Symbol 442 MovieClip Frame 6
stop();
Symbol 448 MovieClip Frame 1
gotoAndPlay (46);
Symbol 448 MovieClip Frame 2
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst + _global.pgng;
}
if ((_global.wcrit + (_global.ppam * 2)) >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = ((_global.atkst - _global.pgng) * 2) + _global.pgng;
}
gotoAndPlay (24);
}
}
Symbol 448 MovieClip Frame 23
stop();
Symbol 448 MovieClip Frame 45
stop();
Symbol 448 MovieClip Frame 68
stop();
Symbol 448 MovieClip Frame 91
stop();
Symbol 448 MovieClip Frame 92
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst + _global.pgng;
}
if ((_global.wcrit + (_global.ppam * 2)) >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = ((_global.atkst - _global.pgng) * 2) + _global.pgng;
}
gotoAndPlay (114);
}
}
Symbol 448 MovieClip Frame 113
stop();
Symbol 448 MovieClip Frame 135
stop();
Symbol 448 MovieClip Frame 136
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst + _global.pgng;
}
if ((_global.wcrit + (_global.ppam * 2)) >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = ((_global.atkst - _global.pgng) * 2) + _global.pgng;
}
}
}
Symbol 448 MovieClip Frame 157
stop();
Symbol 448 MovieClip Frame 180
stop();
Symbol 448 MovieClip Frame 181
if (_global.atkst ne "Miss") {
_global.atkst = _global.pgrp + _global.atkst;
}
Symbol 448 MovieClip Frame 203
stop();
Symbol 448 MovieClip Frame 226
stop();
Symbol 448 MovieClip Frame 249
stop();
Symbol 448 MovieClip Frame 250
if (_global.atkst ne "Miss") {
_global.atkst = _global.pgrp + _global.atkst;
}
Symbol 448 MovieClip Frame 272
stop();
Symbol 448 MovieClip Frame 273
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst + _global.pmel;
}
if ((_global.wcrit + (_global.ppam * 2)) >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = ((_global.atkst - _global.pmel) * 2) + _global.mel;
}
gotoAndPlay (319);
}
}
Symbol 448 MovieClip Frame 295
stop();
Symbol 448 MovieClip Frame 296
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst + _global.pmel;
}
if ((_global.wcrit + (_global.ppam * 2)) >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = ((_global.atkst - _global.pmel) * 2) + _global.mel;
}
gotoAndPlay (342);
}
}
Symbol 448 MovieClip Frame 318
stop();
Symbol 448 MovieClip Frame 341
stop();
Symbol 448 MovieClip Frame 364
stop();
Symbol 448 MovieClip Frame 365
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst + _global.pgng;
}
if ((_global.wcrit + (_global.ppam * 2)) >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = ((_global.atkst - _global.pgng) * 2) + _global.pgng;
}
gotoAndPlay (387);
}
}
Symbol 448 MovieClip Frame 386
stop();
Symbol 448 MovieClip Frame 408
stop();
Symbol 448 MovieClip Frame 409
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
if ((_global.fhc + (_global.ppam * 2)) >= (random(99) + 1)) {
_global.atkst = _global.fhd * 2;
} else {
_global.atkst = _global.fhd;
}
if ((_global.rhc + (_global.ppam * 2)) >= (random(99) + 1)) {
_global.atkst = (_global.atkst + (_global.rhd * 2)) + _global.pmel;
} else {
_global.atkst = (_global.atkst + _global.rhd) + _global.pmel;
}
}
}
Symbol 448 MovieClip Frame 430
stop();
Symbol 448 MovieClip Frame 431
if (_global.eatk == false) {
if (_global.atkst ne "Miss") {
_global.atkst = _global.atkst + _global.pmel;
}
if ((_global.wcrit + (_global.ppam * 2)) >= (random(99) + 1)) {
if (_global.atkst ne "Miss") {
_global.atkst = ((_global.atkst - _global.pmel) * 2) + _global.mel;
}
}
}
Symbol 448 MovieClip Frame 453
stop();
Symbol 451 MovieClip Frame 22
gotoAndPlay (1);
Symbol 453 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 1
stop();
Symbol 455 MovieClip Frame 10
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 6
melee = _global.meleew;
range = _global.rangew;
s1 = _global.s1name;
s2 = _global.s2name;
s3 = _global.s3name;
s4 = _global.s4name;
s5 = _global.s5name;
s6 = _global.s6name;
s7 = _global.s7name;
s8 = _global.s8name;
s9 = _global.s9name;
s10 = _global.s10name;
b_s1.onRelease = function () {
if (_global.s1u > 0) {
s_type = _global.s1name;
_global.s1u = _global.s1u - 1;
}
};
b_s2.onRelease = function () {
if (_global.s2u > 0) {
s_type = _global.s2name;
_global.s2u = _global.s2u - 1;
}
};
b_s3.onRelease = function () {
if (_global.s3u > 0) {
s_type = _global.s3name;
_global.s3u = _global.s3u - 1;
}
};
b_s4.onRelease = function () {
if (_global.s4u > 0) {
s_type = _global.s4name;
_global.s4u = _global.s4u - 1;
}
};
b_s5.onRelease = function () {
if (_global.s5u > 0) {
s_type = _global.s5name;
_global.s5u = _global.s5u - 1;
}
};
b_s6.onRelease = function () {
if (_global.s6u > 0) {
s_type = _global.s6name;
_global.s6u = _global.s6u - 1;
}
};
b_s7.onRelease = function () {
if (_global.s7u > 0) {
s_type = _global.s7name;
_global.s7u = _global.s7u - 1;
}
};
b_s8.onRelease = function () {
if (_global.s8u > 0) {
s_type = _global.s8name;
_global.s8u = _global.s8u - 1;
}
};
b_s9.onRelease = function () {
if (_global.s9u > 0) {
s_type = _global.s9name;
_global.s9u = _global.s9u - 1;
}
};
b_s10.onRelease = function () {
if (_global.s10u > 0) {
s_type = _global.s10name;
_global.s10u = _global.s10u - 1;
}
};
if ((s_type == "Extra Ammo") and (_global.camu < _global.amo)) {
_global.camu = _global.amo;
mc_sfx.gotoAndPlay(2);
s_use = "Reload";
gotoAndPlay (8);
}
Symbol 482 MovieClip Frame 7
gotoAndPlay (6);
Symbol 482 MovieClip Frame 20
if (sp == _global.sp) {
_parent.a = 2;
} else {
_parent.a = 1;
}
_parent.gotoAndPlay(9);
Symbol 514 MovieClip Frame 1
gotoAndStop (1);
Symbol 514 MovieClip Frame 6
gotoAndStop (6);
Symbol 522 MovieClip Frame 1
cm = _global.win;
cmt = 0;
trace("Da C Kil Var");
trace(_global.ckils);
trace(_global.kil);
trace(_global.ckils * _global.kil);
ck = _global.ckils * _global.kil;
ckt = 0;
ct = cm + ck;
em = _global.winexp;
emt = 0;
ek = _global.expkil * _global.kil;
ekt = 0;
et = em + ek;
Symbol 522 MovieClip Frame 25
if (cmt == cm) {
trace(cmt);
trace(cm);
gotoAndPlay (26);
} else {
cmt = cmt + 1;
gotoAndPlay (24);
}
Symbol 522 MovieClip Frame 27
if (ckt == ck) {
gotoAndPlay (28);
} else {
ckt = ckt + 1;
gotoAndPlay (26);
}
Symbol 522 MovieClip Frame 31
if (emt == em) {
gotoAndPlay (32);
} else {
emt = emt + 1;
gotoAndPlay (30);
}
Symbol 522 MovieClip Frame 33
if (ekt == ek) {
gotoAndPlay (34);
} else {
ekt = ekt + 1;
gotoAndPlay (32);
}
Symbol 522 MovieClip Frame 35
_global.credits = _global.credits + ct;
_global.exp = _global.exp + et;
Symbol 522 MovieClip Frame 36
cont.onRollOver = function () {
cont.gotoAndPlay(2);
};
cont.onRollOut = function () {
cont.gotoAndPlay(7);
};
cont.onRelease = function () {
_parent.s.stop();
gotoAndPlay (38);
};
Symbol 522 MovieClip Frame 37
gotoAndPlay (36);
Symbol 522 MovieClip Frame 45
_parent.gotoAndPlay(163);
Symbol 555 MovieClip Frame 1
gotoAndStop (1);
Symbol 555 MovieClip Frame 6
gotoAndStop (6);
Symbol 557 MovieClip Frame 1
gotoAndStop (1);
Symbol 557 MovieClip Frame 6
gotoAndStop (6);
Symbol 587 MovieClip Frame 1
if ((_global.time == 1) or (_global.time == 13)) {
gotoAndStop (2);
}
if ((_global.time == 2) or (_global.time == 14)) {
gotoAndStop (3);
}
if ((_global.time == 3) or (_global.time == 15)) {
gotoAndStop (4);
}
if ((_global.time == 4) or (_global.time == 16)) {
gotoAndStop (5);
}
if ((_global.time == 5) or (_global.time == 17)) {
gotoAndStop (6);
}
if ((_global.time == 6) or (_global.time == 18)) {
gotoAndStop (7);
}
if ((_global.time == 7) or (_global.time == 19)) {
gotoAndStop (8);
}
if ((_global.time == 8) or (_global.time == 20)) {
gotoAndStop (9);
}
if ((_global.time == 9) or (_global.time == 21)) {
gotoAndStop (10);
}
if ((_global.time == 10) or (_global.time == 22)) {
gotoAndStop (11);
}
if ((_global.time == 11) or (_global.time == 23)) {
gotoAndStop (12);
}
if ((_global.time == 12) or (_global.time == 24)) {
gotoAndStop (1);
}
Symbol 591 MovieClip Frame 2
gotoAndPlay (1);
Symbol 591 MovieClip Frame 3
if (_global.time <= 12) {
ampm = "AM";
time = _global.time;
} else {
ampm = "PM";
time = _global.time - 12;
}
Symbol 595 MovieClip Frame 1
gotoAndStop (1);
Symbol 595 MovieClip Frame 6
gotoAndStop (6);
Symbol 597 MovieClip Frame 1
gotoAndStop (1);
Symbol 597 MovieClip Frame 6
gotoAndStop (6);
Symbol 599 MovieClip Frame 1
gotoAndStop (1);
Symbol 599 MovieClip Frame 6
gotoAndStop (6);
Symbol 602 MovieClip Frame 3
gotoAndPlay (1);
Symbol 602 MovieClip Frame 6
gotoAndPlay (4);
Symbol 602 MovieClip Frame 9
gotoAndPlay (7);
Symbol 602 MovieClip Frame 12
gotoAndPlay (10);
Symbol 605 MovieClip Frame 3
s = new Sound();
s.attachSound("drums");
s.start();
b_skip.onRelease = function () {
s.stop();
gotoAndPlay (187);
};
Symbol 605 MovieClip Frame 198
s.stop();
Symbol 605 MovieClip Frame 202
s = new Sound();
s.attachSound("drums2");
s.start();
Symbol 605 MovieClip Frame 210
b_play.onRollOver = function () {
b_play.gotoAndPlay(2);
};
b_play.onRollOut = function () {
b_play.gotoAndPlay(7);
};
b_play.onRelease = function () {
gotoAndPlay (213);
};
b_rules.onRollOver = function () {
b_rules.gotoAndPlay(2);
};
b_rules.onRollOut = function () {
b_rules.gotoAndPlay(7);
};
b_rules.onRelease = function () {
gotoAndPlay (226);
};
Symbol 605 MovieClip Frame 212
gotoAndPlay (209);
Symbol 605 MovieClip Frame 213
b_play.onRelease = function () {
};
b_rules.onRelease = function () {
};
Symbol 605 MovieClip Frame 221
s.stop();
Symbol 605 MovieClip Frame 225
_parent.gotoAndPlay(103);
Symbol 605 MovieClip Frame 232
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (234);
};
Symbol 605 MovieClip Frame 233
gotoAndPlay (232);
Symbol 605 MovieClip Frame 234
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 238
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (240);
};
Symbol 605 MovieClip Frame 239
gotoAndPlay (238);
Symbol 605 MovieClip Frame 240
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 244
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (246);
};
Symbol 605 MovieClip Frame 245
gotoAndPlay (244);
Symbol 605 MovieClip Frame 246
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 250
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (252);
};
Symbol 605 MovieClip Frame 251
gotoAndPlay (250);
Symbol 605 MovieClip Frame 252
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 256
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (258);
};
Symbol 605 MovieClip Frame 257
gotoAndPlay (256);
Symbol 605 MovieClip Frame 258
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 262
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (264);
};
Symbol 605 MovieClip Frame 263
gotoAndPlay (262);
Symbol 605 MovieClip Frame 264
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 268
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (270);
};
Symbol 605 MovieClip Frame 269
gotoAndPlay (268);
Symbol 605 MovieClip Frame 270
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 274
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (276);
};
Symbol 605 MovieClip Frame 275
gotoAndPlay (274);
Symbol 605 MovieClip Frame 276
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 280
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (282);
};
Symbol 605 MovieClip Frame 281
gotoAndPlay (280);
Symbol 605 MovieClip Frame 282
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 286
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (288);
};
Symbol 605 MovieClip Frame 287
gotoAndPlay (286);
Symbol 605 MovieClip Frame 288
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 291
_global.ename = "Combat Menu";
Symbol 605 MovieClip Frame 292
cm.gotoAndStop(6);
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (294);
};
Symbol 605 MovieClip Frame 293
gotoAndPlay (292);
Symbol 605 MovieClip Frame 294
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 298
cm.gotoAndStop(6);
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (300);
};
Symbol 605 MovieClip Frame 299
gotoAndPlay (298);
Symbol 605 MovieClip Frame 300
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 304
cm.gotoAndStop(6);
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
gotoAndPlay (306);
};
Symbol 605 MovieClip Frame 305
gotoAndPlay (304);
Symbol 605 MovieClip Frame 306
b_cont.onRelease = function () {
};
Symbol 605 MovieClip Frame 310
cm.gotoAndStop(6);
b_cont.onRollOver = function () {
b_cont.gotoAndPlay(2);
};
b_cont.onRollOut = function () {
b_cont.gotoAndPlay(7);
};
b_cont.onRelease = function () {
s.stop();
gotoAndPlay (187);
};
Symbol 605 MovieClip Frame 311
gotoAndPlay (310);
Symbol 605 MovieClip Frame 312
b_cont.onRelease = function () {
};
Symbol 615 MovieClip Frame 1
_global.msg = 1;
trace("PLOT ###");
trace(_global.plot);
if (_global.plot == 0) {
_parent.gname = "Britni";
gotoAndPlay (2);
} else {
t = random(5);
if (t == 0) {
_parent.gname = "Britni";
gotoAndPlay (2);
} else if (t == 1) {
_parent.gname = "Cereal";
gotoAndPlay (7);
} else if (t == 2) {
_parent.gname = "Jeremiah";
if (_global.jeremiah == 0) {
_global.jeremiah = 1;
_global.talkArray = [3, "Yo, wasup! You must be the newbie. I'm Jeremiah", "You don't look that tough, I bet that new chick, Britni could take you.", "Well, we'll see, catch ya later bro."];
_parent.play();
gotoAndStop (16);
} else {
gotoAndPlay (12);
}
} else if (t == 3) {
_parent.gname = "Skull";
if (_global.skull == 0) {
_global.skull = 1;
_global.talkArray = [3, "Oh great, the cannon fodder has arrived.", "They call me Skull, and as long as you stay out of my way...", "Then I'm sure my headache will go away."];
_parent.play();
gotoAndStop (26);
} else {
gotoAndPlay (22);
}
} else if (t == 4) {
_parent.gname = "Veil";
if (_global.veil == 0) {
_global.veil = 1;
_global.talkArray = [3, "Are you the new pilot?", "Cool, my name's Veil.", "Well, I'm kind of busy right now, so maybe I'll see you around later."];
_parent.play();
gotoAndStop (31);
} else {
gotoAndPlay (27);
}
}
}
Symbol 615 MovieClip Frame 2
if (_global.plot == 0) {
trace("Britni has decsided what to say");
_global.talkArray = [7, "Um, excuse me, but can you tell me where room 201 is...", "Oh! You're new here too? Yeah, today is my first day. I'm sooo excited! Oh my gosh, I'm sorry, my name is Britni", "You two must be the new recruits. Welcome to the MAD Base, My name is Cereal.", "Oh, um, Yes Sir! Umm, I was just looking for the Appartments, Sir!", "Calm down, this isn't the military you know. The Appartments are located that way, past the Hanger.", "Yes Sir! Um, I mean Cereal. Ok, well I'm going to go move into my new room. I'll see you guys around!", "Heh, nice kid, I think she'll be ok. If you need anything, I'll be here in the Headquarters. But you might want to get familiar with your new home, look around a bit."];
_global.ppltalk = [1, "Britni", "Britni", "Cereal", "Britni", "Cereal", "Britni", "Cereal"];
_global.plot = 1;
_parent.play();
gotoAndStop (6);
}
Symbol 615 MovieClip Frame 3
Symbol 615 MovieClip Frame 4
t = random(2);
trace("t britni talk 0 or 1");
trace(t);
if (t == 0) {
_global.talkArray = [1, "Oh Hey! Wow, this guild is huge, they have everything here. I'm going to go look around some more!"];
_parent.play();
gotoAndStop (6);
} else {
_global.talkArray = [1, "Hello! Have you meet everyone here yet? I've almost met everyone. That Skull guy was a reall jerk!"];
_parent.play();
gotoAndStop (6);
}
Symbol 615 MovieClip Frame 5
Symbol 615 MovieClip Frame 6
trace("Frame 6, btritni stoped");
Symbol 615 MovieClip Frame 7
Symbol 615 MovieClip Frame 8
Symbol 615 MovieClip Frame 9
t = 1;
if (t == 1) {
trace("Cereal has decsided what to say");
_global.talkArray = [1, "Hey, you finding everything ok here? If you've got any questions, come see me."];
_parent.play();
gotoAndStop (11);
}
Symbol 615 MovieClip Frame 10
Symbol 615 MovieClip Frame 12
Symbol 615 MovieClip Frame 13
Symbol 615 MovieClip Frame 14
t = random(2);
if (t == 0) {
_global.talkArray = [3, "Man, this sucks. I'm so bored.", "They need to build a skate park here or somthing.", "I've already knocked everone off the Highscore's in 'Super PRS'."];
_parent.play();
gotoAndStop (16);
} else if (t == 1) {
_global.talkArray = [2, "Yo! Have you seen my MA?!", "Man, it is Super Tight!"];
_parent.play();
gotoAndStop (16);
}
Symbol 615 MovieClip Frame 15
Symbol 615 MovieClip Frame 17
Symbol 615 MovieClip Frame 18
Symbol 615 MovieClip Frame 19
Symbol 615 MovieClip Frame 20
Symbol 615 MovieClip Frame 22
Symbol 615 MovieClip Frame 23
Symbol 615 MovieClip Frame 24
t = random(2);
if (t == 0) {
_global.talkArray = [1, "You again? Don't you have anything else better to do besides bother me?"];
_parent.play();
gotoAndStop (26);
} else if (t == 1) {
_global.talkArray = [2, "Perfect, just the noob I needed to see.", "I think your mommy called earlier, she want's you to come home."];
_parent.play();
gotoAndStop (26);
}
Symbol 615 MovieClip Frame 25
Symbol 615 MovieClip Frame 27
Symbol 615 MovieClip Frame 28
Symbol 615 MovieClip Frame 29
t = 0;
if (t == 0) {
_global.talkArray = [3, "Hey, how's it going?", "I've got to check on some new parts over at the Hanger.", "Gotta run, Catch me later."];
_parent.play();
gotoAndStop (31);
}
Symbol 615 MovieClip Frame 30
Symbol 616 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 2
stop();
Symbol 616 MovieClip Frame 3
trace("Frame 3");
m = _global.msg;
if (_global.ppltalk[0] == 1) {
if (_global.ppltalk[m] ne gname) {
trace("Looking for a new picture");
gname = _global.ppltalk[m];
if (gname == "Britni") {
p_mc.gotoAndStop(5);
} else if (gname == "Cereal") {
trace("Cereals pic found");
p_mc.gotoAndStop(11);
} else if (gname == "Jeremiah") {
p_mc.gotoAndStop(16);
} else if (gname == "Knightstrife") {
p_mc.gotoAndStop(21);
} else if (gname == "Skull") {
p_mc.gotoAndStop(26);
} else if (gname == "Veil") {
p_mc.gotoAndStop(31);
}
}
}
if (_global.msg == 1) {
talk = _global.talkArray[1];
} else if (_global.msg == 2) {
talk = _global.talkArray[2];
} else if (_global.msg == 3) {
talk = _global.talkArray[3];
} else if (_global.msg == 4) {
talk = _global.talkArray[4];
} else if (_global.msg == 5) {
talk = _global.talkArray[5];
} else if (_global.msg == 6) {
talk = _global.talkArray[6];
} else if (_global.msg == 7) {
talk = _global.talkArray[7];
} else if (_global.msg == 8) {
talk = _global.talkArray[8];
} else if (_global.msg == 9) {
talk = _global.talkArray[9];
}
trace(talk);
b_next.onRollOver = function () {
b_next.gotoAndPlay(2);
};
b_next.onRollOut = function () {
b_next.gotoAndPlay(7);
};
b_next.onRelease = function () {
gotoAndPlay (5);
};
Symbol 616 MovieClip Frame 4
trace("Frame 4");
stop();
Symbol 616 MovieClip Frame 5
trace("Frame 5");
if (_global.msg == _global.talkArray[0]) {
delete _global.msg;
delete _global.talkArray;
_global.ppltalk = [0];
trace("It's Over!");
_parent.play();
} else {
_global.msg = _global.msg + 1;
gotoAndPlay (3);
}
Symbol 620 MovieClip Frame 1
gotoAndStop (1);
Symbol 620 MovieClip Frame 6
gotoAndStop (6);
Symbol 622 MovieClip Frame 1
gotoAndStop (1);
Symbol 622 MovieClip Frame 6
gotoAndStop (6);
Symbol 624 MovieClip Frame 1
gotoAndStop (1);
Symbol 624 MovieClip Frame 6
gotoAndStop (6);
Symbol 629 MovieClip Frame 1
gotoAndStop (1);
Symbol 629 MovieClip Frame 6
gotoAndStop (6);
Symbol 631 MovieClip Frame 1
gotoAndStop (1);
Symbol 631 MovieClip Frame 6
gotoAndStop (6);
Symbol 645 MovieClip Frame 1
stop();
if (_global.plot > 1) {
hp = _global.hp;
armor = ((((_global.c_hp + _global.bm) + _global.fdb) + _global.rdb) + 5) + _global.pevm;
tohit = ((_global.bm + _global.fab) + _global.rab) + _global.pmrk;
proc = _global.pc;
spd = _global.sp;
}
Symbol 645 MovieClip Frame 2
stop();
Symbol 650 MovieClip Frame 1
gotoAndStop (1);
Symbol 650 MovieClip Frame 6
gotoAndStop (6);
Symbol 660 MovieClip Frame 1
gotoAndStop (1);
Symbol 660 MovieClip Frame 6
gotoAndStop (6);
Symbol 670 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 2
stop();
Symbol 670 MovieClip Frame 3
stop();
Symbol 670 MovieClip Frame 4
stop();