Instance of Symbol 18 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
this._xscale = 1500 * (_root.getBytesLoaded() / _root.getBytesTotal());
} else {
_root.play();
}
_parent.loadtext = ("Loading... " + (Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 1000) / 10)) + " Percent";
}
Frame 2
stop();
Frame 3
stop();
function colorize(obje, passr, passg, passb, passa) {
tempc = new Color(eval (obje));
tempc = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
tempc.rb = passr;
tempc.gb = passg;
tempc.bb = passb;
tempc.ab = passa;
eval (obje).Acolor = tempc;
eval (obje).Ccolor = new Color(eval (obje));
eval (obje).Ccolor.setTransform(eval (obje).Acolor);
}
Frame 5
stop();
Instance of Symbol 1233 MovieClip "controller" in Frame 5
onClipEvent (load) {
function Log(s) {
GLOBAL_LOG.unshift(s + newline);
if (256 < GLOBAL_LOG.length) {
GLOBAL_LOG.pop();
}
}
function numclamp(v) {
if (v < 0) {
v = 0;
} else {
v = Math.ceil(v);
}
return(v);
}
function addcharactervariables(targ) {
targ.hp = 63;
targ.in_movex = 0;
targ.in_movey = 0;
targ.in_action = 0;
targ.hatk = 32;
targ.matk = 32;
targ.latk = 32;
targ.hdef = 0;
targ.mdef = 0;
targ.ldef = 0;
targ.hdefon = 0;
targ.mdefon = 0;
targ.ldefon = 0;
targ.s_atktype = 0;
targ.s_animbusy = 0;
targ.s_idle = 1;
targ.s_moving = 0;
targ.s_attacking = 0;
targ.s_hit = 0;
targ.s_vx = 0;
targ.s_movespeed = 1;
targ.m_name = "NULL";
targ.m_status = "NULL";
targ._y = GLOBAL_FLOOR;
}
function pauseall() {
GLOBAL_PAUSE = true;
GLOBAL_PLAYER.stop();
GLOBAL_ENEMY.enemy.stop();
_parent.playershad.t.stop();
_parent.playershad.t.head.stop();
_parent.enemyshad.t.stop();
_parent.enemyshad.t.enemy.stop();
}
function unpauseall() {
GLOBAL_PAUSE = false;
GLOBAL_PLAYER.play(GLOBAL_PLAYER._currentframe);
GLOBAL_ENEMY.enemy.play(GLOBAL_ENEMY._currentframe);
_parent.playershad.t.play();
_parent.playershad.t.head.play();
_parent.enemyshad.t.play();
_parent.enemyshad.t.enemy.play();
}
function movecharacter(obje) {
with (obje) {
framename = "null";
if ((s_idle || (s_moving != 0)) && (((!s_attacking) && (!s_hit)) && (!s_animbusy))) {
if (in_action) {
hdefon = 0;
mdefon = 0;
ldefon = 0;
if (0 < in_movex) {
_xscale = 100;
framename = "atkm";
} else if (in_movex < 0) {
_xscale = -100;
framename = "atkm";
}
if (0 < in_movey) {
framename = "atkh";
} else if (in_movey < 0) {
framename = "atkl";
}
} else if (0 < in_movex) {
hdefon = 0;
mdefon = 0;
ldefon = 0;
_xscale = 100;
if (s_moving == 0) {
framename = "walk";
}
} else if (in_movex < 0) {
hdefon = 0;
mdefon = 0;
ldefon = 0;
_xscale = -100;
if (s_moving == 0) {
framename = "walk";
}
} else if (in_movex == 0) {
hdefon = 0;
mdefon = 0;
ldefon = 0;
if (0 < in_movey) {
hdefon = 1;
} else if (in_movey < 0) {
ldefon = 1;
} else if (in_movey == 0) {
mdefon = 1;
}
}
if (in_movex == 0) {
if ((((s_moving != 0) && (!s_attacking)) && (!s_hit)) && (!s_animbusy)) {
framename = "idle";
}
}
}
def_h._visible = false;
def_m._visible = false;
def_l._visible = false;
if (hdefon != 0) {
def_h._visible = true;
}
if (mdefon != 0) {
def_m._visible = true;
}
if (ldefon != 0) {
def_l._visible = true;
}
if (framename != "null") {
gotoAndPlay(framename);
}
}
}
function moveplayer() {
movecharacter(GLOBAL_PLAYER);
if (50 < GLOBAL_PLAYER._alpha) {
if ((((GLOBAL_PLAYER.s_idle == 0) && (GLOBAL_PLAYER.s_moving != 0)) && (GLOBAL_PLAYER.s_vx == 0)) && (!GLOBAL_PLAYER.s_animbusy)) {
GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + ((GLOBAL_PLAYER._xscale / 100) * GLOBAL_PLAYER.s_moving);
}
}
if ((GLOBAL_PLAYER.s_vx != 0) && (!GLOBAL_PLAYER.s_animbusy)) {
if (GLOBAL_ENEMY._x < GLOBAL_PLAYER._x) {
GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + GLOBAL_PLAYER.s_vx;
} else {
GLOBAL_PLAYER._x = GLOBAL_PLAYER._x - GLOBAL_PLAYER.s_vx;
}
}
if (GLOBAL_PLAYER.cbox.hitTest(GLOBAL_ENEMY.enemy.cbox)) {
if (GLOBAL_PLAYER._x < GLOBAL_ENEMY._x) {
GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + (GLOBAL_ENEMY.enemy.cbox.getBounds(_root).xMin - GLOBAL_PLAYER.cbox.getBounds(_root).xMax);
} else {
GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + (GLOBAL_ENEMY.enemy.cbox.getBounds(_root).xMax - GLOBAL_PLAYER.cbox.getBounds(_root).xMin);
}
}
}
function moveenemy() {
movecharacter(GLOBAL_ENEMY.enemy);
if (GLOBAL_ENEMY._x < GLOBAL_PLAYER._x) {
GLOBAL_ENEMY.enemy._xscale = 100;
} else {
GLOBAL_ENEMY.enemy._xscale = -100;
}
if (((GLOBAL_ENEMY.enemy.s_idle == 0) && (GLOBAL_ENEMY.enemy.s_moving != 0)) && (!GLOBAL_ENEMY.enemy.s_animbusy)) {
GLOBAL_ENEMY._x = GLOBAL_ENEMY._x + (((GLOBAL_ENEMY.enemy._xscale / 100) * GLOBAL_ENEMY.enemy.s_moving) * GLOBAL_ENEMY.s_movespeed);
}
if ((GLOBAL_ENEMY.enemy.s_vx != 0) && (!GLOBAL_ENEMY.enemy.s_animbusy)) {
if (GLOBAL_ENEMY._x < GLOBAL_PLAYER._x) {
GLOBAL_ENEMY._x = GLOBAL_ENEMY._x - GLOBAL_ENEMY.enemy.s_vx;
} else {
GLOBAL_ENEMY._x = GLOBAL_ENEMY._x + GLOBAL_ENEMY.enemy.s_vx;
}
}
if (GLOBAL_ENEMY.enemy.cbox.hitTest(GLOBAL_PLAYER.cbox)) {
if (GLOBAL_ENEMY._x < GLOBAL_PLAYER._x) {
GLOBAL_ENEMY._x = GLOBAL_ENEMY._x + (GLOBAL_PLAYER.cbox.getBounds(_root).xMin - GLOBAL_ENEMY.enemy.cbox.getBounds(_root).xMax);
} else {
GLOBAL_ENEMY._x = GLOBAL_ENEMY._x + (GLOBAL_PLAYER.cbox.getBounds(_root).xMax - GLOBAL_ENEMY.enemy.cbox.getBounds(_root).xMin);
}
}
}
function damagecollisions() {
if (GLOBAL_ENEMY.enemy.s_attacking) {
if (GLOBAL_ENEMY.enemy.abox.hitTest(GLOBAL_PLAYER.cbox)) {
if (GLOBAL_ENEMY.enemy.s_atktype < 1) {
var dmg = (GLOBAL_ENEMY.latk - GLOBAL_PLAYER.ldef);
if (GLOBAL_PLAYER.ldefon != 0) {
dmg = dmg / 2;
}
dmg = numclamp(dmg);
GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp - dmg;
GLOBAL_PLAYER.gotoAndPlay("hitl");
GLOBAL_PLAYER.s_hit = true;
GLOBAL_ENEMY.enemy.s_attacking = 0;
Log(((((GLOBAL_ENEMY.m_name + " hit ") + GLOBAL_PLAYER.m_name) + " for ") + dmg) + "!");
} else if (GLOBAL_ENEMY.enemy.s_atktype == 1) {
var dmg = (GLOBAL_ENEMY.matk - GLOBAL_PLAYER.mdef);
if (GLOBAL_PLAYER.mdefon != 0) {
dmg = dmg / 2;
}
dmg = numclamp(dmg);
GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp - dmg;
GLOBAL_PLAYER.gotoAndPlay("hitm");
GLOBAL_PLAYER.s_hit = true;
GLOBAL_ENEMY.enemy.s_attacking = 0;
Log(((((GLOBAL_ENEMY.m_name + " hit ") + GLOBAL_PLAYER.m_name) + " for ") + dmg) + "!");
} else if (GLOBAL_ENEMY.enemy.s_atktype == 2) {
var dmg = (GLOBAL_ENEMY.hatk - GLOBAL_PLAYER.hdef);
if (GLOBAL_PLAYER.hdefon != 0) {
dmg = dmg / 2;
}
dmg = numclamp(dmg);
GLOBAL_PLAYER.hp = GLOBAL_PLAYER.hp - dmg;
GLOBAL_PLAYER.gotoAndPlay("hith");
GLOBAL_PLAYER.s_hit = true;
GLOBAL_ENEMY.enemy.s_attacking = 0;
Log(((((GLOBAL_ENEMY.m_name + " hit ") + GLOBAL_PLAYER.m_name) + " for ") + dmg) + "!");
}
numclamp(GLOBAL_PLAYER.hp);
}
}
if (GLOBAL_PLAYER.s_attacking) {
if (GLOBAL_PLAYER.abox.hitTest(GLOBAL_ENEMY.enemy.cbox)) {
if (GLOBAL_PLAYER.s_atktype < 1) {
var dmg = (GLOBAL_PLAYER.latk - GLOBAL_ENEMY.ldef);
if (GLOBAL_ENEMY.ldefon != 0) {
dmg = dmg / 2;
}
dmg = numclamp(dmg);
GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp - dmg;
GLOBAL_ENEMY.enemy.gotoAndPlay("hitl");
GLOBAL_ENEMY.s_hit = true;
GLOBAL_ENEMY.ai = -1;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_POINTS = GLOBAL_POINTS + dmg;
Log(((((GLOBAL_PLAYER.m_name + " hit ") + GLOBAL_ENEMY.m_name) + " for ") + dmg) + "!");
} else if (GLOBAL_PLAYER.s_atktype == 1) {
var dmg = (GLOBAL_PLAYER.matk - GLOBAL_ENEMY.mdef);
if (GLOBAL_ENEMY.lmdefon != 0) {
dmg = dmg / 2;
}
dmg = numclamp(dmg);
GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp - dmg;
GLOBAL_ENEMY.enemy.gotoAndPlay("hitm");
GLOBAL_ENEMY.s_hit = true;
GLOBAL_ENEMY.ai = -1;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_POINTS = GLOBAL_POINTS + dmg;
Log(((((GLOBAL_PLAYER.m_name + " hit ") + GLOBAL_ENEMY.m_name) + " for ") + dmg) + "!");
} else if (GLOBAL_PLAYER.s_atktype == 2) {
var dmg = (GLOBAL_PLAYER.hatk - GLOBAL_ENEMY.hdef);
if (GLOBAL_ENEMY.hdefon != 0) {
dmg = dmg / 2;
}
dmg = numclamp(dmg);
GLOBAL_ENEMY.hp = GLOBAL_ENEMY.hp - dmg;
GLOBAL_ENEMY.enemy.gotoAndPlay("hith");
GLOBAL_ENEMY.s_hit = true;
GLOBAL_ENEMY.ai = -1;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_POINTS = GLOBAL_POINTS + dmg;
Log(((((GLOBAL_PLAYER.m_name + " hit ") + GLOBAL_ENEMY.m_name) + " for ") + dmg) + "!");
}
numclamp(GLOBAL_ENEMY.hp);
}
}
}
function pickEnemy(ev) {
if ((ev < 2) || (GLOBAL_ENEMY._totalframes < ev)) {
if (GLOBAL_ENEMY._totalframes < (GLOBAL_ENEMY._currentframe + 1)) {
GLOBAL_ENEMY.gotoAndStop(2);
} else {
GLOBAL_ENEMY.gotoAndStop(GLOBAL_ENEMY._currentframe + 1);
}
} else {
GLOBAL_ENEMY.gotoAndStop(int(ev));
}
Log("A new enemy approaches...");
}
function ObjHitsBody(obj) {
return(GLOBAL_PLAYER.cbox.hitTest(obj));
}
function ObjHitsBodyCenter(obj) {
return(GLOBAL_PLAYER.centerbox.hitTest(obj));
}
function ObjHitsHead(obj) {
return(GLOBAL_PLAYER.head.hitTest(obj));
}
function ObjHitsHeadCenter(obj) {
return(GLOBAL_PLAYER.head.center.hitTest(obj));
}
function CanVoreHigh() {
if (GLOBAL_PLAYER.hdefon == 0) {
return(true);
}
return(false);
}
function CanVoreMid() {
if (GLOBAL_PLAYER.mdefon == 0) {
return(true);
}
return(false);
}
function CanVoreLow() {
if (GLOBAL_PLAYER.ldefon == 0) {
return(true);
}
return(false);
}
function CanVore() {
if (((GLOBAL_PLAYER.ldefon == 0) && (GLOBAL_PLAYER.mdefon == 0)) && (GLOBAL_PLAYER.hdefon == 0)) {
return(true);
}
return(false);
}
GLOBAL_FLOOR = 180;
GLOBAL_LIVES = 6;
GLOBAL_KILLS = 0;
GLOBAL_POINTS = 0;
GLOBAL_LOG = new Array();
GLOBAL_PAUSE = false;
GLOBAL_PAUSECTR = false;
GLOBAL_PAUSEHFR = false;
GLOBAL_PLAYER = _parent.player;
GLOBAL_ENEMY = _parent.enemy;
GLOBAL_ENEMY_TIMEOUT = 0;
GLOBAL_BG = _parent.MBG;
_parent.colorize(_parent.playershad, -100, -100, -100, -50);
_parent.colorize(_parent.enemyshad, -100, -100, -100, -50);
addcharactervariables(GLOBAL_PLAYER);
addcharactervariables(GLOBAL_ENEMY);
GLOBAL_ENEMY.ai = 1;
GLOBAL_PLAYER.m_name = "Barb";
GLOBAL_PLAYER.m_status = "Normal";
pickEnemy(0);
}
onClipEvent (enterFrame) {
if (!GLOBAL_PAUSE) {
if (Key.isDown(101) || (Key.isDown(32))) {
GLOBAL_PLAYER.in_action = true;
} else {
GLOBAL_PLAYER.in_action = false;
}
if (Key.isDown(100) || (Key.isDown(37))) {
GLOBAL_PLAYER.in_movex = -1;
} else if (Key.isDown(102) || (Key.isDown(39))) {
GLOBAL_PLAYER.in_movex = 1;
} else {
GLOBAL_PLAYER.in_movex = 0;
}
if (Key.isDown(104) || (Key.isDown(38))) {
GLOBAL_PLAYER.in_movey = 1;
} else if (Key.isDown(98) || (Key.isDown(40))) {
GLOBAL_PLAYER.in_movey = -1;
} else {
GLOBAL_PLAYER.in_movey = 0;
}
moveplayer();
if (((Math.abs(GLOBAL_PLAYER._x - GLOBAL_ENEMY._x) < (2 * GLOBAL_PLAYER._width)) || (!GLOBAL_PLAYER.s_attacking)) && ((GLOBAL_PLAYER.cbox.getBounds(_root).xMax + 16) < GLOBAL_ENEMY.enemy.cbox.getBounds(_root).xMin)) {
GLOBAL_ENEMY.enemy.in_movex = -1 * GLOBAL_ENEMY.ai;
if ((Math.random() * 10) < 2) {
GLOBAL_ENEMY.ai = 1;
}
} else if (((Math.abs(GLOBAL_PLAYER._x - GLOBAL_ENEMY._x) < (2 * GLOBAL_PLAYER._width)) || (!GLOBAL_PLAYER.s_attacking)) && (GLOBAL_ENEMY.enemy.cbox.getBounds(_root).xMax < (GLOBAL_PLAYER.cbox.getBounds(_root).xMin - 16))) {
GLOBAL_ENEMY.enemy.in_movex = 1 * GLOBAL_ENEMY.ai;
if ((Math.random() * 10) < 2) {
GLOBAL_ENEMY.ai = 1;
}
} else {
GLOBAL_ENEMY.enemy.in_movex = 0;
if ((GLOBAL_PLAYER.s_attacking && (!GLOBAL_ENEMY.enemy.s_attacking)) && (Math.abs(GLOBAL_PLAYER._x - GLOBAL_ENEMY._x) < (2 * GLOBAL_PLAYER._width))) {
GLOBAL_ENEMY.ai = -1;
} else if ((((GLOBAL_ENEMY.enemy.s_moving != 0) && (!GLOBAL_ENEMY.enemy.s_attacking)) && (!GLOBAL_ENEMY.enemy.s_hit)) && (!GLOBAL_ENEMY.enemy.s_animbusy)) {
GLOBAL_ENEMY.enemy.gotoAndPlay("idle");
} else if (GLOBAL_PLAYER._x < GLOBAL_ENEMY._x) {
if (Math.floor(Math.random() * 10) == 0) {
GLOBAL_ENEMY.enemy.in_movex = 0;
GLOBAL_ENEMY.enemy.in_movey = 1;
GLOBAL_ENEMY.enemy.in_action = 1;
} else if (Math.floor(Math.random() * 10) == 0) {
GLOBAL_ENEMY.enemy.in_movex = 0;
GLOBAL_ENEMY.enemy.in_movey = -1;
GLOBAL_ENEMY.enemy.in_action = 1;
} else {
GLOBAL_ENEMY.enemy.in_movex = 1;
GLOBAL_ENEMY.enemy.in_movey = 0;
GLOBAL_ENEMY.enemy.in_action = 1;
}
} else if (Math.floor(Math.random() * 10) == 0) {
GLOBAL_ENEMY.enemy.in_movex = 0;
GLOBAL_ENEMY.enemy.in_movey = 1;
GLOBAL_ENEMY.enemy.in_action = 1;
} else if (Math.floor(Math.random() * 10) == 0) {
GLOBAL_ENEMY.enemy.in_movex = 0;
GLOBAL_ENEMY.enemy.in_movey = -1;
GLOBAL_ENEMY.enemy.in_action = 1;
} else {
GLOBAL_ENEMY.enemy.in_movex = -1;
GLOBAL_ENEMY.enemy.in_movey = 0;
GLOBAL_ENEMY.enemy.in_action = 1;
}
}
if (Key.isDown(87)) {
GLOBAL_ENEMY.enemy.in_movey = 1;
} else if (Key.isDown(83)) {
GLOBAL_ENEMY.enemy.in_movey = -1;
}
if (Key.isDown(65)) {
GLOBAL_ENEMY.enemy.in_movex = 1;
} else if (Key.isDown(68)) {
GLOBAL_ENEMY.enemy.in_movex = -1;
}
if (Key.isDown(70)) {
GLOBAL_ENEMY.enemy.in_action = 1;
}
if (0 < GLOBAL_PLAYER.hp) {
moveenemy();
}
damagecollisions();
if (GLOBAL_PLAYER.cbox.getBounds(_root).xMax < 0) {
GLOBAL_PLAYER._x = GLOBAL_PLAYER._x + 320;
GLOBAL_ENEMY._x = GLOBAL_ENEMY._x + 320;
GLOBAL_BG._x = GLOBAL_BG._x + 320;
if (0 < GLOBAL_BG._x) {
GLOBAL_BG._x = -960;
}
} else if (320 < GLOBAL_PLAYER.cbox.getBounds(_root).xMin) {
GLOBAL_PLAYER._x = GLOBAL_PLAYER._x - 320;
GLOBAL_ENEMY._x = GLOBAL_ENEMY._x - 320;
GLOBAL_BG._x = GLOBAL_BG._x - 320;
if (GLOBAL_BG._x < -960) {
GLOBAL_BG._x = 0;
}
}
if (GLOBAL_PLAYER.hp < 1) {
if ((!GLOBAL_PLAYER.s_hit) && (!GLOBAL_PLAYER.s_animbusy)) {
GLOBAL_PLAYER.gotoAndPlay("death");
}
}
if (GLOBAL_ENEMY.hp < 1) {
GLOBAL_ENEMY.hp = 0;
if (!GLOBAL_ENEMY.enemy.s_animbusy) {
GLOBAL_ENEMY.enemy.gotoAndPlay("death");
}
if (GLOBAL_ENEMY_TIMEOUT == 1) {
GLOBAL_KILLS++;
Log(("YOU KILLED THE " + GLOBAL_ENEMY.m_name) + "!");
}
GLOBAL_ENEMY_TIMEOUT++;
if (60 < GLOBAL_ENEMY_TIMEOUT) {
pickEnemy(0);
GLOBAL_PLAYER.hp = 63;
GLOBAL_PLAYER.s_atktype = 0;
GLOBAL_PLAYER.s_animbusy = 0;
GLOBAL_PLAYER.s_idle = 1;
GLOBAL_PLAYER.s_moving = 0;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_PLAYER.s_hit = 0;
GLOBAL_PLAYER.s_vx = 0;
GLOBAL_PLAYER._alpha = 100;
GLOBAL_PLAYER.head._alpha = 100;
GLOBAL_PLAYER.head._visible = true;
GLOBAL_PLAYER._visible = true;
GLOBAL_PLAYER.gotoAndPlay(1);
if (Math.random() < 0.5) {
GLOBAL_ENEMY._x = GLOBAL_PLAYER._x + 640;
} else {
GLOBAL_ENEMY._x = GLOBAL_PLAYER._x - 640;
}
GLOBAL_ENEMY_TIMEOUT = 0;
}
}
_parent.gui_enemyhp.setbarvalue(GLOBAL_ENEMY.hp);
_parent.gui_playerhp.setbarvalue(GLOBAL_PLAYER.hp);
_parent.gui_playername = GLOBAL_PLAYER.m_name;
_parent.gui_playerstatus = GLOBAL_PLAYER.m_status;
_parent.gui_enemyname = GLOBAL_ENEMY.m_name;
_parent.gui_enemystatus = GLOBAL_ENEMY.m_status;
_parent.gui_leveldesc = "Arid Mountains\n";
_parent.gui_leveldesc = _parent.gui_leveldesc + ((GLOBAL_LOG[0] + GLOBAL_LOG[1]) + GLOBAL_LOG[2]);
_parent.gui_points = "Score: " + GLOBAL_POINTS;
_parent.gui_kills = "Kills: " + GLOBAL_KILLS;
_parent.playershad._y = GLOBAL_PLAYER._y;
_parent.playershad._x = GLOBAL_PLAYER._x;
_parent.playershad._yscale = 10;
_parent.playershad._xscale = GLOBAL_PLAYER._xscale;
_parent.playershad.t.gotoAndStop(GLOBAL_PLAYER._currentframe);
_parent.playershad._alpha = GLOBAL_PLAYER._alpha;
_parent.playershad.t.head._alpha = GLOBAL_PLAYER.head._alpha;
_parent.playershad.t.head._x = GLOBAL_PLAYER.head._x;
_parent.playershad.t.head._y = GLOBAL_PLAYER.head._y;
_parent.enemyshad._y = GLOBAL_ENEMY._y;
_parent.enemyshad._x = GLOBAL_ENEMY._x;
_parent.enemyshad._yscale = 10;
_parent.enemyshad._xscale = GLOBAL_ENEMY.enemy._xscale;
_parent.enemyshad.t.gotoAndStop(GLOBAL_ENEMY._currentframe);
_parent.enemyshad.t.enemy.gotoAndStop(GLOBAL_ENEMY.enemy._currentframe);
}
if (Key.isDown(45)) {
GLOBAL_PAUSEHFR = false;
if (!GLOBAL_PAUSECTR) {
if (!GLOBAL_PAUSE) {
pauseall();
} else {
unpauseall();
}
}
GLOBAL_PAUSECTR = true;
} else {
GLOBAL_PAUSECTR = false;
}
if (Key.isDown(35)) {
GLOBAL_PLAYER.hp = 63;
GLOBAL_PLAYER.s_atktype = 0;
GLOBAL_PLAYER.s_animbusy = 0;
GLOBAL_PLAYER.s_idle = 1;
GLOBAL_PLAYER.s_moving = 0;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_PLAYER.s_hit = 0;
GLOBAL_PLAYER.s_vx = 0;
GLOBAL_PLAYER._alpha = 100;
GLOBAL_PLAYER.head._alpha = 100;
GLOBAL_PLAYER.head._visible = true;
GLOBAL_PLAYER._visible = true;
GLOBAL_PLAYER.gotoAndPlay(1);
}
if (Key.isDown(36)) {
GLOBAL_PAUSEHFR = true;
}
if (GLOBAL_PAUSEHFR == true) {
if (!GLOBAL_PAUSE) {
pauseall();
} else {
unpauseall();
}
}
var esounds = new Sound(_parent.enemyshad);
esounds.setVolume(0);
var psounds = new Sound(_parent.playershad);
psounds.setVolume(0);
}
Symbol 22 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var scaleX = (sX / this._width);
var scaleY = (sY / this._height);
_parent._x = cX - (this._x * scaleX);
_parent._y = cY - (this._y * scaleY);
_parent._xscale = 100 * scaleX;
_parent._yscale = 100 * scaleY;
}
function resetStage() {
var resetTrans = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 34 MovieClip Frame 1
function setbarvalue(v) {
if (v < 0) {
v = 0;
}
colorv = int(v / 64);
if (colorv == 0) {
_root.colorize(bar, 0, 200, 0, 0);
_root.colorize(nextcolor, 0, 0, 0, 0);
} else if (colorv == 1) {
_root.colorize(bar, 200, 200, 0, 0);
_root.colorize(nextcolor, 0, 200, 0, 0);
} else if (colorv == 2) {
_root.colorize(bar, 255, 128, 0, 0);
_root.colorize(nextcolor, 200, 200, 0, 0);
} else if (colorv == 3) {
_root.colorize(bar, 200, 0, 0, 0);
_root.colorize(nextcolor, 255, 128, 0, 0);
} else if (colorv == 4) {
_root.colorize(bar, 200, 200, 200, 0);
_root.colorize(nextcolor, 200, 0, 0, 0);
} else {
_root.colorize(bar, 200, 200, 200, 0);
_root.colorize(nextcolor, 50, 50, 50, 0);
}
v = v % 64;
bar._yscale = v / 0.64;
}
Symbol 34 MovieClip Frame 2
stop();
Symbol 40 Button
on (press) {
with (controller) {
GLOBAL_PLAYER.hp = 63;
GLOBAL_PLAYER.s_atktype = 0;
GLOBAL_PLAYER.s_animbusy = 0;
GLOBAL_PLAYER.s_idle = 1;
GLOBAL_PLAYER.s_moving = 0;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_PLAYER.s_hit = 0;
GLOBAL_PLAYER.s_vx = 0;
GLOBAL_PLAYER._alpha = 100;
GLOBAL_PLAYER.head._alpha = 100;
GLOBAL_PLAYER.head._visible = true;
GLOBAL_PLAYER._visible = true;
GLOBAL_PLAYER.gotoAndPlay(1);
}
}
Symbol 41 Button
on (press) {
with (controller) {
pickEnemy(0);
GLOBAL_PLAYER.s_atktype = 0;
GLOBAL_PLAYER.s_animbusy = 0;
GLOBAL_PLAYER.s_idle = 1;
GLOBAL_PLAYER.s_moving = 0;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_PLAYER.s_hit = 0;
GLOBAL_PLAYER.s_vx = 0;
GLOBAL_PLAYER._alpha = 100;
GLOBAL_PLAYER.head._alpha = 100;
GLOBAL_PLAYER.head._visible = true;
GLOBAL_PLAYER._visible = true;
GLOBAL_PLAYER.gotoAndPlay(1);
if (Math.random() < 0.5) {
GLOBAL_ENEMY._x = GLOBAL_PLAYER._x + 640;
} else {
GLOBAL_ENEMY._x = GLOBAL_PLAYER._x - 640;
}
GLOBAL_ENEMY_TIMEOUT = 0;
}
}
Symbol 56 Button
on (release) {
play();
}
Symbol 63 MovieClip Frame 5
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
s_vx = 0;
Symbol 100 MovieClip Frame 10
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 11
s_idle = 0;
s_moving = 4;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 100 MovieClip Frame 21
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 22
s_idle = 0;
s_moving = 8;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 100 MovieClip Frame 31
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 32
s_animbusy = 1;
Symbol 100 MovieClip Frame 36
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 37
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Symbol 100 MovieClip Frame 49
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 50
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 100 MovieClip Frame 63
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 64
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Symbol 100 MovieClip Frame 76
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 77
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 6;
Symbol 100 MovieClip Frame 81
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 82
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 100 MovieClip Frame 86
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 87
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 2;
Symbol 100 MovieClip Frame 91
gotoAndPlay ("idle");
Symbol 100 MovieClip Frame 92
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 100 MovieClip Frame 105
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
hp = 0;
Symbol 100 MovieClip Frame 110
stop();
Symbol 100 MovieClip Frame 116
gotoAndStop ("blank");
Symbol 165 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 165 MovieClip Frame 43
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 48
s_idle = 0;
s_moving = 4;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 165 MovieClip Frame 76
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 81
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 165 MovieClip Frame 98
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 103
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Symbol 165 MovieClip Frame 127
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 132
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Instance of Symbol 137 MovieClip "sbox" in Symbol 165 MovieClip Frame 155
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.cbox.hitTest(this)) {
if (this.hitTest(_parent._parent._parent.player.centerbox)) {
_parent._parent._parent.player.s_animbusy = 1;
_parent._parent._parent.player.s_hit = 0;
_parent._parent._parent.player.stop();
_parent._parent._parent.player._alpha = 0;
_parent.gotoAndPlay("headeat");
}
}
}
Symbol 165 MovieClip Frame 181
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 185
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 165 MovieClip Frame 294
wiggle = 0;
excretedir = 0;
gotoAndPlay ("digest");
Symbol 165 MovieClip Frame 326
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("digest");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 165 MovieClip Frame 331
wiggle++;
excretedir++;
_parent._parent.player.hp--;
Symbol 165 MovieClip Frame 341
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 165 MovieClip Frame 345
wiggle++;
excretedir--;
_parent._parent.player.hp--;
Symbol 165 MovieClip Frame 355
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 165 MovieClip Frame 360
wiggle++;
excretedir++;
_parent._parent.player.hp--;
Symbol 165 MovieClip Frame 370
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 165 MovieClip Frame 375
wiggle++;
excretedir--;
_parent._parent.player.hp--;
Symbol 165 MovieClip Frame 385
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 165 MovieClip Frame 389
_parent._parent.player.hp = 0;
Symbol 165 MovieClip Frame 418
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 444
wiggle = 0;
excretedir = 0;
struggle = 0;
gotoAndPlay ("deepdigest");
Symbol 165 MovieClip Frame 471
if (2 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 2;
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("finishdeepdigesting");
}
Symbol 165 MovieClip Frame 473
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 165 MovieClip Frame 483
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 165 MovieClip Frame 488
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 165 MovieClip Frame 498
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 165 MovieClip Frame 503
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 165 MovieClip Frame 513
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 165 MovieClip Frame 518
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 165 MovieClip Frame 528
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 165 MovieClip Frame 548
wiggle = 0;
excretedir = 0;
struggle = 0;
gotoAndPlay ("digest");
Symbol 165 MovieClip Frame 575
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 598
s_vx = 4;
s_hit = 1;
s_animbusy = 0;
Symbol 165 MovieClip Frame 606
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x + (60 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 619
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 165 MovieClip Frame 624
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 625
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 165 MovieClip Frame 630
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 631
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 165 MovieClip Frame 636
gotoAndPlay ("idle");
Symbol 165 MovieClip Frame 637
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 165 MovieClip Frame 647
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 165 MovieClip Frame 652
gotoAndPlay ("dead");
Symbol 173 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 277 MovieClip Frame 32
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 37
s_idle = 0;
s_moving = 6;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 277 MovieClip Frame 78
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 82
s_idle = 0;
s_moving = 8;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 277 MovieClip Frame 92
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 93
s_animbusy = 1;
Symbol 277 MovieClip Frame 97
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 102
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 277 MovieClip Frame 129
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 134
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Symbol 277 MovieClip Frame 172
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 181
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_atktype = 0;
s_moving = 7;
Symbol 277 MovieClip Frame 190
s_animbusy = 1;
s_moving = 0;
Symbol 277 MovieClip Frame 211
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 216
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 277 MovieClip Frame 295
wiggle = 0;
gotoAndPlay ("digest");
Symbol 277 MovieClip Frame 320
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("digest");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 277 MovieClip Frame 323
wiggle++;
_parent._parent.player.hp--;
Symbol 277 MovieClip Frame 333
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 277 MovieClip Frame 336
wiggle++;
_parent._parent.player.hp--;
Symbol 277 MovieClip Frame 346
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 277 MovieClip Frame 349
wiggle++;
_parent._parent.player.hp--;
Symbol 277 MovieClip Frame 359
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 277 MovieClip Frame 362
wiggle++;
_parent._parent.player.hp--;
Symbol 277 MovieClip Frame 372
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 277 MovieClip Frame 376
_parent._parent.player.hp = 0;
Symbol 277 MovieClip Frame 388
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 407
s_vx = -4;
s_hit = 1;
s_animbusy = 0;
Symbol 277 MovieClip Frame 411
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x - (80 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 424
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 277 MovieClip Frame 429
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 430
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 277 MovieClip Frame 435
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 436
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 277 MovieClip Frame 441
gotoAndPlay ("idle");
Symbol 277 MovieClip Frame 442
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 277 MovieClip Frame 452
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 277 MovieClip Frame 457
gotoAndPlay ("dead");
Symbol 405 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 405 MovieClip Frame 37
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 43
s_idle = 0;
s_moving = 3;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 405 MovieClip Frame 64
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 69
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 405 MovieClip Frame 89
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 91
s_idle = 0;
s_moving = 5;
s_attacking = 1;
s_hit = 0;
s_atktype = 2;
Symbol 405 MovieClip Frame 111
s_animbusy = 1;
Symbol 405 MovieClip Frame 119
s_animbusy = 1;
s_moving = 0;
Symbol 405 MovieClip Frame 129
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 134
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Symbol 405 MovieClip Frame 161
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 165
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 405 MovieClip Frame 254
wiggle = 0;
excretedir = 0;
gotoAndPlay ("digest");
Symbol 405 MovieClip Frame 279
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("digest");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 405 MovieClip Frame 284
wiggle++;
excretedir++;
_parent._parent.player.hp--;
Symbol 405 MovieClip Frame 294
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 405 MovieClip Frame 298
wiggle++;
excretedir--;
_parent._parent.player.hp--;
Symbol 405 MovieClip Frame 308
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 405 MovieClip Frame 313
wiggle++;
excretedir++;
_parent._parent.player.hp--;
Symbol 405 MovieClip Frame 323
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 405 MovieClip Frame 328
wiggle++;
excretedir--;
_parent._parent.player.hp--;
Symbol 405 MovieClip Frame 338
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 405 MovieClip Frame 342
_parent._parent.player.hp = 0;
Symbol 405 MovieClip Frame 371
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 397
wiggle = 0;
excretedir = 0;
struggle = 0;
gotoAndPlay ("deepdigest");
Symbol 405 MovieClip Frame 424
if (2 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 2;
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("finishdeepdigesting");
}
Symbol 405 MovieClip Frame 426
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 405 MovieClip Frame 436
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 405 MovieClip Frame 441
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 405 MovieClip Frame 451
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 405 MovieClip Frame 456
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 405 MovieClip Frame 466
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 405 MovieClip Frame 471
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 405 MovieClip Frame 481
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 405 MovieClip Frame 501
wiggle = 0;
excretedir = 0;
struggle = 0;
gotoAndPlay ("digest");
Symbol 405 MovieClip Frame 528
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 551
s_vx = 4;
s_hit = 1;
s_animbusy = 0;
Symbol 405 MovieClip Frame 559
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x + (60 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 572
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 405 MovieClip Frame 577
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 578
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 405 MovieClip Frame 583
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 584
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 405 MovieClip Frame 589
gotoAndPlay ("idle");
Symbol 405 MovieClip Frame 590
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 405 MovieClip Frame 600
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 405 MovieClip Frame 605
gotoAndPlay ("dead");
Symbol 671 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 671 MovieClip Frame 39
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 45
s_idle = 0;
s_moving = 2;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 671 MovieClip Frame 77
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 81
s_idle = 0;
s_moving = 8;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 671 MovieClip Frame 91
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 92
s_animbusy = 1;
Symbol 671 MovieClip Frame 96
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 101
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Instance of Symbol 137 MovieClip "sbox" in Symbol 671 MovieClip Frame 113
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.cbox.hitTest(this)) {
chance = random(5);
if (chance == 0) {
if (this.hitTest(_parent._parent._parent.player.centerbox)) {
_parent._parent._parent.player.s_animbusy = 1;
_parent._parent._parent.player.s_hit = 0;
_parent._parent._parent.player.stop();
_parent._parent._parent.player._alpha = 0;
_parent.gotoAndPlay("swallow");
}
}
}
}
Symbol 671 MovieClip Frame 130
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 135
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Symbol 671 MovieClip Frame 176
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 185
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Instance of Symbol 137 MovieClip "sbox" in Symbol 671 MovieClip Frame 198
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.cbox.hitTest(this)) {
if (this.hitTest(_parent._parent._parent.player.centerbox)) {
_parent._parent._parent.player.s_animbusy = 1;
_parent._parent._parent.player.s_hit = 0;
_parent._parent._parent.player.stop();
_parent._parent._parent.player._alpha = 0;
_parent.gotoAndPlay("eathead");
}
}
}
Symbol 671 MovieClip Frame 223
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 228
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 671 MovieClip Frame 349
wiggle = 0;
gotoAndPlay ("digest");
Symbol 671 MovieClip Frame 356
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 671 MovieClip Frame 393
wiggle = 0;
gotoAndPlay ("omnom");
Instance of Symbol 137 MovieClip in Symbol 671 MovieClip Frame 398
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.in_movex < 0) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("wiggle3");
} else {
_parent.gotoAndPlay("wiggle0");
}
} else if (0 < _parent._parent._parent.player.in_movex) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("wiggle0");
} else {
_parent.gotoAndPlay("wiggle3");
}
_parent.gotoAndPlay("wiggle0");
} else if (_parent._parent._parent.player.in_movey < 0) {
_parent.gotoAndPlay("wiggle1");
} else if (0 < _parent._parent._parent.player.in_movey) {
_parent.gotoAndPlay("wiggle2");
}
}
Symbol 671 MovieClip Frame 432
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("digest");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 671 MovieClip Frame 435
wiggle++;
_parent._parent.player.hp--;
Symbol 671 MovieClip Frame 450
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 671 MovieClip Frame 453
wiggle++;
_parent._parent.player.hp--;
Symbol 671 MovieClip Frame 470
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 671 MovieClip Frame 473
wiggle++;
_parent._parent.player.hp--;
Symbol 671 MovieClip Frame 488
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 671 MovieClip Frame 491
wiggle++;
_parent._parent.player.hp--;
Symbol 671 MovieClip Frame 504
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 671 MovieClip Frame 508
_parent._parent.player.hp = 0;
Symbol 671 MovieClip Frame 550
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 607
s_vx = -4;
s_hit = 1;
s_animbusy = 0;
Symbol 671 MovieClip Frame 611
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x - (80 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 624
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 671 MovieClip Frame 629
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 630
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 671 MovieClip Frame 635
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 636
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 671 MovieClip Frame 641
gotoAndPlay ("idle");
Symbol 671 MovieClip Frame 642
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 671 MovieClip Frame 652
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 671 MovieClip Frame 657
gotoAndPlay ("dead");
Symbol 1108 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 1108 MovieClip Frame 49
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 54
s_idle = 0;
s_moving = 3;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1108 MovieClip Frame 77
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 92
s_idle = 0;
s_moving = 8;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1108 MovieClip Frame 102
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 103
s_animbusy = 1;
Symbol 1108 MovieClip Frame 107
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 112
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 1108 MovieClip Frame 125
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 130
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Instance of Symbol 755 MovieClip "sbox" in Symbol 1108 MovieClip Frame 141
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.cbox.hitTest(this)) {
if (this.hitTest(_parent._parent._parent.player.head)) {
_parent._parent._parent.player.s_animbusy = 1;
_parent._parent._parent.player.s_hit = 0;
_parent._parent._parent.player.stop();
_parent._parent._parent.player._alpha = 0;
_parent.gotoAndPlay("eathead");
}
}
}
Symbol 1108 MovieClip Frame 170
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 179
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Symbol 1108 MovieClip Frame 189
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 194
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 1108 MovieClip Frame 237
wiggle = 0;
ub = 0;
gotoAndPlay ("digest");
Symbol 1108 MovieClip Frame 257
if (6 < ub) {
gotoAndPlay ("unbirth");
}
Instance of Symbol 137 MovieClip in Symbol 1108 MovieClip Frame 257
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.in_movex < 0) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("wiggle3");
} else {
_parent.gotoAndPlay("wiggle0");
}
} else if (0 < _parent._parent._parent.player.in_movex) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("wiggle0");
} else {
_parent.gotoAndPlay("wiggle3");
}
_parent.gotoAndPlay("wiggle0");
} else if (_parent._parent._parent.player.in_movey < 0) {
_parent.gotoAndPlay("wiggle1");
} else if (0 < _parent._parent._parent.player.in_movey) {
_parent.gotoAndPlay("wiggle2");
}
}
Symbol 1108 MovieClip Frame 281
ub++;
gotoAndPlay ("digest");
Symbol 1108 MovieClip Frame 284
ub++;
ub++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 312
Symbol 1108 MovieClip Frame 315
ub++;
ub++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 334
Symbol 1108 MovieClip Frame 337
ub++;
ub++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 347
Symbol 1108 MovieClip Frame 350
ub++;
ub++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 360
Symbol 1108 MovieClip Frame 422
ub = 0;
gotoAndPlay ("womb");
Instance of Symbol 137 MovieClip in Symbol 1108 MovieClip Frame 425
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.in_movex < 0) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("awiggle3");
} else {
_parent.gotoAndPlay("awiggle0");
}
} else if (0 < _parent._parent._parent.player.in_movex) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("awiggle0");
} else {
_parent.gotoAndPlay("awiggle3");
}
_parent.gotoAndPlay("awiggle0");
} else if (_parent._parent._parent.player.in_movey < 0) {
_parent.gotoAndPlay("awiggle1");
} else if (0 < _parent._parent._parent.player.in_movey) {
_parent.gotoAndPlay("awiggle2");
}
}
Symbol 1108 MovieClip Frame 460
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("womb");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 1108 MovieClip Frame 463
wiggle++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 478
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("womb");
} else {
gotoAndPlay ("excrete");
}
Symbol 1108 MovieClip Frame 481
wiggle++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 498
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("womb");
} else {
gotoAndPlay ("excrete");
}
Symbol 1108 MovieClip Frame 501
wiggle++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 516
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("womb");
} else {
gotoAndPlay ("excrete");
}
Symbol 1108 MovieClip Frame 519
wiggle++;
_parent._parent.player.hp--;
Symbol 1108 MovieClip Frame 532
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("womb");
} else {
gotoAndPlay ("excrete");
}
Symbol 1108 MovieClip Frame 536
_parent._parent.player.hp = 0;
Symbol 1108 MovieClip Frame 578
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 663
s_vx = -4;
s_hit = 1;
s_animbusy = 0;
Symbol 1108 MovieClip Frame 667
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x - (80 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 673
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1108 MovieClip Frame 678
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 679
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1108 MovieClip Frame 684
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 685
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1108 MovieClip Frame 690
gotoAndPlay ("idle");
Symbol 1108 MovieClip Frame 691
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1108 MovieClip Frame 701
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1108 MovieClip Frame 706
gotoAndPlay ("dead");
Symbol 1185 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 1185 MovieClip Frame 60
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 65
s_idle = 0;
s_moving = 3;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1185 MovieClip Frame 91
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 95
s_idle = 0;
s_moving = 8;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1185 MovieClip Frame 105
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 106
s_animbusy = 1;
Symbol 1185 MovieClip Frame 110
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 115
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 1185 MovieClip Frame 129
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 134
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Instance of Symbol 137 MovieClip "sbox" in Symbol 1185 MovieClip Frame 146
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.cbox.hitTest(this)) {
if (this.hitTest(_parent._parent._parent.player.head)) {
_parent._parent._parent.player.s_animbusy = 1;
_parent._parent._parent.player.s_hit = 0;
_parent._parent._parent.player.stop();
_parent._parent._parent.player._alpha = 0;
_parent.gotoAndPlay("eathead");
}
}
}
Symbol 1185 MovieClip Frame 167
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 171
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Instance of Symbol 755 MovieClip "sbox" in Symbol 1185 MovieClip Frame 180
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.cbox.hitTest(this)) {
if (this.hitTest(_parent._parent._parent.player.head)) {
_parent._parent._parent.player.s_animbusy = 1;
_parent._parent._parent.player.s_hit = 0;
_parent._parent._parent.player.stop();
_parent._parent._parent.player._alpha = 0;
_parent.gotoAndPlay("ubswallow");
}
}
}
Symbol 1185 MovieClip Frame 196
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 201
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 1185 MovieClip Frame 275
wiggle = 0;
gotoAndPlay ("digest");
Symbol 1185 MovieClip Frame 300
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("digest");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 1185 MovieClip Frame 303
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 313
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1185 MovieClip Frame 316
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 326
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1185 MovieClip Frame 329
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 339
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1185 MovieClip Frame 342
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 352
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1185 MovieClip Frame 356
_parent._parent.player.hp = 0;
Symbol 1185 MovieClip Frame 368
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 387
s_vx = -4;
s_hit = 1;
s_animbusy = 0;
Symbol 1185 MovieClip Frame 391
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x - (80 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 404
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1185 MovieClip Frame 409
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 410
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1185 MovieClip Frame 415
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 416
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1185 MovieClip Frame 421
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 422
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1185 MovieClip Frame 432
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1185 MovieClip Frame 437
gotoAndPlay ("dead");
Symbol 1185 MovieClip Frame 453
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 1185 MovieClip Frame 551
wiggle = 0;
gotoAndPlay ("ubdigest");
Instance of Symbol 755 MovieClip in Symbol 1185 MovieClip Frame 556
onClipEvent (enterFrame) {
if (_parent._parent._parent.player.in_movex < 0) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("ubwiggle3");
} else {
_parent.gotoAndPlay("ubwiggle0");
}
} else if (0 < _parent._parent._parent.player.in_movex) {
if (0 < _parent._xscale) {
_parent.gotoAndPlay("ubwiggle0");
} else {
_parent.gotoAndPlay("ubwiggle3");
}
_parent.gotoAndPlay("ubwiggle0");
} else if (_parent._parent._parent.player.in_movey < 0) {
_parent.gotoAndPlay("ubwiggle1");
} else if (0 < _parent._parent._parent.player.in_movey) {
_parent.gotoAndPlay("ubwiggle2");
}
}
Symbol 1185 MovieClip Frame 581
if (20 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("ubdigest");
} else {
gotoAndPlay ("ubfinishdigesting");
}
Symbol 1185 MovieClip Frame 584
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 599
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("ubfinishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("ubdigest");
} else {
gotoAndPlay ("ubexcrete");
}
Symbol 1185 MovieClip Frame 602
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 620
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("ubfinishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("ubdigest");
} else {
gotoAndPlay ("ubexcrete");
}
Symbol 1185 MovieClip Frame 623
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 645
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("ubfinishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("ubdigest");
} else {
gotoAndPlay ("ubexcrete");
}
Symbol 1185 MovieClip Frame 648
wiggle++;
_parent._parent.player.hp--;
Symbol 1185 MovieClip Frame 666
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("ubfinishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("ubdigest");
} else {
gotoAndPlay ("ubexcrete");
}
Symbol 1185 MovieClip Frame 724
gotoAndPlay ("ubidle");
Symbol 1185 MovieClip Frame 744
s_vx = -4;
s_hit = 1;
s_animbusy = 0;
Symbol 1185 MovieClip Frame 748
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x - (80 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 1185 MovieClip Frame 809
gotoAndPlay ("ubidle");
Symbol 1219 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 1219 MovieClip Frame 57
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 62
s_idle = 0;
s_moving = 2;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1219 MovieClip Frame 81
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 85
s_idle = 0;
s_moving = 8;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1219 MovieClip Frame 95
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 96
s_animbusy = 1;
Symbol 1219 MovieClip Frame 100
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 105
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 1219 MovieClip Frame 137
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 140
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Symbol 1219 MovieClip Frame 168
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 173
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Symbol 1219 MovieClip Frame 206
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 213
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1219 MovieClip Frame 221
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 222
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1219 MovieClip Frame 227
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 228
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1219 MovieClip Frame 233
gotoAndPlay ("idle");
Symbol 1219 MovieClip Frame 234
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1219 MovieClip Frame 244
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1219 MovieClip Frame 249
gotoAndPlay ("dead");
Symbol 1220 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 1220 MovieClip Frame 30
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 35
s_idle = 0;
s_moving = 4;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1220 MovieClip Frame 51
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 56
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 1220 MovieClip Frame 66
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 71
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Symbol 1220 MovieClip Frame 81
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 86
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Symbol 1220 MovieClip Frame 96
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 100
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 1220 MovieClip Frame 112
gotoAndPlay ("swallow");
Symbol 1220 MovieClip Frame 117
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 1220 MovieClip Frame 192
wiggle = 0;
excretedir = 0;
gotoAndPlay ("digest");
Symbol 1220 MovieClip Frame 217
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("digest");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 1220 MovieClip Frame 222
wiggle++;
excretedir++;
_parent._parent.player.hp--;
Symbol 1220 MovieClip Frame 232
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 1220 MovieClip Frame 236
wiggle++;
excretedir--;
_parent._parent.player.hp--;
Symbol 1220 MovieClip Frame 246
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 1220 MovieClip Frame 251
wiggle++;
excretedir++;
_parent._parent.player.hp--;
Symbol 1220 MovieClip Frame 261
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 1220 MovieClip Frame 266
wiggle++;
excretedir--;
_parent._parent.player.hp--;
Symbol 1220 MovieClip Frame 276
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else if (excretedir >= 0) {
gotoAndPlay ("excrete");
} else {
gotoAndPlay ("intestine");
}
Symbol 1220 MovieClip Frame 280
_parent._parent.player.hp = 0;
Symbol 1220 MovieClip Frame 309
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 335
wiggle = 0;
excretedir = 0;
struggle = 0;
gotoAndPlay ("deepdigest");
Symbol 1220 MovieClip Frame 362
if (2 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 2;
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("finishdeepdigesting");
}
Symbol 1220 MovieClip Frame 364
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 1220 MovieClip Frame 374
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 1220 MovieClip Frame 379
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 1220 MovieClip Frame 389
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 1220 MovieClip Frame 394
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 1220 MovieClip Frame 404
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 1220 MovieClip Frame 409
struggle++;
_parent._parent.player.hp = _parent._parent.player.hp - 2;
Symbol 1220 MovieClip Frame 419
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdeepdigesting");
} else if (struggle < 10) {
gotoAndPlay ("deepdigest");
} else {
gotoAndPlay ("stomach");
}
Symbol 1220 MovieClip Frame 439
wiggle = 0;
excretedir = 0;
struggle = 0;
gotoAndPlay ("digest");
Symbol 1220 MovieClip Frame 466
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 489
s_vx = 4;
s_hit = 1;
s_animbusy = 0;
Symbol 1220 MovieClip Frame 497
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x + (60 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 510
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1220 MovieClip Frame 515
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 516
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1220 MovieClip Frame 521
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 522
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1220 MovieClip Frame 527
gotoAndPlay ("idle");
Symbol 1220 MovieClip Frame 528
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1220 MovieClip Frame 538
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1220 MovieClip Frame 543
gotoAndPlay ("dead");
Symbol 1230 MovieClip Frame 1
s_atktype = 0;
s_animbusy = 0;
s_idle = 1;
s_moving = 0;
s_attacking = 0;
s_hit = 0;
in_movex = 0;
in_movey = 0;
in_action = 0;
s_vx = 0;
Symbol 1230 MovieClip Frame 32
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 37
s_idle = 0;
s_moving = 4;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1230 MovieClip Frame 56
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 60
s_idle = 0;
s_moving = 8;
s_attacking = 0;
s_hit = 0;
s_animbusy = 0;
Symbol 1230 MovieClip Frame 70
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 71
s_animbusy = 1;
Symbol 1230 MovieClip Frame 75
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 80
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 1;
Symbol 1230 MovieClip Frame 90
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 95
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 2;
Symbol 1230 MovieClip Frame 107
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 116
s_idle = 0;
s_moving = 0;
s_attacking = 1;
s_hit = 0;
s_animbusy = 1;
s_atktype = 0;
Symbol 1230 MovieClip Frame 126
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 131
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 1230 MovieClip Frame 170
wiggle = 0;
gotoAndPlay ("digest");
Symbol 1230 MovieClip Frame 177
_parent._parent.player._alpha = 0;
_parent._parent.player.gotoAndStop(2);
_parent._parent.player.stop();
_parent._parent.player.s_animbusy = 1;
_parent._parent.player.s_hit = 1;
_parent._parent.player.s_vx = 0;
_parent._parent.player.in_movex = 0;
_parent._parent.player.in_movey = 0;
_parent._parent.player.in_action = 0;
Symbol 1230 MovieClip Frame 187
wiggle = 0;
gotoAndPlay ("digest");
Symbol 1230 MovieClip Frame 212
if (1 < _parent._parent.player.hp) {
_parent._parent.player.hp = _parent._parent.player.hp - 1;
gotoAndPlay ("digest");
} else {
gotoAndPlay ("finishdigesting");
}
Symbol 1230 MovieClip Frame 215
wiggle++;
_parent._parent.player.hp--;
Symbol 1230 MovieClip Frame 225
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1230 MovieClip Frame 228
wiggle++;
_parent._parent.player.hp--;
Symbol 1230 MovieClip Frame 238
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1230 MovieClip Frame 241
wiggle++;
_parent._parent.player.hp--;
Symbol 1230 MovieClip Frame 251
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1230 MovieClip Frame 254
wiggle++;
_parent._parent.player.hp--;
Symbol 1230 MovieClip Frame 264
if (_parent._parent.player.hp < 1) {
gotoAndPlay ("finishdigesting");
} else if (wiggle < 10) {
gotoAndPlay ("digest");
} else {
gotoAndPlay ("excrete");
}
Symbol 1230 MovieClip Frame 268
_parent._parent.player.hp = 0;
Symbol 1230 MovieClip Frame 280
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 299
s_vx = -4;
s_hit = 1;
s_animbusy = 0;
Symbol 1230 MovieClip Frame 303
_parent._parent.player._alpha = 100;
_parent._parent.player._xscale = _xscale;
_parent._parent.player.gotoAndPlay("hitl");
_parent._parent.player._x = _parent._x - (80 * (_xscale / 100));
if (_parent._parent.player.hp < 0) {
_parent._parent.player.hp = 1;
}
_xscale = (-_xscale);
s_hit = 0;
s_animbusy = 0;
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 316
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1230 MovieClip Frame 321
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 322
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1230 MovieClip Frame 327
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 328
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 4;
Symbol 1230 MovieClip Frame 333
gotoAndPlay ("idle");
Symbol 1230 MovieClip Frame 334
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1230 MovieClip Frame 344
s_idle = 0;
s_moving = 0;
s_attacking = 0;
s_hit = 1;
s_animbusy = 1;
s_vx = 0;
Symbol 1230 MovieClip Frame 349
gotoAndPlay ("dead");
Symbol 1231 MovieClip Frame 2
this.m_name = "Rexxy";
this.m_status = "Gigantic";
this.maxhp = 5000;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 3
this.m_name = "GraveRaptor";
this.m_status = "Crypt Dweller";
this.maxhp = 200;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 4
this.m_name = "Scolipede";
this.m_status = "Megapede Pokemon";
this.maxhp = 200;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 5
this.m_name = "Lugia";
this.m_status = "Diving Pokemon";
this.maxhp = 300;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 6
this.m_name = "Lugia S";
this.m_status = "Diving Pokmon";
this.maxhp = 250;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 7
this.m_name = "Jes";
this.m_status = "Owlkin";
this.maxhp = 100;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 8
this.m_name = "Al";
this.m_status = "Animator";
this.maxhp = 62;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 10;
this.matk = 10;
this.latk = 10;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 9
this.m_name = "Hydra";
this.m_status = "Serphent";
this.maxhp = 300;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Symbol 1231 MovieClip Frame 10
this.m_name = "Dwaggie";
this.m_status = "Kind of Tiny";
this.maxhp = 100;
this.hp = this.maxhp;
this.enemy.in_movex = -5;
this.enemy.in_movey = 0;
this.enemy.in_action = 0;
this.hatk = 2;
this.matk = 3;
this.latk = 2;
this.hdef = 1;
this.mdef = 0;
this.ldef = 2;
enemy.s_atktype = 0;
enemy.s_animbusy = 0;
enemy.s_idle = 1;
enemy.s_moving = 0;
enemy.s_attacking = 0;
enemy.s_hit = 0;
enemy.s_vx = 0;
stop();
Instance of Symbol 18 MovieClip "player" in Symbol 1232 MovieClip Frame 1
onClipEvent (load) {
in_movex = 0;
in_movey = 0;
in_action = 0;
hp = 100;
}
Symbol 1239 Button
on (press) {
with (controller) {
pickEnemy(0);
GLOBAL_PLAYER.hp = 63;
GLOBAL_PLAYER.s_atktype = 0;
GLOBAL_PLAYER.s_animbusy = 0;
GLOBAL_PLAYER.s_idle = 1;
GLOBAL_PLAYER.s_moving = 0;
GLOBAL_PLAYER.s_attacking = 0;
GLOBAL_PLAYER.s_hit = 0;
GLOBAL_PLAYER.s_vx = 0;
GLOBAL_PLAYER._alpha = 100;
GLOBAL_PLAYER.head._alpha = 100;
GLOBAL_PLAYER.head._visible = true;
GLOBAL_PLAYER._visible = true;
GLOBAL_PLAYER.gotoAndPlay(1);
if (Math.random() < 0.5) {
GLOBAL_ENEMY._x = GLOBAL_PLAYER._x + 640;
} else {
GLOBAL_ENEMY._x = GLOBAL_PLAYER._x - 640;
}
GLOBAL_ENEMY_TIMEOUT = 0;
}
}