Frame 1
_root.bottleHit = new Sound("_root");
_root.bottleHit.attachSound("bottleHit");
_root.trans = new Sound("_root");
_root.trans.attachSound("transSound");
_root.braHit = new Sound("_root");
_root.braHit.attachSound("braHit");
_root.bootHit = new Sound("_root");
_root.bootHit.attachSound("bootHit");
_root.greaseDrop = new Sound("_root");
_root.greaseDrop.attachSound("greaseDrop");
_root.bonusSound = new Sound("_root");
_root.bonusSound.attachSound("bonusSound");
_root.gameLevel = 1;
_root.gameLives = 3;
_root.gScore = 0;
_root.fallingObjectRate = 4;
_root.poleGreaseRate = 4;
_root.randomRate = 15;
_root.numOfPoles = 13;
_root.numOfStages = 10;
_root.bonusNum = 1000;
_root.jumpCounter = 0;
_root.lockSpaceKey = false;
_root.stNum = 10000;
_root.stage1poles = ["pole1", "pole2", "pole4"];
_root.stage2poles = ["pole3"];
_root.stage4poles = ["pole4", "pole5"];
_root.pole1stages = ["stage1"];
_root.pole2stages = ["stage1", "stage2", "stage3"];
_root.pole3stages = ["stage2"];
_root.pole4stages = ["stage1", "stage2"];
_root.pole5stages = ["stage2", "stage4"];
_root.pole8stages = ["stage6"];
_root.pole9stages = ["stage8"];
_root.pole10stages = ["stage7"];
_root.pole11stages = ["stage7"];
_root.pole12stages = ["stage8", "stage9"];
_root.pole13stages = ["stage8"];
_root.foNum = 100;
_root.gDropList = new Object();
_root.greaseNum = 1100;
_root.greaseDropList = new Object();
function poleGreaseDoStuff() {
var currentObj = _root.greaseDropList;
while (currentObj != null) {
if (currentObj.state == "growing") {
currentObj.grow();
}
if (currentObj.state == "drop") {
currentObj.drop();
}
currentObj = currentObj.pNext;
}
}
function foDrop() {
var currentObj = _root.gDropList;
while (currentObj != null) {
currentObj.fall();
if (375 < currentObj.pId._y) {
currentObj.kill();
}
currentObj = currentObj.pNext;
}
}
function killAllObjects() {
var currentObj = _root.greaseDropList;
while (currentObj != null) {
currentObj.kill();
currentObj = currentObj.pNext;
}
var currentObj = _root.gDropList;
while (currentObj != null) {
currentObj.kill();
currentObj = currentObj.pNext;
}
}
function Stripperella() {
this.pClip = "striperella";
this.pNum = _root.stNum;
_root.stNum++;
this.pId = this.pNum + this.pClip;
attachMovie(this.pClip, this.pId, this.pNum);
this.pId = eval (this.pId);
this.pId.parent = this;
this.pId.gotoAndPlay("Stand");
this.pId._xscale = 9.5;
this.pId._yscale = 9.5;
var stage = eval (("_root.level" + _root.gameLevel) + "stage1");
this.pId._x = stage._x + (this.pId._width / 2);
this.pId._y = stage._y - (this.pId._height / 2);
this.canComplete = false;
this.moving = null;
this.jumpDir = null;
this.poleSide = null;
this.reach = null;
this.pole = null;
this.poleName = null;
this.stage = null;
this.stagePoles = null;
this.poleStages = null;
this.canPole = false;
this.onPole = false;
this.onTwoPoles = false;
}
Stripperella.prototype.setStage = function (offset) {
var dif = (100 + offset);
if (this.stage == null) {
this.pId.body_hit._y = this.pId.body_hit._y + dif;
i = 1;
while (_root.numOfStages >= i) {
var stage = eval ((("_root.level" + _root.gameLevel) + "stage") + i);
if (this.pId.body_hit.hitTest(stage)) {
this.stage = stage;
this.stagePoles = eval (("_root.stage" + i) + "poles");
if (i == _root.numOfStages) {
this.canComplete = true;
}
this.pId.body_hit._y = this.pId.body_hit._y - dif;
return(undefined);
}
i++;
}
this.pId.body_hit._y = this.pId.body_hit._y - dif;
this.stage = null;
}
};
Stripperella.prototype.getPoleJump = function () {
if (!this.onPole) {
i = 1;
while (_root.numOfPoles >= i) {
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + i);
var poleStages = eval (("_root.pole" + i) + "stages");
if (this.pId.body_hit.hitTest(pole)) {
this.pole = pole;
this.poleStages = poleStages;
this.onPole = true;
if (this.pId._x < this.pole._x) {
this.reach = "left";
this.orientateToPole("left");
} else {
this.reach = "right";
this.orientateToPole("right");
}
return(undefined);
}
i++;
}
this.pole = null;
this.onPole = false;
}
};
Stripperella.prototype.setTwoPoles = function () {
var left = false;
var right = false;
i = 1;
while (_root.numOfPoles >= i) {
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + i);
if (this.pId.left_hand.hitTest(pole)) {
left = true;
}
if (this.pId.right_hand.hitTest(pole)) {
right = true;
}
i++;
}
if (left && (right)) {
this.onTwoPoles = true;
} else {
this.onTwoPoles = false;
}
};
Stripperella.prototype.sheHitPole = function () {
i = 1;
while (_root.numOfPoles >= i) {
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + i);
if (this.pId.hitTest(pole)) {
return(pole);
}
i++;
}
};
Stripperella.prototype.getPole = function (side) {
i = 1;
while (_root.numOfPoles >= i) {
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + i);
if (this.pId.left_hand.hitTest(pole)) {
if (0 < this.pId._xscale) {
if (side == "left") {
this.poleName = poleName;
this.poleStages = eval (("_root." + poleName) + "stages");
return(pole);
}
} else if (side == "right") {
this.poleName = poleName;
this.poleStages = eval (("_root." + poleName) + "stages");
return(pole);
}
}
if (this.pId.right_hand.hitTest(pole)) {
if (0 < this.pId._xscale) {
if (side == "right") {
this.poleName = poleName;
this.poleStages = eval (("_root." + poleName) + "stages");
return(pole);
}
} else if (side == "left") {
this.poleName = poleName;
this.poleStages = eval (("_root." + poleName) + "stages");
return(pole);
}
}
i++;
}
};
Stripperella.prototype.doMovement = function (obj) {
if (this.stage == null) {
this.setStage();
}
if (this.moving == "jumping") {
_root.lockSpaceKey = true;
if (4 >= _root.jumpCounter) {
this.pId._y = this.pId._y - 5;
if (this.jumpDir == "right") {
this.pId._x = this.pId._x + 4;
}
if (this.jumpDir == "left") {
this.pId._x = this.pId._x - 4;
}
} else {
this.getPoleJump();
if (this.pole != null) {
return(undefined);
}
this.pId._y = this.pId._y + 6;
if (this.pId._y >= 375) {
this.fall(true);
}
if (this.jumpDir == "right") {
this.pId._x = this.pId._x + 4;
}
if (this.jumpDir == "left") {
this.pId._x = this.pId._x - 4;
}
this.stage = null;
this.setStage();
if ((this.stage != null) && (6 < _root.jumpCounter)) {
_root.lockSpaceKey = false;
this.standStill();
this.jumpDir = null;
this.moving = null;
_root.jumpCounter = 0;
}
}
_root.jumpCounter++;
return(undefined);
}
if ((this.moving == "falling") || (this.moving == "fallPerm")) {
this.fall();
return(undefined);
}
if ((obj.up && (!obj.left)) && (!obj.right)) {
this.climbUp();
}
if (this.onPole) {
if ((obj.down && (!obj.left)) && (!obj.right)) {
this.climbDown();
}
}
if (!this.onPole) {
if ((obj.space && (_root.lockSpaceKey == false)) && (this.moving != "jumping")) {
if ((!obj.right) && (!obj.left)) {
this.jump();
}
if (obj.right && (!obj.left)) {
this.jump("right");
}
if (obj.left && (!obj.right)) {
this.jump("left");
}
} else if ((((!obj.space) && (!obj.up)) && (!obj.down)) && (this.moving != "jumping")) {
if (obj.left) {
this.moveLeft();
}
if (obj.right) {
this.moveRight();
}
}
}
if (this.onTwoPoles) {
if (obj.right) {
this.pole = this.getPole("right");
this.reach = "left";
this.orientateToPole("left");
}
if (obj.left) {
this.pole = this.getPole("left");
this.reach = "right";
this.orientateToPole("right");
}
} else {
if (this.onPole && (obj.left)) {
if (this.poleSide == "left") {
this.reachLeft();
}
if (this.reach == "right") {
this.orientateToPole("right");
} else if (this.reach == null) {
this.orientateToPole("left");
}
}
if (this.onPole && (obj.right)) {
if (this.poleSide == "right") {
this.reachRight();
}
if (this.reach == "left") {
this.orientateToPole("left");
} else if (this.reach == null) {
this.orientateToPole("right");
}
}
}
if (((obj.noKey && (this.moving != null)) && (!this.onPole)) && (this.moving != "jumping")) {
this.standStill();
}
if (obj.noKey && (this.onPole)) {
this.pId.stop();
this.moving = null;
_root.lockSpaceKey = false;
}
};
Stripperella.prototype.orientateToPole = function (dir) {
var canOrientate = false;
var offSet = 250;
offSet = offSet * ((this.pId._xscale < 0) ? -1 : 1);
if ((!this.onTwoPoles) && (this.reach == null)) {
if (dir == "right") {
this.pId.body_hit._x = this.pId.body_hit._x + offSet;
i = 1;
while (_root.numOfStages >= i) {
var stage = eval ((("_root.level" + _root.gameLevel) + "stage") + i);
if (this.pId.body_hit.hitTest(stage)) {
this.pId.body_hit._x = this.pId.body_hit._x - offSet;
return(false);
}
i++;
}
this.pId.body_hit._x = this.pId.body_hit._x - offSet;
canOrientate = true;
}
if (dir == "left") {
this.pId.body_hit._x = this.pId.body_hit._x - offSet;
i = 1;
while (_root.numOfStages >= i) {
var stage = eval ((("_root.level" + _root.gameLevel) + "stage") + i);
if (this.pId.body_hit.hitTest(stage)) {
this.pId.body_hit._x = this.pId.body_hit._x + offSet;
return(false);
}
i++;
}
this.pId.body_hit._x = this.pId.body_hit._x + offSet;
canOrientate = true;
}
} else {
canOrientate = true;
}
if (canOrientate) {
if ((dir == "left") && ((this.poleSide != "left") || (this.reach == "left"))) {
if (this.reach == "left") {
this.pId.gotoAndStop("PoleClimb_Single");
}
this.pId._xscale = ((this.pId._xscale < 0) ? (-this.pId._xscale) : (this.pId._xscale));
this.pId._x = (this.pole._x - (this.pId._width / 2)) + 4;
this.poleSide = "left";
this.reach = null;
this.onTwoPoles = false;
} else if ((dir == "right") && ((this.poleSide != "right") || (this.reach == "right"))) {
if (this.reach == "right") {
this.pId.gotoAndStop("PoleClimb_Single");
}
this.pId._xscale = ((0 < this.pId._xscale) ? (-this.pId._xscale) : (this.pId._xscale));
this.pId._x = this.pole._x + (this.pId._width / 2);
this.poleSide = "right";
this.reach = null;
this.onTwoPoles = false;
}
this.canPole = true;
this.moving = null;
}
};
Stripperella.prototype.reachLeft = function () {
var canReach = false;
var offSet = 230;
offSet = offSet * ((this.pId._xscale < 0) ? -1 : 1);
if (this.reach != "left") {
this.pId.body_hit._x = this.pId.body_hit._x - offSet;
i = 1;
while (_root.numOfStages >= i) {
var stage = eval ((("_root.level" + _root.gameLevel) + "stage") + i);
if (this.pId.body_hit.hitTest(stage)) {
this.pId.body_hit._x = this.pId.body_hit._x + offSet;
return(false);
}
i++;
}
this.pId.body_hit._x = this.pId.body_hit._x + offSet;
canReach = true;
if (canReach) {
this.pId.gotoAndStop("poleClimb_Double");
this.reach = "left";
this.moving = null;
this.setTwoPoles();
}
} else if (this.reach == "left") {
this.stage = null;
this.setStage(40);
if (this.stage != null) {
this.reach = null;
this.onPole = false;
}
}
};
Stripperella.prototype.reachRight = function () {
var canReach = false;
var offSet = 230;
offSet = offSet * ((this.pId._xscale < 0) ? -1 : 1);
if (this.reach != "right") {
this.pId.body_hit._x = this.pId.body_hit._x + offSet;
i = 1;
while (_root.numOfStages >= i) {
var stage = eval ((("_root.level" + _root.gameLevel) + "stage") + i);
if (this.pId.body_hit.hitTest(stage)) {
this.pId.body_hit._x = this.pId.body_hit._x - offSet;
return(false);
}
i++;
}
this.pId.body_hit._x = this.pId.body_hit._x - offSet;
canReach = true;
if (canReach) {
this.pId.gotoAndStop("poleClimb_Double");
this.reach = "right";
this.moving = null;
this.setTwoPoles();
}
} else if (this.reach == "right") {
this.stage = null;
this.setStage(40);
if (this.stage != null) {
this.reach = null;
this.onPole = false;
}
}
};
Stripperella.prototype.fall = function (boolean) {
if (boolean || (this.moving == "fallPerm")) {
if (this.moving != "fallPerm") {
this.pId.gotoAndPlay("Fall");
this.moving = "fallPerm";
this.pId._y = this.pId._y + 10;
}
this.pId._y = this.pId._y + 7;
} else {
if (this.moving != "falling") {
this.stage = null;
this.setStage(150);
if (this.stage != null) {
this.standStill();
return(undefined);
}
this.pId.gotoAndPlay("Fall");
this.moving = "falling";
this.pId._y = this.pId._y + 10;
}
this.pId._y = this.pId._y + 7;
i = 1;
while (_root.numOfPoles >= i) {
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + i);
var poleStages = eval (("_root.pole" + i) + "stages");
if (this.pId.body_hit.hitTest(pole)) {
this.pole = pole;
this.poleStages = poleStages;
this.stage = null;
this.onPole = true;
this.moving = null;
if (this.pId._xscale < 0) {
this.reach = "right";
this.orientateToPole("right");
} else {
this.reach = "left";
this.orientateToPole("left");
}
this.pId._y = this.pId._y - 10;
return(undefined);
}
i++;
}
}
if (this.pId._y >= 400) {
var stage = eval (("_root.level" + _root.gameLevel) + "stage1");
this.pId._x = stage._x + (this.pId._width / 2);
this.pId._y = (stage._y - (this.pId._height / 2)) + 6;
this.stage = stage;
this.standStill();
if (_root.gameLives == 0) {
gotoAndStop (65);
}
var life = eval ("_root.live" + _root.gameLives);
life._visible = 0;
_root.gameLives = _root.gameLives - 1;
}
};
Stripperella.prototype.jump = function (dir) {
this.pId.gotoAndPlay("jump");
this.moving = "jumping";
_root.jumpCounter = 0;
if (dir != "") {
this.jumpDir = dir;
}
};
Stripperella.prototype.moveLeft = function () {
this.setStage();
if (_root.lockSpaceKey) {
_root.lockSpaceKey = false;
}
if (this.moving != "left") {
this.pId.gotoAndPlay("Run");
this.pId._xscale = ((0 < this.pId._xscale) ? (-this.pId._xscale) : (this.pId._xscale));
if (this.stage != null) {
this.pId._y = this.stage._y - (this.pId._height / 2);
}
this.moving = "left";
this.canPole = false;
}
if (!this.onPole) {
if (0 >= ((this.pId._x - 6) - (this.pId._width / 2))) {
return(false);
}
if (this.stage._x >= (this.pId._x - 6)) {
var pole = this.sheHitPole();
if (pole != null) {
this.pole = pole;
this.reach = "right";
this.orientateToPole("right");
this.onPole = true;
return(undefined);
}
this.fall(true);
}
this.pId._x = this.pId._x - 12;
if ((this.stage == _level0.level1stage9) && (_root.gameLevel == 1)) {
this.pId.body_hit._y = this.pId.body_hit._y + 40;
if (this.pId.body_hit.hitTest(_level0.level1stage10)) {
this.stage = _level0.level1stage10;
this.pId._y = this.stage._y - (this.pId._height / 2);
this.canComplete = true;
}
this.pId.body_hit._y = this.pId.body_hit._y - 40;
}
}
};
Stripperella.prototype.moveRight = function () {
this.setStage();
if (_root.lockSpaceKey) {
_root.lockSpaceKey = false;
}
if (this.moving != "right") {
this.pId.gotoAndPlay("Run");
this.pId._xscale = ((this.pId._xscale < 0) ? (-this.pId._xscale) : (this.pId._xscale));
if (this.stage != null) {
this.pId._y = this.stage._y - (this.pId._height / 2);
}
this.moving = "right";
this.canPole = false;
}
if (!this.onPole) {
if (((this.pId._x + 6) + (this.pId._width / 2)) >= 500) {
return(false);
}
this.pId._x = this.pId._x + 12;
if ((this.stage == _level0.level1stage10) && (_root.gameLevel == 1)) {
if ((this.pId._x + 6) >= (this.stage._x + this.stage._width)) {
this.stage = _level0.level1stage9;
this.pId._y = this.stage._y - (this.pId._height / 2);
}
}
if ((this.pId._x + 6) >= (this.stage._x + this.stage._width)) {
var pole = this.sheHitPole();
if (pole != null) {
this.pole = pole;
this.reach = "left";
this.orientateToPole("left");
this.onPole = true;
return(undefined);
}
this.fall(true);
}
}
};
Stripperella.prototype.climbUp = function () {
if (!this.canPole) {
i = 1;
while (_root.numOfPoles >= i) {
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + i);
if (this.pId.hitTest(pole)) {
this.pole = pole;
this.poleName = poleName;
this.canPole = true;
}
i++;
}
}
if (this.canPole) {
if (((this.moving != "up") && (!this.onTwoPoles)) && (this.reach == null)) {
this.pId.gotoAndPlay("PoleClimb_Single");
this.moving = "up";
if (!this.onPole) {
if (this.pId._xscale < 0) {
this.orientateToPole("right");
} else if (0 < this.pId._xscale) {
this.orientateToPole("left");
}
this.onPole = true;
}
}
if (this.reach == null) {
this.stage = null;
this.setStage(-250);
if (this.stage != null) {
return(undefined);
}
if ((this.pole._y < this.pId._y) && ((this.pole._y + (this.pId._height / 2)) < (this.pId._y - 7))) {
this.pId._y = this.pId._y - 7;
}
}
if (this.onTwoPoles) {
if (this.moving != "climbUp") {
this.pId.gotoAndPlay("poleClimb_Double");
this.moving = "climbUp";
}
this.stage = null;
this.setStage(-230);
if (this.stage != null) {
return(undefined);
}
var leftPole = this.getPole("left");
var rightPole = this.getPole("right");
var minY = ((rightPole._y < leftPole._y) ? (leftPole._y) : (rightPole._y));
if (minY < ((this.pId._y - (this.pId._height / 2)) - 7)) {
this.pId._y = this.pId._y - 7;
}
}
}
};
Stripperella.prototype.climbDown = function () {
if (((this.canPole && (this.reach == null)) && (this.moving != "down")) && (!this.onTwoPoles)) {
this.pId.gotoAndPlay("PoleClimb_Single");
this.moving = "down";
}
if (this.reach != null) {
if (this.onTwoPoles) {
if (this.moving != "climbDown") {
this.pId.gotoAndPlay("poleClimb_Double");
this.moving = "climbDown";
}
var leftPole = this.getPole("left");
var rightPole = this.getPole("right");
var maxY = (((rightPole._y + rightPole._height) < (leftPole._y + leftPole._height)) ? (rightPole._y + rightPole._height) : (leftPole._y + leftPole._height));
var bottomY = (this.pId._y + (this.pId._height / 2));
var topY = ((this.pId._y - (this.pId._height / 2)) + 10);
if (topY >= maxY) {
return(undefined);
}
if (!this.pId.hitTest(this.stage)) {
this.pId._y = this.pId._y + 7;
this.stage = null;
this.setStage(100);
} else {
this.standStill();
}
}
}
if (this.reach == null) {
this.stage = null;
this.setStage();
if (this.pId.body_hit.hitTest(this.stage) && (this.pId._y < this.stage._y)) {
this.standStill();
}
if (this.onPole) {
if ((this.pole._y + this.pole._height) < (this.pId._y - 7)) {
this.fall();
} else {
this.pId._y = this.pId._y + 7;
}
}
}
};
Stripperella.prototype.standStill = function () {
if (!this.onTwoPoles) {
if (this.moving == "left") {
this.pId._x = this.pId._x - 7.5;
} else if (this.moving == "right") {
this.pId._x = this.pId._x + 7.5;
}
}
this.pId.gotoAndPlay("Stand");
this.moving = null;
this.pId._y = this.stage._y - (this.pId._height / 2);
this.poleSide = null;
this.reach = null;
this.pole = null;
this.canPole = false;
this.onPole = false;
this.onTwoPoles = false;
};
function PoleGrease(her, pole) {
this.pClip = "grease";
this.pNum = _root.greaseNum;
_root.greaseNum++;
this.pId = this.pNum + this.pClip;
attachMovie(this.pClip, this.pId, this.pNum);
this.pId = eval (this.pId);
this.pId.parent = this;
if (pole == null) {
this.pole = eval ((("_root.level" + _root.gameLevel) + "pole") + (1 + Math.floor(Math.random() * _root.numOfPoles)));
} else {
this.pole = pole;
}
this.pId._xscale = 1;
this.pId._yscale = 1;
this.pId._x = this.pole._x + (this.pole._width / 2);
this.pId._y = this.pole._y;
this.state = "growing";
this.her = her;
this.pNext = _root.greaseDropList;
_root.greaseDropList = this;
this.pPrev = null;
this.pNext.pPrev = this;
}
PoleGrease.prototype.grow = function () {
if (this.state == "growing") {
this.pId._xscale = this.pId._xscale + 1;
this.pId._yscale = this.pId._yscale + 1;
this.pId._y = this.pole._y + (this.pId._height / 2);
this.pId._x = (this.pole._x + (this.pole._width / 2)) + 1;
if (this.pId._width >= (this.pole._width + 3)) {
this.state = "drop";
_root.greaseDrop.start();
}
}
};
PoleGrease.prototype.drop = function () {
if (this.state == "drop") {
this.pId._y = this.pId._y + 3;
if (this.pole == this.her.pole) {
if (this.pId.hitTest(this.her.pId) && (this.her.moving != "fallPerm")) {
this.her.fall(true);
}
} else if (this.her.pId.hitTest(this.pole) && (this.her.onPole)) {
if (this.pId.hitTest(this.her.pId) && (this.her.moving != "fallPerm")) {
this.her.fall(true);
}
}
if ((this.pole._y + this.pole._height) < (this.pId._y + 2)) {
this.kill();
}
}
};
PoleGrease.prototype.kill = function () {
this.pId.removeMovieClip();
this.pPrev.pNext = this.pNext;
this.pNext.pPrev = this.pPrev;
delete this;
};
function FallingObjects(her, objX) {
var clips = ["boot", "bottle", "bra"];
var num = Math.floor(Math.random() * 3);
this.pClip = clips[num];
this.pNum = _root.foNum;
_root.foNum++;
this.pId = this.pNum + this.pClip;
attachMovie(this.pClip, this.pId, this.pNum);
this.pId = eval (this.pId);
this.pId.parent = this;
this.pId._y = -20;
this.pId._x = ((objX == null) ? (Math.floor(Math.random() * 500)) : (objX));
this.her = her;
this.pNext = _root.gDropList;
_root.gDropList = this;
this.pPrev = null;
this.pNext.pPrev = this;
}
FallingObjects.prototype.fall = function () {
this.pId._y = this.pId._y + 9;
if ((this.her.pId.body_hit.hitTest(this.pId) && (this.her.moving != "fallPerm")) && (this.her.moving != "falling")) {
if (this.pClip == "bottle") {
_root.bottleHit.start();
}
if (this.pClip == "bra") {
_root.braHit.start();
}
if (this.pClip == "boot") {
_root.bootHit.start();
}
this.her.fall(true);
}
};
FallingObjects.prototype.kill = function () {
this.pId.removeMovieClip();
this.pPrev.pNext = this.pNext;
this.pNext.pPrev = this.pPrev;
delete this;
};
function BonusObject() {
this.pClip = "bonus";
this.pNum = _root.bonusNum;
_root.bonusNum++;
this.pId = this.pNum + this.pClip;
attachMovie(this.pClip, this.pId, this.pNum);
this.pId = eval (this.pId);
this.pId.stop();
this.pId._visible = 0;
this.pId._xscale = 70;
this.pId._yscale = 70;
this.pId._rotation = -90;
this.positionSet = false;
this.expires = 10;
this.hit = false;
}
BonusObject.prototype.setPosition = function () {
this.pId._visible = 0;
var rand = (1 + Math.floor(Math.random() * _root.numOfPoles));
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + rand);
if (pole == null) {
return(false);
}
var randY = (pole._y + Math.floor(Math.random() * (pole._y + pole._height)));
var randX = ((pole._x - 40) + Math.floor(Math.random() * (pole._x + 40)));
if (((randY >= 375) || (0 >= randY)) || ((pole._y + pole._height) < randY)) {
return(false);
}
if ((randX >= 500) || (0 >= randX)) {
return(false);
}
this.pId._x = randX;
this.pId._y = randY;
i = 1;
while (_root.numOfStages >= i) {
var stage = eval ((("_root.level" + _root.gameLevel) + "stage") + i);
if (this.pId.hitTest(stage)) {
return(false);
}
i++;
}
i = 1;
while (_root.numOfPoles >= i) {
var pole = eval ((("_root.level" + _root.gameLevel) + "pole") + i);
if (this.pId.hitTest(pole)) {
return(false);
}
i++;
}
this.positionSet = true;
this.hit = false;
this.pId._visible = 100;
};
BonusObject.prototype.kill = function () {
this.pId.play();
this.hit = true;
_root.bonusSound.start();
_root.gScore = _root.gScore + 500;
};
function cTimer() {
this.startTime = getTimer();
}
cTimer.prototype.restartTimer = function () {
this.startTime = getTimer();
};
cTimer.prototype.milliseconds = function () {
return(getTimer() - this.startTime);
};
cTimer.prototype.seconds = function () {
return(int((getTimer() - this.startTime) / 1000));
};
iLevelPauseTimer = new cTimer();
Frame 2
_root.gVersionNum = "1.0";
fscommand ("showmenu", "false");
loadVariablesNum ("TestVariables.txt", 0);
pLoadInit = false;
pTrackLoadCalled = false;
Frame 4
Set("_level0:gWTE_FL", _framesloaded);
Set("_level0:gWTE_PL", int((_level0:gWTE_FL / _level0:gWTE_TF) * 100));
Set("_level0:gWTE_PLtxt", _level0:gWTE_PL add "%");
ifFrameLoaded (1) {
if ((/hs_scripts/:gLoaded == true) || (/:gHS_bypass == true)) {
gotoAndPlay (9);
}
}
if (pLoadInit != true) {
Set("/:gGameID", "striperella");
Set("/:gHSRoot_jsp", "/web/spike_tv/stripperella/hs/");
Set("/:gHSRoot_swf", "/spike_tv/stripperella/med/hs/");
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
gotoAndPlay (4);
Frame 9
tellTarget ("/hs_scripts") {
call("mLoaded");
};
_root.trans.onSoundComplete = function () {
this.start();
};
_root.trans.start();
Frame 15
stop();
Frame 20
stop();
tellTarget ("/hs_scripts") {
call("mPlay");
call("mLevelStart");
};
Frame 25
if (_root.gameLevel == 1) {
_root.gameLevel++;
}
if (_root.levelMovieId != null) {
_root.levelMovieId.removeMovieClip();
_root.levelMovieId = null;
}
if (_root.strChar == null) {
_root.strChar = new Stripperella();
_root.strChar.setStage();
}
if (_root.strChar.canComplete) {
if (_root.strChar.pId.hitTest(_root.levelFinish)) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
_root.gotoAndPlay("LevelComplete");
}
}
_root.strChar.doMovement(_root.gKey);
if (_root.mainLoop == null) {
stopAllSounds();
_root.mainLoop = new Sound("_root");
_root.mainLoop.attachSound("mainloop");
_root.mainLoop.onSoundComplete = function () {
this.start();
};
_root.mainLoop.start();
}
if (_root.bonus == null) {
_root.bonus = new BonusObject();
}
if (!_root.bonus.positionSet) {
_root.bonus.setPosition();
}
if (_root.bonusTimer == null) {
_root.bonusTimer = new cTimer();
}
if ((_root.bonusTimer.seconds() == _root.bonus.expires) && (!_root.bonus.hit)) {
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer.restartTimer();
} else if ((_root.bonusTimer.seconds() == _root.bonus.expires) && (_root.bonus.hit)) {
_root.bonus.pId.removeMovieClip();
_root.bonus = new BonusObject();
if (!_root.bonus.positionSet) {
_root.bonus.setPosition();
}
_root.bonusTimer.restartTimer();
}
if ((!_root.bonus.hit) && (_root.strChar.moving != "fallPerm")) {
if (_root.strChar.pId.body_hit.hitTest(_root.bonus.pId)) {
_root.bonus.kill();
}
}
if (1 < _root.gameLevel) {
if (_root.greaseTimer == null) {
_root.greaseTimer = new cTimer();
}
if (_root.greaseTimer.seconds() == _root.poleGreaseRate) {
var rand1 = Math.floor(Math.random() * _root.randomRate);
var rand2 = Math.floor(Math.random() * _root.randomRate);
if (rand1 == rand2) {
_root.pg = new PoleGrease(_root.strChar, _root.strChar.pole);
} else {
_root.pg = new PoleGrease(_root.strChar);
}
_root.greaseTimer.restartTimer();
}
poleGreaseDoStuff();
if (_root.objectTimer == null) {
_root.objectTimer = new cTimer();
}
if (_root.objectTimer.seconds() == _root.fallingObjectRate) {
var rand1 = Math.floor(Math.random() * _root.randomRate);
var rand2 = Math.floor(Math.random() * _root.randomRate);
if (rand1 == rand2) {
_root.fo = new FallingObjects(_root.strChar, _root.strChar.pId._x);
} else {
_root.fo = new FallingObjects(_root.strChar);
}
_root.objectTimer.restartTimer();
}
foDrop();
}
if (Key.isDown(81)) {
_root.gotoAndPlay("GameOver");
}
if (Key.isDown(16) && (Key.isDown(53))) {
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
killAllObjects();
_root.gotoAndPlay("Egg");
}
if ((Key.isDown(16) && (Key.isDown(49))) && (Key.isDown(13))) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
if (_root.gameLevel < 3) {
_root.gotoAndPlay("LevelComplete");
}
if (_root.gameLevel == 3) {
_root.gotoAndStop("Winner");
}
}
if (_root.strChar.pole == _level0.level2pole28) {
_root.strChar.canComplete = true;
}
if (_root.strChar.canComplete) {
if (_root.strChar.pId.hitTest(_root.levelFinish)) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
_root.checkLives = null;
_root.gotoAndPlay("LevelComplete");
}
}
if (_root.checkLives == null) {
_root.checkLives = false;
}
if (!_root.checkLives) {
if (_root.gameLives == 3) {
_root.checkLives = true;
}
if (_root.gameLives == 2) {
_root.live3._visible = 0;
_root.checkLives = true;
}
if (_root.gameLives == 1) {
_root.live3._visible = 0;
_root.live2._visible = 0;
_root.checkLives = true;
}
if (_root.gameLives == 0) {
_root.live3._visible = 0;
_root.live2._visible = 0;
_root.live1._visible = 0;
_root.checkLives = true;
}
}
if (_root.level2Objects == null) {
_root.level2Objects = false;
}
if (!_root.level2Objects) {
if (_root.strChar._xscale < 0) {
_root.strChar._xscale = _root.strChar._xscale * -1;
}
_root.numOfPoles = 28;
_root.numOfStages = 7;
_root.fallingObjectRate = 5;
_root.poleGreaseRate = 5;
_root.randomRate = 12;
_root.level2Objects = true;
}
_root.gKey = {up:Key.isDown(38), down:Key.isDown(40), left:Key.isDown(37), right:Key.isDown(39), space:Key.isDown(32), noKey:((((!Key.isDown(38)) && (!Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(32))};
if (_root.gKey.left && (_root.gKey.down)) {
_root.gKey.noKey = true;
}
if (_root.gKey.left && (_root.gKey.up)) {
_root.gKey.noKey = true;
}
if (_root.gKey.right && (_root.gKey.down)) {
_root.gKey.noKey = true;
}
if (_root.gKey.right && (_root.gKey.up)) {
_root.gKey.noKey = true;
}
Frame 26
gotoAndPlay(_currentframe - 1);
Frame 37
if (_root.gameLevel == 2) {
_root.gameLevel++;
}
if (_root.levelMovieId != null) {
_root.levelMovieId.removeMovieClip();
_root.levelMovieId = null;
}
if (_root.strChar == null) {
_root.strChar = new Stripperella();
_root.strChar.setStage();
}
if (_root.strChar.canComplete) {
if (_root.strChar.pId.hitTest(_root.levelFinish)) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
_root.gotoAndPlay("LevelComplete");
}
}
_root.strChar.doMovement(_root.gKey);
if (_root.mainLoop == null) {
stopAllSounds();
_root.mainLoop = new Sound("_root");
_root.mainLoop.attachSound("mainloop");
_root.mainLoop.onSoundComplete = function () {
this.start();
};
_root.mainLoop.start();
}
if (_root.bonus == null) {
_root.bonus = new BonusObject();
}
if (!_root.bonus.positionSet) {
_root.bonus.setPosition();
}
if (_root.bonusTimer == null) {
_root.bonusTimer = new cTimer();
}
if ((_root.bonusTimer.seconds() == _root.bonus.expires) && (!_root.bonus.hit)) {
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer.restartTimer();
} else if ((_root.bonusTimer.seconds() == _root.bonus.expires) && (_root.bonus.hit)) {
_root.bonus.pId.removeMovieClip();
_root.bonus = new BonusObject();
if (!_root.bonus.positionSet) {
_root.bonus.setPosition();
}
_root.bonusTimer.restartTimer();
}
if ((!_root.bonus.hit) && (_root.strChar.moving != "fallPerm")) {
if (_root.strChar.pId.body_hit.hitTest(_root.bonus.pId)) {
_root.bonus.kill();
}
}
if (1 < _root.gameLevel) {
if (_root.greaseTimer == null) {
_root.greaseTimer = new cTimer();
}
if (_root.greaseTimer.seconds() == _root.poleGreaseRate) {
var rand1 = Math.floor(Math.random() * _root.randomRate);
var rand2 = Math.floor(Math.random() * _root.randomRate);
if (rand1 == rand2) {
_root.pg = new PoleGrease(_root.strChar, _root.strChar.pole);
} else {
_root.pg = new PoleGrease(_root.strChar);
}
_root.greaseTimer.restartTimer();
}
poleGreaseDoStuff();
if (_root.objectTimer == null) {
_root.objectTimer = new cTimer();
}
if (_root.objectTimer.seconds() == _root.fallingObjectRate) {
var rand1 = Math.floor(Math.random() * _root.randomRate);
var rand2 = Math.floor(Math.random() * _root.randomRate);
if (rand1 == rand2) {
_root.fo = new FallingObjects(_root.strChar, _root.strChar.pId._x);
} else {
_root.fo = new FallingObjects(_root.strChar);
}
_root.objectTimer.restartTimer();
}
foDrop();
}
if (Key.isDown(81)) {
_root.gotoAndPlay("GameOver");
}
if (Key.isDown(16) && (Key.isDown(53))) {
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
killAllObjects();
_root.gotoAndPlay("Egg");
}
if ((Key.isDown(16) && (Key.isDown(49))) && (Key.isDown(13))) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
if (_root.gameLevel < 3) {
_root.gotoAndPlay("LevelComplete");
}
if (_root.gameLevel == 3) {
_root.gotoAndStop("Winner");
}
}
if (_root.strChar.pole == _level0.level3pole27) {
_root.strChar.canComplete = true;
}
if (_root.strChar.canComplete) {
if (_root.strChar.pId.hitTest(_root.levelFinish)) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
_root.gotoAndStop("Winner");
}
}
if (_root.checkLives2 == null) {
_root.checkLives2 = false;
}
if (!_root.checkLives2) {
if (_root.gameLives == 3) {
_root.checkLives2 = true;
}
if (_root.gameLives == 2) {
_root.live3._visible = 0;
_root.checkLives2 = true;
}
if (_root.gameLives == 1) {
_root.live3._visible = 0;
_root.live2._visible = 0;
_root.checkLives2 = true;
}
if (_root.gameLives == 0) {
_root.live3._visible = 0;
_root.live2._visible = 0;
_root.live1._visible = 0;
_root.checkLives2 = true;
}
}
if (_root.level3Objects == null) {
_root.level3Objects = false;
}
if (!_root.level3Objects) {
if (_root.strChar._xscale < 0) {
_root.strChar._xscale = _root.strChar._xscale * -1;
}
_root.numOfPoles = 27;
_root.numOfStages = 10;
_root.fallingObjectRate = 4;
_root.poleGreaseRate = 3;
_root.randomRate = 10;
_root.level3Objects = true;
}
_root.gKey = {up:Key.isDown(38), down:Key.isDown(40), left:Key.isDown(37), right:Key.isDown(39), space:Key.isDown(32), noKey:((((!Key.isDown(38)) && (!Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(32))};
if (_root.gKey.left && (_root.gKey.down)) {
_root.gKey.noKey = true;
}
if (_root.gKey.left && (_root.gKey.up)) {
_root.gKey.noKey = true;
}
if (_root.gKey.right && (_root.gKey.down)) {
_root.gKey.noKey = true;
}
if (_root.gKey.right && (_root.gKey.up)) {
_root.gKey.noKey = true;
}
Frame 38
gotoAndPlay(_currentframe - 1);
Frame 49
if (_root.levelMovieId != null) {
_root.levelMovieId.removeMovieClip();
_root.levelMovieId = null;
}
if (_root.strChar == null) {
_root.strChar = new Stripperella();
_root.strChar.setStage();
}
if (_root.strChar.canComplete) {
if (_root.strChar.pId.hitTest(_root.levelFinish)) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
_root.gotoAndPlay("LevelComplete");
}
}
_root.strChar.doMovement(_root.gKey);
if (_root.mainLoop == null) {
stopAllSounds();
_root.mainLoop = new Sound("_root");
_root.mainLoop.attachSound("mainloop");
_root.mainLoop.onSoundComplete = function () {
this.start();
};
_root.mainLoop.start();
}
if (_root.bonus == null) {
_root.bonus = new BonusObject();
}
if (!_root.bonus.positionSet) {
_root.bonus.setPosition();
}
if (_root.bonusTimer == null) {
_root.bonusTimer = new cTimer();
}
if ((_root.bonusTimer.seconds() == _root.bonus.expires) && (!_root.bonus.hit)) {
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer.restartTimer();
} else if ((_root.bonusTimer.seconds() == _root.bonus.expires) && (_root.bonus.hit)) {
_root.bonus.pId.removeMovieClip();
_root.bonus = new BonusObject();
if (!_root.bonus.positionSet) {
_root.bonus.setPosition();
}
_root.bonusTimer.restartTimer();
}
if ((!_root.bonus.hit) && (_root.strChar.moving != "fallPerm")) {
if (_root.strChar.pId.body_hit.hitTest(_root.bonus.pId)) {
_root.bonus.kill();
}
}
if (1 < _root.gameLevel) {
if (_root.greaseTimer == null) {
_root.greaseTimer = new cTimer();
}
if (_root.greaseTimer.seconds() == _root.poleGreaseRate) {
var rand1 = Math.floor(Math.random() * _root.randomRate);
var rand2 = Math.floor(Math.random() * _root.randomRate);
if (rand1 == rand2) {
_root.pg = new PoleGrease(_root.strChar, _root.strChar.pole);
} else {
_root.pg = new PoleGrease(_root.strChar);
}
_root.greaseTimer.restartTimer();
}
poleGreaseDoStuff();
if (_root.objectTimer == null) {
_root.objectTimer = new cTimer();
}
if (_root.objectTimer.seconds() == _root.fallingObjectRate) {
var rand1 = Math.floor(Math.random() * _root.randomRate);
var rand2 = Math.floor(Math.random() * _root.randomRate);
if (rand1 == rand2) {
_root.fo = new FallingObjects(_root.strChar, _root.strChar.pId._x);
} else {
_root.fo = new FallingObjects(_root.strChar);
}
_root.objectTimer.restartTimer();
}
foDrop();
}
if (Key.isDown(81)) {
_root.gotoAndPlay("GameOver");
}
if (Key.isDown(16) && (Key.isDown(53))) {
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
killAllObjects();
_root.gotoAndPlay("Egg");
}
if ((Key.isDown(16) && (Key.isDown(49))) && (Key.isDown(13))) {
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
if (_root.gameLevel < 3) {
_root.gotoAndPlay("LevelComplete");
}
if (_root.gameLevel == 3) {
_root.gotoAndStop("Winner");
}
}
_root.gKey = {up:Key.isDown(38), down:Key.isDown(40), left:Key.isDown(37), right:Key.isDown(39), space:Key.isDown(32), noKey:((((!Key.isDown(38)) && (!Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(32))};
if (_root.gKey.left && (_root.gKey.down)) {
_root.gKey.noKey = true;
}
if (_root.gKey.left && (_root.gKey.up)) {
_root.gKey.noKey = true;
}
if (_root.gKey.right && (_root.gKey.down)) {
_root.gKey.noKey = true;
}
if (_root.gKey.right && (_root.gKey.up)) {
_root.gKey.noKey = true;
}
Instance of Symbol 264 MovieClip "level1stage1" in Frame 49
/* no clip actions */
Frame 50
gotoAndPlay(_currentframe - 1);
Frame 56
_root.iLevelPauseTimer.restartTimer();
var clip = (("level" + _root.gameLevel) + "complete");
var clipId = (clip + "10");
attachMovie(clip, clipId, 5);
_root.levelMovieId = eval (clipId);
if (_root.gameLevel == 1) {
_root.levelMovieId._x = 245;
_root.levelMovieId._y = 180;
}
if (_root.gameLevel == 2) {
_root.levelMovieId._x = 250;
_root.levelMovieId._y = 187.5;
}
tellTarget ("/hs_scripts") {
call("mLevelStart");
};
Frame 57
if (15 < _root.iLevelPauseTimer.seconds()) {
_root.gLevel = _root.gLevel + 1;
_root.gotoAndPlay("NextLevel");
}
Frame 58
_root.gotoAndPlay(_currentframe - 1);
Frame 65
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
_root.gameLives = 3;
tellTarget ("/hs_scripts") {
call("mGameOver");
};
Instance of Symbol 292 MovieClip in Frame 65
/* no clip actions */
Frame 77
_root.strChar.canComplete = false;
_root.strChar.pId.removeMovieClip();
_root.strChar = null;
_root.bonus.pId.removeMovieClip();
_root.bonus = null;
_root.bonusTimer = null;
_root.greaseTimer = null;
_root.pg = null;
_root.fo = null;
_root.objectTimer = null;
killAllObjects();
_root.gameLevel = 1;
_root.gameLives = 3;
tellTarget ("/hs_scripts") {
call("mGameOver");
};
Frame 94
stop();
Symbol 34 Button
on (release) {
_root.gotoAndPlay("level3");
}
Symbol 60 MovieClip [level2complete] Frame 29
stop();
Symbol 67 Button
on (release) {
_root.gotoAndPlay("level2");
}
Symbol 74 MovieClip [level1complete] Frame 30
stop();
Symbol 84 MovieClip [bonus] Frame 25
stop();
Symbol 155 MovieClip [striperella] Frame 8
gotoAndPlay (1);
Symbol 155 MovieClip [striperella] Frame 18
gotoAndPlay (12);
Symbol 155 MovieClip [striperella] Frame 21
_root.lockSpaceKey = false;
Symbol 155 MovieClip [striperella] Frame 72
gotoAndPlay (19);
Symbol 155 MovieClip [striperella] Frame 89
gotoAndPlay (76);
Symbol 155 MovieClip [striperella] Frame 140
gotoAndPlay (93);
Symbol 155 MovieClip [striperella] Frame 160
gotoAndPlay (144);
Symbol 161 MovieClip Frame 14
gotoAndPlay (1);
Symbol 162 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
loadMovie ("/spike_tv/stripperella/med/hs/HSScripts.swf", "");
Symbol 176 MovieClip Frame 4
stop();
Symbol 232 MovieClip Frame 77
_root.gotoAndStop("play");
Symbol 238 MovieClip Frame 1
_visible = 0;
loadMovie ("/spike_tv/stripperella/med/hs/HSMinScore.swf", "");
Symbol 238 MovieClip Frame 4
stop();
Symbol 241 Button
on (release) {
play();
}
Symbol 249 Button
on (release) {
_root.gotoAndPlay("MainLoop");
}
Symbol 283 Button
on (release) {
_root.gScore = 0;
if (_root.gameLevel == 1) {
_root.gotoAndPlay("MainLoop");
}
if (_root.gameLevel == 2) {
_root.gotoAndPlay("level2");
}
if (_root.gameLevel == 3) {
_root.gotoAndPlay("level3");
}
}
Symbol 296 MovieClip Frame 1
_visible = 0;
Symbol 296 MovieClip Frame 5
stop();
Symbol 321 Button
on (release) {
_root.gotoAndPlay("MainLoop");
}
Symbol 324 MovieClip Frame 1
stopAllSounds();
Symbol 330 Button
on (release, keyPress "<Down>") {
_root.cheat.target_item._y = _root.cheat.target_item._y + 18;
}
Symbol 333 Button
on (release, keyPress "<Space>") {
_root.cheat.target_item._xscale = _root.cheat.target_item._xscale / 0.9;
_root.cheat.target_item._yscale = _root.cheat.target_item._yscale / 0.9;
}
Symbol 335 Button
on (release, keyPress "<Left>") {
_root.cheat.target_item._x = _root.cheat.target_item._x - 18;
}
Symbol 337 Button
on (release, keyPress "<Right>") {
_root.cheat.target_item._x = _root.cheat.target_item._x + 18;
}
Symbol 339 Button
on (release, keyPress "<Up>") {
_root.cheat.target_item._y = _root.cheat.target_item._y - 18;
}
Symbol 342 Button
on (release, keyPress "z") {
_root.cheat.target_item._xscale = _root.cheat.target_item._xscale * 0.9;
_root.cheat.target_item._yscale = _root.cheat.target_item._yscale * 0.9;
}
Symbol 346 Button
on (release, keyPress "r") {
_root.cheat.target_item._x = 0;
_root.cheat.target_item._y = 0;
_root.cheat.target_item._xscale = 100;
_root.cheat.target_item._yscale = 100;
}
Symbol 347 MovieClip Frame 1
stopAllSounds();