Frame 10
stop();
Frame 13
stop();
Frame 18
function ResumeGame() {
trace("ResumeGame " + fPlaying);
if (fPlaying == true) {
Wall.Suspend(false);
Bob.Suspend(false);
} else {
gotoAndPlay (23);
}
}
var fPlaying = false;
var gSpeed = 1;
Wall.SetState(0);
Frame 19
stop();
Frame 23
gLife = 1;
fPopped = false;
gScore = 0;
gBottom = 240;
gCenter = 180;
Frame 24
function EndFall() {
fPopped = false;
Wall.ResetSpeed();
}
function PopBalloon() {
vBobFrame = Bob.gFrame;
if (fPopped == false) {
fPopped = true;
var vSound = new Sound();
vSound.attachSound("BalloonPop");
vSound.start();
IncScore(-50, Bob._x, Bob._y);
if (gLife < 4) {
Bob.PopBalloon();
Wall.Stop();
eval ("Life" + gLife).gotoAndPlay("Grey");
gLife = gLife + 1;
} else {
stopAllSounds();
m = new Sound(MusicDown);
m.attachSound("MusicDown");
m.start(0, 999);
Bob.Fall();
Wall.Fall();
}
} else if (vBobFrame == "Wrap") {
IncScore(-50, Bob._x, Bob._y);
}
}
function IncScore(vInc, x, y) {
DisplayPoints(vInc, x, y);
if (0 < vInc) {
var vSound = new Sound();
vSound.attachSound("ScoreUp");
vSound.start();
}
gScore = gScore + vInc;
if (gScore < 0) {
gScore = 0;
}
}
function DisplayPoints(vInc, x, y) {
var n = 0;
while (n < 6) {
vPoints = eval ("mPoints" + n);
if (vPoints.IsReady() == true) {
vPoints._x = x;
vPoints._y = y;
vPoints.SetValue(vInc);
return;
}
n++;
}
}
function ShowHelp() {
Bob.Suspend(true);
Wall.Suspend(true);
Help.gotoAndPlay("Help");
}
Frame 29
fPlaying = true;
trace(fPlaying);
Wall.SetState(1, 8);
Frame 39
stop();
Frame 54
stop();
Frame 58
stop();
Symbol 15 MovieClip Frame 104
_root.gotoAndPlay("Help");
Symbol 18 Button
on (rollOver) {
play();
}
Symbol 19 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 1
function CheckLoad() {
bytesLoaded = _root.getBytesLoaded();
bytesTotal = _root.getBytesTotal();
frames = frames + 1;
if ((bytesLoaded == bytesTotal) && (fNickLoad == true)) {
_parent.gotoAndPlay("Load");
} else {
loadbar.gotoAndStop(Math.min(Math.round((bytesLoaded / bytesTotal) * 100), frames * 1.5));
}
}
var bytesLoaded;
var bytesTotal;
var frames;
Symbol 21 MovieClip Frame 2
CheckLoad();
Symbol 21 MovieClip Frame 3
CheckLoad();
Symbol 21 MovieClip Frame 4
CheckLoad();
Symbol 21 MovieClip Frame 5
CheckLoad();
Symbol 21 MovieClip Frame 6
CheckLoad();
Symbol 21 MovieClip Frame 7
CheckLoad();
Symbol 21 MovieClip Frame 8
CheckLoad();
Symbol 21 MovieClip Frame 9
CheckLoad();
Symbol 21 MovieClip Frame 10
CheckLoad();
Symbol 21 MovieClip Frame 11
CheckLoad();
Symbol 21 MovieClip Frame 12
CheckLoad();
Symbol 21 MovieClip Frame 13
CheckLoad();
Symbol 21 MovieClip Frame 14
CheckLoad();
Symbol 21 MovieClip Frame 15
CheckLoad();
Symbol 21 MovieClip Frame 16
CheckLoad();
Symbol 21 MovieClip Frame 17
CheckLoad();
Symbol 21 MovieClip Frame 18
CheckLoad();
Symbol 21 MovieClip Frame 19
CheckLoad();
Symbol 21 MovieClip Frame 20
CheckLoad();
Symbol 21 MovieClip Frame 21
CheckLoad();
Symbol 21 MovieClip Frame 22
CheckLoad();
Symbol 21 MovieClip Frame 23
CheckLoad();
Symbol 21 MovieClip Frame 24
CheckLoad();
Symbol 21 MovieClip Frame 25
CheckLoad();
Symbol 21 MovieClip Frame 26
CheckLoad();
Symbol 21 MovieClip Frame 27
CheckLoad();
Symbol 21 MovieClip Frame 28
CheckLoad();
Symbol 21 MovieClip Frame 29
CheckLoad();
Symbol 21 MovieClip Frame 30
CheckLoad();
Symbol 21 MovieClip Frame 31
CheckLoad();
Symbol 21 MovieClip Frame 32
CheckLoad();
Symbol 21 MovieClip Frame 33
CheckLoad();
Symbol 21 MovieClip Frame 34
CheckLoad();
Symbol 21 MovieClip Frame 35
CheckLoad();
Symbol 21 MovieClip Frame 36
CheckLoad();
Symbol 21 MovieClip Frame 37
CheckLoad();
Symbol 21 MovieClip Frame 38
CheckLoad();
Symbol 21 MovieClip Frame 39
CheckLoad();
Symbol 21 MovieClip Frame 40
CheckLoad();
Symbol 21 MovieClip Frame 41
CheckLoad();
Symbol 21 MovieClip Frame 42
CheckLoad();
Symbol 21 MovieClip Frame 43
CheckLoad();
Symbol 21 MovieClip Frame 44
CheckLoad();
Symbol 21 MovieClip Frame 45
CheckLoad();
Symbol 21 MovieClip Frame 46
CheckLoad();
Symbol 21 MovieClip Frame 47
CheckLoad();
Symbol 21 MovieClip Frame 48
CheckLoad();
Symbol 21 MovieClip Frame 49
CheckLoad();
Symbol 21 MovieClip Frame 50
CheckLoad();
Symbol 21 MovieClip Frame 51
CheckLoad();
Symbol 21 MovieClip Frame 52
CheckLoad();
Symbol 21 MovieClip Frame 53
CheckLoad();
Symbol 21 MovieClip Frame 54
CheckLoad();
Symbol 21 MovieClip Frame 55
CheckLoad();
Symbol 21 MovieClip Frame 56
CheckLoad();
Symbol 21 MovieClip Frame 57
CheckLoad();
Symbol 21 MovieClip Frame 58
CheckLoad();
Symbol 21 MovieClip Frame 59
CheckLoad();
Symbol 21 MovieClip Frame 60
CheckLoad();
Symbol 21 MovieClip Frame 61
CheckLoad();
Symbol 21 MovieClip Frame 62
fNickLoad = true;
CheckLoad();
gotoAndPlay (2);
Symbol 51 Button
on (release) {
gotoAndPlay (18);
}
Symbol 52 MovieClip Frame 1
function IncSpeed() {
gSpeed = gSpeed + gInc;
if (0 < gInc) {
gInc = gInc - 0.05;
gEndLoop = gEndLoop - 10;
} else {
gotoAndPlay (26);
}
if (_parent.myState == 1) {
_parent.ResetSpeed();
}
trace("Speed " + gSpeed);
}
var gEndLoop = 60;
var gLoop = 0;
var gInc = 0.3;
var gSpeed = 1;
Symbol 52 MovieClip Frame 22
if (gLoop >= gEndLoop) {
IncSpeed();
gLoop = 0;
} else {
gLoop = gLoop + 1;
}
gotoAndPlay (10);
Symbol 52 MovieClip Frame 26
stop();
Symbol 54 MovieClip Frame 1
_parent.CheckCollision(this, 0);
Symbol 54 MovieClip Frame 2
_parent.CheckCollision(this, 0);
gotoAndPlay (1);
Symbol 54 MovieClip Frame 3
stop();
Symbol 56 MovieClip Frame 1
_parent.CheckCollision(this);
Symbol 56 MovieClip Frame 2
_parent.CheckCollision(this);
gotoAndPlay (1);
Symbol 58 MovieClip Frame 1
_parent.CheckCollision(this);
Symbol 58 MovieClip Frame 2
_parent.CheckCollision(this);
gotoAndPlay (1);
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 3
stop();
Symbol 70 MovieClip Frame 5
stop();
Symbol 70 MovieClip Frame 7
stop();
Symbol 70 MovieClip Frame 9
stop();
Symbol 78 MovieClip Frame 1
function Scroll(vInc) {
this._y = this._y + vInc;
}
function CheckBounds() {
var vRect = this.getBounds(_root);
var vPoint = new Object();
vPoint.x = 0;
vPoint.y = 0;
this.localToGlobal(vPoint);
var vRoot = 240;
if (vRoot < vPoint.y) {
BlankClip();
} else if (vPoint.y < 0) {
ResetClip();
} else if (_root.Bob.gFrame != "Wrap") {
var vBob = _root.Bob.Body.getBounds(_root);
if ((vBob.yMin < vRect.yMax) && (vRect.yMin < vBob.yMax)) {
vBob = _root.Bob.getBounds(_root);
if (vRect.xMax >= vBob.xMax) {
if (vRect.xMin < vBob.xMax) {
this.PopMe();
}
} else if (vBob.xMin >= vRect.xMin) {
if (vBob.xMin < vRect.xMax) {
this.PopMe();
}
} else if ((vRect.xMax < vBob.xMax) && (vBob.xMin < vRect.xMin)) {
this.PopMe();
}
}
}
}
function ScrollMe() {
if ((_parent.myState = true)) {
this.Scroll(_parent.myInc);
}
}
function ChooseBubble() {
mySound = "bubble";
if (this._name.charAt(0) == "B") {
var vList = new Array("bubble", "cluster", "bubble", "bubble");
var r = random(vList.length);
myFrame = vList[r];
myScore = 10;
} else {
var vList = new Array("butterfly", "cube", "duck", "pie");
var r = random(vList.length);
myFrame = vList[r];
myScore = 100;
if (1 < r) {
mySound = myFrame;
}
}
gotoAndPlay(myFrame);
}
function PopMe() {
var vLoc = new Object();
vLoc.x = 0;
vLoc.y = 0;
this.localToGlobal(vLoc);
var vSound = new Sound();
vSound.attachSound(mySound);
vSound.start();
myFrame = "None";
gotoAndPlay (53);
_root.IncScore(myScore, vLoc.x, vLoc.y);
}
function BlankClip() {
if (myFrame != "None") {
myFrame = "None";
gotoAndPlay(myFrame);
}
}
function ResetClip() {
if (myFrame == "None") {
this._rotation = _parent._rotation;
ChooseBubble();
}
}
var myFrame;
var mySound;
var myMargin = 10;
var myScore;
fPopped = false;
myFrame = "None";
ResetClip();
Symbol 78 MovieClip Frame 3
CheckBounds();
Symbol 78 MovieClip Frame 4
CheckBounds();
Symbol 78 MovieClip Frame 5
CheckBounds();
Symbol 78 MovieClip Frame 6
gotoAndPlay(myFrame);
Symbol 78 MovieClip Frame 9
CheckBounds();
Symbol 78 MovieClip Frame 10
CheckBounds();
Symbol 78 MovieClip Frame 11
CheckBounds();
Symbol 78 MovieClip Frame 12
CheckBounds();
Symbol 78 MovieClip Frame 13
CheckBounds();
Symbol 78 MovieClip Frame 14
CheckBounds();
Symbol 78 MovieClip Frame 15
CheckBounds();
Symbol 78 MovieClip Frame 16
CheckBounds();
Symbol 78 MovieClip Frame 17
gotoAndPlay(myFrame);
Symbol 78 MovieClip Frame 19
CheckBounds();
Symbol 78 MovieClip Frame 20
CheckBounds();
Symbol 78 MovieClip Frame 21
CheckBounds();
Symbol 78 MovieClip Frame 22
CheckBounds();
Symbol 78 MovieClip Frame 23
CheckBounds();
Symbol 78 MovieClip Frame 24
CheckBounds();
Symbol 78 MovieClip Frame 25
CheckBounds();
Symbol 78 MovieClip Frame 26
CheckBounds();
Symbol 78 MovieClip Frame 27
gotoAndPlay(myFrame);
Symbol 78 MovieClip Frame 29
CheckBounds();
Symbol 78 MovieClip Frame 30
CheckBounds();
Symbol 78 MovieClip Frame 31
CheckBounds();
Symbol 78 MovieClip Frame 32
CheckBounds();
Symbol 78 MovieClip Frame 33
CheckBounds();
Symbol 78 MovieClip Frame 34
CheckBounds();
Symbol 78 MovieClip Frame 35
CheckBounds();
Symbol 78 MovieClip Frame 36
CheckBounds();
Symbol 78 MovieClip Frame 37
gotoAndPlay(myFrame);
Symbol 78 MovieClip Frame 39
CheckBounds();
Symbol 78 MovieClip Frame 40
CheckBounds();
Symbol 78 MovieClip Frame 41
CheckBounds();
Symbol 78 MovieClip Frame 42
CheckBounds();
Symbol 78 MovieClip Frame 43
CheckBounds();
Symbol 78 MovieClip Frame 44
CheckBounds();
Symbol 78 MovieClip Frame 45
gotoAndPlay(myFrame);
Symbol 78 MovieClip Frame 46
CheckBounds();
Symbol 78 MovieClip Frame 47
CheckBounds();
Symbol 78 MovieClip Frame 48
CheckBounds();
Symbol 78 MovieClip Frame 49
CheckBounds();
Symbol 78 MovieClip Frame 50
CheckBounds();
Symbol 78 MovieClip Frame 51
gotoAndPlay(myFrame);
Symbol 78 MovieClip Frame 56
CheckBounds();
Symbol 78 MovieClip Frame 58
gotoAndPlay(myFrame);
Symbol 78 MovieClip Frame 59
stop();
Symbol 80 MovieClip Frame 1
function CheckBounds() {
var vRect = this.getBounds(_root);
var vPoint = new Object();
vPoint.x = 0;
vPoint.y = 0;
this.localToGlobal(vPoint);
var vRoot = 240;
if ((vRect.yMin < vRoot) && (0 < vRect.yMax)) {
var fPopped = false;
if (this.hitTest(_root.Bob.Balloon)) {
PopBalloon();
fPopped = true;
}
var vBob = _root.Bob.Body.getBounds(_root);
if (0 < vBob.yMax) {
if (((fPopped == false) && (vRect.yMin < vBob.yMax)) && (vBob.yMin < vRect.yMax)) {
if (vBob.xMax < vRect.xMax) {
if (vRect.xMin < vBob.xMax) {
BumpBob(-1);
}
} else if (vRect.xMin < vBob.xMin) {
if (vBob.xMin < vRect.xMax) {
BumpBob(1);
}
}
}
}
}
}
function BumpBob(vInc) {
_parent._parent.Bump("Rock");
_root.Bob.Bounce(20 * vInc);
}
function PopBalloon() {
_parent.PopBalloon();
}
Symbol 80 MovieClip Frame 2
CheckBounds();
Symbol 82 MovieClip Frame 1
function ScrollMe(vInc) {
this._y = this._y + vInc;
}
function CheckBounds(i) {
var vRect = this.getBounds(_root);
var vRoot = 240;
var vHeight = ((vRect.yMax - vRect.yMin) - 70);
if ((vRoot < vRect.yMin) && (0 < _parent.myInc)) {
this._y = this._y - (vHeight * 2);
this._rotation = this._rotation + 180;
mSwap = mSwap + 1;
_parent.IncWalls(1);
SetType("Regular", i);
} else if ((vRect.yMax < 0) && (_parent.myInc < 0)) {
this._y = this._y + (vHeight * 2);
this._rotation = this._rotation + 180;
mSwap = Math.min(mSwap - 1, 2);
_parent.IncWalls(-1);
SetType("Regular", i);
if ((mSwap < 0) && (i == 2)) {
_root.gotoAndPlay("End");
}
}
}
function CheckCollision(mc, vSide) {
if (mc.hitTest(_root.Bob)) {
var x;
var y;
var vPoint;
var vList;
var fPopped = false;
if (mc.hitTest(_root.Bob.Balloon)) {
vList = _root.Bob.GetBalloonPoints();
var i = 0;
while (i < vList.length) {
vPoint = new Object();
vPoint.x = vList[i].x;
vPoint.y = vList[i].y;
_root.Bob.localToGlobal(vPoint);
if (mc.hitTest(vPoint.x, vPoint.y, true)) {
PopBalloon();
fPopped = true;
break;
}
i++;
}
}
if (mc.hitTest(_root.Bob.Body)) {
vList = _root.Bob.GetBodyPoints();
var i = 0;
while (i < vList.length) {
vPoint = new Object();
vPoint.x = vList[i].x;
vPoint.y = vList[i].y;
_root.Bob.localToGlobal(vPoint);
if (mc.hitTest(vPoint.x, vPoint.y, true)) {
var vRect = mc.getBounds(_root);
var vBob = _root.Bob.getBounds(_root);
if (vSide == 0) {
if (vRect.xMax < _root.Bob.xMax) {
vSide = -1;
} else {
vSide = 1;
}
} else if (vRect.xMin < _root.Bob.xMax) {
vSide = 1;
} else {
vSide = -1;
}
var vInc = 0;
var vDif = Math.abs((_root.gCenter - vPoint.x) / 2);
if (fPopped == true) {
vInc = Math.max(vDif * 1.5, 35);
} else {
vInc = Math.min(vDif, 35);
vInc = Math.max(vInc, 10);
}
BumpBob(vSide * vInc, fPopped);
break;
}
i++;
}
}
}
_parent.CheckRocks(mc, vSide);
}
function BumpBob(vInc, fPopped) {
if (fPopped == false) {
_parent.Bump("Wall");
}
_root.Bob.Bounce(vInc);
}
function SetType(vFrame, i) {
var r = random(4);
var vSign = eval ("mSign" + i);
vSign.gotoAndStop("Sign" + r);
vSign._rotation = this._rotation;
var n = _parent.myWallsPassed;
trace("Middle rocks = " + n);
if (2 < n) {
Center0.gotoAndPlay(1);
} else {
Center0.gotoAndStop("Empty");
}
if (3 < n) {
Center1.gotoAndPlay(1);
} else {
Center1.gotoAndStop("Empty");
}
if (5 < n) {
Center2.gotoAndPlay(1);
} else {
Center2.gotoAndStop("Empty");
}
if (8 < n) {
Center3.gotoAndPlay(1);
} else {
Center3.gotoAndStop("Empty");
}
myFrame = vFrame;
}
function PopBalloon() {
_root.PopBalloon();
}
var myFrame;
var mSwap;
SetType("Regular", 0);
Symbol 82 MovieClip Frame 9
gotoAndPlay(myFrame);
Symbol 82 MovieClip Frame 16
gotoAndPlay(myFrame);
Symbol 89 MovieClip Frame 1
function Snip(vPoint) {
_parent.globalToLocal(vPoint);
this._x = vPoint.x;
this._y = vPoint.y;
myFrame = "Split";
gotoAndPlay (11);
}
function ExitFrame() {
var vPoint = new Object();
vPoint.y = 0;
vPoint.x = 0;
this.localToGlobal(vPoint);
if (vPoint.y < _root.gBottom) {
this._y = this._y + (myIncY + _parent.myInc);
var vBob = _root.Bob.getBounds(_root);
var vRect = this.getBounds(_root);
if ((vBob.yMin < (vRect.yMax - 35)) && (vRect.yMin < vBob.yMin)) {
myFrame = "Spin";
if (_root.Bob.Balloon.myFrame == "Snip") {
if (this.hitTest(_root.Bob.Balloon)) {
myFrame = "Split";
}
} else if ((vBob.xMax < (vRect.xMax + 10)) && ((vRect.xMin - 10) < vBob.xMin)) {
var vBobFrame = _root.Bob.gFrame;
if ((vBobFrame != "Fall") && (vBobFrame != "Pop")) {
_root.Bob.Wrap(this._name);
myFrame = "Empty";
}
}
if (myFrame != "Spin") {
gotoAndPlay(myFrame);
}
}
} else {
Reset();
}
}
function Reset() {
var rx = (random(5) - 3);
var ry = (random(3) + 2);
var vPoint = new Object();
vPoint.x = _root.gCenter + (rx * 10);
vPoint.y = ((-ry) * _root.gBottom) / 2;
this.globalToLocal(vPoint);
this._y = vPoint.y;
this._x = vPoint.x;
if (myFrame == "Split") {
myFrame = "Spin";
gotoAndPlay (2);
}
}
function GetPoints() {
return(myPoints);
}
function Suspend(flag) {
if (flag == true) {
stop();
} else {
play();
}
}
var myPoints;
var myFrame;
var myIncX;
var myIncY = -5;
Symbol 89 MovieClip Frame 2
ExitFrame();
Symbol 89 MovieClip Frame 3
ExitFrame();
Symbol 89 MovieClip Frame 4
ExitFrame();
Symbol 89 MovieClip Frame 5
ExitFrame();
Symbol 89 MovieClip Frame 6
ExitFrame();
Symbol 89 MovieClip Frame 7
ExitFrame();
Symbol 89 MovieClip Frame 8
ExitFrame();
Symbol 89 MovieClip Frame 9
ExitFrame();
Symbol 89 MovieClip Frame 10
gotoAndPlay (2);
Symbol 89 MovieClip Frame 20
Reset();
Symbol 89 MovieClip Frame 21
stop();
Symbol 90 MovieClip Frame 1
function SetState(vState, vInc) {
myState = vState;
myInc = vInc;
}
function ScrollWalls() {
if (myState != 0) {
var vWall = "";
var i = 1;
while (i < 3) {
vWall = "Wall" + i;
eval (vWall).ScrollMe(myInc);
i++;
}
var i = 1;
while (i < 3) {
vWall = "Wall" + i;
eval (vWall).CheckBounds(i);
i++;
}
if (1 < myState) {
myInc = myInc + (1 * Timer.gSpeed);
myState = myState - 1;
if (myState == 1) {
ResetSpeed();
}
}
}
}
function Bump(vString) {
var vSound = new Sound();
vSound.attachSound("Bounce" + vString);
vSound.start();
_root.IncScore(myPoints, _root.Bob._x, _root.Bob._y);
if (0 < myState) {
myInc = -4;
myState = 12;
}
}
function ResetSpeed() {
trace("ResetSpeed " + Timer.gSpeed);
myInc = 8 * Timer.gSpeed;
myState = 1;
}
function Stop() {
myInc = -4;
myState = -1;
}
function Fall() {
myInc = -25;
myState = -1;
}
function Suspend(flag) {
if (flag == true) {
stop();
} else {
play();
}
Net.Suspend(flag);
}
function IncWalls(n) {
myWallsPassed = myWallsPassed + n;
}
var myState;
var myInc;
var myPoints = -50;
var myLastSettings = new Array();
var myWallsPassed;
ScrollWalls();
function CheckRocks(mc, vSide) {
var vRock = "";
var j = 1;
while (j < 5) {
vRock = eval ("Rock" + j);
if (mc.hitTest(vRock)) {
vList = vRock.GetPoints();
var i = 0;
while (i < vList.length) {
vPoint = new Object();
vPoint.x = vList[i].x;
vPoint.y = vList[i].y;
vRock.localToGlobal(vPoint);
if (mc.hitTest(vPoint.x, vPoint.y, true)) {
if (vSide == 0) {
var vRect = mc.getBounds(_root);
if (vRock._x < vRect.xMin) {
vSide = -1;
} else {
vSide = 1;
}
}
var vDif = Math.abs(vPoint.x / 2);
var vInc = Math.min(vDif, 35);
vRock.Bump(vSide * vInc, -8);
break;
}
i++;
}
}
j++;
}
}
Symbol 90 MovieClip Frame 2
ScrollWalls();
Symbol 113 MovieClip Frame 1
gotoAndStop("p" + _parent.myPoints);
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 3
stop();
Symbol 113 MovieClip Frame 4
stop();
Symbol 113 MovieClip Frame 5
stop();
Symbol 113 MovieClip Frame 6
stop();
Symbol 113 MovieClip Frame 7
stop();
Symbol 113 MovieClip Frame 8
stop();
Symbol 113 MovieClip Frame 9
stop();
Symbol 113 MovieClip Frame 10
stop();
gotoAndPlay (6);
Symbol 113 MovieClip Frame 11
trace((("500 " + this) + " ") + _parent.myPoints);
stop();
Symbol 113 MovieClip Frame 14
trace((("1000 " + this) + " ") + _parent.myPoints);
stop();
Symbol 113 MovieClip Frame 17
trace((("3000 " + this) + " ") + _parent.myPoints);
stop();
Symbol 113 MovieClip Frame 19
stop();
Symbol 113 MovieClip Frame 20
stop();
Symbol 113 MovieClip Frame 21
stop();
Symbol 113 MovieClip Frame 22
trace((("-1000 " + this) + " ") + _parent.myPoints);
stop();
Symbol 114 MovieClip Frame 1
gotoAndStop("p" + _parent.myPoints);
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 114 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 5
stop();
Symbol 114 MovieClip Frame 6
stop();
Symbol 114 MovieClip Frame 7
stop();
Symbol 114 MovieClip Frame 8
stop();
Symbol 114 MovieClip Frame 9
stop();
Symbol 114 MovieClip Frame 10
stop();
gotoAndPlay (6);
Symbol 114 MovieClip Frame 11
trace((("500 " + this) + " ") + _parent.myPoints);
stop();
Symbol 114 MovieClip Frame 14
trace((("1000 " + this) + " ") + _parent.myPoints);
stop();
Symbol 114 MovieClip Frame 17
trace((("3000 " + this) + " ") + _parent.myPoints);
stop();
Symbol 114 MovieClip Frame 19
stop();
Symbol 114 MovieClip Frame 20
stop();
Symbol 114 MovieClip Frame 21
stop();
Symbol 114 MovieClip Frame 22
trace((("-1000 " + this) + " ") + _parent.myPoints);
stop();
Symbol 115 MovieClip Frame 1
function SetValue(vValue) {
fReady = false;
var vFrame = "Score";
if (vValue < 0) {
vValue = "r" + (-vValue);
vFrame = "Impact";
}
myPoints = vValue;
Value.gotoAndPlay("p" + vValue);
gotoAndPlay(vFrame);
}
function Done() {
gotoAndPlay (2);
myPoints = "";
this._x = -10;
this._y = -10;
fReady = true;
}
function IsReady() {
return(fReady);
}
var myPoints;
var fReady;
Symbol 115 MovieClip Frame 2
fReady = true;
stop();
Symbol 115 MovieClip Frame 3
stop();
Symbol 115 MovieClip Frame 5
play();
Symbol 115 MovieClip Frame 6
play();
Symbol 115 MovieClip Frame 7
play();
Symbol 115 MovieClip Frame 8
play();
Symbol 115 MovieClip Frame 9
play();
Symbol 115 MovieClip Frame 10
play();
Symbol 115 MovieClip Frame 11
play();
Symbol 115 MovieClip Frame 12
play();
Symbol 115 MovieClip Frame 13
Done();
Symbol 115 MovieClip Frame 14
play();
Symbol 115 MovieClip Frame 15
play();
Symbol 115 MovieClip Frame 16
play();
Symbol 115 MovieClip Frame 17
play();
Symbol 115 MovieClip Frame 18
play();
Symbol 115 MovieClip Frame 19
play();
Symbol 115 MovieClip Frame 20
play();
Symbol 115 MovieClip Frame 21
play();
Symbol 115 MovieClip Frame 22
Done();
Symbol 123 Button
on (release) {
gotoAndPlay (55);
}
Symbol 130 MovieClip Frame 1
function ClickMe() {
trace("Click " + myFrame);
if (myFrame == "Regular") {
trace("SetSnip");
myFrame = "Snip";
gotoAndPlay(myFrame);
}
}
function Return() {
trace("Return Balloon" + this);
myFrame = "Regular";
this.gotoAndPlay(myFrame);
}
function PopMe() {
trace("PopBalloon");
myFrame = "BalloonPop";
this.gotoAndPlay("BalloonPop");
}
var myFrame;
myFrame = "Regular";
gotoAndPlay(myFrame);
Symbol 130 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 7
stop();
Symbol 130 MovieClip Frame 12
myFrame = "Regular";
_parent.EndWrap();
Symbol 130 MovieClip Frame 19
Return();
Symbol 130 MovieClip Frame 20
stop();
Symbol 137 Button
on (release) {
_root.ResumeGame();
gotoAndPlay (6);
}
Symbol 141 MovieClip Frame 1
function ClickMe() {
trace("Click " + myFrame);
if (myFrame == "Regular") {
trace("SetSnip");
myFrame = "Snip";
gotoAndPlay(myFrame);
}
}
function Return() {
trace("Return Balloon" + this);
myFrame = "Regular";
this.gotoAndPlay(myFrame);
}
function PopMe() {
trace("PopBalloon");
myFrame = "BalloonPop";
this.gotoAndPlay("BalloonPop");
}
var myFrame;
myFrame = "Regular";
gotoAndPlay(myFrame);
Symbol 141 MovieClip Frame 3
stop();
Symbol 141 MovieClip Frame 7
stop();
Symbol 141 MovieClip Frame 12
myFrame = "Regular";
_parent.EndWrap();
Symbol 141 MovieClip Frame 19
Return();
Symbol 141 MovieClip Frame 20
stop();
Symbol 152 MovieClip Frame 1
Instance of Symbol 141 MovieClip "Balloon" in Symbol 152 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_parent.gSuspend == false) {
if (this.hitTest(_root._Xmouse, _root._Ymouse)) {
this.ClickMe();
}
}
}
Symbol 152 MovieClip Frame 5
stop();
Symbol 152 MovieClip Frame 6
stop();
Symbol 160 Button
on (release) {
ShowHelp();
}
Symbol 176 MovieClip Frame 1
function ClickMe() {
trace("Click " + myFrame);
if (myFrame == "Regular") {
trace("SetSnip");
myFrame = "Snip";
gotoAndPlay(myFrame);
}
}
function Return() {
trace("Return Balloon" + this);
myFrame = "Regular";
this.gotoAndPlay(myFrame);
}
function PopMe() {
trace("PopBalloon");
myFrame = "BalloonPop";
this.gotoAndPlay("BalloonPop");
}
var myFrame;
myFrame = "Regular";
gotoAndPlay(myFrame);
Symbol 176 MovieClip Frame 3
stop();
Symbol 176 MovieClip Frame 7
stop();
Symbol 176 MovieClip Frame 12
myFrame = "Regular";
_parent.EndWrap();
Symbol 176 MovieClip Frame 19
Return();
Symbol 176 MovieClip Frame 20
stop();
Symbol 183 MovieClip Frame 1
function checkMouse(fTrace) {
if (gSuspend == false) {
var vSide = gSide;
if (gBarrierX == 0) {
if (Key.isDown(Key.RIGHT)) {
vSide = "R";
_root.Bob.Move(1);
} else if (Key.isDown(Key.LEFT)) {
vSide = "L";
_root.Bob.Move(-1);
}
if (fKeyBoard == true) {
if ((_root._xMouse != gLastMouse[0]) || (_root._yMouse != gLastMouse[1])) {
fKeyBoard = false;
}
}
if (fKeyBoard == false) {
if (_root._xmouse < (this._x - 10)) {
vSide = "L";
this._x = this._x - gInc;
} else if ((this._x + 10) < _root._xmouse) {
vSide = "R";
this._x = this._x + gInc;
}
}
} else {
gBarrierX = 0;
}
if (((gFrame == "ArmL") || (gFrame == "ArmR")) || (gFrame == "Float")) {
SetFrame("Arm" + vSide);
gSide = vSide;
}
if (gInc < gMaxInc) {
gInc = gInc + 2;
}
this._y = this._y - gIncY;
if (this._y < 20) {
gIncY = 0;
} else if ((gFrame == "Fall") && (gIncY < 10)) {
gIncY = 10;
}
}
}
function Move(vDir) {
if (fKeyBoard == false) {
gLastMouse = new Array(_root._xMouse, _root._yMouse);
trace(gLastMouse.toString);
fKeyBoard = true;
}
trace(("Move " + vDir) + fKeyBoard);
this._x = this._x + (vDir * gInc);
}
function carreen(fSwitch) {
if (gSuspend == false) {
if (gSide == "L") {
if (gBarrierX == 0) {
this._x = this._x - (gInc * 2);
} else {
gSide = "R";
gBarrierX = 0;
}
} else if (gBarrierX == 0) {
this._x = this._x + (gInc * 2);
} else {
gSide = "L";
gBarrierX = 0;
}
}
}
function Bounce(vInc) {
gBarrierX = this._x;
this._x = this._x + vInc;
gInc = 2;
}
function PopBalloon() {
SetFrame("Pop");
Balloon.PopMe();
}
function Wrap(vName) {
if (gFrame != "Fall") {
if (myNetName != "") {
eval ("_root.Wall." + myNetName).Reset();
}
myNetName = vName;
SetFrame("Wrap");
}
}
function EndWrap() {
if (gFrame == "Wrap") {
SetFrame("ArmR");
var vPoint = new Object();
vPoint.x = 0;
vPoint.y = 0;
this.localToGlobal(vPoint);
eval ("_root.Wall." + myNetName).Snip(vPoint);
myNetName = "";
gBarrierX = 0;
trace("EndWrap " + gFrame);
checkMouse(true);
} else {
trace("EndWrapFailed " + gFrame);
}
}
function SetFrame(vFrame) {
if ((gFrame != "Pop") && (gFrame != vFrame)) {
gFrame = vFrame;
gotoAndPlay(vFrame);
}
}
function Loop() {
gotoAndPlay(gFrame);
}
function EndFall() {
trace("EndFall");
gFrame = "Float";
gotoAndPlay(gFrame);
Balloon.Return();
_root.EndFall();
}
function Fall() {
trace("Fall");
gFrame = "Fall";
gIncY = _root.Wall.myInc;
Balloon.gotoAndPlay("BalloonPop");
gotoAndPlay(gFrame);
}
function SetMyPoints() {
trace("SetMyPoints");
gBodyPoints = new Array();
var vPoint1 = new Object();
vPoint1.x = 22;
vPoint1.y = 18;
gBodyPoints.push(vPoint1);
var vPoint2 = new Object();
vPoint2.x = 11;
vPoint2.y = 40;
gBodyPoints.push(vPoint2);
var vPoint3 = new Object();
vPoint3.x = -8;
vPoint3.y = 32;
gBodyPoints.push(vPoint3);
var vPoint = new Object();
vPoint.x = -6;
vPoint.y = 26;
gBodyPoints.push(vPoint);
var vPoint = new Object();
vPoint.x = 4;
vPoint.y = 6;
gBodyPoints.push(vPoint);
gBalloonPoints = new Array();
var vPoint = new Object();
vPoint.x = -10;
vPoint.y = -34;
gBalloonPoints.push(vPoint);
var vPoint = new Object();
vPoint.x = 4;
vPoint.y = -42;
gBalloonPoints.push(vPoint);
var vPoint = new Object();
vPoint.x = 16;
vPoint.y = -40;
gBalloonPoints.push(vPoint);
var vPoint = new Object();
vPoint.x = 20;
vPoint.y = -36;
gBalloonPoints.push(vPoint);
var vPoint = new Object();
vPoint.x = 22;
vPoint.y = -20;
gBalloonPoints.push(vPoint);
var vPoint = new Object();
vPoint.x = 11;
vPoint.y = -17;
gBalloonPoints.push(vPoint);
}
function GetBalloonPoints() {
if (gBalloonPoints.length < 1) {
this.SetMyPoints();
}
return(gBalloonPoints);
}
function GetBodyPoints() {
if (gBodyPoints.length < 1) {
this.SetMyPoints();
}
return(gBodyPoints);
}
function Suspend(flag) {
gSuspend = flag;
if (flag == true) {
stop();
} else {
play();
}
}
var gFrame = "Float";
var gMaxInc = 10;
var gBarrierX;
var gSide = "L";
var gBodyPoints;
var gBalloonPoints;
var gInc = 10;
var gIncY;
var fKeyBoard = false;
var myNetName;
var gSuspend = false;
this.SetMyPoints();
gotoAndPlay(gFrame);
Instance of Symbol 141 MovieClip "Balloon" in Symbol 183 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_parent.gSuspend == false) {
if (this.hitTest(_root._Xmouse, _root._Ymouse)) {
this.ClickMe();
}
}
}
Symbol 183 MovieClip Frame 2
checkMouse();
Symbol 183 MovieClip Frame 3
checkMouse();
Symbol 183 MovieClip Frame 4
checkMouse();
Symbol 183 MovieClip Frame 5
checkMouse();
Symbol 183 MovieClip Frame 6
checkMouse();
Loop();
Symbol 183 MovieClip Frame 7
checkMouse();
Symbol 183 MovieClip Frame 8
checkMouse();
Symbol 183 MovieClip Frame 9
checkMouse();
Symbol 183 MovieClip Frame 10
checkMouse();
Symbol 183 MovieClip Frame 11
checkMouse();
Symbol 183 MovieClip Frame 12
checkMouse();
Loop();
Symbol 183 MovieClip Frame 13
checkMouse();
Symbol 183 MovieClip Frame 14
checkMouse();
Symbol 183 MovieClip Frame 15
checkMouse();
Symbol 183 MovieClip Frame 16
checkMouse();
Symbol 183 MovieClip Frame 17
checkMouse();
Symbol 183 MovieClip Frame 18
checkMouse();
Loop();
Symbol 183 MovieClip Frame 19
trace("Pop " + gFrame);
checkMouse();
Symbol 183 MovieClip Frame 23
checkMouse();
Symbol 183 MovieClip Frame 27
checkMouse();
EndFall();
Instance of Symbol 176 MovieClip "Balloon" in Symbol 183 MovieClip Frame 28
onClipEvent (mouseUp) {
this.ClickMe();
}
Symbol 183 MovieClip Frame 30
carreen();
Symbol 183 MovieClip Frame 31
carreen();
Symbol 183 MovieClip Frame 32
carreen();
Symbol 183 MovieClip Frame 33
carreen(true);
Symbol 183 MovieClip Frame 34
carreen();
Symbol 183 MovieClip Frame 35
carreen();
Symbol 183 MovieClip Frame 36
carreen();
Symbol 183 MovieClip Frame 37
if (gFrame == "Wrap") {
gotoAndPlay (30);
}
Symbol 183 MovieClip Frame 38
checkMouse();
Symbol 183 MovieClip Frame 39
checkMouse();
Symbol 183 MovieClip Frame 40
checkMouse();
Symbol 183 MovieClip Frame 41
checkMouse();
Loop();
Symbol 193 Button
on (release) {
gotoAndPlay (18);
}
Symbol 196 Button
on (release) {
gotoAndPlay (18);
}
Symbol 207 Button
on (release) {
gotoAndPlay (18);
}