Combined Code
movieClip 2 eweapon {
}
movieClip 4 bullet {
}
frame 1 {
MenNav = false;
Fire = false;
timer = 0;
Score = 0;
}
frame 5 {
stop();
}
// unknown tag 88 length 63
// unknown tag 88 length 78
button 11 {
on (release) {
play();
}
}
// unknown tag 88 length 62
movieClip 17 {
}
instance of movieClip 17 {
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
movieClip 19 {
}
movieClip 21 {
}
instance stopLEFT of movieClip 21 {
onClipEvent (enterFrame) {
if (_root.Player.hitTest(this)) {
trace('Hit the wall!');
_root.Player._x += _root.Player.setspeed;
}
}
}
instance stopRIGHT of movieClip 21 {
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.Player.hitTest(this)) {
trace('Hit the wall!');
_root.Player._x -= _root.Player.setspeed;
}
if (_root.gridRIGHT.hitTest(this) && _root.BatTouch == true) {
_root.BatTouch = false;
_root.play();
}
}
}
movieClip 23 {
frame 1 {
stop();
}
}
instance Player of movieClip 23 {
onClipEvent (load) {
var grav = 0;
var run = 10;
var wlk = 7;
var jumpHeight = 18;
var thro = false;
var scale = _xscale;
var facing = 1;
var platform = 2;
var Recove = 0;
var MaxHealth = 4;
var Health = 4;
var Switch = false;
var watergun = 'Pistol';
var waterfull = 15;
var watermax = 15;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (Recove > 0 && _root.MenNav == false) {
this._alpha = 50;
--Recove;
} else {
this._alpha = 100;
}
++grav;
_y = _y + grav;
if (Key.isDown(65) && _root.MenNav == false) {
setspeed = run;
} else {
setspeed = wlk;
}
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Key.isDown(39) && _root.MenNav == false) {
facing = 1;
_x = _x + setspeed;
_xscale = scale;
if (_root.groundA.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
}
} else {
if (Key.isDown(37) && _root.MenNav == false) {
facing = 2;
_x = _x - setspeed;
_xscale = -scale;
if (_root.groundA.hitTest(_x, _y + 3, true) && platform == 1 || _root.groundB.hitTest(_x, _y + 3, true) && platform == 2 || _root.groundC.hitTest(_x, _y + 3, true) && platform == 3) {
this.gotoAndStop(1);
}
} else {
if (_root.groundA.hitTest(_x, _y + 3, true) && !Key.isDown(68) && !Key.isDown(83)) {
this.gotoAndStop(3);
}
}
}
if (Key.isDown(68) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(37) && !Key.isDown(83) && _root.groundA.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(8);
}
if (Key.isDown(83) && !Key.isDown(39) && !Key.isDown(37) && !Key.isDown(38) && !Key.isDown(68) && _root.groundA.hitTest(_x, _y + 3, true) && _currentframe != 6) {
this.gotoAndStop(7);
} else {
if (Key.isDown(83) && grav > 1) {
this.gotoAndStop(6);
}
}
if (Key.isDown(38) && (_root.groundA.hitTest(_x, _y + 3, true) && platform == 1 || _root.groundB.hitTest(_x, _y + 3, true) && platform == 2 || _root.groundC.hitTest(_x, _y + 3, true) && platform == 3) && _root.MenNav == false) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
}
if (_root.groundA.hitTest(_x, _y - _height - 15, true)) {
grav = 1;
}
}
onClipEvent (enterFrame) {
if (_root.groundA.hitTest(_x, _y + 3, true) && platform == 1 && _root.MenNav == false) {
if (Key.isDown(16)) {
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
platform = 2;
} else {
Switch = false;
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && platform == 2 && _root.MenNav == false) {
if (Key.isDown(16)) {
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(2);
} else {
if (Key.isDown(17)) {
platform = 1;
_y = _y - 4;
this.gotoAndStop(2);
}
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && platform == 3 && _root.MenNav == false) {
if (Key.isDown(17)) {
platform = 2;
_y = _y - 4;
this.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (_root.gridRIGHT.hitTest(_root.stopRIGHT) && _root.MenNav == false) {
_root.stopRight = true;
} else {
_root.stopRight = false;
}
if (_root.gridRIGHT.hitTest(_x + 20, _y, true) && _root.MenNav == false && _root.stopRight == false) {
this._x -= setspeed;
_root.moveRight = true;
} else {
_root.moveRight = false;
}
}
}
instance of movieClip 4 bullet {
onClipEvent (load) {
i = 0;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.timer > 0) {
--_root.timer;
_root.fire = true;
} else {
_root.fire = false;
}
if (Key.isDown(32) && _root.MenNav == false) {
if (_root.fire == false && _root.Player.waterfull != 0 && _root.Player.watergun == 'Pistol') {
--_root.Player.waterfull;
aiming = _root.Player.facing;
_root.attachMovie('bullet', 'water', _root.getNextHighestDepth());
_root.water._x = _root.Player._x;
_root.water._y = _root.Player._y - 64;
_root.water.onEnterFrame = function () {
if (aiming == 1) {
this._x += 20;
} else {
if (aiming == 2) {
this._xscale = -scale;
this._x -= 20;
}
}
if (_root.timer == 0 || _root.GotEm == true) {
this.removeMovieClip('water');
--i;
_root.GotEm = false;
}
};
++i;
_root.timer = 15;
}
}
}
}
instance of movieClip 2 eweapon {
onClipEvent (enterFrame) {
if (Key.isDown(83) && recharge == true) {
_root.timer = 5;
} else {
recharge = false;
}
if (_root.timer > 0) {
--_root.timer;
_root.fire = true;
} else {
_root.fire = false;
}
if (Key.isDown(83) && _root.MenNav == false) {
if (_root.fire == false) {
aiming = _root.Player.facing;
_root.attachMovie('eweapon', 'batton', _root.getNextHighestDepth());
if (aiming == 1) {
_root.batton._x = _root.Player._x + 30;
_root.batton._y = _root.Player._y - 64;
} else {
if (aiming == 2) {
_root.batton._x = _root.Player._x - 95;
_root.batton._y = _root.Player._y - 64;
}
}
_root.batton.onEnterFrame = function () {
if (_root.timer == 5 || _root.GotEm == true) {
this.removeMovieClip('batton');
--i;
recharge = true;
_root.GotEm = false;
}
};
++i;
_root.timer = 8;
}
}
}
}
// unknown tag 88 length 64
movieClip 28 {
}
movieClip 30 {
}
// unknown tag 88 length 92
movieClip 34 {
frame 1 {
stop();
_root.MenNav = false;
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
if (_root.Player.Health >= 4) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
if (_root.Player.Health >= 3) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
if (_root.Player.Health >= 2) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 28 {
onClipEvent (enterFrame) {
if (_root.Player.Health >= 1) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 2 {
_root.MenNav = true;
}
}
instance MenuPause of movieClip 34 {
onClipEvent (load) {
this.getDepth(999);
}
onClipEvent (enterFrame) {
Mount = Math.round((_root.Player.waterfull / _root.Player.watermax) * 100);
Scoring.text = _root.Score;
mcGauge._xscale = Mount;
}
onClipEvent (enterFrame) {
if (_root.Battle == 0) {
_root.stopRIGHT._x += 720;
_root.mcAlert.play();
_root.BatTouch = true;
--_root.Battle;
}
}
}
button 35 {
on (keyPress '<Backspace>') {
if (MenNav == false) {
MenuPause.gotoAndStop(2);
} else {
if (MenNav == true) {
MenuPause.gotoAndStop(1);
}
}
}
}
movieClip 39 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 100 {
gotoAndStop(1);
}
}
frame 15 {
stop();
Battle = 6;
}
movieClip 42 {
}
movieClip 44 {
frame 1 {
stop();
}
instance of movieClip 42 {
onClipEvent (load) {
Acc = 1;
}
onClipEvent (enterFrame) {
if (_root.Player.hitTest(this) && _root.Player._alpha == 100 && _parent.Stunned == false) {
if (_root.Player.facing == 1) {
_root.Player._x -= 100;
} else {
if (_root.Player.facing == 2) {
_root.Player._x += 100;
}
}
--_root.Player.Health;
_root.Player.Recove = 90;
}
if (_root.Accident.hitTest(this) && Acc == 1) {
--_root.Battle;
--_root.Acc;
trace('Accidents Happen');
}
}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 2;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
frame 20 {
stop();
Battle = 7;
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 2;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 2;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 2;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
frame 25 {
stop();
Battle = 7;
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 2;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 1;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}
instance of movieClip 44 {
onClipEvent (load) {
var grav = 0;
var run = 7.5;
var wlk = 2.5;
var speed = run;
var jumpHeight = 18;
var scale = _xscale;
var facing = 4;
var Stunned = false;
var DaTime = 0;
var platform = 3;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
setspeed = wlk;
if (platform == 1) {
while (_root.groundA.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 2) {
while (_root.groundB.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
} else {
if (platform == 3) {
while (_root.groundC.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
}
}
}
if (Stunned == false && _root.MenNav == false) {
if (_root.Player._x > this._x) {
facing = 2;
this._xscale = scale;
this._x += setspeed;
}
if (_root.Player._x < this._x) {
facing = 4;
this._xscale = -scale;
this._x -= setspeed;
}
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.water) || this.hitTest(_root.batton)) && Stunned == false) {
_root.Score += 100;
_root.GotEm = true;
--_root.Battle;
trace('Hit them');
this.Stunned = true;
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Stunned == false && _root.MenNav == false) {
if (_root.groundA.hitTest(_x, _y + 3, true) && _root.Player.platform > 1) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform > 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 3;
grav = -jumpHeight;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundB.hitTest(_x, _y + 3, true) && _root.Player.platform < 2) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 1;
_y = _y - 4;
this.gotoAndStop(1);
}
}
if (_root.groundC.hitTest(_x, _y + 3, true) && _root.Player.platform < 3) {
if (this._x - 100 <= _root.Player._x && this._x + 100 >= _root.Player._x) {
Switcher = true;
platform = 2;
_y = _y - 4;
this.gotoAndStop(1);
}
}
}
Switcher = false;
}
onClipEvent (enterFrame) {
if (_root.moveRight == true) {
this._x -= _root.Player.setspeed;
} else {}
if (_root.moveLeft == true) {
this._x += _root.Player.setspeed;
} else {}
}
}