Combined Code
frame 1 {
function mySiteLink() {
getURL('http://www.clockcrew.cc', '_blank');
}
function mySiteLink2() {
getURL('http://www.gamesfree.com', '_blank');
}
var CPMStarContentSpotID = '0';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2034QBE6D8C24');
var gamedata = SharedObject.getLocal('game_data');
var rightClick = new ContextMenu();
rightClick.hideBuiltInItems();
_root.menu = rightClick;
var mySiteLink = new ContextMenuItem('The Clock Crew', mySiteLink);
rightClick.customItems.push(mySiteLink);
var mySiteLink2 = new ContextMenuItem('Gamesfree.com', mySiteLink2);
rightClick.customItems.push(mySiteLink2);
}
movieClip 4 {
}
movieClip 6 {
}
movieClip 11 {
}
movieClip 15 {
}
movieClip 18 {
}
movieClip 21 {
}
movieClip 24 {
}
movieClip 31 {
frame 21 {
stop();
}
}
button 37 {
on (release) {
getURL('http://www.gamesfree.com', '_blank');
}
}
movieClip 38 {
frame 1 {
stepp = 0;
}
frame 1 {
var CPMStarPoolID = 5237;
var CPMStarSubPoolID = 2;
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?poolid=' + CPMStarPoolID + '&subpoolid=' + CPMStarSubPoolID);
}
instance loaderbar of movieClip 11 {
onClipEvent (enterFrame) {
_parent.loaderbar.gotoAndStop(_parent.stepp);
if (_root.getBytesLoaded() / _root.getBytesTotal() > _parent.stepp / 100) {
++_parent.stepp;
}
if (_parent.stepp >= 100) {
_root.loaddone = true;
trace('ooh boooooooooy');
}
}
}
}
movieClip 40 {
}
movieClip 80 boss_bombasplode {
frame 38 {
this.removeMovieClip();
}
}
movieClip 91 {
frame 27 {
_parent.removeMovieClip();
}
}
movieClip 92 boss_lazer {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 95 {
}
movieClip 107 boss_mushroomcloud {
frame 1 {
stop();
}
frame 11 {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
this.swapDepths(this._y);
}
}
movieClip 120 hat_1 {
frame 46 {
stop();
}
}
movieClip 128 hat_1run {
}
movieClip 130 hat_2 {
}
movieClip 136 hat_2run {
}
movieClip 138 hat_4 {
}
movieClip 139 hat_4run {
}
movieClip 141 hat_5 {
}
movieClip 143 hat_5run {
}
movieClip 145 head1 {
}
movieClip 147 head2 {
}
movieClip 149 head3 {
}
movieClip 151 head4 {
}
movieClip 153 head5 {
}
movieClip 167 {
frame 100 {
stop();
}
}
movieClip 179 {
frame 100 {
stop();
}
}
movieClip 191 {
frame 100 {
stop();
}
}
movieClip 192 health {
frame 1 {
this.swapDepths(899);
gotoAndStop(_root.game.monster.health);
}
instance of movieClip 167 {
onClipEvent (enterFrame) {
_parent._x = _root.game.monster._x;
_parent._y = _root.game.monster._y;
}
}
instance of movieClip 179 {
onClipEvent (enterFrame) {
_parent._x = _root.game.monster._x;
_parent._y = _root.game.monster._y;
}
}
instance of movieClip 191 {
onClipEvent (enterFrame) {
_parent._x = _root.game.monster._x;
_parent._y = _root.game.monster._y;
}
}
}
movieClip 195 {
}
movieClip 197 {
}
movieClip 199 {
}
movieClip 201 {
}
movieClip 205 monster_hurt {
frame 1 {
_root.game.monster.eating = true;
_root.hurt.start();
}
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum, 'hat', 3);
}
}
frame 13 {
_root.game.monster.eating = false;
_root.game.monster.attachMovie('monster_stand', 'monsterbody', 1);
_root.game.monster.monsterbody.removeMovieClip();
}
}
movieClip 207 {
}
movieClip 210 {
}
movieClip 212 {
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum + 'run', 'hat', 3);
}
}
}
movieClip 214 {
}
movieClip 216 {
}
movieClip 217 monster_run_grabsmall {
frame 1 {
_root.step.start();
}
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_' + _root.game.monster.currentobject, 'monsterobject', 1);
monsterobject.stop();
}
}
frame 14 {
_root.step.start();
}
}
movieClip 225 {
}
movieClip 227 {
}
movieClip 228 monster_run_throw {
frame 1 {
_root.throw1.start();
}
frame 3 {
_root.step.start();
}
frame 16 {
_root.step.start();
}
frame 30 {
_root.step.start();
}
frame 33 {
gotoAndPlay(6);
}
}
movieClip 230 {
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum, 'hat', 3);
}
}
}
movieClip 231 monster_stand {
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 241 {
}
movieClip 243 {
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum, 'hat', 3);
}
}
}
movieClip 252 monster_stand_eat {
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_' + _root.game.monster.currentobject, 'monsterobject', 1);
monsterobject.stop();
}
}
frame 4 {
_root.eat1.start();
}
instance of movieClip 236 {
onClipEvent (load) {
this._width = _root.game.monster.objectwidth + 20;
}
}
instance of movieClip 238 {
onClipEvent (load) {
this._width = _root.game.monster.objectwidth + 15;
}
}
instance of movieClip 241 {
onClipEvent (load) {
this._x += _root.game.monster.objectwidth / 2;
}
}
instance of movieClip 243 {
onClipEvent (load) {
this._x -= _root.game.monster.objectwidth / 2;
}
}
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_' + _root.game.monster.currentobject, 'monsterobject', 1);
monsterobject.gotoAndPlay('death');
}
}
frame 33 {
_root.eat2.start();
}
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum + 'run', 'hat', 3);
}
}
frame 44 {
_root.game.monster.currentobject = 'none';
_root.game.monster.eating = false;
_root.game.monster.healthup = true;
}
frame 80 {
gotoAndPlay(45);
}
}
movieClip 263 {
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum + 'run', 'hat', 3);
}
}
}
movieClip 264 monster_stand_eat_pill {
frame 1 {
_root.eat1.start();
}
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_' + _root.game.monster.currentobject, 'monsterobject', 1);
monsterobject.stop();
}
}
instance of movieClip 236 {
onClipEvent (load) {
this._width = _root.game.monster.objectwidth + 20;
}
}
instance of movieClip 238 {
onClipEvent (load) {
this._width = _root.game.monster.objectwidth + 15;
}
}
instance of movieClip 241 {
onClipEvent (load) {
this._x += _root.game.monster.objectwidth / 2;
}
}
instance of movieClip 243 {
onClipEvent (load) {
this._x -= _root.game.monster.objectwidth / 2;
}
}
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_' + _root.game.monster.currentobject, 'monsterobject', 1);
monsterobject.gotoAndPlay('death');
}
}
frame 37 {
_root.eat2.start();
}
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum + 'run', 'hat', 3);
}
}
frame 58 {
_root.groundpunch.start();
}
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum + 'run', 'hat', 3);
}
}
frame 74 {
_root.monsterhit3.start();
}
frame 83 {
_root.monsterhit3.start();
}
frame 89 {
_root.monsterhit3.start();
}
frame 93 {
_root.monsterhit3.start();
}
frame 99 {
_root.monsterhit3.start();
}
frame 108 {
_root.monsterhit3.start();
}
frame 136 {
_root.gotoAndStop('five');
}
}
movieClip 273 monster_stand_grabmiss {
}
movieClip 274 monster_stand_grabsmall {
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_' + _root.game.monster.currentobject, 'monsterobject', 1);
monsterobject.stop();
}
}
}
movieClip 281 monster_stand_throw {
frame 1 {
_root.throw1.start();
}
frame 40 {
gotoAndPlay(4);
}
}
movieClip 284 object_ajuice {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'ajuice';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 288 {
}
movieClip 301 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
frame 7 {
stop();
}
}
movieClip 304 {
frame 30 {
_parent.attackfin = true;
}
}
movieClip 313 object_amoeba {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'amoeba';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'amoeba';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 320 object_amoeba2 {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'amoeba2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'amoeba2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 322 {
}
movieClip 323 object_arrow {
frame 1 {
if (_root.game.monster.edead >= 4) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'arrow2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(9);
}
}
this.swapDepths(this._y);
}
frame 8 {
gotoAndPlay(7);
}
frame 9 {
stop();
this.removeMovieClip();
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 14 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 15 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 16 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 17 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 18 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 324 object_arrow2 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'arrow2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 326 object_barrel1 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'barrel1';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 328 object_barrel2 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'barrel2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 330 object_barrel3 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'barrel3';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 340 {
}
movieClip 344 {
}
movieClip 360 object_bomb1 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'bomb1';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
if (_root.countdown == 0 && _root.game.monster.currentobject != 'bomb1') {
gotoAndPlay('asplode');
}
if (asplode == true) {
gotoAndPlay('asplode');
}
this.swapDepths(this._y);
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndStop(_root.countdown);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndPlay(_root.countdown);
}
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 13 {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
frame 50 {
stop();
this.removeMovieClip();
}
}
movieClip 376 object_bomb2 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'bomb2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
if (_root.countdown == 0 && _root.game.monster.currentobject != 'bomb2') {
gotoAndPlay('asplode');
}
if (asplode == true) {
gotoAndPlay('asplode');
}
this.swapDepths(this._y);
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndStop(_root.countdown);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndPlay(_root.countdown);
}
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 13 {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
frame 50 {
stop();
this.removeMovieClip();
}
}
movieClip 391 object_bomb3 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'bomb3';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
if (_root.countdown == 0 && _root.game.monster.currentobject != 'bomb3') {
gotoAndPlay('asplode');
}
if (asplode == true) {
gotoAndPlay('asplode');
}
this.swapDepths(this._y);
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndStop(_root.countdown);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndPlay(_root.countdown);
}
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 13 {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
frame 50 {
stop();
this.removeMovieClip();
}
}
movieClip 407 object_bomb4 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'bomb4';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
if (_root.countdown == 0 && _root.game.monster.currentobject != 'bomb4') {
gotoAndPlay('asplode');
}
if (asplode == true) {
gotoAndPlay('asplode');
}
this.swapDepths(this._y);
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndStop(_root.countdown);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
gotoAndPlay(_root.countdown);
}
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 13 {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
frame 50 {
stop();
this.removeMovieClip();
}
}
movieClip 409 object_box1 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'box1';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 435 {
}
movieClip 450 {
frame 37 {
_parent.attackfin = true;
}
}
movieClip 458 object_boxer {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'boxer';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'boxer';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 484 {
}
movieClip 499 {
frame 37 {
_parent.attackfin = true;
}
}
movieClip 507 object_boxer2 {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'boxer2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'boxer2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 532 {
}
movieClip 549 {
frame 44 {
_parent.attackfin = true;
}
}
movieClip 557 object_broomman {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'broomman';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'broomman';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 571 {
}
movieClip 584 {
frame 18 {
_parent.attackfin = true;
}
}
movieClip 592 object_devilduck {
frame 2 {
speed = 4;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'devilduck';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'devilduck';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 606 {
}
movieClip 617 {
frame 18 {
_parent.attackfin = true;
}
}
movieClip 625 object_duck {
frame 2 {
speed = 4;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'duck';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'duck';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 633 {
}
movieClip 668 {
frame 27 {
_parent.attackfin = true;
}
}
movieClip 676 object_dummy {
frame 2 {
speed = 4;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 687 {
}
movieClip 719 {
frame 27 {
_parent.attackfin = true;
}
}
movieClip 727 object_dummy2 {
frame 2 {
speed = 4;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 735 object_dummy3 {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy3';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy3';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 743 object_dummy4 {
frame 2 {
speed = 4;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy4';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummy4';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 746 object_dummyhead {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'dummyhead';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 749 object_forklift {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'forklift';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 751 object_grapedrank {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'grapedrank';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 759 {
}
movieClip 776 {
frame 26 {
_parent.attackfin = true;
}
}
movieClip 784 object_hatcrab {
frame 2 {
speed = 4;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'hatcrab';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'hatcrab';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 786 object_house {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'house';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 789 object_house2 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'house2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 792 object_ketchup {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'ketchup';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 795 {
}
movieClip 796 object_kid2 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'kid2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 798 {
}
movieClip 805 object_broomman2 {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'broomman2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'broomman2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 807 object_lifttruck {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'lifttruck';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 810 object_meatbag {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'meatbag';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 817 {
}
movieClip 838 {
frame 24 {
_parent.attackfin = true;
}
}
movieClip 846 object_mousetoad {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 125) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'mousetoad';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'mousetoad';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 849 object_parktrash {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'parktrash';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 852 object_pill {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'pill';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 854 object_pill2 {
}
movieClip 856 object_pobike {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'pobike';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 881 {
}
movieClip 894 {
frame 37 {
_parent.attackfin = true;
}
}
movieClip 902 object_policeman {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'policeman';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'policeman';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 919 {
}
movieClip 930 {
frame 37 {
_parent.attackfin = true;
}
}
movieClip 938 object_policeman2 {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'policeman2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'policeman2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 941 {
}
movieClip 944 {
}
movieClip 948 {
}
movieClip 949 {
frame 32 {
_parent.attackfin = true;
}
}
movieClip 958 {
}
movieClip 962 {
}
movieClip 966 {
frame 37 {
_parent.gotoAndPlay(2);
}
}
movieClip 967 object_potato {
frame 1 {
this.swapDepths(this._y);
}
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'potato';
_root.game.monster.objectwidth = 146;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'potato';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
frame 38 {
this.swapDepths(this._y);
}
}
movieClip 975 object_potato2 {
frame 1 {
this.swapDepths(this._y);
}
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'potato2';
_root.game.monster.objectwidth = 146;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'potato2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
frame 38 {
this.swapDepths(this._y);
}
}
movieClip 985 object_punchingbag {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'punchingbag';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
gotoAndPlay('hit');
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1010 {
}
movieClip 1013 object_roller_shadow {
}
movieClip 1022 {
frame 9 {
_parent.attackfin = true;
}
}
movieClip 1030 object_roller {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
instance of movieClip 1022 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 1038 object_roller2 {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'roller2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
instance of movieClip 1022 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 1046 object_roller3 {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
instance of movieClip 1022 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 1054 object_roller4 {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
instance of movieClip 1022 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 1062 object_roller5 {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
instance of movieClip 1022 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 1064 object_sbc {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'sbc';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1067 object_shark {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'shark';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1069 object_shroom1 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'shroom1';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1071 object_shroom2 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'shroom2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1073 object_shroom3 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'shroom3';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1076 object_sign {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'sign2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
if (velocity < 0.5 || _root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1079 object_sign2 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'sign2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1080 {
}
movieClip 1082 object_sign3 {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'sign3';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1085 {
}
movieClip 1091 {
}
movieClip 1092 object_spaceship {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.monsterbody.removeMovieClip();
_root.game.monster.eating = true;
_root.game.monster._alpha = 0;
gotoAndPlay(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_root.game.monster.monsterbody.removeMovieClip();
}
frame 8 {
this._y += 3;
}
frame 9 {
this._y -= 3;
}
frame 10 {
this._y += 3;
}
frame 11 {
this._y -= 3;
}
frame 12 {
this._y += 3;
}
frame 13 {
this._y -= 3;
}
frame 14 {
this._y += 3;
_root.dummyhurt.start();
}
frame 15 {
this._y -= 3;
}
frame 16 {
this._y += 3;
}
frame 17 {
this._y -= 3;
}
frame 67 {
_root.gotoAndPlay('credits');
}
}
movieClip 1097 {
}
movieClip 1116 {
frame 35 {
_parent.attackfin = true;
}
}
movieClip 1124 object_spider {
frame 2 {
speed = 2.5;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 125) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'spider';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'spider';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 1139 {
}
movieClip 1152 {
frame 44 {
_parent.attackfin = true;
}
}
movieClip 1160 object_stopman {
frame 2 {
speed = 3;
attackfin = false;
xmov = 0;
ymov = 0;
if (Math.abs(_x - _root.game.monster._x) < 400 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 75) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'stopman';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'stopman';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(6);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
_root.hit.start();
}
frame 37 {
stop();
_root.game.monster.edead += 1;
this.removeMovieClip();
}
}
movieClip 1162 object_trashcan {
frame 1 {
if (this.hitTest(_root.game.monster._x + _root.game._x, _root.game.monster._y + _root.game._y) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'trashcan';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
if (velocity < 0.5) {
gotoAndPlay(1);
}
this._x += velocity;
this._y += gravity;
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
if (velocity < 0.5) {
gotoAndPlay(1);
}
this._x += velocity;
this._y += gravity;
gotoAndPlay('tr2');
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
if (velocity < 0.5) {
gotoAndPlay(1);
}
this._x -= velocity;
this._y += gravity;
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
if (velocity < 0.5) {
gotoAndPlay(1);
}
this._x -= velocity;
this._y += gravity;
gotoAndPlay('tl2');
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1164 object_tree {
frame 1 {
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'tree';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
this.swapDepths(this._y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 5 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 6 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 11 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 12 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
}
movieClip 1166 thrownobject_mc {
}
movieClip 1169 {
}
movieClip 1171 {
}
movieClip 1186 boss_arm_attack {
frame 1 {
this.swapDepths(540);
}
instance of movieClip 1169 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
instance of movieClip 1171 {
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
hit = false;
if (this.hitTest(_root.game.nbomb1)) {
_root.game.nbomb1.asplode = true;
hit = true;
}
if (this.hitTest(_root.game.nbomb2)) {
_root.game.nbomb2.asplode = true;
hit = true;
}
if (this.hitTest(_root.game.nbomb3)) {
_root.game.nbomb3.asplode = true;
hit = true;
}
if (this.hitTest(_root.game.nbomb4)) {
_root.game.nbomb4.asplode = true;
hit = true;
}
if (hit == true) {
_root.bosshurt = true;
_parent.gotoAndStop('hurt');
}
}
}
frame 43 {
this.removeMovieClip();
}
}
movieClip 1187 {
}
frame 34 {
stopAllSounds();
}
frame 36 {
gotoAndPlay('loading');
if (_root.loaddone == true) {
trace('yeeeeeeeeeeah');
gotoAndPlay('loadfinished');
}
}
frame 57 {
removeMovieClip(adBox);
stop();
}
// unknown tag 88 length 32
button 1193 {
on (release) {
_root.music = true;
_root.play();
}
}
button 1196 {
on (release) {
_root.music = false;
_root.play();
}
}
button 1198 {
on (release) {
getURL('http://www.gamesfree.com', '_blank');
}
}
movieClip 1202 {
}
movieClip 1206 {
}
movieClip 1210 {
}
movieClip 1213 {
}
movieClip 1219 {
}
movieClip 1222 {
}
// unknown tag 88 length 68
movieClip 1226 {
}
// unknown tag 88 length 62
movieClip 1231 {
frame 11 {
stop();
}
}
movieClip 1237 {
}
movieClip 1241 {
}
movieClip 1242 {
}
movieClip 1246 {
}
movieClip 1249 {
}
movieClip 1250 {
}
movieClip 1252 {
}
movieClip 1254 {
}
movieClip 1255 {
frame 213 {
_root.play();
stop();
}
}
movieClip 1256 {
frame 1 {
stop();
}
}
frame 67 {
stop();
}
frame 77 {
if (_root.music == true) {
var songmenu = new Sound();
songmenu.attachSound('Song_Menu');
songmenu.start(0, 10000);
}
if (_root.music == true) {
var throw1 = new Sound();
throw1.attachSound('throw1');
var pickup = new Sound();
pickup.attachSound('pickup');
var hit = new Sound();
hit.attachSound('hit');
var eat1 = new Sound();
eat1.attachSound('eat1');
var eat2 = new Sound();
eat2.attachSound('eat2');
var hurt = new Sound();
hurt.attachSound('monsterhit3');
var step = new Sound();
step.attachSound('step');
var menuchoose = new Sound();
menuchoose.attachSound('menuchoose');
var menuselect = new Sound();
menuselect.attachSound('menuselect');
var lava = new Sound();
lava.attachSound('lava');
var lava2 = new Sound();
lava2.attachSound('lava2');
var dash = new Sound();
dash.attachSound('dash');
var dummyshoot = new Sound();
dummyshoot.attachSound('dummyshoot');
var powerup = new Sound();
powerup.attachSound('powerup');
var groundpunch = new Sound();
groundpunch.attachSound('groundpunch');
var lazer2 = new Sound();
lazer2.attachSound('lazer2');
var lazer = new Sound();
lazer.attachSound('lazer');
var dummyhurt = new Sound();
dummyhurt.attachSound('dummyhurt');
var dummyexplode = new Sound();
dummyexplode.attachSound('dummyexplode');
var die = new Sound();
die.attachSound('die');
}
}
movieClip 1258 {
}
movieClip 1259 monster_run {
frame 1 {
_root.step.start();
}
frame 14 {
_root.step.start();
}
}
movieClip 1260 {
}
movieClip 1261 {
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_box1', 'monsterobject', 1);
monsterobject.stop();
}
}
}
movieClip 1262 {
frame 1 {
_root.step.start();
}
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_box1', 'monsterobject', 1);
monsterobject.stop();
}
}
frame 14 {
_root.step.start();
}
}
movieClip 1269 {
frame 1 {
_root.eat1.start();
}
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_box1', 'monsterobject', 1);
monsterobject.stop();
}
}
instance of movieClip 236 {
onClipEvent (load) {
this._width = 115;
}
}
instance of movieClip 238 {
onClipEvent (load) {
this._width = 115;
}
}
instance of movieClip 241 {
onClipEvent (load) {
this._x += 50;
}
}
instance of movieClip 243 {
onClipEvent (load) {
this._x -= 50;
}
}
frame 37 {
_root.eat2.start();
}
frame 44 {
_root.game.monster.currentobject = 'none';
_root.game.monster.eating = false;
_root.game.monster.healthup = true;
}
frame 80 {
gotoAndPlay(44);
}
}
movieClip 1270 {
frame 51 {
_root.game.monster.currentobject = 'box1';
_root.pickup.start();
}
frame 153 {
_root.pickup.start();
}
}
button 1278 {
on (release) {
_root.songmenu.stop();
var levelgoto = _root.gamedata.data.level.toString();
_root.continuemusic = true;
_root.gotoAndPlay(levelgoto);
}
}
movieClip 1280 {
frame 1 {
if (_root.gamedata.data.level == undefined) {
stop();
} else {
gotoAndStop(2);
}
}
}
movieClip 1286 {
frame 1 {
stop();
}
}
button 1289 {
on (release) {
_root.menuselect.start();
if (_root.qual == 0) {
_quality = 'LOW';
}
if (_root.qual == 1) {
_quality = 'MEDIUM';
}
if (_root.qual == 2) {
_quality = 'HIGH';
}
if (_root.qual == 3 || _root.qual == undefined) {
_root.qual = 0;
_quality = 'LOW';
}
++_root.qual;
}
on (rollOver) {
_root.menuchoose.start();
}
}
movieClip 1291 {
}
movieClip 1292 {
}
movieClip 1294 {
}
movieClip 1295 {
frame 1 {
stop();
}
}
movieClip 1297 {
}
frame 86 {
stop();
}
button 1303 {
on (release) {
_root.menuselect.start();
gotoAndPlay(87);
}
on (rollOver) {
_root.menuchoose.start();
}
}
button 1304 {
on (rollOver) {
_root.menuchoose.start();
}
on (release) {
gotoAndPlay(434);
_root.menuselect.start();
}
}
movieClip 1310 {
frame 18 {
stop();
}
}
frame 87 {
songmenu.stop();
if (music == true) {
var song1 = new Sound();
song1.attachSound('Song_1');
song1.start(0, 10000);
}
_root.menuselect.start();
continuemusic = false;
}
// unknown tag 88 length 63
movieClip 1316 {
}
movieClip 1329 {
}
movieClip 1336 {
}
frame 425 {
hatnum = 1;
stop();
gamedata.data.level = 'one';
gamedata.flush();
if (continuemusic == true) {
song1.start(0, 10000);
continuemusic = false;
}
}
movieClip 1338 {
}
movieClip 1340 {
}
movieClip 1348 {
}
movieClip 1372 {
}
movieClip 1373 {
frame 1 {
if (Math.abs(_x - _root.game.monster._x) < 100) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 7 {
_root.game.attachMovie('object_broomman', 'broomman', 100);
_root.game.broomman._x = this._x;
_root.game.broomman._y = this._y + 100;
_root.game.monster.enum += 1;
}
frame 76 {
_root.game.attachMovie('object_stopman', 'stopman', 101);
_root.game.stopman._x = this._x;
_root.game.stopman._y = this._y + 100;
_root.game.monster.enum += 1;
}
frame 132 {
_root.game.attachMovie('object_broomman2', 'broomman2', 100);
_root.game.broomman2._x = this._x;
_root.game.broomman2._y = this._y + 100;
_root.game.monster.enum += 1;
}
frame 133 {
if (_root.game.monster.edead >= 7) {
gotoAndPlay(135);
}
}
frame 134 {
gotoAndPlay(133);
}
frame 135 {
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 110 && Key.isDown(38)) {
_root.game.monster.eating = true;
_root.game.monster.monsterbody.removeMovieClip();
gotoAndPlay(137);
}
}
frame 136 {
gotoAndPlay(135);
}
frame 209 {
_root.gotoAndStop('two');
}
}
movieClip 1375 {
}
movieClip 1379 {
}
movieClip 1381 {
}
movieClip 1382 {
frame 9 {
if (_root.game.monster.currentobject != 'none') {
gotoAndPlay(11);
}
}
frame 10 {
gotoAndPlay(9);
}
frame 19 {
if (_root.game.monster.currentobject == 'none') {
gotoAndPlay(2);
}
if (_root.game.monster.eating == true) {
gotoAndPlay(21);
}
}
frame 20 {
gotoAndPlay(19);
}
frame 21 {
if (_root.game.monster.eating == false) {
gotoAndPlay(2);
}
}
frame 22 {
gotoAndPlay(21);
}
}
movieClip 1384 {
}
movieClip 1386 {
frame 1 {
if (_root.game.monster.currentobject != 'none' && _root.game.monster.eating == false) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 10 {
if (_root.game.monster.currentobject == 'none') {
gotoAndPlay(1);
}
if (_root.game.monster.eating == true) {
gotoAndPlay(1);
}
}
frame 11 {
gotoAndPlay(10);
}
}
button 1390 {
on (release) {
stopAllSounds();
_root.songmenu.start();
_root.gotoAndPlay('themenu');
}
}
button 1393 {
on (release) {
if (_root.qual == 0) {
_quality = 'LOW';
}
if (_root.qual == 1) {
_quality = 'MEDIUM';
}
if (_root.qual == 2) {
_quality = 'HIGH';
}
if (_root.qual == 3 || _root.qual == undefined) {
_root.qual = 0;
_quality = 'LOW';
}
++_root.qual;
}
}
movieClip 1406 {
}
movieClip 1407 {
instance of movieClip 1406 {
onClipEvent (enterFrame) {
gotoAndStop(_root.game.monster.enum - _root.game.monster.edead + 1);
}
}
}
movieClip 1408 {
frame 1 {
this.swapDepths(1900);
}
instance of movieClip 1407 {
onClipEvent (enterFrame) {
if (_root.noenemyhud == true) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
}
}
movieClip 1409 {
}
movieClip 1415 {
}
movieClip 1422 {
frame 1 {
speed = 1;
if (_x < _root.game.monster._x) {
xmov = -speed;
this._xscale = 100;
}
if (_x > _root.game.monster._x) {
xmov = speed;
this._xscale = -100;
}
_x = _x + xmov;
if (this.hitTest(_root.game.monster.hitbox) && _root.game.monster.currentobject == 'none') {
if (_root.game.monster.zpress == true) {
_root.game.monster.currentobject = 'kid2';
_root.game.monster.objectwidth = this._width;
_root.game.monster.monsterbody.removeMovieClip();
if (_root.game.monster.moving == false) {
_root.game.monster.attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
} else {
_root.game.monster.attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
gotoAndStop(3);
}
}
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 2 {
if (_x < _root.game.monster._x) {
xmov = -speed;
this._xscale = 100;
}
if (_x > _root.game.monster._x) {
xmov = speed;
this._xscale = -100;
}
_x = _x + xmov;
gotoAndPlay(1);
}
frame 3 {
stop();
this.removeMovieClip();
}
frame 4 {
_root.hit.start();
}
frame 25 {
stop();
this.removeMovieClip();
}
}
movieClip 1423 {
instance of movieClip 1338 {
onClipEvent (enterFrame) {
this._x = -_parent._x + 300;
}
}
instance of movieClip 1340 {
onClipEvent (enterFrame) {
this._x = -_parent._x / 3;
}
}
instance of movieClip 1375 {
onClipEvent (load) {
this.swapDepths(898);
}
}
instance monster of movieClip 1409 {
onClipEvent (load) {
speed = 10;
currentobject = 'none';
bodystatus = 'right';
newmove = true;
prevmoving = false;
attachMovie('monster_stand', 'monsterbody', 1);
zpress = false;
eating = false;
boundaryx1 = 50;
boundaryx2 = 2500;
boundaryy1 = 100;
boundaryy2 = 250;
health = 3;
_root.game.attachMovie('health', 'healthy', 60);
edead = 0;
enum = 4;
}
onClipEvent (enterFrame) {
moving = false;
gamemover = true;
gamemovel = true;
gamemoveu = true;
gamemoved = true;
if (Key.isDown(37) && eating == false && this._x > boundaryx1) {
xmov = -speed;
bodystatus = 'left';
moving = true;
}
if (Key.isDown(39) && eating == false && this._x < boundaryx2) {
xmov = speed;
bodystatus = 'right';
moving = true;
}
if (Key.isDown(38) && eating == false && this._y > boundaryy1) {
ymov = -speed;
moving = true;
}
if (Key.isDown(40) && eating == false && this._y < boundaryy2) {
ymov = speed;
moving = true;
}
if (Key.isDown(90) && eating == false) {
if (prevZ == false) {
zpress = true;
} else {
zpress = false;
}
prevZ = true;
} else {
prevZ = false;
}
if (currentobject != 'none' && tempvar == 1) {
_root.pickup.start();
}
tempvar = 0;
if (zpress == true && currentobject == 'none') {
if (moving == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabmiss', 'monsterbody', 1);
}
tempvar = 1;
}
if (zpress == true && currentobject != 'none') {
removeMovieClip('monsterbody');
if (moving == false) {
attachMovie('monster_stand_throw', 'monsterbody', 1);
} else {
attachMovie('monster_run_throw', 'monsterbody', 1);
}
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('thrown' + bodystatus);
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
zpress = false;
}
if (ymov != 0 && xmov != 0) {
ymov /= Math.SQRT2;
xmov /= Math.SQRT2;
}
if (_x - 200 < boundaryx1) {
gamemovel = false;
}
if (_x + 200 > boundaryx2) {
gamemover = false;
}
if (_y - 50 < boundaryy1) {
gamemoveu = false;
}
if (_y + 100 > boundaryy2) {
gamemoved = false;
}
if (gamemover == true && 300 - _x < _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
if (gamemovel == true && 300 - _x > _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
if (gamemoveu == true && 200 - _y > _root.game._y) {
_root.game._y += (200 - _y - _root.game._y) / 2;
}
if (gamemoved == true && 200 - _y < _root.game._y) {
_root.game._y += (200 - _y - _root.game._y) / 2;
}
_x = _x + xmov;
_y = _y + ymov;
this.swapDepths(this._y + 75);
if (bodystatus == 'right') {
_xscale = 100;
}
if (bodystatus == 'left') {
_xscale = -100;
}
if (prevmoving != moving && eating == false) {
if (moving == true) {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_run', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
} else {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_stand', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
}
}
}
if (Key.isDown(88) && currentobject != 'none' && eating == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_eat', 'monsterbody', 1);
eating = true;
}
prevmoving = moving;
if (hurt == true && health > 1) {
if (healthtime <= 0) {
health -= 1;
healthtime = 60;
removeMovieClip('monsterbody');
attachMovie('monster_hurt', 'monsterbody', 1);
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 7);
if (currentobject != 'none') {
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('throwndown');
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
}
}
hurt = false;
}
if (hurt == true && health <= 1) {
if (healthtime <= 0) {
_root.dmx = this._x;
_root.dmy = this._y;
_root.dgx = _root.game._x;
_root.dgy = _root.game._y;
_root.deathframe = 1;
_root.gotoAndPlay('death');
}
hurt = false;
}
if (healthtime > 0) {
healthtime -= 1;
}
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthtime, 'ga': '100', 'gb': healthtime, 'ba': '100', 'bb': healthtime};
c.setTransform(trans);
_root.game.healthy._x = this._x;
_root.game.healthy._y = this._y;
if (healthup == true) {
if (health < 3) {
health += 1;
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 6);
}
healthup = false;
}
if (_x < 1800 && _y < 250) {
boundaryx1 = 50;
boundaryx2 = 2500;
boundaryy1 = 100;
boundaryy2 = 250;
}
if (_x > 1500) {
boundaryx1 = 1450;
boundaryx2 = 2000;
boundaryy1 = 100;
boundaryy2 = 750;
}
if (_x > 1900 && _y > 665 && edead >= 4) {
boundaryx1 = 1450;
boundaryx2 = 3000;
boundaryy1 = 700;
boundaryy2 = 750;
}
_root.game.mm._x = -_root.game._x + 300;
_root.game.mm._y = -_root.game._y + 475;
}
}
instance of movieClip 458 object_boxer {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 507 object_boxer2 {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 902 object_policeman {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 938 object_policeman2 {
onClipEvent (load) {
starter = true;
}
}
}
frame 426 {
hatnum = 2;
stop();
gamedata.data.level = 'two';
gamedata.flush();
if (continuemusic == true) {
song1.start(0, 10000);
continuemusic = false;
}
}
movieClip 1426 {
}
movieClip 1427 {
instance of movieClip 1426 {
onClipEvent (enterFrame) {
_root.game.monster._y += 2;
}
}
frame 104 {
_root.game.monster.attachMovie('monster_stand', 'monsterbody', 2);
_root.game.monster.eating = false;
_root.game.monster.boundlimit = true;
}
frame 114 {
stop();
}
}
movieClip 1433 {
}
movieClip 1434 {
frame 1 {
if (_root.game.monster.boundaryx2 == 2400) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
instance of movieClip 1433 {
onClipEvent (load) {
gotoAndStop(1);
}
}
frame 113 {
_root.game.attachMovie('object_roller', 'roller', 100);
_root.game.roller._x = this._x;
_root.game.roller._y = this._y + 100;
_root.game.monster.enum += 1;
}
frame 139 {
_root.game.attachMovie('object_potato', 'potato', 100);
_root.game.potato._x = this._x + 400;
_root.game.potato._y = this._y + 300;
_root.game.potato.gotoAndStop('create');
_root.game.monster.enum += 1;
}
instance of movieClip 1433 {
onClipEvent (load) {
gotoAndStop(2);
}
}
frame 243 {
_root.game.attachMovie('object_roller2', 'roller2', 100);
_root.game.roller2._x = this._x;
_root.game.roller2._y = this._y + 100;
_root.game.monster.enum += 1;
}
instance of movieClip 1433 {
onClipEvent (load) {
gotoAndStop(3);
}
}
frame 286 {
_root.game.attachMovie('object_roller3', 'roller3', 100);
_root.game.roller3._x = this._x;
_root.game.roller3._y = this._y + 100;
_root.game.monster.enum += 1;
}
instance of movieClip 1433 {
onClipEvent (load) {
gotoAndStop(4);
}
}
frame 380 {
_root.game.attachMovie('object_roller4', 'roller4', 100);
_root.game.roller4._x = this._x;
_root.game.roller4._y = this._y + 100;
_root.game.monster.enum += 1;
}
frame 408 {
_root.game.attachMovie('object_potato2', 'potato2', 100);
_root.game.potato2._x = this._x + 200;
_root.game.potato2._y = this._y + 400;
_root.game.potato2.gotoAndStop('create');
_root.game.monster.enum += 1;
}
instance of movieClip 1433 {
onClipEvent (load) {
gotoAndStop(5);
}
}
frame 456 {
_root.game.attachMovie('object_roller5', 'roller5', 100);
_root.game.roller5._x = this._x;
_root.game.roller5._y = this._y + 100;
_root.game.monster.enum += 1;
}
frame 490 {
if (_root.game.monster.edead >= 11) {
gotoAndPlay(492);
}
trace(_root.game.monster.edead);
}
frame 491 {
gotoAndPlay(490);
}
frame 510 {
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 110 && Key.isDown(38)) {
_root.game.monster.eating = true;
_root.game.monster.monsterbody.removeMovieClip();
gotoAndPlay(512);
}
}
frame 511 {
gotoAndPlay(510);
}
frame 584 {
_root.gotoAndStop('three');
}
}
movieClip 1436 {
}
movieClip 1439 {
instance of movieClip 1406 {
onClipEvent (enterFrame) {
gotoAndStop(_root.game.monster.enum - _root.game.monster.edead + 1);
}
}
}
movieClip 1440 {
}
movieClip 1448 {
}
movieClip 1449 {
frame 1 {
if (_root.game.monster.edead == 4) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 8 {
if (_root.game.monster.boundaryx2 == 2400) {
this.swapDepths(10);
gotoAndPlay(10);
}
}
frame 9 {
gotoAndPlay(8);
}
frame 80 {
stop();
}
}
movieClip 1450 {
instance of movieClip 1436 {
onClipEvent (load) {
this.swapDepths(898);
}
onClipEvent (enterFrame) {
this._x = _parent._x / 5 + 550;
}
}
instance of movieClip 1449 {
onClipEvent (load) {
this.swapDepths(897);
}
}
instance monster of movieClip 1409 {
onClipEvent (load) {
speed = 10;
currentobject = 'none';
bodystatus = 'right';
newmove = true;
prevmoving = false;
zpress = false;
eating = true;
boundaryx1 = 100;
boundaryx2 = 1000;
boundaryy1 = 100;
boundaryy2 = 1000;
edead = 0;
boundlimit = false;
enum = 4;
health = 3;
}
onClipEvent (enterFrame) {
moving = false;
gamemover = true;
gamemovel = true;
gamemoveu = true;
gamemoved = true;
if (Key.isDown(37) && eating == false && this._x > boundaryx1) {
xmov = -speed;
bodystatus = 'left';
moving = true;
}
if (Key.isDown(39) && eating == false && this._x < boundaryx2) {
xmov = speed;
bodystatus = 'right';
moving = true;
}
if (Key.isDown(38) && eating == false && this._y > boundaryy1) {
ymov = -speed;
moving = true;
}
if (Key.isDown(40) && eating == false && this._y < boundaryy2) {
ymov = speed;
moving = true;
}
if (Key.isDown(90) && eating == false) {
if (prevZ == false) {
zpress = true;
} else {
zpress = false;
}
prevZ = true;
} else {
prevZ = false;
}
if (currentobject != 'none' && tempvar == 1) {
_root.pickup.start();
}
tempvar = 0;
if (zpress == true && currentobject == 'none') {
if (moving == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabmiss', 'monsterbody', 1);
}
tempvar = 1;
}
if (zpress == true && currentobject != 'none') {
removeMovieClip('monsterbody');
if (moving == false) {
attachMovie('monster_stand_throw', 'monsterbody', 1);
} else {
attachMovie('monster_run_throw', 'monsterbody', 1);
}
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('thrown' + bodystatus);
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
zpress = false;
}
if (ymov != 0 && xmov != 0) {
ymov /= Math.SQRT2;
xmov /= Math.SQRT2;
}
if (_x - 200 < boundaryx1) {
gamemovel = false;
}
if (_x + 200 > boundaryx2) {
gamemover = false;
}
if (_y - 50 < boundaryy1 && boundlimit == true) {
gamemoveu = false;
}
if (_y + 100 > boundaryy2) {
gamemoved = false;
}
if (gamemover == true && 300 - _x < _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
if (gamemovel == true && 300 - _x > _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
if (gamemoveu == true && 200 - _y > _root.game._y) {
_root.game._y += (200 - _y - _root.game._y) / 2;
}
if (gamemoved == true && 200 - _y < _root.game._y) {
_root.game._y += (200 - _y - _root.game._y) / 2;
}
_x = _x + xmov;
_y = _y + ymov;
this.swapDepths(this._y + 75);
if (bodystatus == 'right') {
_xscale = 100;
}
if (bodystatus == 'left') {
_xscale = -100;
}
if (prevmoving != moving && eating == false) {
if (moving == true) {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_run', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
} else {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_stand', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
}
}
}
if (Key.isDown(88) && currentobject != 'none' && eating == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_eat', 'monsterbody', 1);
eating = true;
}
prevmoving = moving;
if (hurt == true && health > 1) {
if (healthtime <= 0) {
health -= 1;
healthtime = 60;
removeMovieClip('monsterbody');
attachMovie('monster_hurt', 'monsterbody', 1);
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 7);
if (currentobject != 'none') {
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('throwndown');
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
}
}
hurt = false;
}
if (hurt == true && health <= 1) {
if (healthtime <= 0) {
_root.dmx = this._x;
_root.dmy = this._y;
_root.dgx = _root.game._x;
_root.dgy = _root.game._y;
_root.deathframe = 2;
_root.gotoAndPlay('death');
}
hurt = false;
}
if (healthtime > 0) {
healthtime -= 1;
}
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthtime, 'ga': '100', 'gb': healthtime, 'ba': '100', 'bb': healthtime};
c.setTransform(trans);
_root.game.healthy._x = this._x;
_root.game.healthy._y = this._y;
if (healthup == true) {
if (health < 3) {
health += 1;
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 6);
}
healthup = false;
}
if (_x < 1000 && _y < 550) {
boundaryx1 = 100;
boundaryx2 = 1000;
boundaryy1 = 100;
boundaryy2 = 500;
}
if (_x > 975 && _y > 350) {
boundaryx1 = 950;
boundaryx2 = 1700;
boundaryy1 = 350;
boundaryy2 = 500;
}
if (_x > 1650 && edead >= 4) {
boundaryx1 = 1800;
boundaryx2 = 2400;
boundaryy1 = 100;
boundaryy2 = 500;
}
_root.game.mm._x = -_root.game._x + 300;
_root.game.mm._y = -_root.game._y + 475;
}
}
instance of movieClip 676 object_dummy {
onClipEvent (load) {
}
}
instance of movieClip 727 object_dummy2 {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 735 object_dummy3 {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 743 object_dummy4 {
onClipEvent (load) {
starter = true;
}
}
}
frame 427 {
song1.stop();
music = true;
if (music == true) {
var song2 = new Sound();
song2.attachSound('Song_2');
song2.start(0, 10000);
}
stop();
gamedata.data.level = 'three';
gamedata.flush();
}
movieClip 1456 {
}
movieClip 1458 {
}
movieClip 1459 {
}
movieClip 1462 {
}
movieClip 1465 {
}
movieClip 1467 {
}
movieClip 1469 {
}
movieClip 1471 {
}
movieClip 1473 {
}
movieClip 1475 {
}
movieClip 1477 {
}
movieClip 1480 {
}
movieClip 1481 {
}
movieClip 1484 {
}
movieClip 1486 {
}
movieClip 1506 {
}
movieClip 1523 {
}
movieClip 1525 {
}
movieClip 1527 {
}
movieClip 1533 {
}
movieClip 1554 {
frame 189 {
_root.powerup.start();
}
frame 221 {
_root.lazer.start();
}
frame 267 {
_root.dummyhurt.start();
}
frame 372 {
_root.gotoAndStop('four');
}
}
frame 428 {
noenemyhud = true;
hatnum = 2;
stop();
gamedata.data.level = 'four';
gamedata.flush();
if (continuemusic == true) {
song2.start(0, 10000);
continuemusic = false;
}
}
movieClip 1556 {
frame 13 {
_root.game.monster.eating = false;
_root.game.monster.attachMovie('monster_stand', 'monsterbody', 2);
stop();
}
}
movieClip 1605 {
}
movieClip 1611 {
}
movieClip 1612 {
}
movieClip 1624 {
frame 1 {
gotoAndStop(9 - _root.monsterhealth);
}
}
movieClip 1634 {
}
movieClip 1745 {
}
movieClip 1806 {
frame 1 {
attacknum = 0;
attackgroup = 0;
_root.monsterhealth = 8;
attackgroup4 = false;
attackgroup7 = false;
}
frame 2 {
attacknum += 1;
if (attackgroup == 0) {
if (attacknum == 2) {
gotoAndPlay('electric');
attackgroup = 1;
attacknum = 0;
}
}
if (_root.monsterhealth < 8 && _root.monsterhealth > 5) {
attackgroup = 2;
if (attacknum < 9) {
attacknum = 9;
}
}
if (_root.monsterhealth < 6) {
attackgroup = 3;
}
if (attackgroup4 == true) {
attackgroup = 4;
}
if (_root.game.monster.edead >= 3) {
attackgroup = 5;
}
if (_root.monsterhealth < 4) {
attackgroup = 6;
}
if (attackgroup7 == true) {
attackgroup = 7;
}
if (_root.game.monster.edead >= 6) {
attackgroup = 8;
}
if (attackgroup == 1) {
if (attacknum == 2) {
gotoAndPlay('lazer');
}
if (attacknum == 4) {
gotoAndPlay('lazer');
}
if (attacknum == 5) {
gotoAndPlay('bomb');
}
if (attacknum == 7) {
gotoAndPlay('lazer');
}
if (attacknum == 9) {
gotoAndPlay('bomb');
}
if (attacknum == 10) {
attacknum = 1;
}
}
if (attackgroup == 2) {
if (attacknum == 11) {
gotoAndPlay('lazer');
}
if (attacknum == 13) {
gotoAndPlay('bomb');
}
if (attacknum == 15) {
gotoAndPlay('lazer');
}
if (attacknum == 17) {
gotoAndPlay('lazer');
}
if (attacknum == 19) {
gotoAndPlay('lazer');
}
if (attacknum == 20) {
gotoAndPlay('bomb');
}
if (attacknum == 21) {
gotoAndPlay('lazer');
}
if (attacknum == 23) {
gotoAndPlay('lazer');
}
if (attacknum == 24) {
attacknum = 9;
}
}
if (attackgroup == 3) {
gotoAndPlay('dummy');
}
if (attackgroup == 5) {
if (attacknum == 2) {
gotoAndPlay('lazer');
}
if (attacknum == 4) {
gotoAndPlay('lazer');
}
if (attacknum == 6) {
gotoAndPlay('lazer');
}
if (attacknum == 8) {
gotoAndPlay('lazer');
}
if (attacknum == 9) {
gotoAndPlay('bomb');
}
if (attacknum >= 10) {
attacknum = 1;
}
}
if (attackgroup == 6) {
gotoAndPlay('dummy');
}
if (attackgroup == 7) {
if (attacknum == 2) {
gotoAndPlay('lazer');
}
if (attacknum > 2) {
attacknum = 1;
}
}
if (attackgroup == 8) {
if (attacknum == 2) {
gotoAndPlay('lazer');
}
if (attacknum == 4) {
gotoAndPlay('lazer');
}
if (attacknum == 6) {
gotoAndPlay('lava');
}
if (attacknum == 8) {
gotoAndPlay('lazer');
}
if (attacknum == 9) {
gotoAndPlay('bomb');
}
if (attacknum >= 10) {
attacknum = 1;
}
}
trace(attackgroup + ',' + attacknum + 'Health:' + _root.monsterhealth);
}
frame 61 {
gotoAndPlay('rest');
}
frame 76 {
_root.dummyshoot.start();
}
frame 90 {
_root.dummyshoot.start();
}
frame 104 {
_root.dummyshoot.start();
}
frame 118 {
_root.dummyshoot.start();
}
frame 132 {
_root.countdown = 4;
}
frame 139 {
_root.bombtime = true;
}
frame 140 {
_root.bombtime = false;
}
frame 183 {
_root.countdown = 3;
}
frame 219 {
_root.powerup.start();
}
frame 235 {
_root.countdown = 2;
}
frame 271 {
_root.groundpunch.start();
}
frame 272 {
_root.game.attachMovie('boss_arm_attack', 'armattack', 541);
_root.game.armattack._x = 571.6;
_root.game.armattack._y = 293.6;
}
frame 273 {
_root.game._y += 3;
_root.game.armattack._x = 571.6;
_root.game.armattack._y = 293.6;
}
frame 274 {
_root.game._y -= 3;
}
frame 275 {
_root.game._y += 3;
if (_root.bosshurt == true) {
_root.bosshurt = false;
if (_root.monsterhealth > 2) {
gotoAndPlay('hurt');
}
if (_root.monsterhealth <= 2) {
gotoAndPlay('die');
}
}
}
frame 276 {
_root.game._y -= 3;
}
frame 277 {
_root.game._y += 1;
}
frame 278 {
_root.game._y -= 1;
}
frame 306 {
_root.countdown = 1;
}
frame 345 {
_root.countdown = 0;
_root.hit.start();
}
frame 346 {
gotoAndPlay('rest');
}
frame 347 {
_root.lazer2.start();
}
frame 362 {
_root.game.attachMovie('boss_mushroomcloud', 'mushroom', 77);
_root.game.mushroom._x = _root.game.monster._x;
_root.game.mushroom._y = _root.game.monster._y + 75;
_root.game.mushroom.swapDepths(_root.game.mushroom._y);
_root.game.attachMovie('boss_lazer', 'blazer', 78);
dummyx = 505;
dummyy = 80;
monsterx = _root.game.monster._x;
monstery = _root.game.monster._y + 75;
_root.game.blazer._x = monsterx;
_root.game.blazer._y = monstery;
_root.game.blazer._xscale = Math.sqrt(Math.pow(monstery - dummyy, 2) + Math.pow(monsterx - dummyx, 2));
_root.game.blazer._rotation = Math.atan((monstery - dummyy) / (monsterx - dummyx)) * 180 / Math.PI;
if (_root.game.blazer._rotation > 0) {
_root.game.blazer._rotation -= 180;
}
_root.game.blazer.swapDepths(_root.game.blazer._y);
}
frame 379 {
_root.game.mushroom.gotoAndPlay(2);
_root.game.blazer.gotoAndStop(2);
}
frame 389 {
_root.game._y += 2;
}
frame 390 {
_root.game._y -= 2;
}
frame 391 {
_root.game._y += 2;
}
frame 392 {
_root.game._y -= 2;
}
frame 406 {
gotoAndPlay('rest');
}
frame 407 {
_root.monsterhealth -= 1;
_root.dummyhurt.start();
}
frame 433 {
_root.countdown = 1;
}
frame 462 {
gotoAndPlay('retract');
}
frame 477 {
_root.dummyshoot.start();
}
frame 491 {
_root.dummyshoot.start();
}
frame 505 {
_root.dummyshoot.start();
}
frame 519 {
_root.dummyshoot.start();
}
frame 540 {
_root.dummytime = true;
}
frame 542 {
_root.dummytime = false;
if (attackgroup == 3) {
attackgroup4 = true;
}
if (attackgroup == 6) {
attackgroup7 = true;
}
}
frame 560 {
gotoAndPlay('rest');
}
frame 575 {
_root.dummyshoot.start();
}
frame 589 {
_root.dummyshoot.start();
}
frame 603 {
_root.dummyshoot.start();
}
frame 617 {
_root.dummyshoot.start();
}
frame 638 {
_root.lavatime = true;
}
frame 640 {
_root.lavatime = false;
}
frame 658 {
gotoAndPlay('rest');
}
frame 659 {
_root.song2.stop();
}
frame 660 {
_root.dummyexplode.start();
}
frame 681 {
_root.countdown = 0;
}
frame 694 {
_root.countdown = 1;
}
frame 794 {
_root.dummyheadtime = true;
stop();
}
}
movieClip 1813 {
frame 1 {
if (_root.bombtime == true) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 8 {
_root.throw1.start();
}
frame 9 {
_root.game.attachMovie('object_bomb1', 'nbomb1', 123);
_root.game.nbomb1._x = 174;
_root.game.nbomb1._y = 596;
_root.game.attachMovie('object_bomb2', 'nbomb2', 124);
_root.game.nbomb2._x = 67;
_root.game.nbomb2._y = 508;
_root.game.attachMovie('object_bomb3', 'nbomb3', 125);
_root.game.nbomb3._x = 761;
_root.game.nbomb3._y = 510;
_root.game.attachMovie('object_bomb4', 'nbomb4', 126);
_root.game.nbomb4._x = 710;
_root.game.nbomb4._y = 604;
}
}
movieClip 1814 {
frame 1 {
if (_root.dummytime == true) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 8 {
_root.throw1.start();
}
frame 9 {
_root.game.attachMovie('object_dummy', 'ndummy', 123);
_root.game.ndummy._x = 174;
_root.game.ndummy._y = 596;
_root.game.attachMovie('object_dummy2', 'ndummy2', 124);
_root.game.ndummy2._x = 67;
_root.game.ndummy2._y = 508;
_root.game.attachMovie('object_dummy3', 'ndummy3', 125);
_root.game.ndummy3._x = 761;
_root.game.ndummy3._y = 510;
_root.game.attachMovie('object_dummy4', 'ndummy4', 126);
_root.game.ndummy4._x = 710;
_root.game.ndummy4._y = 604;
}
}
movieClip 1853 {
frame 1 {
if (_root.lavatime == true) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 12 {
_root.lava.start();
}
instance of movieClip 1169 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
instance of movieClip 1169 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
}
movieClip 1867 {
frame 1 {
if (_root.dummyheadtime == true) {
gotoAndPlay(3);
}
}
frame 2 {
gotoAndPlay(1);
}
frame 8 {
_root.throw1.start();
}
frame 20 {
_root.throw1.start();
}
frame 26 {
_root.throw1.start();
}
frame 30 {
_root.game.attachMovie('object_pill', 'npill', 137);
_root.game.npill._x = 588.7000000000001;
_root.game.npill._y = 549.1;
stop();
}
}
movieClip 1868 {
instance monster of movieClip 1409 {
onClipEvent (load) {
speed = 10;
currentobject = 'none';
bodystatus = 'right';
newmove = true;
prevmoving = false;
zpress = false;
eating = true;
boundaryx1 = 80;
boundaryx2 = 760;
boundaryy1 = 430;
boundaryy2 = 550;
health = 3;
edead = 0;
enum = 0;
}
onClipEvent (enterFrame) {
moving = false;
gamemover = true;
gamemovel = true;
gamemoveu = true;
gamemoved = true;
if (Key.isDown(37) && eating == false && this._x > boundaryx1) {
xmov = -speed;
bodystatus = 'left';
moving = true;
}
if (Key.isDown(39) && eating == false && this._x < boundaryx2) {
xmov = speed;
bodystatus = 'right';
moving = true;
}
if (Key.isDown(38) && eating == false && this._y > boundaryy1) {
ymov = -speed;
moving = true;
}
if (Key.isDown(40) && eating == false && this._y < boundaryy2) {
ymov = speed;
moving = true;
}
if (Key.isDown(90) && eating == false) {
if (prevZ == false) {
zpress = true;
} else {
zpress = false;
}
prevZ = true;
} else {
prevZ = false;
}
if (currentobject != 'none' && tempvar == 1) {
_root.pickup.start();
}
tempvar = 0;
if (zpress == true && currentobject == 'none') {
if (moving == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabmiss', 'monsterbody', 1);
}
tempvar = 1;
}
if (zpress == true && currentobject != 'none') {
removeMovieClip('monsterbody');
if (moving == false) {
attachMovie('monster_stand_throw', 'monsterbody', 1);
} else {
attachMovie('monster_run_throw', 'monsterbody', 1);
}
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('thrown' + bodystatus);
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
zpress = false;
}
if (ymov != 0 && xmov != 0) {
ymov /= Math.SQRT2;
xmov /= Math.SQRT2;
}
_x = _x + xmov;
_y = _y + ymov;
this.swapDepths(this._y + 75);
if (bodystatus == 'right') {
_xscale = 100;
}
if (bodystatus == 'left') {
_xscale = -100;
}
if (prevmoving != moving && eating == false) {
if (moving == true) {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_run', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
} else {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_stand', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
}
}
}
if (Key.isDown(88) && currentobject != 'none' && eating == false) {
removeMovieClip('monsterbody');
if (currentobject == 'pill') {
attachMovie('monster_stand_eat_pill', 'monsterbody', 1);
} else {
attachMovie('monster_stand_eat', 'monsterbody', 1);
}
eating = true;
}
prevmoving = moving;
if (hurt == true && health > 1) {
if (healthtime <= 0) {
health -= 1;
healthtime = 60;
removeMovieClip('monsterbody');
attachMovie('monster_hurt', 'monsterbody', 1);
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 7);
if (currentobject != 'none') {
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('throwndown');
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
}
}
hurt = false;
}
if (hurt == true && health <= 1) {
if (healthtime <= 0) {
_root.dmx = this._x;
_root.dmy = this._y;
_root.dgx = _root.game._x;
_root.dgy = _root.game._y;
_root.deathframe = 4;
_root.gotoAndPlay('death');
}
hurt = false;
}
if (healthtime > 0) {
healthtime -= 1;
}
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthtime, 'ga': '100', 'gb': healthtime, 'ba': '100', 'bb': healthtime};
c.setTransform(trans);
_root.game.healthy._x = this._x;
_root.game.healthy._y = this._y;
if (healthup == true) {
if (health < 3) {
health += 1;
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 6);
}
healthup = false;
}
if (_root.countdown == 0) {
if (currentobject == 'bomb1') {
currentobject = 'none';
hurt = true;
_root.game.attachMovie('boss_bombasplode', 'asplode1', 1234);
_root.game.asplode1._x = this._x;
_root.game.asplode1._y = this._y - 30;
}
}
}
}
}
frame 429 {
noenemyhud = false;
hatnum = 4;
song2.stop();
if (music == true) {
var song3 = new Sound();
song3.attachSound('Song_3');
song3.start(0, 10000);
}
stop();
gamedata.data.level = 'five';
gamedata.flush();
}
movieClip 1870 {
}
movieClip 1872 {
}
movieClip 1873 {
}
movieClip 1878 {
}
movieClip 1880 {
}
movieClip 1881 {
frame 23 {
_root.game.monster.attachMovie('monster_stand', 'monsterbody', 2);
_root.game.monster.eating = false;
_root.game.monster.boundlimit = true;
stop();
}
}
movieClip 1894 {
}
movieClip 1910 {
frame 4 {
_root.lava.start();
}
instance of movieClip 1169 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
frame 25 {
_parent.attackfin = true;
}
}
movieClip 1923 {
}
movieClip 1946 {
frame 1 {
atimer = 20;
}
frame 2 {
speed = 1.5;
attackfin = false;
xmov = 0;
ymov = 0;
atimer -= 1;
if (Math.abs(_x - _root.game.monster._x) < 300 || starter != true) {
follow = true;
}
if (follow == true) {
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = 100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = -100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 225 && atimer < 0) {
gotoAndPlay(4);
}
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('hurt');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
this.swapDepths(this._y);
}
frame 3 {
gotoAndPlay(2);
}
frame 4 {
if (this.hitTest(_root.game.thob)) {
gotoAndPlay('hurt');
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
atimer = 20;
}
frame 5 {
gotoAndPlay(4);
if (attackfin == true) {
gotoAndPlay(2);
}
}
frame 6 {
stop();
this.removeMovieClip();
}
frame 7 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x += velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 8 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 9 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x += velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tr2');
if (this._x > _root.game.monster.boundaryx2 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tl2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 10 {
velocity = 25;
velrate = 1.05;
gravity = 1;
gravrate = 1.1;
this._x -= velocity;
this._y += gravity;
this.swapDepths(601);
_root.game.attachMovie('thrownobject_mc', 'thob', 20);
_root.game.thob.bounceokay = true;
}
frame 11 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 12 {
velocity /= velrate;
gravity *= gravrate;
if (gravity > 10 || gravity == 0) {
gravity = 0;
velrate += 0.1;
}
this._x -= velocity;
this._y += gravity;
_root.game.thob._x = this._x;
_root.game.thob._y = this._y;
gotoAndPlay('tl2');
if (this._x < _root.game.monster.boundaryx1 || _root.game.thob.bounce == true) {
_root.game.thob.bounce = false;
gotoAndPlay('tr2');
}
if (_root.game.thob.bounceokay == false) {
_root.game.thob.removeMovieClip();
}
if (velocity < 0.5) {
_root.game.thob.removeMovieClip();
gotoAndPlay(1);
}
}
frame 13 {
gravity = 1;
gravrate = 1.1;
this._y += gravity;
this.swapDepths(601);
}
frame 14 {
gravity *= gravrate;
this._y += gravity;
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 15 {
gravity *= gravrate;
this._y += gravity;
gotoAndPlay('td2');
if (gravity > 10 || gravity == 0) {
gotoAndPlay(1);
}
}
frame 16 {
atimer = 20;
var healthcolor = (5 - health) * 10;
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthcolor, 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0'};
c.setTransform(trans);
_root.hit.start();
}
frame 29 {
gotoAndPlay(1);
health -= 1;
if (health < 0) {
gotoAndPlay('explode');
}
}
frame 30 {
_root.hit.start();
}
frame 47 {
_root.hit.start();
}
frame 64 {
_root.hit.start();
}
frame 81 {
_root.hit.start();
}
frame 97 {
if (Math.abs(Math.sqrt((_x - _root.game.monster._x) * (_x - _root.game.monster._x) + (_y - _root.game.monster._y - 55) * (_y - _root.game.monster._y - 55))) < 110 && Key.isDown(38)) {
_root.game.monster.eating = true;
_root.game.monster.monsterbody.removeMovieClip();
gotoAndPlay(99);
}
}
frame 98 {
gotoAndPlay(97);
}
instance of movieClip 1259 monster_run {
onClipEvent (enterFrame) {
_root.game._y += 2;
}
}
frame 160 {
_root.gotoAndStop('six');
}
}
movieClip 1947 {
instance of movieClip 1870 {
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
}
instance of movieClip 1873 {
onClipEvent (enterFrame) {
this._x = -_parent._x / 2;
}
}
instance monster of movieClip 1409 {
onClipEvent (load) {
speed = 10;
currentobject = 'none';
bodystatus = 'right';
newmove = true;
prevmoving = false;
zpress = false;
eating = true;
boundaryx1 = 50;
boundaryx2 = 2500;
boundaryy1 = 100;
boundaryy2 = 250;
edead = 0;
boundlimit = false;
enum = 8;
health = 3;
}
onClipEvent (enterFrame) {
moving = false;
gamemover = true;
gamemovel = true;
gamemoveu = true;
gamemoved = true;
if (Key.isDown(37) && eating == false && this._x > boundaryx1) {
xmov = -speed;
bodystatus = 'left';
moving = true;
}
if (Key.isDown(39) && eating == false && this._x < boundaryx2) {
xmov = speed;
bodystatus = 'right';
moving = true;
}
if (Key.isDown(38) && eating == false && this._y > boundaryy1) {
ymov = -speed;
moving = true;
}
if (Key.isDown(40) && eating == false && this._y < boundaryy2) {
ymov = speed;
moving = true;
}
if (Key.isDown(90) && eating == false) {
if (prevZ == false) {
zpress = true;
} else {
zpress = false;
}
prevZ = true;
} else {
prevZ = false;
}
if (currentobject != 'none' && tempvar == 1) {
_root.pickup.start();
}
tempvar = 0;
if (zpress == true && currentobject == 'none') {
if (moving == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabmiss', 'monsterbody', 1);
}
tempvar = 1;
}
if (zpress == true && currentobject != 'none') {
removeMovieClip('monsterbody');
if (moving == false) {
attachMovie('monster_stand_throw', 'monsterbody', 1);
} else {
attachMovie('monster_run_throw', 'monsterbody', 1);
}
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('thrown' + bodystatus);
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
zpress = false;
}
if (ymov != 0 && xmov != 0) {
ymov /= Math.SQRT2;
xmov /= Math.SQRT2;
}
if (_x - 200 < boundaryx1) {
gamemovel = false;
}
if (_x + 200 > boundaryx2) {
gamemover = false;
}
if (_y - 50 < boundaryy1 && boundlimit == true) {
gamemoveu = false;
}
if (_y + 200 > boundaryy2) {
gamemoved = false;
}
if (gamemover == true && 300 - _x < _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
if (gamemovel == true && 300 - _x > _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
if (gamemoveu == true && 200 - _y > _root.game._y) {
_root.game._y += (200 - _y - _root.game._y) / 2;
}
if (gamemoved == true && 200 - _y < _root.game._y) {
_root.game._y += (200 - _y - _root.game._y) / 2;
}
_x = _x + xmov;
_y = _y + ymov;
this.swapDepths(this._y + 75);
if (bodystatus == 'right') {
_xscale = 100;
}
if (bodystatus == 'left') {
_xscale = -100;
}
if (prevmoving != moving && eating == false) {
if (moving == true) {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_run', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
} else {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_stand', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
}
}
}
if (Key.isDown(88) && currentobject != 'none' && eating == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_eat', 'monsterbody', 1);
eating = true;
}
prevmoving = moving;
if (hurt == true && health > 1) {
if (healthtime <= 0) {
health -= 1;
healthtime = 60;
removeMovieClip('monsterbody');
attachMovie('monster_hurt', 'monsterbody', 1);
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 7);
if (currentobject != 'none') {
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('throwndown');
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
}
}
hurt = false;
}
if (hurt == true && health <= 1) {
if (healthtime <= 0) {
_root.dmx = this._x;
_root.dmy = this._y;
_root.dgx = _root.game._x;
_root.dgy = _root.game._y;
_root.deathframe = 5;
_root.gotoAndPlay('death');
}
hurt = false;
}
if (healthtime > 0) {
healthtime -= 1;
}
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthtime, 'ga': '100', 'gb': healthtime, 'ba': '100', 'bb': healthtime};
c.setTransform(trans);
_root.game.healthy._x = this._x;
_root.game.healthy._y = this._y;
if (healthup == true) {
if (health < 3) {
health += 1;
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 6);
}
healthup = false;
}
if (_x < 1800 && _y < 350) {
boundaryx1 = 50;
boundaryx2 = 2500;
boundaryy1 = 200;
boundaryy2 = 400;
}
if (_x > 1350) {
boundaryx1 = 1300;
boundaryx2 = 2250;
boundaryy1 = 200;
boundaryy2 = 1000;
}
_root.game.mm._x = -_root.game._x + 300;
_root.game.mm._y = -_root.game._y + 475;
}
}
instance of movieClip 1880 {
onClipEvent (load) {
this.swapDepths(2501);
}
}
instance of movieClip 846 object_mousetoad {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 1124 object_spider {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 784 object_hatcrab {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 625 object_duck {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 592 object_devilduck {
onClipEvent (load) {
starter = true;
}
}
instance of movieClip 1946 {
onClipEvent (load) {
starter = true;
health = 5;
}
}
instance mm of movieClip 1408 {
onClipEvent (enterFrame) {
this._x = -_root.game._x + 300;
this._y = -_root.game._y + 475;
}
}
}
frame 430 {
hatnum = 5;
noenemyhud = true;
stop();
gamedata.data.level = 'six';
gamedata.flush();
if (continuemusic == true) {
song3.start(0, 10000);
continuemusic = false;
}
}
movieClip 1950 {
}
movieClip 1953 {
frame 1 {
_root.game.monster.eating = true;
}
frame 35 {
_root.game.monster.attachMovie('monster_stand', 'monsterbody', 1);
_root.game.monster.eating = false;
stop();
}
}
movieClip 1960 {
}
movieClip 1971 {
}
movieClip 1988 {
}
movieClip 1993 {
frame 1 {
_root.lava2.start();
}
instance of movieClip 1169 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
}
}
}
frame 55 {
_parent.gotoAndPlay(2);
}
}
movieClip 2022 {
frame 20 {
stop();
}
}
movieClip 2023 {
frame 1 {
this._x += 1;
}
frame 2 {
this._x -= 1;
}
frame 3 {
this._x += 1;
}
frame 4 {
this._x -= 1;
}
frame 5 {
this._x += 1;
}
frame 6 {
this._x -= 1;
}
frame 7 {
this._x += 1;
}
frame 8 {
this._x -= 1;
}
frame 9 {
this._x += 1;
}
frame 10 {
this._x -= 1;
}
frame 11 {
this._x += 1;
}
frame 12 {
this._x -= 1;
}
frame 13 {
this._x += 1;
}
frame 14 {
this._x -= 1;
}
frame 15 {
this._x += 1;
}
frame 16 {
this._x -= 1;
}
frame 17 {
this._x += 1;
}
frame 18 {
this._x -= 1;
}
frame 19 {
this._x += 1;
_root.dash.start();
}
frame 20 {
this._x -= 1;
}
frame 21 {
this._x += 1;
}
frame 22 {
this._x -= 1;
}
frame 23 {
this._x += 1;
}
frame 24 {
this._x -= 1;
}
frame 27 {
_parent.play();
}
frame 28 {
if (_parent.hitTest(_root.game.wall1) || _parent.hitTest(_root.game.wall2)) {
_parent.gotoAndPlay('wallhit');
}
}
instance of movieClip 1169 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.monster.hitbox)) {
_root.game.monster.hurt = true;
_parent._parent.monsterhit = true;
}
}
}
frame 29 {
gotoAndPlay('dash');
}
}
movieClip 2038 {
frame 1 {
_root.game._x += 2;
_root.hit.start();
}
frame 2 {
_root.game._x -= 2;
}
frame 3 {
_root.game._x += 1;
}
frame 4 {
_root.game._x -= 1;
}
frame 5 {
_root.game._x += 1;
}
frame 6 {
_root.game._x -= 1;
}
frame 7 {
_root.game._x += 1;
}
frame 8 {
_root.game._x -= 1;
}
frame 9 {
_root.game._x += 0.5;
}
frame 10 {
_root.game._x -= 0.5;
}
frame 14 {
_parent.whitdone = true;
}
}
movieClip 2050 {
}
movieClip 2066 {
frame 17 {
_parent.shakedone = true;
}
}
movieClip 2076 {
frame 1 {
_root.hit.start();
}
frame 17 {
_parent.hurtdone = true;
}
}
movieClip 2104 {
frame 1 {
_root.hit.start();
}
frame 18 {
_root.hit.start();
}
frame 27 {
_root.hit.start();
}
frame 35 {
_root.hit.start();
}
frame 44 {
_root.gotoAndStop('seven');
}
}
movieClip 2105 {
frame 2 {
speed = 2;
attackfin = false;
xmov = 0;
ymov = 0;
if (_x - _root.game.monster._x < -5) {
xmov = speed;
_xscale = -100;
}
if (_x - _root.game.monster._x > 5) {
xmov = -speed;
_xscale = 100;
}
if (_y - _root.game.monster._y - 55 < -5) {
ymov = speed;
}
if (_y - _root.game.monster._y - 55 > 5) {
ymov = -speed;
}
_x = _x + xmov;
_y = _y + ymov;
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
attacknum -= 1;
if (attacknum <= 0) {
attacknum = 100 - (10 - health) * 5;
if (Math.abs(_x - _root.game.monster._x) < 150) {
gotoAndStop(4);
} else {
gotoAndStop(5);
}
}
this.swapDepths(this._y);
dizzytime = 200 - (10 - health) * 10;
trace(attacknum);
}
frame 3 {
gotoAndPlay(2);
}
frame 5 {
if (_x - _root.game.monster._x < -5) {
_xscale = -100;
dir = 0;
}
if (_x - _root.game.monster._x > 5) {
_xscale = 100;
dir = 1;
}
attacktime = 15;
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 6 {
if (dir == 0) {
xmov = 6 * speed;
_xscale = -100;
}
if (dir == 1) {
xmov = -6 * speed;
_xscale = 100;
}
attacktime -= 1;
_x = _x + xmov;
if (attacktime <= 0) {
gotoAndPlay(1);
}
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 7 {
if (dir == 0) {
xmov = 4 * speed;
_xscale = -100;
}
if (dir == 1) {
xmov = -4 * speed;
_xscale = 100;
}
_x = _x + xmov;
gotoAndPlay(6);
if (monsterhit == true) {
monsterhit = false;
gotoAndPlay(1);
}
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 8 {
if (dir == 0) {
xmov = -2 * speed;
_xscale = -100;
}
if (dir == 1) {
xmov = 2 * speed;
_xscale = 100;
}
_x = _x + xmov;
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 9 {
gotoAndPlay('wallhit');
if (whitdone == true) {
whitdone = false;
gotoAndPlay('dizzy');
}
}
frame 10 {
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
health -= 1;
gotoAndPlay('hurt');
if (health <= 0) {
gotoAndPlay('explode');
}
}
trace(dizzytime);
}
frame 11 {
gotoAndPlay('dizzy');
dizzytime -= 1;
if (dizzytime <= 0) {
gotoAndPlay('shakeoff');
}
}
frame 12 {
if (this.hitTest(_root.game.thob)) {
_root.game.thob.bounce = true;
_root.game.thob.bounceokay = false;
}
}
frame 13 {
gotoAndPlay('shakeoff');
if (shakedone == true) {
shakedone = false;
gotoAndPlay(1);
}
}
frame 14 {
var healthcolor = (10 - health) * 10;
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthcolor, 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0'};
c.setTransform(trans);
if (health < 0) {
gotoAndPlay('explode');
}
}
frame 15 {
gotoAndPlay('hurt');
if (hurtdone == true) {
hurtdone = false;
gotoAndPlay(1);
}
}
frame 16 {
var healthcolor = (10 - health) * 10;
var c = new Color(this);
var trans = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0'};
c.setTransform(trans);
}
frame 17 {
gotoAndPlay('explode');
}
}
movieClip 2106 {
instance of movieClip 1950 {
onClipEvent (enterFrame) {
this._x = -_parent._x / 3 + 350;
}
}
instance monster of movieClip 1409 {
onClipEvent (load) {
speed = 10;
currentobject = 'none';
bodystatus = 'right';
newmove = true;
prevmoving = false;
zpress = false;
eating = true;
boundaryx1 = 50;
boundaryx2 = 800;
boundaryy1 = 100;
boundaryy2 = 250;
health = 3;
_root.game.attachMovie('health', 'healthy', 60);
edead = 0;
enum = 4;
}
onClipEvent (enterFrame) {
moving = false;
gamemover = true;
gamemovel = true;
gamemoveu = true;
gamemoved = true;
if (Key.isDown(37) && eating == false && this._x > boundaryx1) {
xmov = -speed;
bodystatus = 'left';
moving = true;
}
if (Key.isDown(39) && eating == false && this._x < boundaryx2) {
xmov = speed;
bodystatus = 'right';
moving = true;
}
if (Key.isDown(38) && eating == false && this._y > boundaryy1) {
ymov = -speed;
moving = true;
}
if (Key.isDown(40) && eating == false && this._y < boundaryy2) {
ymov = speed;
moving = true;
}
if (Key.isDown(90) && eating == false) {
if (prevZ == false) {
zpress = true;
} else {
zpress = false;
}
prevZ = true;
} else {
prevZ = false;
}
if (currentobject != 'none' && tempvar == 1) {
_root.pickup.start();
}
tempvar = 0;
if (zpress == true && currentobject == 'none') {
if (moving == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabmiss', 'monsterbody', 1);
}
tempvar = 1;
}
if (zpress == true && currentobject != 'none') {
removeMovieClip('monsterbody');
if (moving == false) {
attachMovie('monster_stand_throw', 'monsterbody', 1);
} else {
attachMovie('monster_run_throw', 'monsterbody', 1);
}
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('thrown' + bodystatus);
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
zpress = false;
}
if (ymov != 0 && xmov != 0) {
ymov /= Math.SQRT2;
xmov /= Math.SQRT2;
}
if (_x - 200 < boundaryx1) {
gamemovel = false;
}
if (_x + 200 > boundaryx2) {
gamemover = false;
}
if (_y - 50 < boundaryy1) {
gamemoveu = false;
}
if (_y + 100 > boundaryy2) {
gamemoved = false;
}
if (gamemover == true && 300 - _x < _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
if (gamemovel == true && 300 - _x > _root.game._x) {
_root.game._x += (300 - _x - _root.game._x) / 2;
}
_x = _x + xmov;
_y = _y + ymov;
this.swapDepths(this._y + 75);
if (bodystatus == 'right') {
_xscale = 100;
}
if (bodystatus == 'left') {
_xscale = -100;
}
if (prevmoving != moving && eating == false) {
if (moving == true) {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_run', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
} else {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_stand', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
}
}
}
if (Key.isDown(88) && currentobject != 'none' && eating == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_eat', 'monsterbody', 1);
eating = true;
}
prevmoving = moving;
if (hurt == true && health > 1) {
if (healthtime <= 0) {
health -= 1;
healthtime = 60;
removeMovieClip('monsterbody');
attachMovie('monster_hurt', 'monsterbody', 1);
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 7);
if (currentobject != 'none') {
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('throwndown');
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
}
}
hurt = false;
}
if (hurt == true && health <= 1) {
if (healthtime <= 0) {
_root.dmx = this._x;
_root.dmy = this._y;
_root.dgx = _root.game._x;
_root.dgy = _root.game._y;
_root.deathframe = 6;
_root.gotoAndPlay('death');
}
hurt = false;
}
if (healthtime > 0) {
healthtime -= 1;
}
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthtime, 'ga': '100', 'gb': healthtime, 'ba': '100', 'bb': healthtime};
c.setTransform(trans);
_root.game.healthy._x = this._x;
_root.game.healthy._y = this._y;
if (healthup == true) {
if (health < 3) {
health += 1;
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 6);
}
healthup = false;
}
if (_x < 1800 && _y < 250) {
boundaryx1 = 50;
boundaryx2 = 800;
boundaryy1 = 150;
boundaryy2 = 350;
}
_root.game.mm._x = -_root.game._x + 300;
_root.game.mm._y = -_root.game._y + 475;
}
}
instance of movieClip 2105 {
onClipEvent (load) {
health = 10;
attacknum = 100;
dizzytime = 200;
}
}
instance mm of movieClip 1408 {
onClipEvent (enterFrame) {
this._x = -_root.game._x + 300;
this._y = -_root.game._y + 475;
}
}
}
frame 431 {
hatnum = 5;
stop();
gamedata.data.level = 'seven';
gamedata.flush();
}
movieClip 2108 {
}
movieClip 2110 {
}
movieClip 2152 {
}
movieClip 2190 {
}
movieClip 2191 {
frame 75 {
stop();
}
}
movieClip 2192 {
frame 1 {
_root.hit.start();
}
frame 18 {
_root.hit.start();
}
frame 27 {
_root.hit.start();
}
frame 35 {
_root.hit.start();
}
frame 44 {
_root.hit.start();
}
frame 52 {
_root.hit.start();
}
frame 62 {
_root.hit.start();
}
frame 69 {
_root.hit.start();
}
frame 79 {
_root.hit.start();
}
frame 243 {
stop();
}
}
movieClip 2196 {
}
movieClip 2197 {
instance of movieClip 214 {
onClipEvent (load) {
attachMovie('object_pill2', 'monsterobject', 1);
monsterobject.stop();
}
}
}
movieClip 2204 {
frame 1 {
_root.eat1.start();
}
instance of movieClip 236 {
onClipEvent (load) {
this._width = 115;
}
}
instance of movieClip 238 {
onClipEvent (load) {
this._width = 115;
}
}
instance of movieClip 241 {
onClipEvent (load) {
this._x += 50;
}
}
instance of movieClip 243 {
onClipEvent (load) {
this._x -= 50;
}
}
frame 37 {
_root.eat2.start();
}
frame 44 {
_root.game.monster.currentobject = 'none';
_root.game.monster.eating = false;
_root.game.monster.healthup = true;
}
frame 80 {
gotoAndPlay(44);
}
}
movieClip 2216 {
instance of movieClip 1950 {
onClipEvent (enterFrame) {
this._x = -_parent._x / 3 + 350;
}
}
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum + 'run', 'hat', 3);
}
}
frame 375 {
_root.play();
}
}
frame 432 {
hatnum = 6;
stop();
song3.stop();
if (music == true) {
var song4 = new Sound();
song4.attachSound('Song_4');
song4.start(0, 10000);
}
gamedata.data.level = 'eight';
gamedata.flush();
}
movieClip 2218 {
}
movieClip 2225 {
}
movieClip 2226 {
frame 15 {
_root.game.monster.attachMovie('monster_stand', 'monsterbody', 2);
_root.game.monster.eating = false;
_root.game.monster.boundlimit = true;
stop();
}
}
movieClip 2232 {
}
movieClip 2239 {
frame 1 {
speed = 1;
if (_x < _root.game.monster._x) {
xmov = -speed;
this._xscale = -100;
}
if (_x > _root.game.monster._x) {
xmov = speed;
this._xscale = 100;
}
_x = _x + xmov;
if (this.hitTest(_root.game.monster.hitbox) || this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
}
this.swapDepths(_y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_root.hit.start();
}
frame 19 {
stop();
this.removeMovieClip();
}
}
movieClip 2244 {
}
movieClip 2251 {
frame 1 {
speed = 0.8;
if (_x < _root.game.monster._x) {
xmov = -speed;
this._xscale = -100;
}
if (_x > _root.game.monster._x) {
xmov = speed;
this._xscale = 100;
}
_x = _x + xmov;
if (this.hitTest(_root.game.monster.hitbox) || this.hitTest(_root.game.thob)) {
gotoAndPlay('explode');
}
this.swapDepths(_y);
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_root.hit.start();
}
frame 19 {
stop();
this.removeMovieClip();
}
}
movieClip 2252 {
instance of movieClip 2218 {
onClipEvent (enterFrame) {
this._x = -_parent._x / 3;
}
}
instance monster of movieClip 1409 {
onClipEvent (load) {
speed = 5;
currentobject = 'none';
bodystatus = 'right';
newmove = true;
prevmoving = false;
zpress = false;
eating = true;
boundaryx1 = 50;
boundaryx2 = 800;
boundaryy1 = 100;
boundaryy2 = 250;
health = 3;
_root.game.attachMovie('health', 'healthy', 60);
edead = 0;
enum = 4;
}
onClipEvent (enterFrame) {
moving = false;
gamemover = true;
gamemovel = true;
gamemoveu = true;
gamemoved = true;
if (Key.isDown(37) && eating == false && this._x > boundaryx1) {
xmov = -speed;
bodystatus = 'left';
moving = true;
}
if (Key.isDown(39) && eating == false && this._x < boundaryx2) {
xmov = speed;
bodystatus = 'right';
moving = true;
}
if (Key.isDown(38) && eating == false && this._y > boundaryy1) {
ymov = -speed;
moving = true;
}
if (Key.isDown(40) && eating == false && this._y < boundaryy2) {
ymov = speed;
moving = true;
}
if (Key.isDown(90) && eating == false) {
if (prevZ == false) {
zpress = true;
} else {
zpress = false;
}
prevZ = true;
} else {
prevZ = false;
}
if (currentobject != 'none' && tempvar == 1) {
_root.pickup.start();
}
tempvar = 0;
if (zpress == true && currentobject == 'none') {
if (moving == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabmiss', 'monsterbody', 1);
}
tempvar = 1;
}
if (zpress == true && currentobject != 'none') {
removeMovieClip('monsterbody');
if (moving == false) {
attachMovie('monster_stand_throw', 'monsterbody', 1);
} else {
attachMovie('monster_run_throw', 'monsterbody', 1);
}
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('thrown' + bodystatus);
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
zpress = false;
}
if (ymov != 0 && xmov != 0) {
ymov /= Math.SQRT2;
xmov /= Math.SQRT2;
}
if (_y - 50 < boundaryy1) {
gamemoveu = false;
}
if (_y + 100 > boundaryy2) {
gamemoved = false;
}
if (gamemover == true && 100 - _x < _root.game._x) {
_root.game._x += (100 - _x - _root.game._x) / 2;
}
if (gamemovel == true && 100 - _x > _root.game._x) {
_root.game._x += (100 - _x - _root.game._x) / 2;
}
_x = _x + xmov;
_y = _y + ymov;
this.swapDepths(this._y + 75);
if (bodystatus == 'right') {
_xscale = 100;
}
if (bodystatus == 'left') {
_xscale = -100;
}
if (prevmoving != moving && eating == false) {
if (moving == true) {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_run', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_run_grabsmall', 'monsterbody', 1);
}
} else {
if (currentobject == 'none') {
removeMovieClip('monsterbody');
attachMovie('monster_stand', 'monsterbody', 1);
} else {
removeMovieClip('monsterbody');
attachMovie('monster_stand_grabsmall', 'monsterbody', 1);
}
}
}
if (Key.isDown(88) && currentobject != 'none' && eating == false) {
removeMovieClip('monsterbody');
attachMovie('monster_stand_eat', 'monsterbody', 1);
eating = true;
}
prevmoving = moving;
if (hurt == true && health > 1) {
if (healthtime <= 0) {
health -= 1;
healthtime = 60;
removeMovieClip('monsterbody');
attachMovie('monster_hurt', 'monsterbody', 1);
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 7);
if (currentobject != 'none') {
_root.game.attachMovie('object_' + currentobject, 'n' + currentobject, 601);
_root.game['n' + currentobject]._x = _root.game.monster._x;
_root.game['n' + currentobject]._y = _root.game.monster._y - 25;
_root.game['n' + currentobject].gotoAndPlay('throwndown');
_root.game['n' + currentobject].swapDepths(601);
currentobject = 'none';
}
}
hurt = false;
}
if (hurt == true && health <= 1) {
if (healthtime <= 0) {
_root.dmx = this._x;
_root.dmy = this._y;
_root.dgx = _root.game._x;
_root.dgy = _root.game._y;
_root.deathframe = 6;
_root.gotoAndPlay('death');
}
hurt = false;
}
if (healthtime > 0) {
healthtime -= 1;
}
var c = new Color(this);
var trans = {'ra': '100', 'rb': healthtime, 'ga': '100', 'gb': healthtime, 'ba': '100', 'bb': healthtime};
c.setTransform(trans);
_root.game.healthy._x = this._x;
_root.game.healthy._y = this._y;
if (healthup == true) {
if (health < 3) {
health += 1;
_root.game.removeMovieClip('healthy');
_root.game.attachMovie('health', 'healthy', 6);
}
healthup = false;
}
if (_x < 1800 && _y < 350) {
boundaryx1 = 50;
boundaryx2 = 950;
boundaryy1 = 25;
boundaryy2 = 250;
}
_root.game.mm._x = -_root.game._x + 300;
_root.game.mm._y = -_root.game._y + 475;
}
}
}
frame 433 {
stop();
}
movieClip 2259 {
frame 64 {
stop();
}
}
movieClip 2284 {
frame 1 {
_root.die.start();
}
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum, 'hat', 3);
}
}
frame 26 {
_root.eat2.start();
}
instance of movieClip 201 {
onClipEvent (load) {
this.attachMovie('hat_' + _root.hatnum, 'hat', 3);
}
}
frame 40 {
_root.powerup.start();
}
frame 83 {
_root.game.play();
}
}
movieClip 2285 {
frame 1 {
this._x = _root.dgx;
this._y = _root.dgy;
stop();
}
instance of movieClip 2259 {
onClipEvent (load) {
this._x = _root.dmx;
this._y = _root.dmy;
}
}
instance of movieClip 2284 {
onClipEvent (load) {
this._x = _root.dmx;
this._y = _root.dmy;
gamex = -(this._x - 270) * 1.2;
gamey = -(this._y - 220) * 1.2;
}
onClipEvent (enterFrame) {
_root.game._xscale = (120 + _root.game._xscale) / 2;
_root.game._yscale = (120 + _root.game._yscale) / 2;
_root.game._x = (gamex + _root.game._x) / 2;
_root.game._y = (gamey + _root.game._y) / 2;
}
}
frame 2 {
if (_root.deathframe == 1) {
ideathframe = 'one';
}
if (_root.deathframe == 2) {
ideathframe = 'two';
}
if (_root.deathframe == 3) {
ideathframe = 'three';
}
if (_root.deathframe == 4) {
ideathframe = 'four';
}
if (_root.deathframe == 5) {
ideathframe = 'five';
}
if (_root.deathframe == 6) {
ideathframe = 'six';
}
_root.gotoAndStop(ideathframe);
}
}
movieClip 2287 {
}
movieClip 2291 {
}
movieClip 2292 {
}
// unknown tag 88 length 32
movieClip 2295 {
}
frame 1322 {
gotoAndPlay('themenu');
}
frame 1340 {
function mySiteLink() {
getURL('http://www.clockcrew.cc', '_blank');
}
function mySiteLink2() {
getURL('http://www.gamesfree.com', '_blank');
}
var CPMStarContentSpotID = '0';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=2034QBE6D8C24');
var gamedata = SharedObject.getLocal('game_data');
var rightClick = new ContextMenu();
rightClick.hideBuiltInItems();
_root.menu = rightClick;
var mySiteLink = new ContextMenuItem('The Clock Crew', mySiteLink);
rightClick.customItems.push(mySiteLink);
var mySiteLink2 = new ContextMenuItem('Gamesfree.com', mySiteLink2);
rightClick.customItems.push(mySiteLink2);
}
movieClip 2301 {
}
frame 1341 {
}
movieClip 2304 {
}
movieClip 2305 {
}
movieClip 2307 {
}
// unknown tag 88 length 32
movieClip 2311 {
}
movieClip 2315 {
}
movieClip 2316 {
}
movieClip 2317 {
}
instance of movieClip 2317 {
onClipEvent (load) {
this._xscale = 0;
}
onClipEvent (enterFrame) {
Loaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
this._xscale = Loaded;
if (Loaded >= 99) {
_root.gotoAndStop('Finished');
}
}
}
frame 1412 {
stopAllSounds();
}
frame 1413 {
stop();
}
frame 1414 {
stop();
}
button 2322 {
on (release) {
_root.play();
}
}
frame 1435 {
removeMovieClip(adBox);
stop();
}
frame 1436 {
stop();
}
frame 1437 {
if (_root.music == true) {
var songmenu = new Sound();
songmenu.attachSound('Song_Menu');
songmenu.start(0, 10000);
}
if (_root.music == true) {
var throw1 = new Sound();
throw1.attachSound('throw1');
var pickup = new Sound();
pickup.attachSound('pickup');
var hit = new Sound();
hit.attachSound('hit');
var eat1 = new Sound();
eat1.attachSound('eat1');
var eat2 = new Sound();
eat2.attachSound('eat2');
var hurt = new Sound();
hurt.attachSound('monsterhit3');
var step = new Sound();
step.attachSound('step');
var menuchoose = new Sound();
menuchoose.attachSound('menuchoose');
var menuselect = new Sound();
menuselect.attachSound('menuselect');
var lava = new Sound();
lava.attachSound('lava');
var lava2 = new Sound();
lava2.attachSound('lava2');
var dash = new Sound();
dash.attachSound('dash');
var dummyshoot = new Sound();
dummyshoot.attachSound('dummyshoot');
var powerup = new Sound();
powerup.attachSound('powerup');
var groundpunch = new Sound();
groundpunch.attachSound('groundpunch');
var lazer2 = new Sound();
lazer2.attachSound('lazer2');
var lazer = new Sound();
lazer.attachSound('lazer');
var dummyhurt = new Sound();
dummyhurt.attachSound('dummyhurt');
var dummyexplode = new Sound();
dummyexplode.attachSound('dummyexplode');
var die = new Sound();
die.attachSound('die');
}
}
frame 1446 {
stop();
}