Frame 1
Frame 3
_root.onMouseDown = null;
stopAllSounds();
Frame 254
function removeAllClips() {
fg1.removeMovieClip();
fg2.removeMovieClip();
howtoplay.removeMovieClip();
readyfight.removeMovieClip();
stories.removeMovieClip();
demo.removeMovieClip();
bg.removeMovieClip();
opaque.removeMovieClip();
terrain.removeMovieClip();
sprite0.removeMovieClip();
projectile0.removeMovieClip();
dashbarframe0.removeMovieClip();
hpbar0.removeMovieClip();
hpbarframe0.removeMovieClip();
sprite1.removeMovieClip();
projectile1.removeMovieClip();
dashbarframe1.removeMovieClip();
hpbar1.removeMovieClip();
hpbarframe1.removeMovieClip();
fader.removeMovieClip();
effectHit0._visible = false;
effectHit1._visible = false;
effectHit2._visible = false;
effectHit3._visible = false;
effectHit4._visible = false;
fps.removeMovieClip();
ready.removeMovieClip();
winFlash.removeMovieClip();
combo0.removeMovieClip();
combo1.removeMovieClip();
wins.removeMovieClip();
}
function KeyToString(key) {
if (key == 8) {
return("Backspace");
}
if (key == 20) {
return("Caps Lock");
}
if (key == 17) {
return("Control");
}
if (key == 46) {
return("Delete");
}
if (key == 40) {
return("Down Arrow");
}
if (key == 35) {
return("End");
}
if (key == 13) {
return("Enter");
}
if (key == 27) {
return("Escape");
}
if (key == 36) {
return("Home");
}
if (key == 45) {
return("Insert");
}
if (key == 39) {
return("Right Arrow");
}
if (key == 34) {
return("Page Down");
}
if (key == 33) {
return("Page Up");
}
if (key == 39) {
return("Right Arrow");
}
if (key == 37) {
return("Left Arrow");
}
if (key == 16) {
return("Shift");
}
if (key == 32) {
return("Spacebar");
}
if (key == 9) {
return("Tab");
}
if (key == 38) {
return("Up Arrow");
}
if (key == 18) {
return("Alt");
}
if (key == 106) {
return("Numpad *");
}
if (key == 107) {
return("Numpad +");
}
if (key == 108) {
return("Numpad Enter");
}
if (key == 109) {
return("Numpad -");
}
if (key == 110) {
return("Numpad .");
}
if (key == 111) {
return("Numpad /");
}
if (key == 144) {
return("NumLock");
}
if (key == 186) {
return(": or ;");
}
if (key == 187) {
return("= or +");
}
if (key == 189) {
return("- or _");
}
if (key == 192) {
return("` or ~");
}
if (key == 219) {
return("[ or {");
}
if (key == 220) {
return("\\or |");
}
if (key == 221) {
return("] or }");
}
if (key == 222) {
return("\" or '");
}
if ((key > 95) && (key < 106)) {
return("Numpad " + String(key - 96));
}
if ((key > 111) && (key < 127)) {
return("F" + String(key - 111));
}
return(String.fromCharCode(key));
}
_singlePlayerDualControlsEnabled = true;
removeAllClips();
blackFrame._x = 0;
blackFrame._y = 0;
_quality = "HIGH";
fscommand ("fullscreen", false);
fscommand ("allowscale", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
KEYSPERPLAYER = 6;
KEYINDEX_UP = 0;
KEYINDEX_DOWN = 1;
KEYINDEX_LEFT = 2;
KEYINDEX_RIGHT = 3;
KEYINDEX_B = 4;
KEYINDEX_A = 5;
keyCode = new Array(2);
keyCode[0] = new Array(KEYSPERPLAYER);
keyCode[0][KEYINDEX_UP] = 87;
keyCode[0][KEYINDEX_DOWN] = 83;
keyCode[0][KEYINDEX_LEFT] = 65;
keyCode[0][KEYINDEX_RIGHT] = 68;
keyCode[0][KEYINDEX_B] = 70;
keyCode[0][KEYINDEX_A] = 71;
keyCode[1] = new Array(KEYSPERPLAYER);
keyCode[1][KEYINDEX_UP] = 38;
keyCode[1][KEYINDEX_DOWN] = 40;
keyCode[1][KEYINDEX_LEFT] = 37;
keyCode[1][KEYINDEX_RIGHT] = 39;
keyCode[1][KEYINDEX_B] = 97;
keyCode[1][KEYINDEX_A] = 98;
myLocal_so = sharedobject.getLocal("ppgdbim");
if (myLocal_so.data.keyCode) {
_root.keyCode = myLocal_so.data.keyCode;
}
if (myLocal_so.data._menudifficulty) {
_root._menudifficulty = myLocal_so.data._menudifficulty;
}
if (!_menudifficulty) {
_menudifficulty = 3;
}
if (myLocal_so.data._gamequality) {
_root._gamequality = myLocal_so.data._gamequality;
}
if (!_gamequality) {
_gamequality = "LOW";
}
if (myLocal_so.data._background) {
_root._background = myLocal_so.data._background;
}
if (!_background) {
_background = "ON";
}
if (myLocal_so.data._effects) {
_root._effects = myLocal_so.data._effects;
}
if (!_effects) {
_effects = "ON";
}
if (myLocal_so.data._fps) {
_root._fps = myLocal_so.data._fps;
}
if (!_fps) {
_fps = "OFF";
}
if (myLocal_so.data._shiraunlock) {
_root._shiraunlock = myLocal_so.data._shiraunlock;
}
if (!_shiraunlock) {
_shiraunlock = false;
}
if (myLocal_so.data._zimunlock) {
_root._zimunlock = myLocal_so.data._zimunlock;
}
if (!_zimunlock) {
_zimunlock = false;
}
if (myLocal_so.data._zimsurvivalunlock) {
_root._zimsurvivalunlock = myLocal_so.data._zimsurvivalunlock;
}
if (!_zimsurvivalunlock) {
_zimsurvivalunlock = false;
}
if (myLocal_so.data._shirasurvivalunlock) {
_root._shirasurvivalunlock = myLocal_so.data._shirasurvivalunlock;
}
if (!_extraoptionsunlock) {
_extraoptionsunlock = false;
}
if (myLocal_so.data._extraoptionsunlock) {
_root._extraoptionsunlock = myLocal_so.data._extraoptionsunlock;
}
if (!_extraoptionsunlock) {
_extraoptionsunlock = false;
}
_autodeflect = false;
_infjuggle = false;
_infdash = false;
DEFAULT_BASE_DAMAGE = 15;
BASE_DAMAGE = DEFAULT_BASE_DAMAGE;
_damagemult = 1;
Frame 256
pc = Math.round((100 * getBytesLoaded()) / getBytesTotal()) + "%";
butctrls._visible = _framesloaded >= 80;
butmini._visible = _framesloaded >= 65;
_gettingNewKey = true;
pc = Math.round((100 * getBytesLoaded()) / getBytesTotal()) + "%";
if (_framesloaded == _totalframes) {
pc = "";
}
Instance of Symbol 136 MovieClip in Frame 256
onClipEvent (load) {
if (myLocal_so.data.keyCode) {
this._visible = false;
}
}
Frame 257
gotoAndPlay (256);
Frame 258
if (!girx) {
girx = gir._x;
}
deflect = -7;
chance = 0.99;
maxchance = chance;
minchance = chance - 0.05;
absmin = 0.7;
slowchance = 0.97;
pts = 0;
girhit = false;
Instance of Symbol 171 MovieClip in Frame 258
onClipEvent (load) {
pipe = _root.pipe2;
}
Instance of Symbol 171 MovieClip in Frame 258
onClipEvent (load) {
pipe = _root.pipe1;
}
Instance of Symbol 171 MovieClip in Frame 258
onClipEvent (load) {
pipe = _root.pipe3;
}
Instance of Symbol 171 MovieClip in Frame 258
onClipEvent (load) {
pipe = _root.pipe2;
}
Instance of Symbol 171 MovieClip in Frame 258
onClipEvent (load) {
pipe = _root.pipe1;
}
Instance of Symbol 171 MovieClip in Frame 258
onClipEvent (load) {
pipe = _root.pipe3;
}
Frame 259
if ((Key.isDown(38) && (!onUp)) && (deflect == -7)) {
gir.gotoAndPlay("deflect");
deflect = 2;
}
if (((gir._x > (girx - 40)) && (Key.isDown(37))) && (!onLeft)) {
gir._x = gir._x - 40;
}
if (((gir._x < (girx + 40)) && (Key.isDown(39))) && (!onRight)) {
gir._x = gir._x + 40;
}
onLeft = Key.isDown(37);
onRight = Key.isDown(39);
onUp = Key.isDown(38);
if (deflect > -7) {
deflect--;
}
if (pts > hi) {
hi = pts;
}
pc = Math.round((100 * getBytesLoaded()) / getBytesTotal()) + "%";
if (_framesloaded == _totalframes) {
pc = "COMPLETE";
}
Frame 260
if (!girhit) {
gotoAndPlay (259);
} else {
girx2 = gir._x;
}
Frame 261
chance = 100;
pts = ptsbk;
if (pts > hi) {
hi = pts;
}
Frame 262
gir._x = girx2;
Frame 265
gir._x = girx2;
Frame 268
gir._x = girx2;
Frame 271
gir._x = girx2;
pc = Math.round((100 * getBytesLoaded()) / getBytesTotal()) + "%";
if (_framesloaded == _totalframes) {
pc = "COMPLETE";
}
Frame 293
pc = Math.round((100 * getBytesLoaded()) / getBytesTotal()) + "%";
if (_framesloaded == _totalframes) {
pc = "COMPLETE";
}
Frame 311
if ((((_framesloaded == _totalframes) && (pts >= 100)) && (_zimsurvivalunlock)) && (!_extraoptionsunlock)) {
gotoAndPlay (4650);
}
Frame 312
onUp = Key.isDown(38);
Frame 313
if (Key.isDown(38) && (!onUp)) {
onUp = true;
gotoAndPlay (258);
} else {
pc = Math.round((100 * getBytesLoaded()) / getBytesTotal()) + "%";
if (_framesloaded == _totalframes) {
pc = "COMPLETE";
}
gotoAndPlay (312);
}
Frame 323
butback.num = 8;
_gettingNewKey = false;
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_LEFT;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_RIGHT;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_LEFT;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_RIGHT;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_UP;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_UP;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_DOWN;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_DOWN;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_B;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_B;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_A;
}
Instance of Symbol 242 MovieClip in Frame 323
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_A;
}
Frame 325
gotoAndPlay (324);
Frame 326
butback.num = 8;
butctrl.num = 11;
Frame 328
gotoAndPlay (327);
Frame 353
_root.attachMovie("BlackFrame", "blackFrame", 2000);
gotoAndPlay (355);
Frame 355
function __com_mochibot__(swfid, mc, lv) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stopAllSounds();
_root.onMouseDown = function () {
gotoAndPlay (1022);
};
__com_mochibot__("8df8fb40", this, 10301);
Frame 1022
Z_FADER = 1000;
_root.attachMovie("fader", "fader", Z_FADER);
_root.onMouseDown = function () {
gotoAndPlay (1433);
};
Frame 1433
_root.onMouseDown = null;
stopAllSounds();
Frame 1479
function collision(sprite) {
sprite._hitWall = false;
lazyStop = true;
if (sprite._yspd > 0) {
ychg = 1;
if (_root.opaque.hitTest(sprite._x, sprite._y + 1, true)) {
sprite._yspd = 0;
sprite._airborne = false;
} else {
sprite._airborne = true;
lazyStop = false;
}
} else {
sprite._airborne = true;
ychg = -1;
lazyStop = false;
}
if (sprite._xspd > 0) {
xchg = 1;
if (_root.opaque.hitTest(sprite._x + 1, sprite._y, true)) {
sprite._xspd = 0;
sprite._hitWall = sprite._xscale < 0;
sprite._hitWall = sprite._hitWall | (sprite._state == STATE_DAMAGE);
} else {
lazyStop = false;
}
} else if (sprite._xspd < 0) {
xchg = -1;
if (_root.opaque.hitTest(sprite._x - 1, sprite._y, true)) {
sprite._xspd = 0;
sprite._hitWall = sprite._xscale > 0;
sprite._hitWall = sprite._hitWall | (sprite._state == STATE_DAMAGE);
} else {
lazyStop = false;
}
}
if (!_root.opaque.hitTest(sprite._x + sprite._xspd, sprite._y + sprite._yspd, true)) {
return(undefined);
}
if (lazyStop) {
return(undefined);
}
if (_root.opaque.hitTest(sprite._x + sprite._xspd, sprite._y, true)) {
sprite._xspd = sprite._xspd - (xchg * 2);
sprite._hitWall = (sprite._xscale * xchg) < 0;
sprite._hitWall = sprite._hitWall | (sprite._state == STATE_DAMAGE);
while (_root.opaque.hitTest(sprite._x + sprite._xspd, sprite._y, true)) {
sprite._xspd = sprite._xspd - (xchg * 2);
}
if (!_root.opaque.hitTest((sprite._x + sprite._xspd) + xchg, sprite._y, true)) {
sprite._xspd = sprite._xspd + xchg;
}
}
if (_root.opaque.hitTest(sprite._x + sprite._xspd, sprite._y + sprite._yspd, true)) {
sprite._yspd = sprite._yspd - (ychg * 2);
if (ychg > 0) {
sprite._airborne = false;
}
while (_root.opaque.hitTest(sprite._x + sprite._xspd, sprite._y + sprite._yspd, true)) {
sprite._yspd = sprite._yspd - (ychg * 2);
}
if (!_root.opaque.hitTest(sprite._x + sprite._xspd, (sprite._y + sprite._yspd) + ychg, true)) {
sprite._yspd = sprite._yspd + ychg;
}
} else {
sprite._airborne = true;
}
}
function updateKeyCombo(player, newKeyCode) {
if ((newKeyCode == null) && (_root.idleTime[player] < _root.MAX_IDLETIME)) {
_root.idleTime[player]++;
} else {
_root.keyCombo[player] = _root.keyComboNew[player];
_root.keyComboNew[player] = newKeyCode;
_root.idleTime[player] = 0;
}
}
function clearKeyCombo(player) {
_root.keyCombo[player] = null;
_root.keyComboNew[player] = null;
}
function android() {
sprite1.colour = new Color(sprite1);
projectile1.colour = new Color(projectile1);
sprite1.colour.setTransform(twinClrTrans);
projectile1.colour.setTransform(twinClrTrans);
sprite1._android = true;
}
function prob(chance) {
return((Math.random() * 100) < chance);
}
function aiRun() {
if ((((((otherai && (otherName != NAME_ZIM)) && (otherSprite._personality == AI_AGGRESSIVE)) && ((Math.abs(otherSprite._x - thisSprite._x) < 60) || (thisSprite._state == STATE_DOWNATK))) && ((((((thisSprite._state == STATE_COMBO1) || (thisSprite._state == STATE_COMBO2)) || (thisSprite._state == STATE_DOWNATK)) || (((thisName == NAME_DEXTER) || (thisName == NAME_BUBBLES)) && (thisSprite._state == STATE_COMBO2B))) || (((thisName == NAME_DEXTER) || (thisName == NAME_BUBBLES)) && (thisSprite._state == STATE_COMBO3B))) || ((((thisName == NAME_BLOSSOM) || (thisName == NAME_BUTTERCUP)) || (thisName == NAME_BELL)) && (thisSprite._state == STATE_RANGED)))) && (!otherSprite._airborne)) && ((otherSprite._state == STATE_IDLE) || (otherSprite._state == STATE_RUN))) {
otherSprite._deflect = prob(((_difficulty / MAX_DIFFICULTY) * 100) - 80);
} else if (otherai) {
otherSprite._deflect = false;
}
if (thisName == NAME_ZIM) {
otherSprite._juggles = 0;
}
if ((ai && (!_gameover)) && (thisName == NAME_ZIM)) {
thisSprite.projectile._damage = 32;
if ((otherSprite._state == STATE_IDLE) || (otherSprite._state == STATE_RUN)) {
sprite[0].combo.num = 0;
sprite[1].combo.num = 0;
}
onLeft = false;
onRight = false;
onUp = false;
onDown = false;
onA = false;
onB = false;
newLeft = false;
newRight = false;
newUp = false;
newDown = false;
newA = false;
newB = false;
keyCombo[spriteIndex] = null;
if (thisSprite._armour <= 0) {
thisSprite._armour = MAX_ARMOUR;
thisSprite.gotoAndPlay("vulnerable");
thisSprite._state = STATE_RANGED;
thisSprite._stateDone = false;
} else if (thisSprite._state == STATE_RUN) {
onLeft = faceLeft;
onRight = !faceLeft;
if ((faceLeft && (thisSprite._x <= 50)) || ((!faceLeft) && (thisSprite._x >= 350))) {
thisSprite._state = STATE_IDLE;
thisSprite.gotoAndPlay("idle");
thisSprite._xscale = thisSprite._xscale * -1;
onLeft = false;
onRight = false;
}
} else if (zimstart > 0) {
zimstart--;
} else if ((thisSprite._state == STATE_IDLE) && (prob((10 * _difficulty) / MAX_DIFFICULTY))) {
thisSprite._stateDone = false;
damageDone[spriteIndex][otherIndex] = false;
thisSprite._state = STATE_RANGED;
if (prob(14)) {
thisSprite._state = STATE_RUN;
thisSprite.gotoAndPlay("forward");
onLeft = faceLeft;
onRight = !faceLeft;
} else if (prob(17)) {
thisSprite.gotoAndPlay("ranged");
thisSprite._atkdirX = ATKDIR_LEFT;
thisSprite._atkdirY = ATKDIR_DOWN;
thisSprite._damage = 4;
} else if (prob(20)) {
thisSprite.gotoAndPlay("upper");
thisSprite._atkdirX = ATKDIR_NONELEFT;
thisSprite._atkdirY = ATKDIR_BOUNCE;
thisSprite._damage = 6;
} else if (prob(25)) {
thisSprite.gotoAndPlay("airranged");
thisSprite._atkdirX = ATKDIR_LEFT;
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 8;
} else if (prob(25)) {
thisSprite.gotoAndPlay("combo1");
thisSprite._atkdirX = ATKDIR_NONELEFT;
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 32;
} else if (prob(42)) {
thisSprite.gotoAndPlay("combo2");
thisSprite._atkdirX = ATKDIR_NONELEFT;
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 32;
} else {
thisSprite.gotoAndPlay("combo3");
thisSprite._atkdirX = ATKDIR_NONELEFT;
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 32;
}
if (!faceLeft) {
if (thisSprite._atkdirX == ATKDIR_NONELEFT) {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
if (thisSprite._atkdirX == ATKDIR_LEFT) {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
}
}
} else if (ai && (!_gameover)) {
_dexter = false;
_shira = false;
_tempdiffculty = 0;
if (_difficulty > MAX_DIFFICULTY) {
_tempdiffculty = _difficulty;
_difficulty = MAX_DIFFICULTY;
}
if (thisName == NAME_SHIRABELL) {
_shira = true;
thisName = NAME_BELL;
}
if (thisName == NAME_DEXTER) {
_dexter = true;
thisName = NAME_BLOSSOM;
}
onLeft = false;
onRight = false;
if (thisSprite._personality != AI_RANGED) {
onUp = thisSprite._airborne;
}
onDown = false;
onA = false;
onB = false;
newLeft = false;
newRight = false;
newUp = false;
newDown = false;
newA = false;
newB = false;
keyCombo[spriteIndex] = null;
if (thisSprite._ai_aerial > 100) {
thisSprite._ai_aerial = 100;
}
if (thisSprite._ai_aerial > 0) {
thisSprite._ai_aerial--;
}
if (otherSprite._airborne) {
thisSprite._ai_aerial = thisSprite._ai_aerial + 2;
}
if (thisSprite._ai_flank > 120) {
thisSprite._ai_flank = 120;
}
if (thisSprite._ai_flank > 0) {
thisSprite._ai_flank--;
}
if (thisSprite._rangedRating > 0) {
thisSprite._rangedRating = 0;
}
if (thisSprite._aggressiveRating > 0) {
thisSprite._aggressiveRating = 0;
}
if ((thisSprite._rangedRating < 0) && (thisSprite._aggressiveRating < 0)) {
if (thisSprite._aggressiveRating > thisSprite._rangedRating) {
thisSprite._rangedRating = thisSprite._rangedRating + (-thisSprite._aggressiveRating);
thisSprite._aggressiveRating = 0;
} else {
thisSprite._aggressiveRating = thisSprite._aggressiveRating + (-thisSprite._rangedRating);
thisSprite._rangedRating = 0;
}
}
if (((thisSprite._state == STATE_FROZEN) || (thisSprite._state == STATE_DAMAGE)) || (otherSprite._state == STATE_DAMAGE)) {
} else if (thisSprite._deflected || (thisSprite._deflect)) {
thisSprite._personality = AI_AGGRESSIVE;
} else if (((prob(3 - ((2.5 * _difficulty) / MAX_DIFFICULTY)) && (otherSprite._state != STATE_FROZEN)) && (otherSprite._state != STATE_DAMAGE)) && (((((thisSprite._state == STATE_IDLE) || (thisSprite._state == STATE_RUN)) || (thisSprite._state == STATE_FALLEN)) || (thisSprite._state == STATE_SHIELD)) || (thisSprite._state == STATE_SHIELDDAMAGE))) {
thisSprite._personality = AI_DEFENSIVE;
thisSprite._beenHit = false;
} else if ((((((thisSprite._personality == AI_DEFENSIVE) && (prob(4))) || (otherSprite._state == STATE_FROZEN)) || (otherSprite._personality == AI_DEFENSIVE)) || (((thisSprite._personality == AI_RANGED) && (thisSprite._rangedRating >= 0)) && (prob(2)))) || ((thisSprite._personality == AI_RANGED) && (thisSprite._rangedRating < -200))) {
thisSprite._personality = AI_AGGRESSIVE;
} else if ((((thisSprite._personality == AI_DEFENSIVE) && (prob(2))) || (((thisSprite._personality == AI_AGGRESSIVE) && (thisSprite._aggressiveRating >= 0)) && (prob(1)))) || ((thisSprite._personality == AI_AGGRESSIVE) && (thisSprite._aggressiveRating < -200))) {
thisSprite._personality = AI_RANGED;
}
if (thisSprite._personality == AI_DEFENSIVE) {
if ((((thisSprite._state == STATE_SHIELDDAMAGE) && (!otherSprite.projectile._hitDone)) && (otherSprite.projectile._visible)) && (((otherSprite.projectile._x > thisSprite._x) && (faceLeft)) || ((otherSprite.projectile._x < thisSprite._x) && (!faceLeft)))) {
if (thisSprite._x < 200) {
keyCombo[spriteIndex] = KEYINDEX_RIGHT;
newRight = true;
} else {
keyCombo[spriteIndex] = KEYINDEX_LEFT;
newLeft = true;
}
}
if ((thisSprite._state == STATE_SHIELDDAMAGE) || (thisSprite._state == STATE_DAMAGE)) {
thisSprite._beenHit = true;
}
if (thisSprite._beenHit) {
onDown = true;
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98))) {
} else if (((otherSprite._x > thisSprite._x) && (faceLeft)) || ((otherSprite._x < thisSprite._x) && (!faceLeft))) {
onRight = faceLeft;
onLeft = !faceLeft;
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.3) - ((_difficulty * AI_BASE_ERROR) * 0.3))) {
thisSprite._beenHit = false;
}
}
} else if (thisSprite._personality == AI_RANGED) {
thisSprite._aggressiveRating = thisSprite._aggressiveRating + 2;
onUp = false;
if (thisSprite._airborne) {
} else if ((otherSprite._x == thisSprite._x) && (prob(_difficulty * AI_BASE_ERROR))) {
if (faceLeft) {
onRight = true;
} else {
onLeft = true;
}
} else if (otherSprite._x < thisSprite._x) {
if (thisName != NAME_BUTTERCUP) {
if (((thisName == NAME_BELL) && (Math.abs(otherSprite._x - thisSprite._x) < 360)) || ((Math.abs(otherSprite._x - thisSprite._x) < 280) && ((thisSprite._x < 380) || prob(2)))) {
onRight = true;
} else if ((Math.abs(otherSprite._x - thisSprite._x) > 290) && (thisName != NAME_BELL)) {
onLeft = true;
}
} else {
onRight = true;
if ((Math.abs(otherSprite._x - thisSprite._x) > 220) || (thisSprite._x > 380)) {
onRight = false;
if (Math.abs(otherSprite._x - thisSprite._x) > 240) {
onLeft = true;
}
}
}
if (prob((AI_BASE_ERROR * MAX_DIFFICULTY) - (_difficulty * AI_BASE_ERROR))) {
} else if (((Math.abs(otherSprite._x - thisSprite._x) < 100) && prob(10)) || ((thisSprite._state == STATE_SHIELDDAMAGE) && prob(7))) {
keyCombo[spriteIndex] = KEYINDEX_LEFT;
newLeft = true;
onRight = false;
}
} else {
if (thisName != NAME_BUTTERCUP) {
if ((((thisName == NAME_BELL) && (Math.abs(otherSprite._x - thisSprite._x) < 360)) || (Math.abs(otherSprite._x - thisSprite._x) < 280)) && ((thisSprite._x > 20) || prob(2))) {
onLeft = true;
} else if ((Math.abs(otherSprite._x - thisSprite._x) > 290) && (thisName != NAME_BELL)) {
onRight = true;
}
} else {
onLeft = true;
if ((Math.abs(otherSprite._x - thisSprite._x) > 220) || (thisSprite._x < 20)) {
onLeft = false;
if (Math.abs(otherSprite._x - thisSprite._x) > 240) {
onRight = true;
}
}
}
if (prob((AI_BASE_ERROR * MAX_DIFFICULTY) - (_difficulty * AI_BASE_ERROR))) {
} else if (((Math.abs(otherSprite._x - thisSprite._x) < 100) && prob(10)) || ((thisSprite._state == STATE_SHIELDDAMAGE) && prob(7))) {
keyCombo[spriteIndex] = KEYINDEX_LEFT;
newLeft = true;
}
}
if (((keyCombo[spriteIndex] == KEYINDEX_LEFT) && (thisSprite._x < 150)) && (otherSprite._x < 200)) {
newLeft = false;
keyCombo[spriteIndex] = KEYINDEX_RIGHT;
newRight = true;
}
if ((((thisSprite._state == STATE_SHIELDDAMAGE) && (!otherSprite.projectile._hitDone)) && (otherSprite.projectile._visible)) && (((otherSprite.projectile._x > thisSprite._x) && (faceLeft)) || ((otherSprite.projectile._x < thisSprite._x) && (!faceLeft)))) {
if (thisSprite._x < 200) {
keyCombo[spriteIndex] = KEYINDEX_RIGHT;
newRight = true;
} else {
keyCombo[spriteIndex] = KEYINDEX_LEFT;
newLeft = true;
}
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98))) {
} else if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98))) {
} else if ((prob(10) && (otherSprite._state != STATE_FROZEN)) && (Math.abs(thisSprite._x - otherSprite._x) > 70)) {
onA = true;
newA = true;
if (((otherSprite._x > thisSprite._x) && (faceLeft)) || ((otherSprite._x < thisSprite._x) && (!faceLeft))) {
onRight = faceLeft;
onLeft = !faceLeft;
}
if (prob(50)) {
onLeft = false;
onRight = false;
}
if ((((((thisName == NAME_BLOSSOM) || ((thisName == NAME_BUBBLES) && prob(50))) || ((thisName == NAME_BUBBLES) && thisSprite.projectile._visible)) || (thisName == NAME_BUTTERCUP)) || ((thisName == NAME_BELL) && prob(4))) && (Math.abs(otherSprite._x - thisSprite._x) > 150)) {
onA = false;
newA = false;
onUp = true;
newUp = true;
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.4) - ((_difficulty * AI_BASE_ERROR) * 0.4))) {
} else if (((otherSprite._x > thisSprite._x) && faceLeft) || ((otherSprite._x < thisSprite._x) && (!faceLeft))) {
onRight = faceLeft;
onLeft = !faceLeft;
}
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98))) {
} else if (thisSprite._airborne) {
onA = false;
newA = false;
onB = true;
newB = true;
if (((otherSprite._x > thisSprite._x) && (faceLeft)) || ((otherSprite._x < thisSprite._x) && (!faceLeft))) {
onRight = faceLeft;
onLeft = !faceLeft;
}
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98))) {
} else if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.5) - ((_difficulty * AI_BASE_ERROR) * 0.5))) {
} else if ((((((otherName == NAME_BUBBLES) && (otherSprite._airborne)) && (otherSprite.projectile._hitDone)) && (otherSprite._state != STATE_DAMAGE)) || (((((otherName == NAME_BUBBLES) && (!otherSprite.projectile._hitDone)) && (!otherSprite.projectile._visible)) && (Math.abs(thisSprite._x - otherSprite.projectile._x) < 250)) && (((thisSprite._x < otherSprite.projectile._x) && (otherSprite.projectile._xscale > 0)) || ((thisSprite._x > otherSprite.projectile._x) && (otherSprite.projectile._xscale < 0))))) || (((otherName != NAME_BUBBLES) && (otherSprite._airborne)) && (otherSprite._state != STATE_DAMAGE))) {
onA = false;
newA = false;
} else if (otherSprite._danger) {
onA = false;
newA = false;
} else if (prob(160 - (Math.abs(thisSprite._hp - MIN_HP) / 10))) {
if (((otherSprite._xscale > 0) && (thisSprite._x <= otherSprite._x)) || ((otherSprite._xscale < 0) && (thisSprite._x >= otherSprite._x))) {
if ((((((((otherSprite._state != STATE_IDLE) && (otherSprite._state != STATE_RUN)) && (otherSprite._state != STATE_FROZEN)) && (otherSprite._state != STATE_SHIELD)) && (otherSprite._state != STATE_SHIELDDAMAGE)) && (otherSprite._state != STATE_DAMAGE)) && (otherSprite._state != STATE_FALLEN)) && (otherSprite._state != STATE_RECOVER)) {
onA = false;
newA = false;
}
}
}
if (thisSprite._state == STATE_DASH) {
onB = false;
}
} else if (thisSprite._personality == AI_AGGRESSIVE) {
thisSprite._rangeRating = thisSprite._rangeRating + 1;
bufferedCombo2[spriteIndex] = KEYINDEX_A;
if (prob(70)) {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
}
bufferedCombo3[spriteIndex] = KEYINDEX_A;
if (prob(50)) {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
if (prob((AI_BASE_ERROR * MAX_DIFFICULTY) - (_difficulty * AI_BASE_ERROR))) {
} else if ((otherSprite._airborne && (_difficulty != MAX_DIFFICULTY)) && (prob(thisSprite._ai_aerial))) {
if ((((thisName == NAME_BELL) && (Math.abs(thisSprite._x - otherSprite._x) < 50)) || (((thisName == NAME_BLOSSOM) || (thisName == NAME_BUBBLES)) && (((faceLeft && (otherSprite._x < (thisSprite._x - 30))) && (otherSprite._x > (thisSprite._x - 60))) || (((!faceLeft) && (otherSprite._x > thisSprite._x)) && (otherSprite._x < (thisSprite._x + 20)))))) || ((thisName == NAME_BUTTERCUP) && (((faceLeft && (otherSprite._x < thisSprite._x)) && (otherSprite._x > (thisSprite._x - 20))) || (((!faceLeft) && (otherSprite._x > thisSprite._x)) && (otherSprite._x < (thisSprite._x + 20)))))) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
bufferedCombo3[spriteIndex] = KEYINDEX_A;
onB = true;
newB = true;
}
} else if (_dexter) {
if ((otherSprite._juggles < 1) && prob(60)) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
bufferedCombo3[spriteIndex] = KEYINDEX_B;
if (prob(28) && (Math.abs(thisSprite._x - otherSprite._x) < 50)) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
}
}
} else if (thisName == NAME_BLOSSOM) {
if ((otherSprite._juggles < 1) && prob(40)) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
bufferedCombo3[spriteIndex] = KEYINDEX_B;
if (prob(25)) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
}
}
} else if (thisName == NAME_BUBBLES) {
if ((otherSprite._juggles < 1) && prob(66)) {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
bufferedCombo3[spriteIndex] = KEYINDEX_B;
if (prob(15)) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
}
}
} else if (thisName == NAME_BUTTERCUP) {
if ((otherSprite._juggles < 1) && prob(35)) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
bufferedCombo3[spriteIndex] = KEYINDEX_B;
if (prob(70)) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
}
if ((otherSprite._juggles < 1) && prob(70)) {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
}
} else if (thisName == NAME_BELL) {
if ((otherSprite._juggles < 1) && prob(55)) {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
bufferedCombo3[spriteIndex] = KEYINDEX_B;
if (prob(50) && (otherSprite._juggles > 0)) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
}
}
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) / 2) - ((_difficulty * AI_BASE_ERROR) / 2))) {
bufferedCombo2[spriteIndex] = null;
} else if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) / 2) - ((_difficulty * AI_BASE_ERROR) / 2))) {
bufferedCombo3[spriteIndex] = null;
} else if (otherSprite._state != STATE_DAMAGE) {
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) / 2) - ((_difficulty * AI_BASE_ERROR) / 2))) {
} else {
if (((bufferedCombo2[spriteIndex] == KEYINDEX_A) || (otherSprite._state != STATE_SHIELDDAMAGE)) || ((otherSprite._state == STATE_SHIELDDAMAGE) && prob(60))) {
bufferedCombo2[spriteIndex] = null;
}
bufferedCombo3[spriteIndex] = null;
}
}
if ((Math.abs(otherSprite._x - thisSprite._x) < 50) && (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98)))) {
if (thisSprite._deflect) {
} else if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.1) - ((_difficulty * AI_BASE_ERROR) * 0.1)) && (prob(30))) {
onUp = true;
if (!thisSprite._airborne) {
newUp = true;
}
}
} else if ((((((((otherSprite._state == STATE_DAMAGE) && (otherSprite._juggles >= MAX_COMBO)) || (otherSprite._state == STATE_FALLEN)) || (otherSprite._state == STATE_RECOVER)) || (otherSprite._y < 120)) && (Math.abs(otherSprite._x - thisSprite._x) < 10)) && (prob(97))) || ((((otherSprite._y < 160) && (otherSprite._state != STATE_DAMAGE)) && (Math.abs(otherSprite._x - thisSprite._x) < 70)) || ((((thisName == NAME_BUBBLES) && (otherSprite._y < 160)) && (otherSprite._state != STATE_DAMAGE)) && (Math.abs(otherSprite._x - thisSprite._x) < 120)))) {
} else if (((otherSprite._x == thisSprite._x) && (thisSprite._ai_flank > 0)) && (prob(_difficulty * AI_BASE_ERROR))) {
if (faceLeft) {
onRight = true;
} else {
onLeft = true;
}
thisSprite._ai_flank = 0;
} else if (otherSprite._x < thisSprite._x) {
onLeft = true;
if (prob((AI_BASE_ERROR * MAX_DIFFICULTY) - (_difficulty * AI_BASE_ERROR))) {
} else if (thisSprite._airborne && (otherSprite._state == STATE_DAMAGE)) {
} else if (thisSprite._deflect) {
} else if (((Math.abs(otherSprite._x - thisSprite._x) > 150) && prob(25)) || ((thisSprite._state == STATE_SHIELDDAMAGE) && prob(5))) {
keyCombo[spriteIndex] = KEYINDEX_LEFT;
newLeft = true;
}
if (((thisSprite._ai_flank <= 2) && (Math.abs(thisSprite._x - otherSprite._x) < 15)) && (otherSprite._state != STATE_SHIELDDAMAGE)) {
onLeft = false;
} else if (!faceLeft) {
thisSprite._ai_flank = 0;
}
} else {
onRight = true;
if (prob((AI_BASE_ERROR * MAX_DIFFICULTY) - (_difficulty * AI_BASE_ERROR))) {
} else if (thisSprite._airborne && (otherSprite._state == STATE_DAMAGE)) {
} else if (thisSprite._deflect) {
} else if (((Math.abs(otherSprite._x - thisSprite._x) > 150) && prob(25)) || ((thisSprite._state == STATE_SHIELDDAMAGE) && prob(5))) {
keyCombo[spriteIndex] = KEYINDEX_RIGHT;
newRight = true;
}
if (((thisSprite._ai_flank <= 2) && (Math.abs(thisSprite._x - otherSprite._x) < 15)) && (otherSprite._state != STATE_SHIELDDAMAGE)) {
onRight = false;
} else if (faceLeft) {
thisSprite._ai_flank = 0;
}
}
if (thisSprite._deflect) {
} else if ((((thisSprite._state == STATE_SHIELDDAMAGE) && (!otherSprite.projectile._hitDone)) && (otherSprite.projectile._visible)) && (((otherSprite.projectile._x > thisSprite._x) && (faceLeft)) || ((otherSprite.projectile._x < thisSprite._x) && (!faceLeft)))) {
if (thisSprite._x < 200) {
keyCombo[spriteIndex] = KEYINDEX_RIGHT;
newRight = true;
} else {
keyCombo[spriteIndex] = KEYINDEX_LEFT;
newLeft = true;
}
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98)) || (_shira && (prob(4)))) {
} else if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.2) - ((_difficulty * AI_BASE_ERROR) * 0.2)) || (_shira && (prob(4)))) {
if (prob(50)) {
onB = true;
newB = true;
} else {
onA = true;
newA = true;
}
} else if ((((((((otherSprite._state == STATE_FALLEN) || (otherSprite._state == STATE_RECOVER)) || ((otherSprite._y < 120) && ((!_shira) || thisSprite._airborne))) || (otherSprite._state == STATE_COMBO1)) || (otherSprite._state == STATE_COMBO2)) || (otherSprite._juggles >= MAX_COMBO)) || (((((otherName == NAME_BUBBLES) && otherSprite._airborne) && otherSprite.projectile._hitDone) && (otherSprite._state != STATE_DAMAGE)) && (otherSprite._state != STATE_DOWNATK))) || ((((otherName != NAME_BUBBLES) && otherSprite._airborne) && (otherSprite._state != STATE_DAMAGE)) && (otherSprite._state != STATE_DOWNATK))) {
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98))) {
} else if (((((thisName == NAME_ROWDY) && thisSprite._airborne) && otherSprite._airborne) && (otherSprite._state == STATE_DAMAGE)) && (otherSprite._juggles < MAX_COMBO)) {
onB = false;
newB = false;
onA = true;
newA = true;
}
if ((((prob(10) && thisSprite._airborne) && ((thisSprite._state == STATE_IDLE) || (thisSprite._state == STATE_RUN))) && (otherSprite._yspd > 0)) && (otherSprite._state == STATE_DAMAGE)) {
if (((thisName == STATE_BLOSSOM) && (otherSprite._y < thisSprite._y)) && (Math.abs(otherSprite._x - thisSprite._x) < 70)) {
} else if ((otherSprite._y < (thisSprite._y - 10)) && (otherSprite._y > (thisSprite._y - 50))) {
onB = true;
newB = true;
if (thisName == STATE_BUTTERCUP) {
onB = false;
newB = false;
onA = true;
newA = true;
}
}
}
} else if ((((((thisSprite._state == STATE_IDLE) || (thisSprite._state == STATE_RUN)) && (otherSprite._state == STATE_RUN)) && (((otherSprite._xscale > 0) && (otherSprite._x > thisSprite._x)) || ((otherSprite._xscale < 0) && (otherSprite._x < thisSprite._x)))) && (Math.abs(otherSprite._x - thisSprite._x) < 80)) && prob(30)) {
onB = true;
newB = true;
if (((otherSprite._x > thisSprite._x) && faceLeft) || ((otherSprite._x < thisSprite._x) && (!faceLeft))) {
onRight = faceLeft;
onLeft = !faceLeft;
}
} else if (((((thisSprite._state == STATE_IDLE) || (thisSprite._state == STATE_RUN)) && (Math.abs(otherSprite._x - thisSprite._x) < 40)) && (!prob((Math.abs(otherSprite._x - thisSprite._x) - 25) * 7))) && (!prob(thisSprite._ai_flank))) {
onB = true;
newB = true;
if (((otherSprite._x > thisSprite._x) && faceLeft) || ((otherSprite._x < thisSprite._x) && (!faceLeft))) {
onRight = faceLeft;
onLeft = !faceLeft;
}
} else if (((((((thisName == STATE_BLOSSOM) || (thisName == STATE_BUBBLES)) && (Math.abs(otherSprite._x - thisSprite._x) < 90)) && prob(50)) || prob(5)) && (otherSprite._state != STATE_FROZEN)) && (((thisName != NAME_BLOSSOM) || (otherName != NAME_BLOSSOM)) || (otherSprite._state != STATE_RANGED))) {
onA = true;
newA = true;
if (prob(50)) {
onLeft = false;
onRight = false;
}
if (((otherSprite._x > thisSprite._x) && faceLeft) || ((otherSprite._x < thisSprite._x) && (!faceLeft))) {
onRight = faceLeft;
onLeft = !faceLeft;
}
}
if (prob(((AI_BASE_ERROR * MAX_DIFFICULTY) * 0.98) - ((_difficulty * AI_BASE_ERROR) * 0.98))) {
} else if (otherSprite._danger || (otherSprite._state == STATE_AIRRANGED)) {
onA = false;
newA = false;
onB = false;
newB = false;
} else if (prob(120 - (Math.abs(thisSprite._hp - MIN_HP) / 10))) {
if (((otherSprite._xscale > 0) && (thisSprite._x <= otherSprite._x)) || ((otherSprite._xscale < 0) && (thisSprite._x >= otherSprite._x))) {
if ((((((((otherSprite._state != STATE_IDLE) && (otherSprite._state != STATE_RUN)) && (otherSprite._state != STATE_FROZEN)) && (otherSprite._state != STATE_SHIELD)) && (otherSprite._state != STATE_SHIELDDAMAGE)) && (otherSprite._state != STATE_DAMAGE)) && (otherSprite._state != STATE_FALLEN)) && (otherSprite._state != STATE_RECOVER)) {
onB = false;
newB = false;
onA = false;
newA = false;
if (thisSprite._ai_flank < (4 * _difficulty)) {
thisSprite._ai_flank = 4 * _difficulty;
}
}
}
}
}
if (prob((AI_BASE_ERROR * MAX_DIFFICULTY) - (_difficulty * AI_BASE_ERROR))) {
} else if (thisSprite._state == STATE_DASH) {
onB = Math.abs(otherSprite._x - thisSprite._x) < 50;
}
if (thisSprite._aideflected) {
thisSprite._aideflected = false;
if (Math.abs(otherSprite._x - thisSprite._x) < 60) {
newB = true;
onB = true;
}
}
if (_dexter) {
_dexter = false;
thisName = NAME_DEXTER;
}
if (_shira) {
_shira = false;
thisName = NAME_SHIRABELL;
}
if (_tempdiffculty != 0) {
_difficulty = _tempdiffculty;
}
}
if ((thisSprite._state == STATE_DASH) && (thisSprite._personality == AI_RANGED)) {
onB = false;
}
}
_quality = "HIGH";
_root._idle = 0;
_root.onMouseDown = function () {
_root._idle = 0;
};
SCREENSIZE_HALFWIDTH = 200;
SCREENSIZE_HALFHEIGHT = 125;
SPRITE_HEIGHT = 36;
SPRITE_WIDTH = 20;
SPRITE_YRADIUS = 18;
SPRITE_XRADIUS = 13;
BUTCH_DAMAGE = 0.8;
BOOMER_DAMAGE = 2;
ZIM_Y_OFFSET = 60;
ZIM_Y_OFFSET2 = 20;
NUMOF_OPPONENTS = 8;
MAX_ARMOUR = 5;
MAX_IDLE = 750;
MAX_JUMPDELAY = 4;
MAX_DIFFICULTY = 10;
MAX_FALLTIME = 22;
MAX_IDLETIME = 8;
MAX_SPRITES = 8;
MAX_HP = 1000;
MIN_HP = -710;
MAX_COMBO = 2;
MAX_HITEFFECTS = 4;
Z_OPAQUE = 1;
Z_BG = 5;
Z_TERRAINOPAQUE = 9;
Z_TERRAIN = 10;
Z_HPBAR0 = 300;
Z_HPBARFRAME0 = 400;
Z_HPBAR1 = 301;
Z_HPBARFRAME1 = 401;
Z_COMBO0 = 410;
Z_COMBO1 = 411;
Z_DEMO = 420;
Z_FLASH = 500;
Z_SFXHIT = 550;
Z_SPRITE = 600;
Z_PROJECTILE = 700;
Z_FG1 = 801;
Z_FG2 = 802;
Z_FPS = 900;
Z_READY = 901;
Z_DASHBAR0 = 902;
Z_DASHBAR1 = 903;
Z_STORIES = 950;
Z_FADER = 1000;
NUMOF_NAMES = 8;
NAME_BLOSSOM = 0;
NAME_BUBBLES = 1;
NAME_BUTTERCUP = 2;
NAME_BELL = 3;
NAME_DEXTER = 4;
NAME_ROWDY = 5;
NAME_ZIM = 6;
NAME_SHIRABELL = 7;
MODE_STORY = 0;
MODE_VERSUS = 1;
MODE_SURVIVAL = 2;
MODE_DEMO = 3;
MODE_TUTORIAL = 4;
AI_BASE_ERROR = 10;
AI_STANDARD = 0;
AI_AGGRESSIVE = 1;
AI_AERIAL = 2;
AI_KAMIKAZE = 3;
AI_SUICIDE = 4;
AI_EVASIVE = 5;
AI_CLEAR = 6;
AI_DEFENSIVE = 7;
AI_COUNTER = 8;
AI_HITANDRUN = 9;
AI_RANGED = 10;
AI_CHEAPRANGED = 11;
STATE_IDLE = 1;
STATE_RUN = 2;
STATE_DASH = 3;
STATE_CHARGE = 4;
STATE_COMBO1 = 5;
STATE_COMBO2 = 6;
STATE_COMBO3 = 7;
STATE_UPPER = 8;
STATE_RANGED = 9;
STATE_DOWNATK = 10;
STATE_WALL = 11;
STATE_CHARGEDUPPER = 12;
STATE_CHARGEDRANGED = 13;
STATE_AIRRANGED = 14;
STATE_SHIELD = 15;
STATE_DOWNATK2 = 16;
STATE_DAMAGE = 17;
STATE_HIT = 18;
STATE_FALLEN = 19;
STATE_RECOVER = 20;
STATE_SHIELDDAMAGE = 21;
STATE_COMBO2B = 22;
STATE_COMBO3B = 23;
STATE_FROZEN = 24;
STATE_AIRRANGED2 = 25;
c = 25;
ATKDIR_BACK = 0;
ATKDIR_AWAY = 1;
ATKDIR_LEFT = 2;
ATKDIR_RIGHT = 3;
ATKDIR_UP = 4;
ATKDIR_SLAMDOWN = 5;
ATKDIR_JUGGLE = 6;
ATKDIR_DOWN = 7;
ATKDIR_NONE = 8;
ATKDIR_NONELEFT = 9;
ATKDIR_NONERIGHT = 10;
ATKDIR_VACUUM = 11;
ATKDIR_BOUNCE = 12;
normalClrTrans = new Object();
normalClrTrans.ra = (normalClrTrans.ga = (normalClrTrans.ba = 100));
normalClrTrans.rb = (normalClrTrans.gb = (normalClrTrans.bb = 0));
deflectClrTrans = new Object();
deflectClrTrans.ra = (deflectClrTrans.ga = (deflectClrTrans.ba = 100));
deflectClrTrans.rb = (deflectClrTrans.gb = (deflectClrTrans.bb = 125));
var winClrTrans = new Array(NUMOF_NAMES);
i = 0;
while (i < NUMOF_NAMES) {
winClrTrans[i] = new Object();
winClrTrans[i].ra = (winClrTrans[i].ga = (winClrTrans[i].ba = 70));
winClrTrans[i].rb = (winClrTrans[i].gb = (winClrTrans[i].bb = 0));
i++;
}
winClrTrans[NAME_BLOSSOM].ra = 100;
winClrTrans[NAME_BUBBLES].ba = 100;
winClrTrans[NAME_BUTTERCUP].ga = 100;
winClrTrans[NAME_BELL].ra = (winClrTrans[NAME_BELL].ga = (winClrTrans[NAME_BELL].ba = 100));
winClrTrans[NAME_DEXTER].ra = (winClrTrans[NAME_DEXTER].ga = (winClrTrans[NAME_DEXTER].ba = 100));
winClrTrans[NAME_ROWDY].ra = (winClrTrans[NAME_ROWDY].ga = (winClrTrans[NAME_ROWDY].ba = 100));
winClrTrans[NAME_ZIM].ra = (winClrTrans[NAME_ZIM].ga = (winClrTrans[NAME_ZIM].ba = 100));
winClrTrans[NAME_SHIRABELL].ra = (winClrTrans[NAME_SHIRABELL].ga = (winClrTrans[NAME_SHIRABELL].ba = 100));
var twinClrTrans = new Object();
twinClrTrans.ra = 20;
twinClrTrans.ga = 75;
twinClrTrans.ba = 100;
twinClrTrans.rb = (twinClrTrans.gb = (twinClrTrans.bb = 0));
SPRITE_OPPONENTS = new Array(NUMOF_NAMES);
SPRITE_NAME = new Array(NUMOF_NAMES);
SPRITE_RUNSPEED = new Array(NUMOF_NAMES);
SPRITE_JUMPSPEED = new Array(NUMOF_NAMES);
SPRITE_MAXFALLSPEED = new Array(NUMOF_NAMES);
SPRITE_MAXDASHFUEL = new Array(NUMOF_NAMES);
n = NAME_BLOSSOM;
SPRITE_NAME[n] = "Blossom";
SPRITE_RUNSPEED[n] = 8;
SPRITE_JUMPSPEED[n] = 18;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 10;
SPRITE_OPPONENTS[n] = new Array(NUMOF_OPPONENTS);
SPRITE_OPPONENTS[n][0] = NAME_BUBBLES;
SPRITE_OPPONENTS[n][1] = NAME_BUTTERCUP;
SPRITE_OPPONENTS[n][2] = NAME_BLOSSOM;
SPRITE_OPPONENTS[n][3] = NAME_DEXTER;
SPRITE_OPPONENTS[n][4] = NAME_ROWDY;
SPRITE_OPPONENTS[n][5] = NAME_ZIM;
SPRITE_OPPONENTS[n][6] = NAME_BELL;
SPRITE_OPPONENTS[n][7] = NAME_SHIRABELL;
n = NAME_BUBBLES;
SPRITE_NAME[n] = "Bubbles";
SPRITE_RUNSPEED[n] = 9;
SPRITE_JUMPSPEED[n] = 18;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 12;
SPRITE_OPPONENTS[n] = new Array(NUMOF_OPPONENTS);
SPRITE_OPPONENTS[n][0] = NAME_BUTTERCUP;
SPRITE_OPPONENTS[n][1] = NAME_BLOSSOM;
SPRITE_OPPONENTS[n][2] = NAME_BUBBLES;
SPRITE_OPPONENTS[n][3] = NAME_DEXTER;
SPRITE_OPPONENTS[n][4] = NAME_ROWDY;
SPRITE_OPPONENTS[n][5] = NAME_ZIM;
SPRITE_OPPONENTS[n][6] = NAME_BELL;
SPRITE_OPPONENTS[n][7] = NAME_SHIRABELL;
n = NAME_BUTTERCUP;
SPRITE_NAME[n] = "Buttercup";
SPRITE_RUNSPEED[n] = 8;
SPRITE_JUMPSPEED[n] = 16;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 10;
SPRITE_OPPONENTS[n] = new Array(NUMOF_OPPONENTS);
SPRITE_OPPONENTS[n][0] = NAME_BLOSSOM;
SPRITE_OPPONENTS[n][1] = NAME_BUBBLES;
SPRITE_OPPONENTS[n][2] = NAME_BUTTERCUP;
SPRITE_OPPONENTS[n][3] = NAME_DEXTER;
SPRITE_OPPONENTS[n][4] = NAME_ROWDY;
SPRITE_OPPONENTS[n][5] = NAME_ZIM;
SPRITE_OPPONENTS[n][6] = NAME_BELL;
SPRITE_OPPONENTS[n][7] = NAME_SHIRABELL;
n = NAME_BELL;
SPRITE_NAME[n] = "Bell";
SPRITE_RUNSPEED[n] = 8;
SPRITE_JUMPSPEED[n] = 19;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 10;
SPRITE_OPPONENTS[n] = new Array(NUMOF_OPPONENTS);
SPRITE_OPPONENTS[n][0] = NAME_BLOSSOM;
SPRITE_OPPONENTS[n][1] = NAME_BUBBLES;
SPRITE_OPPONENTS[n][2] = NAME_BUTTERCUP;
SPRITE_OPPONENTS[n][3] = NAME_DEXTER;
SPRITE_OPPONENTS[n][4] = NAME_ROWDY;
SPRITE_OPPONENTS[n][5] = NAME_ZIM;
SPRITE_OPPONENTS[n][6] = NAME_BELL;
SPRITE_OPPONENTS[n][7] = NAME_SHIRABELL;
n = NAME_DEXTER;
SPRITE_NAME[n] = "Dexter";
SPRITE_RUNSPEED[n] = 7;
SPRITE_JUMPSPEED[n] = 16;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 8;
SPRITE_OPPONENTS[n] = new Array(NUMOF_OPPONENTS);
SPRITE_OPPONENTS[n][0] = NAME_DEXTER;
SPRITE_OPPONENTS[n][1] = NAME_BUBBLES;
SPRITE_OPPONENTS[n][2] = NAME_BUTTERCUP;
SPRITE_OPPONENTS[n][3] = NAME_BLOSSOM;
SPRITE_OPPONENTS[n][4] = NAME_ROWDY;
SPRITE_OPPONENTS[n][5] = NAME_ZIM;
SPRITE_OPPONENTS[n][6] = NAME_BELL;
SPRITE_OPPONENTS[n][7] = NAME_SHIRABELL;
n = NAME_ROWDY;
SPRITE_NAME[n] = "Rowdyruff";
SPRITE_RUNSPEED[n] = 8;
SPRITE_JUMPSPEED[n] = 18;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 10;
SPRITE_OPPONENTS[n] = new Array(NUMOF_OPPONENTS);
SPRITE_OPPONENTS[n][0] = NAME_ROWDY;
SPRITE_OPPONENTS[n][1] = NAME_BUBBLES;
SPRITE_OPPONENTS[n][2] = NAME_BUTTERCUP;
SPRITE_OPPONENTS[n][3] = NAME_BLOSSOM;
SPRITE_OPPONENTS[n][4] = NAME_DEXTER;
SPRITE_OPPONENTS[n][5] = NAME_ZIM;
SPRITE_OPPONENTS[n][6] = NAME_BELL;
SPRITE_OPPONENTS[n][7] = NAME_SHIRABELL;
n = NAME_ZIM;
SPRITE_NAME[n] = "Zim";
SPRITE_RUNSPEED[n] = 8;
SPRITE_JUMPSPEED[n] = 18;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 10;
n = NAME_SHIRABELL;
SPRITE_NAME[n] = "Shira Bell";
SPRITE_RUNSPEED[n] = 14;
SPRITE_JUMPSPEED[n] = 20;
SPRITE_MAXFALLSPEED[n] = 20;
SPRITE_MAXDASHFUEL[n] = 10;
SPRITE_OPPONENTS[n] = new Array(NUMOF_OPPONENTS);
SPRITE_OPPONENTS[n][0] = NAME_BLOSSOM;
SPRITE_OPPONENTS[n][1] = NAME_BUBBLES;
SPRITE_OPPONENTS[n][2] = NAME_BUTTERCUP;
SPRITE_OPPONENTS[n][3] = NAME_DEXTER;
SPRITE_OPPONENTS[n][4] = NAME_ROWDY;
SPRITE_OPPONENTS[n][5] = NAME_ZIM;
SPRITE_OPPONENTS[n][6] = NAME_BELL;
SPRITE_OPPONENTS[n][7] = NAME_SHIRABELL;
selectX = new Array(2);
selectY = new Array(2);
keyWasDown = new Array(2);
keyWasDown[0] = new Array(KEYSPERPLAYER);
keyWasDown[1] = new Array(KEYSPERPLAYER);
idleTime = new Array(2);
keyCombo = new Array(2);
keyComboNew = new Array(2);
bufferedUp = new Array(2);
bufferedLeft = new Array(2);
bufferedRight = new Array(2);
bufferedCombo2 = new Array(2);
bufferedCombo3 = new Array(2);
damageDone = new Array(MAX_SPRITES);
i = 0;
while (i < MAX_SPRITES) {
damageDone[i] = new Array(MAX_SPRITES);
i++;
}
sprite = new Array(MAX_SPRITES);
spriteName = new Array(MAX_SPRITES);
_winstreak = 0;
_continue = false;
_spriteInstances = 2;
_scroll = true;
Frame 1506
but1.num = 14;
but3.num = 4;
but4.num = 5;
but5.num = 6;
buthelp.num = 15;
butreplay.num = 16;
Frame 1508
_idle++;
if (_idle > MAX_IDLE) {
_gameMode = MODE_DEMO;
_numplayers = 0;
_difficulty = 10;
_root.attachMovie("fader2", "fader", Z_FADER);
gotoAndPlay (2135);
}
gotoAndPlay (1507);
Frame 1520
butstart.num = 7;
butback.num = 8;
i = 1;
while (i <= 10) {
eval ("diff" + i).num = i;
i++;
}
_difficulty = _menudifficulty;
Frame 1522
_menudifficulty = _difficulty;
gotoAndPlay (1521);
Frame 1533
gotoAndPlay (1506);
Frame 1545
but1.num = 2;
but2.num = 3;
but6.num = 13;
butback.num = 8;
Frame 1547
gotoAndPlay (1546);
Frame 1559
butp.num = 9;
butcpu.num = 10;
butback.num = 8;
i = 1;
while (i <= 10) {
eval ("diff" + i).num = i;
i++;
}
_difficulty = _menudifficulty;
Frame 1561
gotoAndPlay (1560);
Frame 1573
butextra.num = 17;
butextra._visible = _extraoptionsunlock;
butctrl.num = 11;
butgfx.num = 12;
butback.num = 8;
Frame 1575
gotoAndPlay (1574);
Frame 1587
butback.num = 8;
Frame 1589
gotoAndPlay (1588);
Frame 1601
butback.num = 8;
Frame 1603
gotoAndPlay (1602);
Frame 1607
_singlePlayerDualControlsEnabled = true;
Frame 1618
butback.num = 8;
_gettingNewKey = false;
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_LEFT;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_RIGHT;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_LEFT;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_RIGHT;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_UP;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_UP;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_DOWN;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_DOWN;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_B;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_B;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_A;
}
Instance of Symbol 242 MovieClip in Frame 1618
onClipEvent (load) {
player = 1;
index = _root.KEYINDEX_A;
}
Frame 1620
gotoAndPlay (1619);
Frame 1621
butback.num = 8;
butctrl.num = 11;
Frame 1623
gotoAndPlay (1622);
Frame 1624
_root.attachMovie("fader", "fader", Z_FADER);
pic0.gotoAndStop(spriteName[0] + 1);
Frame 1625
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
_root.onEnterFrame = function () {
if (((((!keyWasDown[0][KEYINDEX_A]) && (Key.isDown(keyCode[0][KEYINDEX_A]))) || ((!keyWasDown[0][KEYINDEX_B]) && (Key.isDown(keyCode[0][KEYINDEX_B])))) || ((!keyWasDown[1][KEYINDEX_A]) && (Key.isDown(keyCode[1][KEYINDEX_A])))) || ((!keyWasDown[1][KEYINDEX_B]) && (Key.isDown(keyCode[1][KEYINDEX_B])))) {
gotoAndPlay (2123);
} else {
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
}
};
Frame 2123
_root.attachMovie("fader2", "fader", Z_FADER);
_root.onEnterFrame = null;
stopAllSounds();
Frame 2134
_root.attachMovie("fader", "fader", Z_FADER);
gotoAndPlay (2148);
Frame 2135
_quality = "HIGH";
_root.onMouseDown = null;
_root._idle = 0;
if (_numplayers == 0) {
spriteName[0] = Math.floor(Math.random() * 6);
name0 = SPRITE_NAME[spriteName[0]];
gotoAndPlay (2148);
}
if (_gameMode == MODE_TUTORIAL) {
gotoAndPlay (2148);
}
Frame 2139
stopAllSounds();
Frame 2144
_root.attachMovie("fader", "fader", Z_FADER);
Instance of Symbol 1695 MovieClip "sel0" in Frame 2144
onClipEvent (enterFrame) {
this._x = 132.5 + (45 * _root.selectX[0]);
this._y = 96.8 + (60 * _root.selectY[0]);
}
Instance of Symbol 1700 MovieClip "sel1" in Frame 2144
onClipEvent (enterFrame) {
this._x = 132.5 + (45 * _root.selectX[1]);
this._y = 96.8 + (60 * _root.selectY[1]);
}
Frame 2145
bg0._visible = false;
bg1._visible = false;
if (_numplayers < 2) {
sel1._visible = false;
}
spriteIndex = 0;
while (spriteIndex < 2) {
k = 0;
while (k < KEYSPERPLAYER) {
keyWasDown[spriteIndex][k] = Key.isDown(keyCode[spriteIndex][k]);
k++;
}
spriteIndex++;
}
if (!_continue) {
selectX[0] = 0;
selectY[0] = 1;
selectX[1] = 2;
selectY[1] = 1;
}
name0 = "";
name1 = "";
if (_numplayers == 0) {
spriteName[0] = Math.floor(Math.random() * 6);
name0 = SPRITE_NAME[spriteName[0]];
gotoAndPlay (2148);
}
Frame 2146
bg0._visible = true;
spriteIndex = 0;
while (spriteIndex < 2) {
onLeft = Key.isDown(keyCode[spriteIndex][KEYINDEX_LEFT]);
onRight = Key.isDown(keyCode[spriteIndex][KEYINDEX_RIGHT]);
onUp = Key.isDown(keyCode[spriteIndex][KEYINDEX_UP]);
onDown = Key.isDown(keyCode[spriteIndex][KEYINDEX_DOWN]);
onA = Key.isDown(keyCode[spriteIndex][KEYINDEX_A]);
onB = Key.isDown(keyCode[spriteIndex][KEYINDEX_B]);
if ((_numPlayers == 1) && (_singlePlayerDualControlsEnabled)) {
onLeft = onLeft || (Key.isDown(keyCode[1 - spriteIndex][KEYINDEX_LEFT]));
onRight = onRight || (Key.isDown(keyCode[1 - spriteIndex][KEYINDEX_RIGHT]));
onUp = onUp || (Key.isDown(keyCode[1 - spriteIndex][KEYINDEX_UP]));
onDown = onDown || (Key.isDown(keyCode[1 - spriteIndex][KEYINDEX_DOWN]));
onA = onA || (Key.isDown(keyCode[1 - spriteIndex][KEYINDEX_A]));
onB = onB || (Key.isDown(keyCode[1 - spriteIndex][KEYINDEX_B]));
}
newLeft = (!keyWasDown[spriteIndex][KEYINDEX_LEFT]) && (onLeft);
newRight = (!keyWasDown[spriteIndex][KEYINDEX_RIGHT]) && (onRight);
newUp = (!keyWasDown[spriteIndex][KEYINDEX_UP]) && (onUp);
newDown = (!keyWasDown[spriteIndex][KEYINDEX_DOWN]) && (onDown);
newA = (!keyWasDown[spriteIndex][KEYINDEX_A]) && (onA);
newB = (!keyWasDown[spriteIndex][KEYINDEX_B]) && (onB);
keyWasDown[spriteIndex][KEYINDEX_LEFT] = onLeft;
keyWasDown[spriteIndex][KEYINDEX_RIGHT] = onRight;
keyWasDown[spriteIndex][KEYINDEX_UP] = onUp;
keyWasDown[spriteIndex][KEYINDEX_DOWN] = onDown;
keyWasDown[spriteIndex][KEYINDEX_A] = onA;
keyWasDown[spriteIndex][KEYINDEX_B] = onB;
keyWasDown[spriteIndex][KEYINDEX_L] = onL;
keyWasDown[spriteIndex][KEYINDEX_R] = onR;
if (eval ("sel" + spriteIndex)._visible) {
if (newLeft) {
selectX[spriteIndex]--;
if (selectX[spriteIndex] < 0) {
selectX[spriteIndex] = 2;
}
} else if (newRight) {
selectX[spriteIndex]++;
if (selectX[spriteIndex] > 2) {
selectX[spriteIndex] = 0;
}
} else if (newUp) {
selectY[spriteIndex]--;
if (selectY[spriteIndex] < 0) {
selectY[spriteIndex] = 1;
}
} else if (newDown) {
selectY[spriteIndex]++;
if (selectY[spriteIndex] > 1) {
selectY[spriteIndex] = 0;
}
} else if (newA || (newB)) {
eval ("sel" + spriteIndex)._visible = false;
eval ("sel" + spriteIndex).gotoAndPlay("selected");
if (((spriteIndex == 0) && (_numPlayers == 1)) && (_gameMode == MODE_VERSUS)) {
sel1._visible = true;
keyWasDown[1][KEYINDEX_A] = true;
keyWasDown[1][KEYINDEX_B] = true;
} else if ((!sel0._visible) && (!sel1._visible)) {
if ((_gameMode == MODE_STORY) && (_storylevel == 0)) {
gotoAndPlay (1624);
} else {
gotoAndPlay (2148);
}
}
}
if (((newLeft || (newRight)) || (newUp)) || (newDown)) {
eval ("sel" + spriteIndex).gotoAndPlay("move");
}
if (selectY[spriteIndex] == 1) {
if (selectX[spriteIndex] == 0) {
spriteName[spriteIndex] = NAME_BLOSSOM;
} else if (selectX[spriteIndex] == 1) {
spriteName[spriteIndex] = NAME_BUBBLES;
} else if (selectX[spriteIndex] == 2) {
spriteName[spriteIndex] = NAME_BUTTERCUP;
}
} else if (selectY[spriteIndex] == 0) {
if (selectX[spriteIndex] == 0) {
spriteName[spriteIndex] = NAME_ROWDY;
} else if (selectX[spriteIndex] == 1) {
spriteName[spriteIndex] = NAME_BELL;
if (Key.isDown(keyCode[spriteIndex][KEYINDEX_DOWN]) && (_shiraunlock)) {
spriteName[spriteIndex] = NAME_SHIRABELL;
} else if (((spriteIndex == 1) && (Key.isDown(keyCode[spriteIndex][KEYINDEX_UP]))) && (_zimunlock)) {
spriteName[spriteIndex] = NAME_ZIM;
}
} else if (selectX[spriteIndex] == 2) {
spriteName[spriteIndex] = NAME_DEXTER;
}
}
}
spriteIndex++;
}
name0 = SPRITE_NAME[spriteName[0]];
bg0.gotoAndStop(spriteName[0] + 1);
if ((_numPlayers > 1) || (sel1._visible)) {
bg1._visible = true;
name1 = SPRITE_NAME[spriteName[1]];
bg1.gotoAndStop(spriteName[1] + 1);
}
Frame 2147
gotoAndPlay (2146);
Frame 2148
_root.attachMovie(SPRITE_NAME[spriteName[0]], "sprite0", Z_SPRITE);
_root.attachMovie("projectile", "projectile0", Z_PROJECTILE);
_root.attachMovie("combo", "combo0", Z_COMBO0);
combo0._visible = false;
sprite[0] = sprite0;
projectile0._visible = false;
sprite[0].projectile = projectile0;
sprite[0].combo = combo0;
sprite[0]._xspd = 0;
sprite[0]._yspd = 0;
sprite[0]._state = STATE_IDLE;
sprite[0]._airborne = false;
sprite[0]._invincible = false;
sprite[0]._damage = 0;
sprite[0]._doubleJumped = false;
sprite[0]._hovered = false;
sprite[0]._dashed = false;
sprite[0]._hitWall = false;
sprite[0]._juggles = 0;
sprite[0]._dashFuel = 0;
sprite[0]._fallTime = 0;
if ((_numPlayers == 1) && (_gameMode == MODE_STORY)) {
if (_root._swapchars.indexOf("" + spriteName[0]) == -1) {
_root._swapchars = _root._swapchars + ("" + spriteName[0]);
}
spriteName[1] = SPRITE_OPPONENTS[spriteName[0]][_storylevel];
} else if (_gameMode == MODE_SURVIVAL) {
if ((_survival2 && (!_continue)) && (_winstreak == 0)) {
spriteName[1] = NAME_ZIM;
}
if ((((_survival2 && (Key.isDown(13))) && (!_continue)) && (_winstreak == 0)) && (_shirasurvivalunlock)) {
spriteName[1] = NAME_SHIRABELL;
} else if (!_survival2) {
spriteName[1] = Math.floor(Math.random() * 6);
}
} else if (_numPlayers == 0) {
spriteName[1] = Math.floor(Math.random() * 6);
}
name1 = SPRITE_NAME[spriteName[1]];
_root.attachMovie(SPRITE_NAME[spriteName[1]], "sprite1", Z_SPRITE + 1);
_root.attachMovie("projectile", "projectile1", Z_PROJECTILE + 1);
_root.attachMovie("combo", "combo1", Z_COMBO1);
combo1._visible = false;
sprite[1] = sprite1;
projectile1._visible = false;
sprite[1].projectile = projectile1;
sprite[1].combo = combo1;
sprite[1]._xspd = 0;
sprite[1]._yspd = 0;
sprite[1]._state = STATE_IDLE;
sprite[1]._airborne = false;
sprite[1]._invincible = false;
sprite[1]._doubleJumped = false;
sprite[1]._dashed = false;
sprite[1]._hovered = false;
sprite[1]._hitWall = false;
sprite[1]._juggles = 0;
sprite[1]._dashfuel = 0;
sprite[1]._fallTime = 0;
if (spriteName[0] == spriteName[1]) {
sprite1.colour = new Color(sprite1);
projectile1.colour = new Color(projectile1);
sprite1.colour.setTransform(twinClrTrans);
projectile1.colour.setTransform(twinClrTrans);
}
sprite[0]._visible = false;
sprite[1]._visible = false;
_root.attachMovie("fader", "fader", Z_FADER);
sprite0.gotoAndStop(1);
sprite1.gotoAndStop(1);
if (_gameMode == MODE_TUTORIAL) {
gotoAndPlay (2239);
}
Frame 2158
stopAllSounds();
Frame 2159
fader.removeMovieClip();
pic0.gotoAndStop(spriteName[0] + 1);
pic1.gotoAndStop(spriteName[1] + 1);
sprite1._android = false;
_round = 1;
_wait = true;
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
_root.onEnterFrame = function () {
if (((((!_wait) || ((!keyWasDown[0][KEYINDEX_A]) && (Key.isDown(keyCode[0][KEYINDEX_A])))) || ((!keyWasDown[0][KEYINDEX_B]) && (Key.isDown(keyCode[0][KEYINDEX_B])))) || ((!keyWasDown[1][KEYINDEX_A]) && (Key.isDown(keyCode[1][KEYINDEX_A])))) || ((!keyWasDown[1][KEYINDEX_B]) && (Key.isDown(keyCode[1][KEYINDEX_B])))) {
gotoAndPlay (2229);
} else {
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
}
};
Frame 2229
_root.attachMovie("fader2", "fader", Z_FADER);
_root.onEnterFrame = null;
Frame 2239
_returntomenu = false;
_paused = false;
_quality = _gamequality;
_root.attachMovie("fader", "fader", Z_FADER);
_root.attachMovie("terrain0000", "terrain", Z_TERRAIN);
if (_effects == "ON") {
effectHitCounter = 0;
effectHit = new Array(MAX_HITEFFECTS + 1);
i = 0;
while (i < MAX_HITEFFECTS) {
_root.attachMovie("hit", "effectHit" + i, Z_SFXHIT + i);
effectHit[i] = eval ("effectHit" + i);
effectHit[i]._visible = false;
i++;
}
_root.attachMovie("hitwin", "effectHit" + MAX_HITEFFECTS, Z_SFXHIT + MAX_HITEFFECTS);
effectHit[MAX_HITEFFECTS] = eval ("effectHit" + MAX_HITEFFECTS);
effectHit[MAX_HITEFFECTS]._visible = false;
} else {
i = 0;
while (i <= MAX_HITEFFECTS) {
eval ("effectHit" + i).removeMovieClip();
i++;
}
}
_root.attachMovie("opaque0000", "opaque", Z_TERRAINOPAQUE);
sprite[0]._visible = true;
sprite[1]._visible = true;
sprite[0].gotoAndStop(1);
sprite[1].gotoAndStop(1);
sprite[0]._x = 100;
sprite[0]._y = 204;
sprite[0]._xscale = -100;
sprite[1]._x = 300;
if (spriteName[1] == NAME_ZIM) {
sprite[1]._x = 350;
zimstart = 30;
}
sprite[1]._y = 204;
opaque._x = -150;
opaque._y = -245;
terrain._x = -150;
terrain._y = -245;
opaque._visible = false;
if (_numPlayers == 1) {
if (_background != "ON") {
terrain.gotoAndStop(1);
} else if (spriteName[1] == NAME_BUBBLES) {
terrain.gotoAndStop(3);
} else if (spriteName[1] == NAME_BLOSSOM) {
terrain.gotoAndStop(2);
} else if (spriteName[1] == NAME_DEXTER) {
terrain.gotoAndStop(5);
} else if (spriteName[1] == NAME_SHIRABELL) {
terrain.gotoAndStop(9);
} else if (spriteName[1] == NAME_BUTTERCUP) {
terrain.gotoAndStop(4);
} else if (spriteName[1] == NAME_ROWDY) {
terrain.gotoAndStop(6);
} else if (spriteName[0] == NAME_BLOSSOM) {
terrain.gotoAndStop(8);
} else {
terrain.gotoAndStop(7);
}
} else if (_background != "ON") {
terrain.gotoAndStop(1);
} else {
terrain.gotoAndStop(Math.ceil(Math.random() * 7) + 1);
}
Frame 2240
if (terrain._currentframe == 4) {
_root.attachMovie("streetlamp", "fg1", Z_FG1);
_root.attachMovie("streetlamp", "fg2", Z_FG2);
fg1._x = 0;
fg2._x = 400;
fg1._y = 40;
fg2._y = 40;
}
Frame 2248
if ((spriteName[1] == NAME_SHIRABELL) && (_gameMode == MODE_STORY)) {
_root.attachMovie("stories", "stories", Z_STORIES);
stories.gotoAndPlay("shira");
} else if ((_numplayers != 1) || (_gameMode != MODE_STORY)) {
gotoAndPlay (2252);
}
Frame 2249
if ((spriteName[1] == NAME_SHIRABELL) && (_gameMode == MODE_STORY)) {
} else if ((_numplayers == 1) && (_gameMode == MODE_STORY)) {
if (_quality == "LOW") {
_quality = "MEDIUM";
}
_root.attachMovie("stories", "stories", Z_STORIES);
stories.gotoAndPlay((SPRITE_NAME[spriteName[0]] + "-") + SPRITE_NAME[spriteName[1]]);
_wait = true;
} else {
_wait = false;
}
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
Frame 2251
if (((((!_wait) || ((!keyWasDown[0][KEYINDEX_A]) && (Key.isDown(keyCode[0][KEYINDEX_A])))) || ((!keyWasDown[0][KEYINDEX_B]) && (Key.isDown(keyCode[0][KEYINDEX_B])))) || ((!keyWasDown[1][KEYINDEX_A]) && (Key.isDown(keyCode[1][KEYINDEX_A])))) || ((!keyWasDown[1][KEYINDEX_B]) && (Key.isDown(keyCode[1][KEYINDEX_B])))) {
stories.removeMovieClip();
} else {
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
gotoAndPlay (2250);
}
Frame 2252
_quality = _gamequality;
Frame 2257
_root.attachMovie("hpbar", "hpbar0", Z_HPBAR0);
_root.attachMovie("hpbarframe", "hpbarframe0", Z_HPBARFRAME0);
_root.attachMovie("hpbar", "hpbar1", Z_HPBAR1);
_root.attachMovie("hpbarframe", "hpbarframe1", Z_HPBARFRAME1);
hpbarframe0.chemx2._visible = false;
hpbarframe1.chemx._visible = false;
Frame 2258
if (terrain._currentframe == 4) {
fg1._x = 0;
fg2._x = 400;
fg1._y = 40;
fg2._y = 40;
}
opaque._x = -150;
opaque._y = -245;
terrain._x = -150;
terrain._y = -245;
sprite[0]._dashes = 300;
sprite[1]._dashes = 300;
sprite[0]._hp = MAX_HP;
if (_gameMode == MODE_SURVIVAL) {
sprite[0]._hp = _survivalhp;
}
sprite[1]._hp = MAX_HP;
sprite[0].gotoAndPlay(1);
sprite[1].gotoAndPlay(1);
sprite[0]._state = STATE_IDLE;
sprite[1]._state = STATE_IDLE;
hpbar0.hid._width = 200 - (sprite[0]._hp / 5);
hpbar0.cur._x = 100 + (sprite[0]._hp / 10);
hpbar1.hid._width = 200 - (sprite[1]._hp / 5);
hpbar1.cur._x = 100 + (sprite[1]._hp / 10);
combo0.num = 0;
combo1.num = 0;
sprite[0]._x = 100;
sprite[0]._y = 204;
sprite[0]._xscale = -100;
sprite[1]._x = 300;
if (spriteName[1] == NAME_ZIM) {
sprite[1]._armour = MAX_ARMOUR;
sprite[1]._x = 350;
}
if (((spriteName[1] == NAME_ZIM) || (_gameMode == MODE_SURVIVAL)) || (_gameMode == MODE_DEMO)) {
hpbarframe0.chemx.gotoAndStop(2);
hpbarframe1.chemx2.gotoAndStop(2);
if (_gameMode == MODE_SURVIVAL) {
hpbarframe0.wins = _winstreak + " wins";
}
}
sprite[1]._y = 204;
sprite[1]._xscale = 100;
_root.attachMovie("winFlash", "winFlash", Z_FLASH);
sprite[0]._juggles = 0;
sprite[1]._juggles = 0;
sprite[0].combo._finish = false;
sprite[1].combo._finish = false;
sprite0._aggressiveRating = 0;
sprite0._rangedRating = 0;
sprite1._aggressiveRating = 0;
sprite1._rangedRating = 0;
sprite0._deflected = false;
sprite1._deflected = false;
sprite0._ai_shield = 110 - (((10 - _difficulty) * AI_BASE_ERROR) * 0.9);
if (_numplayers == 0) {
sprite0._ai_shield = 50;
}
if (spriteName[0] == NAME_ZIM) {
sprite0._ai_shield = 0;
}
sprite0._ai_flankspd = 30 * (_difficulty / 10);
sprite0._ai_flank = 0;
sprite0._personality = AI_AGGRESSIVE;
sprite1._ai_shield = sprite0._ai_shield;
if (_numplayers == 0) {
sprite1._ai_shield = 50;
}
if (spriteName[1] == NAME_ZIM) {
sprite1._ai_shield = 0;
}
sprite1._ai_flankspd = sprite0._ai_flankspd;
sprite1._ai_flank = 0;
sprite1._personality = AI_AGGRESSIVE;
if (_numplayers == 0) {
_root.attachMovie("demo", "demo", Z_DEMO);
demo._x = 200;
demo._y = 70;
_wait = false;
} else if (_gameMode == MODE_TUTORIAL) {
_root.attachMovie("howtoplay", "howtoplay", Z_READY);
howtoplay._x = 10;
howtoplay._y = 10;
howtoplay.gotoAndStop(1);
_wait = false;
} else {
_root.attachMovie("readyfight", "readyfight", Z_READY);
readyfight._x = 200;
readyfight._y = 140;
readyfight.gotoAndPlay(1);
_wait = true;
}
if (_fps == "ON") {
_root.attachMovie("fps", "fps", Z_FPS);
fps._x = 270;
fps._y = 0;
}
hpbarframe0.name = SPRITE_NAME[spriteName[0]];
hpbarframe1.name = SPRITE_NAME[spriteName[1]];
_root.attachMovie("dashbarframe", "dashbarframe0", Z_DASHBAR0);
_root.attachMovie("dashbarframe", "dashbarframe1", Z_DASHBAR1);
dashbarframe0.dashbar._xscale = 0;
dashbarframe1.dashbar._xscale = 0;
dashbarframe0.sprite = sprite[0];
dashbarframe1.sprite = sprite[1];
combo0._x = 70;
combo0._y = 50;
combo1._x = 330;
combo1._y = 50;
hpbar0._x = -5;
hpbar0._y = 20;
hpbarframe0._x = -26;
hpbarframe0._y = 10;
hpbar1._x = 190;
hpbar1._y = 20;
hpbarframe1._x = 169;
hpbarframe1._y = 10;
dashbarframe0._x = 10;
dashbarframe0._y = 235;
dashbarframe1._x = 230;
dashbarframe1._y = 235;
if (terrain._currentframe == 9) {
gotoAndPlay (2261);
}
Frame 2259
stopAllSounds();
Frame 2260
gotoAndPlay (2262);
Frame 2264
if (_wait) {
gotoAndPlay (2263);
}
if (_numplayers == 0) {
_root.onMouseDown = function () {
stopAllSounds();
removeAllClips();
gotoAndPlay (1479);
_root.onMouseDown = null;
};
}
Frame 2265
_gameover = false;
Frame 2266
if (_infjuggle) {
MAX_COMBO = 500;
MAX_COMBO_BK = MAX_COMBO;
}
spriteIndex = 0;
while (spriteIndex < _spriteInstances) {
if (((_gameover && (sprite[spriteIndex]._state != STATE_COMBO1)) && (sprite[spriteIndex]._state != STATE_COMBO2)) || ((_gameMode == MODE_TUTORIAL) && (spriteIndex == 1))) {
onLeft = false;
onRight = false;
onUp = false;
onDown = false;
onA = false;
onB = false;
newLeft = false;
newRight = false;
newUp = false;
newDown = false;
newA = false;
newB = false;
keyCombo[spriteIndex] = null;
}
if (((_numPlayers > 1) && (!sprite[1]._deflect)) && ((sprite[1]._state == STATE_IDLE) || (sprite[1]._state == STATE_RUN))) {
sprite[1]._deflect = (!keyWasDown[1][KEYINDEX_B]) && (Key.isDown(keyCode[1][KEYINDEX_B]));
if (sprite[1]._deflect) {
sprite[1]._deflectwait = true;
}
}
if ((spriteIndex < _numPlayers) && (((!_gameover) || (sprite[spriteIndex]._state == STATE_COMBO1)) || (sprite[spriteIndex]._state == STATE_COMBO2))) {
k = 0;
while (k < KEYSPERPLAYER) {
if ((!keyWasDown[spriteIndex][k]) && (Key.isDown(keyCode[spriteIndex][k]))) {
updateKeyCombo(spriteIndex, k);
} else if ((((_numPlayers == 1) && (_singlePlayerDualControlsEnabled)) && (!keyWasDown[spriteIndex][k])) && (Key.isDown(keyCode[spriteIndex + 1][k]))) {
updateKeyCombo(spriteIndex, k);
}
k++;
}
updateKeyCombo(spriteIndex, null);
onLeft = Key.isDown(keyCode[spriteIndex][KEYINDEX_LEFT]);
onRight = Key.isDown(keyCode[spriteIndex][KEYINDEX_RIGHT]);
onUp = Key.isDown(keyCode[spriteIndex][KEYINDEX_UP]);
onDown = Key.isDown(keyCode[spriteIndex][KEYINDEX_DOWN]);
onA = Key.isDown(keyCode[spriteIndex][KEYINDEX_A]);
onB = Key.isDown(keyCode[spriteIndex][KEYINDEX_B]);
if ((_numPlayers == 1) && (_singlePlayerDualControlsEnabled)) {
onLeft = onLeft || (Key.isDown(keyCode[1][KEYINDEX_LEFT]));
onRight = onRight || (Key.isDown(keyCode[1][KEYINDEX_RIGHT]));
onUp = onUp || (Key.isDown(keyCode[1][KEYINDEX_UP]));
onDown = onDown || (Key.isDown(keyCode[1][KEYINDEX_DOWN]));
onA = onA || (Key.isDown(keyCode[1][KEYINDEX_A]));
onB = onB || (Key.isDown(keyCode[1][KEYINDEX_B]));
}
newLeft = (!keyWasDown[spriteIndex][KEYINDEX_LEFT]) && (onLeft);
newRight = (!keyWasDown[spriteIndex][KEYINDEX_RIGHT]) && (onRight);
newUp = (!keyWasDown[spriteIndex][KEYINDEX_UP]) && (onUp);
newDown = (!keyWasDown[spriteIndex][KEYINDEX_DOWN]) && (onDown);
newA = (!keyWasDown[spriteIndex][KEYINDEX_A]) && (onA);
newB = (!keyWasDown[spriteIndex][KEYINDEX_B]) && (onB);
keyWasDown[spriteIndex][KEYINDEX_LEFT] = onLeft;
keyWasDown[spriteIndex][KEYINDEX_RIGHT] = onRight;
keyWasDown[spriteIndex][KEYINDEX_UP] = onUp;
keyWasDown[spriteIndex][KEYINDEX_DOWN] = onDown;
keyWasDown[spriteIndex][KEYINDEX_A] = onA;
keyWasDown[spriteIndex][KEYINDEX_B] = onB;
keyWasDown[spriteIndex][KEYINDEX_L] = onL;
keyWasDown[spriteIndex][KEYINDEX_R] = onR;
if (spriteIndex == 0) {
if ((!sprite[spriteIndex]._deflect) && ((sprite[spriteIndex]._state == STATE_IDLE) || (sprite[spriteIndex]._state == STATE_RUN))) {
sprite[spriteIndex]._deflect = newB;
if (sprite[spriteIndex]._deflect) {
sprite[spriteIndex]._deflectwait = true;
}
}
}
}
thisSprite = sprite[spriteIndex];
thisName = spriteName[spriteIndex];
faceLeft = thisSprite._xscale > 0;
ai = (spriteIndex >= _numPlayers) && (_gameMode != MODE_TUTORIAL);
otherai = ((_numPlayers == 0) || ((_numPlayers == 1) && (spriteIndex == 0))) && (_gameMode != MODE_TUTORIAL);
otherSprite = sprite[1 - spriteIndex];
otherIndex = 1 - spriteIndex;
otherName = spriteName[1 - spriteIndex];
aiRun();
if ((!onDown) && (thisSprite._state == STATE_SHIELD)) {
thisSprite._state = STATE_IDLE;
if (!thisSprite._airborne) {
thisSprite.gotoAndPlay("idle");
} else {
thisSprite.gotoAndPlay("fall");
}
} else if (thisSprite._state == STATE_COMBO1) {
if (thisSprite._stateDone) {
bufferedCombo2[spriteIndex] = false;
bufferedCombo3[spriteIndex] = false;
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
} else if (thisSprite._comboDone) {
if (bufferedCombo2[spriteIndex] == KEYINDEX_A) {
bufferedCombo2[spriteIndex] = false;
thisSprite._state = STATE_COMBO2B;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
thisSprite.gotoAndPlay("upper");
thisSprite._ai_aerial = 0;
damageDone[spriteIndex][otherIndex] = false;
if (thisName == NAME_BLOSSOM) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 6;
} else if (thisName == NAME_BUBBLES) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_UP;
thisSprite._damage = 8;
} else if (thisName == NAME_BUTTERCUP) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 6;
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
thisSprite._atkdirX = ATKDIR_VACUUM;
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 2;
} else if (thisName == NAME_DEXTER) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 10;
} else if (thisName == NAME_ROWDY) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 5;
}
} else if (bufferedCombo2[spriteIndex] == KEYINDEX_B) {
bufferedCombo2[spriteIndex] = false;
thisSprite._state = STATE_COMBO2;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
thisSprite.gotoAndPlay("combo2");
damageDone[spriteIndex][otherIndex] = false;
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
if (thisName == NAME_BUTTERCUP) {
thisSprite._atkdirY = ATKDIR_UP;
}
thisSprite._damage = 2;
if (thisName == NAME_DEXTER) {
thisSprite._damage = 3;
}
}
}
} else if (thisSprite._state == STATE_COMBO2) {
if (thisSprite._stateDone) {
bufferedCombo3[spriteIndex] = false;
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
} else if (thisSprite._comboDone) {
if (bufferedCombo3[spriteIndex] == KEYINDEX_A) {
bufferedCombo3[spriteIndex] = false;
thisSprite._state = STATE_COMBO3B;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
thisSprite.gotoAndPlay("combo3u");
damageDone[spriteIndex][otherIndex] = false;
if (thisName == NAME_BLOSSOM) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_UP;
thisSprite._damage = 10;
} else if (thisName == NAME_BUBBLES) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 5;
} else if (thisName == NAME_BUTTERCUP) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_DOWN;
thisSprite._damage = 7;
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 6;
} else if (thisName == NAME_DEXTER) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_UP;
thisSprite._damage = 14;
} else if (thisName == NAME_ROWDY) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 1;
}
} else if (bufferedCombo3[spriteIndex] == KEYINDEX_B) {
bufferedCombo3[spriteIndex] = false;
thisSprite._state = STATE_COMBO3;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
thisSprite.gotoAndPlay("combo3");
if (thisSprite._yspd < -5) {
thisSprite._yspd = -5;
}
damageDone[spriteIndex][otherIndex] = false;
if (thisName == NAME_BLOSSOM) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 7;
} else if (thisName == NAME_BUBBLES) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_UP;
thisSprite._damage = 12;
} else if (thisName == NAME_BUTTERCUP) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_BOUNCE;
thisSprite._damage = 8;
tempyspd = -50;
thisSprite._airborne = true;
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_UP;
thisSprite._damage = 4;
} else if (thisName == NAME_DEXTER) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 24;
} else if (thisName == NAME_ROWDY) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 12;
}
}
}
} else if (thisSprite._state == STATE_COMBO2B) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
}
} else if (thisSprite._state == STATE_COMBO3) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
}
} else if (thisSprite._state == STATE_COMBO3B) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
thisSprite._comboDone = false;
thisSprite._weakHit = false;
}
} else if (thisSprite._state == STATE_RANGED) {
if (thisSprite._hitDone) {
if (thisName == NAME_BUBBLES) {
thisSprite._hitDone = false;
if (faceLeft) {
thisSprite.projectile._x = thisSprite._x - 20;
thisSprite.projectile._xscale = 100;
} else {
thisSprite.projectile._x = thisSprite._x + 20;
thisSprite.projectile._xscale = -100;
}
thisSprite.projectile._yspd = 0;
thisSprite.projectile._y = thisSprite._y;
thisSprite.projectile._visible = true;
thisSprite.projectile._hitDone = false;
} else if (thisName == NAME_ROWDY) {
thisSprite._hitDone = false;
if (faceLeft) {
thisSprite.projectile._x = thisSprite._x + 140;
thisSprite.projectile._xscale = 100;
} else {
thisSprite.projectile._x = thisSprite._x - 140;
thisSprite.projectile._xscale = -100;
}
thisSprite.projectile._y = (204 + terrain._y) + 245;
thisSprite.projectile._visible = true;
thisSprite.projectile._hitDone = false;
thisSprite.projectile.gotoAndPlay("boomer");
}
}
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
thisSprite._weakHit = false;
}
} else if (thisSprite._state == STATE_AIRRANGED2) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
thisSprite.gotoAndPlay("idle");
thisSprite._weakHit = false;
}
} else if (thisSprite._state == STATE_AIRRANGED) {
if (thisSprite._hitDone) {
if (thisName == NAME_DEXTER) {
thisSprite._hitDone = false;
thisSprite._state = STATE_AIRRANGED2;
} else if (thisName == NAME_BUBBLES) {
thisSprite._hitDone = false;
if (faceLeft) {
thisSprite.projectile._x = thisSprite._x - 20;
thisSprite.projectile._xscale = 100;
} else {
thisSprite.projectile._x = thisSprite._x + 20;
thisSprite.projectile._xscale = -100;
}
thisSprite.projectile._yspd = 5;
thisSprite.projectile._y = thisSprite._y;
thisSprite.projectile._visible = true;
thisSprite.projectile._hitDone = false;
if (thisSprite.projectile._fast) {
thisSprite.projectile._yspd = thisSprite.projectile._yspd * 2;
}
} else if (thisName == NAME_ROWDY) {
thisSprite._hitDone = false;
thisSprite.projectile._x = thisSprite._x;
if (faceLeft) {
thisSprite.projectile._xscale = 100;
} else {
thisSprite.projectile._xscale = -100;
}
thisSprite.projectile._y = (200 + terrain._y) + 245;
thisSprite.projectile._visible = true;
thisSprite.projectile._hitDone = false;
thisSprite.projectile.gotoAndPlay("butch");
}
}
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
if (!thisSprite._airborne) {
thisSprite.gotoAndPlay("idle");
}
thisSprite._weakHit = false;
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
if (!thisSprite._airborne) {
thisSprite._state = STATE_AIRRANGED2;
thisSprite.gotoAndPlay("land");
}
}
} else if (thisSprite._state == STATE_DOWNATK) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
if (!thisSprite._airborne) {
thisSprite.gotoAndPlay("idle");
}
thisSprite._weakHit = false;
}
} else if (thisSprite._state == STATE_RECOVER) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
}
} else if (thisSprite._state == STATE_FROZEN) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_IDLE;
thisSprite._stateDone = false;
sprite[0].combo.num = 0;
sprite[1].combo.num = 0;
}
}
if (thisSprite._state == STATE_FALLEN) {
if (newUp) {
thisSprite._fallTime = 0;
} else {
thisSprite._fallTime--;
}
}
if (((thisSprite._state == STATE_FALLEN) && (thisSprite._fallTime <= 0)) && (thisSprite._hp > MIN_HP)) {
bufferedUp[spriteIndex] = false;
bufferedLeft[spriteIndex] = false;
bufferedRight[spriteIndex] = false;
thisSprite.gotoAndPlay("recover");
thisSprite._stateDone = false;
thisSprite._state = STATE_RECOVER;
thisSprite._juggles = 0;
sprite[0].combo.num = 0;
sprite[1].combo.num = 0;
} else if ((((((((keyCombo[spriteIndex] == KEYINDEX_LEFT) && (newLeft)) || ((keyCombo[spriteIndex] == KEYINDEX_RIGHT) && (newRight))) && (!thisSprite._dashed)) && (thisSprite._dashes >= 100)) && (thisName != NAME_ZIM)) && ((thisName != NAME_DEXTER) || (!thisSprite._airborne))) && (((((thisSprite._state == STATE_RUN) || (thisSprite._state == STATE_IDLE)) || (thisSprite._state == STATE_SHIELD)) || (thisSprite._state == STATE_SHIELDDAMAGE)) || (thisSprite._state == STATE_RECOVER))) {
thisSprite._state = STATE_DASH;
sprite[spriteIndex]._invincible = true;
thisSprite._dashFuel = SPRITE_MAXDASHFUEL[spriteIndex];
thisSprite.gotoAndPlay("dash");
thisSprite._dashed = true;
thisSprite._dashes = thisSprite._dashes - 100;
if (((keyCombo[spriteIndex] == KEYINDEX_LEFT) && (!faceLeft)) || ((keyCombo[spriteIndex] == KEYINDEX_RIGHT) && (faceLeft))) {
thisSprite._xscale = thisSprite._xscale * -1;
faceLeft = !faceLeft;
}
clearKeyCombo(spriteIndex);
} else if (onDown && ((thisSprite._state == STATE_RUN) || (thisSprite._state == STATE_IDLE))) {
thisSprite._state = STATE_SHIELD;
thisSprite.gotoAndPlay("shield");
if (thisSprite._yspd < -5) {
thisSprite._yspd = -5;
}
} else if ((newA || (newB)) && ((thisSprite._state == STATE_RUN) || (thisSprite._state == STATE_IDLE))) {
if (thisSprite._airborne) {
if (newA) {
if (((((((((thisName == NAME_BUBBLES) || (thisName == NAME_ROWDY)) && (!thisSprite.projectile._visible)) && (!thisSprite._hovered)) || ((thisName == NAME_BUTTERCUP) && (!thisSprite._hovered))) || (thisName == NAME_BLOSSOM)) || (thisName == NAME_DEXTER)) || (thisName == NAME_BELL)) || (thisName == NAME_SHIRABELL)) {
if (thisName == NAME_BUTTERCUP) {
thisSprite._hovered = true;
}
thisSprite._state = STATE_AIRRANGED;
thisSprite._stateDone = false;
if (thisName == NAME_DEXTER) {
thisSprite.gotoAndPlay("combo3");
} else if (thisName == NAME_ROWDY) {
thisSprite.gotoAndPlay("ranged");
} else {
thisSprite.gotoAndPlay("airranged");
}
if (thisSprite._yspd < 0) {
thisSprite._yspd = 0;
}
damageDone[spriteIndex][otherIndex] = false;
thisSprite.projectile._fast = onLeft || (onRight);
if ((onLeft && (!faceLeft)) || (onRight && faceLeft)) {
thisSprite._xscale = thisSprite._xscale * -1;
faceLeft = !faceLeft;
}
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
if (thisName == NAME_BLOSSOM) {
thisSprite._damage = 5;
} else if (thisName == NAME_BUBBLES) {
thisSprite._damage = 0;
thisSprite.projectile._damage = 3;
thisSprite._hovered = true;
} else if (thisName == NAME_ROWDY) {
thisSprite._damage = 0;
thisSprite.projectile._damage = BUTCH_DAMAGE;
thisSprite._hovered = true;
} else if (thisName == NAME_BUTTERCUP) {
thisSprite._damage = 7;
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
thisSprite._atkdirY = ATKDIR_UP;
thisSprite._damage = 10;
thisSprite._dashFuel = 5;
} else if (thisName == NAME_DEXTER) {
thisSprite._atkdirY = ATKDIR_DOWN;
thisSprite._damage = 12;
}
}
} else if (!thisSprite._hovered) {
thisSprite._hovered = true;
thisSprite._state = STATE_DOWNATK;
thisSprite._stateDone = false;
thisSprite.gotoAndPlay("downatk");
if (thisSprite._yspd < 0) {
thisSprite._yspd = 0;
}
damageDone[spriteIndex][otherIndex] = false;
if ((onLeft && (!faceLeft)) || (onRight && faceLeft)) {
thisSprite._xscale = thisSprite._xscale * -1;
faceLeft = !faceLeft;
}
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 7;
if (thisName == NAME_DEXTER) {
thisSprite._damage = 8;
}
}
} else if (newA) {
if (((thisName != NAME_BUBBLES) && (thisName != NAME_ROWDY)) || (!thisSprite.projectile._visible)) {
thisSprite._state = STATE_RANGED;
thisSprite._stateDone = false;
thisSprite._stateChange = false;
thisSprite.gotoAndPlay("ranged");
damageDone[spriteIndex][otherIndex] = false;
thisSprite.projectile._fast = onLeft || (onRight);
if ((onLeft && (!faceLeft)) || (onRight && faceLeft)) {
thisSprite._xscale = thisSprite._xscale * -1;
faceLeft = !faceLeft;
}
if (thisName == NAME_BLOSSOM) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 5;
} else if (thisName == NAME_BUBBLES) {
thisSprite._damage = 0;
thisSprite.projectile._damage = 3;
} else if (thisName == NAME_ROWDY) {
thisSprite._damage = 0;
thisSprite.projectile._damage = BOOMER_DAMAGE;
} else if (thisName == NAME_BUTTERCUP) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 6;
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 6;
} else if (thisName == NAME_DEXTER) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 6;
} else if (thisName == NAME_ZIM) {
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
thisSprite._atkdirY = ATKDIR_DOWN;
thisSprite._damage = 4;
}
}
} else if (!thisSprite._deflected) {
thisSprite._state = STATE_COMBO1;
thisSprite._stateDone = false;
thisSprite.gotoAndPlay("combo1");
bufferedCombo2[spriteIndex] = false;
bufferedCombo3[spriteIndex] = false;
if (thisSprite._yspd < 0) {
thisSprite._yspd = 0;
}
damageDone[spriteIndex][otherIndex] = false;
if ((onLeft && (!faceLeft)) || (onRight && faceLeft)) {
thisSprite._xscale = thisSprite._xscale * -1;
faceLeft = !faceLeft;
}
if (faceLeft) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
} else {
thisSprite._atkdirX = ATKDIR_NONERIGHT;
}
thisSprite._atkdirY = ATKDIR_NONE;
thisSprite._damage = 4;
if (thisName == NAME_DEXTER) {
thisSprite._damage = 5;
} else if (thisName == NAME_ZIM) {
thisSprite._atkdirX = ATKDIR_NONELEFT;
thisSprite._atkdirY = ATKDIR_JUGGLE;
thisSprite._damage = 32;
}
}
} else if (((newA || (newB)) && (!ai)) && (thisSprite._state == STATE_COMBO1)) {
if (!bufferedCombo2[spriteIndex]) {
if (newA) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
}
} else if (!bufferedCombo3[spriteIndex]) {
if (newA) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
}
} else if (((newA || (newB)) && (!ai)) && (thisSprite._state == STATE_COMBO2)) {
if (!bufferedCombo3[spriteIndex]) {
if (newA) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
}
} else if ((onLeft || (onRight)) && ((thisName != NAME_ZIM) || (thisSprite._dashes > 2))) {
if (((thisName != NAME_ZIM) || (_numPlayers == 1)) || (((thisName == NAME_ZIM) && (_numPlayers > 1)) && ((thisSprite._dashes > 200) || ((thisSprite._state == STATE_RUN) && (thisSprite._dashes > 2))))) {
if (onLeft && onRight) {
onRight = false;
}
if (thisSprite._state == STATE_IDLE) {
if (!thisSprite._airborne) {
thisSprite.gotoAndPlay("forward");
}
thisSprite._state = STATE_RUN;
}
if (thisSprite._state == STATE_RUN) {
if ((thisName == NAME_ZIM) && (_numPlayers > 1)) {
thisSprite._dashes = thisSprite._dashes - 6;
}
if ((onLeft && (!faceLeft)) || (onRight && faceLeft)) {
thisSprite._xscale = thisSprite._xscale * -1;
faceLeft = !faceLeft;
}
}
}
} else if (thisSprite._state == STATE_RUN) {
if (!thisSprite._airborne) {
thisSprite.gotoAndPlay("idle");
}
thisSprite._state = STATE_IDLE;
}
if (thisSprite._state == STATE_SHIELD) {
if ((onLeft && (!faceLeft)) || (onRight && (faceLeft))) {
thisSprite._xscale = thisSprite._xscale * -1;
faceLeft = !faceLeft;
}
}
if ((thisSprite._state == STATE_IDLE) || (thisSprite._state == STATE_RUN)) {
if ((((newUp && (thisSprite._yspd == 0)) && (!thisSprite._airborne)) && (!thisSprite._jumpDelay)) && (thisName != NAME_ZIM)) {
thisSprite._yspd = -SPRITE_JUMPSPEED[thisName];
thisSprite.gotoAndPlay("jump");
thisSprite._airborne = true;
} else if (((newUp && (thisSprite._yspd != 0)) && (!thisSprite._doubleJumped)) && (thisSprite._airborne)) {
thisSprite._yspd = (-SPRITE_JUMPSPEED[thisName]) + 5;
thisSprite.gotoAndPlay("teleport");
thisSprite._doubleJumped = true;
clearKeyCombo(spriteIndex);
} else if ((!onUp) && (thisSprite._yspd < 0)) {
thisSprite._yspd = 0;
thisSprite.gotoAndPlay("fall");
}
}
thisSprite._xspd = 0;
if (thisSprite._state == STATE_DASH) {
if (thisSprite._dashFuel > 0) {
if (onB) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd + (-SPRITE_RUNSPEED[thisName]);
} else {
thisSprite._xspd = thisSprite._xspd + SPRITE_RUNSPEED[thisName];
}
} else if (faceLeft) {
thisSprite._xspd = thisSprite._xspd + ((-SPRITE_RUNSPEED[thisName]) * 2);
} else {
thisSprite._xspd = thisSprite._xspd + (SPRITE_RUNSPEED[thisName] * 2);
}
thisSprite._dashFuel--;
} else {
thisSprite._state = STATE_RUN;
if (!thisSprite._airborne) {
thisSprite.gotoAndPlay("forward");
} else {
thisSprite.gotoAndPlay("fall");
}
}
} else if (thisSprite._state == STATE_RUN) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd + (-SPRITE_RUNSPEED[thisName]);
} else {
thisSprite._xspd = thisSprite._xspd + SPRITE_RUNSPEED[thisName];
}
}
thisSprite._yspd++;
if (thisSprite._yspd == 0) {
thisSprite._yspd = 1;
}
if (thisSprite._yspd > SPRITE_MAXFALLSPEED[thisName]) {
thisSprite._yspd = SPRITE_MAXFALLSPEED[thisName];
}
if (thisSprite._state == STATE_DASH) {
thisSprite._yspd = 0;
} else if (thisSprite._state == STATE_COMBO2B) {
if (thisName == NAME_BLOSSOM) {
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
thisSprite._yspd = -16;
thisSprite._airborne = true;
}
if (thisSprite._airborne) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 5;
} else {
thisSprite._xspd = thisSprite._xspd + 5;
}
}
} else if (thisName == NAME_BUBBLES) {
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
thisSprite._yspd = -15;
thisSprite._airborne = true;
}
if (thisSprite._airborne) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 5;
} else {
thisSprite._xspd = thisSprite._xspd + 5;
}
}
} else if (thisName == NAME_BUTTERCUP) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 1;
} else {
thisSprite._xspd = thisSprite._xspd + 1;
}
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
thisSprite._yspd = -12;
thisSprite._airborne = true;
}
}
} else if (thisSprite._state == STATE_COMBO3B) {
if (thisName == NAME_BLOSSOM) {
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
thisSprite._yspd = -10;
thisSprite._airborne = true;
}
if (thisSprite._airborne) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 15;
} else {
thisSprite._xspd = thisSprite._xspd + 15;
}
}
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 3;
} else {
thisSprite._xspd = thisSprite._xspd + 3;
}
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
thisSprite._yspd = -10;
if (thisName == NAME_SHIRABELL) {
thisSprite._yspd = -5;
}
thisSprite._airborne = true;
}
} else if (thisName == NAME_ROWDY) {
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
thisSprite._yspd = -6;
if (thisSprite._damage <= 1) {
thisSprite._damage++;
} else {
thisSprite._atkdirY = ATKDIR_JUGGLE;
}
thisSprite._airborne = true;
}
if (thisSprite._airborne) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 1;
} else {
thisSprite._xspd = thisSprite._xspd + 1;
}
}
}
} else if (thisSprite._state == STATE_COMBO3) {
if (thisName == NAME_BUTTERCUP) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 15;
} else {
thisSprite._xspd = thisSprite._xspd + 15;
}
if (!thisSprite._airborne) {
} else {
thisSprite._yspd = 0;
}
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 1;
} else {
thisSprite._xspd = thisSprite._xspd + 1;
}
if (thisSprite._weakhit) {
thisSprite._yspd = -1;
thisSprite._airborne = true;
}
} else if (thisName == NAME_DEXTER) {
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 16;
} else {
thisSprite._xspd = thisSprite._xspd + 16;
}
}
} else if (thisName == NAME_ROWDY) {
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 8;
} else {
thisSprite._xspd = thisSprite._xspd + 8;
}
}
}
} else if (thisSprite._state == STATE_DOWNATK) {
thisSprite._yspd = 1;
} else if (thisSprite._state == STATE_RANGED) {
if (thisName == NAME_DEXTER) {
if (thisSprite._stateChange) {
thisSprite._stateChange = false;
if (thisSprite._atkdirX == ATKDIR_RIGHT) {
thisSprite._atkdirX = ATKDIR_LEFT;
} else {
thisSprite._atkdirX = ATKDIR_RIGHT;
}
}
}
} else if (thisSprite._state == STATE_AIRRANGED) {
if (thisName == NAME_BLOSSOM) {
thisSprite._yspd = 2;
if (faceLeft) {
thisSprite._xspd++;
} else {
thisSprite._xspd--;
}
} else if (thisName == NAME_BUBBLES) {
thisSprite._yspd = 2;
if (faceLeft) {
thisSprite._xspd++;
} else {
thisSprite._xspd--;
}
} else if (thisName == NAME_BUTTERCUP) {
thisSprite._yspd = 1;
if (thisSprite._stateChange) {
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 14;
} else {
thisSprite._xspd = thisSprite._xspd + 14;
}
} else if (faceLeft) {
thisSprite._xspd = thisSprite._xspd + 5;
} else {
thisSprite._xspd = thisSprite._xspd - 5;
}
} else if ((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) {
if (thisSprite._dashFuel <= 0) {
thisSprite._yspd = 12;
if (faceLeft) {
thisSprite._xspd = thisSprite._xspd - 12;
} else {
thisSprite._xspd = thisSprite._xspd + 12;
}
} else {
thisSprite._yspd = 0;
thisSprite._dashFuel--;
}
} else if (thisName == NAME_DEXTER) {
if (thisSprite._yspd < -5) {
thisSprite._yspd = -5;
}
}
}
if ((thisSprite._x + thisSprite._xspd) < 10) {
thisSprite._xspd = 10 - thisSprite._x;
}
if ((thisSprite._x + thisSprite._xspd) > 390) {
thisSprite._xspd = 390 - thisSprite._x;
}
if (thisSprite._state == STATE_SHIELDDAMAGE) {
if (thisSprite._atkdirX == ATKDIR_VACUUM) {
} else if (((thisSprite._atkdirX == ATKDIR_LEFT) || (thisSprite._atkdirX == ATKDIR_NONELEFT)) || ((thisSprite._atkdirX == ATKDIR_BACK) && (!faceLeft))) {
thisSprite._xspd = thisSprite._xspd + -1;
} else {
thisSprite._xspd = thisSprite._xspd + 1;
}
if (thisSprite._airborne) {
if (thisSprite._yspd > 2) {
thisSprite._yspd = 2;
}
}
} else if (thisSprite._state == STATE_DAMAGE) {
if (thisSprite._atkdirX == ATKDIR_VACUUM) {
if (thisSprite._x == sprite[1 - spriteIndex]._x) {
} else if (thisSprite._x > sprite[1 - spriteIndex]._x) {
thisSprite._xspd = thisSprite._xspd + -1;
} else {
thisSprite._xspd = thisSprite._xspd + 1;
}
} else if (thisSprite._atkdirX == ATKDIR_NONELEFT) {
thisSprite._xspd = thisSprite._xspd + -1;
} else if (thisSprite._atkdirX == ATKDIR_NONERIGHT) {
thisSprite._xspd = thisSprite._xspd + 1;
} else if ((((thisSprite._atkdirX == ATKDIR_LEFT) || (thisSprite._atkdirX == ATKDIR_RIGHT)) || (thisSprite._atkdirX == ATKDIR_BACK)) && (thisSprite._dashFuel > 0)) {
if ((thisSprite._atkdirX == ATKDIR_LEFT) || ((thisSprite._atkdirX == ATKDIR_BACK) && (!faceLeft))) {
thisSprite._xspd = thisSprite._xspd + (-Math.round(thisSprite._dashFuel));
} else {
thisSprite._xspd = thisSprite._xspd + Math.round(thisSprite._dashFuel);
}
if (!thisSprite._airborne) {
thisSprite._dashFuel--;
} else {
thisSprite._dashFuel = thisSprite._dashFuel - 0.3;
}
}
}
thisSprite._yspd = thisSprite._yspd + tempyspd;
wasAirborne = thisSprite._airborne;
collision(thisSprite);
if (!thisSprite._airborne) {
if (wasAirborne) {
if (thisSprite._state == STATE_IDLE) {
thisSprite.gotoAndPlay("idle");
} else if (thisSprite._state == STATE_RUN) {
thisSprite.gotoAndPlay("forward");
}
thisSprite._doubleJumped = false;
thisSprite._jumpDelay = MAX_JUMPDELAY;
}
if (thisSprite._jumpDelay > 0) {
thisSprite._jumpDelay--;
}
thisSprite._dashed = false;
thisSprite._hovered = false;
}
if (thisSprite._state == STATE_SHIELDDAMAGE) {
if (thisSprite._stateDone) {
thisSprite._state = STATE_SHIELD;
}
} else if (thisSprite._state == STATE_DAMAGE) {
if (!thisSprite._airborne) {
thisSprite._invincible = true;
}
if ((((thisSprite._atkdirX == ATKDIR_LEFT) || (thisSprite._atkdirX == ATKDIR_RIGHT)) || (thisSprite._atkdirX == ATKDIR_BACK)) && (thisSprite._dashFuel > 0)) {
if (!thisSprite._airborne) {
thisSprite.gotoAndPlay("fallen");
thisSprite._stateDone = true;
}
} else if (thisSprite._stateDone && (!thisSprite._airborne)) {
thisSprite._state = STATE_FALLEN;
thisSprite._fallTime = MAX_FALLTIME;
thisSprite.gotoAndPlay("fallen");
}
}
if ((thisSprite._state == STATE_IDLE) || (thisSprite._state == STATE_RUN)) {
if ((thisSprite._yspd == 1) && (thisSprite._airborne)) {
thisSprite.gotoAndPlay("fall");
}
} else if (thisSprite._state == STATE_WALL) {
if ((thisSprite._yspd == 1) && (thisSprite._airborne)) {
thisSprite._state = STATE_RUN;
thisSprite.gotoAndPlay("fall");
}
}
thisSprite._x = thisSprite._x + thisSprite._xspd;
thisSprite._y = thisSprite._y + thisSprite._yspd;
thisSprite._yspd = thisSprite._yspd - tempyspd;
if ((tempyspd < 0) && (thisSprite._yspd > 0)) {
thisSprite._yspd = 0;
}
tempyspd = 0;
if (thisSprite._hitDone) {
thisSprite._hitDone = false;
damageDone[spriteIndex][otherIndex] = false;
}
if (thisSprite.projectile._visible) {
if (thisName == NAME_BUBBLES) {
if (thisSprite.projectile._xscale > 0) {
thisSprite.projectile._x = thisSprite.projectile._x - 5;
if (thisSprite.projectile._fast) {
thisSprite.projectile._x = thisSprite.projectile._x - 5;
}
} else {
thisSprite.projectile._x = thisSprite.projectile._x + 5;
if (thisSprite.projectile._fast) {
thisSprite.projectile._x = thisSprite.projectile._x + 5;
}
}
} else if ((thisName == NAME_ROWDY) && (thisSprite.projectile._damage == BOOMER_DAMAGE)) {
if (thisSprite.projectile._xscale > 0) {
thisSprite.projectile._x = thisSprite.projectile._x - 12;
} else {
thisSprite.projectile._x = thisSprite.projectile._x + 12;
}
}
if (thisName == NAME_BUBBLES) {
thisSprite.projectile._y = thisSprite.projectile._y + thisSprite.projectile._yspd;
}
if ((((thisSprite.projectile._x < -20) || (thisSprite.projectile._x > 420)) || (thisSprite.projectile._y > 250)) && (!thisSprite.projectile._hitDone)) {
if (thisName != NAME_ROWDY) {
thisSprite.projectile.gotoAndPlay("subside");
}
}
}
if (_autodeflect) {
if ((thisSprite._state == STATE_IDLE) && (!ai)) {
thisSprite._deflect = true;
}
if ((otherSprite._state == STATE_IDLE) && (!otherai)) {
otherSprite._deflect = true;
}
}
if ((otherName == NAME_ZIM) && (!otherSprite._vulnerable)) {
otherSprite._y = otherSprite._y - ZIM_Y_OFFSET;
}
if ((otherName == NAME_ZIM) && (otherSprite._state == STATE_RUN)) {
} else if ((((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) && (thisSprite._state == STATE_AIRRANGED)) && (thisSprite._dashFuel > 0)) {
} else if ((thisSprite.atk || (!thisSprite.projectile._hitDone)) || (thisName == NAME_ZIM)) {
if (((!thisSprite.projectile._hitDone) && (!otherSprite._invincible)) || (thisName == NAME_ZIM)) {
if (((thisSprite.projectile.atk.hitTest(otherSprite._x, otherSprite._y, true) && (otherSprite._juggles < MAX_COMBO)) && (thisName != NAME_ZIM)) || (((((thisName == NAME_ZIM) && (thisSprite.zim.hitTest(otherSprite._x, otherSprite._y, false))) && (!thisSprite._vulnerable)) && (otherSprite._state != STATE_DAMAGE)) && (otherSprite._state != STATE_DASH))) {
if (thisName == NAME_BUBBLES) {
thisSprite.projectile._x = otherSprite._x;
thisSprite.projectile._y = otherSprite._y;
thisSprite.projectile.gotoAndPlay("subside");
}
dmg = Math.round((thisSprite.projectile._damage * BASE_DAMAGE) / 5);
if (otherSprite._deflect) {
dmg = 0;
}
if ((((otherSprite._hp - dmg) > MIN_HP) && (thisName != NAME_ZIM)) && (((((otherSprite._state == STATE_SHIELD) || (otherSprite._state == STATE_SHIELDDAMAGE)) || (otherSprite._deflect)) && (((otherSprite._xscale > 0) && (thisSprite.projectile._xscale < 0)) || ((otherSprite._xscale < 0) && (thisSprite.projectile._xscale > 0)))) || ((otherai && ((otherSprite._state == STATE_IDLE) || (otherSprite._state == STATE_RUN))) && (prob(otherSprite._ai_shield))))) {
if (!(((otherSprite._xscale > 0) && (thisSprite.projectile._xscale < 0)) || ((otherSprite._xscale < 0) && (thisSprite.projectile._xscale > 0)))) {
otherSprite._xscale = otherSprite._xscale * -1;
}
if (otherSprite._deflect) {
if (otherSprite._yspd < -5) {
otherSprite._yspd = -5;
}
otherSprite._state = STATE_SHIELD;
otherSprite.gotoAndPlay("shield");
otherSprite.combo.gotoAndPlay("deflected");
otherSprite._deflected = true;
otherSprite.combo._visible = true;
if ((_numPlayers == 1) && (!otherai)) {
_root._numdeflects++;
}
gotoAndPlay (2276);
} else {
otherSprite._state = STATE_SHIELDDAMAGE;
otherSprite.gotoAndPlay("shielddamage");
if (otherSprite._yspd < -5) {
otherSprite._yspd = -5;
}
otherSprite._stateDone = false;
if (thisSprite.projectile._xscale > 0) {
otherSprite._atkdirX = ATKDIR_LEFT;
} else {
otherSprite._atkdirX = ATKDIR_RIGHT;
}
if (ai) {
thisSprite._ai_flank = thisSprite._ai_flank + thisSprite._ai_flankspd;
}
otherSprite._hp = otherSprite._hp - dmg;
if (thisSprite._personality == AI_AGGRESSIVE) {
thisSprite._aggressiveRating = thisSprite._aggressiveRating + dmg;
} else if (thisSprite._personality == AI_RANGED) {
thisSprite._rangedRating = thisSprite._rangedRating + dmg;
}
if (otherSprite._personality == AI_AGGRESSIVE) {
otherSprite._aggressiveRating = otherSprite._aggressiveRating - dmg;
} else if (otherSprite._personality == AI_RANGED) {
otherSprite._rangedRating = otherSprite._rangedRating - dmg;
}
}
} else {
dmg = thisSprite.projectile._damage * BASE_DAMAGE;
if (_gameMode == MODE_TUTORIAL) {
dmg = 0;
}
if ((otherName == NAME_SHIRABELL) && ((!otherai) || (_gameMode != MODE_STORY))) {
dmg = Math.round(dmg * 2);
} else if (otherName == NAME_ZIM) {
dmg = Math.round(dmg * 0.8);
} else if (thisName == NAME_ZIM) {
dmg = Math.round(dmg * (_difficulty / MAX_DIFFICULTY));
if (!ai) {
dmg = 24 * BASE_DAMAGE;
}
}
otherSprite._hp = otherSprite._hp - dmg;
if (thisSprite._personality == AI_AGGRESSIVE) {
thisSprite._aggressiveRating = thisSprite._aggressiveRating + dmg;
} else if (thisSprite._personality == AI_RANGED) {
thisSprite._rangedRating = thisSprite._rangedRating + dmg;
}
if (otherSprite._personality == AI_AGGRESSIVE) {
otherSprite._aggressiveRating = otherSprite._aggressiveRating - dmg;
} else if (otherSprite._personality == AI_RANGED) {
otherSprite._rangedRating = otherSprite._rangedRating - dmg;
}
if (otherName != NAME_ZIM) {
otherSprite.gotoAndPlay("damage");
otherSprite._state = STATE_DAMAGE;
otherSprite._stateDone = false;
otherSprite._yspd = -15;
otherSprite._airborne = true;
if (thisSprite.projectile._xscale > 0) {
otherSprite._atkdirX = ATKDIR_NONELEFT;
} else {
otherSprite._atkdirX = ATKDIR_NONERIGHT;
}
if (thisName == NAME_ROWDY) {
otherSprite._yspd = -10;
if (thisSprite.projectile._xscale > 0) {
otherSprite._atkdirX = ATKDIR_LEFT;
} else {
otherSprite._atkdirX = ATKDIR_RIGHT;
}
if (thisSprite.projectile._damage == BUTCH_DAMAGE) {
otherSprite._yspd = -3;
if (thisSprite.projectile._xscale > 0) {
otherSprite._atkdirX = ATKDIR_NONELEFT;
} else {
otherSprite._atkdirX = ATKDIR_NONERIGHT;
}
}
}
if (thisName == NAME_ZIM) {
otherSprite._yspd = -5;
if (thisSprite._state == STATE_RUN) {
if (!faceLeft) {
otherSprite._atkdirX = ATKDIR_LEFT;
} else {
otherSprite._atkdirX = ATKDIR_RIGHT;
}
} else if (faceLeft) {
otherSprite._atkdirX = ATKDIR_LEFT;
} else {
otherSprite._atkdirX = ATKDIR_RIGHT;
}
}
otherSprite._atkdirY = ATKDIR_NONE;
if (thisName != NAME_ROWDY) {
otherSprite._juggles = otherSprite._juggles + 0.8;
}
otherSprite._dashFuel = 15;
} else if (otherSprite._recover) {
otherSprite._hp = otherSprite._hp + dmg;
} else {
otherSprite.zim.gotoAndPlay("damaged");
}
if (!otherSprite._recover) {
effectHit[effectHitCounter]._x = otherSprite._x;
effectHit[effectHitCounter]._y = otherSprite._y;
effectHit[effectHitCounter]._rotation = Math.random() * 360;
effectHit[effectHitCounter].gotoAndPlay(1);
effectHit[effectHitCounter]._visible = true;
effectHitCounter = (effectHitCounter + 1) % MAX_HITEFFECTS;
thisSprite.combo.num++;
if (thisSprite.combo.num > 1) {
thisSprite.combo.gotoAndPlay(1);
thisSprite.combo._visible = true;
}
}
}
} else if ((((thisSprite.projectile._visible && (otherSprite.projectile._visible)) && (!thisSprite.projectile._hitDone)) && (!otherSprite.projectile._hitDone)) && (thisSprite.projectile.atk.hitTest(otherSprite.projectile))) {
if ((thisName == NAME_BUBBLES) && (otherName == NAME_BUBBLES)) {
thisSprite.projectile.gotoAndPlay("subside");
otherSprite.projectile.gotoAndPlay("subside");
}
}
}
if ((((!otherSprite._invincible) && (!damageDone[spriteIndex][otherIndex])) && (thisSprite.atk.hitTest(otherSprite._x, otherSprite._y, true) || ((((otherName == NAME_ZIM) && (!otherSprite._vulnerable)) && (thisSprite._airborne)) && (thisSprite.atk.hitTest(otherSprite._x, otherSprite._y + ZIM_Y_OFFSET2, true))))) && (otherSprite._juggles < MAX_COMBO)) {
dmg = Math.round((thisSprite._damage * BASE_DAMAGE) / 5);
if (otherSprite._deflect) {
dmg = 0;
}
if (((otherSprite._hp - dmg) > MIN_HP) && (((((otherSprite._state == STATE_SHIELD) || (otherSprite._state == STATE_SHIELDDAMAGE)) || (otherSprite._deflect)) && (((otherSprite._xscale > 0) && (((thisSprite._atkdirX == ATKDIR_RIGHT) || (thisSprite._atkdirX == ATKDIR_NONERIGHT)) || ((otherSprite._x >= thisSprite._x) && (thisSprite._atkdirX == ATKDIR_VACUUM)))) || ((otherSprite._xscale < 0) && (((thisSprite._atkdirX == ATKDIR_LEFT) || (thisSprite._atkdirX == ATKDIR_NONELEFT)) || ((otherSprite._x <= thisSprite._x) && (thisSprite._atkdirX == ATKDIR_VACUUM)))))) || ((otherai && ((otherSprite._state == STATE_IDLE) || (otherSprite._state == STATE_RUN))) && (prob(otherSprite._ai_shield))))) {
if (!(((otherSprite._xscale > 0) && (((thisSprite._atkdirX == ATKDIR_RIGHT) || (thisSprite._atkdirX == ATKDIR_NONERIGHT)) || ((otherSprite._x >= thisSprite._x) && (thisSprite._atkdirX == ATKDIR_VACUUM)))) || ((otherSprite._xscale < 0) && (((thisSprite._atkdirX == ATKDIR_LEFT) || (thisSprite._atkdirX == ATKDIR_NONELEFT)) || ((otherSprite._x <= thisSprite._x) && (thisSprite._atkdirX == ATKDIR_VACUUM)))))) {
otherSprite._xscale = otherSprite._xscale * -1;
}
if (otherSprite._deflect) {
if (otherSprite._yspd < -5) {
otherSprite._yspd = -5;
}
otherSprite._state = STATE_SHIELD;
otherSprite.gotoAndPlay("shield");
otherSprite.combo.gotoAndPlay("deflected");
otherSprite._deflected = true;
otherSprite.combo._visible = true;
if ((_numPlayers == 1) && (!otherai)) {
_root._numdeflects++;
}
gotoAndPlay (2276);
} else {
otherSprite._state = STATE_SHIELDDAMAGE;
otherSprite.gotoAndPlay("shielddamage");
if (otherSprite._yspd < -5) {
otherSprite._yspd = -5;
}
otherSprite._stateDone = false;
otherSprite._atkdirX = thisSprite._atkdirX;
if (ai) {
thisSprite._ai_flank = thisSprite._ai_flank + thisSprite._ai_flankspd;
}
if ((thisSprite._state == STATE_COMBO1) || (thisSprite._state == STATE_COMBO2)) {
dmg = 0;
}
otherSprite._hp = otherSprite._hp - dmg;
if (thisSprite._personality == AI_AGGRESSIVE) {
thisSprite._aggressiveRating = thisSprite._aggressiveRating + dmg;
} else if (thisSprite._personality == AI_RANGED) {
thisSprite._rangedRating = thisSprite._rangedRating + dmg;
}
if (otherSprite._personality == AI_AGGRESSIVE) {
otherSprite._aggressiveRating = otherSprite._aggressiveRating - dmg;
} else if (otherSprite._personality == AI_RANGED) {
otherSprite._rangedRating = otherSprite._rangedRating - dmg;
}
}
} else if (((otherSprite._hp - (thisSprite._damage * BASE_DAMAGE)) > MIN_HP) && ((thisName == NAME_BLOSSOM) && ((thisSprite._state == STATE_RANGED) || (thisSprite._state == STATE_AIRRANGED)))) {
if ((otherSprite._state != STATE_FROZEN) && (otherName != NAME_ZIM)) {
otherSprite.gotoAndPlay("frozen");
otherSprite._state = STATE_FROZEN;
otherSprite._stateDone = false;
if (otherSprite._yspd < -5) {
otherSprite._yspd = -5;
}
dmg = thisSprite._damage * BASE_DAMAGE;
if (_gameMode == MODE_TUTORIAL) {
dmg = 0;
}
otherSprite._hp = otherSprite._hp - dmg;
if (thisSprite._personality == AI_AGGRESSIVE) {
thisSprite._aggressiveRating = thisSprite._aggressiveRating + dmg;
} else if (thisSprite._personality == AI_RANGED) {
thisSprite._rangedRating = thisSprite._rangedRating + dmg;
}
if (otherSprite._personality == AI_AGGRESSIVE) {
otherSprite._aggressiveRating = otherSprite._aggressiveRating - dmg;
} else if (otherSprite._personality == AI_RANGED) {
otherSprite._rangedRating = otherSprite._rangedRating - dmg;
}
otherSprite._atkdirX = thisSprite._atkdirX;
otherSprite._atkdirY = thisSprite._atkdirY;
if (otherSprite._yspd > -5) {
otherSprite._yspd = -5;
}
otherSprite._airborne = true;
otherSprite._dashFuel = 15;
thisSprite.combo.num++;
if (thisSprite.combo.num > 1) {
thisSprite.combo.gotoAndPlay(1);
thisSprite.combo._visible = true;
}
}
} else {
if (otherName != NAME_ZIM) {
otherSprite.gotoAndPlay("damage");
otherSprite._state = STATE_DAMAGE;
otherSprite._stateDone = false;
if ((otherSprite._yspd < -5) && (thisSprite._atkdirY != ATKDIR_BOUNCE)) {
otherSprite._yspd = -5;
}
if (thisSprite._weakHit) {
if (thisSprite._state != STATE_AIRRANGED) {
if (((thisName == NAME_BUTTERCUP) && ((thisSprite._state == STATE_COMBO3B) || (thisSprite._state == STATE_RANGED))) || (((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) && (thisSprite._state == STATE_RANGED))) {
otherSprite._atkdirX = thisSprite._atkdirX;
} else if (thisSprite._atkdirX == ATKDIR_LEFT) {
otherSprite._atkdirX = ATKDIR_NONELEFT;
} else if (thisSprite._atkdirX == ATKDIR_RIGHT) {
otherSprite._atkdirX = ATKDIR_NONERIGHT;
} else {
otherSprite._atkdirX = thisSprite._atkdirX;
}
} else {
otherSprite._atkdirX = thisSprite._atkdirX;
}
otherSprite._atkdirY = thisSprite._atkdirY;
if (((thisName == NAME_BELL) || (thisName == NAME_SHIRABELL)) && (thisSprite._state == STATE_COMBO3)) {
otherSprite._atkdirY = ATKDIR_NONE;
}
otherSprite._airborne = true;
if ((thisName == NAME_BUTTERCUP) && (thisSprite._state == STATE_COMBO2)) {
otherSprite._juggles = otherSprite._juggles + 0.8;
}
} else {
otherSprite._atkdirX = thisSprite._atkdirX;
otherSprite._atkdirY = thisSprite._atkdirY;
otherSprite._juggles++;
}
if (otherSprite._atkdirY == ATKDIR_JUGGLE) {
if (otherSprite._yspd > -20) {
otherSprite._yspd = -20;
}
otherSprite._airborne = true;
} else if (otherSprite._atkdirY == ATKDIR_UP) {
if (otherSprite._yspd > -15) {
otherSprite._yspd = -15;
}
otherSprite._airborne = true;
} else if (otherSprite._atkdirY == ATKDIR_BOUNCE) {
if (otherSprite._y < 60) {
if (otherSprite._yspd > (-11 + (otherSprite._y / 12))) {
otherSprite._yspd = Math.floor(-11 + (otherSprite._y / 12));
}
} else if (otherSprite._yspd > -11) {
otherSprite._yspd = -11;
}
otherSprite._airborne = true;
} else if (otherSprite._atkdirY == ATKDIR_DOWN) {
if (otherSprite._y < 180) {
if (otherSprite._yspd > 0) {
otherSprite._yspd = 0;
}
} else if (otherSprite._yspd > -3) {
otherSprite._yspd = -3;
}
otherSprite._airborne = true;
} else if (otherSprite._atkdirY == ATKDIR_NONE) {
if (otherSprite._yspd > -5) {
otherSprite._yspd = -5;
}
otherSprite._airborne = true;
}
otherSprite._dashFuel = 15;
} else if (otherSprite._recover) {
otherSprite._hp = otherSprite._hp + dmg;
} else {
otherSprite.zim.gotoAndPlay("damaged");
if (thisSprite._state == STATE_DOWNATK) {
otherSprite._armour--;
}
if ((!otherai) && (otherSprite._armour <= 0)) {
otherSprite._armour = MAX_ARMOUR;
otherSprite.gotoAndPlay("vulnerable");
otherSprite._state = STATE_RANGED;
otherSprite._stateDone = false;
}
}
if (!otherSprite._recover) {
effectHit[effectHitCounter]._x = otherSprite._x;
effectHit[effectHitCounter]._y = otherSprite._y;
effectHit[effectHitCounter]._rotation = Math.random() * 360;
effectHit[effectHitCounter].gotoAndPlay(1);
effectHit[effectHitCounter]._visible = true;
effectHitCounter = (effectHitCounter + 1) % MAX_HITEFFECTS;
thisSprite.combo.num++;
if (thisSprite.combo.num > 1) {
thisSprite.combo.gotoAndPlay(1);
thisSprite.combo._visible = true;
}
}
dmg = thisSprite._damage * BASE_DAMAGE;
if (_gameMode == MODE_TUTORIAL) {
dmg = 0;
}
if ((otherName == NAME_SHIRABELL) && ((!otherai) || (_gameMode != MODE_STORY))) {
dmg = Math.round(dmg * 2);
} else if (otherName == NAME_ZIM) {
dmg = Math.round(dmg * 0.8);
} else if (thisName == NAME_ZIM) {
dmg = Math.round(dmg * (_difficulty / MAX_DIFFICULTY));
}
otherSprite._hp = otherSprite._hp - dmg;
if (thisSprite._personality == AI_AGGRESSIVE) {
thisSprite._aggressiveRating = thisSprite._aggressiveRating + dmg;
} else if (thisSprite._personality == AI_RANGED) {
thisSprite._rangedRating = thisSprite._rangedRating + dmg;
}
if (otherSprite._personality == AI_AGGRESSIVE) {
otherSprite._aggressiveRating = otherSprite._aggressiveRating - dmg;
} else if (otherSprite._personality == AI_RANGED) {
otherSprite._rangedRating = otherSprite._rangedRating - dmg;
}
}
damageDone[spriteIndex][otherIndex] = true;
}
if ((((!otherSprite.projectile._hitDone) && (otherSprite.projectile._visible)) && (thisSprite.atk.hitTest(otherSprite.projectile._x, otherSprite.projectile._y, true))) && ((thisSprite._state == STATE_RANGED) || (eval ((thisSprite._state == STATE_COMBO3B) && (thisName == NAME_BUTTERCUP))((thisSprite._state == STATE_COMBO3) && ((thisName == NAME_BLOSSOM) || (thisName == NAME_BUBBLES)))))) {
if (otherName == NAME_BUBBLES) {
otherSprite.projectile.gotoAndPlay("subside");
}
}
}
if ((otherName == NAME_ZIM) && (!otherSprite._vulnerable)) {
otherSprite._y = otherSprite._y + ZIM_Y_OFFSET;
}
if (_autodeflect) {
if ((thisSprite._state == STATE_IDLE) && (!ai)) {
thisSprite._deflect = false;
thisSprite._deflected = false;
thisSprite._deflectwait = false;
}
if ((otherSprite._state == STATE_IDLE) && (!otherai)) {
otherSprite._deflect = false;
otherSprite._deflected = false;
otherSprite._deflectwait = false;
}
}
spriteIndex++;
}
if (_scroll) {
chgtx = sprite[0]._x - SCREENSIZE_HALFWIDTH;
chgty = sprite[0]._y - 50;
chgtx = ((chgtx + sprite[1]._x) - SCREENSIZE_HALFWIDTH) / 2;
chgty = Math.min(chgty, sprite[1]._y - 50);
if (spriteName[1] == NAME_ZIM) {
chgtx = 0;
}
chgtx = Math.round(chgtx / 3);
chgty = Math.round(chgty / 3);
if ((terrain._x - chgtx) > -10) {
chgtx = terrain._x + 10;
}
if ((terrain._x - chgtx) < -250) {
chgtx = terrain._x + 250;
}
if ((terrain._y - chgty) < -245) {
chgty = terrain._y + 245;
}
if ((terrain._y - chgty) > -130) {
chgty = terrain._y + 130;
}
terrain._x = terrain._x - chgtx;
terrain._y = terrain._y - chgty;
fg1._x = fg1._x - (chgtx * 2);
fg1._y = fg1._y - (chgty * 2);
fg2._x = fg2._x - (chgtx * 2);
fg2._y = fg2._y - (chgty * 2);
spriteIndex = 0;
while (spriteIndex < _spriteInstances) {
sprite[spriteIndex]._x = sprite[spriteIndex]._x - chgtx;
sprite[spriteIndex]._y = sprite[spriteIndex]._y - chgty;
if (!sprite[spriteIndex].projectile._hitDone) {
sprite[spriteIndex].projectile._x = sprite[spriteIndex].projectile._x - chgtx;
sprite[spriteIndex].projectile._y = sprite[spriteIndex].projectile._y - chgty;
}
spriteIndex++;
}
opaque._x = terrain._x;
opaque._y = terrain._y;
}
sprite[0]._hp = Math.max(sprite[0]._hp, MIN_HP);
sprite[1]._hp = Math.max(sprite[1]._hp, MIN_HP);
hpbar0.hid._width = 200 - (sprite[0]._hp / 5);
hpbar0.cur._x = 100 + (sprite[0]._hp / 10);
hpbar1.hid._width = 200 - (sprite[1]._hp / 5);
hpbar1.cur._x = 100 + (sprite[1]._hp / 10);
if (sprite[0]._dashes < 300) {
sprite[0]._dashes++;
}
if (sprite[1]._dashes < 300) {
sprite[1]._dashes++;
}
dashbarframe0.dashbar._xscale = Math.min(100 - (sprite[0]._dashes / 3), 100);
dashbarframe1.dashbar._xscale = Math.min(100 - (sprite[1]._dashes / 3), 100);
spriteIndex = 0;
while (spriteIndex < _spriteInstances) {
if (((((sprite[spriteIndex]._invincible && (sprite[spriteIndex]._state != STATE_HIT)) && (sprite[spriteIndex]._state != STATE_DAMAGE)) && (sprite[spriteIndex]._state != STATE_DASH)) && (sprite[spriteIndex]._state != STATE_FALLEN)) && (sprite[spriteIndex]._state != STATE_RECOVER)) {
if (sprite[spriteIndex]._invincibleWait) {
sprite[spriteIndex]._invincible = false;
sprite[spriteIndex]._invincibleWait = false;
thisSprite._juggles = 0;
}
sprite[spriteIndex]._invincibleWait = true;
}
if (sprite[spriteIndex]._x < 0) {
sprite[spriteIndex]._x = 11;
}
if (sprite[spriteIndex]._x > 400) {
sprite[spriteIndex]._x = 389;
}
if ((sprite[spriteIndex]._y - (terrain._y + 245)) > 260) {
sprite[spriteIndex]._y = 203;
}
if ((sprite[spriteIndex]._y < -100) && (sprite[spriteIndex]._yspd < 0)) {
sprite[spriteIndex]._yspd = 0;
sprite[spriteIndex]._y = 0;
trace("Houston, we have a problem.");
}
spriteIndex++;
}
if ((sprite[0]._hp <= MIN_HP) || (sprite[1]._hp <= MIN_HP)) {
if (!_gameover) {
_gameover = true;
readyfight.removeMovieClip();
winFlash.play();
winFlash.colour = new Color(winFlash);
effectHit[MAX_HITEFFECTS]._visible = true;
if (sprite[0]._hp <= MIN_HP) {
sprite[1].combo._finish = true;
if (sprite[1].combo.num > 1) {
sprite[1].combo.gotoAndPlay(1);
}
winFlash.colour.setTransform(winClrTrans[spriteName[1]]);
effectHit[MAX_HITEFFECTS]._x = sprite[0]._x;
effectHit[MAX_HITEFFECTS]._y = sprite[0]._y;
} else {
sprite[0].combo._finish = true;
if (sprite[0].combo.num > 1) {
sprite[0].combo.gotoAndPlay(1);
}
winFlash.colour.setTransform(winClrTrans[spriteName[0]]);
effectHit[MAX_HITEFFECTS]._x = sprite[1]._x;
effectHit[MAX_HITEFFECTS]._y = sprite[1]._y;
}
effectHit[MAX_HITEFFECTS]._visible = true;
effectHit[MAX_HITEFFECTS].gotoAndPlay(1);
gotoAndPlay (2286);
}
}
if ((((((sprite[0]._hp <= MIN_HP) || (sprite[1]._hp <= MIN_HP)) && ((!sprite[0].projectile._visible) && (!sprite[1].projectile._visible))) && (!sprite[0]._airborne)) && (!sprite[1]._airborne)) && (((((sprite[0]._state == STATE_IDLE) || (sprite[1]._state == STATE_IDLE)) || (sprite[0]._state == STATE_RUN)) || (sprite[1]._state == STATE_RUN)) || ((sprite[0]._hp <= MIN_HP) && (sprite[1]._hp <= MIN_HP)))) {
if (sprite[0]._hp > MIN_HP) {
if (sprite[0]._state == STATE_RUN) {
sprite[0].gotoAndPlay("idle");
}
sprite[0]._state = STATE_IDLE;
if (spriteName[0] == NAME_DEXTER) {
if (((sprite[0]._xscale > 0) && (sprite[0]._x < sprite[1]._x)) || ((sprite[0]._xscale < 0) && (sprite[0]._x > sprite[1]._x))) {
sprite[0]._xscale = sprite[0]._xscale * -1;
}
if (((sprite[0]._xscale > 0) && (sprite[0]._x > 360)) || ((sprite[0]._xscale < 0) && (sprite[0]._x < 40))) {
sprite[0]._xscale = sprite[0]._xscale * -1;
}
}
}
if (sprite[1]._hp > MIN_HP) {
if (sprite[1]._state == STATE_RUN) {
sprite[1].gotoAndPlay("idle");
}
sprite[1]._state = STATE_IDLE;
if (spriteName[1] == NAME_DEXTER) {
if (((sprite[1]._xscale > 0) && (sprite[1]._x < sprite[0]._x)) || ((sprite[1]._xscale < 0) && (sprite[1]._x > sprite[0]._x))) {
sprite[1]._xscale = sprite[1]._xscale * -1;
}
if (((sprite[1]._xscale > 0) && (sprite[1]._x > 360)) || ((sprite[1]._xscale < 0) && (sprite[1]._x < 40))) {
sprite[1]._xscale = sprite[1]._xscale * -1;
}
}
}
gotoAndPlay (2290);
} else if (_gameover && ((sprite[0]._hp <= MIN_HP) || (sprite[1]._hp <= MIN_HP))) {
if (winFlash._currentframe != 1) {
gotoAndPlay (2271);
}
}
if (_returntomenu) {
stopAllSounds();
removeAllClips();
gotoAndPlay (1479);
} else if (_paused) {
gotoAndPlay (2268);
}
if (sprite[0]._deflected) {
sprite[0]._aideflected = true;
}
if (!sprite[0]._deflect) {
sprite[0]._deflected = false;
} else if (sprite[0]._deflectwait) {
sprite[0]._deflectwait = false;
} else {
sprite[0]._deflect = false;
}
if (sprite[1]._deflected) {
sprite[1]._aideflected = true;
sprite[1]._state = STATE_SHIELD;
sprite[1].gotoAndPlay("shield");
}
if (!sprite[1]._deflect) {
sprite[1]._deflected = false;
} else if (sprite[1]._deflectwait) {
sprite[1]._deflectwait = false;
} else {
sprite[1]._deflect = false;
}
if (_numPlayers == 1) {
_root._maxcombo = Math.max(sprite[0].combo.num, _root._maxcombo);
_root._timeelapsed++;
}
if (_infjuggle) {
MAX_COMBO = MAX_COMBO_BK;
}
if (_infdash) {
sprite[0]._dashes = 300;
sprite[1]._dashes = 300;
}
Frame 2267
gotoAndPlay (2266);
Frame 2269
sprite[0].stop();
sprite[1].stop();
sprite[0].anim.stop();
sprite[1].anim.stop();
sprite[0].projectile.stop();
sprite[1].projectile.stop();
Frame 2270
if (_paused) {
gotoAndPlay (2269);
} else {
if ((!sprite[0]._stateDone) || (sprite[0]._state != STATE_DAMAGE)) {
sprite[0].play();
}
if ((!sprite[1]._stateDone) || (sprite[1]._state != STATE_DAMAGE)) {
sprite[1].play();
}
if (sprite[0].anim._currentframe < sprite[0].anim._totalframes) {
sprite[0].anim.play();
}
if (sprite[1].anim._currentframe < sprite[1].anim._totalframes) {
sprite[1].anim.play();
}
sprite[0].projectile.play();
sprite[1].projectile.play();
gotoAndPlay (2266);
}
Frame 2271
_root.enterFrame = function () {
spriteIndex = 0;
while (spriteIndex < _spriteInstances) {
k = 0;
while (k < KEYSPERPLAYER) {
if ((!keyWasDown[spriteIndex][k]) && (Key.isDown(keyCode[spriteIndex][k]))) {
updateKeyCombo(spriteIndex, k);
} else if ((((_numPlayers == 1) && (_singlePlayerDualControlsEnabled)) && (!keyWasDown[spriteIndex][k])) && (Key.isDown(keyCode[spriteIndex + 1][k]))) {
updateKeyCombo(spriteIndex, k);
}
k++;
}
updateKeyCombo(spriteIndex, null);
onLeft = Key.isDown(keyCode[spriteIndex][KEYINDEX_LEFT]);
onRight = Key.isDown(keyCode[spriteIndex][KEYINDEX_RIGHT]);
onUp = Key.isDown(keyCode[spriteIndex][KEYINDEX_UP]);
onDown = Key.isDown(keyCode[spriteIndex][KEYINDEX_DOWN]);
onA = Key.isDown(keyCode[spriteIndex][KEYINDEX_A]);
onB = Key.isDown(keyCode[spriteIndex][KEYINDEX_B]);
if ((_numPlayers == 1) && (_singlePlayerDualControlsEnabled)) {
onLeft = onLeft || (Key.isDown(keyCode[1][KEYINDEX_LEFT]));
onRight = onRight || (Key.isDown(keyCode[1][KEYINDEX_RIGHT]));
onUp = onUp || (Key.isDown(keyCode[1][KEYINDEX_UP]));
onDown = onDown || (Key.isDown(keyCode[1][KEYINDEX_DOWN]));
onA = onA || (Key.isDown(keyCode[1][KEYINDEX_A]));
onB = onB || (Key.isDown(keyCode[1][KEYINDEX_B]));
}
newLeft = (!keyWasDown[spriteIndex][KEYINDEX_LEFT]) && (onLeft);
newRight = (!keyWasDown[spriteIndex][KEYINDEX_RIGHT]) && (onRight);
newUp = (!keyWasDown[spriteIndex][KEYINDEX_UP]) && (onUp);
newDown = (!keyWasDown[spriteIndex][KEYINDEX_DOWN]) && (onDown);
newA = (!keyWasDown[spriteIndex][KEYINDEX_A]) && (onA);
newB = (!keyWasDown[spriteIndex][KEYINDEX_B]) && (onB);
keyWasDown[spriteIndex][KEYINDEX_LEFT] = onLeft;
keyWasDown[spriteIndex][KEYINDEX_RIGHT] = onRight;
keyWasDown[spriteIndex][KEYINDEX_UP] = onUp;
keyWasDown[spriteIndex][KEYINDEX_DOWN] = onDown;
keyWasDown[spriteIndex][KEYINDEX_A] = onA;
keyWasDown[spriteIndex][KEYINDEX_B] = onB;
keyWasDown[spriteIndex][KEYINDEX_L] = onL;
keyWasDown[spriteIndex][KEYINDEX_R] = onR;
if (((newA || (newB)) && (!ai)) && (thisSprite._state == STATE_COMBO1)) {
if (!bufferedCombo2[spriteIndex]) {
if (newA) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
}
} else if (!bufferedCombo3[spriteIndex]) {
if (newA) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
}
} else if (((newA || (newB)) && (!ai)) && (thisSprite._state == STATE_COMBO2)) {
if (!bufferedCombo3[spriteIndex]) {
if (newA) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
}
}
spriteIndex++;
}
};
Frame 2272
sprite[0].stop();
sprite[1].stop();
sprite[0].anim.stop();
sprite[1].anim.stop();
sprite[0].projectile.stop();
sprite[1].projectile.stop();
Frame 2275
if ((!sprite[0]._stateDone) || (sprite[0]._state != STATE_DAMAGE)) {
sprite[0].play();
}
if ((!sprite[1]._stateDone) || (sprite[1]._state != STATE_DAMAGE)) {
sprite[1].play();
}
if (sprite[0].anim._currentframe < sprite[0].anim._totalframes) {
sprite[0].anim.play();
}
if (sprite[1].anim._currentframe < sprite[1].anim._totalframes) {
sprite[1].anim.play();
}
sprite[0].projectile.play();
sprite[1].projectile.play();
_root.enterFrame = null;
gotoAndPlay (2266);
Frame 2276
_root.enterFrame = function () {
spriteIndex = 0;
while (spriteIndex < _spriteInstances) {
k = 0;
while (k < KEYSPERPLAYER) {
if ((!keyWasDown[spriteIndex][k]) && (Key.isDown(keyCode[spriteIndex][k]))) {
updateKeyCombo(spriteIndex, k);
} else if ((((_numPlayers == 1) && (_singlePlayerDualControlsEnabled)) && (!keyWasDown[spriteIndex][k])) && (Key.isDown(keyCode[spriteIndex + 1][k]))) {
updateKeyCombo(spriteIndex, k);
}
k++;
}
updateKeyCombo(spriteIndex, null);
onLeft = Key.isDown(keyCode[spriteIndex][KEYINDEX_LEFT]);
onRight = Key.isDown(keyCode[spriteIndex][KEYINDEX_RIGHT]);
onUp = Key.isDown(keyCode[spriteIndex][KEYINDEX_UP]);
onDown = Key.isDown(keyCode[spriteIndex][KEYINDEX_DOWN]);
onA = Key.isDown(keyCode[spriteIndex][KEYINDEX_A]);
onB = Key.isDown(keyCode[spriteIndex][KEYINDEX_B]);
if ((_numPlayers == 1) && (_singlePlayerDualControlsEnabled)) {
onLeft = onLeft || (Key.isDown(keyCode[1][KEYINDEX_LEFT]));
onRight = onRight || (Key.isDown(keyCode[1][KEYINDEX_RIGHT]));
onUp = onUp || (Key.isDown(keyCode[1][KEYINDEX_UP]));
onDown = onDown || (Key.isDown(keyCode[1][KEYINDEX_DOWN]));
onA = onA || (Key.isDown(keyCode[1][KEYINDEX_A]));
onB = onB || (Key.isDown(keyCode[1][KEYINDEX_B]));
}
newLeft = (!keyWasDown[spriteIndex][KEYINDEX_LEFT]) && (onLeft);
newRight = (!keyWasDown[spriteIndex][KEYINDEX_RIGHT]) && (onRight);
newUp = (!keyWasDown[spriteIndex][KEYINDEX_UP]) && (onUp);
newDown = (!keyWasDown[spriteIndex][KEYINDEX_DOWN]) && (onDown);
newA = (!keyWasDown[spriteIndex][KEYINDEX_A]) && (onA);
newB = (!keyWasDown[spriteIndex][KEYINDEX_B]) && (onB);
keyWasDown[spriteIndex][KEYINDEX_LEFT] = onLeft;
keyWasDown[spriteIndex][KEYINDEX_RIGHT] = onRight;
keyWasDown[spriteIndex][KEYINDEX_UP] = onUp;
keyWasDown[spriteIndex][KEYINDEX_DOWN] = onDown;
keyWasDown[spriteIndex][KEYINDEX_A] = onA;
keyWasDown[spriteIndex][KEYINDEX_B] = onB;
keyWasDown[spriteIndex][KEYINDEX_L] = onL;
keyWasDown[spriteIndex][KEYINDEX_R] = onR;
if (((newA || (newB)) && (!ai)) && (thisSprite._state == STATE_COMBO1)) {
if (!bufferedCombo2[spriteIndex]) {
if (newA) {
bufferedCombo2[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo2[spriteIndex] = KEYINDEX_B;
}
} else if (!bufferedCombo3[spriteIndex]) {
if (newA) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
}
} else if (((newA || (newB)) && (!ai)) && (thisSprite._state == STATE_COMBO2)) {
if (!bufferedCombo3[spriteIndex]) {
if (newA) {
bufferedCombo3[spriteIndex] = KEYINDEX_A;
} else {
bufferedCombo3[spriteIndex] = KEYINDEX_B;
}
}
}
spriteIndex++;
}
};
Frame 2277
sprite[0].stop();
sprite[1].stop();
sprite[0].anim.stop();
sprite[1].anim.stop();
sprite[0].projectile.stop();
sprite[1].projectile.stop();
Frame 2278
terrain.colour = new Color(terrain);
terrain.colour.setTransform(deflectClrTrans);
Frame 2279
terrain.colour = new Color(terrain);
terrain.colour.setTransform(normalClrTrans);
Frame 2280
terrain.colour = new Color(terrain);
terrain.colour.setTransform(deflectClrTrans);
Frame 2281
terrain.colour = new Color(terrain);
terrain.colour.setTransform(normalClrTrans);
Frame 2282
terrain.colour = new Color(terrain);
terrain.colour.setTransform(normalClrTrans);
Frame 2285
if ((!sprite[0]._stateDone) || (sprite[0]._state != STATE_DAMAGE)) {
sprite[0].play();
}
if ((!sprite[1]._stateDone) || (sprite[1]._state != STATE_DAMAGE)) {
sprite[1].play();
}
if (sprite[0].anim._currentframe < sprite[0].anim._totalframes) {
sprite[0].anim.play();
}
if (sprite[1].anim._currentframe < sprite[1].anim._totalframes) {
sprite[1].anim.play();
}
sprite[0].projectile.play();
sprite[1].projectile.play();
_root.enterFrame = null;
gotoAndPlay (2266);
Frame 2286
stopAllSounds();
if ((sprite[0]._hp <= MIN_HP) && ((spriteName[0] == NAME_DEXTER) || (spriteName[0] == NAME_ROWDY))) {
gotoAndPlay (2288);
} else if ((sprite[1]._hp <= MIN_HP) && ((spriteName[1] == NAME_DEXTER) || (spriteName[1] == NAME_ROWDY))) {
gotoAndPlay (2288);
} else if ((sprite[1]._hp <= MIN_HP) && (spriteName[1] == NAME_ZIM)) {
sprite[1]._recover = true;
if (sprite[1]._vulnerable) {
sprite[1].gotoAndPlay("diefast");
} else {
sprite[1].gotoAndPlay("die");
}
gotoAndPlay (2266);
}
Frame 2287
gotoAndPlay (2266);
Frame 2289
gotoAndPlay (2266);
Frame 2290
_gameover = false;
Frame 2294
if (sprite[0]._state == STATE_IDLE) {
sprite[0].swapDepths(sprite[1]);
}
Frame 2297
_wait2 = 30;
_wait = 125;
_root.attachMovie("wins", "wins", Z_READY);
wins._x = 200;
wins._y = 120;
if (sprite[0]._state == STATE_IDLE) {
hpbarframe0.chemx.gotoAndStop(hpbarframe0.chemx._currentframe + 1);
wins.name = SPRITE_NAME[spriteName[0]];
wins.gotoAndStop(1);
_round++;
} else if (sprite[1]._state == STATE_IDLE) {
hpbarframe1.chemx2.gotoAndStop(hpbarframe1.chemx2._currentframe + 1);
wins.name = SPRITE_NAME[spriteName[1]];
wins.gotoAndStop(1);
_round++;
if (_numPlayers == 1) {
_root._numroundslost++;
}
} else {
wins.gotoAndStop(2);
}
Frame 2298
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
Frame 2299
if (((((!keyWasDown[0][KEYINDEX_A]) && (Key.isDown(keyCode[0][KEYINDEX_A]))) || ((!keyWasDown[0][KEYINDEX_B]) && (Key.isDown(keyCode[0][KEYINDEX_B])))) || ((!keyWasDown[1][KEYINDEX_A]) && (Key.isDown(keyCode[1][KEYINDEX_A])))) || ((!keyWasDown[1][KEYINDEX_B]) && (Key.isDown(keyCode[1][KEYINDEX_B])))) {
_wait = 0;
gotoAndPlay (2301);
} else {
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
}
Frame 2300
if ((_wait2--) > 0) {
gotoAndPlay (2299);
}
Frame 2302
if ((_wait--) > 0) {
gotoAndPlay (2305);
}
if (sprite[0]._state == STATE_IDLE) {
sprite[0].gotoAndPlay("win");
if (((!sprite[1]._android) && (spriteName[1] == NAME_DEXTER)) && (spriteName[0] != NAME_DEXTER)) {
sprite[1].gotoAndPlay("die");
}
} else if (sprite[1]._state == STATE_IDLE) {
sprite[1].gotoAndPlay("win");
if (spriteName[0] == NAME_DEXTER) {
sprite[0].gotoAndPlay("die");
}
}
Frame 2304
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
Frame 2305
if (((((!keyWasDown[0][KEYINDEX_A]) && (Key.isDown(keyCode[0][KEYINDEX_A]))) || ((!keyWasDown[0][KEYINDEX_B]) && (Key.isDown(keyCode[0][KEYINDEX_B])))) || ((!keyWasDown[1][KEYINDEX_A]) && (Key.isDown(keyCode[1][KEYINDEX_A])))) || ((!keyWasDown[1][KEYINDEX_B]) && (Key.isDown(keyCode[1][KEYINDEX_B])))) {
gotoAndPlay (2307);
} else {
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
}
Frame 2306
if ((_wait--) > 0) {
gotoAndPlay (2305);
}
Frame 2310
if (((_numplayers == 1) && (_gameMode == MODE_STORY)) && (hpbarframe0.chemx._currentframe == 3)) {
if (_quality == "LOW") {
_quality = "MEDIUM";
}
_root.attachMovie("stories", "stories", Z_STORIES);
stories.gotoAndPlay(((SPRITE_NAME[spriteName[0]] + "-") + SPRITE_NAME[spriteName[1]]) + "-end");
wins.removeMovieClip();
_wait = true;
} else {
_wait = false;
}
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
Frame 2312
if (((((!_wait) || ((!keyWasDown[0][KEYINDEX_A]) && (Key.isDown(keyCode[0][KEYINDEX_A])))) || ((!keyWasDown[0][KEYINDEX_B]) && (Key.isDown(keyCode[0][KEYINDEX_B])))) || ((!keyWasDown[1][KEYINDEX_A]) && (Key.isDown(keyCode[1][KEYINDEX_A])))) || ((!keyWasDown[1][KEYINDEX_B]) && (Key.isDown(keyCode[1][KEYINDEX_B])))) {
stories.removeMovieClip();
} else {
keyWasDown[0][KEYINDEX_A] = Key.isDown(keyCode[0][KEYINDEX_A]);
keyWasDown[0][KEYINDEX_B] = Key.isDown(keyCode[0][KEYINDEX_B]);
keyWasDown[1][KEYINDEX_A] = Key.isDown(keyCode[1][KEYINDEX_A]);
keyWasDown[1][KEYINDEX_B] = Key.isDown(keyCode[1][KEYINDEX_B]);
gotoAndPlay (2311);
}
Frame 2313
stopAllSounds();
_quality = _gamequality;
Frame 2321
if (((_gameMode == MODE_STORY) && (hpbarframe0.chemx._currentframe == 3)) && (_storylevel >= (NUMOF_OPPONENTS - 1))) {
} else {
_root.attachMovie("fader2", "fader", Z_FADER);
}
fps.removeMovieClip();
wins.removeMovieClip();
stopAllSounds();
Frame 2332
if (sprite[0]._state == STATE_IDLE) {
sprite[0].swapDepths(sprite[1]);
}
if ((hpbarframe0.chemx._currentframe != 3) && (hpbarframe1.chemx2._currentframe != 3)) {
gotoAndPlay (2258);
} else if ((_gameMode == MODE_STORY) && (hpbarframe0.chemx._currentframe == 3)) {
_storylevel++;
_characterused = spriteName[0];
removeAllClips();
if ((_storylevel >= NUMOF_OPPONENTS) || ((_storylevel >= (NUMOF_OPPONENTS - 1)) && (_difficulty <= 5))) {
if (((!_zimsurvivalunlock) && (!_continue)) && (_difficulty < 6)) {
gotoAndPlay (4644);
} else if (_difficulty < 6) {
gotoAndPlay (2777);
} else {
gotoAndPlay (2772);
}
} else {
gotoAndPlay (2148);
}
} else if ((_gameMode == MODE_SURVIVAL) && (hpbarframe0.chemx._currentframe == 3)) {
_survivalhp = sprite[0]._hp + Math.round((MAX_HP - MIN_HP) * (((MAX_DIFFICULTY * 2) - _difficulty) / (MAX_DIFFICULTY * 2)));
if (_survivalhp > MAX_HP) {
_survivalhp = MAX_HP;
}
removeAllClips();
_winstreak++;
if (_difficulty < (MAX_DIFFICULTY * 2)) {
_difficulty++;
}
gotoAndPlay (2148);
} else {
removeAllClips();
if (_gameMode == MODE_STORY) {
gotoAndPlay (2352);
} else if (_gameMode == MODE_SURVIVAL) {
if ((_survival2 && (_winstreak >= 2)) && (!_zimunlock)) {
gotoAndPlay (4641);
} else if ((_winstreak >= 10) && (!_shirasurvivalunlock)) {
gotoAndPlay (4647);
} else {
gotoAndPlay (2352);
}
} else {
_continue = true;
gotoAndPlay (2135);
}
}
_root.attachMovie("fader", "fader", Z_FADER);
Frame 2352
contwins = "";
Frame 2362
pic0.gotoAndStop(spriteName[0] + 1);
if (_gameMode == MODE_SURVIVAL) {
contwins = _winstreak + " WINS";
_difficulty = 1;
_winstreak = 0;
if (_survival2) {
_difficulty = 10;
}
_survivalhp = MAX_HP;
}
Frame 2771
gotoAndPlay (1479);
Frame 2772
if (_root._quality == "LOW") {
_root._quality = "MEDIUM";
}
Frame 2773
gotoAndPlay (2772);
Frame 2774
_root._diffset = "Difficulty: " + _root._difficulty;
_root._swapchars = "Number of Characters: " + _root._swapchars.length;
_root._characterused = "Last Character Used: " + _root.SPRITE_NAME[_root._characterused];
_root._minuteselapsed = Math.round(((_root._timeelapsed / 25) / 60) * 100) / 100;
_root._minuteselapsed = "Minutes Elapsed: " + _root._minuteselapsed;
_root._numcontinues = "Continues Used: " + _root._numcontinues;
_root._numroundslost = "Rounds Lost: " + _root._numroundslost;
_root._numdeflects = "Successful Deflects: " + _root._numdeflects;
_root._maxcombo = "Max Combo: " + Math.max(sprite[0].combo.num, _root._maxcombo);
_root._cheats = "";
if (_root._infdash) {
_root._cheats = _root._cheats + "I. Dash! ";
}
if (_root._infjuggle) {
_root._cheats = _root._cheats + "I. Jug.! ";
}
if (_root._autodeflect) {
_root._cheats = _root._cheats + "Auto-Def.! ";
}
if (_root._damagemult != 1) {
_root._cheats = _root._cheats + (("Dmg: " + _root._damagemult) + "x");
}
Frame 2776
gotoAndPlay (2775);
Frame 2878
stopAllSounds();
_root.onMouseDown = function () {
gotoAndPlay (4637);
};
Frame 2887
_root.attachMovie("fader", "fader", Z_FADER);
Frame 4517
_root.onMouseDown = null;
Frame 4637
stopAllSounds();
gotoAndPlay (1479);
_root.onMouseDown = null;
Frame 4638
_shiraunlock = true;
_root.myLocal_so.data._shiraunlock = _root._shiraunlock;
_root.myLocal_so.flush();
Frame 4640
gotoAndPlay (4639);
Frame 4641
_zimunlock = true;
_root.myLocal_so.data._zimunlock = _root._zimunlock;
_root.myLocal_so.flush();
Frame 4643
gotoAndPlay (4642);
Frame 4644
_zimsurvivalunlock = true;
_root.myLocal_so.data._zimsurvivalunlock = _root._zimsurvivalunlock;
_root.myLocal_so.flush();
Frame 4646
gotoAndPlay (4645);
Frame 4647
_shirasurvivalunlock = true;
_root.myLocal_so.data._shirasurvivalunlock = _root._shirasurvivalunlock;
_root.myLocal_so.flush();
Frame 4649
gotoAndPlay (4648);
Frame 4650
_extraoptionsunlock = true;
_root.myLocal_so.data._extraoptionsunlock = _root._extraoptionsunlock;
_root.myLocal_so.flush();
Frame 4652
gotoAndPlay (4651);
Symbol 5 Button
on (release) {
getURL ("http://www.flashportal.com/", "_blank");
}
Symbol 31 MovieClip Frame 14
stop();
Symbol 118 Button
on (release) {
_root.gotoAndPlay("loaddone");
}
Symbol 119 MovieClip Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 119 MovieClip Frame 2
gotoAndPlay (1);
Symbol 125 MovieClip Frame 11
stop();
Symbol 129 Button
on (release) {
_root._singlePlayerDualControlsEnabled = true;
gotoAndPlay (323);
}
Symbol 135 MovieClip Frame 1
kstring = _root.keyToString(_root.keyCode[player][index]);
Symbol 135 MovieClip Frame 2
gotoAndPlay (1);
Symbol 135 MovieClip Frame 3
this._focusrect = false;
this.focusEnabled = true;
Selection.setFocus(this);
this.onKeyDown = function () {
newkey = Key.getCode();
_root._gettingNewKey = false;
_root.keyCode[player][index] = newkey;
this.onKeyDown = null;
gotoAndPlay (1);
};
Symbol 135 MovieClip Frame 4
gotoAndPlay (3);
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_LEFT;
}
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_RIGHT;
}
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_UP;
}
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_DOWN;
}
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_B;
}
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
player = 0;
index = _root.KEYINDEX_A;
}
Symbol 159 MovieClip Frame 121
gotoAndPlay (1);
Symbol 159 MovieClip Frame 124
gotoAndPlay (1);
Symbol 161 Button
on (release) {
if (!hi) {
hi = 0;
}
gotoAndPlay (258);
}
Symbol 165 Button
on (release) {
gotoAndPlay (256);
}
Symbol 171 MovieClip Frame 2
if (Math.abs(_root.chance - _root.maxchance) < Math.abs(_root.chance - _root.minchance)) {
if (Math.random() < Math.max(_root.chance, _root.slowchance)) {
gotoAndPlay (1);
}
} else if (Math.random() < _root.chance) {
gotoAndPlay (1);
}
Symbol 171 MovieClip Frame 4
if (Math.abs(_root.chance - _root.maxchance) < Math.abs(_root.chance - _root.minchance)) {
if (Math.random() < Math.max(_root.chance, _root.slowchance)) {
gotoAndPlay (3);
}
} else if (Math.random() < _root.chance) {
gotoAndPlay (3);
}
Symbol 171 MovieClip Frame 6
if (Math.abs(_root.chance - _root.maxchance) < Math.abs(_root.chance - _root.minchance)) {
if (Math.random() < Math.max(_root.chance, _root.slowchance)) {
gotoAndPlay (5);
}
} else if (Math.random() < _root.chance) {
gotoAndPlay (5);
}
Symbol 171 MovieClip Frame 7
pipe.gotoAndPlay(2);
Symbol 171 MovieClip Frame 27
if (this.hitTest(_root.gir)) {
if (_root.deflect >= 0) {
_root.deflect = -7;
gotoAndPlay (74);
} else {
gotoAndPlay (60);
_root.girhit = true;
}
}
if (_root.chance > _root.minchance) {
_root.chance = _root.chance - 0.001;
} else {
_root.chance = _root.maxchance;
if (_root.minchance > _root.absmin) {
_root.maxchance = _root.maxchance - 0.01;
_root.minchance = _root.minchance - 0.01;
}
}
Symbol 171 MovieClip Frame 28
if (!_root.girhit) {
_root.pts++;
}
Symbol 171 MovieClip Frame 48
gotoAndPlay (1);
Symbol 171 MovieClip Frame 60
_root.ptsbk = _root.pts;
_root.girhit = true;
Symbol 171 MovieClip Frame 73
gotoAndPlay (1);
Symbol 171 MovieClip Frame 74
if (!_root.girhit) {
_root.pts = _root.pts + 10;
}
_root.deflect.play();
Symbol 171 MovieClip Frame 87
gotoAndPlay (1);
Symbol 173 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 124
gotoAndPlay (5);
Symbol 217 MovieClip Frame 1
if (_parent.num) {
gotoAndStop(_parent.num + 1);
}
Symbol 217 MovieClip Frame 2
gotoAndPlay (1);
Symbol 218 Button
on (release) {
if (!_root._gettingNewKey) {
_root.myLocal_so.data.keyCode = _root.keyCode;
_root.myLocal_so.flush();
controlsOkay = true;
k = 0;
while (k < 2) {
i = 0;
while (i < _root.KEYSPERPLAYER) {
j = 0;
while (j < _root.KEYSPERPLAYER) {
if (((k != 0) || (i != j)) && (_root.keyCode[0][i] == _root.keyCode[k][j])) {
controlsOkay = false;
break;
}
j++;
}
i++;
}
k++;
}
if (controlsOkay) {
gotoAndPlay (256);
} else {
gotoAndPlay (326);
}
}
}
Symbol 225 Button
on (release) {
if (!_root._gettingNewKey) {
keyCode[0][KEYINDEX_UP] = 87;
keyCode[0][KEYINDEX_DOWN] = 83;
keyCode[0][KEYINDEX_LEFT] = 65;
keyCode[0][KEYINDEX_RIGHT] = 68;
keyCode[0][KEYINDEX_B] = 70;
keyCode[0][KEYINDEX_A] = 71;
}
}
Symbol 229 Button
on (release) {
if (!_root._gettingNewKey) {
keyCode[0][KEYINDEX_UP] = 87;
keyCode[0][KEYINDEX_DOWN] = 83;
keyCode[0][KEYINDEX_LEFT] = 65;
keyCode[0][KEYINDEX_RIGHT] = 68;
keyCode[0][KEYINDEX_B] = 66;
keyCode[0][KEYINDEX_A] = 78;
}
}
Symbol 233 Button
on (release) {
if (!_root._gettingNewKey) {
keyCode[1][KEYINDEX_UP] = 38;
keyCode[1][KEYINDEX_DOWN] = 40;
keyCode[1][KEYINDEX_LEFT] = 37;
keyCode[1][KEYINDEX_RIGHT] = 39;
keyCode[1][KEYINDEX_B] = 97;
keyCode[1][KEYINDEX_A] = 98;
}
}
Symbol 237 Button
on (release) {
if (!_root._gettingNewKey) {
keyCode[1][KEYINDEX_UP] = 38;
keyCode[1][KEYINDEX_DOWN] = 40;
keyCode[1][KEYINDEX_LEFT] = 37;
keyCode[1][KEYINDEX_RIGHT] = 39;
keyCode[1][KEYINDEX_B] = 62;
keyCode[1][KEYINDEX_A] = 63;
}
}
Symbol 240 Button
on (release) {
if (!_root._gettingNewKey) {
kstring = "<PRESS KEY>";
_root._gettingNewKey = true;
gotoAndPlay (3);
}
}
Symbol 242 MovieClip Frame 1
kstring = _root.keyToString(_root.keyCode[player][index]);
Symbol 242 MovieClip Frame 2
gotoAndPlay (1);
Symbol 242 MovieClip Frame 3
this._focusrect = false;
this.focusEnabled = true;
Selection.setFocus(this);
this.onKeyDown = function () {
newkey = Key.getCode();
_root._gettingNewKey = false;
_root.keyCode[player][index] = newkey;
this.onKeyDown = null;
gotoAndPlay (1);
};
Symbol 242 MovieClip Frame 4
gotoAndPlay (3);
Symbol 245 Button
on (release) {
gotoAndPlay (256);
}
Symbol 246 Button
on (release) {
gotoAndPlay (323);
}
Symbol 248 MovieClip Frame 1
this._visible = !_parent._airborne;
if (this._visible && (_parent._hp <= _root.MIN_HP)) {
gotoAndPlay (3);
}
Symbol 248 MovieClip Frame 2
gotoAndPlay (1);
Symbol 248 MovieClip Frame 5
if (_parent._hp <= _root.MIN_HP) {
gotoAndPlay (4);
}
Symbol 278 MovieClip [opaque] Frame 1
this._visible = false;
Symbol 331 MovieClip Frame 28
stop();
Symbol 336 MovieClip Frame 22
stop();
Symbol 338 MovieClip Frame 15
stop();
Symbol 370 MovieClip [Bell] Frame 49
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 58
gotoAndPlay (50);
Symbol 370 MovieClip [Bell] Frame 61
gotoAndPlay (50);
Symbol 370 MovieClip [Bell] Frame 70
gotoAndPlay (62);
Symbol 370 MovieClip [Bell] Frame 85
gotoAndPlay (71);
Symbol 370 MovieClip [Bell] Frame 94
stop();
Symbol 370 MovieClip [Bell] Frame 108
_weakHit = true;
Symbol 370 MovieClip [Bell] Frame 113
_comboDone = true;
Symbol 370 MovieClip [Bell] Frame 117
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 121
_weakHit = true;
Symbol 370 MovieClip [Bell] Frame 126
_comboDone = true;
Symbol 370 MovieClip [Bell] Frame 130
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 131
_stateChange = false;
Symbol 370 MovieClip [Bell] Frame 134
_weakHit = true;
_stateChange = true;
Symbol 370 MovieClip [Bell] Frame 137
_stateChange = true;
Symbol 370 MovieClip [Bell] Frame 140
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 143
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 146
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 149
_weakHit = false;
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 157
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 163
_weakHit = true;
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 165
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 167
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 169
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 171
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 173
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 175
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 177
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 179
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 181
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 183
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 185
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 187
_weakHit = false;
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 203
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 218
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 228
_weakHit = true;
Symbol 370 MovieClip [Bell] Frame 232
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 236
_hitDone = true;
Symbol 370 MovieClip [Bell] Frame 244
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 257
gotoAndPlay (256);
Symbol 370 MovieClip [Bell] Frame 284
_stateDone = true;
gotoAndPlay (62);
Symbol 370 MovieClip [Bell] Frame 291
_stateDone = true;
stop();
Symbol 370 MovieClip [Bell] Frame 302
gotoAndPlay (301);
Symbol 370 MovieClip [Bell] Frame 313
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 326
gotoAndPlay (314);
Symbol 370 MovieClip [Bell] Frame 327
_stateChange = false;
Symbol 370 MovieClip [Bell] Frame 329
_stateChange = true;
Symbol 370 MovieClip [Bell] Frame 341
_stateDone = true;
gotoAndPlay (62);
Symbol 370 MovieClip [Bell] Frame 368
_stateDone = true;
gotoAndPlay (314);
Symbol 370 MovieClip [Bell] Frame 433
_stateDone = true;
gotoAndPlay (1);
Symbol 370 MovieClip [Bell] Frame 502
stop();
Symbol 439 MovieClip Frame 22
stop();
Symbol 441 MovieClip Frame 7
stop();
Symbol 471 MovieClip [Blossom] Frame 49
gotoAndPlay (1);
Symbol 471 MovieClip [Blossom] Frame 58
gotoAndPlay (50);
Symbol 471 MovieClip [Blossom] Frame 61
gotoAndPlay (50);
Symbol 471 MovieClip [Blossom] Frame 70
gotoAndPlay (62);
Symbol 471 MovieClip [Blossom] Frame 85
gotoAndPlay (71);
Symbol 471 MovieClip [Blossom] Frame 94
stop();
Symbol 471 MovieClip [Blossom] Frame 108
_weakHit = true;
Symbol 471 MovieClip [Blossom] Frame 113
_comboDone = true;
Symbol 471 MovieClip [Blossom] Frame 117
_stateDone = true;
gotoAndPlay (1);
Symbol 471 MovieClip [Blossom] Frame 121
_weakHit = true;
Symbol 471 MovieClip [Blossom] Frame 126
_comboDone = true;
Symbol 471 MovieClip [Blossom] Frame 130
_stateDone = true;
gotoAndPlay (1);
Symbol 471 MovieClip [Blossom] Frame 155
_stateDone = true;
gotoAndPlay (62);
Symbol 471 MovieClip [Blossom] Frame 156
_stateChange = false;
Symbol 471 MovieClip [Blossom] Frame 158
_stateChange = true;
Symbol 471 MovieClip [Blossom] Frame 179
_stateDone = true;
gotoAndPlay (62);
Symbol 471 MovieClip [Blossom] Frame 223
_stateDone = true;
gotoAndPlay (1);
Symbol 471 MovieClip [Blossom] Frame 226
_weakHit = true;
Symbol 471 MovieClip [Blossom] Frame 229
_hitDone = true;
Symbol 471 MovieClip [Blossom] Frame 231
_weakHit = false;
_hitDone = true;
Symbol 471 MovieClip [Blossom] Frame 243
_stateDone = true;
gotoAndPlay (1);
Symbol 471 MovieClip [Blossom] Frame 270
_stateDone = true;
gotoAndPlay (62);
Symbol 471 MovieClip [Blossom] Frame 277
_stateDone = true;
stop();
Symbol 471 MovieClip [Blossom] Frame 287
gotoAndPlay (286);
Symbol 471 MovieClip [Blossom] Frame 298
_stateDone = true;
gotoAndPlay (1);
Symbol 471 MovieClip [Blossom] Frame 315
gotoAndPlay (303);
Symbol 471 MovieClip [Blossom] Frame 318
_stateChange = false;
Symbol 471 MovieClip [Blossom] Frame 321
_stateChange = true;
Symbol 471 MovieClip [Blossom] Frame 336
_stateDone = true;
gotoAndPlay (62);
Symbol 471 MovieClip [Blossom] Frame 354
_stateDone = true;
gotoAndPlay (303);
Symbol 471 MovieClip [Blossom] Frame 419
_stateDone = true;
gotoAndPlay (1);
Symbol 471 MovieClip [Blossom] Frame 565
stop();
Symbol 535 MovieClip Frame 22
stop();
Symbol 537 MovieClip Frame 7
stop();
Symbol 563 MovieClip [Bubbles] Frame 49
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 58
gotoAndPlay (50);
Symbol 563 MovieClip [Bubbles] Frame 61
gotoAndPlay (50);
Symbol 563 MovieClip [Bubbles] Frame 70
gotoAndPlay (62);
Symbol 563 MovieClip [Bubbles] Frame 85
gotoAndPlay (71);
Symbol 563 MovieClip [Bubbles] Frame 94
stop();
Symbol 563 MovieClip [Bubbles] Frame 108
_weakHit = true;
Symbol 563 MovieClip [Bubbles] Frame 113
_comboDone = true;
Symbol 563 MovieClip [Bubbles] Frame 117
_stateDone = true;
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 121
_weakHit = true;
Symbol 563 MovieClip [Bubbles] Frame 126
_comboDone = true;
Symbol 563 MovieClip [Bubbles] Frame 130
_stateDone = true;
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 150
_stateDone = true;
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 156
_stateChange = false;
Symbol 563 MovieClip [Bubbles] Frame 159
_stateChange = true;
Symbol 563 MovieClip [Bubbles] Frame 182
_stateDone = true;
gotoAndPlay (62);
Symbol 563 MovieClip [Bubbles] Frame 202
_hitDone = true;
Symbol 563 MovieClip [Bubbles] Frame 212
_stateDone = true;
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 222
_hitDone = true;
Symbol 563 MovieClip [Bubbles] Frame 231
_stateDone = true;
gotoAndPlay (62);
Symbol 563 MovieClip [Bubbles] Frame 260
_stateDone = true;
gotoAndPlay (62);
Symbol 563 MovieClip [Bubbles] Frame 267
_stateDone = true;
stop();
Symbol 563 MovieClip [Bubbles] Frame 278
gotoAndPlay (277);
Symbol 563 MovieClip [Bubbles] Frame 289
_stateDone = true;
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 295
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 308
gotoAndPlay (296);
Symbol 563 MovieClip [Bubbles] Frame 335
_stateDone = true;
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 347
_stateDone = true;
gotoAndPlay (296);
Symbol 563 MovieClip [Bubbles] Frame 412
_stateDone = true;
gotoAndPlay (1);
Symbol 563 MovieClip [Bubbles] Frame 516
stop();
Symbol 650 MovieClip Frame 22
stop();
Symbol 652 MovieClip Frame 7
stop();
Symbol 690 MovieClip [Buttercup] Frame 49
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 58
gotoAndPlay (50);
Symbol 690 MovieClip [Buttercup] Frame 61
gotoAndPlay (50);
Symbol 690 MovieClip [Buttercup] Frame 70
gotoAndPlay (62);
Symbol 690 MovieClip [Buttercup] Frame 85
gotoAndPlay (71);
Symbol 690 MovieClip [Buttercup] Frame 94
stop();
Symbol 690 MovieClip [Buttercup] Frame 108
_weakHit = true;
Symbol 690 MovieClip [Buttercup] Frame 113
_comboDone = true;
Symbol 690 MovieClip [Buttercup] Frame 117
_stateDone = true;
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 121
_weakHit = true;
Symbol 690 MovieClip [Buttercup] Frame 126
_comboDone = true;
Symbol 690 MovieClip [Buttercup] Frame 130
_stateDone = true;
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 131
_stateChange = false;
Symbol 690 MovieClip [Buttercup] Frame 135
_weakHit = true;
_stateChange = true;
Symbol 690 MovieClip [Buttercup] Frame 141
_hitDone = true;
Symbol 690 MovieClip [Buttercup] Frame 146
_weakHit = false;
_hitDone = true;
Symbol 690 MovieClip [Buttercup] Frame 155
_stateDone = true;
gotoAndPlay (62);
Symbol 690 MovieClip [Buttercup] Frame 156
_stateChange = false;
Symbol 690 MovieClip [Buttercup] Frame 158
_stateChange = true;
Symbol 690 MovieClip [Buttercup] Frame 173
_stateDone = true;
gotoAndPlay (62);
Symbol 690 MovieClip [Buttercup] Frame 211
_weakHit = true;
Symbol 690 MovieClip [Buttercup] Frame 214
_hitDone = true;
Symbol 690 MovieClip [Buttercup] Frame 217
_hitDone = true;
Symbol 690 MovieClip [Buttercup] Frame 229
_stateDone = true;
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 244
_stateDone = true;
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 271
_stateDone = true;
gotoAndPlay (62);
Symbol 690 MovieClip [Buttercup] Frame 272
_danger = false;
Symbol 690 MovieClip [Buttercup] Frame 278
_stateDone = true;
stop();
Symbol 690 MovieClip [Buttercup] Frame 289
gotoAndPlay (288);
Symbol 690 MovieClip [Buttercup] Frame 300
_stateDone = true;
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 319
gotoAndPlay (307);
Symbol 690 MovieClip [Buttercup] Frame 328
_danger = true;
Symbol 690 MovieClip [Buttercup] Frame 335
_weakHit = true;
Symbol 690 MovieClip [Buttercup] Frame 340
_hitDone = true;
_danger = false;
Symbol 690 MovieClip [Buttercup] Frame 344
_hitDone = true;
Symbol 690 MovieClip [Buttercup] Frame 348
_hitDone = true;
Symbol 690 MovieClip [Buttercup] Frame 352
_hitDone = true;
Symbol 690 MovieClip [Buttercup] Frame 363
_stateDone = true;
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 381
_stateDone = true;
gotoAndPlay (307);
Symbol 690 MovieClip [Buttercup] Frame 446
_stateDone = true;
gotoAndPlay (1);
Symbol 690 MovieClip [Buttercup] Frame 572
stop();
Symbol 738 MovieClip [projectile] Frame 1
_hitDone = !this._visible;
Symbol 738 MovieClip [projectile] Frame 9
gotoAndPlay (1);
Symbol 738 MovieClip [projectile] Frame 10
_hitDone = true;
Symbol 738 MovieClip [projectile] Frame 18
this._visible = false;
gotoAndPlay (1);
Symbol 738 MovieClip [projectile] Frame 115
_hitDone = true;
this._visible = false;
gotoAndPlay (1);
Symbol 738 MovieClip [projectile] Frame 258
_hitDone = true;
this._visible = false;
gotoAndPlay (1);
Symbol 742 MovieClip Frame 1
if (_parent.num == null) {
_parent.num = 0;
}
Symbol 745 MovieClip Frame 1
this._visible = _parent._finish;
Symbol 745 MovieClip Frame 2
gotoAndPlay (1);
Symbol 751 MovieClip [combo] Frame 1
staticnum = num;
if (staticnum <= 1) {
gotoAndStop (150);
}
Symbol 751 MovieClip [combo] Frame 15
if (finish._visible) {
wait = 40;
}
Symbol 751 MovieClip [combo] Frame 16
if (finish._visible) {
wait--;
}
Symbol 751 MovieClip [combo] Frame 17
if (finish._visible && (wait > 0)) {
gotoAndPlay (16);
}
Symbol 751 MovieClip [combo] Frame 57
if (finish._visible) {
wait = 120;
}
Symbol 751 MovieClip [combo] Frame 58
if (finish._visible) {
wait--;
}
Symbol 751 MovieClip [combo] Frame 59
if (finish._visible && (wait > 0)) {
gotoAndPlay (58);
}
Symbol 751 MovieClip [combo] Frame 70
stop();
Symbol 751 MovieClip [combo] Frame 150
stop();
Symbol 759 MovieClip [hit] Frame 6
stop();
Symbol 760 MovieClip [hitwin] Frame 44
stop();
Symbol 769 Button
on (release) {
_root._paused = true;
gotoAndStop (99);
}
on (keyPress "<Enter>") {
_root._paused = true;
gotoAndStop (99);
}
Symbol 773 Button
on (release) {
_root._returntomenu = true;
_root._paused = false;
}
Symbol 777 Button
on (release) {
_root._paused = false;
gotoAndStop (95);
}
on (keyPress "<Enter>") {
_root._paused = false;
gotoAndStop (95);
}
Symbol 778 MovieClip [readyfight] Frame 95
_root._wait = false;
stop();
Symbol 783 MovieClip [winFlash] Frame 1
stop();
Symbol 1024 MovieClip Frame 11
stop();
Symbol 1045 MovieClip [stories] Frame 2
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 4
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 5
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 6
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 7
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 8
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 9
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 10
if (!delay) {
delay = 120;
}
Symbol 1045 MovieClip [stories] Frame 11
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 12
if (!delay) {
delay = 120;
}
Symbol 1045 MovieClip [stories] Frame 13
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 14
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 16
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 17
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 18
if (!delay) {
delay = 120;
}
Symbol 1045 MovieClip [stories] Frame 19
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 20
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 21
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 22
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 23
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 24
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 26
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 27
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 28
if (!delay) {
delay = 130;
}
Symbol 1045 MovieClip [stories] Frame 29
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 30
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 31
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 32
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 35
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 36
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 37
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 38
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 39
if (!delay) {
delay = 110;
}
Symbol 1045 MovieClip [stories] Frame 40
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 41
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 42
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 43
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 44
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 45
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 47
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 48
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 49
if (!delay) {
delay = 50;
}
Symbol 1045 MovieClip [stories] Frame 50
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 51
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 52
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 53
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 54
_root.android();
Symbol 1045 MovieClip [stories] Frame 55
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 56
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 57
if (!delay) {
delay = 50;
}
Symbol 1045 MovieClip [stories] Frame 58
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 59
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 60
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 61
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 63
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 64
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 65
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 66
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 67
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 68
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 69
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 70
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 71
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 73
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 74
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 75
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 76
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 77
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 78
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 79
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 80
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 81
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 83
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 84
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 85
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 86
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 87
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 88
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 89
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 92
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 93
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 94
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 95
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 96
if (!delay) {
delay = 140;
}
Symbol 1045 MovieClip [stories] Frame 97
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 98
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 99
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 100
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 101
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 102
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 104
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 105
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 106
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 107
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 108
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 109
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 110
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 113
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 114
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 115
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 116
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 117
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 118
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 119
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 120
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 121
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 124
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 125
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 126
if (!delay) {
delay = 120;
}
Symbol 1045 MovieClip [stories] Frame 127
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 128
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 131
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 132
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 133
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 134
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 135
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 136
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 137
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 138
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 139
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 141
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 142
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 143
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 144
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 145
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 146
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 147
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 148
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 149
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 151
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 152
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 153
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 154
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 155
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 156
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 157
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 158
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 159
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 161
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 162
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 163
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 164
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 165
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 166
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 167
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 168
_root.android();
Symbol 1045 MovieClip [stories] Frame 169
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 170
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 171
if (!delay) {
delay = 50;
}
Symbol 1045 MovieClip [stories] Frame 172
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 173
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 174
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 175
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 177
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 178
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 179
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 180
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 181
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 182
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 183
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 184
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 185
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 187
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 188
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 189
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 190
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 191
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 192
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 193
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 194
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 195
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 197
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 198
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 199
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 200
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 201
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 202
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 203
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 204
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 205
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 208
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 209
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 210
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 211
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 212
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 213
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 214
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 215
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 216
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 219
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 220
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 221
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 222
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 223
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 224
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 225
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 227
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 228
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 229
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 230
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 231
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 232
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 233
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 234
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 235
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 236
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 237
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 238
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 239
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 241
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 242
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 243
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 244
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 245
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 246
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 247
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 248
_root.android();
Symbol 1045 MovieClip [stories] Frame 249
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 250
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 251
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 252
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 253
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 254
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 255
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 256
_root.android();
Symbol 1045 MovieClip [stories] Frame 257
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 258
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 259
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 260
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 261
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 262
_root.android();
Symbol 1045 MovieClip [stories] Frame 263
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 264
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 265
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 266
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 267
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 269
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 270
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 271
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 272
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 273
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 274
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 275
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 276
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 277
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 279
if (!delay) {
delay = 160;
}
Symbol 1045 MovieClip [stories] Frame 280
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 281
if (!delay) {
delay = 160;
}
Symbol 1045 MovieClip [stories] Frame 282
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 283
if (!delay) {
delay = 120;
}
Symbol 1045 MovieClip [stories] Frame 284
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 285
if (!delay) {
delay = 140;
}
Symbol 1045 MovieClip [stories] Frame 286
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 287
if (!delay) {
delay = 140;
}
Symbol 1045 MovieClip [stories] Frame 288
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 289
if (!delay) {
delay = 110;
}
Symbol 1045 MovieClip [stories] Frame 290
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 293
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 294
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 295
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 297
if (!delay) {
delay = 20;
}
Symbol 1045 MovieClip [stories] Frame 298
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 307
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 308
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 309
if (!delay) {
delay = 50;
}
Symbol 1045 MovieClip [stories] Frame 310
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 311
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 312
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 313
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 315
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 316
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 317
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 318
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 319
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 320
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 321
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 322
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 323
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 324
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 325
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 326
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 327
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 392
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 393
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 394
if (!delay) {
delay = 110;
}
Symbol 1045 MovieClip [stories] Frame 395
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 396
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 397
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 398
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 399
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 400
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 402
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 403
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 404
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 405
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 406
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 407
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 408
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 409
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 410
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 526
if (!delay) {
delay = 230;
}
Symbol 1045 MovieClip [stories] Frame 527
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 528
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 530
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 531
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 532
if (!delay) {
delay = 120;
}
Symbol 1045 MovieClip [stories] Frame 533
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 534
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 535
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 536
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 537
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 538
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 539
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 540
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 542
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 543
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 544
if (!delay) {
delay = 120;
}
Symbol 1045 MovieClip [stories] Frame 545
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 546
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 548
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 549
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 550
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 551
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 552
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 554
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 555
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 556
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 557
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 558
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 560
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 561
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 562
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 563
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 564
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 566
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 567
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 568
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 569
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 570
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 572
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 573
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 574
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 575
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 576
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 578
if (!delay) {
delay = 110;
}
Symbol 1045 MovieClip [stories] Frame 579
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 580
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 601
stopAllSounds();
Symbol 1045 MovieClip [stories] Frame 635
_root._wait = false;
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 701
if (!delay) {
delay = 30;
}
Symbol 1045 MovieClip [stories] Frame 702
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 703
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 704
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 705
if (!delay) {
delay = 30;
}
Symbol 1045 MovieClip [stories] Frame 706
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 707
if (!delay) {
delay = 10;
}
Symbol 1045 MovieClip [stories] Frame 708
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 709
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 710
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 711
if (!delay) {
delay = 240;
}
Symbol 1045 MovieClip [stories] Frame 712
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 713
gotoAndPlay (889);
Symbol 1045 MovieClip [stories] Frame 721
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 722
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 723
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 724
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 725
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 726
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 727
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 728
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 729
if (!delay) {
delay = 140;
}
Symbol 1045 MovieClip [stories] Frame 730
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 731
if (!delay) {
delay = 140;
}
Symbol 1045 MovieClip [stories] Frame 732
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 733
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 734
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 735
if (!delay) {
delay = 110;
}
Symbol 1045 MovieClip [stories] Frame 736
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 737
gotoAndPlay (889);
Symbol 1045 MovieClip [stories] Frame 741
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 742
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 743
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 744
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 745
if (!delay) {
delay = 160;
}
Symbol 1045 MovieClip [stories] Frame 746
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 747
if (!delay) {
delay = 140;
}
Symbol 1045 MovieClip [stories] Frame 748
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 749
if (!delay) {
delay = 90;
}
Symbol 1045 MovieClip [stories] Frame 750
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 751
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 752
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 753
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 754
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 755
if (!delay) {
delay = 30;
}
Symbol 1045 MovieClip [stories] Frame 756
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 757
gotoAndPlay (889);
Symbol 1045 MovieClip [stories] Frame 761
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 762
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 763
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 764
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 765
if (!delay) {
delay = 140;
}
Symbol 1045 MovieClip [stories] Frame 766
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 767
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 768
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 769
if (!delay) {
delay = 110;
}
Symbol 1045 MovieClip [stories] Frame 770
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 771
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 772
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 773
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 774
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 775
if (!delay) {
delay = 50;
}
Symbol 1045 MovieClip [stories] Frame 776
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 777
gotoAndPlay (889);
Symbol 1045 MovieClip [stories] Frame 781
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 782
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 783
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 784
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 785
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 786
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 787
if (!delay) {
delay = 50;
}
Symbol 1045 MovieClip [stories] Frame 788
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 789
if (!delay) {
delay = 10;
}
Symbol 1045 MovieClip [stories] Frame 790
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 791
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 792
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 793
if (!delay) {
delay = 260;
}
Symbol 1045 MovieClip [stories] Frame 794
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 795
gotoAndPlay (1188);
Symbol 1045 MovieClip [stories] Frame 801
if (!delay) {
delay = 220;
}
Symbol 1045 MovieClip [stories] Frame 802
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 803
if (!delay) {
delay = 10;
}
Symbol 1045 MovieClip [stories] Frame 804
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 805
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 806
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 807
if (!delay) {
delay = 10;
}
Symbol 1045 MovieClip [stories] Frame 808
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 809
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 810
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 811
if (!delay) {
delay = 40;
}
Symbol 1045 MovieClip [stories] Frame 812
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 813
if (!delay) {
delay = 100;
}
Symbol 1045 MovieClip [stories] Frame 814
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 815
gotoAndPlay (1188);
Symbol 1045 MovieClip [stories] Frame 884
if (!delay) {
delay = 280;
}
Symbol 1045 MovieClip [stories] Frame 885
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 887
gotoAndPlay (1188);
Symbol 1045 MovieClip [stories] Frame 889
_root.terrain.removeMovieClip();
stopAllSounds();
Symbol 1045 MovieClip [stories] Frame 890
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 891
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 893
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 894
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 896
if (!delay) {
delay = 20;
}
Symbol 1045 MovieClip [stories] Frame 897
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 898
if (!delay) {
delay = 80;
}
Symbol 1045 MovieClip [stories] Frame 899
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 901
if (!delay) {
delay = 60;
}
Symbol 1045 MovieClip [stories] Frame 902
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 915
if (!delay) {
delay = 70;
}
Symbol 1045 MovieClip [stories] Frame 916
delay--;
if (delay) {
gotoAndPlay(_currentframe - 1);
}
Symbol 1045 MovieClip [stories] Frame 1138
_root.attachMovie("fader2", "_root.fader", _root.Z_FADER);
Symbol 1045 MovieClip [stories] Frame 1148
_root._wait = false;
Symbol 1045 MovieClip [stories] Frame 1149
gotoAndStop (1);
Symbol 1045 MovieClip [stories] Frame 1189
_root.attachMovie("fader2", "_root.fader", _root.Z_FADER);
Symbol 1045 MovieClip [stories] Frame 1200
_root._wait = false;
Symbol 1045 MovieClip [stories] Frame 1201
gotoAndStop (1);
Symbol 1087 MovieClip [terrain0000] Frame 1
stop();
Symbol 1095 MovieClip Frame 1
this._visible = _parent.sprite._dashes >= 100;
Symbol 1095 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1097 MovieClip Frame 1
this._visible = _parent.sprite._dashes >= 200;
Symbol 1097 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1099 MovieClip Frame 1
this._visible = _parent.sprite._dashes >= 300;
Symbol 1099 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1104 MovieClip [fader] Frame 10
stop();
Symbol 1106 MovieClip [fader2] Frame 9
stop();
Symbol 1109 MovieClip [fps] Frame 1
delay = getTimer() - lastTime;
fpsNum = Math.round(1000 / delay);
if (((fpsDelay--) <= 0) || (Math.abs(fpsNum - parseInt(fps, 10)) > 5)) {
fpsDelay = 2;
fps = fpsNum;
fpsSum = fpsSum + fps;
fpsSumNums++;
avgFps = Math.round(fpsSum / fpsSumNums);
if (fpsSumNums > 300) {
fpsSum = avgFps * 100;
fpsSumNums = 100;
}
if (((minFpsDelay--) <= 0) || (fps < minFps)) {
minFpsDelay = 20;
minFps = fps;
}
if (fps < 10) {
fps = " " + fps;
}
fps = fps + (((("/25 fps (avg:" + avgFps) + " min:") + minFps) + ")");
this._visible = _root.fpsEnabled;
}
lastTime = getTimer();
Symbol 1109 MovieClip [fps] Frame 2
gotoAndPlay (1);
Symbol 1121 MovieClip Frame 1
stop();
Symbol 1211 MovieClip Frame 22
stop();
Symbol 1214 MovieClip Frame 7
stop();
Symbol 1236 MovieClip [Dexter] Frame 49
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 58
gotoAndPlay (50);
Symbol 1236 MovieClip [Dexter] Frame 61
gotoAndPlay (50);
Symbol 1236 MovieClip [Dexter] Frame 70
gotoAndPlay (62);
Symbol 1236 MovieClip [Dexter] Frame 85
gotoAndPlay (71);
Symbol 1236 MovieClip [Dexter] Frame 98
stop();
Symbol 1236 MovieClip [Dexter] Frame 108
_weakHit = true;
Symbol 1236 MovieClip [Dexter] Frame 113
_comboDone = true;
Symbol 1236 MovieClip [Dexter] Frame 117
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 121
_weakHit = true;
Symbol 1236 MovieClip [Dexter] Frame 126
_comboDone = true;
Symbol 1236 MovieClip [Dexter] Frame 130
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 151
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 164
thisSprite._stateChange = false;
Symbol 1236 MovieClip [Dexter] Frame 169
_weakHit = true;
Symbol 1236 MovieClip [Dexter] Frame 171
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 173
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 175
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 177
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 179
_weakHit = false;
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 181
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 186
_stateChange = true;
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 198
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 203
_stateChange = true;
Symbol 1236 MovieClip [Dexter] Frame 204
_stateChange = true;
Symbol 1236 MovieClip [Dexter] Frame 205
_stateChange = true;
Symbol 1236 MovieClip [Dexter] Frame 206
_stateChange = true;
Symbol 1236 MovieClip [Dexter] Frame 207
_stateChange = true;
Symbol 1236 MovieClip [Dexter] Frame 208
_stateChange = true;
Symbol 1236 MovieClip [Dexter] Frame 209
_stateChange = true;
Symbol 1236 MovieClip [Dexter] Frame 210
_stateChange = true;
_hitDone = true;
Symbol 1236 MovieClip [Dexter] Frame 222
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 250
_stateDone = true;
gotoAndPlay (62);
Symbol 1236 MovieClip [Dexter] Frame 257
_stateDone = true;
stop();
Symbol 1236 MovieClip [Dexter] Frame 267
gotoAndPlay (266);
Symbol 1236 MovieClip [Dexter] Frame 278
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 295
gotoAndPlay (283);
Symbol 1236 MovieClip [Dexter] Frame 319
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 329
_stateDone = true;
gotoAndPlay (283);
Symbol 1236 MovieClip [Dexter] Frame 394
_stateDone = true;
gotoAndPlay (1);
Symbol 1236 MovieClip [Dexter] Frame 540
stop();
Symbol 1236 MovieClip [Dexter] Frame 625
gotoAndPlay (624);
Symbol 1254 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1254 MovieClip Frame 3
Symbol 1268 MovieClip Frame 1
this._visible = _parent.zim._currentframe <= 2;
Symbol 1268 MovieClip Frame 2
this._visible = _parent.zim._currentframe <= 2;
Symbol 1268 MovieClip Frame 3
this._visible = _parent.zim._currentframe <= 2;
Symbol 1268 MovieClip Frame 4
this._visible = _parent.zim._currentframe <= 2;
Symbol 1280 MovieClip Frame 1
this._visible = _parent.zim._currentframe <= 2;
Symbol 1280 MovieClip Frame 2
this._visible = _parent.zim._currentframe <= 2;
Symbol 1320 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1334 MovieClip [zim] Frame 16
_recover = true;
Symbol 1334 MovieClip [zim] Frame 35
_vulnerable = false;
_recover = false;
_stateDone = true;
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 111
gotoAndPlay (101);
Symbol 1334 MovieClip [zim] Frame 113
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 185
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 187
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 189
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 191
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 193
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 195
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 197
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 199
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 201
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 203
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 205
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 207
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 209
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 211
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 213
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 215
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 217
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 219
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 221
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 223
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 225
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 227
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 229
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 231
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 233
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 235
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 237
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 239
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 241
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 243
_stateDone = true;
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 271
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 277
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 283
_hitDone = true;
Symbol 1334 MovieClip [zim] Frame 301
_stateDone = true;
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 353
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 363
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 373
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 384
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 394
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 405
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 415
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 426
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 436
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 447
hitDone = true;
_root.damageDone[1][0] = false;
Symbol 1334 MovieClip [zim] Frame 479
_stateDone = true;
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 541
_stateDone = true;
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 604
_stateDone = true;
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 664
_stateDone = true;
gotoAndPlay (112);
Symbol 1334 MovieClip [zim] Frame 668
_vulnerable = true;
Symbol 1334 MovieClip [zim] Frame 780
gotoAndPlay (16);
Symbol 1334 MovieClip [zim] Frame 867
stop();
Symbol 1334 MovieClip [zim] Frame 983
stop();
Symbol 1384 MovieClip Frame 22
stop();
Symbol 1388 MovieClip Frame 7
stop();
Symbol 1399 MovieClip [Rowdyruff] Frame 49
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 55
gotoAndPlay (50);
Symbol 1399 MovieClip [Rowdyruff] Frame 61
gotoAndPlay (50);
Symbol 1399 MovieClip [Rowdyruff] Frame 67
gotoAndPlay (62);
Symbol 1399 MovieClip [Rowdyruff] Frame 87
gotoAndPlay (71);
Symbol 1399 MovieClip [Rowdyruff] Frame 100
stop();
Symbol 1399 MovieClip [Rowdyruff] Frame 108
_weakHit = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 113
_comboDone = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 117
_stateDone = true;
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 121
_weakHit = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 126
_comboDone = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 130
_stateDone = true;
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 136
_stateChange = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 137
_stateChange = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 138
_stateChange = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 139
_stateChange = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 150
_stateDone = true;
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 156
_stateChange = false;
Symbol 1399 MovieClip [Rowdyruff] Frame 159
_hitDone = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 175
_stateDone = true;
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 196
_hitDone = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 201
_stateDone = true;
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 229
_stateDone = true;
gotoAndPlay (62);
Symbol 1399 MovieClip [Rowdyruff] Frame 236
_stateDone = true;
stop();
Symbol 1399 MovieClip [Rowdyruff] Frame 247
gotoAndPlay (246);
Symbol 1399 MovieClip [Rowdyruff] Frame 258
_stateDone = true;
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 264
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 277
gotoAndPlay (265);
Symbol 1399 MovieClip [Rowdyruff] Frame 280
_stateChange = false;
Symbol 1399 MovieClip [Rowdyruff] Frame 283
_weakHit = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 290
_hitDone = true;
_stateChange = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 296
_weakHit = false;
_hitDone = true;
_stateChange = true;
Symbol 1399 MovieClip [Rowdyruff] Frame 305
_stateDone = true;
gotoAndPlay (62);
Symbol 1399 MovieClip [Rowdyruff] Frame 316
_stateDone = true;
gotoAndPlay (265);
Symbol 1399 MovieClip [Rowdyruff] Frame 381
_stateDone = true;
gotoAndPlay (1);
Symbol 1399 MovieClip [Rowdyruff] Frame 485
stop();
Symbol 1409 MovieClip Frame 1
if (_parent.num) {
gotoAndStop(_parent.num + 1);
}
Symbol 1409 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1411 Button
on (release) {
gotoAndStop (2);
}
Symbol 1412 Button
on (release) {
gotoAndStop (3);
}
Symbol 1413 Button
on (release) {
gotoAndStop (4);
}
Symbol 1414 Button
on (release) {
gotoAndStop (5);
}
Symbol 1415 Button
on (release) {
gotoAndStop (6);
}
Symbol 1416 Button
on (release) {
gotoAndStop (7);
}
Symbol 1418 Button
on (release) {
_root._returntomenu = true;
}
Symbol 1427 Button
on (release) {
gotoAndStop (1);
}
Symbol 1443 MovieClip [howtoplay] Frame 1
but1.num = 9;
but2.num = 2;
but3.num = 3;
but4.num = 4;
but5.num = 5;
but6.num = 6;
butback.num = 8;
Symbol 1443 MovieClip [howtoplay] Frame 2
butback.num = 7;
Symbol 1443 MovieClip [howtoplay] Frame 3
butback.num = 7;
Symbol 1443 MovieClip [howtoplay] Frame 4
butback.num = 7;
Symbol 1443 MovieClip [howtoplay] Frame 5
butback.num = 7;
Symbol 1443 MovieClip [howtoplay] Frame 6
butback.num = 7;
Symbol 1443 MovieClip [howtoplay] Frame 7
butback.num = 7;
Symbol 1469 MovieClip [Shira Bell] Frame 49
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 58
gotoAndPlay (50);
Symbol 1469 MovieClip [Shira Bell] Frame 61
gotoAndPlay (50);
Symbol 1469 MovieClip [Shira Bell] Frame 70
gotoAndPlay (62);
Symbol 1469 MovieClip [Shira Bell] Frame 85
gotoAndPlay (71);
Symbol 1469 MovieClip [Shira Bell] Frame 94
stop();
Symbol 1469 MovieClip [Shira Bell] Frame 107
_weakHit = true;
Symbol 1469 MovieClip [Shira Bell] Frame 110
_comboDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 117
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 120
_weakHit = true;
Symbol 1469 MovieClip [Shira Bell] Frame 123
_comboDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 130
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 131
_stateChange = false;
Symbol 1469 MovieClip [Shira Bell] Frame 134
_weakHit = true;
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 135
_weakHit = true;
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 136
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 138
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 139
_weakHit = true;
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 140
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 142
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 143
_weakHit = true;
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 144
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 146
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 147
_weakHit = true;
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 149
_weakHit = false;
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 157
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 161
_weakHit = true;
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 163
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 165
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 167
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 169
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 171
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 173
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 175
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 177
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 179
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 181
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 183
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 185
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 187
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 189
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 191
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 193
_weakHit = false;
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 203
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 213
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 226
_weakHit = true;
Symbol 1469 MovieClip [Shira Bell] Frame 228
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 230
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 232
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 234
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 236
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 238
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 241
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 257
gotoAndPlay (256);
Symbol 1469 MovieClip [Shira Bell] Frame 266
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 270
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 274
_hitDone = true;
Symbol 1469 MovieClip [Shira Bell] Frame 279
_stateDone = true;
gotoAndPlay (62);
Symbol 1469 MovieClip [Shira Bell] Frame 291
_stateDone = true;
stop();
Symbol 1469 MovieClip [Shira Bell] Frame 302
gotoAndPlay (301);
Symbol 1469 MovieClip [Shira Bell] Frame 313
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 326
gotoAndPlay (314);
Symbol 1469 MovieClip [Shira Bell] Frame 327
_stateChange = false;
Symbol 1469 MovieClip [Shira Bell] Frame 329
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 332
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 335
_stateChange = true;
Symbol 1469 MovieClip [Shira Bell] Frame 341
_stateDone = true;
gotoAndPlay (62);
Symbol 1469 MovieClip [Shira Bell] Frame 366
_stateDone = true;
gotoAndPlay (314);
Symbol 1469 MovieClip [Shira Bell] Frame 408
_stateDone = true;
gotoAndPlay (1);
Symbol 1469 MovieClip [Shira Bell] Frame 502
stop();
Instance of Symbol 1508 MovieClip in Symbol 1510 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(160);
}
Instance of Symbol 1508 MovieClip in Symbol 1510 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(120);
}
Instance of Symbol 1508 MovieClip in Symbol 1510 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(40);
}
Instance of Symbol 1508 MovieClip in Symbol 1510 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(0);
}
Symbol 1570 Button
on (release) {
gotoAndPlay (1534);
}
Symbol 1571 Button
on (release) {
gotoAndPlay (1562);
}
Symbol 1572 Button
on (release) {
_numplayers = 0;
_gameMode = MODE_DEMO;
_difficulty = 10;
_root.attachMovie("fader2", "fader", Z_FADER);
gotoAndPlay (2135);
}
Symbol 1573 Button
on (release) {
_root.attachMovie("fader2", "fader", Z_FADER);
gotoAndPlay (2878);
}
Symbol 1574 Button
on (release) {
_continue = false;
_gameMode = MODE_TUTORIAL;
_root.attachMovie("fader2", "fader", Z_FADER);
_root._numplayers = 1;
_root.spriteName[0] = NAME_BUBBLES;
_root.spriteName[1] = NAME_BUTTERCUP;
gotoAndPlay (2135);
}
Symbol 1575 Button
on (release) {
gotoAndPlay (355);
}
Symbol 1579 MovieClip Frame 2
if (_root._difficulty >= _parent.num) {
gotoAndPlay (1);
} else {
gotoAndPlay (10);
}
Symbol 1579 MovieClip Frame 11
if (_root._difficulty >= _parent.num) {
gotoAndPlay (1);
} else {
gotoAndPlay (10);
}
Symbol 1582 Button
on (release) {
_root._difficulty = 1;
}
Symbol 1583 Button
on (release) {
_root._difficulty = 2;
}
Symbol 1584 Button
on (release) {
_root._difficulty = 3;
}
Symbol 1585 Button
on (release) {
_root._difficulty = 4;
}
Symbol 1586 Button
on (release) {
_root._difficulty = 5;
}
Symbol 1587 Button
on (release) {
_root._difficulty = 6;
}
Symbol 1588 Button
on (release) {
_root._difficulty = 7;
}
Symbol 1589 Button
on (release) {
_root._difficulty = 8;
}
Symbol 1590 Button
on (release) {
_root._difficulty = 9;
}
Symbol 1591 Button
on (release) {
_root._difficulty = 10;
}
Symbol 1592 Button
on (release) {
_root.myLocal_so.data._menudifficulty = _root._menudifficulty;
_root.myLocal_so.flush();
_root.attachMovie("fader2", "fader", Z_FADER);
_root._storylevel = 0;
_root._swapchars = "";
_root._numcontinues = 0;
_root._numdeflects = 0;
_root._numroundslost = 0;
_root._maxcombo = 0;
_root._timeelapsed = 0;
gotoAndPlay (2135);
}
Symbol 1594 Button
on (release) {
_root.myLocal_so.data._menudifficulty = _root._menudifficulty;
_root.myLocal_so.flush();
if (_gameMode == MODE_VERSUS) {
gotoAndPlay (1548);
} else {
gotoAndPlay (1534);
}
}
Symbol 1595 Button
on (release) {
gotoAndPlay (1523);
}
Symbol 1596 Button
on (release) {
_continue = false;
_gameMode = MODE_STORY;
_numplayers = 1;
gotoAndPlay (1509);
}
Symbol 1597 Button
on (release) {
_continue = false;
_gameMode = MODE_VERSUS;
_numplayers = 2;
gotoAndPlay (1548);
}
Symbol 1598 Button
on (release) {
_continue = false;
_gameMode = MODE_SURVIVAL;
_survival2 = Key.isDown(13) && (_zimsurvivalunlock);
_numplayers = 1;
_difficulty = 1;
_winstreak = 0;
if (_survival2) {
_difficulty = 10;
}
_survivalhp = MAX_HP;
_root.attachMovie("fader2", "fader", Z_FADER);
gotoAndPlay (2135);
}
Symbol 1599 Button
on (release) {
stopAllSounds();
gotoAndPlay (258);
}
Symbol 1600 Button
on (release) {
_root._numplayers = 1;
gotoAndPlay (1509);
}
Symbol 1601 Button
on (release) {
_root.attachMovie("fader2", "fader", Z_FADER);
_root._numplayers = 2;
gotoAndPlay (2135);
}
Symbol 1602 Button
on (release) {
gotoAndPlay (1576);
}
Symbol 1603 Button
on (release) {
gotoAndPlay (1607);
}
Symbol 1604 Button
on (release) {
gotoAndPlay (1590);
}
Symbol 1607 Button
on (release) {
if (_gamequality == "LOW") {
_gamequality = "MEDIUM";
} else if (_gamequality == "MEDIUM") {
_gamequality = "HIGH";
} else {
_gamequality = "LOW";
}
}
Symbol 1610 Button
on (release) {
if (_effects == "ON") {
_effects = "OFF";
} else {
_effects = "ON";
}
}
Symbol 1613 Button
on (release) {
if (_background == "ON") {
_background = "OFF";
} else {
_background = "ON";
}
}
Symbol 1614 Button
on (release) {
_root.myLocal_so.data._background = _root._background;
_root.myLocal_so.data._effects = _root._effects;
_root.myLocal_so.data._gamequality = _root._gamequality;
_root.myLocal_so.data._fps = _root._fps;
_root.myLocal_so.flush();
gotoAndPlay (1562);
}
Symbol 1620 Button
on (release) {
if (_fps == "ON") {
_fps = "OFF";
} else {
_fps = "ON";
}
}
Symbol 1624 Button
on (release) {
_autodeflect = !_autodeflect;
}
Symbol 1625 Button
on (release) {
_root.myLocal_so.data._background = _root._background;
_root.myLocal_so.data._effects = _root._effects;
_root.myLocal_so.data._gamequality = _root._gamequality;
_root.myLocal_so.flush();
gotoAndPlay (1562);
}
Symbol 1629 Button
on (release) {
if (_damagemult == 1) {
_damagemult = 1.5;
} else if (_damagemult == 1.5) {
_damagemult = 2;
} else if (_damagemult == 2) {
_damagemult = 2.5;
} else if (_damagemult == 2.5) {
_damagemult = 3;
} else if (_damagemult == 3) {
_damagemult = 0.5;
} else if (_damagemult == 0.5) {
_damagemult = 1;
}
BASE_DAMAGE = DEFAULT_BASE_DAMAGE * _damagemult;
}
Symbol 1634 Button
on (release) {
_infjuggle = !_infjuggle;
}
Symbol 1638 Button
on (release) {
_infdash = !_infdash;
}
Symbol 1640 Button
on (release) {
if (!_root._gettingNewKey) {
_root.myLocal_so.data.keyCode = _root.keyCode;
_root.myLocal_so.flush();
controlsOkay = true;
k = 0;
while (k < 2) {
i = 0;
while (i < _root.KEYSPERPLAYER) {
j = 0;
while (j < _root.KEYSPERPLAYER) {
if (((k != 0) || (i != j)) && (_root.keyCode[0][i] == _root.keyCode[k][j])) {
controlsOkay = false;
break;
}
j++;
}
i++;
}
k++;
}
if (controlsOkay) {
gotoAndPlay (1562);
} else {
gotoAndPlay (1621);
}
}
}
Symbol 1695 MovieClip Frame 17
gotoAndPlay (1);
Symbol 1700 MovieClip Frame 17
gotoAndPlay (1);
Symbol 1701 Button
on (release) {
stopAllSounds();
gotoAndPlay (1479);
}
Symbol 1721 Button
on (release) {
_continue = true;
if (_numPlayers == 1) {
_root._numcontinues++;
}
gotoAndPlay (2135);
}
Symbol 1725 Button
on (release) {
gotoAndPlay (1479);
}
Symbol 1741 Button
on (release) {
gotoAndPlay (2774);
}
Symbol 1743 MovieClip Frame 1
if (_root._difficulty < _root.MAX_DIFFICULTY) {
stop();
} else {
play();
}
Symbol 1743 MovieClip Frame 20
stop();
Symbol 1746 MovieClip Frame 80
stop();
Symbol 1753 Button
on (release) {
if ((!_zimsurvivalunlock) && (!_continue)) {
gotoAndPlay (4644);
} else if (((_difficulty >= 9) && (_zimsurvivalunlock)) && (!_shiraunlock)) {
gotoAndPlay (4638);
} else {
gotoAndPlay (2878);
}
}