Frame 1
Set("/:gHS_bypass", true);
_root.gVersionNum = "1.0";
loadVariablesNum ("TestVariables.txt", 0);
pLoadInit = false;
pTrackLoadCalled = false;
if (/:gHSRoot_swf eq "") {
Set("/:gHSRoot_swf", "/scoobydoo/games/med/");
}
if (/:gHSRoot_jsp eq "") {
Set("/:gHSRoot_jsp", "/web/scoobydoo/load_variables/games/");
}
if (/:gHSRoot_top100 eq "") {
Set("/:gHSRoot_top100", "/web/scoobydoo/games/");
}
if (/:gDebugMode == true) {
debug._x = 50;
}
_quality = "high";
Frame 5
if (pLoadInit != true) {
Set("/:gGameID", "SD_daphne_fight");
Set("/:gGameState", "LOADING");
pLoadStartTime = int(getTimer() / 1000);
tellTarget ("/hs_scripts") {
call("mLoading");
};
pLoadInit = true;
}
if (/:gHSTrackLoad && (pTrackLoadCalled != true)) {
loadVariablesNum ((((("/tracking.html?game=" add /:gGameID) add "&stage=0&timer=") add pLoadStartTime) add "&random_id=") add pLoadStartTime, 0);
pTrackLoadCalled = true;
}
Frame 6
pRatio = getBytesLoaded() / (getBytesTotal() - 346112);
per = int(pRatio * 100);
if (99 < per) {
per = 99;
}
pDispPer = per + "%DONE";
if ((pRatio >= 1) && ((/hs_scripts/:gLoaded == true) || (/:gHS_bypass == true))) {
gotoAndPlay (13);
}
Frame 9
gotoAndPlay(_currentframe - 3);
Frame 13
tellTarget ("/hs_scripts") {
call("mLoaded");
};
stop();
function mAdvanceLevel(pLev) {
stopAllSounds();
mRemoveAllEnemiesAndProjectiles();
_root.pGameLevel = _root.pGameLevel + pLev;
tellTarget ("/hs_scripts") {
Set("/:gLevel", _root.pGameLevel);
call("mLevelStart");
};
trace(_root.pGameLevel);
if (4 < _root.pGameLevel) {
_root.gotoAndStop("gameWon");
} else {
_root.gotoAndPlay("level" + _root.pGameLevel);
}
}
function Floorelements() {
el = 1;
while (el < (_root.elementsonlevel + 1)) {
elcurrentx = _root.element_x[el] - _root.daphne_floorposition;
setProperty(el + "element", _x , elcurrentx);
if ((-100 < elcurrentx) && (elcurrentx < 600)) {
setProperty(el + "element", _visible , true);
_root.element_displayed[el] = 1;
}
if ((elcurrentx < -100) or (600 < elcurrentx)) {
setProperty(el + "element", _visible , false);
_root.element_displayed[el] = 0;
}
el = el + 1;
}
}
function moutofTime() {
_root.daphne_alive = 0;
_root.stop();
_root.daphne_moving = 0;
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.daphne_land = 0;
_root.daphne.actions.direction.gotoAndPlay("falldown");
_root.pDeathReason = 1;
}
function mRunTimer() {
if (((ptimeDelay++) % 30) == 1) {
pLevelTimer--;
mDisplayTimer();
if (pLevelTimer == 0) {
mOutofTime();
}
}
}
function mDisplayTimer() {
pDisplayTime = int(pLevelTimer / 60) + ":";
var pSeconds = (pLevelTimer % 60);
if (pSeconds < 10) {
pSeconds = "0" + pSeconds;
}
pDisplayTime = pDisplayTime + pSeconds;
}
function mAddBonusScore() {
if (0 < pLevelTimer) {
if (((ptimeDelay++) % 2) == 1) {
pLevelTimer--;
GameScore = GameScore + 50;
mDisplayTimer();
}
} else if (pEndLevelDelay < 20) {
pEndLevelDelay++;
} else {
pEndLevelDelay = 0;
_root.gotoAndStop(_currentframe + 2);
}
}
function mScoring(points) {
_root.gameScore = _root.gameScore + points;
}
function mNoHealth() {
_root.daphne_alive = 0;
_root.stop();
_root.daphne_moving = 0;
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.daphne_land = 0;
_root.pDeathReason = 2;
_root.daphne.actions.direction.gotoAndPlay("falldown");
}
function mDie() {
mRemoveAllEnemiesAndProjectiles();
trace("DIE" + _root.pGameLevel);
i = 1;
while (guysonlevel >= i) {
_root[i + "enemy"].removeMovieClip();
i++;
}
_root.gotoAndStop("loseChance");
}
function move() {
if ((_root.daphne_attackdone eq 1) && (_root.daphne_hit eq 0)) {
_root.daphne_moving = 0;
_root.daphne_duck = 0;
if (Key.isDown(39)) {
_root.dir = "right";
_root.daphne.actions.gotoAndStop("right");
_root.daphne_moving = 1;
if (_root.daphne_jump eq 0) {
_root.daphne.actions.direction.gotoAndPlay("walk");
}
}
if (Key.isDown(37)) {
_root.dir = "left";
_root.daphne.actions.gotoAndStop("left");
_root.daphne_moving = 1;
if (_root.daphne_jump eq 0) {
_root.daphne.actions.direction.gotoAndPlay("walk");
}
}
if (Key.isDown(40)) {
_root.daphne_duck = 0;
if (_root.daphne_jump eq 0) {
_root.daphne.actions.direction.gotoAndPlay("duck");
_root.daphne_duck = 1;
}
}
if (Key.isDown(38) and _root.pTouchingElevator) {
_root.pWalkToElevator = 1;
_root.daphne_attackdone = 0;
trace("elevator open from function");
}
if (Key.isDown(38) and (_root.daphne_jump eq 0)) {
_root.daphne.gotoAndPlay("jump");
}
if (_root.daphne_attackdone eq 1) {
if ((Key.isDown(_root.punchkey) && (_root.daphne_jump eq 1)) && (_root.daphne_jumpPON eq 0)) {
_root.daphne_attackdone = 0;
_root.daphne.actions.direction.gotoAndPlay("jumppunch");
}
if (Key.isDown(_root.punchkey) && (_root.daphne_duck eq 1)) {
_root.daphne_moving = 0;
_root.daphne_attackdone = 0;
_root.daphne.actions.direction.gotoAndPlay("duckpunch");
}
if (((Key.isDown(_root.punchkey) && (_root.daphne_duck eq 0)) && (_root.daphne_jump eq 0)) && (_root.daphne_attackdone eq 1)) {
_root.daphne_moving = 0;
_root.daphne_attackdone = 0;
_root.daphne.actions.direction.gotoAndPlay("punch");
}
if ((Key.isDown(_root.kickkey) && (_root.daphne_jump eq 1)) && (_root.daphne_jumpPON eq 0)) {
_root.daphne_attackdone = 0;
_root.daphne.actions.direction.gotoAndPlay("jumpkick");
}
if (Key.isDown(_root.kickkey) && (_root.daphne_duck eq 1)) {
_root.daphne_moving = 0;
_root.daphne_attackdone = 0;
_root.daphne.actions.direction.gotoAndPlay("duckkick");
}
if ((Key.isDown(_root.kickkey) && (_root.daphne_duck eq 0)) && (_root.daphne_jump eq 0)) {
_root.daphne_moving = 0;
_root.daphne_attackdone = 0;
_root.daphne.actions.direction.gotoAndPlay("kick");
}
}
} else if (_root.daphne_hit eq 1) {
_root.daphne_moving = 0;
_root.daphne_duck = 0;
}
}
function scroll() {
if (_root.daphne_moving == 1) {
if ((((_root.dir == "right") && (_root.stopright == 0)) && (_root.daphne_duck == 0)) && (_root.daphne_floorposition < _root.floorlength)) {
_root.wallspeed = _root.speed * -1;
_root.daphne_floorposition = _root.daphne_floorposition - _root.wallspeed;
swapwall();
displayguys();
displayBoss();
projectilesmove();
Floorelements();
} else if ((((_root.dir == "left") && (_root.stopleft == 0)) && (_root.daphne_duck == 0)) && (1 < _root.daphne_floorposition)) {
_root.wallspeed = _root.speed;
_root.daphne_floorposition = _root.daphne_floorposition - _root.wallspeed;
swapwall();
displayguys();
displayBoss();
projectilesmove();
Floorelements();
}
}
}
function displayguys() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
if ((_root.guy_alive[guy] eq 1) && (_root.guy_displayed[guy] eq 1)) {
thisX = eval ((guy + "enemy") + "._x");
_root.guy_currentx[guy] = thisX;
_root.guy_currentx[guy] = _root.guy_currentx[guy] + _root.wallspeed;
xpos = _root.guy_currentx[guy];
setProperty(("_root." + guy) + "enemy", _x , xpos);
xposa = xpos + _root.daphne_floorposition;
ff = xpos;
if (((-100 >= ff) && (_root.guy_displayed[guy] eq 1)) or ((ff >= 600) && (_root.guy_displayed[guy] eq 1))) {
setProperty(guy + "enemy", _visible , false);
_root.pTotalNumberOfGuysDisplayed = _root.pTotalNumberOfGuysDisplayed - 1;
trace("old x:" + _root.guy_x[guy]);
_root.guy_x[guy] = (_root.guy_x[guy] + (_root.daphne_floorposition - _root.guy_currentx[guy])) + 350;
trace("new x:" + _root.guy_x[guy]);
_root.guy_displayed[guy] = 0;
}
}
ee = _root.guy_x[guy] - _root.daphne_floorposition;
thisX = eval ((guy + "enemy") + "._x");
thisX = ee;
if ((((-100 < thisX) && (thisX < 600)) && (_root.guy_alive[guy] eq 1)) && (_root.guy_displayed[guy] eq 0)) {
trace("begining INIT for guynum" + guy);
trace("type:" + _root.guy_type[guy]);
if (_root.guy_type[guy] eq 3) {
} else if (_root.guy_type[guy] eq 2) {
duplicateMovieClip ("_root.secondenemy", guy + "enemy", guy);
} else {
duplicateMovieClip ("_root.enemy", guy + "enemy", guy);
}
_root.pTotalNumberOfGuysDisplayed = _root.pTotalNumberOfGuysDisplayed + 1;
xpos = _root.guy_x[guy] - _root.daphne_floorposition;
setProperty(guy + "enemy", _x , xpos);
_root.guy_displayed[guy] = 1;
_root.guy_currentx[guy] = xpos;
ff = _root.guy_currentx[guy];
} else if ((((-100 < thisX) && (thisX < 600)) && (_root.guy_alive[guy] eq 1)) && (_root.guy_displayed[guy] eq 1)) {
setProperty(guy + "enemy", _visible , true);
_root.guy_displayed[guy] = 1;
}
guy = guy + 1;
}
}
function displayBoss() {
if (_root.boss_displayed eq 1) {
_root.boss_currentx = _root.boss._x;
_root.boss_currentx = _root.boss_currentx + _root.wallspeed;
xpos = _root.boss_currentx;
setProperty("_root.boss", _x , xpos);
xposa = xpos + _root.daphne_floorposition;
ff = xpos;
if (((-100 >= ff) && (_root.boss_displayed eq 1)) or ((ff >= 600) && (_root.boss_displayed eq 1))) {
setProperty("_root.boss", _visible , false);
_root.boss_displayed = 0;
}
}
ee = _root.boss_x - _root.daphne_floorposition;
if ((((-200 < ee) && (ee < 600)) && (_root.boss_alive eq 1)) && (_root.boss_displayed eq 0)) {
xpos = _root.boss_x - _root.daphne_floorposition;
setProperty("_root.boss", _x , xpos);
setProperty("_root.boss", _visible , true);
_root.boss_displayed = 1;
_root.boss_currentx = xpos;
_root.boss.gotoAndPlay(1);
ff = _root.boss_currentx;
} else if ((((-200 < ee) && (ee < 600)) && (_root.boss_alive eq 1)) && (_root.boss_displayed eq 1)) {
setProperty("_root.boss", _visible , true);
}
}
function projectilesmove() {
projloop = 1;
while (projloop < (_root.projectileslaunched + 1)) {
projx = eval ((projloop + "proj") + "._x");
projx = projx + _root.wallspeed;
setProperty(projloop + "proj", _x , projx);
ee = _root.guy_currentx[guy] - _root.daphne_floorposition;
projloop = projloop + 1;
}
}
function mMoveDaphnePosition(pDistance) {
if (_root.daphne_alive eq 1) {
_root.Stop();
_root.sfx.Play();
_root.daphne.actions.direction.gotoAndPlay("stand");
_root.daphne_moving = 0;
_root.daphne_hit = 0;
_root.daphne_attackdone = 1;
_root.daphne_duck = 0;
_root.wallspeed = pDistance;
_root.daphne_floorposition = _root.daphne_floorposition - pDistance;
swapwall();
displayguys();
displayBoss();
projectilesmove();
Floorelements();
_root.Play();
}
}
function projectileINIT(randy) {
_root.projectileslaunched = _root.projectileslaunched + 1;
if (20 < _root.projectileslaunched) {
_root.projectileslaunched = 1;
}
ee = _root.boss_x - _root.daphne_floorposition;
if ((((-100 < ee) && (ee < 600)) && (_root.boss_alive eq 1)) && (_root.boss_displayed eq 1)) {
duplicateMovieClip ("_root.projectile", _root.projectileslaunched + "proj", _root.projectileslaunched + 100);
setProperty(_root.projectileslaunched + "proj", _x , xpos);
setProperty(_root.projectileslaunched + "proj", _y , randy);
}
projloop = 1;
while (projloop < (_root.projectileslaunched + 1)) {
projx = eval ((projloop + "proj") + "._x");
projx = projx + _root.wallspeed;
setProperty(("_root." + projloop) + "proj", _x , projx);
ee = _root.guy_currentx[guy] - _root.daphne_floorposition;
projloop = projloop + 1;
}
}
function mAddenemy(pTheXposition) {
if (_root.boss_alive eq 1) {
_root.pTotalNumberOfGuysDisplayed = _root.pTotalNumberOfGuysDisplayed + 1;
_root.guysonlevel = _root.guysonlevel + 1;
trace("add a guy----" + _root.guysonlevel);
_root.guy_alive[_root.guysonlevel] = 1;
_root.guy_currentx[_root.guysonlevel] = pTheXposition;
duplicateMovieClip ("_root.enemy", _root.guysonlevel + "enemy", _root.guysonlevel);
setProperty(_root.guysonlevel + "enemy", _visible , true);
_root.guy_displayed[_root.guysonlevel] = 1;
setProperty(_root.guysonlevel + "enemy", _x , pTheXposition);
}
}
function mRemoveAllEnemiesAndProjectiles() {
_root.pTotalNumberOfGuysDisplayed = 0;
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
removeMovieClip(guy + "enemy");
guy = guy + 1;
}
guy = 1;
while (guy < (_root.projectileslaunched + 1)) {
removeMovieClip(guy + "proj");
guy = guy + 1;
}
}
Frame 19
tellTarget ("/hs_scripts") {
call("mPlay");
};
_root.gamelevel = 0;
_root.gameScore = 0;
_root.pGameLevel = 0;
_root.pLives = 3;
_root.pHitBossPoints = 10;
_root.pKillBossPoints = 525;
_root.pHitEnemyPoints = 1;
_root.pKillEnemyPoints = 12;
_root.pNextLevelPoints = 100;
_root.pBaseScoringFactor = 10;
Frame 29
_quality = "high";
pChances--;
if (0 >= pChances) {
gotoAndStop (40);
}
stop();
Frame 40
Set("/:gScore", _root.gameScore);
Set("/:gLevel", _root.pgameLevel);
tellTarget ("/hs_scripts") {
call("mGameOver");
};
_quality = "high";
Instance of Symbol 181 MovieClip "enemy" in Frame 58
onClipEvent (load) {
if (_root.daphne._x < this._x) {
pDirection = -1;
setProperty(this, _xscale , -70);
} else {
pDirection = 1;
}
guystrength = 5;
guynum = parseInt(_name);
}
Instance of Symbol 262 MovieClip "secondenemy" in Frame 58
onClipEvent (load) {
guystrength = 7;
guynum = parseInt(_name);
this.gotoAndStop(off);
}
Instance of Symbol 304 MovieClip "boss" in Frame 58
onClipEvent (load) {
Pstrength = 50;
}
Instance of Symbol 322 MovieClip in Frame 58
onClipEvent (enterFrame) {
Pstrength = [0, 50, 70, 90, 160];
gotoAndStop(101 - int((100 * _parent.boss.pStrength) / pStrength[_root.pgameLevel]));
}
Frame 59
pLevelTimer = 150;
gotoAndPlay(_currentframe + 1);
Frame 60
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_type[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
}
_root.pNearElevator = 0;
_root.pTouchingElevator = 0;
_root.pWalkToElevator = 0;
_root.pItemCollected = 0;
_root.daphne_attackdone = 1;
_root.daphne_alive = 1;
_root.daphne_attack = "none";
_root.daphne_hit = 0;
_root.daphne_attack_strength = 0;
_root.daphne_moving = 0;
_root.daphne_duck = 0;
_root.jumpdir = "still";
_root.basespeed = 2;
_root.speed = 5.5;
_root.level = 1;
_root.level_direction = 1;
_root.daphne_jump = 0;
_root.dir = "right";
_root.stopright = 0;
_root.stopleft = 0;
_root.kickkey = 88;
_root.punchkey = 90;
_root.floorlength = 3300;
_root.daphne_floorposition = 160;
_root.boss_x = 2900;
_root.boss_currentx = 2900;
_root.boss_alive = 1;
_root.boss_displayed = 0;
_root.guysonlevel = 9;
_root.guy_x = new Array();
_root.guy_type = new Array();
_root.guy_alive = new Array();
_root.guy_displayed = new Array();
_root.guy_currentx = new Array();
_root.guy_x[1] = 800;
_root.guy_x[2] = 1100;
_root.guy_x[3] = 1200;
_root.guy_x[4] = 1500;
_root.guy_x[5] = 1800;
_root.guy_x[6] = 2100;
_root.guy_x[7] = 2500;
_root.guy_x[8] = 2600;
_root.guy_x[9] = 2840;
enemysetup();
gotoAndPlay(_currentframe + 1);
Frame 61
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
}
function swapwall() {
setProperty(_root.wall, _x , _root.wall._x + _root.wallspeed);
if (-10 < _root.wall._x) {
_root.wall._x = _root.wall._x - 115;
} else if (_root.wall._x < -132) {
_root.wall._x = _root.wall._x + 115;
}
}
_root.elementsonlevel = 8;
_root.element_x = new Array();
_root.element_displayed = new Array();
_root.element_type = new Array();
_root.element_currentx = new Array();
_root.element_x[1] = 200;
_root.element_type[1] = "leftwall";
_root.element_x[2] = 400;
_root.element_type[2] = "elevatorfrom";
_root.element_x[3] = 1200;
_root.element_type[3] = "door";
_root.element_x[4] = 1700;
_root.element_type[4] = "door";
_root.element_x[5] = 1900;
_root.element_type[5] = "opendoor";
_root.element_x[6] = 2050;
_root.element_type[6] = "door";
_root.element_x[7] = 3200;
_root.element_type[7] = "elevatorto";
_root.element_x[8] = 3600;
_root.element_type[8] = "rightwall";
enemysetup();
gotoAndPlay(_currentframe + 1);
Instance of Symbol 491 MovieClip "1element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "2element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "3element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "4element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "5element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "6element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "7element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "8element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "9element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "10element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "11element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "12element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "13element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "14element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "15element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "16element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "17element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "18element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "19element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "20element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "21element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "22element" in Frame 61
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 551 MovieClip "daphne" in Frame 61
onClipEvent (load) {
setProperty("this", _visible , "false");
}
Frame 62
_root.change_skirt = 0;
_root.change_hair = 0;
_root.change_neck = 0;
_root.change_upperarm = 0;
_root.change_torso = 0;
_root.change_upperleg = 0;
_root.change_lowerleg = 0;
_root.change_foot = 0;
gotoAndPlay(_currentframe + 2);
Frame 64
setProperty("enemy", _visible , false);
setProperty("secondenemy", _visible , false);
setProperty("boss", _visible , false);
setProperty("daphne", _visible , false);
_root.secondenemy.gotoAndStop("off");
_root.enemy.gotoAndStop("off");
_root.projectile.gotoAndStop("off");
_root.boss.gotoAndStop("off");
_quality = "medium";
gotoAndPlay(_currentframe + 1);
Frame 65
Floorelements();
gotoAndPlay(_currentframe + 1);
Frame 66
trace("stopping");
stop();
Frame 70
_root.scroll();
_root.move();
mRunTimer();
Frame 71
gotoAndPlay (70);
Frame 74
mAddBonusScore();
Frame 75
gotoAndPlay(_currentframe - 1);
Frame 85
pLevelTimer = 180;
gotoAndPlay (87);
Instance of Symbol 181 MovieClip "enemy" in Frame 86
onClipEvent (load) {
if (this._x < _root.daphne._x) {
pDirection = 1;
setProperty(this, _xscale , -70);
} else {
pDirection = -1;
}
guystrength = 13;
guynum = parseInt(_name);
}
Instance of Symbol 633 MovieClip "boss" in Frame 86
onClipEvent (load) {
Pstrength = 70;
}
Instance of Symbol 634 MovieClip "projectile" in Frame 86
/* no clip actions */
Frame 87
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_type[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
}
_root.pNearElevator = 0;
_root.pTouchingElevator = 0;
_root.pWalkToElevator = 0;
_root.pItemCollected = 0;
_root.daphne_attackdone = 1;
_root.daphne_alive = 1;
_root.daphne_attack = "none";
_root.daphne_hit = 0;
_root.daphne_attack_strength = 0;
_root.daphne_moving = 0;
_root.daphne_duck = 0;
_root.jumpdir = "still";
_root.basespeed = 2;
_root.speed = 6;
_root.daphne_jump = 0;
_root.level_direction = -1;
_root.dir = "left";
_root.stopright = 0;
_root.stopleft = 0;
_root.floorlength = 4000;
_root.daphne_floorposition = 3800;
_root.boss_x = 550;
_root.boss_currentx = 550;
_root.boss_alive = 1;
_root.boss_displayed = 0;
_root.guysonlevel = 13;
_root.guy_type = new Array();
_root.guy_x = new Array();
_root.guy_alive = new Array();
_root.guy_displayed = new Array();
_root.guy_currentx = new Array();
_root.guy_x[1] = 3800;
_root.guy_x[2] = 3500;
_root.guy_x[3] = 3200;
_root.guy_x[4] = 2900;
_root.guy_x[5] = 2800;
_root.guy_x[6] = 2500;
_root.guy_x[7] = 2200;
_root.guy_x[8] = 2100;
_root.guy_x[9] = 1900;
_root.guy_x[10] = 1800;
_root.guy_x[11] = 1600;
_root.guy_x[12] = 800;
_root.guy_x[13] = 700;
enemysetup();
gotoAndPlay(_currentframe + 1);
Frame 88
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
}
function swapwall() {
setProperty(_root.wall, _x , _root.wall._x + _root.wallspeed);
if (-10 < _root.wall._x) {
_root.wall._x = _root.wall._x - 130;
} else if (_root.wall._x < -140) {
_root.wall._x = _root.wall._x + 130;
}
}
_root.elementsonlevel = 8;
_root.element_x = new Array();
_root.element_displayed = new Array();
_root.element_type = new Array();
_root.element_currentx = new Array();
_root.element_x[1] = 200;
_root.element_type[1] = "leftwall";
_root.element_x[2] = 400;
_root.element_type[2] = "elevatorto";
_root.element_x[3] = 1200;
_root.element_type[3] = "opendoor";
_root.element_x[4] = 1700;
_root.element_type[4] = "door";
_root.element_x[5] = 1900;
_root.element_type[5] = "door";
_root.element_x[6] = 2050;
_root.element_type[6] = "opendoor";
_root.element_x[7] = 4030;
_root.element_type[7] = "elevatorfrom";
_root.element_x[8] = 4300;
_root.element_type[8] = "rightwall";
enemysetup();
gotoAndPlay(_currentframe + 3);
Instance of Symbol 491 MovieClip "1element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "2element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "3element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "4element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "5element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "6element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "7element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "8element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "9element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "10element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "11element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "12element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "13element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "14element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "15element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "16element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "17element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "18element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "19element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "20element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "21element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "22element" in Frame 89
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 551 MovieClip "daphne" in Frame 89
onClipEvent (load) {
setProperty("this", _visible , "false");
}
Frame 91
setProperty("enemy", _visible , false);
setProperty("boss", _visible , false);
setProperty("secondenemy", _visible , false);
setProperty("daphne", _visible , false);
_root.secondenemy.gotoAndStop("off");
_root.enemy.gotoAndStop("off");
_root.projectile.gotoAndStop("off");
_root.boss.gotoAndStop("off");
_quality = "medium";
gotoAndPlay(_currentframe + 1);
Frame 92
Floorelements();
gotoAndPlay(_currentframe + 1);
Frame 93
stop();
Frame 97
_root.scroll();
_root.move();
mRunTimer();
Frame 98
gotoAndPlay (97);
Frame 102
mAddBonusScore();
Frame 103
gotoAndPlay(_currentframe - 1);
Frame 120
pLevelTimer = 180;
gotoAndPlay (121);
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_type[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
_root.guy_type[1] = 2;
_root.guy_type[8] = 2;
_root.guy_type[10] = 3;
_root.guy_type[16] = 3;
}
_root.pNearElevator = 0;
_root.pTouchingElevator = 0;
_root.pWalkToElevator = 0;
_root.pItemCollected = 0;
_root.daphne_attackdone = 1;
_root.daphne_attack = "none";
_root.daphne_alive = 1;
_root.daphne_hit = 0;
_root.daphne_attack_strength = 0;
_root.daphne_moving = 0;
_root.daphne_duck = 0;
_root.jumpdir = "still";
_root.basespeed = 2;
_root.speed = 6;
_root.level = 3;
_root.level_direction = 1;
_root.daphne_jump = 0;
_root.dir = "right";
_root.stopright = 0;
_root.stopleft = 0;
_root.floorlength = 5000;
_root.daphne_floorposition = 160;
_root.boss_x = 4600;
_root.boss_currentx = 4600;
_root.boss_alive = 1;
_root.boss_displayed = 0;
_root.guysonlevel = 20;
_root.guy_type = new Array();
_root.guy_x = new Array();
_root.guy_alive = new Array();
_root.guy_displayed = new Array();
_root.guy_currentx = new Array();
_root.guy_x[1] = 1000;
_root.guy_x[2] = 1200;
_root.guy_x[3] = 1500;
_root.guy_x[4] = 1700;
_root.guy_x[5] = 1900;
_root.guy_x[6] = 2200;
_root.guy_x[7] = 2300;
_root.guy_x[8] = 2600;
_root.guy_x[9] = 2800;
_root.guy_x[10] = 2900;
_root.guy_x[11] = 3000;
_root.guy_x[12] = 3200;
_root.guy_x[13] = 3400;
_root.guy_x[14] = 3600;
_root.guy_x[15] = 3800;
_root.guy_x[16] = 3900;
_root.guy_x[17] = 4100;
_root.guy_x[18] = 4300;
_root.guy_x[19] = 4400;
_root.guy_x[20] = 4500;
enemysetup();
gotoAndPlay(_currentframe + 1);
Instance of Symbol 703 MovieClip "boss" in Frame 120
onClipEvent (load) {
Pstrength = 90;
}
Frame 121
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
}
_root.elementsonlevel = 16;
_root.element_x = new Array();
_root.element_displayed = new Array();
_root.element_type = new Array();
_root.element_currentx = new Array();
_root.element_x[1] = 200;
_root.element_type[1] = "leftwall";
_root.element_x[2] = 400;
_root.element_type[2] = "elevatorfrom";
_root.element_x[3] = 1200;
_root.element_type[3] = "door";
_root.element_x[4] = 1700;
_root.element_type[4] = "door";
_root.element_x[5] = 1900;
_root.element_type[5] = "ceilingtile";
_root.element_x[6] = 2050;
_root.element_type[6] = "door";
_root.element_x[7] = 2150;
_root.element_type[7] = "ceilingtile";
_root.element_x[8] = 2300;
_root.element_type[8] = "ceilingtile";
_root.element_x[9] = 2400;
_root.element_type[9] = "ceilingtile";
_root.element_x[10] = 2600;
_root.element_type[10] = "door";
_root.element_x[11] = 2900;
_root.element_type[11] = "ceilingtile";
_root.element_x[12] = 3000;
_root.element_type[12] = "ceilingtile";
_root.element_x[13] = 3100;
_root.element_type[13] = "door";
_root.element_x[14] = 3500;
_root.element_type[14] = "ceilingtile";
_root.element_x[15] = 4900;
_root.element_type[15] = "elevatorto";
_root.element_x[16] = 5270;
_root.element_type[16] = "rightwall";
enemysetup();
gotoAndPlay(_currentframe + 1);
Instance of Symbol 491 MovieClip "1element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "2element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "3element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "4element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "5element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "6element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "7element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "8element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "9element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "10element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "11element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "12element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "13element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "14element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "15element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "16element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "17element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "18element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "19element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "20element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "21element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "22element" in Frame 122
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 551 MovieClip "daphne" in Frame 122
onClipEvent (load) {
setProperty("this", _visible , "false");
}
Frame 123
setProperty("enemy", _visible , false);
setProperty("secondenemy", _visible , false);
setProperty("boss", _visible , false);
setProperty("daphne", _visible , false);
_root.secondenemy.gotoAndStop("off");
_root.enemy.gotoAndStop("off");
_root.projectile.gotoAndStop("off");
_root.boss.gotoAndStop("off");
_quality = "medium";
gotoAndPlay(_currentframe + 1);
Instance of Symbol 262 MovieClip "enemy" in Frame 123
onClipEvent (load) {
guystrength = 7;
guynum = parseInt(_name);
this.gotoAndStop(off);
}
Instance of Symbol 181 MovieClip "secondenemy" in Frame 123
onClipEvent (load) {
if (_root.daphne._x < this._x) {
pDirection = -1;
setProperty(this, _xscale , -70);
} else {
pDirection = 1;
}
guystrength = 5;
guynum = parseInt(_name);
}
Frame 125
Floorelements();
gotoAndPlay(_currentframe + 1);
Frame 126
stop();
Frame 130
_root.scroll();
_root.move();
mRunTimer();
Frame 131
gotoAndPlay (130);
Frame 135
mAddBonusScore();
Frame 136
gotoAndPlay(_currentframe - 1);
Frame 151
pLevelTimer = 210;
gotoAndPlay (153);
Instance of Symbol 181 MovieClip "enemy" in Frame 152
onClipEvent (load) {
if (_root.daphne._x < this._x) {
pDirection = -1;
setProperty(this, _xscale , -70);
} else {
pDirection = 1;
}
guystrength = 18;
guynum = parseInt(_name);
}
Instance of Symbol 262 MovieClip "secondenemy" in Frame 152
onClipEvent (load) {
guystrength = 7;
guynum = parseInt(_name);
this.gotoAndStop(off);
}
Instance of Symbol 745 MovieClip "boss" in Frame 152
onClipEvent (load) {
Pstrength = 160;
}
Instance of Symbol 746 MovieClip "projectile" in Frame 152
/* no clip actions */
Frame 153
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_type[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
_root.guy_type[1] = 2;
_root.guy_type[8] = 2;
_root.guy_type[10] = 2;
_root.guy_type[16] = 2;
}
_root.pNearElevator = 0;
_root.pTouchingElevator = 0;
_root.pWalkToElevator = 0;
_root.pItemCollected = 0;
_root.daphne_attackdone = 1;
_root.daphne_alive = 1;
_root.daphne_attack = "none";
_root.daphne_hit = 0;
_root.daphne_attack_strength = 0;
_root.daphne_moving = 0;
_root.daphne_duck = 0;
_root.jumpdir = "still";
_root.basespeed = 2;
_root.speed = 6;
_root.daphne_jump = 0;
_root.level_direction = -1;
_root.dir = "left";
_root.stopright = 0;
_root.stopleft = 0;
_root.floorlength = 6600;
_root.daphne_floorposition = 6220;
_root.boss_x = 600;
_root.boss_currentx = 600;
_root.boss_alive = 1;
_root.boss_displayed = 0;
_root.guysonlevel = 23;
_root.guy_x = new Array();
_root.guy_alive = new Array();
_root.guy_displayed = new Array();
_root.guy_type = new Array();
_root.guy_currentx = new Array();
_root.guy_x[1] = 5500;
_root.guy_x[2] = 5100;
_root.guy_x[3] = 4900;
_root.guy_x[4] = 4800;
_root.guy_x[5] = 4600;
_root.guy_x[6] = 4500;
_root.guy_x[7] = 3850;
_root.guy_x[8] = 3700;
_root.guy_x[9] = 3600;
_root.guy_x[10] = 3300;
_root.guy_x[11] = 3250;
_root.guy_x[12] = 2950;
_root.guy_x[13] = 2800;
_root.guy_x[14] = 2700;
_root.guy_x[15] = 2450;
_root.guy_x[16] = 2400;
_root.guy_x[17] = 2200;
_root.guy_x[18] = 2000;
_root.guy_x[19] = 1800;
_root.guy_x[20] = 1500;
_root.guy_x[21] = 1300;
_root.guy_x[22] = 1100;
_root.guy_x[23] = 900;
enemysetup();
gotoAndPlay(_currentframe + 1);
Frame 154
function enemysetup() {
guy = 1;
while (guy < (_root.guysonlevel + 1)) {
_root.guy_alive[guy] = 1;
_root.guy_currentx[guy] = _root.guy_x[guy];
_root.guy_displayed[guy] = 0;
guy = guy + 1;
}
}
function swapwall() {
setProperty(_root.wall, _x , _root.wall._x + _root.wallspeed);
if (-10 < _root.wall._x) {
_root.wall._x = _root.wall._x - 130;
} else if (_root.wall._x < -140) {
_root.wall._x = _root.wall._x + 130;
}
}
_root.elementsonlevel = 20;
_root.element_x = new Array();
_root.element_displayed = new Array();
_root.element_type = new Array();
_root.element_currentx = new Array();
_root.element_x[1] = 200;
_root.element_type[1] = "leftwall";
_root.element_x[2] = 400;
_root.element_type[2] = "elevatorto";
_root.element_x[3] = 1200;
_root.element_type[3] = "door";
_root.element_x[4] = 1700;
_root.element_type[4] = "ceilingtile";
_root.element_x[5] = 1900;
_root.element_type[5] = "ceilingtile";
_root.element_x[6] = 2050;
_root.element_type[6] = "opendoor";
_root.element_x[7] = 3200;
_root.element_type[7] = "spider";
_root.element_x[8] = 3500;
_root.element_type[8] = "spider";
_root.element_x[9] = 4000;
_root.element_type[9] = "spider";
_root.element_x[10] = 4200;
_root.element_type[10] = "opendoor";
_root.element_x[11] = 4300;
_root.element_type[11] = "spider";
_root.element_x[12] = 4600;
_root.element_type[12] = "ceilingtile";
_root.element_x[13] = 5000;
_root.element_type[13] = "food1";
_root.element_x[14] = 5200;
_root.element_type[14] = "ceilingtile";
_root.element_x[15] = 5500;
_root.element_type[15] = "door";
_root.element_x[16] = 5700;
_root.element_type[16] = "ceilingtile";
_root.element_x[17] = 5900;
_root.element_type[17] = "door";
_root.element_x[18] = 6100;
_root.element_type[18] = "spider";
_root.element_x[19] = 6450;
_root.element_type[19] = "elevatorfrom";
_root.element_x[20] = 6850;
_root.element_type[20] = "rightwall";
enemysetup();
gotoAndPlay(_currentframe + 3);
Instance of Symbol 491 MovieClip "1element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "2element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "3element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "4element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "5element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "6element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "7element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "8element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "9element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
this.gotoAndStop(_root.element_type[elnum]);
}
Instance of Symbol 491 MovieClip "10element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "11element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "12element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "13element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "14element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "15element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "16element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "17element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "18element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "19element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "20element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "21element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 491 MovieClip "22element" in Frame 156
onClipEvent (load) {
elnum = parseInt(_name);
}
Instance of Symbol 551 MovieClip "daphne" in Frame 156
onClipEvent (load) {
setProperty("this", _visible , "false");
}
Frame 157
setProperty("enemy", _visible , false);
setProperty("boss", _visible , false);
setProperty("daphne", _visible , false);
setProperty("secondenemy", _visible , false);
_root.secondenemy.gotoAndStop("off");
_root.enemy.gotoAndStop("off");
_root.projectile.gotoAndStop("off");
_root.boss.gotoAndStop("off");
_quality = "medium";
gotoAndPlay(_currentframe + 1);
Frame 158
Floorelements();
gotoAndPlay(_currentframe + 1);
Frame 159
stop();
Frame 163
_root.scroll();
_root.move();
mRunTimer();
Frame 164
gotoAndPlay (163);
Frame 167
mAddBonusScore();
Frame 168
gotoAndPlay(_currentframe - 1);
Frame 169
gotoAndStop (189);
Frame 189
Set("/:gScore", _root.gameScore);
Set("/:gLevel", _root.pgameLevel);
tellTarget ("/hs_scripts") {
call("mGameOver");
};
_quality = "high";
Symbol 4 MovieClip Frame 1
loadMovie (/:gHSRoot_swf add "HSScripts.swf", "");
Symbol 4 MovieClip Frame 4
stop();
Symbol 8 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Symbol 9 Button
on (release) {
Set("/:gDebug", "");
}
Symbol 10 MovieClip Frame 1
Symbol 10 MovieClip Frame 5
stop();
Symbol 17 Button
on (release) {
gotoAndStop (19);
}
Symbol 55 Button
on (release) {
_root.mAdvanceLevel(1);
}
Symbol 66 MovieClip Frame 1
gotoAndStop(_root.pDeathReason);
Symbol 72 Button
on (release) {
mAdvanceLevel(0);
}
Symbol 76 MovieClip Frame 1
_visible = 0;
Symbol 76 MovieClip Frame 5
stop();
Symbol 85 Button
on (release) {
gotoAndPlay (13);
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
function mMoveIfNotAtSamePointAsPreviousEnemy(dir) {
if (dir eq 1) {
if (_root.guy_displayed[_parent.guynum] eq 1) {
pPreviousGuy = _parent.guynum - 1;
if (((_root.guy_alive[pPreviousGuy] eq 0) or (_root.guy_displayed[pPreviousGuy] != 1)) or ((_root.guy_currentx[pPreviousGuy] + 30) < _parent._x)) {
newpos = _parent._x + (pSpeed * _parent.pDirection);
setProperty(_parent, _x , newpos);
}
}
} else if (dir eq -1) {
if (_root.guy_displayed[_parent.guynum] eq 1) {
pPreviousGuy = _parent.guynum - 1;
if (((_root.guy_alive[pPreviousGuy] eq 0) or (_root.guy_displayed[pPreviousGuy] != 1)) or (_parent._x < (_root.guy_currentx[pPreviousGuy] - 30))) {
newpos = _parent._x + (pSpeed * _parent.pDirection);
setProperty(_parent, _x , newpos);
}
}
}
}
if (this.hitTest(_root.daphne)) {
pSpeed = 0;
} else {
pSpeed = 4;
}
Symbol 135 MovieClip Frame 3
mMoveIfNotAtSamePointAsPreviousEnemy(_root.level_direction);
Symbol 135 MovieClip Frame 5
mMoveIfNotAtSamePointAsPreviousEnemy(_root.level_direction);
Symbol 135 MovieClip Frame 7
mMoveIfNotAtSamePointAsPreviousEnemy(_root.level_direction);
Symbol 135 MovieClip Frame 9
mMoveIfNotAtSamePointAsPreviousEnemy(_root.level_direction);
Symbol 181 MovieClip Frame 1
function mHitTest() {
if (this.hitTest(_root.daphne) && (_root.daphne_attackdone eq 0)) {
if (this.hitzone.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
if (_root.daphne_attack eq "low") {
this.gotoAndPlay("hitlow");
} else if (_root.daphne_attack eq "mid") {
this.gotoAndPlay("hithigh");
} else if (_root.daphne_attack eq "high") {
this.gotoAndPlay("hithigh");
}
}
}
}
}
function mHitTestSpear() {
if (spear.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
_root.daphne_hit = 1;
_root.daphne.actions.direction.gotoAndPlay("hithigh");
}
}
function mHitTestGetHitElseAttack() {
_root.pCeilingTileFall;
if (0 < _root.pCeilingTileFall) {
thisX = _x;
tileX = eval (("_root." + _root.pCeilingTileFall) + "element._x");
if (((tileX - 10) < thisX) && (thisX < (tileX + 10))) {
this.gotoAndPlay("die");
}
}
if (this.hitTest(_root.daphne)) {
if ((_root.daphne_attackdone eq 0) && (_root.daphne_alive eq 1)) {
this.gotoAndPlay("hit");
} else if (_root.daphne_attackdone eq 1) {
gotoAndPlay (112);
}
}
}
function mHitDaphne() {
if (this.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
if ((0 < pDirection) && ((_x - _root.daphne._x) < 100)) {
_root.daphne_hit = 1;
_root.daphne.actions.direction.gotoAndPlay("hitlow");
} else if ((pDirection < 0) && ((_root.daphne._x - _x) < 100)) {
}
}
}
function mResetGuyx() {
if (_root.guy_displayed[guynum] eq 1) {
if (thisguy_direction eq -1) {
if (_root.daphne_alive eq 1) {
if (this._x < (_root.daphne._x + 20)) {
_root.daphne_hit = 0;
_root.daphne_moving = 0;
_root.stopright = 1;
newpos = this._x + 30;
setProperty(this, _x , newpos);
}
}
} else if (thisguy_direction eq 1) {
if (_root.daphne_alive eq 1) {
if ((_root.daphne._x - 20) < this._x) {
_root.daphne_hit = 0;
_root.daphne_moving = 0;
_root.stopleft = 1;
newpos = this._x - 30;
setProperty(this, _x , newpos);
}
}
}
}
}
thisguy_direction = pDirection;
Symbol 181 MovieClip Frame 3
mHitTest();
Symbol 181 MovieClip Frame 5
mResetGuyx();
Symbol 181 MovieClip Frame 9
if (this.hitTest(_root.daphne)) {
gotoAndPlay (112);
} else {
_root.stopright = 0;
}
Symbol 181 MovieClip Frame 11
mResetGuyx();
Symbol 181 MovieClip Frame 13
mHitTest();
if (this.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
this.gotoAndPlay("attack");
}
Symbol 181 MovieClip Frame 17
mResetGuyx();
Symbol 181 MovieClip Frame 20
mHitTestGetHitElseAttack();
Symbol 181 MovieClip Frame 22
mHitTest();
Symbol 181 MovieClip Frame 27
mResetGuyx();
Symbol 181 MovieClip Frame 29
if (this.hitTest(_root.daphne)) {
if (this.hitzone.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
if (_root.daphne_attack eq "low") {
this.gotoAndPlay("hitlow");
} else if (_root.daphne_attack eq "mid") {
this.gotoAndPlay("hithigh");
} else if (_root.daphne_attack eq "high") {
this.gotoAndPlay("hithigh");
}
}
}
} else {
gotoAndPlay (2);
}
Symbol 181 MovieClip Frame 33
if (this.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
this.gotoAndPlay("attack");
}
Symbol 181 MovieClip Frame 35
mResetGuyx();
Symbol 181 MovieClip Frame 43
mResetGuyx();
Symbol 181 MovieClip Frame 46
gotoAndPlay (1);
Symbol 181 MovieClip Frame 51
if (this.hitTest(_root.daphne)) {
if (this.hitzone.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
if (_root.daphne_attack eq "low") {
this.gotoAndPlay("hitlow");
} else if (_root.daphne_attack eq "mid") {
this.gotoAndPlay("hithigh");
} else if (_root.daphne_attack eq "high") {
this.gotoAndPlay("hithigh");
}
}
}
} else {
gotoAndPlay (2);
}
Symbol 181 MovieClip Frame 52
mResetGuyx();
Symbol 181 MovieClip Frame 53
mResetGuyx();
Symbol 181 MovieClip Frame 59
mHitTest();
Symbol 181 MovieClip Frame 69
newpos = _x + 4;
guystrength = guystrength - _root.daphne_attack_strength;
_root.mScoring(_root.phitenemyPoints * _root.pBaseScoringFactor);
Symbol 181 MovieClip Frame 70
mResetGuyx();
if (guystrength < 1) {
gotoAndPlay (170);
}
setProperty(this, _x , newpos);
Symbol 181 MovieClip Frame 76
mResetGuyx();
Symbol 181 MovieClip Frame 79
mHitTest();
Symbol 181 MovieClip Frame 80
mResetGuyx();
Symbol 181 MovieClip Frame 83
gotoAndPlay (2);
Symbol 181 MovieClip Frame 85
newpos = _x + 4;
setProperty(this, _x , newpos);
_root.mScoring(_root.phitenemyPoints * _root.pBaseScoringFactor);
Symbol 181 MovieClip Frame 86
guystrength = guystrength - _root.daphne_attack_strength;
if (guystrength < 1) {
gotoAndPlay (170);
}
Symbol 181 MovieClip Frame 87
mResetGuyx();
Symbol 181 MovieClip Frame 90
mResetGuyx();
Symbol 181 MovieClip Frame 94
mResetGuyx();
Symbol 181 MovieClip Frame 95
gotoAndPlay (2);
Symbol 181 MovieClip Frame 97
newpos = _x + 5;
setProperty(this, _x , newpos);
_root.mScoring(_root.phitenemyPoints * _root.pBaseScoringFactor);
Symbol 181 MovieClip Frame 98
guystrength = guystrength - _root.daphne_attack_strength;
if (guystrength < 1) {
gotoAndPlay (170);
}
Symbol 181 MovieClip Frame 102
mResetGuyx();
Symbol 181 MovieClip Frame 110
gotoAndPlay (2);
Symbol 181 MovieClip Frame 112
trace("attack");
Prand = random(3) + 1;
if (2 < Prand) {
gotoAndPlay (1);
} else {
play();
}
Symbol 181 MovieClip Frame 113
mResetGuyx();
Symbol 181 MovieClip Frame 119
mHitTest();
Symbol 181 MovieClip Frame 123
mResetGuyx();
Symbol 181 MovieClip Frame 125
mHitTestSpear();
mHitTest();
Symbol 181 MovieClip Frame 131
mResetGuyx();
Symbol 181 MovieClip Frame 133
gotoAndPlay (2);
Symbol 181 MovieClip Frame 136
mHitTest();
Symbol 181 MovieClip Frame 142
mResetGuyx();
Symbol 181 MovieClip Frame 144
mHitTestSpear();
mHitTest();
Symbol 181 MovieClip Frame 155
gotoAndPlay (2);
Symbol 181 MovieClip Frame 170
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.stopright = 0;
_root.stopleft = 0;
newpos = _x + 2;
setProperty(this, _x , newpos);
_root.mScoring(_root.pKillEnemyPoints * _root.pBaseScoringFactor);
Symbol 181 MovieClip Frame 206
pRand = random(300);
if (((pRand < 30) && (_root.boss_alive eq 1)) && (_root.change_foot eq 1)) {
_root.dialogue = "These boots were made for kicking ass! ";
_root.dialoguetext.gotoAndPlay(2);
}
Symbol 181 MovieClip Frame 209
_root.guy_alive[guynum] = 0;
_root.pTotalNumberOfGuysDisplayed = _root.pTotalNumberOfGuysDisplayed - 1;
removeMovieClip("");
Symbol 181 MovieClip Frame 211
removeMovieClip("");
stop();
Symbol 181 MovieClip Frame 216
stop();
Symbol 181 MovieClip Frame 218
stop();
Symbol 262 MovieClip Frame 1
function mHitTest() {
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_attackdone eq 0) {
this.gotoAndPlay("hit");
}
}
}
function mHitTestGetHitElseAttack() {
if (0 < _root.pCeilingTileFall) {
thisX = _x;
tileX = eval ((("_root." + _root.pCeilingTileFall) + "element") + "._x");
if (((tileX - 10) < thisX) && (thisX < (tileX + 10))) {
this.gotoAndPlay("die");
}
}
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_attackdone eq 0) {
this.gotoAndPlay("hit");
} else if (_root.daphne_attackdone eq 1) {
gotoAndPlay (111);
}
}
}
function mHitDaphne() {
if (0 < _root.pCeilingTileFall) {
thisX = _x;
tileX = eval (("_root." + _root.pCeilingTileFall) + "element._x");
if (((tileX - 10) < thisX) && (thisX < (tileX + 10))) {
this.gotoAndPlay("die");
}
} else if (this.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
_root.daphne.actions.direction.gotoAndPlay("hitlow");
}
}
function mMoveOver() {
if (_root.daphne_alive) {
if (_root.level_direction eq 1) {
if (this._x < (_root.daphne._x + 20)) {
_root.daphne.actions.direction.gotoAndPlay("stand");
this.gotoAndPlay("catchup");
} else {
_root.stopright = 0;
}
} else if (_root.level_direction eq -1) {
if ((_root.daphne._x - 20) < this._x) {
_root.daphne.actions.direction.gotoAndPlay("stand");
this.gotoAndPlay("catchup");
} else {
_root.stopright = 0;
}
}
}
}
me = _root.guy_alive[guynum];
Symbol 262 MovieClip Frame 13
gotoAndPlay (32);
Symbol 262 MovieClip Frame 16
if (this.hitTest(_root.daphne)) {
gotoAndPlay (111);
} else {
_root.stopright = 0;
newpos = _x - (3 * _root.level_direction);
setProperty(this, _x , newpos);
}
Symbol 262 MovieClip Frame 17
mMoveOver();
Symbol 262 MovieClip Frame 21
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 23
mMoveOver();
Symbol 262 MovieClip Frame 28
Prand = random(7) + 1;
if (Prand < 4) {
gotoAndPlay (32);
} else {
gotoAndPlay (16);
}
Symbol 262 MovieClip Frame 32
newpos = _x - (60 * _root.level_direction);
setProperty(this, _x , newpos);
Symbol 262 MovieClip Frame 48
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 53
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 62
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 69
gotoAndPlay (16);
Symbol 262 MovieClip Frame 72
gotoAndPlay (16);
Symbol 262 MovieClip Frame 76
newpos = _x + 4;
setProperty(this, _x , newpos);
_root.mScoring(_root.phitenemyPoints * _root.pBaseScoringFactor);
Symbol 262 MovieClip Frame 77
guystrength = guystrength - _root.daphne_attack_strength;
if (guystrength < 1) {
gotoAndPlay (149);
}
Symbol 262 MovieClip Frame 84
mMoveOver();
Symbol 262 MovieClip Frame 85
if (this.hitTest(_root.daphne)) {
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_attackdone eq 0) {
this.gotoAndPlay("hit");
}
}
} else {
gotoAndPlay (16);
}
Symbol 262 MovieClip Frame 88
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 89
gotoAndPlay (16);
Symbol 262 MovieClip Frame 97
newpos = this._x + (20 * _root.level_direction);
setProperty(this, _x , newpos);
Symbol 262 MovieClip Frame 98
newpos = this._x + (20 * _root.level_direction);
setProperty(this, _x , newpos);
Symbol 262 MovieClip Frame 99
newpos = this._x + (20 * _root.level_direction);
setProperty(this, _x , newpos);
Symbol 262 MovieClip Frame 100
newpos = this._x + (20 * _root.level_direction);
setProperty(this, _x , newpos);
Symbol 262 MovieClip Frame 103
if (_root.level_direction eq 1) {
if (this._x < (_root.daphne._x + 50)) {
this.gotoAndPlay("catchup");
} else {
this.gotoAndPlay("walk");
}
} else if ((_root.daphne._x - 50) < this._x) {
this.gotoAndPlay("catchup");
} else {
this.gotoAndPlay("walk");
}
Symbol 262 MovieClip Frame 105
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 107
gotoAndPlay (111);
Symbol 262 MovieClip Frame 115
mHitDaphne();
Symbol 262 MovieClip Frame 123
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 138
mHitTestGetHitElseAttack();
Symbol 262 MovieClip Frame 141
_root.daphne_duck = 0;
_root.daphne_jump = 0;
_root.daphne_hit = 0;
_root.daphne_attackdone = 1;
_root.stopright = 0;
Symbol 262 MovieClip Frame 142
gotoAndPlay (16);
Symbol 262 MovieClip Frame 144
mMoveOver();
Symbol 262 MovieClip Frame 149
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.stopright = 0;
_root.stopleft = 0;
newpos = _x + 2;
setProperty(this, _x , newpos);
_root.mScoring(_root.pKillEnemyPoints * _root.pBaseScoringFactor);
Symbol 262 MovieClip Frame 199
_root.guy_alive[guynum] = 0;
_root.pTotalNumberOfGuysDisplayed = _root.pTotalNumberOfGuysDisplayed - 1;
Symbol 262 MovieClip Frame 203
removeMovieClip("");
stop();
Symbol 262 MovieClip Frame 208
stop();
Symbol 262 MovieClip Frame 210
stop();
Symbol 275 MovieClip Frame 1
play();
Symbol 275 MovieClip Frame 143
gotoAndPlay (1);
Symbol 304 MovieClip Frame 1
function mOffsetDaphne() {
if (this._x < (_root.daphne._x + 30)) {
pOffset = (_root.daphne._x - this._x) + 32;
_root.mMoveDaphnePosition(pOffset);
}
}
function mHitTest() {
if (this.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
_root.mMoveDaphnePosition(10);
_root.daphne_hit = 1;
_root.daphne.actions.direction.gotoAndPlay("hitlow");
}
}
function mHitTestGetHitElseAttack() {
if (this.hitzone.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
this.gotoAndPlay("hit");
} else if (_root.daphne_attackdone eq 1) {
gotoAndPlay (57);
}
}
}
function mHitDaphne() {
if (this.hitzone.hitTest(_root.daphne) && (_root.daphne_alive)) {
if ((0 < pDirection) && ((_x - _root.daphne._x) < 150)) {
_root.daphne_hit = 1;
_root.daphne.actions.direction.gotoAndPlay("hitlow");
_root.mMoveDaphnePosition(40);
}
}
}
Symbol 304 MovieClip Frame 2
if (this.hitTest(_root.daphne)) {
this.gotoAndPlay("attack");
}
Symbol 304 MovieClip Frame 4
mOffsetDaphne();
Symbol 304 MovieClip Frame 7
mOffsetDaphne();
Symbol 304 MovieClip Frame 10
mOffsetDaphne();
Symbol 304 MovieClip Frame 11
gotoAndPlay (1);
Symbol 304 MovieClip Frame 14
Pstrength = Pstrength - _root.daphne_attack_strength;
_root.bosshealth.gotoAndStop(Pstrength);
_root.mScoring(_root.pHitBossPoints * _root.pBaseScoringFactor);
if (Pstrength < 1) {
gotoAndPlay (139);
}
Symbol 304 MovieClip Frame 18
mOffsetDaphne();
Symbol 304 MovieClip Frame 27
mOffsetDaphne();
Symbol 304 MovieClip Frame 33
mOffsetDaphne();
Symbol 304 MovieClip Frame 44
if (this.hitzone.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
_root.daphne_attackdone = 1;
this.gotoAndPlay("hit");
}
}
Symbol 304 MovieClip Frame 47
mOffsetDaphne();
Symbol 304 MovieClip Frame 55
mOffsetDaphne();
Symbol 304 MovieClip Frame 56
gotoAndPlay (1);
Symbol 304 MovieClip Frame 64
mOffsetDaphne();
Symbol 304 MovieClip Frame 71
mOffsetDaphne();
Symbol 304 MovieClip Frame 73
mHitTest();
Symbol 304 MovieClip Frame 77
mOffsetDaphne();
Symbol 304 MovieClip Frame 86
mOffsetDaphne();
Symbol 304 MovieClip Frame 93
mHitTestGetHitElseAttack();
Symbol 304 MovieClip Frame 103
mOffsetDaphne();
Symbol 304 MovieClip Frame 104
mHitTestGetHitElseAttack();
Symbol 304 MovieClip Frame 116
mOffsetDaphne();
Symbol 304 MovieClip Frame 120
if (this.hitzone.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
this.gotoAndPlay("hit");
}
}
Symbol 304 MovieClip Frame 123
mOffsetDaphne();
Symbol 304 MovieClip Frame 133
mOffsetDaphne();
Symbol 304 MovieClip Frame 134
gotoAndPlay (1);
Symbol 304 MovieClip Frame 139
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.stopright = 0;
_root.boss_alive = 0;
_root.mScoring(_root.pKillBossPoints * _root.pBaseScoringFactor);
Symbol 304 MovieClip Frame 142
_root.boss_alive = 0;
Instance of Symbol 301 MovieClip "headband" in Symbol 304 MovieClip Frame 151
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne)) {
_root.change_hair = 1;
_parent.gotoAndStop("takeheadband");
}
}
Symbol 304 MovieClip Frame 152
_root.daphne.text.play();
Symbol 304 MovieClip Frame 164
gotoAndPlay(_currentframe - 1);
Symbol 304 MovieClip Frame 168
_root.daphne.actions.direction.gotoAndPlay("pickupitem");
_root.pItemCollected = 1;
_root.daphne.text.gotoAndPlay("turnoff");
_root.stopright = 0;
_root.stopleft = 0;
Symbol 304 MovieClip Frame 171
stop();
Symbol 304 MovieClip Frame 177
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 14
gotoAndStop (1);
Symbol 328 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 85
gotoAndStop (1);
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 48
_root.mNoHealth();
Symbol 338 MovieClip Frame 1
_visible = 0;
loadMovie (/:gHSRoot_swf add "HSMinScore.swf", "");
Symbol 338 MovieClip Frame 4
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 59
_root.play();
Symbol 358 MovieClip Frame 1
if (_root.change_lowerleg eq 1) {
nextFrame();
} else {
stop();
}
Symbol 360 MovieClip Frame 1
if (_root.change_foot eq 1) {
nextFrame();
} else {
stop();
}
Symbol 362 MovieClip Frame 1
if (_root.change_upperleg eq 1) {
nextFrame();
} else {
stop();
}
Symbol 364 MovieClip Frame 1
if (_root.change_lowerleg eq 1) {
nextFrame();
} else {
stop();
}
Symbol 366 MovieClip Frame 1
if (_root.change_foot eq 1) {
nextFrame();
} else {
stop();
}
Symbol 368 MovieClip Frame 1
if (_root.change_upperleg eq 1) {
nextFrame();
} else {
stop();
}
Symbol 370 MovieClip Frame 1
if (_root.change_upperarm eq 1) {
nextFrame();
} else {
stop();
}
Symbol 373 MovieClip Frame 1
if (_root.change_waist eq 1) {
nextFrame();
} else {
stop();
}
Symbol 375 MovieClip Frame 1
if (_root.change_skirt eq 1) {
nextFrame();
} else {
stop();
}
Symbol 377 MovieClip Frame 1
if (_root.change_torso eq 1) {
nextFrame();
} else {
stop();
}
Symbol 379 MovieClip Frame 1
if (_root.change_neck eq 1) {
nextFrame();
} else {
stop();
}
Symbol 382 MovieClip Frame 1
if (_root.change_upperarm eq 1) {
nextFrame();
} else {
stop();
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 1
if (_root.change_hair eq 1) {
nextFrame();
} else {
stop();
}
Symbol 400 MovieClip Frame 1
_root.daphne_walking = 1;
Symbol 400 MovieClip Frame 10
gotoAndPlay (1);
Symbol 414 MovieClip Frame 5
if (this.hitTest(_root.daphne)) {
_parent.play();
}
Symbol 429 MovieClip Frame 1
stop();
Instance of Symbol 414 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Symbol 429 MovieClip Frame 2
if (_root.pTotalNumberOfGuysDisplayed < 3) {
play();
} else {
gotoAndStop (1);
}
Instance of Symbol 414 MovieClip in Symbol 429 MovieClip Frame 5
onClipEvent (enterFrame) {
}
Symbol 429 MovieClip Frame 23
pThisX = (("_root." + elnum) + "element") + "._x";
trace("1...........pThisX" + pThisX);
pThisX = eval (pThisX);
trace("2.......pThisX" + pThisX);
pThisX = pThisX + 75;
_root.mAddenemy(pThisX);
Instance of Symbol 414 MovieClip in Symbol 429 MovieClip Frame 24
onClipEvent (enterFrame) {
}
Symbol 429 MovieClip Frame 136
gotoAndStop (1);
Symbol 454 MovieClip Frame 3
if (this.hitTest(_root.daphne.actions)) {
trace("getting hit");
if (_root.daphne_attackdone eq 0) {
_parent.gotoAndPlay("drop to floor");
} else {
_root.daphne.actions.direction.gotoAndPlay("hitbyspider");
if (_root.dir eq "right") {
_root.mMoveDaphnePosition(15);
} else {
_root.mMoveDaphnePosition(-15);
}
}
}
Symbol 454 MovieClip Frame 7
if (this.hitTest(_root.daphne.actions)) {
trace("getting hit");
if (_root.daphne_attackdone eq 0) {
_parent.gotoAndPlay("drop to floor");
} else {
_root.daphne.actions.direction.gotoAndPlay("hitbyspider");
if (_root.dir eq "right") {
_root.mMoveDaphnePosition(15);
} else {
_root.mMoveDaphnePosition(-15);
}
}
}
Symbol 456 MovieClip Frame 3
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_land eq 1) {
_parent.gotoAndPlay("die");
}
}
Symbol 456 MovieClip Frame 6
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_land eq 1) {
_parent.gotoAndPlay("die");
}
}
Symbol 456 MovieClip Frame 9
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_land eq 1) {
_parent.gotoAndPlay("die");
}
}
Symbol 456 MovieClip Frame 12
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_land eq 1) {
_parent.gotoAndPlay("die");
}
}
Symbol 456 MovieClip Frame 15
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_land eq 1) {
_parent.gotoAndPlay("die");
}
}
Symbol 456 MovieClip Frame 18
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_land eq 1) {
_parent.gotoAndPlay("die");
}
}
Symbol 456 MovieClip Frame 21
if (this.hitTest(_root.daphne.actions)) {
if (_root.daphne_land eq 1) {
_parent.gotoAndPlay("die");
} else {
_root.daphne.actions.direction.gotoAndPlay("hitbyspider");
}
}
gotoAndPlay (1);
Symbol 457 MovieClip Frame 20
stop();
Symbol 459 MovieClip Frame 54
gotoAndPlay (1);
Symbol 459 MovieClip Frame 127
gotoAndPlay (62);
Symbol 459 MovieClip Frame 137
stop();
Symbol 459 MovieClip Frame 162
stop();
Symbol 490 MovieClip Frame 1
stop();
Instance of Symbol 479 MovieClip "tile" in Symbol 490 MovieClip Frame 39
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne.actions) && (_root.daphne_alive eq 1)) {
_root.daphne.actions.direction.gotoAndPlay("hithigh");
_root.daphne_hit = 1;
}
}
Symbol 490 MovieClip Frame 46
_root.pCeilingTileFall = _parent.elnum;
Symbol 490 MovieClip Frame 59
_root.pCeilingTileFall = 0;
Symbol 490 MovieClip Frame 68
stop();
Symbol 491 MovieClip Frame 2
elnum = parseInt(_name);
gotoAndPlay(_root.element_type[elnum]);
Symbol 491 MovieClip Frame 7
stop();
Symbol 491 MovieClip Frame 27
stop();
Symbol 491 MovieClip Frame 34
play();
Symbol 491 MovieClip Frame 61
if (_root.dir == "left") {
gotoAndPlay (102);
} else {
play();
}
Symbol 491 MovieClip Frame 97
setProperty("_root.daphne", _visible , true);
Symbol 491 MovieClip Frame 100
gotoAndPlay (141);
Symbol 491 MovieClip Frame 137
_root.daphne.actions.gotoAndStop("left");
Symbol 491 MovieClip Frame 138
setProperty("_root.daphne", _visible , true);
Symbol 491 MovieClip Frame 139
gotoAndPlay (141);
Symbol 491 MovieClip Frame 166
_root.readysetgo.gotoAndPlay(2);
Symbol 491 MovieClip Frame 169
stop();
Symbol 491 MovieClip Frame 178
if (((_root.pWalkToElevator eq 1) && (_root.boss_alive eq 0)) && (_root.pItemCollected eq 1)) {
gotoAndPlay (189);
}
play();
Symbol 491 MovieClip Frame 180
if (this.hitTest(_root.daphne)) {
_root.pTouchingElevator = 1;
} else {
_root.pTouchingElevator = 0;
}
Symbol 491 MovieClip Frame 184
if (((_root.pWalkToElevator eq 1) && (_root.boss_alive eq 0)) && (_root.pItemCollected eq 1)) {
gotoAndPlay (189);
}
Symbol 491 MovieClip Frame 186
gotoAndPlay (178);
Symbol 491 MovieClip Frame 189
setProperty("_root.daphne", _visible , false);
_root.stop();
play();
Symbol 491 MovieClip Frame 196
play();
Symbol 491 MovieClip Frame 198
setProperty("_root.daphne", _visible , false);
Symbol 491 MovieClip Frame 223
_root.stop();
Symbol 491 MovieClip Frame 225
trace("bonus" + _root.pgameLevel);
_root.gotoAndPlay("bonus" + _root.pgameLevel);
stop();
Symbol 491 MovieClip Frame 231
stop();
Symbol 491 MovieClip Frame 238
stop();
Symbol 491 MovieClip Frame 240
_root.readysetgo.gotoAndPlay(2);
Instance of Symbol 429 MovieClip in Symbol 491 MovieClip Frame 240
onClipEvent (load) {
this.elnum = _parent.elnum;
}
Symbol 491 MovieClip Frame 245
stop();
Symbol 491 MovieClip Frame 253
stop();
Symbol 491 MovieClip Frame 272
stop();
Symbol 491 MovieClip Frame 285
stop();
Symbol 491 MovieClip Frame 294
stop();
Symbol 491 MovieClip Frame 303
stop();
Symbol 491 MovieClip Frame 313
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 2
stop();
Symbol 500 MovieClip Frame 1
if (_root.change_upperarm eq 1) {
nextFrame();
} else {
stop();
}
Symbol 501 MovieClip Frame 1
kickrand = random(9) + 1;
if (7 < kickrand) {
gotoAndPlay (17);
} else if (4 < kickrand) {
gotoAndPlay (36);
}
Symbol 501 MovieClip Frame 3
_root.daphne_attackdone = 0;
_root.daphne_attack = "high";
_root.daphne_attack_strength = 10;
Symbol 501 MovieClip Frame 8
_root.daphne_attack = "none";
_root.daphne_attack_strength = 0;
Symbol 501 MovieClip Frame 10
_root.daphne_attackdone = 1;
stop();
Symbol 501 MovieClip Frame 17
_root.daphne_attackdone = 0;
_root.daphne_attack = "high";
_root.daphne_attack_strength = 12;
Symbol 501 MovieClip Frame 25
_root.daphne_attack = "none";
_root.daphne_attack_strength = 0;
Symbol 501 MovieClip Frame 27
_root.daphne_attackdone = 1;
stop();
Symbol 501 MovieClip Frame 36
_root.daphne_attackdone = 0;
_root.daphne_attack = "high";
_root.daphne_attack_strength = 11;
Symbol 501 MovieClip Frame 42
_root.daphne_attack = "none";
_root.daphne_attack_strength = 0;
Symbol 501 MovieClip Frame 44
_root.daphne_attackdone = 1;
stop();
Symbol 506 MovieClip Frame 1
if (_root.change_skirt eq 1) {
nextFrame();
} else {
stop();
}
Symbol 509 MovieClip Frame 1
kickrand = random(3) + 1;
if (2 < kickrand) {
gotoAndPlay (19);
}
Symbol 509 MovieClip Frame 3
_root.daphne_attackdone = 0;
_root.daphne_attack = "mid";
_root.daphne_attack_strength = 14;
Symbol 509 MovieClip Frame 17
_root.daphne_attackdone = 1;
stop();
Symbol 509 MovieClip Frame 23
_root.daphne_attackdone = 0;
_root.daphne_attack = "mid";
_root.daphne_attack_strength = 13;
Symbol 509 MovieClip Frame 35
_root.daphne_attackdone = 1;
stop();
Symbol 513 MovieClip Frame 1
if (_root.change_hair eq 1) {
nextFrame();
} else {
stop();
}
Symbol 527 MovieClip Frame 1
if (_root.change_hair eq 1) {
nextFrame();
} else {
stop();
}
Symbol 528 MovieClip Frame 14
_root.daphne_hit = 0;
Symbol 537 MovieClip Frame 1
_root.daphne_attack = "none";
_root.daphne_attack_strength = 0;
Symbol 537 MovieClip Frame 26
_root.daphne_moving = 0;
_root.daphne_hit = 0;
_root.daphne_attackdone = 1;
_root.daphne_duck = 0;
Symbol 537 MovieClip Frame 27
gotoAndPlay (1);
Symbol 537 MovieClip Frame 29
_root.daphne_attack = "none";
_root.daphne_attack_strength = 0;
Symbol 537 MovieClip Frame 33
gotoAndPlay (1);
Symbol 537 MovieClip Frame 43
_root.daphne_attackdone = 1;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 67
_root.daphne_attackdone = 0;
Symbol 537 MovieClip Frame 82
pRand = random(300);
if ((pRand < 30) && (_root.boss_alive eq 1)) {
RandDialogue = int(random(3) + 1);
if (RandDialogue eq 1) {
_root.dialogue = "You've gotta fight for your right to dress well!";
_root.dialoguetext.gotoAndPlay(2);
} else if (RandDialogue eq 2) {
_root.dialogue = "I won’t be caught dead in this shirt.";
_root.dialoguetext.gotoAndPlay(2);
} else if (RandDialogue eq 2) {
_root.dialogue = "Dead Daphnes don't wear plaid.";
_root.dialoguetext.gotoAndPlay(2);
}
}
Symbol 537 MovieClip Frame 84
_root.daphne_attackdone = 1;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 104
stop();
Symbol 537 MovieClip Frame 109
_root.daphne_jump = 1;
_root.daphne_attack = "none";
_root.daphne_attack_strength = 0;
Symbol 537 MovieClip Frame 122
pRand = random(300);
if ((pRand < 20) && (_root.boss_alive eq 1)) {
RandDialogue = int(random(3) + 1);
if (RandDialogue eq 1) {
_root.dialogue = "This skirt is so ‘70s.";
_root.dialoguetext.gotoAndPlay(2);
} else if (RandDialogue eq 2) {
_root.dialogue = "I won’t be caught dead in this shirt.";
_root.dialoguetext.gotoAndPlay(2);
} else if (RandDialogue eq 2) {
_root.dialogue = "Dead Daphnes don't wear plaid.";
_root.dialoguetext.gotoAndPlay(2);
}
}
Symbol 537 MovieClip Frame 124
_root.daphne_jump = 0;
gotoAndPlay (170);
trace(this + " jump done");
Symbol 537 MovieClip Frame 133
_root.daphne_attackdone = 0;
Symbol 537 MovieClip Frame 134
_root.daphne_attack = "high";
_root.daphne_attack_strength = 14;
Symbol 537 MovieClip Frame 140
pRand = random(50);
if ((pRand < 30) && (_root.boss_alive eq 1)) {
_root.dialogue = "Who are you calling a damsel in distress?";
_root.dialoguetext.gotoAndPlay(2);
}
Symbol 537 MovieClip Frame 141
_root.daphne_attack = "none";
_root.daphne_attack_strength = 0;
gotoAndPlay (170);
Symbol 537 MovieClip Frame 146
_root.daphne_attackdone = 0;
_root.daphne_attack = "top";
_root.daphne_attack_strength = 3;
Symbol 537 MovieClip Frame 156
gotoAndPlay (170);
Symbol 537 MovieClip Frame 173
_root.daphne_jump = 0;
_root.daphne_jump = 0;
_root.daphne_duck = 0;
_root.daphne_attackdone = 1;
_root.daphne_moving = 0;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
Symbol 537 MovieClip Frame 174
pRand = random(300);
if ((pRand < 200) && (_root.boss_alive eq 1)) {
_root.dialogue = "Flying kicks can really mess up your hair!";
_root.dialoguetext.gotoAndPlay(2);
}
gotoAndPlay (1);
Symbol 537 MovieClip Frame 182
_root.daphne_duck = 0;
_root.daphne_attackdone = 1;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 185
stop();
Symbol 537 MovieClip Frame 190
_root.daphne_attack = "low";
_root.daphne_attackdone = 0;
_root.daphne_attack_strength = 13;
kickrand = random(5) + 1;
if (3 < kickrand) {
gotoAndPlay (205);
}
Symbol 537 MovieClip Frame 203
_root.daphne_attackdone = 1;
trace(this + " duck kick done");
gotoAndPlay (1);
Symbol 537 MovieClip Frame 206
_root.daphne_attackdone = 0;
_root.daphne_attack = "low";
_root.daphne_attack_strength = 16;
Symbol 537 MovieClip Frame 225
_root.daphne_attackdone = 1;
trace(this + " duck kick done");
gotoAndPlay (1);
Symbol 537 MovieClip Frame 228
_root.daphne_attackdone = 0;
_root.daphne_attack = "low";
_root.daphne_attack_strength = 13;
Symbol 537 MovieClip Frame 232
_root.daphne_attackdone = 1;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 242
_root.daphne_attack_strength = 0;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
_root.health.nextFrame();
Symbol 537 MovieClip Frame 253
_root.daphne_attackdone = 1;
_root.daphne_moving = 0;
_root.daphne_hit = 0;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 255
_root.daphne_attack_strength = 0;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
_root.health.nextFrame();
Symbol 537 MovieClip Frame 264
pRand = random(300);
if ((pRand < 30) && (_root.boss_alive eq 1)) {
_root.dialogue = "I think I broke a nail!";
_root.dialoguetext.gotoAndPlay(2);
}
Symbol 537 MovieClip Frame 267
_root.daphne_attackdone = 1;
_root.daphne_moving = 0;
_root.daphne_hit = 0;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 270
_root.daphne_attack_strength = 0;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
_root.health.nextFrame();
Symbol 537 MovieClip Frame 282
_root.daphne_attackdone = 1;
_root.daphne_moving = 0;
_root.daphne_hit = 0;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 305
_root.daphne_attack_strength = 0;
_root.daphne_attackdone = 0;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
Symbol 537 MovieClip Frame 313
_root.daphne_attackdone = 1;
_root.daphne_moving = 0;
_root.daphne_hit = 0;
gotoAndPlay (1);
Symbol 537 MovieClip Frame 318
_root.daphne_attack_strength = 0;
_root.daphne_attackdone = 0;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
_root.daphne_alive = 0;
_root.daphne.shadow.gotoAndStop(2);
Symbol 537 MovieClip Frame 370
_root.stop();
Symbol 537 MovieClip Frame 372
_root.mDie();
Symbol 537 MovieClip Frame 373
stop();
Symbol 538 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 7
stop();
Symbol 549 MovieClip Frame 1
gotoAndStop(_root.pGameLevel + 1);
stop();
Symbol 549 MovieClip Frame 2
stop();
Symbol 549 MovieClip Frame 3
stop();
Symbol 549 MovieClip Frame 4
stop();
Symbol 549 MovieClip Frame 5
stop();
Symbol 549 MovieClip Frame 6
stop();
Symbol 550 MovieClip Frame 1
stop();
Symbol 550 MovieClip Frame 19
stop();
Symbol 550 MovieClip Frame 42
gotoAndStop (1);
Symbol 551 MovieClip Frame 2
_root.daphne_jump = 0;
_root.daphne_land = 0;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
_root.daphne_jump = 0;
_root.daphne_attackdone = 1;
_root.daphne_land = 0;
stop();
Symbol 551 MovieClip Frame 7
stop();
Symbol 551 MovieClip Frame 9
_root.daphne_jump = 1;
_root.daphne_land = 0;
_root.daphne_jumpPON = 1;
Symbol 551 MovieClip Frame 11
_root.daphne.actions.direction.gotoAndPlay("jump");
Symbol 551 MovieClip Frame 13
_root.daphne_jumpPON = 0;
Symbol 551 MovieClip Frame 21
_root.daphne_jumpPON = 1;
_root.daphne_land = 1;
Symbol 551 MovieClip Frame 31
_root.daphne_land = 1;
_root.daphne_duck = 0;
_root.daphne_moving = 0;
_root.daphne_jump = 0;
_root.daphne_attackdone = 1;
gotoAndPlay (1);
Symbol 563 Button
on (release) {
mAdvanceLevel(1);
}
Symbol 568 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 10
pRand = random(400);
if (((pRand < 10) && (_root.boss_alive eq 1)) && (900 < _root.daphne_floorposition)) {
_y = (155 + random(100));
} else {
gotoAndPlay (1);
}
Instance of Symbol 573 MovieClip in Symbol 574 MovieClip Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne.actions) && (_root.daphne_alive eq 1)) {
_root.mMoveDaphnePosition(0);
_root.daphne.actions.direction.gotoAndPlay("hitlow");
}
}
Symbol 613 MovieClip Frame 5
randy = int((random(40) + _root.projectile._y) - 20);
_root.projectileINIT(randy);
Symbol 613 MovieClip Frame 57
randy = int((random(40) + _root.projectile._y) - 20);
_root.projectileINIT(randy);
Symbol 615 MovieClip Frame 2
play();
Symbol 615 MovieClip Frame 53
pRand = random(7);
if (pRand < 2) {
gotoAndPlay (1);
}
Symbol 615 MovieClip Frame 180
gotoAndPlay (1);
Symbol 633 MovieClip Frame 1
function mOffsetDaphne() {
if ((_root.daphne._x - 30) < this._x) {
pOffset = (_root.daphne._x - this._x) - 32;
_root.mMoveDaphnePosition(pOffset);
}
}
function mCheckDaphneHit() {
if (this.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
_root.mMoveDaphnePosition(-50);
}
}
if (this.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
this.gotoAndPlay("hit");
}
}
Symbol 633 MovieClip Frame 4
mOffsetDaphne();
Symbol 633 MovieClip Frame 5
gotoAndPlay (1);
Symbol 633 MovieClip Frame 6
Pstrength = Pstrength - _root.daphne_attack_strength;
Symbol 633 MovieClip Frame 7
mOffsetDaphne();
Symbol 633 MovieClip Frame 9
Pstrength = Pstrength - _root.daphne_attack_strength;
_root.bosshealth.gotoAndStop(Pstrength);
_root.mScoring(_root.pHitBossPoints * _root.pBaseScoringFactor);
if (Pstrength < 1) {
gotoAndPlay (64);
}
Symbol 633 MovieClip Frame 12
mCheckDaphneHit();
Symbol 633 MovieClip Frame 18
mOffsetDaphne();
Symbol 633 MovieClip Frame 28
mCheckDaphneHit();
Symbol 633 MovieClip Frame 30
mOffsetDaphne();
Symbol 633 MovieClip Frame 39
mOffsetDaphne();
Symbol 633 MovieClip Frame 44
mCheckDaphneHit();
Symbol 633 MovieClip Frame 50
mOffsetDaphne();
Symbol 633 MovieClip Frame 58
gotoAndPlay (1);
Symbol 633 MovieClip Frame 60
mOffsetDaphne();
Symbol 633 MovieClip Frame 64
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.stopleft = 0;
_root.boss_alive = 0;
_root.mScoring(_root.pKillBossPoints * _root.pBaseScoringFactor);
Instance of Symbol 630 MovieClip in Symbol 633 MovieClip Frame 78
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne)) {
_root.change_foot = 1;
_parent.gotoAndPlay("takeboots");
}
}
Symbol 633 MovieClip Frame 84
_root.daphne.text.play();
Symbol 633 MovieClip Frame 100
gotoAndPlay(_currentframe - 1);
Symbol 633 MovieClip Frame 106
_root.daphne.text.gotoAndPlay("turnoff");
_root.change_upperleg = 1;
_root.change_lowerleg = 1;
_root.change_foot = 1;
_root.pItemCollected = 1;
Symbol 633 MovieClip Frame 107
_root.daphne.actions.direction.gotoAndPlay("pickupitem");
Symbol 633 MovieClip Frame 109
stop();
Symbol 633 MovieClip Frame 114
stop();
Instance of Symbol 573 MovieClip "proj1" in Symbol 634 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne.actions) && (_root.daphne_alive eq 1)) {
_root.daphne.actions.direction.gotoAndPlay("hithigh");
_root.daphne.gotoAndPlay("grounded");
_root.daphne_hit = 1;
removeMovieClip(_parent);
}
}
Symbol 634 MovieClip Frame 70
removeMovieClip("");
Symbol 634 MovieClip Frame 71
stop();
Symbol 644 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 1
if (_parent.Pmaskoff eq 1) {
nextFrame();
} else {
stop();
}
Symbol 650 MovieClip Frame 2
stop();
Symbol 703 MovieClip Frame 1
function mOffsetDaphne() {
if (this._x < (_root.daphne._x + 20)) {
pOffset = (_root.daphne._x - this._x) + 32;
_root.mMoveDaphnePosition(pOffset);
}
}
function mHitTestGetHitElseAttack() {
if (this.hitzone.hitTest(_root.daphne)) {
if (_root.daphne_attackdone eq 0) {
this.gotoAndPlay("hit");
} else if (_root.daphne_attackdone eq 1) {
gotoAndPlay (67);
}
}
}
function mHitDaphne() {
if (this.hitzone.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
_root.mMoveDaphnePosition(50);
_root.daphne.actions.direction.gotoAndPlay("hitlow");
}
}
function mHitTestInAir() {
if ((this.hitzone.hitTest(_root.daphne) && (_root.daphne_attackdone eq 0)) && (_root.daphne_jump eq 1)) {
this.gotoAndPlay("hitinair");
mOffsetDaphne();
}
}
function mHitDaphne() {
if (this.hitzone.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
_root.daphne_hit = 1;
_root.daphne.actions.direction.gotoAndPlay("hitlow");
_root.mMoveDaphnePosition(40);
}
}
Symbol 703 MovieClip Frame 2
mOffsetDaphne();
Symbol 703 MovieClip Frame 3
mHitTestGetHitElseAttack();
Symbol 703 MovieClip Frame 5
mOffsetDaphne();
Symbol 703 MovieClip Frame 8
mOffsetDaphne();
Symbol 703 MovieClip Frame 11
mOffsetDaphne();
Symbol 703 MovieClip Frame 13
mHitTestGetHitElseAttack();
Symbol 703 MovieClip Frame 14
Prand = random(20) + 1;
if (Prand < 5) {
gotoAndPlay (17);
} else {
gotoAndPlay (1);
}
Symbol 703 MovieClip Frame 19
mOffsetDaphne();
Symbol 703 MovieClip Frame 23
mOffsetDaphne();
Symbol 703 MovieClip Frame 27
mOffsetDaphne();
Symbol 703 MovieClip Frame 32
mOffsetDaphne();
Symbol 703 MovieClip Frame 35
mOffsetDaphne();
Symbol 703 MovieClip Frame 38
mHitTestInAir();
Symbol 703 MovieClip Frame 41
mHitTestInAir();
Symbol 703 MovieClip Frame 43
mOffsetDaphne();
Symbol 703 MovieClip Frame 44
mHitTestInAir();
Symbol 703 MovieClip Frame 47
mHitTestInAir();
Symbol 703 MovieClip Frame 48
mOffsetDaphne();
Symbol 703 MovieClip Frame 49
_root.mMoveDaphnePosition(35);
Symbol 703 MovieClip Frame 50
_root.mMoveDaphnePosition(-35);
Symbol 703 MovieClip Frame 53
pThisX = _root.boss._x;
_root.mAddenemy(pThisX);
Symbol 703 MovieClip Frame 61
gotoAndPlay (2);
Symbol 703 MovieClip Frame 71
mHitDaphne();
Symbol 703 MovieClip Frame 77
mOffsetDaphne();
Symbol 703 MovieClip Frame 83
gotoAndPlay (2);
Symbol 703 MovieClip Frame 93
Pstrength = Pstrength - _root.daphne_attack_strength;
_root.bosshealth.gotoAndStop(Pstrength);
_root.mScoring(_root.pHitBossPoints * _root.pBaseScoringFactor);
if (Pstrength < 1) {
gotoAndPlay (175);
} else if ((Pstrength < 26) && (Pmaskoff ne 1)) {
trace("maskoff");
Pmaskoff = 1;
gotoAndPlay (132);
}
Symbol 703 MovieClip Frame 95
gotoAndPlay (125);
Symbol 703 MovieClip Frame 100
Pstrength = Pstrength - _root.daphne_attack_strength;
_root.bosshealth.gotoAndStop(Pstrength);
_root.mScoring(_root.pHitBossPoints * _root.pBaseScoringFactor);
if (Pstrength < 1) {
gotoAndPlay (175);
} else if ((Pstrength < 26) && (Pmaskoff ne 1)) {
trace("maskoff");
Pmaskoff = 1;
gotoAndPlay (132);
}
Symbol 703 MovieClip Frame 104
mOffsetDaphne();
Symbol 703 MovieClip Frame 114
mOffsetDaphne();
Symbol 703 MovieClip Frame 120
gotoAndPlay (67);
Symbol 703 MovieClip Frame 130
gotoAndPlay (17);
Symbol 703 MovieClip Frame 133
mOffsetDaphne();
Symbol 703 MovieClip Frame 136
mOffsetDaphne();
Symbol 703 MovieClip Frame 140
mOffsetDaphne();
Symbol 703 MovieClip Frame 143
mOffsetDaphne();
Symbol 703 MovieClip Frame 148
mOffsetDaphne();
Symbol 703 MovieClip Frame 152
mOffsetDaphne();
Symbol 703 MovieClip Frame 156
mOffsetDaphne();
Symbol 703 MovieClip Frame 160
mOffsetDaphne();
Symbol 703 MovieClip Frame 164
mOffsetDaphne();
Symbol 703 MovieClip Frame 169
mOffsetDaphne();
Symbol 703 MovieClip Frame 174
gotoAndPlay (2);
Symbol 703 MovieClip Frame 175
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.stopright = 0;
_root.boss_alive = 0;
_root.mScoring(_root.pKillBossPoints * _root.pBaseScoringFactor);
Instance of Symbol 695 MovieClip in Symbol 703 MovieClip Frame 183
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne)) {
_root.change_neck = 1;
_parent.gotoAndPlay("takescarf");
}
}
Symbol 703 MovieClip Frame 186
_root.daphne.text.play();
Symbol 703 MovieClip Frame 200
gotoAndPlay(_currentframe - 1);
Symbol 703 MovieClip Frame 204
_root.daphne.text.gotoAndPlay("turnoff");
_root.pItemCollected = 1;
_root.change_hair = 1;
_root.change_neck = 1;
_root.change_upperarm = 1;
Symbol 703 MovieClip Frame 205
_root.daphne.actions.direction.gotoAndPlay("pickupitem");
Symbol 703 MovieClip Frame 207
stop();
Symbol 703 MovieClip Frame 213
stop();
Symbol 718 MovieClip Frame 10
pRand = random(300);
if (((pRand < 10) && (_root.boss_alive eq 1)) && (900 < _root.daphne_floorposition)) {
_y = (155 + random(100));
} else {
gotoAndPlay (1);
}
Instance of Symbol 717 MovieClip in Symbol 718 MovieClip Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne.actions) && (_root.daphne_alive eq 1)) {
_root.mMoveDaphnePosition(0);
_root.daphne.actions.direction.gotoAndPlay("hitlow");
}
}
Symbol 738 MovieClip Frame 8
pRandomSound = String(int(random(4) + 1));
if (pRandomSound eq 1) {
gotoAndPlay (27);
} else if (pRandomSound eq 2) {
gotoAndPlay (93);
} else if (pRandomSound eq 3) {
gotoAndPlay (172);
} else if (pRandomSound eq 4) {
gotoAndPlay (265);
}
Symbol 738 MovieClip Frame 82
gotoAndPlay (1);
Symbol 738 MovieClip Frame 153
gotoAndPlay (1);
Symbol 738 MovieClip Frame 252
gotoAndPlay (1);
Symbol 738 MovieClip Frame 296
gotoAndPlay (1);
Symbol 745 MovieClip Frame 1
function mOffsetDaphne() {
if ((_root.daphne._x + 30) < this._x) {
_root.mMoveDaphnePosition(-20);
}
}
function mCheckDaphneHit() {
if (this.hitTest(_root.daphne) && (_root.daphne_alive eq 1)) {
_root.mMoveDaphnePosition(-50);
_root.daphne_hit = 1;
_root.daphne.actions.direction.gotoAndPlay("hitlow");
}
}
function mCheckHitZones() {
if ((this.hitzonehigh.hitTest(_root.daphne) && (_root.daphne_attackdone eq 0)) && (_root.daphne_jump eq 1)) {
this.gotoAndPlay("Hit High");
} else if (this.hitzonelow.hitTest(_root.daphne) && (_root.daphne_attackdone eq 0)) {
this.gotoAndPlay("Hit Low");
}
}
Symbol 745 MovieClip Frame 3
mOffsetDaphne();
Symbol 745 MovieClip Frame 5
mCheckHitZones();
Symbol 745 MovieClip Frame 7
mOffsetDaphne();
Symbol 745 MovieClip Frame 9
mCheckHitZones();
Symbol 745 MovieClip Frame 10
mOffsetDaphne();
Symbol 745 MovieClip Frame 13
mOffsetDaphne();
Symbol 745 MovieClip Frame 15
gotoAndPlay (2);
Symbol 745 MovieClip Frame 20
Pstrength = Pstrength - _root.daphne_attack_strength;
_root.bosshealth.gotoAndStop(Pstrength);
_root.mScoring(_root.pHitBossPoints * _root.pBaseScoringFactor);
if (Pstrength < 1) {
gotoAndPlay (152);
}
Symbol 745 MovieClip Frame 21
mOffsetDaphne();
Symbol 745 MovieClip Frame 24
mOffsetDaphne();
Symbol 745 MovieClip Frame 28
mOffsetDaphne();
Symbol 745 MovieClip Frame 31
gotoAndPlay (54);
Symbol 745 MovieClip Frame 37
Pstrength = Pstrength - _root.daphne_attack_strength;
_root.bosshealth.gotoAndStop(Pstrength);
_root.mScoring(_root.pHitBossPoints * _root.pBaseScoringFactor);
if (Pstrength < 1) {
gotoAndPlay (152);
}
Symbol 745 MovieClip Frame 38
mOffsetDaphne();
Symbol 745 MovieClip Frame 42
mOffsetDaphne();
Symbol 745 MovieClip Frame 46
mOffsetDaphne();
Symbol 745 MovieClip Frame 47
gotoAndPlay (54);
Symbol 745 MovieClip Frame 54
pRand = random(6) + 1;
if (pRand < 3) {
gotoAndPlay (73);
} else if (pRand < 5) {
gotoAndPlay (106);
}
Symbol 745 MovieClip Frame 56
mOffsetDaphne();
Symbol 745 MovieClip Frame 58
randy = int((random(40) + _root.boss._y) - 20);
_root.projectileINIT(randy);
Symbol 745 MovieClip Frame 60
mOffsetDaphne();
Symbol 745 MovieClip Frame 62
mOffsetDaphne();
Symbol 745 MovieClip Frame 64
mCheckHitZones();
Symbol 745 MovieClip Frame 65
if (_root.boomerang_return != 1) {
gotoAndPlay (61);
}
Symbol 745 MovieClip Frame 66
mOffsetDaphne();
Symbol 745 MovieClip Frame 68
mCheckHitZones();
Symbol 745 MovieClip Frame 69
gotoAndPlay (2);
Symbol 745 MovieClip Frame 73
mOffsetDaphne();
Symbol 745 MovieClip Frame 76
mOffsetDaphne();
Symbol 745 MovieClip Frame 81
mOffsetDaphne();
Symbol 745 MovieClip Frame 83
randy = int((random(20) + _root.boss._y) + 50);
_root.projectileINIT(randy);
Symbol 745 MovieClip Frame 84
mCheckHitZones();
Symbol 745 MovieClip Frame 86
mOffsetDaphne();
Symbol 745 MovieClip Frame 89
mOffsetDaphne();
Symbol 745 MovieClip Frame 90
if (_root.boomerang_return != 1) {
gotoAndPlay (84);
}
Symbol 745 MovieClip Frame 96
gotoAndPlay (2);
Symbol 745 MovieClip Frame 107
mOffsetDaphne();
Symbol 745 MovieClip Frame 111
mOffsetDaphne();
Symbol 745 MovieClip Frame 112
mCheckDaphneHit();
Symbol 745 MovieClip Frame 114
mOffsetDaphne();
Symbol 745 MovieClip Frame 118
mOffsetDaphne();
Symbol 745 MovieClip Frame 122
mOffsetDaphne();
Symbol 745 MovieClip Frame 126
mOffsetDaphne();
Symbol 745 MovieClip Frame 130
mOffsetDaphne();
Symbol 745 MovieClip Frame 133
mOffsetDaphne();
Symbol 745 MovieClip Frame 135
gotoAndPlay (2);
Symbol 745 MovieClip Frame 152
_root.daphne_hit = 0;
_root.daphne_duck = 0;
_root.stopleft = 0;
_root.boss_alive = 0;
_root.mScoring(_root.pKillBossPoints * _root.pBaseScoringFactor);
Instance of Symbol 742 MovieClip "dress" in Symbol 745 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne.actions)) {
_parent.gotoAndPlay("takedress");
}
}
Symbol 745 MovieClip Frame 175
_root.daphne.text.play();
Symbol 745 MovieClip Frame 194
stop();
Symbol 745 MovieClip Frame 199
_root.daphne.text.gotoAndStop(6);
_root.change_skirt = 1;
_root.change_hair = 1;
_root.change_neck = 1;
_root.change_upperarm = 1;
_root.change_torso = 1;
_root.change_upperleg = 1;
_root.change_lowerleg = 1;
_root.change_foot = 1;
_root.pItemCollected = 1;
Symbol 745 MovieClip Frame 200
_root.daphne.actions.direction.gotoAndPlay("pickupitem");
Symbol 745 MovieClip Frame 202
_root.daphne.text.play();
Symbol 745 MovieClip Frame 205
_root.daphne.text.play();
Symbol 745 MovieClip Frame 209
_root.daphne.text.bubble.goToAndStop(6);
Symbol 745 MovieClip Frame 259
stop();
Symbol 745 MovieClip Frame 272
stop();
Symbol 746 MovieClip Frame 2
_root.boomerang_return = 0;
Instance of Symbol 717 MovieClip "proj1" in Symbol 746 MovieClip Frame 33
onClipEvent (enterFrame) {
if (this.hitTest(_root.daphne.actions) && (_root.daphne_alive eq 1)) {
_root.mMoveDaphnePosition(0);
_root.daphne_hit = 1;
_root.daphne.gotoAndPlay("grounded");
_root.daphne.actions.direction.gotoAndPlay("hitlow");
}
}
Symbol 746 MovieClip Frame 67
_root.boomerang_return = 1;
Symbol 746 MovieClip Frame 70
removeMovieClip("");
Symbol 746 MovieClip Frame 71
stop();