Frame 1
function MOT_trace(message_) {
}
function MOT_random(min_, max_) {
var r;
do {
r = Math.random();
} while (r == 1);
return(min_ + Math.floor(r * ((max_ + 1) - min_)));
}
function MOT_Atom() {
this.owner = 0;
this.next = 0;
this.index = 0;
this.processedIndex = 0;
}
function MOT_AtomGroup(size_) {
this.free = 0;
this.size = size_;
this.start = 0;
this.Atoms = new Array(this.size);
this.head = 0;
var i;
i = 0;
while (i < this.size) {
this.Atoms[i] = new MOT_Atom();
this.Atoms[i].next = i + 1;
i++;
}
this.Atoms[i].next = -1;
this.free = 0;
this.start = -1;
_root.MOT_trace(("Creating Atoms, " + this.size) + " elements");
}
function MOT_Keypad() {
var i;
this.state = new Array();
i = 0;
while (i < 256) {
this.state[i] = 0;
i++;
}
this.onKeyDown = function () {
this.state[Key.getCode()] = 1;
};
this.onKeyUp = function () {
this.state[Key.getCode()] = 0;
};
Key.addListener(this);
}
function MOT_Level() {
this.Mickey = 0;
this.Level = 0;
}
function MOT_ObjGroup() {
var i;
this.TheAtoms = new MOT_AtomGroup(64);
this.KillList = new MOT_AtomGroup(64);
i = 0;
while (i < 256) {
_root.Collide_DN_Tabl[i] = 0;
i++;
}
_root.Collide_DN_Tabl[1] = 1;
_root.Collide_DN_Tabl[6] = 1;
_root.Collide_DN_Tabl[7] = 1;
_root.Collide_DN_Tabl[8] = 1;
_root.Collide_DN_Tabl[9] = 1;
this.PlayerArray = new Array();
this.ObjectArray = new Array();
var i = 0;
while (i <= 10) {
var row = new Array();
this.ObjectArray[i] = row;
var j = 0;
while (j <= 10) {
row[j] = new Array();
j++;
}
i++;
}
this.processedIndex = 0;
}
function MOT_Obj() {
var i;
this.Keys_state = new Array();
this.Keys_pressed = new Array();
i = 0;
while (i < 32) {
this.Keys_state[i] = 0;
this.Keys_pressed[i] = 0;
i++;
}
this.Obj_Group = 0;
i = 0;
while (i < 4) {
this["Obj_Hndlr" + i] = 0;
this[("Obj_Hndlr" + i) + "_i"] = 0;
i++;
}
this.Obj_Flip = 1;
this.Obj_Flags = 0;
this.Obj_Trans = 0;
this.Obj_Depth = 0;
this.Obj_Flash = 0;
this.Obj_X = 0;
this.Obj_Y = 0;
this.Obj_HotX = 0;
this.Obj_HotY = 0;
this.Obj_RegX = 0;
this.Obj_RegY = 0;
this.Obj_DX = 0;
this.Obj_DY = 0;
this.Obj_X1 = 0;
this.Obj_Y1 = 0;
this.Obj_X2 = 0;
this.Obj_Y2 = 0;
this.CX1 = 0;
this.CY1 = 0;
this.CX2 = 0;
this.CY2 = 0;
this.Obj_Width = 0;
this.Obj_Height = 0;
this.Obj_AnimFrame = -1;
this.Obj_Timer = 0;
this.Obj_Target = 0;
this.Obj_Climb = 0;
this.Obj_Shield_Up = 0;
this.Obj_Health = 3;
this.CX_Flags = 0;
this.CX_Fall_Flag = 0;
this.CX_Collide_Flag = 0;
this.CX_Bounce_Flag = 0;
this.CX_Obj_Collide = 0;
this.CX_DY = 0;
this.Old_X0 = 0;
this.Old_Y0 = 0;
this.counter = 0;
_root.MOT_Trace("Creating MOT_Obj");
}
function teleportCreate(owner_) {
_root.Objs.create("TeleportClass", 64, 0, owner_.Obj_X, owner_.Obj_Y, null);
}
function teleportCheck(owner_) {
var x = ((owner_.Obj_X >> 16) & 4294967288);
var y = ((owner_.Obj_Y >> 16) & 4294967288);
if (_root.CMapArray[((y / 8) * 102) + (x / 8)] == 10) {
_root.goto_Flag = 8;
return(1);
}
return(0);
}
function helpCheck(owner_) {
var x = ((owner_.Obj_X >> 16) & 4294967288);
var y = ((owner_.Obj_Y >> 16) & 4294967288);
if (_root.CMapArray[((y / 8) * 102) + (x / 8)] == 30) {
_root.KeyLocked = 1;
_root.snd.attachSound("LV_131");
_root.snd.start();
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("help1");
}
if (_root.CMapArray[((y / 8) * 102) + (x / 8)] == 31) {
_root.KeyLocked = 1;
_root.snd.attachSound("LV_131");
_root.snd.start();
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("help2");
}
if (_root.CMapArray[((y / 8) * 102) + (x / 8)] == 32) {
_root.KeyLocked = 1;
_root.snd.attachSound("LV_131");
_root.snd.start();
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("help3");
}
if (_root.CMapArray[((y / 8) * 102) + (x / 8)] == 33) {
_root.KeyLocked = 1;
_root.snd.attachSound("LV_131");
_root.snd.start();
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("help4");
}
if (_root.CMapArray[((y / 8) * 102) + (x / 8)] == 34) {
_root.KeyLocked = 1;
_root.snd.attachSound("LV_131");
_root.snd.start();
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("help5");
}
if (_root.CMapArray[((y / 8) * 102) + (x / 8)] == 60) {
_root.KeyLocked = 1;
_root.snd.attachSound("LV_131");
_root.snd.start();
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("ATFK1");
}
}
function gotoTitle() {
_root.Title = _root.attachMovie("Title Screen", "Title Screen", 0);
_root.Title._x = 120;
_root.Title._y = 80;
_root.snd.attachSound("LVM_00");
_root.snd.start();
}
function gotoWin() {
_root.Win = _root.attachMovie("Win Screen", "Win Screen", 0);
_root.Win._x = 120;
_root.Win._y = 80;
_root.snd.attachSound("LVM_01_loop");
_root.snd.start(0, 9999);
}
function gotoLose() {
_root.Lose = _root.attachMovie("Game Over", "Game Over", 0);
_root.Lose._x = 120;
_root.Lose._y = 80;
_root.snd.attachSound("LV_214_loop");
_root.snd.start(0, 9999);
}
function gotoGame() {
_root.frame = 0;
_root.snd.stop("LVM_00");
_root.snd.attachSound("LVM_02_loop");
_root.snd.start(0, 9999);
_root.Health = _root.attachMovie("HealthBarClass", "x", 0);
_root.Health._x = 24;
_root.Health._y = 159;
_root.Fighter = _root.Objs.create("FighterClass", 48, 0, 4718592, 6291456, 128);
_root.Runner = _root.Objs.create("RunnerClass", 32, 0, 6815744, 6291456, 128);
_root.Shield = _root.Objs.create("ShieldClass", 32, 0, 2621440, 6291456, 128);
_root.Elevator1 = _root.Objs.create("ElevatorClass", 8, 0, 8388608, 7274496, 8);
_root.Elevator2 = _root.Objs.create("ElevatorClass", 8, 0, 4194304, 28246016, 8);
_root.EnergyField1 = _root.Objs.create("EnergyFieldClass", 64, 0, 8388608, 21889024, null);
_root.EnergyField1.Obj_Climb = 0;
_root.EnergyField2 = _root.Objs.create("EnergyFieldClass", 64, 0, 4194304, 51118080, null);
_root.EnergyField2.Obj_Climb = 1;
_root.Barrier1 = _root.Objs.create("BarrierClass", 32, 0, 31916032, 10485760, null);
_root.Barrier1.Obj_Climb = 2;
_root.Barrier2 = _root.Objs.create("BarrierClass", 32, 0, 23527424, 27262976, null);
_root.Barrier2.Obj_Climb = 3;
_root.Switch1 = _root.Objs.create("SwitchClass", 12, 0, 33816576, 8912896, null);
_root.Switch1.Obj_Climb = 0;
_root.Switch2 = _root.Objs.create("SwitchClass", 12, 0, 22020096, 25624576, null);
_root.Switch2.Obj_Climb = 1;
_root.Door1 = _root.Objs.create("DoorClass", 56, 0, 41418752, 10485760, null);
_root.Door1.Obj_Climb = 2;
_root.Door2 = _root.Objs.create("DoorLockClass", 56, 0, 35127296, 27262976, null);
_root.Door2.Obj_Climb = 3;
_root.Door3 = _root.Objs.create("DoorClass", 56, 0, 7864320, 49283072, null);
_root.Door3.Obj_Climb = 0;
_root.Door4 = _root.Objs.create("DoorLockClass", 56, 0, 27787264, 49283072, null);
_root.Door4.Obj_Climb = 1;
_root.CMapArray[9334] = 1;
_root.CMapArray[9335] = 1;
_root.CMapArray[9436] = 1;
_root.CMapArray[9437] = 1;
_root.CMapArray[9538] = 1;
_root.CMapArray[9539] = 1;
_root.RedKey = _root.Objs.create("RedKeyClass", 12, 0, 50462720, 33488896, null);
_root.RedHole = _root.Objs.create("RedHoleClass", 12, 0, 36569088, 26214400, 8);
_root.YellowKey = _root.Objs.create("YellowKeyClass", 12, 0, 11534336, 37158912, null);
_root.YellowHole = _root.Objs.create("YellowHoleClass", 12, 0, 25690112, 48168960, 8);
_root.Bowling1 = _root.Objs.create("BowlingClass", 32, 0, 23068672, 40828928, null);
_root.Bowling2 = _root.Objs.create("BowlingClass", 32, 0, 40894464, 43974656, null);
_root.Bowling3 = _root.Objs.create("BowlingClass", 32, 0, 46661632, 43974656, null);
_root.Bowling4 = _root.Objs.create("BowlingClass", 32, 0, 35782656, 49217536, null);
_root.Wall1 = _root.Objs.create("WallClass", 64, 0, 17235968, 19922944, null);
_root.Wall1.Obj_Climb = 2;
_root.Wall2 = _root.Objs.create("WallClass", 64, 0, 11993088, 27262976, null);
_root.Wall2.Obj_Climb = 3;
_root.ATFK = _root.Objs.create("ATFKClass", 32, 0, 42467328, 37683200, null);
_root.ATFK.Obj_Climb = 0;
_root.Exit = _root.Objs.create("ExitClass", 32, 0, 39976960, 43909120, null);
_root.Exit.Obj_Climb = 1;
_root.Space = _root.Objs.create("SpaceClass", 0, 2, 0, 0, 264);
_root.SpaceFG = _root.Objs.create("SpaceFGClass", 60, 2, 0, 0, 256);
_root.Arrow = 0;
_root.Level.gotoMickey(_root.Runner);
_root.Level.setLevel(_root.Space);
}
function quitGame() {
_root.Fighter.kill();
_root.Runner.kill();
_root.Shield.kill();
_root.Runner.kill();
_root.Elevator1.kill();
_root.Elevator2.kill();
_root.EnergyField1.kill();
_root.EnergyField2.kill();
_root.Barrier1.kill();
_root.Barrier2.kill();
_root.Switch1.kill();
_root.Switch2.kill();
_root.Door1.kill();
_root.Door2.kill();
_root.Door3.kill();
_root.Door4.kill();
_root.RedKey.kill();
_root.RedHole.kill();
_root.YellowKey.kill();
_root.YellowHole.kill();
_root.Bowling1.kill();
_root.Bowling2.kill();
_root.Bowling3.kill();
_root.Bowling4.kill();
_root.Wall1.kill();
_root.Wall2.kill();
_root.ATFK.kill();
_root.Exit.kill();
_root.Space.kill();
_root.SpaceFG.kill();
if (_root.Arrow) {
_root.Arrow.kill();
}
_root.Health.removeMovieClip();
_root.snd.stop("LVM_02_loop");
}
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
_root.Scroll_X = 0;
_root.Scroll_Y = 0;
_root.KeyLocked = 0;
_root.ImpactX_Flag = 0;
_root.ImpactY_Flag = 0;
_root.goto_Flag = 0;
_root.bits_on = [128, 64, 32, 16, 8, 4, 2, 1];
_root.bits_off = [127, 191, 223, 239, 247, 251, 253, 254];
_root.Impact_Tabl = [0, -1, 2, -3, 4, -5, 6, -7, 8];
_root.Collide_DN_Tabl = new Array();
MOT_Atom.prototype = new Object();
MOT_AtomGroup.prototype = new Object();
MOT_AtomGroup.prototype.reset = function () {
var i;
i = 0;
while (i < this.size) {
this.Atoms[i].next = i + 1;
i++;
}
this.Atoms[i].next = -1;
this.free = 0;
this.start = -1;
};
MOT_AtomGroup.prototype.addAtom = function (object_) {
var i = this.free;
_root.MOT_trace("addAtom: object: " + object_);
this.free = this.Atoms[i].next;
this.Atoms[i].owner = object_;
this.Atoms[i].next = this.start;
this.Atoms[i].index = i;
this.start = i;
return(this.Atoms[i]);
};
MOT_AtomGroup.prototype.delAtom = function (atom_) {
var i;
i = atom_.index;
_root.MOT_trace("delAtom: object: " + i);
this.start = this.Atoms[i].next;
this.Atoms[i].next = this.free;
this.free = i;
};
MOT_AtomGroup.prototype.changeAtom(i, object_);
this.Atoms[i].owner = object_;
MOT_AtomGroup.prototype.rewind = function () {
this.head = this.start;
};
MOT_AtomGroup.prototype.forward = function () {
this.head = this.Atoms[this.head].next;
};
MOT_AtomGroup.prototype.getHead = function () {
return(this.head);
};
MOT_Keypad.prototype = new Object();
MOT_Level.prototype = new Object();
MOT_Level.prototype.setMickey = function (mickey_) {
this.Mickey = mickey_;
};
MOT_Level.prototype.exitMickey = function (mickey_) {
mickey_.killKeys();
mickey_.Obj_Flash = 0;
mickey_._visible = 1;
mickey_.setDepth(16);
};
MOT_Level.prototype.gotoMickey = function (mickey_) {
this.Mickey = mickey_;
this.Mickey.Obj_Flash = 20;
this.Mickey.setDepth(48);
_root.goto_Flag = 8;
};
MOT_Level.prototype.getMickey = function () {
return(this.Mickey);
};
MOT_Level.prototype.setLevel = function (level_) {
this.Level = level_;
};
MOT_Level.prototype.scroll = function () {
_root.Scroll_X = (this.Mickey.Obj_X >> 16) - 120;
_root.Scroll_Y = (this.Mickey.Obj_Y >> 16) - 80;
if (_root.Scroll_X < 0) {
_root.Scroll_X = 0;
}
if (_root.Scroll_X > (this.Level._width - 240)) {
_root.Scroll_X = this.Level._width - 240;
}
if (_root.Scroll_Y < 0) {
_root.Scroll_Y = 0;
}
if (_root.Scroll_Y > (this.Level._height - 160)) {
_root.Scroll_Y = this.Level._height - 160;
}
if (_root.ImpactX_Flag) {
_root.Scroll_X = _root.Scroll_X + _root.Impact_Tabl[--_root.ImpactX_Flag];
}
if (_root.ImpactY_Flag) {
_root.Scroll_Y = _root.Scroll_Y + _root.Impact_Tabl[--_root.ImpactY_Flag];
}
};
MOT_ObjGroup.prototype = new Object();
MOT_ObjGroup.prototype.addObject = function (object_) {
var atom = this.TheAtoms.addAtom(object_);
object_.atom = atom;
object_.updateCacheIndexes();
if (object_.alwaysRun()) {
this.ObjectArray[object_.xCacheIndex][object_.yCacheIndex].push(atom);
} else {
this.PlayerArray.push(atom);
}
return(atom.index);
};
_root.removeFromArray = function (array, object) {
var len = array.length;
var i = 0;
while (i < len) {
if (array[i] == object) {
array.splice(i, 1);
return(undefined);
}
i++;
}
};
MOT_ObjGroup.prototype.removeObject = function (object_) {
var atom = object_.atom;
object_.updateCacheIndexes();
if (object_.Obj_Flags & 384) {
trace("removeFromArray: " + object_);
removeFromArray(this.PlayerArray, atom);
} else {
removeFromArray(this.ObjectArray[object_.oldXCacheIndex][object_.oldYCacheIndex], atom);
}
trace("removing: " + object_);
object_.removeMovieClip();
this.theAtoms.delAtom(atom);
};
MOT_ObjGroup.prototype.cull = function () {
var i;
this.KillList.rewind();
while (((i = this.KillList.getHead())) != -1) {
trace("killing: " + this.KillList.Atoms[i].owner);
this.removeObject(this.KillList.Atoms[i].owner);
this.KillList.forward();
}
this.KillList.reset();
};
MOT_ObjGroup.prototype.kill = function (object_) {
trace("adding to killList: " + object_);
this.KillList.addAtom(object_);
};
MOT_ObjGroup.prototype.killAll = function () {
var i;
this.theAtoms.rewind();
while (((i = this.theAtoms.getHead())) != -1) {
trace("killing: " + this.theAtoms.Atoms[i].owner);
this.kill(this.theAtoms.Atoms[i].owner);
this.theAtoms.forward();
}
this.theAtoms.reset();
};
MOT_ObjGroup.prototype.remapIntoCache = function (object_) {
if (object_.Obj_Flags & 384) {
return(undefined);
}
var atom = object_.atom;
object_.updateCacheIndexes();
removeFromArray(this.ObjectArray[object_.oldXCacheIndex][object_.oldYCacheIndex], atom);
this.ObjectArray[object_.xCacheIndex][object_.yCacheIndex].push(atom);
};
MOT_ObjGroup.prototype.changeObject = function (i, object_) {
this.TheAtoms.changeAtom(i, owner_);
};
MOT_ObjGroup.prototype.loop = function (h) {
var x;
var y;
var functionName = ("Obj_Hndlr" + h);
this.processedIndex++;
var numPlayers = this.PlayerArray.length;
var i = 0;
while (i < numPlayers) {
trace("PROCESSING PLAYER " + this.PlayerArray[i].index);
var player = this.PlayerArray[i].owner;
player[functionName]();
if (player.Obj_Flags & 128) {
var deltaX = (player.xCacheIndex - player.oldXCacheIndex);
var deltaY = (player.yCacheIndex - player.oldYCacheIndex);
if (deltaX || (deltaY)) {
x = player.oldXCacheIndex - 1;
while (x <= (player.oldXCacheIndex + 1)) {
y = player.oldYCacheIndex - 1;
while (y <= (player.oldYCacheIndex + 1)) {
var npcs = this.ObjectArray[x][y];
var n = 0;
while (n < npcs.length) {
var npc = npcs[n].owner;
if (npc.processedIndex != this.processedIndex) {
npc.processedIndex = this.processedIndex;
npc[functionName]();
}
n++;
}
y++;
}
x++;
}
}
var x1;
var y1;
var x2;
var y2;
if ((player == _root.Level.getMickey()) || (_root.goto_Flag)) {
x1 = (player.Obj_X >> 16) - 128;
y1 = (player.Obj_Y >> 16) - 128;
x2 = x1 + 256;
y2 = y1 + 256;
if (_root.goto_Flag) {
_root.goto_Flag--;
}
} else {
x1 = (player.Obj_X >> 16) - 32;
y1 = (player.Obj_Y >> 16) - 32;
x2 = x1 + 64;
y2 = y1 + 64;
}
x1 = x1 >> 7;
y1 = y1 >> 7;
x2 = x2 >> 7;
y2 = y2 >> 7;
x = x1;
while (x <= x2) {
y = y1;
while (y <= y2) {
var npcs = this.ObjectArray[x][y];
var n = 0;
while (n < npcs.length) {
var npc = npcs[n].owner;
if (npc.processedIndex != this.processedIndex) {
npc.processedIndex = this.processedIndex;
npc[functionName]();
}
n++;
}
y++;
}
x++;
}
}
i++;
}
};
MOT_ObjGroup.prototype.create = function (symbol_, depth_, sprite_, x, y, flags) {
var instance;
Object.registerClass(symbol_, MOT_Obj);
instance = _root.attachMovie(symbol_, "ObjID" + this.TheAtoms.free, ((depth_ * 64) + this.TheAtoms.free) + 16384);
instance.init(this, depth_, sprite_, x, y, flags);
instance._x = (instance._y = 999);
return(instance);
};
MOT_Obj.prototype = new MovieClip();
MOT_Obj.prototype.init = function (group_, depth_, sprite_, x_, y_, flags_) {
this.Obj_X = x_;
this.Obj_Y = y_;
this.Obj_Group = group_;
this.Obj_Depth = depth_;
switch (sprite_) {
case 0 :
this.Obj_Sprite = this.Sprite;
this.setHndlr(3, this.apply_NORMAL);
break;
case 1 :
this.Obj_Sprite = this.Sprite0;
this.Obj_Flags = this.Obj_Flags | 256;
this.setHndlr(3, this.apply_NORMAL0);
break;
case 2 :
this.Obj_Sprite = this.SpriteX;
this.setHndlr(3, this.apply_NORMALX);
}
this.Obj_Flags = this.Obj_Flags | flags_;
this.Obj_Hndlr1_i = this.Obj_Group.addObject(this);
this.setHndlr(1, null);
this.setHndlr(2, null);
if (this.Obj_Flags & 128) {
this.onKeyDown = function () {
if ((this == _root.Level.getMickey()) && (!_root.KeyLocked)) {
var c = Key.getCode();
var i = ((c & 248) / 8);
if (!(this.Keys_state[i] & _root.Bits_on[c & 7])) {
this.Keys_pressed[i] = this.Keys_pressed[i] | _root.Bits_on[c & 7];
}
this.Keys_state[i] = this.Keys_state[i] | _root.Bits_on[c & 7];
}
};
this.onKeyUp = function () {
var c = Key.getCode();
var i = (c >> 3);
this.Keys_state[i] = this.Keys_state[i] & _root.Bits_off[c & 7];
};
Key.addListener(this);
this.setHndlr(3, this.apply_MICKEY);
}
if (this.Obj_Flags & 8) {
this.onKeyDown = function () {
var c = Key.getCode();
var i = ((c & 248) / 8);
if (!(this.Keys_state[i] & _root.Bits_on[c & 7])) {
this.Keys_pressed[i] = this.Keys_pressed[i] | _root.Bits_on[c & 7];
}
this.Keys_state[i] = this.Keys_state[i] | _root.Bits_on[c & 7];
};
this.onKeyUp = function () {
var c = Key.getCode();
var i = (c >> 3);
this.Keys_state[i] = this.Keys_state[i] & _root.Bits_off[c & 7];
};
Key.addListener(this);
this.Obj_Flash = -1;
this.setHndlr(3, this.apply_KEYBD);
}
};
MOT_Obj.prototype.kill = function () {
if (!(this.Obj_Flags & 16)) {
this.Obj_Flags = this.Obj_Flags | 16;
this.Obj_Group.kill(this);
}
};
MOT_Obj.prototype.isNPC = function () {
return(!(this.Obj_Flags & 128));
};
MOT_Obj.prototype.alwaysRun = function () {
return(!(this.Obj_Flags & 384));
};
MOT_Obj.prototype.updateCacheIndexes = function () {
this.oldXCacheIndex = this.xCacheIndex;
this.xCacheIndex = (this.Obj_X + 128) >> 23;
if (this.xCacheIndex < 0) {
this.xCacheIndex = 0;
} else if (this.xCacheIndex > 10) {
this.xCacheIndex = 10;
}
this.oldYCacheIndex = this.yCacheIndex;
this.yCacheIndex = (this.Obj_Y + 128) >> 23;
if (this.yCacheIndex < 0) {
this.yCacheIndex = 0;
} else if (this.yCacheIndex > 10) {
this.yCacheIndex = 10;
}
};
MOT_Obj.prototype.updateCache = function () {
if (this.Obj_Flags & 384) {
return(undefined);
}
this.oldXCacheIndex = this.xCacheIndex;
this.xCacheIndex = (this.Obj_X + 128) >> 23;
if (this.xCacheIndex < 0) {
this.xCacheIndex = 0;
} else if (this.xCacheIndex > 10) {
this.xCacheIndex = 10;
}
this.oldYCacheIndex = this.yCacheIndex;
this.yCacheIndex = (this.Obj_Y + 128) >> 23;
if (this.yCacheIndex < 0) {
this.yCacheIndex = 0;
} else if (this.yCacheIndex > 10) {
this.yCacheIndex = 10;
}
if ((this.oldXCacheIndex != this.xCacheIndex) || (this.oldYCacheIndex != this.yCacheIndex)) {
_root.Objs.remapIntoCache(this);
}
};
MOT_Obj.prototype.updateCacheX = function () {
this.oldXCacheIndex = this.xCacheIndex;
this.xCacheIndex = (this.Obj_X + 128) >> 23;
if (this.xCacheIndex < 0) {
this.xCacheIndex = 0;
} else if (this.xCacheIndex > 10) {
this.xCacheIndex = 10;
}
this.oldYCacheIndex = this.yCacheIndex;
this.yCacheIndex = (this.Obj_Y + 128) >> 23;
if (this.yCacheIndex < 0) {
this.yCacheIndex = 0;
} else if (this.yCacheIndex > 10) {
this.yCacheIndex = 10;
}
if ((this.oldXCacheIndex != this.xCacheIndex) || (this.oldYCacheIndex != this.yCacheIndex)) {
_root.Objs.remapIntoCache(this);
}
};
MOT_Obj.prototype.setXY = function (newX, newY) {
this.Obj_X = newX;
this.Obj_Y = newY;
if (this.Obj_Flags & 384) {
return(undefined);
}
this.updateCacheIndexes();
if ((this.oldXCacheIndex != this.xCacheIndex) || (this.oldYCacheIndex != this.yCacheIndex)) {
_root.Objs.remapIntoCache(this);
}
};
MOT_Obj.prototype.setX = function (newX) {
this.Obj_X = newX;
if (this.Obj_Flags & 384) {
return(undefined);
}
this.updateCacheIndexes();
if ((this.oldXCacheIndex != this.xCacheIndex) || (this.oldYCacheIndex != this.yCacheIndex)) {
_root.Objs.remapIntoCache(this);
}
};
MOT_Obj.prototype.setY = function (newY) {
this.Obj_Y = newY;
if (this.Obj_Flags & 384) {
return(undefined);
}
this.updateCacheIndexes();
if ((this.oldXCacheIndex != this.xCacheIndex) || (this.oldYCacheIndex != this.yCacheIndex)) {
_root.Objs.remapIntoCache(this);
}
};
MOT_Obj.prototype.getKey = function (c) {
return(this.Keys_state[c >> 3] & _root.Bits_on[c & 7]);
};
MOT_Obj.prototype.getPressed = function (c) {
return(this.Keys_pressed[c >> 3] & _root.Bits_on[c & 7]);
};
MOT_Obj.prototype.setHndlr = function (h, method_) {
this["Obj_Hndlr" + h] = method_;
};
MOT_Obj.prototype.apply_NORMAL = function () {
this._x = (this.Obj_X >> 16) - _root.Scroll_X;
this._y = (this.Obj_Y >> 16) - _root.Scroll_Y;
this._xscale = this.Obj_Flip * 100;
};
MOT_Obj.prototype.apply_NORMAL0 = function () {
this._x = this.Obj_X >> 16;
this._y = this.Obj_Y >> 16;
this._xscale = this.Obj_Flip * 100;
};
MOT_Obj.prototype.apply_NORMALX = function () {
this._x = -_root.Scroll_X;
this._y = -_root.Scroll_Y;
this._xscale = this.Obj_Flip * 100;
};
MOT_Obj.prototype.apply_KEYBD = function () {
var i;
this.Keys_pressed[0] = 0;
this.Keys_pressed[1] = 0;
this.Keys_pressed[2] = 0;
this.Keys_pressed[3] = 0;
this.Keys_pressed[4] = 0;
this.Keys_pressed[5] = 0;
this.Keys_pressed[6] = 0;
this.Keys_pressed[7] = 0;
this.Keys_pressed[8] = 0;
this.Keys_pressed[9] = 0;
this.Keys_pressed[10] = 0;
this.Keys_pressed[11] = 0;
this.Keys_pressed[12] = 0;
this.Keys_pressed[13] = 0;
this.Keys_pressed[14] = 0;
this.Keys_pressed[15] = 0;
this.Obj_Sprite();
this._xscale = this.Obj_Flip * 100;
};
MOT_Obj.prototype.apply_MICKEY = function () {
var i;
this.Keys_pressed[0] = 0;
this.Keys_pressed[1] = 0;
this.Keys_pressed[2] = 0;
this.Keys_pressed[3] = 0;
this.Keys_pressed[4] = 0;
this.Keys_pressed[5] = 0;
this.Keys_pressed[6] = 0;
this.Keys_pressed[7] = 0;
this.Keys_pressed[8] = 0;
this.Keys_pressed[9] = 0;
this.Keys_pressed[10] = 0;
this.Keys_pressed[11] = 0;
this.Keys_pressed[12] = 0;
this.Keys_pressed[13] = 0;
this.Keys_pressed[14] = 0;
this.Keys_pressed[15] = 0;
this.Obj_Sprite();
this._xscale = this.Obj_Flip * 100;
this.updateCacheIndexes();
if (this.Obj_Flash > -1) {
if (this.Obj_Flash) {
if ((this.Obj_Flash & 3) > 2) {
this._visible = 1;
} else {
this._visible = 0;
}
this.Obj_Flash--;
} else {
this._visible = 1;
}
}
};
MOT_OBJ.prototype.setDepth = function (depth_) {
this.Obj_Depth = depth_;
this.swapDepths(((this.Obj_Depth * 64) + this.Obj_Hndlr1_i) + 16384);
};
MOT_Obj.prototype.Sprite = function () {
this._x = (this.Obj_X >> 16) - _root.Scroll_X;
this._y = (this.Obj_Y >> 16) - _root.Scroll_Y;
};
MOT_Obj.prototype.Sprite0 = function () {
this._x = this.Obj_X >> 16;
this._y = this.Obj_Y >> 16;
};
MOT_Obj.prototype.SpriteX = function () {
this._x = -_root.Scroll_X;
this._y = -_root.Scroll_Y;
};
MOT_Obj.prototype.killKeys = function () {
this.Keys_pressed[0] = 0;
this.Keys_pressed[1] = 0;
this.Keys_pressed[2] = 0;
this.Keys_pressed[3] = 0;
this.Keys_pressed[4] = 0;
this.Keys_pressed[5] = 0;
this.Keys_pressed[6] = 0;
this.Keys_pressed[7] = 0;
this.Keys_pressed[8] = 0;
this.Keys_pressed[9] = 0;
this.Keys_pressed[10] = 0;
this.Keys_pressed[11] = 0;
this.Keys_pressed[12] = 0;
this.Keys_pressed[13] = 0;
this.Keys_pressed[14] = 0;
this.Keys_pressed[15] = 0;
this.Keys_pressed[16] = 0;
this.Keys_pressed[17] = 0;
this.Keys_pressed[18] = 0;
this.Keys_pressed[19] = 0;
this.Keys_pressed[20] = 0;
this.Keys_pressed[21] = 0;
this.Keys_pressed[22] = 0;
this.Keys_pressed[23] = 0;
this.Keys_pressed[24] = 0;
this.Keys_pressed[25] = 0;
this.Keys_pressed[26] = 0;
this.Keys_pressed[27] = 0;
this.Keys_pressed[28] = 0;
this.Keys_pressed[29] = 0;
this.Keys_pressed[30] = 0;
this.Keys_pressed[31] = 0;
this.Keys_state[0] = 0;
this.Keys_state[1] = 0;
this.Keys_state[2] = 0;
this.Keys_state[3] = 0;
this.Keys_state[4] = 0;
this.Keys_state[5] = 0;
this.Keys_state[6] = 0;
this.Keys_state[7] = 0;
this.Keys_state[8] = 0;
this.Keys_state[9] = 0;
this.Keys_state[10] = 0;
this.Keys_state[11] = 0;
this.Keys_state[12] = 0;
this.Keys_state[13] = 0;
this.Keys_state[14] = 0;
this.Keys_state[15] = 0;
this.Keys_state[16] = 0;
this.Keys_state[17] = 0;
this.Keys_state[18] = 0;
this.Keys_state[19] = 0;
this.Keys_state[20] = 0;
this.Keys_state[21] = 0;
this.Keys_state[22] = 0;
this.Keys_state[23] = 0;
this.Keys_state[24] = 0;
this.Keys_state[25] = 0;
this.Keys_state[26] = 0;
this.Keys_state[27] = 0;
this.Keys_state[28] = 0;
this.Keys_state[29] = 0;
this.Keys_state[30] = 0;
this.Keys_state[31] = 0;
};
MOT_Obj.prototype.cacheCX = function () {
this.CX1 = (this.Obj_X >> 16) + this.Obj_X1;
this.CX2 = (this.Obj_X >> 16) + this.Obj_X2;
this.CY1 = (this.Obj_Y >> 16) + this.Obj_Y1;
this.CY2 = (this.Obj_Y >> 16) + this.Obj_Y2;
};
MOT_Obj.prototype.Ck_Collide_DN = function () {
var i;
var x1;
var x2;
var y2;
x1 = (this.Obj_X >> 16) + this.Obj_X1;
x2 = (this.Obj_X >> 16) + this.Obj_X2;
y2 = (this.Obj_Y >> 16) + this.Obj_Y2;
y2 = y2 & 4294967288;
if (_root.Collide_DN_Tabl[_root.CMapArray[((y2 / 8) * 102) + ((x1 & 4294967288) / 8)]] || (_root.Collide_DN_Tabl[_root.CMapArray[((y2 / 8) * 102) + ((x2 & 4294967288) / 8)]])) {
this.CX_Collide_Flag = this.CX_Collide_Flag | 8;
this.Obj_Y = ((y2 - this.Obj_Y2) - 1) << 16;
return(1);
}
return(0);
};
MOT_Obj.prototype.Ck_Collide_UP = function () {
var i;
var x;
var x1;
var x2;
var y1;
var y2;
x1 = (this.Obj_X >> 16) + this.Obj_X1;
x2 = (this.Obj_X >> 16) + this.Obj_X2;
y1 = (this.Obj_Y >> 16) + this.Obj_Y1;
y2 = (this.Obj_Y >> 16) + this.Obj_Y2;
y1 = y1 & 4294967288;
x = x1 & 4294967288;
while (x <= (x2 & 4294967288)) {
i = ((y1 / 8) * 102) + (x / 8);
if (_root.CMapArray[i] == 1) {
this.CX_Collide_Flag = this.CX_Collide_Flag | 4;
this.Obj_Y = ((y1 + 8) - this.Obj_Y1) << 16;
return(1);
}
x = x + 8;
}
return(0);
};
MOT_Obj.prototype.Ck_Collide_LF = function () {
var i;
var y;
var x1;
var x2;
var y1;
var y2;
x1 = (this.Obj_X >> 16) + this.Obj_X1;
x2 = (this.Obj_X >> 16) + this.Obj_X2;
y1 = (this.Obj_Y >> 16) + this.Obj_Y1;
y2 = (this.Obj_Y >> 16) + this.Obj_Y2;
x1 = x1 & 4294967288;
y = y1 & 4294967288;
while (y <= (y2 & 4294967288)) {
i = ((y / 8) * 102) + (x1 / 8);
if (_root.CMapArray[i] == 1) {
this.CX_Collide_Flag = this.CX_Collide_Flag | 1;
this.Obj_X = ((x1 + 8) - this.Obj_X1) << 16;
return(1);
}
y = y + 8;
}
return(0);
};
MOT_Obj.prototype.Ck_Collide_RT = function () {
var i;
var y;
var x1;
var x2;
var y1;
var y2;
x1 = (this.Obj_X >> 16) + this.Obj_X1;
x2 = (this.Obj_X >> 16) + this.Obj_X2;
y1 = (this.Obj_Y >> 16) + this.Obj_Y1;
y2 = (this.Obj_Y >> 16) + this.Obj_Y2;
x2 = x2 & 4294967288;
y = y1 & 4294967288;
while (y <= (y2 & 4294967288)) {
i = ((y / 8) * 102) + (x2 / 8);
if (_root.CMapArray[i] == 1) {
this.CX_Collide_Flag = this.CX_Collide_Flag | 1;
this.Obj_X = ((x2 - 1) - this.Obj_X2) << 16;
return(1);
}
y = y + 8;
}
return(0);
};
MOT_Obj.prototype.CX_Ladder = function (label_) {
var i;
var x;
if (this.getKey(38)) {
if ((i = this.CX_Ladder0())) {
x = (this.Obj_X >> 16) & (7 + ((i - 2) * 8));
this.Obj_Target = (this.Obj_X - (x << 16)) + 1048576;
this.Obj_Timer = 16 - x;
this.Obj_Climb = 0;
this.Obj_Flags = this.Obj_Flags | 1;
this.CX_Obj_Collide = 0;
this.gotoAndPlay(label_);
return(1);
}
}
return(0);
};
MOT_Obj.prototype.CX_LadderX = function (label_) {
var i;
var x;
if (this.getKey(40)) {
if ((i = this.CX_LadderX1())) {
x = (this.Obj_X >> 16) & (7 + ((i - 6) * 8));
this.Obj_Target = (this.Obj_X - (x << 16)) + 1048576;
this.Obj_Timer = 16 - x;
this.Obj_Climb = 1;
this.Obj_Y = ((this.Obj_Y >> 16) + 1) << 16;
this.gotoAndPlay(label_);
return(1);
}
}
return(0);
};
MOT_Obj.prototype.CX_Ladder0 = function () {
var i;
var x;
var y;
var x1;
var x2;
var y1;
var y2;
x1 = this.Obj_X >> 16;
y2 = (this.Obj_Y >> 16) + this.Obj_Y2;
x1 = x1 & 4294967288;
y2 = y2 & 4294967288;
i = ((y2 / 8) * 102) + (x1 / 8);
i = _root.CMapArray[i];
if ((i >= 2) && (i <= 5)) {
return(i);
}
return(0);
};
MOT_Obj.prototype.CX_LadderX0 = function () {
var i;
var x;
var y;
var x1;
var x2;
var y1;
var y2;
x1 = this.Obj_X >> 16;
y2 = (this.Obj_Y >> 16) + this.Obj_Y2;
x1 = x1 & 4294967288;
y2 = y2 & 4294967288;
i = ((y2 / 8) * 102) + (x1 / 8);
i = _root.CMapArray[i];
if ((i >= 6) && (i <= 9)) {
return(i);
}
return(0);
};
MOT_Obj.prototype.CX_LadderX1 = function () {
var i;
var x;
var y;
var x1;
var x2;
var y1;
var y2;
x1 = this.Obj_X >> 16;
y2 = (this.Obj_Y >> 16) + this.Obj_Y2;
x1 = x1 & 4294967288;
y2 = y2 & 4294967288;
i = (((y2 + 8) / 8) * 102) + (x1 / 8);
i = _root.CMapArray[i];
if ((i >= 6) && (i <= 9)) {
return(i);
}
return(0);
};
MOT_Obj.prototype.CX_Gravity = function () {
};
MOT_Obj.prototype.CX_Init = function (flags_) {
this.Obj_CX_Flags = flags_;
this.CX_Collide_Flag = (this.CX_Bounce_Flag = (this.CX_Fall_Flag = 0));
this.Old_X0 = this.Obj_X;
this.Old_Y0 = this.Obj_Y;
};
MOT_Obj.prototype.CX = function (flags_, gravity_, max_velocity_) {
var x;
if (this.CX_DY) {
this.Obj_Y = this.Obj_Y + this.CX_DY;
this.CX_DY = 0;
}
this.Obj_CX_Flags = flags_;
this.CX_Collide_Flag = (this.CX_Bounce_Flag = (this.CX_Fall_Flag = 0));
this.Old_X0 = this.Obj_X;
this.Old_Y0 = this.Obj_Y;
this.Obj_DY = this.Obj_DY + gravity_;
if (this.Obj_DY > max_velocity_) {
this.Obj_DY = max_velocity_;
}
if (this.CX_Obj_Collide) {
this.CX_Collide_Flag = this.CX_Collide_Flag | this.CX_Obj_Collide;
}
this.Obj_X = this.Obj_X + this.Obj_DX;
if ((this.Obj_X >> 16) != (this.Old_X0 >> 16)) {
if (this.Obj_DX < 0) {
while (this.Ck_Collide_LF()) {
}
} else if (this.Obj_DX > 0) {
while (this.Ck_Collide_RT()) {
}
}
}
this.Obj_Y = this.Obj_Y + this.Obj_DY;
if ((this.Obj_Y >> 16) != (this.Old_Y0 >> 16)) {
if (this.Obj_DY < 0) {
while (this.Ck_Collide_UP()) {
}
} else if (this.Obj_DY > 0) {
while (this.Ck_Collide_DN()) {
}
}
}
if (this.CX_Collide_Flag & 8) {
this.Obj_DY = 65536;
}
if (this.CX_Obj_Collide & 8) {
x = 262144 /* 0x040000 */;
} else {
x = 131072 /* 0x020000 */;
}
if ((this.Obj_Y - this.Old_Y0) > x) {
this.CX_Fall_Flag = 1;
}
if (this.CX_Obj_Collide) {
this.CX_Obj_Collide = 0;
}
this.CX1 = (this.Obj_X >> 16) + this.Obj_X1;
this.CX2 = (this.Obj_X >> 16) + this.Obj_X2;
this.CY1 = (this.Obj_Y >> 16) + this.Obj_Y1;
this.CY2 = (this.Obj_Y >> 16) + this.Obj_Y2;
};
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
_root.frame = 0;
_root.Health = 0;
_root.snd = 0;
_root.Objs = new MOT_ObjGroup();
_root.Keys = new MOT_Keypad();
_root.Level = new MOT_Level();
_root._xscale = 100;
_root._yscale = 100;
_root.snd = new Sound(this);
_root.snd.setVolume(100);
_root.gotoTitle();
CMapArray = [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 1, 1, 0, 0, 0,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8, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 2, 3, 4, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 4, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 255, 255, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 255, 255, 255, 255, 255, 255, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 255, 255, 255, 255, 255, 255, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255];
Symbol 34 MovieClip [Game Over] Frame 30
stop();
Instance of Symbol 33 MovieClip in Symbol 34 MovieClip [Game Over] Frame 30
onClipEvent (mouseUp) {
this.Lose.removeMovieClip();
_root.snd.stop("LV_214_loop");
_root.gotoGame();
}
Symbol 49 MovieClip Frame 20
gotoAndPlay (1);
Symbol 54 MovieClip Frame 10
gotoAndPlay (1);
Symbol 61 MovieClip Frame 15
gotoAndPlay (1);
Symbol 68 MovieClip [Win Screen] Frame 70
stop();
Instance of Symbol 67 MovieClip in Symbol 68 MovieClip [Win Screen] Frame 70
onClipEvent (mouseUp) {
this.Win.removeMovieClip();
_root.snd.stop("LVM_01_loop");
_root.gotoGame();
}
Symbol 77 MovieClip [Title Screen] Frame 1
Symbol 77 MovieClip [Title Screen] Frame 39
_root.snd.attachSound("LV_147");
_root.snd.start();
Symbol 77 MovieClip [Title Screen] Frame 90
stop();
Instance of Symbol 76 MovieClip in Symbol 77 MovieClip [Title Screen] Frame 90
onClipEvent (mouseUp) {
_root.gotoGame();
_root.Title.removeMovieClip();
}
Symbol 212 MovieClip [FighterClass] Frame 1
function Do_Fighter_Shoot() {
_root.Arrow = _root.Objs.create("ArrowClass", 56, 0, this.Obj_X, this.Obj_Y - 1114112, null);
_root.Arrow.Obj_Flip = this.Obj_Flip;
_root.snd.attachSound("LV_135");
_root.snd.start();
}
function Fighter_Walk() {
if (this.Keys_state[4] & _root.Bits_on[5]) {
if (this.Obj_DX > 0) {
this.Obj_DX = 0;
}
this.Obj_DX = this.Obj_DX + -32768;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
if (this.Obj_DX < 0) {
this.Obj_DX = 0;
}
this.Obj_DX = this.Obj_DX + 32768;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
gotoAndPlay (49);
}
if (this.CX_Ladder("Fighter_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Fighter_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Fighter_Fall");
}
if (this.CX_Collide_Flag & 3) {
this.gotoAndPlay("Fighter_Push");
}
}
function Fighter_Idle() {
this.Obj_DX = 0;
if (0 && (this.Keys_pressed[2] & _root.Bits_on[1])) {
this.gotoAndPlay("Fighter_Cheat");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = -1;
gotoAndPlay (16);
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = 1;
gotoAndPlay (16);
} else if (this.Keys_state[8] & _root.Bits_on[1]) {
if (_root.MOT_random(0, 99) > 50) {
_root.snd.attachSound("LV_201");
_root.snd.start();
gotoAndPlay (136);
} else {
_root.snd.attachSound("LV_201");
_root.snd.start();
gotoAndPlay (159);
}
} else if (this.Keys_state[10] & _root.Bits_on[3]) {
if (!_root.Arrow) {
this.gotoAndPlay("Fighter_Shoot");
}
} else if (this.Keys_pressed[4] & _root.Bits_on[6]) {
if (_root.teleportCheck(this)) {
this.gotoAndPlay("Fighter_Teleport");
}
_root.helpCheck(this);
}
if (this.CX_Ladder("Fighter_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Fighter_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Fighter_Fall");
}
}
function Fighter_IdleA() {
this.Obj_DX = 0;
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
gotoAndPlay (16);
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
gotoAndPlay (16);
}
if (this.CX_Ladder("Fighter_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Fighter_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Fighter_Fall");
}
}
function Fighter_SwordA() {
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Fighter_Fall");
}
}
function Fighter_SwordB() {
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Fighter_Fall");
}
}
function Fighter_Climb_Frame() {
this.Obj_AnimFrame = this.Obj_AnimFrame + 80;
switch ((this.Obj_AnimFrame >> 8) & 3) {
case 0 :
this.gotoAndStop("Fighter_Climb1");
return;
case 1 :
this.gotoAndStop("Fighter_Climb2");
return;
case 2 :
this.gotoAndStop("Fighter_Climb3");
return;
case 3 :
this.gotoAndStop("Fighter_Climb4");
}
}
function Fighter_Climb0() {
this.Obj_Flags = this.Obj_Flags | 1;
if (this.Obj_Timer < 0) {
this.Obj_Timer = this.Obj_Timer + 4;
this.Obj_X = this.Obj_X - 262144;
if (this.Obj_X <= this.Obj_Target) {
this.Obj_X = this.Obj_Target;
}
} else if (this.Obj_Timer > 0) {
this.Obj_Timer = this.Obj_Timer + 4;
this.Obj_X = this.Obj_X + 262144;
if (this.Obj_X >= this.Obj_Target) {
this.Obj_X = this.Obj_Target;
}
}
if (this.Obj_X == this.Obj_Target) {
if (this.Obj_Climb == 0) {
this.gotoAndPlay("Fighter_Climb");
}
if (this.Obj_Climb == 1) {
this.gotoAndPlay("Fighter_Climb_Out");
}
}
}
function Fighter_Climb() {
this.Obj_Flags = this.Obj_Flags | 1;
this.Obj_DX = 0;
this.Obj_DY = 0;
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_DY = -163840;
this.Fighter_Climb_Frame();
} else if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_DY = 163840 /* 0x028000 */;
this.Fighter_Climb_Frame();
} else if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Fighter_Fall");
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Fighter_Fall");
}
this.CX(0, 0, 1073741824);
if (!this.CX_Ladder0()) {
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Fighter_Climb_Out");
}
if (this.CX_Collide_Flag & 8) {
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Fighter_Idle");
}
}
function Fighter_Climb_Out() {
this.Obj_DX = 0;
this.Obj_DY = 0;
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_DY = -65536;
} else if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_DY = 65536;
}
if (((this.Obj_Y >> 16) & 7) < 4) {
this.gotoAndStop("Fighter_Climb_Out1");
} else {
this.gotoAndStop("Fighter_Climb_Out2");
}
this.Obj_X = this.Obj_X + this.Obj_DX;
this.Obj_Y = this.Obj_Y + this.Obj_DY;
if (!this.CX_LadderX0()) {
this.gotoAndPlay("Fighter_Idle");
if (this.CX_Ladder0()) {
this.gotoAndPlay("Fighter_Climb");
} else {
this.Obj_DX = 0;
this.Obj_DY = 0;
this.Obj_Y = this.Obj_Y & 4294443008;
this.Obj_Y = this.Obj_Y + 458752;
this.gotoAndPlay("Fighter_Idle");
}
}
}
function Fighter_Fall() {
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -32768;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 32768;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
}
if (this.CX_Ladder("Fighter_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (((this.Obj_Y - this.Obj_Target) >> 16) > 96) {
this.gotoAndPlay("Fighter_FreeFall");
}
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
_root.snd.attachSOund("LV_196");
_root.snd.start();
this.gotoAndPlay("Fighter_Idle");
}
}
function Fighter_FreeFall() {
this.Obj_DX = 0;
if (this.CX_Ladder("Fighter_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (((this.Obj_Y - this.Obj_Target) >> 16) > 96) {
this.gotoAndPlay("Fighter_FreeFall");
}
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
_root.ImpactY_Flag = 9;
_root.snd.attachSound("LV_185");
_root.snd.start();
this.gotoAndPlay("Fighter_Crash");
}
}
function Fighter_Push() {
this.Obj_DX = 0;
if (this.Keys_state[4] & _root.Bits_on[5]) {
if (this.Obj_DX > 0) {
this.Obj_DX = 0;
}
this.Obj_DX = -65536;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
if (this.Obj_DX < 0) {
this.Obj_DX = 0;
}
this.Obj_DX = 65536;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.gotoAndPlay("Fighter_Idle");
}
this.CX(0, 32768, 524288);
if (!(this.CX_Collide_Flag & 3)) {
this.gotoAndPlay("Fighter_Idle");
}
}
function Fighter_Crash() {
this.CX(0, 0, 1073741824);
}
function Fighter_Shocked() {
}
function Fighter_Shoot() {
this.CX(0, 32768, 524288);
}
function Fighter_Cheat() {
if (this.Keys_pressed[2] & _root.Bits_on[1]) {
this.gotoAndPlay("Fighter_Fall");
}
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_Y = this.Obj_Y - 524288;
}
if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_Y = this.Obj_Y + 524288;
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
this.Obj_X = this.Obj_X - 524288;
}
if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
this.Obj_X = this.Obj_X + 524288;
}
this.cacheCX();
trace((("x: " + (this.Obj_X >> 16)) + ", y: ") + (this.Obj_Y >> 16));
}
function Fighter_Teleport() {
}
function Fighter_Splat() {
}
function Fighter_Hit() {
this.Obj_Flags = this.Obj_Flags & 65534;
this.Obj_X = this.Obj_X + this.Obj_DX;
if (this.Obj_DX < 0) {
while (this.Ck_Collide_LF()) {
}
} else if (this.Obj_DX > 0) {
while (this.Ck_Collide_RT()) {
}
}
}
function Fighter_Die() {
}
this.gotoAndPlay("Fighter_Idle");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -31;
this.Obj_Y2 = 0;
Symbol 212 MovieClip [FighterClass] Frame 16
this.SetHndlr(1, this.Fighter_Walk);
this.gotoAndPlay("Fighter_Walk_Loop");
Symbol 212 MovieClip [FighterClass] Frame 32
Symbol 212 MovieClip [FighterClass] Frame 48
this.gotoAndPlay("Fighter_Walk_Loop");
Symbol 212 MovieClip [FighterClass] Frame 49
this.SetHndlr(1, this.Fighter_Idle);
this.Obj_Timer = 8;
this.gotoAndPlay("Fighter_Idle_Loop");
Symbol 212 MovieClip [FighterClass] Frame 85
this.Obj_Timer--;
if (this.Obj_Timer != 0) {
this.gotoAndPlay("Fighter_Idle_Loop");
} else {
this.gotoAndPlay("Fighter_IdleA");
}
Symbol 212 MovieClip [FighterClass] Frame 86
this.SetHndlr(1, this.Fighter_IdleA);
this.gotoAndPlay("Fighter_IdleA_Loop");
Symbol 212 MovieClip [FighterClass] Frame 135
this.gotoAndPlay("Fighter_Idle");
Symbol 212 MovieClip [FighterClass] Frame 136
this.SetHndlr(1, this.Fighter_SwordA);
this.gotoAndPlay("Fighter_SwordA_Loop");
Symbol 212 MovieClip [FighterClass] Frame 152
this.Obj_Flags = this.Obj_Flags | 2;
Symbol 212 MovieClip [FighterClass] Frame 158
this.Obj_Flags = this.Obj_Flags & 253;
this.gotoAndPlay("Fighter_Idle");
Symbol 212 MovieClip [FighterClass] Frame 159
this.SetHndlr(1, this.Fighter_SwordB);
this.gotoAndPlay("Fighter_SwordB_Loop");
Symbol 212 MovieClip [FighterClass] Frame 175
this.Obj_Flags = this.Obj_Flags | 2;
Symbol 212 MovieClip [FighterClass] Frame 181
this.Obj_Flags = this.Obj_Flags & 253;
this.gotoAndPlay("Fighter_Idle");
Symbol 212 MovieClip [FighterClass] Frame 182
this.setHndlr(1, this.Fighter_Climb0);
this.gotoAndPlay("Fighter_Climb1");
Symbol 212 MovieClip [FighterClass] Frame 196
this.SetHndlr(1, this.Fighter_Climb);
this.gotoAndPlay("Fighter_Climb1");
Symbol 212 MovieClip [FighterClass] Frame 209
stop();
Symbol 212 MovieClip [FighterClass] Frame 210
stop();
Symbol 212 MovieClip [FighterClass] Frame 211
stop();
Symbol 212 MovieClip [FighterClass] Frame 212
stop();
Symbol 212 MovieClip [FighterClass] Frame 213
this.setHndlr(1, this.Fighter_Climb_Out);
this.gotoAndPlay("Fighter_Climb_Out1");
Symbol 212 MovieClip [FighterClass] Frame 228
stop();
Symbol 212 MovieClip [FighterClass] Frame 229
stop();
Symbol 212 MovieClip [FighterClass] Frame 230
this.setHndlr(1, this.Fighter_Fall);
this.gotoAndPlay("Fighter_Fall_Loop");
this.Obj_Target = this.Obj_Y;
Symbol 212 MovieClip [FighterClass] Frame 246
this.gotoAndPlay("Fighter_Fall_Loop");
Symbol 212 MovieClip [FighterClass] Frame 247
this.Obj_Health--;
if (this.Obj_Health > 0) {
this.setHndlr(1, this.Fighter_Crash);
this.gotoAndPlay("Fighter_Crash_Loop");
} else {
this.gotoAndPlay("Fighter_Splat");
}
Symbol 212 MovieClip [FighterClass] Frame 259
this.Obj_Timer = 4;
Symbol 212 MovieClip [FighterClass] Frame 266
this.Obj_Timer--;
if (this.Obj_Timer != 0) {
this.gotoAndPlay("Fighter_Dizzy_Loop");
} else {
this.gotoAndPlay("Fighter_Get_Up_Loop");
}
Symbol 212 MovieClip [FighterClass] Frame 273
this.gotoAndPlay("Fighter_Idle");
Symbol 212 MovieClip [FighterClass] Frame 274
this.SetHndlr(1, this.Fighter_FreeFall);
this.gotoAndPlay("Fighter_FreeFall_Loop");
Symbol 212 MovieClip [FighterClass] Frame 287
this.gotoAndPlay("Fighter_FreeFall_Loop");
Symbol 212 MovieClip [FighterClass] Frame 288
this.SetHndlr(1, this.Fighter_Push);
this.gotoAndPlay("Fighter_Push_Loop");
Symbol 212 MovieClip [FighterClass] Frame 308
_root.snd.attachSound("LV_177");
_root.snd.start();
Symbol 212 MovieClip [FighterClass] Frame 311
this.gotoAndPlay("Fighter_Push_Loop");
Symbol 212 MovieClip [FighterClass] Frame 312
this.setHndlr(1, this.Fighter_Shocked);
this.gotoAndPlay("Runner_Shocked_Loop");
this.Obj_Timer = 3;
Symbol 212 MovieClip [FighterClass] Frame 326
_root.snd.attachSound("LV_219");
_root.snd.start();
Symbol 212 MovieClip [FighterClass] Frame 334
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Runner_Shocked_Loop");
} else {
this.gotoAndPlay("Runner_Gone");
}
Symbol 212 MovieClip [FighterClass] Frame 335
this.setHndlr(1, this.Fighter_Shoot);
this.gotoAndPlay("Fighter_Shoot1_Loop");
this.Obj_Timer = 4;
Symbol 212 MovieClip [FighterClass] Frame 354
this.Do_Fighter_Shoot();
Symbol 212 MovieClip [FighterClass] Frame 357
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Fighter_Shoot2_Loop");
} else {
this.gotoAndPlay("Fighter_Idle");
}
Symbol 212 MovieClip [FighterClass] Frame 358
this.setHndlr(1, this.Fighter_Teleport);
this.gotoAndPlay("Fighter_Teleport_Out_Loop");
_root.snd.attachSound("LV_216");
_root.snd.start();
Symbol 212 MovieClip [FighterClass] Frame 381
_root.teleportCreate(this);
Symbol 212 MovieClip [FighterClass] Frame 393
this.Obj_X = 42074112 /* 0x2820000 */;
this.Obj_Y = 27197440 /* 0x19F0000 */;
_root.teleportCreate(this);
_root.snd.attachSound("LV_217");
_root.snd.start();
this.gotoAndPlay("Runner_Teleport_In_Loop");
Symbol 212 MovieClip [FighterClass] Frame 411
this.gotoAndPlay("Fighter_Idle");
Symbol 212 MovieClip [FighterClass] Frame 412
this.setHndlr(1, this.Fighter_Cheat);
this.gotoAndPlay("Fighter_Cheat_Loop");
Symbol 212 MovieClip [FighterClass] Frame 428
this.gotoAndPlay("Fighter_Cheat_Loop");
Symbol 212 MovieClip [FighterClass] Frame 429
this.Obj_Flash = -1;
this._visible = 0;
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_GONE;
this.gotoAndPlay("Runner_Gone_Loop");
Symbol 212 MovieClip [FighterClass] Frame 442
this.gotoAndPlay("Runner_Gone_Loop");
Symbol 212 MovieClip [FighterClass] Frame 443
this.SetHndlr(1, this.Fighter_Splat);
this.gotoAndPlay("Fighter_Splat_Loop");
_root.snd.attachSound("LV_203");
_root.snd.start();
Symbol 212 MovieClip [FighterClass] Frame 466
this.gotoAndPlay("Runner_Gone");
Symbol 212 MovieClip [FighterClass] Frame 467
this.SetHndlr(1, this.Fighter_Hit);
this.Obj_Health--;
if (this.Obj_Health > 0) {
this.gotoAndPlay("Fighter_Hit_Loop");
} else {
this.gotoAndPlay("Fighter_Die");
}
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_DEAD;
Symbol 212 MovieClip [FighterClass] Frame 486
this.Obj_Flags = this.Obj_Flags & (255 - _root.Obj_Flags_DEAD);
this.gotoAndPlay("Fighter_Idle");
Symbol 212 MovieClip [FighterClass] Frame 487
this.SetHndlr(1, this.Fighter_Die);
this.gotoAndPlay("Fighter_Die_Loop");
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_DEAD;
Symbol 212 MovieClip [FighterClass] Frame 524
this.gotoAndPlay("Runner_Gone");
Symbol 323 MovieClip [RunnerClass] Frame 1
function Runner_Walk() {
if (this.Keys_state[10] & _root.Bits_on[3]) {
this.gotoAndPlay("Runner_Fast");
} else if (this.Keys_pressed[8] & _root.Bits_on[1]) {
this.Obj_DY = -491520;
this.gotoAndPlay("Runner_Jump");
} else if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -49152;
if (this.Obj_DX < -458752) {
this.Obj_DX = -458752;
}
if ((this.Obj_Flip == 1) && (this.Obj_DX > 196608)) {
_root.snd.attachSound("LV_184");
_root.snd.start();
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 49152;
if (this.Obj_DX > 458752) {
this.Obj_DX = 458752 /* 0x070000 */;
}
if ((this.Obj_Flip == -1) && (this.Obj_DX < -196608)) {
_root.snd.attachSound("LV_184");
_root.snd.start();
}
this.Obj_Flip = 1;
} else {
var dx = (this.Obj_DX >> 16);
this.Obj_DX = 0;
if ((dx <= -5) || (dx >= 5)) {
gotoAndPlay (166);
} else {
gotoAndPlay (47);
}
}
if (this.CX_Ladder("Runner_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Runner_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Runner_Fall");
}
if (this.CX_Collide_Flag & 3) {
this.gotoAndPlay("Runner_Push");
}
}
function Runner_Fast() {
this.Obj_Flags = this.Obj_Flags | 32;
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -49152;
if (this.Obj_DX < -458752) {
this.Obj_DX = -458752;
}
if (this.Obj_Flip != -1) {
var dx = (this.Obj_DX >> 16);
this.Obj_DX = 0;
this.Obj_Flags = this.Obj_Flags & 65503;
if ((dx <= -5) || (dx >= 5)) {
gotoAndPlay (166);
} else {
gotoAndPlay (47);
}
}
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 49152;
if (this.Obj_DX > 458752) {
this.Obj_DX = 458752 /* 0x070000 */;
}
if (this.Obj_Flip != 1) {
var dx = (this.Obj_DX >> 16);
this.Obj_DX = 0;
this.Obj_Flags = this.Obj_Flags & 65503;
if ((dx <= -5) || (dx >= 5)) {
gotoAndPlay (166);
} else {
gotoAndPlay (47);
}
}
} else if (!(this.Keys_state[10] & _root.Bits_on[3])) {
var dx = (this.Obj_DX >> 16);
this.Obj_DX = 0;
this.Obj_Flags = this.Obj_Flags & 65503;
if ((dx <= -5) || (dx >= 5)) {
gotoAndPlay (166);
} else {
gotoAndPlay (47);
}
} else {
var dx = (this.Obj_DX >> 16);
this.Obj_DX = 0;
this.Obj_Flags = this.Obj_Flags & 65503;
if ((dx <= -5) || (dx >= 5)) {
gotoAndPlay (166);
} else {
gotoAndPlay (47);
}
}
if (this.CX_Ladder("Runner_Climb0")) {
this.Obj_Flags = this.Obj_Flags & 65503;
return(undefined);
}
if (this.CX_LadderX("Runner_Climb0")) {
this.Obj_Flags = this.Obj_Flags & 65503;
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.Obj_Flags = this.Obj_Flags & 65503;
this.gotoAndPlay("Runner_Fall");
}
if (this.CX_Collide_Flag & 3) {
_root.ImpactX_Flag = 9;
_root.snd.attachSound("LV_185");
_root.snd.start();
this.gotoAndPlay("Runner_Bonk");
}
}
function Runner_Idle() {
this.Obj_DX = 0;
if (0 && (this.Keys_pressed[2] & _root.Bits_on[1])) {
this.gotoAndPlay("Runner_Cheat");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = -1;
gotoAndPlay (15);
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = 1;
gotoAndPlay (15);
} else if (this.Keys_pressed[8] & _root.Bits_on[1]) {
this.Obj_DX = 0;
this.Obj_DY = -491520;
gotoAndPlay (144);
} else if (this.Keys_pressed[4] & _root.Bits_on[6]) {
if (_root.teleportCheck(this)) {
this.gotoAndPlay("Runner_Teleport");
}
_root.helpCheck(this);
}
if (this.CX_Ladder("Runner_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Runner_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Runner_Fall");
}
}
function Runner_Jump_Frame() {
var dy = this.Obj_DY;
if (dy < -65536) {
this.gotoAndPlay("Runner_Jump1");
} else if (dy <= 65536) {
this.gotoAndPlay("Runner_Jump2");
} else {
this.Obj_Timer++;
if ((this.Obj_Timer & 7) < 4) {
this.gotoAndStop("Runner_Fall1");
} else {
this.gotoAndStop("Runner_Fall2");
}
}
}
function Runner_Jump() {
this.Runner_Jump_Frame();
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -49152;
if (this.Obj_DX < -458752) {
this.Obj_DX = -458752;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 49152;
if (this.Obj_DX > 458752) {
this.Obj_DX = 458752 /* 0x070000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
}
if (this.Obj_DY > 65536) {
this.gotoAndPlay("Runner_Fall");
}
if (this.CX_Ladder("Runner_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
if (this.Keys_pressed[8] & _root.Bits_on[1]) {
this.Obj_DY = -491520;
this.gotoAndPlay("Runner_Jump");
} else {
this.gotoAndPlay("Runner_Idle");
}
}
}
function Runner_Fall() {
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -49152;
if (this.Obj_DX < -458752) {
this.Obj_DX = -458752;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 49152;
if (this.Obj_DX > 458752) {
this.Obj_DX = 458752 /* 0x070000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
}
if (this.CX_Ladder("Runner_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (((this.Obj_Y - this.Obj_Target) >> 16) > 96) {
this.gotoAndPlay("Runner_FreeFall");
}
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
if (this.Keys_pressed[8] & _root.Bits_on[1]) {
this.Obj_DY = -491520;
this.gotoAndPlay("Runner_Jump");
} else {
_root.snd.attachSound("LV_196");
_root.snd.start();
this.gotoAndPlay("Runner_Idle");
}
}
}
function Runner_FreeFall() {
this.Obj_DX = 0;
if (this.CX_Ladder("Runner_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
_root.ImpactY_Flag = 9;
_root.snd.attachSound("LV_185");
_root.snd.start();
this.gotoAndPlay("Runner_Crash");
}
}
function Runner_Tired() {
if (0 && (this.Keys_pressed[2] & _root.Bits_on[1])) {
this.gotoAndPlay("Runner_Cheat");
}
if (this.Keys_pressed[8] & _root.Bits_on[1]) {
this.Obj_DY = -491520;
gotoAndPlay (144);
} else if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
this.gotoAndPlay("Runner_Walk");
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
this.gotoAndPlay("Runner_Walk");
} else if (this.Keys_pressed[4] & _root.Bits_on[6]) {
if (_root.teleportCheck(this)) {
this.gotoAndPlay("Runner_Teleport");
}
_root.helpCheck(this);
}
if (this.CX_Ladder("Runner_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Runner_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Runner_Fall");
}
}
function Runner_Climb_Frame() {
this.Obj_AnimFrame = this.Obj_AnimFrame + 80;
switch ((this.Obj_AnimFrame >> 8) & 3) {
case 0 :
this.gotoAndStop("Runner_Climb1");
return;
case 1 :
this.gotoAndStop("Runner_Climb2");
return;
case 2 :
this.gotoAndStop("Runner_Climb3");
return;
case 3 :
this.gotoAndStop("Runner_Climb4");
}
}
function Runner_Climb0() {
this.Obj_Flags = this.Obj_Flags | 1;
if (this.Obj_Timer < 0) {
this.Obj_Timer = this.Obj_Timer + 4;
this.Obj_X = this.Obj_X - 262144;
if (this.Obj_X <= this.Obj_Target) {
this.Obj_X = this.Obj_Target;
}
} else if (this.Obj_Timer > 0) {
this.Obj_Timer = this.Obj_Timer + 4;
this.Obj_X = this.Obj_X + 262144;
if (this.Obj_X >= this.Obj_Target) {
this.Obj_X = this.Obj_Target;
}
}
if (this.Obj_X == this.Obj_Target) {
if (this.Obj_Climb == 0) {
this.gotoAndPlay("Runner_Climb");
}
if (this.Obj_Climb == 1) {
this.gotoAndPlay("Runner_Climb_Out");
}
}
}
function Runner_Climb() {
this.Obj_Flags = this.Obj_Flags | 1;
this.Obj_DX = 0;
this.Obj_DY = 0;
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_DY = -163840;
this.Runner_Climb_Frame();
} else if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_DY = 163840 /* 0x028000 */;
this.Runner_Climb_Frame();
} else if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Runner_Fall");
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Runner_Fall");
}
this.CX(0, 0, 1073741824);
if (!this.CX_Ladder0()) {
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Runner_Climb_Out");
}
if (this.CX_Collide_Flag & 8) {
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Runner_Idle");
}
}
function Runner_Climb_Out() {
this.Obj_DX = 0;
this.Obj_DY = 0;
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_DY = -65536;
} else if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_DY = 65536;
}
if (((this.Obj_Y >> 16) & 7) < 4) {
this.gotoAndStop("Runner_Climb_Out1");
} else {
this.gotoAndStop("Runner_Climb_Out2");
}
this.Obj_X = this.Obj_X + this.Obj_DX;
this.Obj_Y = this.Obj_Y + this.Obj_DY;
if (!this.CX_LadderX0()) {
this.gotoAndPlay("Runner_Idle");
if (this.CX_Ladder0()) {
this.gotoAndPlay("Runner_Climb");
} else {
this.Obj_DX = 0;
this.Obj_DY = 0;
this.Obj_Y = this.Obj_Y & 4294443008;
this.Obj_Y = this.Obj_Y + 458752;
this.gotoAndPlay("Runner_Idle");
}
}
}
function Runner_Dizzy() {
this.CX(0, 32768, 524288);
}
function Runner_Crash() {
this.CX(0, 32768, 524288);
}
function Runner_Push() {
this.Obj_DX = 0;
if (this.Keys_pressed[8] & _root.Bits_on[1]) {
this.Obj_DY = -491520;
this.gotoAndPlay("Runner_Jump");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
if (this.Obj_DX > 0) {
this.Obj_DX = 0;
}
this.Obj_DX = -65536;
if (this.Obj_DX < -458752) {
this.Obj_DX = -458752;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
if (this.Obj_DX < 0) {
this.Obj_DX = 0;
}
this.Obj_DX = 65536;
if (this.Obj_DX > 458752) {
this.Obj_DX = 458752 /* 0x070000 */;
}
this.Obj_Flip = 1;
} else {
this.gotoAndPlay("Runner_Idle");
}
this.CX(0, 32768, 524288);
if (!(this.CX_Collide_Flag & 3)) {
this.gotoAndPlay("Runner_Idle");
}
}
function Runner_Bonk() {
this.Obj_Flags = this.Obj_Flags & 65503;
if (this.Obj_DX < 0) {
this.Obj_DX = this.Obj_DX + 8192;
if (this.Obj_DX > 0) {
this.Obj_DX = 0;
}
}
if (this.Obj_DX > 0) {
this.Obj_DX = this.Obj_DX - 8192;
if (this.Obj_DX < 0) {
this.Obj_DX = 0;
}
}
this.CX_Init();
this.Obj_DY = this.Obj_DY + 32768;
if (this.Obj_DY > 524288) {
this.Obj_DY = 524288 /* 0x080000 */;
}
if (this.CX_Obj_Collide) {
this.CX_Collide_Flag = this.CX_Collide_Flag | this.CX_Obj_Collide;
}
this.Obj_X = this.Obj_X + this.Obj_DX;
if (this.Obj_DX < 0) {
while (this.Ck_Collide_LF()) {
}
}
if (this.Obj_DX > 0) {
while (this.Ck_Collide_RT()) {
}
}
this.Obj_Y = this.Obj_Y + this.Obj_DY;
if (this.Obj_DY < 0) {
while (this.Ck_Collide_UP()) {
}
}
if (this.Obj_DY > 0) {
while (this.Ck_Collide_DN()) {
}
}
if (this.CX_Collide_Flag & 8) {
this.Obj_DY = -this.Obj_DY;
this.Obj_DY = this.Obj_DY + 98304;
if (this.Obj_DY > 0) {
this.Obj_DY = 0;
}
}
if (this.CX_Obj_Collide & 8) {
x = 262144 /* 0x040000 */;
} else {
x = 131072 /* 0x020000 */;
}
if ((this.Obj_Y - this.Old_Y0) > x) {
this.CX_Fall_Flag = 1;
}
if (this.CX_Obj_Collide) {
this.CX_Obj_Collide = 0;
}
this.cacheCX();
}
function Runner_Cheat() {
if (this.Keys_pressed[2] & _root.Bits_on[1]) {
this.gotoAndPlay("Runner_Fall");
}
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_Y = this.Obj_Y - 524288;
}
if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_Y = this.Obj_Y + 524288;
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
this.Obj_X = this.Obj_X - 524288;
}
if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
this.Obj_X = this.Obj_X + 524288;
}
this.cacheCX();
trace((("x: " + (this.Obj_X >> 16)) + ", y: ") + (this.Obj_Y >> 16));
}
function Runner_Shocked() {
}
function Runner_Teleport() {
}
function Runner_Splat() {
}
function Runner_Hit() {
this.Obj_Flags = this.Obj_Flags & 65534;
this.Obj_X = this.Obj_X + this.Obj_DX;
if (this.Obj_DX < 0) {
while (this.Ck_Collide_LF()) {
}
} else if (this.Obj_DX > 0) {
while (this.Ck_Collide_RT()) {
}
}
}
function Runner_Die() {
}
this.gotoAndPlay("Runner_Walk");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -31;
this.Obj_Y2 = 0;
Symbol 323 MovieClip [RunnerClass] Frame 15
this.setHndlr(1, this.Runner_Walk);
this.gotoAndPlay("Runner_Walk_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 46
this.gotoAndPlay("Runner_Walk_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 47
this.setHndlr(1, this.Runner_Idle);
this.gotoAndPlay("Runner_Idle_Loop");
this.Obj_Timer = 4;
Symbol 323 MovieClip [RunnerClass] Frame 98
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Runner_Idle_Loop");
} else {
this.gotoAndPlay("Runner_IdleA");
}
Symbol 323 MovieClip [RunnerClass] Frame 99
this.gotoAndPlay("Runner_IdleA1_Loop");
this.Obj_Timer = 3;
Symbol 323 MovieClip [RunnerClass] Frame 121
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Runner_IdleA2_Loop");
} else {
this.gotoAndPlay("Runner_IdleA3_Loop");
}
Symbol 323 MovieClip [RunnerClass] Frame 126
this.gotoAndPlay("Runner_Idle");
Symbol 323 MovieClip [RunnerClass] Frame 127
this.setHndlr(1, this.Runner_Fall);
this.gotoAndPlay("Runner_Fall_Loop");
this.Obj_Target = this.Obj_Y;
Symbol 323 MovieClip [RunnerClass] Frame 141
Symbol 323 MovieClip [RunnerClass] Frame 143
this.gotoAndPlay("Runner_Fall_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 144
this.setHndlr(1, this.Runner_Jump);
this.gotoAndStop("Runner_Jump1");
this.Obj_DY = -491520;
Symbol 323 MovieClip [RunnerClass] Frame 158
stop();
Symbol 323 MovieClip [RunnerClass] Frame 160
stop();
Symbol 323 MovieClip [RunnerClass] Frame 162
stop();
Symbol 323 MovieClip [RunnerClass] Frame 164
stop();
Symbol 323 MovieClip [RunnerClass] Frame 166
this.setHndlr(1, this.Runner_Tired);
this.gotoAndPlay("Runner_Tired_Loop");
this.Obj_Timer = 2;
Symbol 323 MovieClip [RunnerClass] Frame 192
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Runner_Tired_Loop");
} else {
this.gotoAndPlay("Runner_Idle");
}
Symbol 323 MovieClip [RunnerClass] Frame 193
this.setHndlr(1, this.Runner_Climb0);
this.gotoAndPlay("Runner_Climb1");
Symbol 323 MovieClip [RunnerClass] Frame 206
this.setHndlr(1, this.Runner_Climb);
this.gotoAndPlay("Runner_Climb1");
Symbol 323 MovieClip [RunnerClass] Frame 219
stop();
Symbol 323 MovieClip [RunnerClass] Frame 220
stop();
Symbol 323 MovieClip [RunnerClass] Frame 221
stop();
Symbol 323 MovieClip [RunnerClass] Frame 222
stop();
Symbol 323 MovieClip [RunnerClass] Frame 223
this.setHndlr(1, this.Runner_Climb_Out);
this.gotoAndPlay("Runner_Climb_Out1");
Symbol 323 MovieClip [RunnerClass] Frame 236
stop();
Symbol 323 MovieClip [RunnerClass] Frame 237
stop();
Symbol 323 MovieClip [RunnerClass] Frame 238
this.setHndlr(1, this.Runner_Dizzy);
this.gotoAndPlay("Runner_Dizzy_Loop");
this.Obj_Timer = 4;
_root.snd.attachSound("LV_148");
_root.snd.start();
Symbol 323 MovieClip [RunnerClass] Frame 262
this.Obj_Timer--;
if (this.Obj_Timer != 0) {
this.gotoAndPlay("Runner_Dizzy_Loop");
} else {
this.gotoAndPlay("Runner_Get_Up");
}
Symbol 323 MovieClip [RunnerClass] Frame 263
this.gotoAndPlay("Runner_Get_Up_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 285
this.gotoAndPlay("Runner_Idle");
Symbol 323 MovieClip [RunnerClass] Frame 286
this.setHndlr(1, this.Runner_FreeFall);
this.gotoAndPlay("Runner_FreeFall_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 301
this.gotoAndPlay("Runner_FreeFall_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 302
this.Obj_Health--;
if (this.Obj_Health > 0) {
this.setHndlr(1, this.Runner_Crash);
this.gotoAndPlay("Runner_Crash_Loop");
} else {
this.gotoAndPlay("Runner_Splat");
}
Symbol 323 MovieClip [RunnerClass] Frame 319
this.gotoAndPlay("Runner_Dizzy");
Symbol 323 MovieClip [RunnerClass] Frame 320
this.setHndlr(1, this.Runner_Fast);
this.gotoAndPlay("Runner_Fast_Loop");
this.Obj_Timer = 1;
Symbol 323 MovieClip [RunnerClass] Frame 337
this.Obj_Timer--;
if (this.Obj_Timer != 0) {
this.gotoAndPlay("Runner_Fast_Loop");
} else {
this.gotoAndPlay("Runner_Faster");
}
Symbol 323 MovieClip [RunnerClass] Frame 342
this.gotoAndPlay("Runner_Fastest_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 364
this.gotoAndPlay("Runner_Fastest_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 365
this.setHndlr(1, this.Runner_Push);
this.gotoAndPlay("Runner_Push_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 385
_root.snd.attachSound("LV_177");
_root.snd.start();
Symbol 323 MovieClip [RunnerClass] Frame 388
this.gotoAndPlay("Runner_Push_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 389
this.setHndlr(1, this.Runner_Bonk);
this.gotoAndPlay("Runner_Bonk1");
this.Obj_DX = -196608 * this.Obj_Flip;
this.Obj_DY = -196608;
this.Obj_Timer = 16;
Symbol 323 MovieClip [RunnerClass] Frame 405
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Runner_Bonk3");
} else {
this.gotoAndPlay("Runner_Dizzy0");
}
Symbol 323 MovieClip [RunnerClass] Frame 418
this.gotoAndPlay("Runner_Dizzy");
Symbol 323 MovieClip [RunnerClass] Frame 419
this.setHndlr(1, this.Runner_Cheat);
this.gotoAndPlay("Runner_Cheat_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 432
Symbol 323 MovieClip [RunnerClass] Frame 435
this.gotoAndPlay("Runner_Cheat_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 436
this.setHndlr(1, this.Runner_Shocked);
this.gotoAndPlay("Runner_Shocked_Loop");
this.Obj_Timer = 4;
Symbol 323 MovieClip [RunnerClass] Frame 450
_root.snd.attachSound("LV_219");
_root.snd.start();
Symbol 323 MovieClip [RunnerClass] Frame 458
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Runner_Shocked_Loop");
} else {
this.gotoAndPlay("Runner_Gone");
}
Symbol 323 MovieClip [RunnerClass] Frame 459
this.setHndlr(1, this.Runner_Teleport);
this.gotoAndPlay("Runner_Teleport_Out_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 473
_root.snd.attachSound("LV_216");
_root.snd.start();
Symbol 323 MovieClip [RunnerClass] Frame 479
Symbol 323 MovieClip [RunnerClass] Frame 484
_root.teleportCreate(this);
Symbol 323 MovieClip [RunnerClass] Frame 496
this.Obj_X = 42074112 /* 0x2820000 */;
this.Obj_Y = 27197440 /* 0x19F0000 */;
_root.teleportCreate(this);
_root.snd.attachSound("LV_217");
_root.snd.start();
this.gotoAndPlay("Runner_Teleport_In_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 518
this.gotoAndPlay("Runner_Idle");
Symbol 323 MovieClip [RunnerClass] Frame 519
this.Obj_Flash = -1;
this._visible = 0;
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_GONE;
this.gotoAndPlay("Runner_Gone_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 536
this.gotoAndPlay("Runner_Gone_Loop");
Symbol 323 MovieClip [RunnerClass] Frame 537
this.setHndlr(1, this.Runner_Splat);
this.gotoAndPlay("Runner_Splat_Loop");
_root.snd.attachSound("LV_203");
_root.snd.start();
Symbol 323 MovieClip [RunnerClass] Frame 559
this.gotoAndPlay("Runner_Gone");
Symbol 323 MovieClip [RunnerClass] Frame 560
this.setHndlr(1, this.Runner_Hit);
this.Obj_Health--;
if (this.Obj_Health > 0) {
this.gotoAndPlay("Runner_Hit_Loop");
} else {
this.gotoAndPlay("Runner_Die");
}
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_DEAD;
Symbol 323 MovieClip [RunnerClass] Frame 576
this.Obj_Flags = this.Obj_Flags & (255 - _root.Obj_Flags_DEAD);
this.gotoAndPlay("Runner_Idle");
Symbol 323 MovieClip [RunnerClass] Frame 577
this.setHndlr(1, this.Runner_Die);
this.gotoAndPlay("Runner_Die_Loop");
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_DEAD;
Symbol 323 MovieClip [RunnerClass] Frame 615
this.gotoAndPlay("Runner_Gone");
Symbol 430 MovieClip [ShieldClass] Frame 1
function Shield_Collide0(target) {
if ((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) {
return(0);
}
if ((target.CY2 > this.CY1) && (target.CY2 < (this.CY2 - 16))) {
target.Obj_Y = this.CY1 << 16;
target.CX_Obj_Collide = 8;
if (this.Obj_DY > 0) {
target.CX_DY = 262144 /* 0x040000 */;
}
if (this.Obj_DY < 0) {
target.CX_DY = 262144 /* 0x040000 */;
}
return(1);
}
return(0);
}
function Shield_Collide() {
if (this.Obj_Shield_Up && (!(this.Obj_Flags & 1))) {
if (!(_root.Runner.Obj_Flags & 1)) {
Shield_Collide0(_root.Runner);
}
if (!(_root.Fighter.Obj_Flags & 1)) {
Shield_Collide0(_root.Fighter);
}
}
}
function Shield_Walk_Dn() {
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.gotoAndPlay("Shield_Walk_Up");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
if (this.Obj_DX > 0) {
this.Obj_DX = 0;
}
this.Obj_DX = this.Obj_DX + -32768;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
if (this.Obj_DX < 0) {
this.Obj_DX = 0;
}
this.Obj_DX = this.Obj_DX + 32768;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
gotoAndPlay (43);
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Shield_Fall_Dn");
}
if (this.CX_Collide_Flag & 3) {
this.gotoAndPlay("Shield_Push");
}
}
function Shield_Idle_Dn() {
this.Obj_DX = 0;
if (0 && (this.Keys_pressed[2] & _root.Bits_on[1])) {
this.gotoAndPlay("Shield_Cheat");
}
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.Obj_Shield_Up = 1;
this.gotoAndPlay("Shield_Idle_Up");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = -1;
gotoAndPlay (15);
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = 1;
gotoAndPlay (15);
} else if (this.Keys_state[8] & _root.Bits_on[1]) {
} else if (this.Keys_pressed[4] & _root.Bits_on[6]) {
if (_root.teleportCheck(this)) {
this.gotoAndPlay("Shield_Teleport");
}
_root.helpCheck(this);
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Shield_Fall_Dn");
}
}
function Shield_Walk_Up() {
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.gotoAndPlay("Shield_Walk_Dn");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
if (this.Obj_DX > 0) {
this.Obj_DX = 0;
}
this.Obj_DX = this.Obj_DX + -32768;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
if (this.Obj_DX < 0) {
this.Obj_DX = 0;
}
this.Obj_DX = this.Obj_DX + 32768;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
gotoAndPlay (103);
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Fall_Flag) {
this.gotoAndPlay("Shield_Fall_Dn");
}
if (this.CX_Collide_Flag & 3) {
this.gotoAndPlay("Shield_Push");
}
}
function Shield_Idle_Up() {
this.Obj_DX = 0;
if (0 && (this.Keys_pressed[2] & _root.Bits_on[1])) {
this.gotoAndPlay("Shield_Cheat");
}
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.Obj_Shield_Up = 0;
this.gotoAndPlay("Shield_Idle_Dn");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = -1;
gotoAndPlay (74);
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = 1;
gotoAndPlay (74);
} else if (this.Keys_state[8] & _root.Bits_on[1]) {
} else if (this.Keys_pressed[4] & _root.Bits_on[6]) {
if (_root.teleportCheck(this)) {
this.gotoAndPlay("Shield_Teleport");
}
_root.helpCheck(this);
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
if (this.CX_LadderX("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
}
function Shield_Climb_Frame() {
this.Obj_AnimFrame = this.Obj_AnimFrame + 80;
switch ((this.Obj_AnimFrame >> 8) & 3) {
case 0 :
this.gotoAndStop("Shield_Climb1");
return;
case 1 :
this.gotoAndStop("Shield_Climb2");
return;
case 2 :
this.gotoAndStop("Shield_Climb3");
return;
case 3 :
this.gotoAndStop("Shield_Climb4");
}
}
function Shield_Climb0() {
this.Obj_Flags = this.Obj_Flags | 1;
if (this.Obj_Timer < 0) {
this.Obj_Timer = this.Obj_Timer + 4;
this.Obj_X = this.Obj_X - 262144;
if (this.Obj_X <= this.Obj_Target) {
this.Obj_X = this.Obj_Target;
}
} else if (this.Obj_Timer > 0) {
this.Obj_Timer = this.Obj_Timer + 4;
this.Obj_X = this.Obj_X + 262144;
if (this.Obj_X >= this.Obj_Target) {
this.Obj_X = this.Obj_Target;
}
}
if (this.Obj_X == this.Obj_Target) {
if (this.Obj_Climb == 0) {
this.gotoAndPlay("Shield_Climb");
}
if (this.Obj_Climb == 1) {
this.gotoAndPlay("Shield_Climb_Out");
}
}
}
function Shield_Climb() {
this.Obj_Flags = this.Obj_Flags | 1;
this.Obj_DX = 0;
this.Obj_DY = 0;
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_DY = -163840;
this.Shield_Climb_Frame();
} else if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_DY = 163840 /* 0x028000 */;
this.Shield_Climb_Frame();
} else if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Shield_Fall_Dn");
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Shield_Fall_Dn");
}
this.CX(0, 0, 1073741824);
if (!this.CX_Ladder0()) {
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Shield_Climb_Out");
}
if (this.CX_Collide_Flag & 8) {
this.Obj_Flags = this.Obj_Flags & 65534;
this.gotoAndPlay("Shield_Idle_Dn");
}
}
function Shield_Climb_Out() {
this.Obj_DX = 0;
this.Obj_DY = 0;
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_DY = -65536;
} else if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_DY = 65536;
}
if (((this.Obj_Y >> 16) & 7) < 4) {
this.gotoAndStop("Shield_Climb_Out1");
} else {
this.gotoAndStop("Shield_Climb_Out2");
}
this.Obj_X = this.Obj_X + this.Obj_DX;
this.Obj_Y = this.Obj_Y + this.Obj_DY;
if (!this.CX_LadderX0()) {
this.gotoAndPlay("Shield_Idle");
if (this.CX_Ladder0()) {
this.gotoAndPlay("Shield_Climb");
} else {
this.Obj_DX = 0;
this.Obj_DY = 0;
this.Obj_Y = this.Obj_Y & 4294443008;
this.Obj_Y = this.Obj_Y + 458752;
this.gotoAndPlay("Shield_Idle_Dn");
}
}
}
function Shield_Fall_Dn() {
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.Obj_Shield_Up = 1;
this.gotoAndPlay("Shield_Float");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -32768;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 32768;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (((this.Obj_Y - this.Obj_Target) >> 16) > 96) {
this.gotoAndPlay("Shield_FreeFall");
}
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
_root.snd.attachSOund("LV_196");
_root.snd.start();
this.gotoAndPlay("Shield_Idle_Dn");
}
}
function Shield_FreeFall() {
this.Obj_DX = 0;
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.Obj_Shield_Up = 1;
this.gotoAndPlay("Shield_Float");
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 32768, 524288);
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
_root.ImpactY_Flag = 9;
_root.snd.attachSound("LV_185");
_root.snd.start();
this.gotoAndPlay("Shield_Crash");
}
}
function Shield_Float() {
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.Obj_Shield_Up = 0;
this.gotoAndPlay("Shield_Fall_Dn");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -32768;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
this.gotoAndPlay("Shield_Glide");
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 32768;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
this.gotoAndPlay("Shield_Glide");
} else {
this.Obj_DX = 0;
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 16384, 262144);
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
_root.snd.attachSOund("LV_196");
_root.snd.start();
this.gotoAndPlay("Shield_Idle_Dn");
}
}
function Shield_Glide() {
if ((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) {
this.Obj_Shield_Up = 0;
this.gotoAndPlay("Shield_Fall_Dn");
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_DX = this.Obj_DX + -32768;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_DX = this.Obj_DX + 32768;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.Obj_DX = 0;
this.gotoAndPlay("Shield_Float");
}
if (this.CX_Ladder("Shield_Climb0")) {
return(undefined);
}
this.CX(0, 16384, 262144);
if (this.CX_Collide_Flag & 4) {
this.Obj_DY = 0;
}
if (this.CX_Collide_Flag & 8) {
this.gotoAndPlay("Shield_Idle_Dn");
}
}
function Shield_Crash() {
this.Obj_DX = 0;
this.Obj_DY = 0;
this.CX(0, 32768, 524288);
}
function Shield_Push() {
this.Obj_DX = 0;
if (this.Keys_state[4] & _root.Bits_on[5]) {
if (this.Obj_DX > 0) {
this.Obj_DX = 0;
}
this.Obj_DX = -65536;
if (this.Obj_DX < -393216) {
this.Obj_DX = -393216;
}
this.Obj_Flip = -1;
} else if (this.Keys_state[4] & _root.Bits_on[7]) {
if (this.Obj_DX < 0) {
this.Obj_DX = 0;
}
this.Obj_DX = 65536;
if (this.Obj_DX > 393216) {
this.Obj_DX = 393216 /* 0x060000 */;
}
this.Obj_Flip = 1;
} else {
this.gotoAndPlay("Shield_Idle_Dn");
}
this.CX(0, 32768, 524288);
if (!(this.CX_Collide_Flag & 3)) {
this.gotoAndPlay("Shield_Idle_Dn");
}
}
function Shield_Shocked() {
}
function Shield_Cheat() {
if (this.Keys_pressed[2] & _root.Bits_on[1]) {
this.gotoAndPlay("Shield_Fall_Dn");
}
if (this.Keys_state[4] & _root.Bits_on[6]) {
this.Obj_Y = this.Obj_Y - 524288;
}
if (this.Keys_state[5] & _root.Bits_on[0]) {
this.Obj_Y = this.Obj_Y + 524288;
}
if (this.Keys_state[4] & _root.Bits_on[5]) {
this.Obj_Flip = -1;
this.Obj_X = this.Obj_X - 524288;
}
if (this.Keys_state[4] & _root.Bits_on[7]) {
this.Obj_Flip = 1;
this.Obj_X = this.Obj_X + 524288;
}
this.cacheCX();
trace((("x: " + (this.Obj_X >> 16)) + ", y: ") + (this.Obj_Y >> 16));
}
function Shield_Teleport() {
}
function Shield_Splat() {
}
function Shield_Hit() {
this.Obj_Flags = this.Obj_Flags & 65534;
this.Obj_X = this.Obj_X + this.Obj_DX;
if (this.Obj_DX < 0) {
while (this.Ck_Collide_LF()) {
}
} else if (this.Obj_DX > 0) {
while (this.Ck_Collide_RT()) {
}
}
}
function Shield_Die() {
}
this.gotoAndPlay("Shield_Walk_Dn");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -31;
this.Obj_Y2 = 0;
this.setHndlr(2, Shield_Collide);
Symbol 430 MovieClip [ShieldClass] Frame 15
this.setHndlr(1, this.Shield_Walk_Dn);
this.gotoAndPlay("Shield_Walk_Dn_Loop");
this.Obj_Shield_Up = 0;
Symbol 430 MovieClip [ShieldClass] Frame 42
this.gotoAndPlay("Shield_Walk_Dn_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 43
if (this.Obj_Shield_Up == 1) {
this.gotoAndPlay("Shield_Idle_Up");
} else {
this.setHndlr(1, this.Shield_Idle_Dn);
this.gotoAndPlay("Shield_Idle_Dn_Loop");
}
this.Obj_Timer = 240;
this.Obj_Shield_Up = 0;
Symbol 430 MovieClip [ShieldClass] Frame 56
Symbol 430 MovieClip [ShieldClass] Frame 57
this.Obj_Timer--;
if (Obj_Timer) {
this.gotoAndPlay("Shield_Idle_Dn_Loop");
} else {
this.gotoAndPlay("Shield_Idle_Dn_Cont");
}
Symbol 430 MovieClip [ShieldClass] Frame 73
this.gotoAndPlay("Shield_Idle_Dn");
Symbol 430 MovieClip [ShieldClass] Frame 74
this.setHndlr(1, this.Shield_Walk_Up);
this.gotoAndPlay("Shield_Walk_Up_Loop");
this.Obj_Shield_Up = 1;
Symbol 430 MovieClip [ShieldClass] Frame 102
this.gotoAndPlay("Shield_Walk_Up_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 103
this.setHndlr(1, this.Shield_Idle_Up);
this.gotoAndPlay("Shield_Idle_Up_Loop");
this.Obj_Timer = 240;
this.Obj_Shield_Up = 1;
Symbol 430 MovieClip [ShieldClass] Frame 117
this.Obj_Timer--;
if (Obj_Timer) {
this.gotoAndPlay("Shield_Idle_Up_Loop");
} else {
this.gotoAndPlay("Shield_Idle_Up_Cont");
}
Symbol 430 MovieClip [ShieldClass] Frame 138
this.gotoAndPlay("Shield_Idle_Up");
Symbol 430 MovieClip [ShieldClass] Frame 139
this.setHndlr(1, this.Shield_Climb0);
this.gotoAndPlay("Shield_Climb1");
Symbol 430 MovieClip [ShieldClass] Frame 153
this.setHndlr(1, this.Shield_Climb);
this.gotoAndPlay("Shield_Climb1");
Symbol 430 MovieClip [ShieldClass] Frame 166
stop();
Symbol 430 MovieClip [ShieldClass] Frame 167
stop();
Symbol 430 MovieClip [ShieldClass] Frame 168
stop();
Symbol 430 MovieClip [ShieldClass] Frame 169
stop();
Symbol 430 MovieClip [ShieldClass] Frame 170
this.setHndlr(1, this.Shield_Climb_Out);
this.gotoAndPlay("Shield_Climb_Out1");
Symbol 430 MovieClip [ShieldClass] Frame 185
if (this.Obj_Shield_Up == 1) {
this.gotoAndPlay("Shield_Float");
} else {
this.setHndlr(1, this.Shield_Fall_Dn);
this.gotoAndPlay("Shield_Fall_Dn_Loop");
this.Obj_Target = this.Obj_Y;
}
Symbol 430 MovieClip [ShieldClass] Frame 199
this.gotoAndPlay("Shield_Fall_Dn_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 200
this.setHndlr(1, this.Shield_Float);
this.gotoAndPlay("Shield_Float_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 216
this.gotoAndPlay("Shield_Float_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 217
this.Obj_Health--;
if (this.Obj_Health > 0) {
this.setHndlr(1, this.Shield_Crash);
this.gotoAndPlay("Shield_Crash_Loop");
} else {
this.gotoAndPlay("Shield_Splat");
}
Symbol 430 MovieClip [ShieldClass] Frame 248
this.gotoAndPlay("Shield_Idle_Dn");
Symbol 430 MovieClip [ShieldClass] Frame 249
this.setHndlr(1, this.Shield_FreeFall);
this.gotoAndPlay("Shield_FreeFall_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 262
this.gotoAndPlay("Shield_FreeFall_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 263
this.setHndlr(1, this.Shield_Glide);
this.gotoAndPlay("Shield_Glide_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 278
this.gotoAndPlay("Shield_Glide_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 279
this.setHndlr(1, this.Shield_Push);
this.gotoAndPlay("Shield_Push_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 299
_root.snd.attachSound("LV_177");
_root.snd.start();
Symbol 430 MovieClip [ShieldClass] Frame 302
this.gotoAndPlay("Shield_Push_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 303
this.setHndlr(1, this.Shield_Shocked);
this.gotoAndPlay("Runner_Shocked_Loop");
this.Obj_Timer = 8;
Symbol 430 MovieClip [ShieldClass] Frame 318
_root.snd.attachSound("LV_219");
_root.snd.start();
Symbol 430 MovieClip [ShieldClass] Frame 326
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("Runner_Shocked_Loop");
} else {
this.gotoAndPlay("Runner_Gone");
}
Symbol 430 MovieClip [ShieldClass] Frame 327
this.setHndlr(1, this.Shield_Teleport);
this.gotoAndPlay("Shield_Teleport_Out_Loop");
_root.snd.attachSound("LV_216");
_root.snd.start();
Symbol 430 MovieClip [ShieldClass] Frame 352
_root.teleportCreate(this);
Symbol 430 MovieClip [ShieldClass] Frame 363
this.Obj_X = 42074112 /* 0x2820000 */;
this.Obj_Y = 27197440 /* 0x19F0000 */;
_root.teleportCreate(this);
_root.snd.attachSound("LV_217");
_root.snd.start();
this.gotoAndPlay("Shield_Teleport_In_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 383
this.gotoAndPlay("Shield_Idle_Dn");
Symbol 430 MovieClip [ShieldClass] Frame 384
this.setHndlr(1, this.Shield_Cheat);
this.gotoAndPlay("Shield_Cheat_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 397
this.gotoAndPlay("Shield_Cheat_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 398
this.Obj_Flash = -1;
this._visible = 0;
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_GONE;
this.gotoAndPlay("Runner_Gone_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 415
this.gotoAndPlay("Runner_Gone_Loop");
Symbol 430 MovieClip [ShieldClass] Frame 416
this.setHndlr(1, this.Shield_Splat);
this.gotoAndPlay("Shield_Splat_Loop");
_root.snd.attachSound("LV_203");
_root.snd.start();
Symbol 430 MovieClip [ShieldClass] Frame 440
this.gotoAndPlay("Runner_Gone");
Symbol 430 MovieClip [ShieldClass] Frame 441
this.setHndlr(1, this.Shield_Hit);
this.Obj_Health--;
if (this.Obj_Health > 0) {
this.gotoAndPlay("Shield_Hit_Loop");
} else {
this.gotoAndPlay("Shield_Die");
}
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_DEAD;
Symbol 430 MovieClip [ShieldClass] Frame 456
this.Obj_Flags = this.Obj_Flags & (255 - _root.Obj_Flags_DEAD);
this.gotoAndPlay("Shield_Idle_Dn");
Symbol 430 MovieClip [ShieldClass] Frame 457
this.setHndlr(1, this.Shield_Die);
this.gotoAndPlay("Shield_Die_Loop");
this.Obj_Flags = this.Obj_Flags | _root.Obj_Flags_DEAD;
Symbol 430 MovieClip [ShieldClass] Frame 495
this.gotoAndPlay("Runner_Gone");
Symbol 433 MovieClip [SpaceClass] Frame 1
function Space_Idle() {
var dir = 0;
var over = 0;
if (!_root.KeyLocked) {
if (this.Keys_pressed[10] & _root.Bits_on[1]) {
dir = -1;
}
if (this.Keys_pressed[10] & _root.Bits_on[7]) {
dir = 1;
}
}
if (_root.Level.getMickey().Obj_Flags & 4) {
dir = 1;
}
while (dir) {
if (dir < 0) {
switch (_root.Level.getMickey()) {
case _root.Runner :
_root.Level.exitMickey(_root.Runner);
_root.Level.gotoMickey(_root.Shield);
break;
case _root.Fighter :
_root.Level.exitMickey(_root.Fighter);
_root.Level.gotoMickey(_root.Runner);
break;
case _root.Shield :
_root.Level.exitMickey(_root.Shield);
_root.Level.gotoMickey(_root.Fighter);
}
}
if (dir > 0) {
switch (_root.Level.getMickey()) {
case _root.Runner :
_root.Level.exitMickey(_root.Runner);
_root.Level.gotoMickey(_root.Fighter);
break;
case _root.Fighter :
_root.Level.exitMickey(_root.Fighter);
_root.Level.gotoMickey(_root.Shield);
break;
case _root.Shield :
_root.Level.exitMickey(_root.Shield);
_root.Level.gotoMickey(_root.Runner);
}
}
over++;
if (over > 3) {
_root.quitGame();
_root.gotoLose();
dir = 0;
}
if (!(_root.Level.getMickey().Obj_Flags & 4)) {
dir = 0;
}
}
}
this.gotoAndPlay("Space_Idle");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.setHndlr(1, this.Space_Idle);
Symbol 433 MovieClip [SpaceClass] Frame 17
this.gotoAndPlay("Space_Idle_Loop");
Symbol 433 MovieClip [SpaceClass] Frame 28
Symbol 433 MovieClip [SpaceClass] Frame 29
this.gotoAndPlay("Space_Idle_Loop");
Symbol 447 MovieClip [TeleportClass] Frame 1
function Teleport_Loop() {
}
this.setHndlr(1, this.Teleport_Loop);
this.gotoAndPlay("Teleport_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -32;
this.Obj_Y2 = 0;
Symbol 447 MovieClip [TeleportClass] Frame 28
this.kill();
Symbol 450 MovieClip [ElevatorClass] Frame 1
function Elevator_Collide0(target) {
if ((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) {
return(0);
}
if ((target.CY2 > this.CY1) && (target.CY2 < this.CY2)) {
target.Obj_Y = this.CY1 << 16;
target.CX_Obj_Collide = 8;
if ((this.Obj_DY > 0) || (this.getKey(40))) {
target.CX_DY = 262144 /* 0x040000 */;
}
return(1);
}
return(0);
}
function Elevator_Collide() {
var x;
if (_root.Runner == _root.Level.getMickey()) {
x = x | Elevator_Collide0(_root.Runner);
} else {
Elevator_Collide0(_root.Runner);
}
if (_root.Shield == _root.Level.getMickey()) {
x = x | Elevator_Collide0(_root.Shield);
} else {
Elevator_Collide0(_root.Shield);
}
if (_root.Fighter == _root.Level.getMickey()) {
x = x | Elevator_Collide0(_root.Fighter);
} else {
Elevator_Collide0(_root.Fighter);
}
if (x) {
if (this.getPressed(38) && (this.Obj_Y != this.Obj_Target)) {
if (this.Obj_DY >= 0) {
_root.snd.attachSound("LV_152_loop");
_root.snd.start(0, 20);
_root.snd.stop("LV_153_loop");
}
this.Obj_DY = -262144;
}
if (this.getPressed(40)) {
if (this.Obj_DY <= 0) {
_root.snd.attachSound("LV_153_loop");
_root.snd.start(0, 20);
_root.snd.stop("LV_152_loop");
}
this.Obj_DY = 262144 /* 0x040000 */;
}
}
}
function Elevator_Loop() {
this.Obj_DX = 0;
this.CX(0, 0, 1073741824);
if (this.CX_Collide_Flag & 8) {
if (this.Obj_DY) {
_root.snd.stop("LV_153_loop");
_root.snd.attachSound("LV_154");
_root.snd.start();
}
this.Obj_DY = 0;
} else if (this.Obj_Y <= this.Obj_Target) {
if (this.Obj_DY) {
_root.snd.stop("LV_152_loop");
_root.snd.attachSound("LV_154");
_root.snd.start();
}
this.Obj_Y = this.Obj_Target;
this.Obj_DY = 0;
}
this.updateCache();
}
this.setHndlr(1, this.Elevator_Loop);
this.gotoAndPlay("Elevator_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -14;
this.Obj_X2 = 14;
this.Obj_Y1 = -16;
this.Obj_Y2 = 0;
this.setHndlr(2, Elevator_Collide);
this.Obj_Target = this.Obj_Y;
Symbol 450 MovieClip [ElevatorClass] Frame 12
Symbol 450 MovieClip [ElevatorClass] Frame 14
this.gotoAndPlay("Elevator_Loop");
Symbol 463 MovieClip [EnergyFieldClass] Frame 1
function EnergyField_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
if (!(target.Obj_Flags & 64)) {
target.Obj_Flags = target.Obj_Flags | 64;
target.setHndlr(1, 0);
target.gotoAndPlay("Runner_Shocked");
}
return(1);
}
function EnergyField_Collide() {
EnergyField_Collide0(_root.Runner);
EnergyField_Collide0(_root.Shield);
EnergyField_Collide0(_root.Fighter);
}
function EnergyField_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
this.cacheCX();
EnergyField_Collide();
}
}
this.setHndlr(1, this.EnergyField_Loop);
this.gotoAndPlay("EnergyField_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -16;
this.Obj_X2 = 16;
this.Obj_Y1 = -16;
this.Obj_Y2 = 0;
Symbol 463 MovieClip [EnergyFieldClass] Frame 30
this.gotoAndPlay("EnergyField_Loop");
Symbol 472 MovieClip [BarrierClass] Frame 1
function Barrier_Collide0(target) {
if (target.Obj_Flags & 64) {
return(0);
}
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
if (!(target.Obj_Flags & 64)) {
target.Obj_Flags = target.Obj_Flags | 64;
target.setHndlr(1, 0);
target.gotoAndPlay("Runner_Shocked");
}
return(1);
}
function Barrier_Collide() {
Barrier_Collide0(_root.Runner);
Barrier_Collide0(_root.Shield);
Barrier_Collide0(_root.Fighter);
}
function Barrier_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
if (!(this.Obj_Flags & 64)) {
this.cacheCX();
Barrier_Collide();
}
}
}
this.setHndlr(1, this.Barrier_Loop);
this.gotoAndPlay("Barrier_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -4;
this.Obj_X2 = 4;
this.Obj_Y1 = -48;
this.Obj_Y2 = 0;
Symbol 472 MovieClip [BarrierClass] Frame 16
this.gotoAndPlay("Barrier_Loop");
Symbol 481 MovieClip [DoorLockClass] Frame 1
function DoorLock_Collide0(target) {
var x;
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
x = (this.CX1 + this.CX2) / 2;
if (target.CX2 < x) {
target.CX_Obj_Collide = 2;
target.Obj_X = ((this.CX1 - this.Obj_X2) + 2) << 16;
}
if (target.CX1 > x) {
target.CX_Obj_Collide = 1;
target.Obj_X = ((this.CX2 - this.Obj_X1) - 2) << 16;
}
return(1);
}
function DoorLock_Collide1(target) {
var x;
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
x = (this.CX1 + this.CX2) / 2;
if (target.CX2 < x) {
target.CX_Obj_Collide = 2;
}
if (target.CX1 > x) {
target.CX_Obj_Collide = 1;
}
return(1);
}
function DoorLock_Collide() {
DoorLock_Collide0(_root.Runner);
DoorLock_Collide0(_root.Fighter);
DoorLock_Collide0(_root.Shield);
if (this.Obj_Climb & 3) {
if (DoorLock_Collide0(_root.Arrow)) {
_root.Arrow.Obj_Flags = _root.Arrow.Obj_Flags | 64;
}
}
}
function DoorLock_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
this.CX1 = (this.Obj_X >> 16) + this.Obj_X1;
this.CX2 = (this.Obj_X >> 16) + this.Obj_X2;
this.CY1 = (this.Obj_Y >> 16) + this.Obj_Y1;
this.CY2 = (this.Obj_Y >> 16) + this.Obj_Y2;
}
}
this.setHndlr(1, this.DoorLock_Loop);
this.gotoAndPlay("Door_Closed_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -8;
this.Obj_X2 = 8;
this.Obj_Y1 = -32;
this.Obj_Y2 = 0;
this.setHndlr(2, this.DoorLock_Collide);
this.Obj_Timer = 1;
Symbol 481 MovieClip [DoorLockClass] Frame 14
if (this.Obj_Timer) {
this.gotoAndPlay("Door_Closed_Loop");
} else {
this.gotoAndPlay("Door_Opening");
}
Symbol 481 MovieClip [DoorLockClass] Frame 15
if (this == _root.Door4) {
_root.CMapArray[9334] = 0;
_root.CMapArray[9335] = 0;
_root.CMapArray[9436] = 0;
_root.CMapArray[9437] = 0;
_root.CMapArray[9538] = 0;
_root.CMapArray[9539] = 0;
}
_root.snd.attachSound("LV_191");
_root.snd.start();
this.gotoAndPlay("Door_Opening_Loop");
Symbol 481 MovieClip [DoorLockClass] Frame 32
this.setHndlr(2, 0);
this.gotoAndPlay("Door_Opened_Loop");
Symbol 481 MovieClip [DoorLockClass] Frame 39
this.gotoAndPlay("Door_Opened_Loop");
Symbol 483 MovieClip [DoorClass] Frame 1
function Door_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function Door_Collide() {
if ((Door_Collide0(_root.Runner) || (Door_Collide0(_root.Fighter))) || (Door_Collide0(_root.Shield))) {
return(1);
}
return(0);
}
function Door_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
this.CX1 = (this.Obj_X >> 16) + this.Obj_X1;
this.CX2 = (this.Obj_X >> 16) + this.Obj_X2;
this.CY1 = (this.Obj_Y >> 16) + this.Obj_Y1;
this.CY2 = (this.Obj_Y >> 16) + this.Obj_Y2;
if (Door_Collide0(_root.Arrow)) {
_root.Arrow.Obj_Flags = _root.Arrow.Obj_Flags | 64;
}
}
}
this.setHndlr(1, this.Door_Loop);
this.gotoAndPlay("Door_Closed_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -24;
this.Obj_X2 = 24;
this.Obj_Y1 = -32;
this.Obj_Y2 = 0;
Symbol 483 MovieClip [DoorClass] Frame 13
if (this == _root.Door3) {
_root.CMapArray[9296] = 1;
_root.CMapArray[9297] = 1;
_root.CMapArray[9398] = 1;
_root.CMapArray[9399] = 1;
_root.CMapArray[9500] = 1;
_root.CMapArray[9501] = 1;
}
Symbol 483 MovieClip [DoorClass] Frame 14
if ((!Door_Collide()) || (_root.frame < 60)) {
this.gotoAndPlay("Door_Closed_Loop");
} else {
_root.snd.attachSound("LV_191");
_root.snd.start();
this.gotoAndPlay("Door_Opening_Loop");
}
Symbol 483 MovieClip [DoorClass] Frame 26
if (this == _root.Door3) {
_root.CMapArray[9296] = 0;
_root.CMapArray[9297] = 0;
_root.CMapArray[9398] = 0;
_root.CMapArray[9399] = 0;
_root.CMapArray[9500] = 0;
_root.CMapArray[9501] = 0;
}
Symbol 483 MovieClip [DoorClass] Frame 38
if (Door_Collide() || ((this == _root.Door3) && (Door_Collide0(_root.Bowling4)))) {
this.gotoAndPlay("Door_Opened_Loop");
} else {
if (this == _root.Door3) {
_root.CMapArray[9296] = 1;
_root.CMapArray[9297] = 1;
_root.CMapArray[9398] = 1;
_root.CMapArray[9399] = 1;
_root.CMapArray[9500] = 1;
_root.CMapArray[9501] = 1;
}
_root.snd.attachSound("LV_191");
_root.snd.start();
this.gotoAndPLay("Door_Closing_Loop");
}
Symbol 483 MovieClip [DoorClass] Frame 45
this.gotoAndPlay("Door_Closed_Loop");
Symbol 486 MovieClip [SpaceFGClass] Frame 1
this.gotoAndPlay("SpaceFG_Loop");
Symbol 486 MovieClip [SpaceFGClass] Frame 15
this.gotoAndPlay("SpaceFG_Loop");
Symbol 504 MovieClip [WallClass] Frame 1
function Wall_Collide0(target) {
var x;
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
x = (this.CX1 + this.CX2) / 2;
if (target.CX2 < x) {
target.CX_Obj_Collide = 2;
target.Obj_X = ((this.CX1 - this.Obj_X2) + 2) << 16;
}
if (target.CX1 > x) {
target.CX_Obj_Collide = 1;
target.Obj_X = ((this.CX2 - this.Obj_X1) - 2) << 16;
}
return(1);
}
function Wall_Collide() {
var x;
if (this.Obj_Flags & 64) {
return(undefined);
}
x = Wall_Collide0(_root.Runner);
Wall_Collide0(_root.Fighter);
Wall_Collide0(_root.Shield);
if (this.Obj_Climb & 3) {
if (Wall_Collide0(_root.Arrow)) {
_root.Arrow.Obj_Flags = _root.Arrow.Obj_Flags | 64;
}
}
if (x) {
if (_root.Runner.Obj_Flags & 32) {
this.Obj_Flags = this.Obj_Flags | 64;
this.setDepth(8);
this.gotoAndPlay("Wall_Crumble");
}
}
}
function Wall_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
this.cacheCX();
}
}
this.setHndlr(1, this.Wall_Loop);
this.gotoAndPlay("Wall_Closed_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -8;
this.Obj_X2 = 8;
this.Obj_Y1 = -48;
this.Obj_Y2 = 0;
this.setHndlr(2, this.Wall_Collide);
Symbol 504 MovieClip [WallClass] Frame 13
this.gotoAndPlay("Wall_Closed_Loop");
Symbol 504 MovieClip [WallClass] Frame 17
this.gotoAndPlay("Wall_Crumble_Loop");
Symbol 504 MovieClip [WallClass] Frame 30
_root.snd.attachSound("LV_130");
_root.snd.start();
Symbol 504 MovieClip [WallClass] Frame 40
_root.snd.attachSound("LV_130");
_root.snd.start();
Symbol 504 MovieClip [WallClass] Frame 50
_root.snd.attachSound("LV_130");
_root.snd.start();
Symbol 504 MovieClip [WallClass] Frame 60
_root.snd.attachSound("LV_130");
_root.snd.start();
Symbol 504 MovieClip [WallClass] Frame 78
this.gotoAndPlay("Wall_Opened_Loop");
Symbol 513 MovieClip [ArrowClass] Frame 1
function Arrow_Shoot_Collide() {
var i;
var y;
var x1;
var x2;
x1 = ((this.Obj_X >> 16) + this.Obj_X1) & 4294967288;
x2 = ((this.Obj_X >> 16) + this.Obj_X2) & 4294967288;
y = (this.Obj_Y >> 16) & 4294967288;
if (this.Obj_Flip < 0) {
i = ((y / 8) * 102) + (x1 / 8);
} else {
i = ((y / 8) * 102) + (x2 / 8);
}
if (_root.CMapArray[i] == 1) {
return(1);
}
return(0);
}
function Arrow_Shoot_Loop() {
this.Obj_X = this.Obj_X + (524288 * this.Obj_Flip);
this.Obj_Timer--;
this.cacheCX();
this.updateCache();
if (this.Obj_Timer == 0) {
_root.Arrow = 0;
this.kill();
}
if (Arrow_Shoot_Collide() || (this.Obj_Flags & 64)) {
_root.Arrow = 0;
_root.snd.attachSound("LV_225");
_root.snd.start();
this.gotoAndPlay("Arrow_Hit");
}
}
this.setHndlr(1, this.Arrow_Shoot_Loop);
this.gotoAndPlay("Arrow_Shoot_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -10;
this.Obj_X2 = 10;
this.Obj_Y1 = -2;
this.Obj_Y2 = 2;
this.Obj_Timer = 32;
Symbol 513 MovieClip [ArrowClass] Frame 14
this.gotoAndPlay("Arrow_Shoot_Loop");
Symbol 513 MovieClip [ArrowClass] Frame 15
this.setHndlr(1, 0);
this.gotoAndPlay("Arrow_Hit_Loop");
Symbol 513 MovieClip [ArrowClass] Frame 31
this.kill();
Symbol 516 MovieClip [SwitchClass] Frame 1
function Switch_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function Switch_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
this.cacheCX();
if (_root.Arrow) {
if (Switch_Collide0(_root.Arrow)) {
_root.Arrow.Obj_Flags = _root.Arrow.Obj_Flags | 64;
if (this == _root.Switch1) {
_root.Barrier1.Obj_Flags = _root.Barrier1.Obj_Flags | 64;
_root.Barrier1._visible = 0;
}
if (this == _root.Switch2) {
_root.Barrier2.Obj_Flags = _root.Barrier2.Obj_Flags | 64;
_root.Barrier2._visible = 0;
}
}
}
}
}
this.setHndlr(1, this.Switch_Loop);
this.gotoAndPlay("Switch_Off_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -10;
this.Obj_X2 = 10;
this.Obj_Y1 = -10;
this.Obj_Y2 = 10;
Symbol 516 MovieClip [SwitchClass] Frame 9
this.gotoAndPlay("Switch_Off_Loop");
Symbol 535 MovieClip [BowlingClass] Frame 1
function Do_Bowling_Shoot() {
var i = _root.Objs.create("LaserClass", 56, 0, this.Obj_X, this.Obj_Y - 1048576, null);
i.Obj_Flip = this.Obj_Flip;
_root.snd.attachSound("LV_169");
_root.snd.start();
}
function Do_Bowling_Stuff() {
this.Obj_Climb++;
if (_root.Arrow) {
if (!(_root.Arrow.Obj_Flags & 64)) {
if (Bowling_Collide0(_root.Arrow)) {
_root.Arrow.Obj_Flags = _root.Arrow.Obj_Flags | 64;
this.Obj_Flags = this.Obj_Flags | 64;
this._visible = 0;
_root.Objs.create("BowlingDeathClass", 32, 0, this.Obj_X, this.Obj_Y, null);
}
}
}
switch (this.Obj_Climb & 3) {
case 0 :
if (_root.Runner.Obj_Flags & 32) {
if (Bowling_Collide1(_root.Runner)) {
_runner.Obj_Flags = _runner.Obj_Flags & (65535 - 32);
if (this.Obj_Flip > 0) {
_root.Runner.CX_Obj_Collide = _root.Runner.CX_Obj_Collide | 1;
} else {
_root.Runner.CX_Obj_Collide = _root.Runner.CX_Obj_Collide | 2;
}
_root.snd.attachSound("LV_185");
_root.snd.start();
this.Obj_Flags = this.Obj_Flags | 64;
this._visible = 0;
_root.Objs.create("BowlingDeathClass", 32, 0, this.Obj_X, this.Obj_Y, null);
}
}
return;
case 1 :
if (Bowling_Collide1(_root.Fighter)) {
if (_root.Fighter.Obj_Flags & 2) {
_root.Fighter.Obj_Flags = _root.Fighter.Obj_Flags & (255 - 2);
this.Obj_Flags = this.Obj_Flags | 64;
this._visible = 0;
_root.Objs.create("BowlingDeathClass", 32, 0, this.Obj_X, this.Obj_Y, null);
}
}
return;
case 2 :
return;
case 3 :
if (this.Obj_Timer) {
this.Obj_Timer--;
}
if (this.Obj_Timer != 0) {
break;
}
if (!(_root.Shield.Obj_Flags & 4)) {
Bowling_Collide2(_root.Shield);
}
if (!(_root.Runner.Obj_Flags & 4)) {
Bowling_Collide2(_root.Runner);
}
if (_root.Fighter.Obj_Flags & 4) {
break;
}
Bowling_Collide2(_root.Fighter);
}
}
function Bowling_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function Bowling_Collide1(target) {
if (target.Obj_Flip < 0) {
if (((((target.CX2 + 8) < this.CX1) || ((target.CX1 - 16) > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
} else if (((((target.CX2 + 16) < this.CX1) || ((target.CX1 - 8) > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function Bowling_Collide2(target) {
if (((((target.CX2 + 128) < this.CX1) || ((target.CX1 - 128) > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
if (target.Obj_X < this.Obj_X) {
this.Obj_Flip = -1;
this.gotoAndPlay("Bowling_Shoot");
} else {
this.Obj_Flip = 1;
this.gotoAndPlay("Bowling_Shoot");
}
return(1);
}
function Bowling_Collide3(target) {
if (target.Obj_Flip < 0) {
if (((((target.CX2 + 16) < this.CX1) || ((target.CX1 - 24) > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
} else if (((((target.CX2 + 24) < this.CX1) || ((target.CX1 - 16) > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function Bowling_Walk() {
var x;
var y0;
var y1;
var x1;
var y2;
if (this.Obj_Flags & 64) {
return(undefined);
}
if (this.CX_Obj_Collide & 3) {
this.Obj_DX = this.Obj_DX * -1;
this.CX_Obj_Collide = 0;
}
if (!(_root.Shield.Obj_Flags & 4)) {
if (Bowling_Collide3(_root.Shield)) {
} else {
this.Obj_X = this.Obj_X + this.Obj_DX;
}
}
x1 = this.Obj_X >> 16;
y2 = this.Obj_Y >> 16;
y0 = (y2 + 1) & 4294967288;
y1 = (y2 + 0) & 4294967288;
if (this.Obj_DX < 0) {
this.Obj_Flip = -1;
x = (x1 - 1) & 4294967288;
if (!_root.Collide_DN_Tabl[_root.CMapArray[((y0 / 8) * 102) + ((x & 4294967288) / 8)]]) {
this.Obj_DX = this.Obj_DX * -1;
}
if (_root.Collide_DN_Tabl[_root.CMapArray[((y1 / 8) * 102) + ((x & 4294967288) / 8)]]) {
this.Obj_DX = this.Obj_DX * -1;
}
} else {
this.Obj_Flip = 1;
x = (x1 + 1) & 4294967288;
if (!_root.Collide_DN_Tabl[_root.CMapArray[((y0 / 8) * 102) + ((x & 4294967288) / 8)]]) {
this.Obj_DX = this.Obj_DX * -1;
}
if (_root.Collide_DN_Tabl[_root.CMapArray[((y1 / 8) * 102) + ((x & 4294967288) / 8)]]) {
this.Obj_DX = this.Obj_DX * -1;
}
}
this.CX1 = (this.Obj_X >> 16) + this.Obj_X1;
this.CX2 = (this.Obj_X >> 16) + this.Obj_X2;
this.CY1 = (this.Obj_Y >> 16) + this.Obj_Y1;
this.CY2 = (this.Obj_Y >> 16) + this.Obj_Y2;
this.updateCacheX();
Do_Bowling_Stuff();
}
function Bowling_Shoot() {
Do_Bowling_Stuff();
}
this.gotoAndPlay("Bowling_Walk");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -31;
this.Obj_Y2 = 0;
this.Obj_DX = -131072;
this.Obj_Timer = 15;
Symbol 535 MovieClip [BowlingClass] Frame 15
this.setHndlr(1, this.Bowling_Walk);
this.gotoAndPlay("Bowling_Walk_Loop");
Symbol 535 MovieClip [BowlingClass] Frame 48
this.gotoAndPlay("Bowling_Walk_Loop");
Symbol 535 MovieClip [BowlingClass] Frame 49
this.setHndlr(1, this.Bowling_Shoot);
this.gotoAndPlay("Bowling_Shoot_Loop");
this.Obj_Timer = 15;
Symbol 535 MovieClip [BowlingClass] Frame 65
this.Do_Bowling_Shoot();
Symbol 535 MovieClip [BowlingClass] Frame 69
this.Obj_X = this.Obj_X + this.Obj_DX;
if (this.Obj_Flip < 0) {
this.Obj_DX = -131072;
} else {
this.Obj_DX = 131072 /* 0x020000 */;
}
this.gotoAndPlay("Bowling_Walk");
Symbol 538 MovieClip [YellowKeyClass] Frame 1
function YellowKey_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function YellowKey_Loop() {
var x = 0;
this.cacheCX();
if (!(this.Obj_Flags & 64)) {
if (YellowKey_Collide0(_root.Runner)) {
this.Obj_Target = _root.Runner;
x = 1;
}
if (YellowKey_Collide0(_root.Fighter)) {
this.Obj_Target = _root.Fighter;
x = 1;
}
if (YellowKey_Collide0(_root.Shield)) {
this.Obj_Target = _root.Shield;
x = 1;
}
if (x) {
this.Obj_Flags = this.Obj_Flags | 64;
this._visible = 0;
_root.snd.attachSound("LV_178");
_root.snd.start();
}
}
}
this.setHndlr(1, this.YellowKey_Loop);
this.gotoAndPlay("YellowKey_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -10;
this.Obj_Y2 = 0;
Symbol 538 MovieClip [YellowKeyClass] Frame 14
this.gotoAndPlay("YellowKey_Loop");
Symbol 541 MovieClip [RedKeyClass] Frame 1
function RedKey_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function RedKey_Loop() {
var x = 0;
this.cacheCX();
if (!(this.Obj_Flags & 64)) {
if (RedKey_Collide0(_root.Runner)) {
this.Obj_Target = _root.Runner;
x = 1;
}
if (RedKey_Collide0(_root.Fighter)) {
this.Obj_Target = _root.Fighter;
x = 1;
}
if (RedKey_Collide0(_root.Shield)) {
this.Obj_Target = _root.Shield;
x = 1;
}
if (x) {
this.Obj_Flags = this.Obj_Flags | 64;
this._visible = 0;
_root.snd.attachSound("LV_178");
_root.snd.start();
}
}
}
this.setHndlr(1, this.RedKey_Loop);
this.gotoAndPlay("RedKey_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -10;
this.Obj_Y2 = 0;
Symbol 541 MovieClip [RedKeyClass] Frame 11
this.gotoAndPlay("RedKey_Loop");
Symbol 544 MovieClip [RedHoleClass] Frame 1
function RedHole_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function RedHole_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
this.CX1 = (this.Obj_X >> 16) + this.Obj_X1;
this.CX2 = (this.Obj_X >> 16) + this.Obj_X2;
this.CY1 = (this.Obj_Y >> 16) + this.Obj_Y1;
this.CY2 = (this.Obj_Y >> 16) + this.Obj_Y2;
if (!(this.Obj_Flags & 64)) {
var x;
if (_root.RedKey.Obj_Target == _root.Runner) {
x = x | RedHole_Collide0(_root.Runner);
}
if (_root.RedKey.Obj_Target == _root.Fighter) {
x = x | RedHole_Collide0(_root.Fighter);
}
if (_root.RedKey.Obj_Target == _root.Shield) {
x = x | RedHole_Collide0(_root.Shield);
}
if (x && (this.Keys_state[4] & _root.Bits_on[6])) {
_root.RedKey.Obj_Target = 0;
this.Obj_Flags = this.Obj_Flags | 64;
this._visible = 0;
_root.Door2.Obj_Timer = 0;
_root.snd.attachSound("LV_199");
_root.snd.start();
}
}
}
}
this.setHndlr(1, this.RedHole_Loop);
this.gotoAndPlay("RedHole_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -10;
this.Obj_X2 = 10;
this.Obj_Y1 = -10;
this.Obj_Y2 = 0;
Symbol 544 MovieClip [RedHoleClass] Frame 12
this.gotoAndPlay("RedHole_Loop");
Symbol 547 MovieClip [YellowHoleClass] Frame 1
function YellowHole_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function YellowHole_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 3) {
this.CX1 = (this.Obj_X >> 16) + this.Obj_X1;
this.CX2 = (this.Obj_X >> 16) + this.Obj_X2;
this.CY1 = (this.Obj_Y >> 16) + this.Obj_Y1;
this.CY2 = (this.Obj_Y >> 16) + this.Obj_Y2;
if (!(this.Obj_Flags & 64)) {
var x;
if (_root.YellowKey.Obj_Target == _root.Runner) {
x = x | YellowHole_Collide0(_root.Runner);
}
if (_root.YellowKey.Obj_Target == _root.Fighter) {
x = x | YellowHole_Collide0(_root.Fighter);
}
if (_root.YellowKey.Obj_Target == _root.Shield) {
x = x | YellowHole_Collide0(_root.Shield);
}
if (x && (this.Keys_state[4] & _root.Bits_on[6])) {
_root.YellowKey.Obj_Target = 0;
this.Obj_Flags = this.Obj_Flags | 64;
this._visible = 0;
_root.Door4.Obj_Timer = 0;
_root.snd.attachSound("LV_199");
_root.snd.start();
}
}
}
}
this.setHndlr(1, this.YellowHole_Loop);
this.gotoAndPlay("YellowHole_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -10;
this.Obj_X2 = 10;
this.Obj_Y1 = -10;
this.Obj_Y2 = 0;
Symbol 547 MovieClip [YellowHoleClass] Frame 19
this.gotoAndPlay("YellowHole_Loop");
Symbol 564 MovieClip [BowlingDeathClass] Frame 1
function BowlingDeath_Loop() {
}
this.setHndlr(1, this.BowlingDeath_Loop);
this.gotoAndPlay("BowlingDeath_Loop1");
this.Obj_Timer = 30;
_root.snd.attachSound("LV_209");
_root.snd.start();
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -32;
this.Obj_Y2 = 0;
Symbol 564 MovieClip [BowlingDeathClass] Frame 33
this.Obj_Timer--;
if (this.Obj_Timer) {
this.gotoAndPlay("BowlingDeath_Loop2");
} else {
this.gotoAndPlay("BowlingDeath_Loop3");
}
Symbol 564 MovieClip [BowlingDeathClass] Frame 42
this.kill();
Symbol 573 MovieClip [ATFKClass] Frame 1
function ATFK_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function ATFK_Loop() {
this.Obj_Climb++;
if (this.Obj_Climb & 7) {
this.cacheCX();
if (!(this.Obj_Flags & 32)) {
if ((ATFK_Collide0(_root.Runner) || (ATFK_Collide0(_root.Shield))) || (ATFK_Collide0(_root.Fighter))) {
_root.KeyLocked = 1;
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("ATFK1");
this.Obj_Flags = this.Obj_Flags | 32;
}
}
}
}
this.setHndlr(1, this.ATFK_Loop);
this.gotoAndPlay("ATFK_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -16;
this.Obj_X2 = 16;
this.Obj_Y1 = -32;
this.Obj_Y2 = 0;
this.Obj_Flip = -1;
Symbol 573 MovieClip [ATFKClass] Frame 21
this.gotoAndPlay("ATFK_Loop");
Symbol 576 MovieClip [LaserClass] Frame 1
function Laser_Collide0(target) {
if (target.Obj_Flags & 64) {
return(0);
}
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function Laser_Collide1() {
var i;
var y;
var x1;
var x2;
x1 = ((this.Obj_X >> 16) + this.Obj_X1) & 4294967288;
x2 = ((this.Obj_X >> 16) + this.Obj_X2) & 4294967288;
y = (this.Obj_Y >> 16) & 4294967288;
if (this.Obj_Flip < 0) {
i = ((y / 8) * 102) + (x1 / 8);
} else {
i = ((y / 8) * 102) + (x2 / 8);
}
if (_root.CMapArray[i] == 1) {
return(1);
}
return(0);
}
function Laser_Shoot_Collide() {
if (!(_root.Shield.Obj_Flags & 4)) {
if (Laser_Collide0(_root.Shield)) {
if (_root.Shield.Obj_Shield_Up || (this.Obj_Flip == _root.Shield.Obj_Flip)) {
_root.snd.attachSound("LV_226");
_root.snd.start();
_root.Shield.Obj_DX = 131072 * this.Obj_Flip;
_root.Shield.setHndlr(1, 0);
_root.Shield.gotoAndPlay("Shield_Hit");
}
return(1);
}
}
if (!(_root.Fighter.Obj_Flags & 4)) {
if (Laser_Collide0(_root.Fighter)) {
_root.snd.attachSound("LV_226");
_root.snd.start();
_root.Fighter.Obj_DX = 131072 * this.Obj_Flip;
_root.Fighter.setHndlr(1, 0);
_root.Fighter.gotoAndPlay("Fighter_Hit");
return(1);
}
}
if (!(_root.Runner.Obj_Flags & 4)) {
if (Laser_Collide0(_root.Runner)) {
_root.snd.attachSound("LV_226");
_root.snd.start();
_root.Runner.Obj_DX = 131072 * this.Obj_Flip;
_root.Runner.setHndlr(1, 0);
_root.Runner.gotoAndPlay("Runner_Hit");
return(1);
}
}
if (Laser_Collide1()) {
return(1);
}
return(0);
}
function Laser_Loop() {
this.Obj_X = this.Obj_X + (524288 * this.Obj_Flip);
this.Obj_Timer--;
this.cacheCX();
this.updateCache();
if (this.Obj_Timer == 0) {
this.kill();
}
if (Laser_Shoot_Collide()) {
this.kill();
}
}
this.setHndlr(1, this.Laser_Loop);
this.gotoAndPlay("Laser_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -10;
this.Obj_X2 = 10;
this.Obj_Y1 = -2;
this.Obj_Y2 = 2;
this.Obj_Timer = 32;
Symbol 576 MovieClip [LaserClass] Frame 12
this.gotoAndPlay("Laser_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 1
this.swapDepths(32768);
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 4
var health;
var keyx = "None";
if (_root.Level.getMickey() == _root.Runner) {
health = _root.Runner;
} else if (_root.Level.getMickey() == _root.Fighter) {
health = _root.Fighter;
} else if (_root.Level.getMickey() == _root.Shield) {
health = _root.Shield;
}
if (_root.RedKey.Obj_Target == health) {
keyx = "Red";
}
if (_root.YellowKey.Obj_Target == health) {
keyx = "Yellow";
}
switch (health.Obj_Health) {
case -4 :
case -3 :
case -2 :
case -1 :
case 0 :
this.gotoAndPlay(keyx + "_Health0_Loop");
break;
case 1 :
this.gotoAndPlay(keyx + "_Health1_Loop");
break;
case 2 :
this.gotoAndPlay(keyx + "_Health2_Loop");
break;
case 3 :
this.gotoAndPlay(keyx + "_Health3_Loop");
}
Symbol 593 MovieClip [HealthBarClass] Frame 18
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 20
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 22
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 24
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 26
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 28
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 30
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 32
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 34
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 36
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 38
this.gotoAndPlay("Health_Loop");
Symbol 593 MovieClip [HealthBarClass] Frame 40
this.gotoAndPlay("Health_Loop");
Symbol 626 MovieClip [HelpClass] Frame 1
function Help_Stop(label) {
if (this.Obj_Flags & 64) {
_root.KeyLocked = 0;
this.kill();
} else {
this.gotoAndPlay(label);
}
}
function Help_Win(label) {
if (this.Obj_Flags & 64) {
_root.KeyLocked = 0;
this.kill();
_root.quitGame();
_root.gotoWin();
} else {
this.gotoAndPlay(label);
}
}
function Help_Lose(label) {
if (this.Obj_Flags & 64) {
_root.KeyLocked = 0;
this.kill();
_root.quitGame();
_root.gotoLose();
} else {
this.gotoAndPlay(label);
}
}
function Help_Cont(label) {
if (this.Obj_Flags & 64) {
this.Obj_Flags = this.Obj_Flags & 65471;
} else {
this.gotoAndPlay(label);
}
}
function Help_Loop() {
if (((this.Keys_pressed[8] & _root.Bits_on[1]) || (this.Keys_pressed[10] & _root.Bits_on[3])) || (this.Keys_pressed[4] & _root.Bits_on[6])) {
this.Obj_Flags = this.Obj_Flags | 64;
}
}
this.setHndlr(1, Help_Loop);
this.gotoAndPlay("Help_None");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -5;
this.Obj_X2 = 5;
this.Obj_Y1 = -31;
this.Obj_Y2 = 0;
Symbol 626 MovieClip [HelpClass] Frame 10
this.gotoAndPlay("Help_None");
Symbol 626 MovieClip [HelpClass] Frame 11
this.gotoAndPlay("ATFK1_Loop");
Symbol 626 MovieClip [HelpClass] Frame 19
this.Help_Cont("ATFK1_Loop");
Symbol 626 MovieClip [HelpClass] Frame 20
this.gotoAndPlay("ATFK2_Loop");
Symbol 626 MovieClip [HelpClass] Frame 28
this.Help_Cont("ATFK2_Loop");
Symbol 626 MovieClip [HelpClass] Frame 29
this.gotoAndPlay("ATFK3_Loop");
Symbol 626 MovieClip [HelpClass] Frame 37
this.Help_Cont("ATFK3_Loop");
Symbol 626 MovieClip [HelpClass] Frame 38
this.gotoAndPlay("ATFK4_Loop");
Symbol 626 MovieClip [HelpClass] Frame 46
this.Help_Cont("ATFK4_Loop");
Symbol 626 MovieClip [HelpClass] Frame 47
this.gotoAndPlay("ATFK5_Loop");
Symbol 626 MovieClip [HelpClass] Frame 55
this.Help_Cont("ATFK5_Loop");
Symbol 626 MovieClip [HelpClass] Frame 56
this.gotoAndPlay("ATFK6_Loop");
Symbol 626 MovieClip [HelpClass] Frame 64
this.Help_Stop("ATFK6_Loop");
Symbol 626 MovieClip [HelpClass] Frame 69
this.gotoAndPlay("Exit1_Loop");
Symbol 626 MovieClip [HelpClass] Frame 77
this.Help_Cont("Exit1_Loop");
Symbol 626 MovieClip [HelpClass] Frame 78
this.gotoAndPlay("Exit2_Loop");
Symbol 626 MovieClip [HelpClass] Frame 86
this.Help_Cont("Exit2_Loop");
Symbol 626 MovieClip [HelpClass] Frame 87
this.gotoAndPlay("Exit3_Loop");
Symbol 626 MovieClip [HelpClass] Frame 95
this.Help_Cont("Exit3_Loop");
Symbol 626 MovieClip [HelpClass] Frame 96
this.gotoAndPlay("Exit4_Loop");
Symbol 626 MovieClip [HelpClass] Frame 104
this.Help_Win("Exit4_Loop");
Symbol 626 MovieClip [HelpClass] Frame 111
this.gotoAndPlay("Help1_Loop");
Symbol 626 MovieClip [HelpClass] Frame 120
this.Help_Stop("Help1_Loop");
Symbol 626 MovieClip [HelpClass] Frame 126
this.gotoAndPlay("Help2_Loop");
Symbol 626 MovieClip [HelpClass] Frame 135
this.Help_Stop("Help2_Loop");
Symbol 626 MovieClip [HelpClass] Frame 141
this.gotoAndPlay("Help3_Loop");
Symbol 626 MovieClip [HelpClass] Frame 150
this.Help_Stop("Help3_Loop");
Symbol 626 MovieClip [HelpClass] Frame 157
this.gotoAndPlay("Help4_Loop");
Symbol 626 MovieClip [HelpClass] Frame 166
this.Help_Stop("Help4_Loop");
Symbol 626 MovieClip [HelpClass] Frame 172
this.gotoAndPlay("Help5_Loop");
Symbol 626 MovieClip [HelpClass] Frame 181
this.Help_Stop("Help5_Loop");
Symbol 626 MovieClip [HelpClass] Frame 186
this.gotoAndPlay("OneKilled_Loop");
Symbol 626 MovieClip [HelpClass] Frame 199
this.Help_Lose("OneKilled_Loop");
Symbol 627 MovieClip [ExitClass] Frame 1
function Exit_Collide0(target) {
if ((((target.CX2 < this.CX1) || (target.CX1 > this.CX2)) || (target.CY2 < this.CY1)) || (target.CY1 > this.CY2)) {
return(0);
}
return(1);
}
function Exit_Loop() {
var exit = 0;
var alive = 3;
this.Obj_Climb++;
if (this.Obj_Climb & 7) {
this.cacheCX();
if (!(this.Obj_Flags & 32)) {
if (_root.Runner.Obj_Flags & 4) {
alive--;
}
if (_root.Fighter.Obj_Flags & 4) {
alive--;
}
if (_root.Shield.Obj_Flags & 4) {
alive--;
}
if (Exit_Collide0(_root.Runner)) {
exit++;
}
if (Exit_Collide0(_root.Fighter)) {
exit++;
}
if (Exit_Collide0(_root.Shield)) {
exit++;
}
if (alive) {
if (exit == alive) {
if (alive == 3) {
_root.KeyLocked = 1;
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("Exit1");
this.Obj_Flags = this.Obj_Flags | 32;
} else {
_root.KeyLocked = 1;
_root.Objs.create("HelpClass", 80, 1, 7864320, 5242880, 8).gotoAndPlay("OneKilled");
this.Obj_Flags = this.Obj_Flags | 32;
}
}
}
}
}
}
this.setHndlr(1, this.Exit_Loop);
this.gotoAndPlay("Exit_Loop");
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.Obj_X1 = -32;
this.Obj_X2 = 32;
this.Obj_Y1 = -32;
this.Obj_Y2 = 0;
Symbol 627 MovieClip [ExitClass] Frame 9
this.gotoAndPlay("Exit_Loop");
Symbol 628 MovieClip Frame 1
_root.KEY_LT = 37;
_root.KEY_RT = 39;
_root.KEY_UP = 38;
_root.KEY_DN = 40;
_root.KEY_A = 65;
_root.KEY_B = 83;
_root.KEY_LB = 81;
_root.KEY_RB = 87;
_root.KEY_CHEAT = 17;
_root.Obj_Flags_ALWAYSRUN = 384;
_root.Obj_Flags_BACKGROUND = 256;
_root.Obj_Flags_MICKEY = 128;
_root.Obj_Flags_DEAD = 64;
_root.Obj_Flags_SPECIAL = 32;
_root.Obj_Flags_KILL = 16;
_root.Obj_Flags_KEYBD = 8;
_root.Obj_Flags_GONE = 4;
_root.Obj_Flags_ATTACK = 2;
_root.Obj_Flags_CLIMBING = 1;
this.onEnterFrame = function () {
_root.frame++;
_root.Objs.loop(1);
_root.Objs.loop(2);
_root.Level.scroll();
_root.Objs.loop(3);
_root.Objs.cull();
};