Frame 1
var menuselect = new Sound();
menuselect.attachSound("menuselect");
var menudeselect = new Sound();
menudeselect.attachSound("menudeselect");
var jonathanhurtsound = new Sound();
jonathanhurtsound.attachSound("jonathanhurtsound");
var specialitem = new Sound();
specialitem.attachSound("specialitem");
var jump_sound = new Sound();
jump_sound.attachSound("jump");
var taunt_sound = new Sound();
taunt_sound.attachSound("taunt_sound");
var xdeathsound = new Sound();
xdeathsound.attachSound("xdeathsound");
var xhitsound = new Sound();
xhitsound.attachSound("xhitsound");
var land_sound = new Sound();
land_sound.attachSound("land");
var pales = new Sound();
pales.attachSound("pales");
var backdash_sound = new Sound();
backdash_sound.attachSound("backdash_sound");
var hard_land_sound = new Sound();
hard_land_sound.attachSound("hard_land");
var heart_sound = new Sound();
heart_sound.attachSound("heart_sound");
var slide_sound = new Sound();
slide_sound.attachSound("slide_sound");
var whip_sound = new Sound();
whip_sound.attachSound("whip_sound");
var whip_sound2 = new Sound();
whip_sound2.attachSound("whip_sound2");
_root._quality = "LOW";
_root.pales.start("", "1000");
Instance of Symbol 72 MovieClip "bg" in Frame 1
onClipEvent (load) {
this._visible = false;
}
Frame 2
var menuselect = new Sound();
menuselect.attachSound("menuselect");
var menudeselect = new Sound();
menudeselect.attachSound("menudeselect");
var jonathanhurtsound = new Sound();
jonathanhurtsound.attachSound("jonathanhurtsound");
var specialitem = new Sound();
specialitem.attachSound("specialitem");
var jump_sound = new Sound();
jump_sound.attachSound("jump");
var taunt_sound = new Sound();
taunt_sound.attachSound("taunt_sound");
var xdeathsound = new Sound();
xdeathsound.attachSound("xdeathsound");
var xhitsound = new Sound();
xhitsound.attachSound("xhitsound");
var land_sound = new Sound();
land_sound.attachSound("land");
var empty_tome = new Sound();
empty_tome.attachSound("empty_tome");
var backdash_sound = new Sound();
backdash_sound.attachSound("backdash_sound");
var hard_land_sound = new Sound();
hard_land_sound.attachSound("hard_land");
var heart_sound = new Sound();
heart_sound.attachSound("heart_sound");
var slide_sound = new Sound();
slide_sound.attachSound("slide_sound");
var whip_sound = new Sound();
whip_sound.attachSound("whip_sound");
var whip_sound2 = new Sound();
whip_sound2.attachSound("whip_sound2");
stop();
Instance of Symbol 107 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((((_global.whipstring != "\u2190") and (_global.whipstring != "\u2192")) and (_global.whipstring != "\u2191")) and (_global.whipstring != "\u2193")) {
_global.attackfinal = ord(_global.whipstring);
}
if (_global.whipstring == "\u2190") {
_global.attackfinal = 37;
}
if (_global.whipstring == "\u2191") {
_global.attackfinal = 38;
}
if (_global.whipstring == "\u2192") {
_global.attackfinal = 39;
}
if (_global.whipstring == "\u2193") {
_global.attackfinal = 40;
}
}
Instance of Symbol 109 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((((_global.jumpstring != "\u2190") and (_global.jumpstring != "\u2192")) and (_global.jumpstring != "\u2191")) and (_global.jumpstring != "\u2193")) {
_global.jumpfinal = ord(_global.jumpstring);
}
if (_global.jumpstring == "\u2190") {
_global.jumpfinal = 37;
}
if (_global.jumpstring == "\u2191") {
_global.jumpfinal = 38;
}
if (_global.jumpstring == "\u2192") {
_global.jumpfinal = 39;
}
if (_global.jumpstring == "\u2193") {
_global.jumpfinal = 40;
}
}
Instance of Symbol 111 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((((_global.backdashstring != "\u2190") and (_global.backdashstring != "\u2192")) and (_global.backdashstring != "\u2191")) and (_global.backdashstring != "\u2193")) {
_global.backdashfinal = ord(_global.backdashstring);
}
if (_global.backdashstring == "\u2190") {
_global.backdashfinal = 37;
}
if (_global.backdashstring == "\u2191") {
_global.backdashfinal = 38;
}
if (_global.backdashstring == "\u2192") {
_global.backdashfinal = 39;
}
if (_global.backdashstring == "\u2193") {
_global.backdashfinal = 40;
}
}
Instance of Symbol 113 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((((_global.upstring != "\u2190") and (_global.upstring != "\u2192")) and (_global.upstring != "\u2191")) and (_global.upstring != "\u2193")) {
_global.upfinal = ord(_global.upstring);
}
if (_global.upstring == "\u2190") {
_global.upfinal = 37;
}
if (_global.upstring == "\u2191") {
_global.upfinal = 38;
}
if (_global.upstring == "\u2192") {
_global.upfinal = 39;
}
if (_global.upstring == "\u2193") {
_global.upfinal = 40;
}
}
Instance of Symbol 115 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((((_global.downstring != "\u2190") and (_global.downstring != "\u2192")) and (_global.downstring != "\u2191")) and (_global.downstring != "\u2193")) {
_global.downfinal = ord(_global.downstring);
}
if (_global.downstring == "\u2190") {
_global.downfinal = 37;
}
if (_global.downstring == "\u2191") {
_global.downfinal = 38;
}
if (_global.downstring == "\u2192") {
_global.downfinal = 39;
}
if (_global.downstring == "\u2193") {
_global.downfinal = 40;
}
}
Instance of Symbol 117 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((((_global.leftstring != "\u2190") and (_global.leftstring != "\u2192")) and (_global.leftstring != "\u2191")) and (_global.leftstring != "\u2193")) {
_global.leftfinal = ord(_global.leftstring);
}
if (_global.leftstring == "\u2190") {
_global.leftfinal = 37;
}
if (_global.leftstring == "\u2191") {
_global.leftfinal = 38;
}
if (_global.leftstring == "\u2192") {
_global.leftfinal = 39;
}
if (_global.leftstring == "\u2193") {
_global.leftfinal = 40;
}
}
Instance of Symbol 119 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((((_global.rightstring != "\u2190") and (_global.rightstring != "\u2192")) and (_global.rightstring != "\u2191")) and (_global.rightstring != "\u2193")) {
_global.rightfinal = ord(_global.rightstring);
}
if (_global.rightstring == "\u2190") {
_global.rightfinal = 37;
}
if (_global.rightstring == "\u2191") {
_global.rightfinal = 38;
}
if (_global.rightstring == "\u2192") {
_global.rightfinal = 39;
}
if (_global.rightstring == "\u2193") {
_global.rightfinal = 40;
}
}
Instance of Symbol 129 MovieClip in Frame 2
onClipEvent (load) {
_global.whipstring = "A";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.whipkey != 32) and (_global.whipkey != 36)) and (_global.whipkey != 37)) and (_global.whipkey != 38)) and (_global.whipkey != 39)) and (_global.whipkey != 40)) {
_global.whipstring = chr(_global.whipkey);
}
if (Key.isDown(37)) {
_global.whipstring = "\u2190";
}
if (Key.isDown(39)) {
_global.whipstring = "\u2192";
}
if (Key.isDown(38)) {
_global.whipstring = "\u2191";
}
if (Key.isDown(40)) {
_global.whipstring = "\u2193";
}
if (Key.isDown(32)) {
_global.whipstring = "SP";
}
}
Instance of Symbol 134 MovieClip in Frame 2
onClipEvent (load) {
_global.detect = true;
}
onClipEvent (enterFrame) {
this.onPress = function () {
_global.timer = 0;
_global.detect = true;
_root.asdf.gotoAndPlay(1);
};
}
Instance of Symbol 136 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(3);
};
}
Instance of Symbol 281 MovieClip "jonathan" in Frame 2
onClipEvent (load) {
_global.whipjump = false;
_global.togglestand = "on";
_global.togglecrouch = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglebackdash = "on";
_global.toggleslide = "on";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglecrouchwhip = "on";
_global.whipping = false;
_global.crouchwhipping = false;
_global.slidingstart = false;
_global.Zholdcount = 0;
_global.Sholdcount = 0;
_global.Aholdcount = 0;
_global.health = 99;
_global.maxhealth = 99;
_global.facing_direction = "left";
_global.backdashing = false;
_global.clipping = false;
_global.djfv = 0;
_global.maincharhurt = false;
backdashability = true;
Falling = true;
Movement = 0;
Movement_speed = 4;
Movement_friction = 0.7;
Jumping_amount = 30;
Yvelocity = 0;
Jumping = 1;
barvar = 12;
gravity = 2.75;
dashtimer = 0;
dashtime = 0;
Slidingspeed = 12;
}
onClipEvent (enterFrame) {
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if ((_root.bg.hitTest(_x + 44, _y - 70, true) and Key.isDown(_global.rightfinal)) and Key.isDown(_global.attackfinal)) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x - 44, _y - 70, true) and Key.isDown(_global.leftfinal)) and Key.isDown(_global.attackfinal)) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x + 44, _y - 70, true) and Key.isDown(_global.rightfinal)) and (_global.whipjumpcount >= 0)) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x - 44, _y - 70, true) and Key.isDown(_global.leftfinal)) and (_global.whipjumpcount >= 0)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest(_x, _y - 90, true) and _root.bg.hitTest(_x, _y, true)) {
_global.clipping = true;
} else {
_global.clipping = false;
}
if (_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
if (facing_direction == "left") {
if ((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) {
Yvelocity = Yvelocity + 7;
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (facing_direction == "right") {
_rotation = 0;
}
}
if (_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
if (facing_direction == "right") {
if ((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) {
Yvelocity = Yvelocity + 7;
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (facing_direction == "left") {
_rotation = 0;
}
}
if ((!_root.bg.hitTest(_x, _y + 4, true)) and (_global.togglejump == "on")) {
if (_global.jv >= 23) {
if ((facing_direction == "left") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingleft");
}
if ((facing_direction == "right") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingright");
}
}
}
if (!Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = 0;
}
if (Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = _global.Zholdcount + 1;
}
if (!Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = 0;
}
if (Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = _global.Sholdcount + 1;
}
if (!Key.isDown(_global.attackfinal)) {
_global.Aholdcount = 0;
}
if (Key.isDown(_global.attackfinal) and (_global.backdashing == false)) {
_global.Aholdcount = _global.Aholdcount + 1;
}
if (_root.bg.hitTest(_x, _y - 90, true)) {
if (_global.clipping == false) {
Yvelocity = 5;
}
}
if ((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.rightfinal))) {
if (_root.bg.hitTest(((_x + barvar) + (_width / 2)) + 10, _y - 75, true)) {
if (_global.backdashing == false) {
if (facing_direction == "right") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = -8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = -5;
_global.sliding = false;
}
}
if (_root.bg.hitTest(((_x - barvar) - (_width / 2)) - 10, _y - 75, true)) {
if (_global.backdashing == false) {
if (facing_direction == "left") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = 8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = 5;
_global.sliding = false;
}
}
}
if ((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.rightfinal))) {
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 70, true) and (Movement <= -0.5)) {
if (_global.backdashing == false) {
Movement = Movement * 0;
}
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 70, true) and (Movement >= -0.5)) {
if ((_global.backdashing == false) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
}
if (Key.isDown(_global.rightfinal)) {
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 75, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 70, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 68, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
if (Key.isDown(_global.leftfinal)) {
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 75, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 70, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 68, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
if ((Movement <= 0.25) and (Movement >= -0.25)) {
Movement = 0;
}
_y = (_y + Yvelocity);
_x = (_x + Movement);
if (!_root.bg.hitTest(_x, _y + 2, true)) {
_global.damage = 45;
if (_global.maincharhurt == true) {
Movement = 0;
Yvelocity = 4;
if (facing_direction == "left") {
this.gotoAndStop("hurt_air_left");
}
if (facing_direction == "right") {
this.gotoAndStop("hurt_air_right");
}
}
}
if (_root.bg.hitTest(_x, _y + 2, true)) {
if (((((Key.isDown(_global.attackfinal) and (Aholdcount <= 10)) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.downfinal))) {
_global.damage = 45;
}
if (Key.isDown(_global.attackfinal) and (Aholdcount >= 10)) {
_global.damage = 1;
}
if (_global.maincharhurt == true) {
Movement = 0;
if (facing_direction == "left") {
this.gotoAndStop("hurt_ground_left");
}
if (facing_direction == "right") {
this.gotoAndStop("hurt_ground_right");
}
}
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if (_root.bg.hitTest(_x, _y - 90, true) and _root.bg.hitTest(_x, _y, true)) {
_global.clipping = true;
} else {
_global.clipping = false;
}
if (_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
if (_global.facing_direction == "left") {
if ((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) {
Yvelocity = Yvelocity + 7;
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (_global.facing_direction == "right") {
_rotation = 0;
}
}
if (_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
if (_global.facing_direction == "right") {
if ((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) {
Yvelocity = Yvelocity + 7;
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (_global.facing_direction == "left") {
_rotation = 0;
}
}
if ((!_root.bg.hitTest(_x, _y + 2, true)) and (_global.togglejump == "on")) {
if (_global.jv >= 23) {
if ((_global.facing_direction == "left") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingleft");
}
if ((_global.facing_direction == "right") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingright");
}
}
}
if (!Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = 0;
}
if (Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = _global.Zholdcount + 1;
}
if (!Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = 0;
}
if (Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = _global.Sholdcount + 1;
}
if (!Key.isDown(_global.attackfinal)) {
_global.Aholdcount = 0;
}
if (Key.isDown(_global.attackfinal) and (_global.backdashing == false)) {
_global.Aholdcount = _global.Aholdcount + 1;
}
if (_root.bg.hitTest(_x, _y - 90, true)) {
if (_global.clipping == false) {
Yvelocity = 5;
}
}
if ((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.rightfinal))) {
if (_root.bg.hitTest(((_x + barvar) + (_width / 2)) + 10, _y - 75, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "right") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = -8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = -5;
_global.sliding = false;
}
}
if (_root.bg.hitTest(((_x - barvar) - (_width / 2)) - 10, _y - 75, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "left") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = 8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = 5;
_global.sliding = false;
}
}
}
Movement = Movement * Movement_friction;
if ((Movement <= 0.25) and (Movement >= -0.25)) {
Movement = 0;
}
if (Falling == true) {
if (_global.togglejump == "on") {
if (Key.isDown(_global.leftfinal) and (_global.whipjump == false)) {
if (_global.jv <= 22) {
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_left");
}
}
}
if ((((!Key.isDown(_global.leftfinal)) and (_global.facing_direction == "left")) and (_global.jv <= 22)) and (Movement <= -1)) {
if (_global.jv <= 22) {
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_left");
}
}
}
if (Key.isDown(_global.rightfinal) and (_global.whipjump == false)) {
if (_global.jv <= 22) {
if (!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_right");
}
}
}
if ((((!Key.isDown(_global.rightfinal)) and (_global.facing_direction == "right")) and (_global.jv <= 22)) and (Movement >= 1)) {
if (_global.jv <= 22) {
if (!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_right");
}
}
}
}
if (Yvelocity <= 10) {
if (_global.clipping == false) {
Yvelocity = Yvelocity + gravity;
}
}
if ((Yvelocity >= 10) and (Yvelocity <= 18)) {
Yvelocity = Yvelocity + 0.2;
}
}
if (!_root.bg.hitTest(_x, _y + 2, true)) {
Falling = true;
if ((((((_global.facing_direction == "left") and (Movement <= -1)) and (!Key.isDown(_global.leftfinal))) and (_global.doublejump == false)) and (_global.jv <= 22)) and (_global.togglejump == "on")) {
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_left");
}
}
if ((((((_global.facing_direction == "right") and (Movement >= 1)) and (!Key.isDown(_global.rightfinal))) and (_global.doublejump == false)) and (_global.jv <= 22)) and (_global.togglejump == "on")) {
if (!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_right");
}
}
if (Jumping == 0) {
_global.nojumping = true;
if (((_global.doublejump == false) and (_global.jv <= 22)) and (_global.togglejump == "on")) {
if (_global.facing_direction == "left") {
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_left");
}
}
if (_global.facing_direction == "right") {
if (!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_right");
}
}
}
}
if (_global.backdashing == true) {
_global.nojumping = true;
if (_global.facing_direction == "left") {
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_left");
}
}
if (_global.facing_direction == "right") {
if (!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
this.gotoAndStop("Jumping_right");
}
}
_global.backdashing = false;
}
if (_global.sliding == true) {
_global.nojumping = true;
if (_global.facing_direction == "left") {
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
_rotation = 0;
this.gotoAndStop("Jumping_left");
}
}
if (_global.facing_direction == "right") {
if (!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
_rotation = 0;
this.gotoAndStop("Jumping_right");
}
}
_global.sliding = false;
}
} else {
while (_root.bg.hitTest(_x, _y, true) and (!_root.bg.hitTest(_x, _y - 90, true))) {
if (((Yvelocity >= 12) and (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true))) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
_root.land_sound.start();
}
_global.fall = 0;
_y = (_y - 1);
_global.nojumping = false;
Yvelocity = 0;
Falling = false;
Jumping = 0;
}
}
if (_root.bg.hitTest(_x, _y + 2, true)) {
if ((((_global.whipping == true) and (_global.togglewhip == "on")) and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) {
if (_global.facing_direction == "left") {
this.gotoAndStop("whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("whipping_right");
}
}
if ((((Key.isDown(_global.attackfinal) and (togglewhip == "on")) and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) and (_global.whipjump == false)) {
_global.whipping = true;
if (_global.facing_direction == "left") {
this.gotoAndStop("whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("whipping_right");
}
}
if ((((togglewhip == "on") and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) and (_global.whipjump == true)) {
if (_global.facing_direction == "left") {
this.gotoAndStop("whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("whipping_right");
}
}
if ((((_global.whipping == true) and (_global.crouchwhipping == true)) and (_global.togglewhip == "on")) and Key.isDown(_global.downfinal)) {
if (_global.facing_direction == "left") {
this.gotoAndStop("crouch_whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("crouch_whipping_right");
}
}
if (((Key.isDown(_global.attackfinal) and (_global.togglecrouchwhip == "on")) and (togglewhip == "on")) and Key.isDown(_global.downfinal)) {
_global.whipping = true;
_global.crouchwhipping = true;
if (_global.facing_direction == "left") {
this.gotoAndStop("crouch_whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("crouch_whipping_right");
}
}
if (Key.isDown(_global.downfinal) and (!Key.isDown(_global.upfinal))) {
if (_global.backdashing == true) {
Movement = Movement * 0;
_global.backdashing = false;
}
if (((!Key.isDown(_global.jumpfinal)) and (_global.crouchwhipping == false)) and (_global.togglecrouch == "on")) {
if ((_global.sliding == false) and (_global.slidingstart == false)) {
_global.jv = 1;
if (_global.facing_direction == "left") {
_rotation = 0;
this.gotoAndStop("crouching_left");
}
if (_global.facing_direction == "right") {
_rotation = 0;
this.gotoAndStop("crouching_right");
}
}
}
if (((Key.isDown(_global.jumpfinal) and (_global.toggleslide == "on")) and (_global.crouchwhipping == false)) and (!Key.isDown(_global.attackfinal))) {
if (Zholdcount <= 14.9) {
if (_global.facing_direction == "left") {
if (_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
if (_global.slidingstart == true) {
_rotation = -45;
} else if (_global.slidingstart == false) {
_rotation = 0;
}
}
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
_rotation = 0;
}
this.gotoAndStop("sliding_left");
}
if (_global.facing_direction == "right") {
if (_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
if (_global.slidingstart == true) {
_rotation = 45;
} else if (_global.slidingstart == false) {
_rotation = 0;
}
}
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
_rotation = 0;
}
this.gotoAndStop("sliding_right");
}
}
if (Zholdcount >= 15) {
if (_global.facing_direction == "left") {
_rotation = 0;
this.gotoAndStop("crouching_left");
}
if (_global.facing_direction == "right") {
_rotation = 0;
this.gotoAndStop("crouching_right");
}
}
}
}
if ((((((Key.isDown(_global.rightfinal) and Key.isDown(_global.jumpfinal)) and (!Key.isDown(_global.downfinal))) and (_global.Zholdcount >= 10)) and (!Key.isDown(_global.attackfinal))) and (_global.whipping == false)) and (_global.togglemovement == "on")) {
this.gotoAndStop("Walking_right");
}
if ((((((Key.isDown(_global.leftfinal) and Key.isDown(_global.jumpfinal)) and (!Key.isDown(_global.downfinal))) and (_global.Zholdcount >= 10)) and (!Key.isDown(_global.attackfinal))) and (_global.whipping == false)) and (_global.togglemovement == "on")) {
this.gotoAndStop("Walking_left");
}
if ((((((((Key.isDown(_global.backdashfinal) and (Sholdcount <= 10)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) and (backdashability == true)) and (_global.togglebackdash == "on")) and (!Key.isDown(_global.attackfinal))) {
if (_global.clipping == false) {
_global.backdashing = true;
if (_global.facing_direction == "left") {
this.gotoAndStop("Backdash_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("Backdash_right");
}
}
}
if ((((((!Key.isDown(_global.leftfinal)) and (_global.maincharhurt == false)) and (Movement == 0)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (_global.togglestand == "on")) {
if ((((_global.facing_direction == "left") and (_global.backdashing == false)) and (_global.whipping == false)) and (_global.whipjump == false)) {
_rotation = 0;
gotoAndStop ("Standing_left");
}
}
if ((((((!Key.isDown(_global.rightfinal)) and (_global.maincharhurt == false)) and (Movement == 0)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (_global.togglestand == "on")) {
if ((((_global.facing_direction == "right") and (_global.backdashing == false)) and (_global.whipping == false)) and (_global.whipjump == false)) {
_rotation = 0;
gotoAndStop ("Standing_right");
}
}
if ((((((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.attackfinal))) and (Movement == 0)) and Key.isDown(_global.upfinal)) and (_global.toggletaunt == "on")) {
if (_global.facing_direction == "left") {
_global.backdashing = false;
gotoAndStop ("taunt_left");
}
}
if ((((((!Key.isDown(_global.rightfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.attackfinal))) and (Movement == 0)) and Key.isDown(_global.upfinal)) and (_global.toggletaunt == "on")) {
if (_global.facing_direction == "right") {
_global.backdashing = false;
gotoAndStop ("taunt_right");
}
}
if (((((((_global.facing_direction == "left") and (_global.maincharhurt == false)) and (!Key.isDown(_global.downfinal))) and (Movement <= -1)) and (!Key.isDown(_global.leftfinal))) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
_rotation = 0;
this.gotoAndStop("Stopping_left");
}
if (((((((_global.facing_direction == "right") and (_global.maincharhurt == false)) and (!Key.isDown(_global.downfinal))) and (Movement >= 1)) and (!Key.isDown(_global.rightfinal))) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
_rotation = 0;
this.gotoAndStop("Stopping_right");
}
}
if (_global.backdashing == true) {
if (dashtime == 0) {
if (_global.facing_direction == "left") {
Movement = 13;
}
if (_global.facing_direction == "right") {
Movement = -13;
}
dashtimer++;
if (dashtimer >= 5) {
dashtime = 1;
}
}
}
if ((_global.sliding == true) and (_global.slidingstart == true)) {
if (_global.facing_direction == "left") {
Movement = -20;
}
if (_global.facing_direction == "right") {
Movement = 20;
}
}
if (_global.backdashing == false) {
dashtimer = 0;
dashtime = 0;
}
if (Key.isDown(_global.leftfinal)) {
if (Key.isDown(_global.downfinal)) {
if ((_global.sliding == false) and (_global.whipping == false)) {
if ((_global.jbvk <= 7) and (_global.jbvk >= 1)) {
_global.facing_direction = "left";
}
}
}
if ((!Key.isDown(_global.downfinal)) and (_global.togglemovement == "on")) {
_global.facing_direction = "left";
if (Movement >= -7) {
Movement = Movement - Movement_speed;
}
if (Key.isDown(_global.attackfinal) and (Zholdcount >= 5)) {
if ((_global.movementhinder == false) and (_global.togglemovement == "on")) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
this.gotoAndStop("Walking_left");
}
}
}
if (!Key.isDown(_global.attackfinal)) {
if ((_global.jbvk <= 7) and (_global.jbvk >= 1)) {
_global.facing_direction = "left";
}
if (Movement >= -7) {
Movement = Movement - Movement_speed;
}
if (((_global.movementhinder == false) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
this.gotoAndStop("Walking_left");
}
}
}
}
}
if (Key.isDown(_global.rightfinal)) {
if (Key.isDown(_global.downfinal)) {
if ((_global.sliding == false) and (_global.whipping == false)) {
if ((_global.jbvk <= 7) and (_global.jbvk >= 1)) {
_global.facing_direction = "right";
}
}
}
if (((!Key.isDown(_global.downfinal)) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
if ((_global.jbvk <= 7) and (_global.jbvk >= 1)) {
_global.facing_direction = "right";
}
if (Movement <= 7) {
Movement = Movement + Movement_speed;
}
if ((Key.isDown(_global.attackfinal) and (Zholdcount >= 5)) and (_global.whipping == false)) {
if ((_global.movementhinder == false) and (_global.togglemovement == "on")) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
this.gotoAndStop("Walking_right");
}
}
}
if (!Key.isDown(_global.attackfinal)) {
_global.facing_direction = "right";
if (Movement <= 7) {
Movement = Movement + Movement_speed;
}
if ((_global.movementhinder == false) and (_global.togglemovement == "on")) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
this.gotoAndStop("Walking_right");
}
}
}
}
}
if (Key.isDown(_global.jumpfinal)) {
if (((_global.Zholdcount <= 2) and _root.bg.hitTest(_x, _y + 2, true)) and (_global.togglejump == "on")) {
if (!Key.isDown(_global.downfinal)) {
_root.jump_sound.start();
if (_global.facing_direction == "left") {
this.gotoAndStop("Jumping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("Jumping_right");
}
Jumping = 1;
}
}
}
}
Instance of Symbol 285 MovieClip "bdcoder" in Frame 2
onClipEvent (load) {
_global.movementhinder = false;
_global.backdashingcount = 0;
}
onClipEvent (enterFrame) {
if (_global.backdashingcount >= 12) {
if (_global.facing_direction == "left") {
_root.jonathan.gotoAndStop("standing_left");
}
if (_global.facing_direction == "right") {
_root.jonathan.gotoAndStop("standing_right");
}
_global.crouchwhipping = false;
_global.whipping = false;
_global.togglecrouchwhip = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.togglewhip = "off";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglestand = "on";
_global.toggleslide = "on";
_global.jbvk = 0;
_global.backdashingcount = 0;
}
if (_global.backdashing == true) {
if (_global.jbvk >= 21) {
_global.whipjump = false;
_global.jbvk = 21;
}
this.play();
_global.movementhinder = true;
}
}
Instance of Symbol 288 MovieClip "bdcoder" in Frame 2
onClipEvent (load) {
_global.getridofplatforms = false;
}
onClipEvent (enterFrame) {
if (_global.sliding == true) {
this.play();
_global.getridofplatforms = true;
}
}
Instance of Symbol 291 MovieClip "bdcoder" in Frame 2
onClipEvent (load) {
_global.nojumping = true;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 294 MovieClip in Frame 2
onClipEvent (load) {
_global.jbvk = 0;
_global.whipjumpcount = 0;
}
onClipEvent (enterFrame) {
if (((_global.whipping == false) and (_global.jbvk >= 21)) and (!Key.isDown(_global.attackfinal))) {
_global.whipping = true;
_global.damage = 1;
}
if (_global.whipjump == true) {
whipjumpcount++;
}
if (whipjumpcount >= 17) {
whipjumpcount = 0;
_global.whipjump = false;
}
if ((_global.whipping == true) and (_global.backdashing == false)) {
_global.backdashingcount = 0;
_global.jbvk++;
}
if (((_global.whipping == true) and (_global.jbvk >= 21)) and (!Key.isDown(_global.attackfinal))) {
_global.crouchwhipping = false;
_global.whipping = false;
_global.togglecrouchwhip = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.togglewhip = "off";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglestand = "on";
_global.toggleslide = "on";
_global.jbvk = 0;
}
}
Instance of Symbol 297 MovieClip in Frame 2
onClipEvent (load) {
_global.hurttimer = 0;
_global.recoverytimer = 0;
_global.recoverystart = false;
_global.recoverytimer = 0;
}
onClipEvent (enterFrame) {
if (_global.health >= _global.maxhealth) {
_global.health = _global.maxhealth;
}
if (_global.recoverystart == true) {
_global.togglecrouchwhip = "on";
_global.togglebackdash = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
_root.jonathan._alpha = 50;
_global.recoverytimer++;
}
if (_global.recoverytimer >= 80) {
_global.recoverystart = false;
_root.jonathan._alpha = 100;
_global.recoverytimer = 0;
}
if (_global.maincharhurt == false) {
_global.hurttimer = 0;
}
if (_global.maincharhurt == true) {
if ((!_root.bg.hitTest(_root.jonathan._x + 44, _root.jonathan._y - 70, true)) and (!_root.bg.hitTest(_root.jonathan._x - 44, _root.jonathan._y - 70, true))) {
if (_global.facing_direction == "left") {
_root.jonathan.Movement = 8;
}
if (_global.facing_direction == "right") {
_root.jonathan.Movement = -8;
}
} else {
if (_root.bg.hitTest(_root.jonathan._x + 44, _root.jonathan._y - 70, true)) {
_root.jonathan.Movement = _root.jonathan.Movement * 0;
}
if (_root.bg.hitTest(_root.jonathan._x - 44, _root.jonathan._y - 70, true)) {
_root.jonathan.Movement = _root.jonathan.Movement * 0;
}
}
_global.hurttimer++;
_global.crouchwhipping = false;
_global.togglestand = "off";
_global.togglecrouch = "off";
_global.togglewhip = "off";
_global.togglejump = "off";
_global.togglebackdash = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.toggletaunt = "off";
_global.togglecrouchwhip = "off";
}
if (_global.hurttimer >= 8) {
_global.recoverystart = true;
_global.togglestand = "on";
_global.togglecrouch = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglebackdash = "on";
_global.toggleslide = "on";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglecrouchwhip = "on";
_global.maincharhurt = false;
}
}
Instance of Symbol 299 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
_global.attackstring = "A";
_global.jumpstring = "Z";
_global.backdashstring = "S";
_global.upstring = "\u2191";
_global.leftstring = "\u2190";
_global.downstring = "\u2193";
_global.rightstring = "\u2192";
_global.subweaponstring = "X";
_global.attackfinal = 65;
_global.jumpfinal = 90;
_global.backdashfinal = 83;
_global.upfinal = 38;
_global.downfinal = 40;
_global.leftfinal = 37;
_global.rightfinal = 39;
_global.subweaponfinal = 88;
_root.specialitem.start();
_root.gotoAndStop(10);
};
}
Instance of Symbol 302 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
_root._quality = "LOW";
};
}
Instance of Symbol 304 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
_root._quality = "MEDIUM";
};
}
Instance of Symbol 306 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
_root._quality = "HIGH";
};
}
Frame 3
stop();
Instance of Symbol 309 MovieClip in Frame 3
onClipEvent (load) {
_global.jumpstring = "Z";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.jumpkey != 32) and (_global.jumpkey != 36)) and (_global.jumpkey != 37)) and (_global.jumpkey != 38)) and (_global.jumpkey != 39)) and (_global.jumpkey != 40)) {
_global.jumpstring = chr(_global.jumpkey);
}
if (Key.isDown(37)) {
_global.jumpstring = "\u2190";
}
if (Key.isDown(39)) {
_global.jumpstring = "\u2192";
}
if (Key.isDown(38)) {
_global.jumpstring = "\u2191";
}
if (Key.isDown(40)) {
_global.jumpstring = "\u2193";
}
if (Key.isDown(32)) {
_global.jumpstring = "SP";
}
}
Instance of Symbol 315 MovieClip in Frame 3
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menudeselect.start();
_root.gotoAndStop(2);
};
}
Instance of Symbol 136 MovieClip in Frame 3
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(4);
};
}
Frame 4
stop();
Instance of Symbol 319 MovieClip in Frame 4
onClipEvent (load) {
_global.backdashstring = "S";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.backdashkey != 32) and (_global.backdashkey != 36)) and (_global.backdashkey != 37)) and (_global.backdashkey != 38)) and (_global.backdashkey != 39)) and (_global.backdashkey != 40)) {
_global.backdashstring = chr(_global.backdashkey);
}
if (Key.isDown(37)) {
_global.backdashstring = "\u2190";
}
if (Key.isDown(39)) {
_global.backdashstring = "\u2192";
}
if (Key.isDown(38)) {
_global.backdashstring = "\u2191";
}
if (Key.isDown(40)) {
_global.backdashstring = "\u2193";
}
if (Key.isDown(32)) {
_global.backdashstring = "SP";
}
}
Instance of Symbol 315 MovieClip in Frame 4
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menudeselect.start();
_root.gotoAndStop(3);
};
}
Instance of Symbol 136 MovieClip in Frame 4
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(5);
};
}
Frame 5
stop();
Instance of Symbol 327 MovieClip in Frame 5
onClipEvent (load) {
_global.upstring = "\u2191";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.upkey != 32) and (_global.upkey != 36)) and (_global.upkey != 37)) and (_global.upkey != 38)) and (_global.upkey != 39)) and (_global.upkey != 40)) {
_global.upstring = chr(_global.upkey);
}
if (Key.isDown(37)) {
_global.upstring = "\u2190";
}
if (Key.isDown(39)) {
_global.upstring = "\u2192";
}
if (Key.isDown(38)) {
_global.upstring = "\u2191";
}
if (Key.isDown(40)) {
_global.upstring = "\u2193";
}
if (Key.isDown(32)) {
_global.upstring = "SP";
}
}
Instance of Symbol 315 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menudeselect.start();
_root.gotoAndStop(4);
};
}
Instance of Symbol 136 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(6);
};
}
Frame 6
stop();
Instance of Symbol 335 MovieClip in Frame 6
onClipEvent (load) {
_global.downstring = "\u2193";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.downkey != 32) and (_global.downkey != 36)) and (_global.downkey != 37)) and (_global.downkey != 38)) and (_global.downkey != 39)) and (_global.downkey != 40)) {
_global.downstring = chr(_global.downkey);
}
if (Key.isDown(37)) {
_global.downstring = "\u2190";
}
if (Key.isDown(39)) {
_global.downstring = "\u2192";
}
if (Key.isDown(38)) {
_global.downstring = "\u2191";
}
if (Key.isDown(40)) {
_global.downstring = "\u2193";
}
if (Key.isDown(32)) {
_global.downstring = "SP";
}
}
Instance of Symbol 315 MovieClip in Frame 6
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menudeselect.start();
_root.gotoAndStop(5);
};
}
Instance of Symbol 134 MovieClip in Frame 6
onClipEvent (load) {
_global.detect = true;
}
onClipEvent (enterFrame) {
this.onPress = function () {
_global.timer = 0;
_global.detect = true;
_root.asdf.gotoAndPlay(1);
};
}
Instance of Symbol 136 MovieClip in Frame 6
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(7);
};
}
Frame 7
stop();
Instance of Symbol 343 MovieClip in Frame 7
onClipEvent (load) {
_global.leftstring = "\u2190";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.leftkey != 32) and (_global.leftkey != 36)) and (_global.leftkey != 37)) and (_global.leftkey != 38)) and (_global.leftkey != 39)) and (_global.leftkey != 40)) {
_global.leftstring = chr(_global.leftkey);
}
if (Key.isDown(37)) {
_global.leftstring = "\u2190";
}
if (Key.isDown(39)) {
_global.leftstring = "\u2192";
}
if (Key.isDown(38)) {
_global.leftstring = "\u2191";
}
if (Key.isDown(40)) {
_global.leftstring = "\u2193";
}
if (Key.isDown(32)) {
_global.leftstring = "SP";
}
}
Instance of Symbol 315 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menudeselect.start();
_root.gotoAndStop(6);
};
}
Instance of Symbol 136 MovieClip in Frame 7
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(8);
};
}
Frame 8
stop();
Instance of Symbol 351 MovieClip in Frame 8
onClipEvent (load) {
_global.rightstring = "\u2192";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.rightkey != 32) and (_global.rightkey != 36)) and (_global.rightkey != 37)) and (_global.rightkey != 38)) and (_global.rightkey != 39)) and (_global.rightkey != 40)) {
_global.rightstring = chr(_global.rightkey);
}
if (Key.isDown(37)) {
_global.rightstring = "\u2190";
}
if (Key.isDown(39)) {
_global.rightstring = "\u2192";
}
if (Key.isDown(38)) {
_global.rightstring = "\u2191";
}
if (Key.isDown(40)) {
_global.rightstring = "\u2193";
}
if (Key.isDown(32)) {
_global.rightstring = "SP";
}
}
Instance of Symbol 315 MovieClip in Frame 8
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menudeselect.start();
_root.gotoAndStop(7);
};
}
Instance of Symbol 136 MovieClip in Frame 8
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(9);
};
}
Frame 9
stop();
Instance of Symbol 359 MovieClip in Frame 9
onClipEvent (load) {
_global.subweaponstring = "X";
_global.timer = 0;
}
onClipEvent (enterFrame) {
if ((((((_global.subweaponkey != 32) and (_global.subweaponkey != 36)) and (_global.subweaponkey != 37)) and (_global.subweaponkey != 38)) and (_global.subweaponkey != 39)) and (_global.subweaponkey != 40)) {
_global.subweaponstring = chr(_global.subweaponkey);
}
if (Key.isDown(37)) {
_global.subweaponstring = "\u2190";
}
if (Key.isDown(39)) {
_global.subweaponstring = "\u2192";
}
if (Key.isDown(38)) {
_global.subweaponstring = "\u2191";
}
if (Key.isDown(40)) {
_global.subweaponstring = "\u2193";
}
if (Key.isDown(32)) {
_global.subweaponstring = "SP";
}
}
Instance of Symbol 315 MovieClip in Frame 9
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menudeselect.start();
_root.gotoAndStop(8);
};
}
Instance of Symbol 136 MovieClip in Frame 9
onClipEvent (enterFrame) {
this.onPress = function () {
_root.menuselect.start();
_root.gotoAndStop(10);
};
}
Frame 10
stop();
Instance of Symbol 107 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.whipstring != "SP") and (_global.whipstring != "\u2190")) and (_global.whipstring != "\u2192")) and (_global.whipstring != "\u2191")) and (_global.whipstring != "\u2193")) {
_global.attackfinal = ord(_global.whipstring);
}
if (_global.whipstring == "\u2190") {
_global.attackfinal = 37;
}
if (_global.whipstring == "\u2191") {
_global.attackfinal = 38;
}
if (_global.whipstring == "\u2192") {
_global.attackfinal = 39;
}
if (_global.whipstring == "\u2193") {
_global.attackfinal = 40;
}
if (_global.whipstring == "SP") {
_global.attackfinal = 32;
}
}
Instance of Symbol 109 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.jumpstring != "SP") and (_global.jumpstring != "\u2190")) and (_global.jumpstring != "\u2192")) and (_global.jumpstring != "\u2191")) and (_global.jumpstring != "\u2193")) {
_global.jumpfinal = ord(_global.jumpstring);
}
if (_global.jumpstring == "\u2190") {
_global.jumpfinal = 37;
}
if (_global.jumpstring == "\u2191") {
_global.jumpfinal = 38;
}
if (_global.jumpstring == "\u2192") {
_global.jumpfinal = 39;
}
if (_global.jumpstring == "\u2193") {
_global.jumpfinal = 40;
}
if (_global.jumpstring == "SP") {
_global.jumpfinal = 32;
}
}
Instance of Symbol 111 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.backdashstring != "SP") and (_global.backdashstring != "\u2190")) and (_global.backdashstring != "\u2192")) and (_global.backdashstring != "\u2191")) and (_global.backdashstring != "\u2193")) {
_global.backdashfinal = ord(_global.backdashstring);
}
if (_global.backdashstring == "\u2190") {
_global.backdashfinal = 37;
}
if (_global.backdashstring == "\u2191") {
_global.backdashfinal = 38;
}
if (_global.backdashstring == "\u2192") {
_global.backdashfinal = 39;
}
if (_global.backdashstring == "\u2193") {
_global.backdashfinal = 40;
}
if (_global.backdashstring == "SP") {
_global.backdashfinal = 32;
}
}
Instance of Symbol 113 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.upstring != "SP") and (_global.upstring != "\u2190")) and (_global.upstring != "\u2192")) and (_global.upstring != "\u2191")) and (_global.upstring != "\u2193")) {
_global.upfinal = ord(_global.upstring);
}
if (_global.upstring == "\u2190") {
_global.upfinal = 37;
}
if (_global.upstring == "\u2191") {
_global.upfinal = 38;
}
if (_global.upstring == "\u2192") {
_global.upfinal = 39;
}
if (_global.upstring == "\u2193") {
_global.upfinal = 40;
}
if (_global.upstring == "SP") {
_global.upfinal = 32;
}
}
Instance of Symbol 115 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.downstring != "SP") and (_global.downstring != "\u2190")) and (_global.downstring != "\u2192")) and (_global.downstring != "\u2191")) and (_global.downstring != "\u2193")) {
_global.downfinal = ord(_global.downstring);
}
if (_global.downstring == "\u2190") {
_global.downfinal = 37;
}
if (_global.downstring == "\u2191") {
_global.downfinal = 38;
}
if (_global.downstring == "\u2192") {
_global.downfinal = 39;
}
if (_global.downstring == "\u2193") {
_global.downfinal = 40;
}
if (_global.downstring == "SP") {
_global.downfinal = 32;
}
}
Instance of Symbol 117 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.leftstring != "SP") and (_global.leftstring != "\u2190")) and (_global.leftstring != "\u2192")) and (_global.leftstring != "\u2191")) and (_global.leftstring != "\u2193")) {
_global.leftfinal = ord(_global.leftstring);
}
if (_global.leftstring == "\u2190") {
_global.leftfinal = 37;
}
if (_global.leftstring == "\u2191") {
_global.leftfinal = 38;
}
if (_global.leftstring == "\u2192") {
_global.leftfinal = 39;
}
if (_global.leftstring == "\u2193") {
_global.leftfinal = 40;
}
if (_global.leftstring == "SP") {
_global.leftfinal = 32;
}
}
Instance of Symbol 119 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.rightstring != "SP") and (_global.rightstring != "\u2190")) and (_global.rightstring != "\u2192")) and (_global.rightstring != "\u2191")) and (_global.rightstring != "\u2193")) {
_global.rightfinal = ord(_global.rightstring);
}
if (_global.rightstring == "\u2190") {
_global.rightfinal = 37;
}
if (_global.rightstring == "\u2191") {
_global.rightfinal = 38;
}
if (_global.rightstring == "\u2192") {
_global.rightfinal = 39;
}
if (_global.rightstring == "\u2193") {
_global.rightfinal = 40;
}
if (_global.rightstring == "SP") {
_global.rightfinal = 32;
}
}
Instance of Symbol 374 MovieClip in Frame 10
onClipEvent (enterFrame) {
this.onPress = function () {
_root.jonathanhurtsound.start();
_root.gotoAndStop(2);
};
}
Instance of Symbol 376 MovieClip in Frame 10
onClipEvent (enterFrame) {
this.onPress = function () {
if (_global.whipstring == "SP") {
}
stopAllSounds();
_root.specialitem.start();
_root.gotoAndStop(22);
};
}
Instance of Symbol 379 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (((((_global.subweaponstring != "SP") and (_global.subweaponstring != "\u2190")) and (_global.subweaponstring != "\u2192")) and (_global.subweaponstring != "\u2191")) and (_global.subweaponstring != "\u2193")) {
_global.subweaponfinal = ord(_global.subweaponstring);
}
if (_global.subweaponstring == "\u2190") {
_global.subweaponfinal = 37;
}
if (_global.subweaponstring == "\u2191") {
_global.subweaponfinal = 38;
}
if (_global.subweaponstring == "\u2192") {
_global.subweaponfinal = 39;
}
if (_global.subweaponstring == "\u2193") {
_global.subweaponfinal = 40;
}
if (_global.subweaponstring == "SP") {
_global.subweaponfinal = 32;
}
}
Frame 22
stop();
_global.jonathanbig = false;
_global.i = 0;
_global.dead = false;
_global.healthup = 5;
_global.coin_count = 0;
_global.unlockfireball = false;
_global.quest1name = "DEFEAT THEM ALL";
_global.quest1requirement = "Enemies";
_global.quest1acquired = 0;
_global.quest1required = 8;
_global.quest2name = "OPTIONAL: COINS";
_global.quest2requirement = "?";
_global.quest2acquired = "0";
_global.quest2required = "?";
_global.quest3name = "-";
_global.quest3acquired = "-";
_global.quest3requirement = "-";
_global.dupecache = 0;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
this.onEnterFrame = function () {
if (_global.whipstring == "\u2190") {
_global.attackfinal = 37;
}
if (_global.whipstring == "\u2191") {
_global.attackfinal = 38;
}
if (_global.whipstring == "\u2192") {
_global.attackfinal = 39;
}
if (_global.whipstring == "\u2193") {
_global.attackfinal = 40;
}
if (_global.whipstring == "SP") {
_global.attackfinal = 32;
}
if (_global.jumpstring == "\u2190") {
_global.jumpfinal = 37;
}
if (_global.jumpstring == "\u2191") {
_global.jumpfinal = 38;
}
if (_global.jumpstring == "\u2192") {
_global.jumpfinal = 39;
}
if (_global.jumpstring == "\u2193") {
_global.jumpfinal = 40;
}
if (_global.jumpstring == "SP") {
_global.jumpfinal = 32;
}
if (_global.backdashstring == "\u2190") {
_global.backdashfinal = 37;
}
if (_global.backdashstring == "\u2191") {
_global.backdashfinal = 38;
}
if (_global.backdashstring == "\u2192") {
_global.backdashfinal = 39;
}
if (_global.backdashstring == "\u2193") {
_global.backdashfinal = 40;
}
if (_global.backdashstring == "SP") {
_global.backdashfinal = 32;
}
if (_global.upstring == "\u2190") {
_global.upfinal = 37;
}
if (_global.upstring == "\u2191") {
_global.upfinal = 38;
}
if (_global.upstring == "\u2192") {
_global.upfinal = 39;
}
if (_global.upstring == "\u2193") {
_global.upfinal = 40;
}
if (_global.upstring == "SP") {
_global.upfinal = 32;
}
if (_global.downstring == "\u2190") {
_global.downfinal = 37;
}
if (_global.downstring == "\u2191") {
_global.downfinal = 38;
}
if (_global.downstring == "\u2192") {
_global.downfinal = 39;
}
if (_global.downstring == "\u2193") {
_global.downfinal = 40;
}
if (_global.leftstring == "\u2190") {
_global.leftfinal = 37;
}
if (_global.leftstring == "\u2191") {
_global.leftfinal = 38;
}
if (_global.leftstring == "\u2192") {
_global.leftfinal = 39;
}
if (_global.leftstring == "\u2193") {
_global.leftfinal = 40;
}
if (_global.subweaponstring == "\u2190") {
_global.subweaponfinal = 37;
}
if (_global.subweaponstring == "\u2191") {
_global.subweaponfinal = 38;
}
if (_global.subweaponstring == "\u2192") {
_global.subweaponfinal = 39;
}
if (_global.subweaponstring == "\u2193") {
_global.subweaponfinal = 40;
}
if (_global.subweaponstring == "SP") {
_global.subweaponfinal = 32;
}
if (_global.quest3acquired <= (_global.quest3required - 1)) {
}
_global.quest2acquired = _global.coin_count;
};
_global.quest3required = 3;
var aquarius = new Sound();
aquarius.attachSound("aquarius");
var backdash_sound = new Sound();
backdash_sound.attachSound("backdash_sound");
var beam = new Sound();
beam.attachSound("beam");
var beam3 = new Sound();
beam3.attachSound("beam3");
var break_block = new Sound();
break_block.attachSound("break_block");
var bump_sound = new Sound();
bump_sound.attachSound("bump_sound");
var coin_sound = new Sound();
coin_sound.attachSound("coin_sound");
var colossus = new Sound();
colossus.attachSound("colossus");
var crumble1 = new Sound();
crumble1.attachSound("crumble1");
var comeandgetit = new Sound();
comeandgetit.attachSound("comeandgetit");
var cmonchump = new Sound();
cmonchump.attachSound("cmonchump");
var cross = new Sound();
cross.attachSound("cross");
var crossthrow = new Sound();
crossthrow.attachSound("crossthrow");
var empty_tome = new Sound();
empty_tome.attachSound("empty_tome");
var epicslide = new Sound();
epicslide.attachSound("epicslide");
var exp_get = new Sound();
exp_get.attachSound("exp_get");
var enemyscream1 = new Sound();
enemyscream1.attachSound("enemyscream1");
var explosion2 = new Sound();
explosion2.attachSound("explosion2");
var explosion3 = new Sound();
explosion3.attachSound("explosion3");
var flagpole = new Sound();
flagpole.attachSound("flagpole");
var fireball = new Sound();
fireball.attachSound("fireball");
var fish_shoot = new Sound();
fish_shoot.attachSound("fish_shoot");
var fish_shoot2 = new Sound();
fish_shoot2.attachSound("fish_shoot2");
var glassbreak = new Sound();
glassbreak.attachSound("glassbreak");
var hard_land_sound = new Sound();
hard_land_sound.attachSound("hard_land");
var hail = new Sound();
hail.attachSound("hail");
var heart_sound = new Sound();
heart_sound.attachSound("heart_sound");
var herewego = new Sound();
herewego.attachSound("herewego");
var horsedash = new Sound();
horsedash.attachSound("horsedash");
var horsedie = new Sound();
horsedie.attachSound("horsedie");
var horsemuzzle = new Sound();
horsemuzzle.attachSound("horsemuzzle");
var impact = new Sound();
impact.attachSound("impact");
var icantakeit = new Sound();
icantakeit.attachSound("icantakeit");
var jonathangrunt1 = new Sound();
jonathangrunt1.attachSound("jonathangrunt1");
var jonathan_hit = new Sound();
jonathan_hit.attachSound("jonathan_hit");
var jonathan_hurt = new Sound();
jonathan_hurt.attachSound("jonathan_hurt_sound");
var jonathan_hurt2 = new Sound();
jonathan_hurt2.attachSound("jonathan_hurt_sound2");
var jonathanyell1 = new Sound();
jonathanyell1.attachSound("jonathanyell1");
var jonathanyell2 = new Sound();
jonathanyell2.attachSound("jonathanyell2");
var jump_sound = new Sound();
jump_sound.attachSound("jump");
var land_sound = new Sound();
land_sound.attachSound("land");
var levelupsound = new Sound();
levelupsound.attachSound("levelupsound");
var knife_throw = new Sound();
knife_throw.attachSound("knife_throw");
var knife_hit = new Sound();
knife_hit.attachSound("knife_hit");
var knife_hit2 = new Sound();
knife_hit2.attachSound("knife_hit2");
var ouchiloveyou = new Sound();
ouchiloveyou.attachSound("ouchiloveyou");
var powerup = new Sound();
powerup.attachSound("powerup");
var powerup_appears = new Sound();
powerup_appears.attachSound("powerup_appears");
var potmove = new Sound();
potmove.attachSound("potmove");
var piercing = new Sound();
piercing.attachSound("piercing");
var shoryu_sound = new Sound();
shoryu_sound.attachSound("shoryu_sound");
var slide_sound = new Sound();
slide_sound.attachSound("slide_sound");
var steam = new Sound();
steam.attachSound("steam");
var smb_pipe = new Sound();
smb_pipe.attachSound("smb_pipe");
var sparkle = new Sound();
sparkle.attachSound("sparkle");
var stage_clearsmb = new Sound();
stage_clearsmb.attachSound("stage_clearsmb");
var stomp_sound = new Sound();
stomp_sound.attachSound("stomp_sound");
var stomp2 = new Sound();
stomp2.attachSound("stomp2");
var stumphit = new Sound();
stumphit.attachSound("stumphit");
var treecrack = new Sound();
treecrack.attachSound("treecrack");
var treebend = new Sound();
treebend.attachSound("treebend");
var taunt_sound = new Sound();
taunt_sound.attachSound("taunt_sound");
var whip_crack = new Sound();
whip_crack.attachSound("whip_crack");
var whip_sound = new Sound();
whip_sound.attachSound("whip_sound");
var whip_sound2 = new Sound();
whip_sound2.attachSound("whip_sound2");
var yahoo = new Sound();
yahoo.attachSound("yahoo");
var xabsorb = new Sound();
xabsorb.attachSound("xabsorb");
var xdeathsound = new Sound();
xdeathsound.attachSound("xdeathsound");
var xhitsound = new Sound();
xhitsound.attachSound("xhitsound");
var xhitsound2 = new Sound();
xhitsound2.attachSound("xhitsound2");
_root.piercing.start("", "1000");
Instance of Symbol 399 MovieClip "itembar" in Frame 22
onClipEvent (load) {
this._visible = false;
_global.itemget = false;
_global.itemtimerestart = false;
itemtimer = false;
this._x = _root.cam._x - (_root.cam._width / 2);
this._y = _root.cam._y + (_root.cam._height / 2);
}
onClipEvent (enterFrame) {
if (_global.itemrestart == true) {
timer = 0;
_global.itemrestart = false;
}
if (_global.itemget == true) {
itemtimer = true;
this._visible = true;
}
if (_global.itemget == false) {
this._visible = false;
}
if (itemtimer == true) {
timer++;
}
if (timer >= 20) {
itemtimer = false;
}
if (itemtimer == false) {
_global.itemget = false;
timer = 0;
}
this._x = _root.cam._x - (_root.cam._width / 2);
this._y = _root.cam._y + (_root.cam._height / 2);
}
Instance of Symbol 428 MovieClip "holywaterleft" in Frame 22
onClipEvent (enterFrame) {
_root.crossleft.gotoAndStop(1);
_root.crossright.gotoAndStop(1);
}
Instance of Symbol 436 MovieClip in Frame 22
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.jonathan.hitTest(this)) {
_global.dead = true;
stopAllSounds();
_root.gotoAndPlay(21);
}
}
Instance of Symbol 439 MovieClip "haventdefeated" in Frame 22
onClipEvent (load) {
this._visible = false;
startup = false;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
startup = true;
this._x = _root.jonathan._x;
this._y = _root.jonathan._y - 200;
}
if (startup == true) {
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
this._visible = false;
startup = false;
}
if (this._visible == false) {
_alpha = 100;
this._x = 365;
this._y = 1290;
}
}
Instance of Symbol 444 MovieClip "yourtime" in Frame 22
onClipEvent (load) {
this._visible = false;
startup = false;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
startup = true;
this._x = _root.jonathan._x;
this._y = _root.jonathan._y - 200;
}
if (startup == true) {
_alpha = (_alpha - 0.1);
}
if (_alpha <= 0) {
this._visible = false;
startup = false;
}
if (this._visible == false) {
_alpha = 100;
this._x = 365;
this._y = 1290;
}
}
Instance of Symbol 564 MovieClip in Frame 22
onClipEvent (load) {
this._x = _root.cam._x - (_root.cam._width / 2);
this._y = _root.cam._y - (_root.cam._height / 2);
}
onClipEvent (enterFrame) {
_root.heart._x = 1000;
_root.heart._y = 1000;
this._x = _root.cam._x - (_root.cam._width / 2);
this._y = _root.cam._y - (_root.cam._height / 2);
}
Instance of Symbol 566 MovieClip "cam" in Frame 22
onClipEvent (load) {
this._x = _root.jonathan._x;
this._y = _root.jonathan._y - 125;
}
onClipEvent (enterFrame) {
this._x = _root.jonathan._x;
this._y = _root.jonathan._y - 125;
}
Instance of Symbol 285 MovieClip "bdcoder" in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.movementhinder = false;
_global.backdashingcount = 0;
}
onClipEvent (enterFrame) {
if (_global.backdashingcount >= 12) {
if (_global.facing_direction == "left") {
_root.jonathan.gotoAndStop("standing_left");
}
if (_global.facing_direction == "right") {
_root.jonathan.gotoAndStop("standing_right");
}
_global.crouchwhipping = false;
_global.whipping = false;
_global.togglecrouchwhip = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.togglewhip = "off";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglestand = "on";
_global.toggleslide = "on";
_global.jbvk = 0;
_global.backdashingcount = 0;
}
if (_global.backdashing == true) {
if (_global.jbvk >= 21) {
_global.whipjump = false;
_global.jbvk = 21;
}
this.play();
_global.movementhinder = true;
}
}
Instance of Symbol 288 MovieClip "bdcoder" in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.getridofplatforms = false;
timer = 0;
_global.slidingstart = false;
}
onClipEvent (enterFrame) {
if ((_global.sliding == false) and (_root.jonathan.Yvelocity >= 3)) {
_global.getridofplatforms = false;
}
if (_global.slidingstart == true) {
_root.jonathan.Yvelocity = 12;
timer++;
}
if (!_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 20, true)) {
if (_global.sliding == true) {
_global.togglejump = "on";
_global.nojumping = true;
_global.backdashing = false;
_global.slidingstart = false;
_global.getridofplatforms = true;
_global.movementhinder = false;
timer = 15;
_global.sliding = false;
}
}
if (_global.sliding == true) {
_global.slidingstart = true;
_global.getridofplatforms = true;
}
if (timer >= 18) {
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 20, true)) {
if (_global.facing_direction == "left") {
_root.jonathan.gotoAndStop("crouching_left");
}
if (_global.facing_direction == "right") {
_root.jonathan.gotoAndStop("crouching_right");
}
}
if (!_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 20, true)) {
if (_global.facing_direction == "left") {
_root.jonathan.gotoAndStop("jumping_left");
}
if (_global.facing_direction == "right") {
_root.jonathan.gotoAndStop("jumping_right");
}
}
_global.sliding = false;
_global.slidingstart = false;
_global.crouchwhipping = false;
_global.whipping = false;
_global.togglecrouchwhip = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.togglewhip = "off";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglestand = "on";
_global.toggleslide = "on";
_global.jbvk = 0;
_global.slidingstart = false;
}
if (_global.slidingstart == false) {
timer = 0;
}
}
Instance of Symbol 291 MovieClip "bdcoder" in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.nojumping = true;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 294 MovieClip in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.jbvk = 0;
_global.whipjumpcount = 0;
}
onClipEvent (enterFrame) {
if (((_global.whipping == false) and (_global.jbvk >= 21)) and (!Key.isDown(_global.attackfinal))) {
_global.whipping = true;
_global.damage = _global.attack / _global.damage;
}
if (_global.whipjump == true) {
_global.whipjumpcount++;
}
if (!_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
if (_global.whipjumpcount >= 17) {
_global.whipjumpcount = 0;
_global.whipjump = false;
}
}
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
if (_global.whipjumpcount >= 17) {
_global.whipjumpcount = 0;
_global.whipjump = false;
}
}
if ((_global.whipping == true) and (_global.backdashing == false)) {
_global.backdashingcount = 0;
_global.jbvk++;
}
if ((((_global.whipping == true) and (_global.whipjump == false)) and (_global.jbvk >= 17)) and (!Key.isDown(_global.attackfinal))) {
_global.crouchwhipping = false;
_global.whipping = false;
_global.togglecrouchwhip = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.togglewhip = "off";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglestand = "on";
_global.toggleslide = "on";
_global.jbvk = 0;
}
}
Instance of Symbol 281 MovieClip "jonathan" in Frame 22
onClipEvent (load) {
_global.turning = false;
_global.whipjumpdiag = false;
_global.whipjump = false;
_global.togglestand = "on";
_global.togglecrouch = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglebackdash = "on";
_global.toggleslide = "on";
_global.togglemovement = "on";
_global.togglesubweapon = "on";
_global.toggletaunt = "on";
_global.togglecrouchwhip = "on";
_global.whipping = false;
_global.subweapon = false;
_global.crouchwhipping = false;
_global.slidingstart = false;
_global.Zholdcount = 0;
_global.Sholdcount = 0;
_global.Aholdcount = 0;
_global.rightcount = 0;
_global.leftcount = 0;
_global.health = 99;
_global.maxhealth = 99;
_global.facing_direction = "left";
_global.backdashing = false;
_global.clipping = false;
_global.djfv = 0;
_global.maincharhurt = false;
_global.dashavailable = false;
_global.dashing = false;
dashavailablecount = 0;
backdashability = true;
_global.holdingbothdirections = false;
Falling = true;
Movement = 0;
Movement_speed = 4;
Movement_friction = 0.7;
Jumping_amount = 30;
Yvelocity = 0;
Jumping = 1;
barvar = 12;
gravity = 2.25;
dashtimer = 0;
dashtime = 0;
Slidingspeed = 12;
mynewColor = new Color(_root.jonathan);
colortimer = 0;
_global.greenvalue = 0;
_global.redvalue = 0;
_global.bluevalue = 0;
}
onClipEvent (enterFrame) {
if (!_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
_global.turning = false;
}
if (_global.greenvalue >= 1) {
colortimer++;
}
if (_global.bluevalue >= 1) {
colortimer++;
}
if (_global.redvalue >= 1) {
colortimer++;
}
if (colortimer >= 20) {
_global.bluevalue = 0;
_global.greenvalue = 0;
_global.redvalue = 0;
}
if (((_global.bluevalue <= 0) and (_global.greenvalue <= 0)) and (_global.redvalue <= 0)) {
colortimer = 0;
}
mynewColor.setTransform({rb:_global.redvalue, gb:_global.greenvalue, bb:_global.bluevalue, aa:100});
if (Key.isDown(_global.leftfinal) and Key.isDown(_global.rightfinal)) {
_global.leftcount = 0;
_global.rightcount = 0;
_global.dashing = false;
_global.dashavailablecount = 0;
_global.dashavailable = false;
_global.holdingbothdirections = true;
}
if (!Key.isDown(_global.leftfinal)) {
_global.holdingbothdirections = false;
}
if (!Key.isDown(_global.rightfinal)) {
_global.holdingbothdirections = false;
}
if (_global.holdingbothdirections == false) {
if (Key.isDown(_global.rightfinal)) {
_global.rightcount++;
dashavailablecount = 0;
}
if (Key.isDown(_global.leftfinal)) {
_global.leftcount++;
dashavailablecount = 0;
}
if ((!Key.isDown(_global.rightfinal)) and (_global.dashavailable == false)) {
if ((_global.rightcount >= 1) and (_global.rightcount <= 3.5)) {
_global.dashavailable = true;
}
_global.rightcount = 0;
_global.dashing = false;
}
if ((!Key.isDown(_global.leftfinal)) and (_global.dashavailable == false)) {
if ((_global.leftcount >= 1) and (_global.leftcount <= 3.5)) {
_global.dashavailable = true;
}
_global.leftcount = 0;
_global.dashing = false;
}
}
if ((_global.dashavailable == true) and (!Key.isDown(_global.attackfinal))) {
dashavailablecount++;
if (dashavailablecount <= 4) {
if ((((facing_direction == "right") and Key.isDown(_global.rightfinal)) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.downfinal))) {
if (!_root.bg.hitTest(_root.jonathan._x + (_root.jonathan._width / 2), _root.jonathan._y - 50, true)) {
if (!_root.bg.hitTest(_root.jonathan._x + (_root.jonathan._width / 2), _root.jonathan._y - 75, true)) {
if (_global.dashing == false) {
_root.sparkle.start();
_global.dashing = true;
}
_root.sparklemc.duplicateMovieClip("sparklemc" + _global.derp, _global.derp);
_root["sparklemc" + _global.derp]._x = _root.jonathan._x - 15;
_root["sparklemc" + _global.derp]._y = _root.jonathan._y - 50;
_global.derp = _global.derp + 20;
_root.jonathan._x = _root.jonathan._x + 4;
}
}
}
if ((((facing_direction == "left") and Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.rightfinal))) and (!Key.isDown(_global.downfinal))) {
if (!_root.bg.hitTest(_root.jonathan._x - (_root.jonathan._width / 2), _root.jonathan._y - 50, true)) {
if (!_root.bg.hitTest(_root.jonathan._x - (_root.jonathan._width / 2), _root.jonathan._y - 75, true)) {
if (_global.dashing == false) {
_root.sparkle.start();
_global.dashing = true;
}
_root.sparklemc.duplicateMovieClip("sparklemc" + _global.derp, _global.derp);
_root["sparklemc" + _global.derp]._x = _root.jonathan._x + 15;
_root["sparklemc" + _global.derp]._y = _root.jonathan._y - 50;
_global.derp = _global.derp + 20;
_root.jonathan._x = _root.jonathan._x - 4;
}
}
}
}
if (dashavailablecount >= 5) {
_global.dashavailable = false;
}
}
if (_global.health <= 0) {
_global.dead = true;
stopAllSounds();
_root.gotoAndPlay(21);
}
if ((((Key.isDown(_global.upfinal) and Key.isDown(_global.downfinal)) and Key.isDown(_global.attackfinal)) and (_global.crouchwhipping == false)) and (_global.levelend == false)) {
_global.togglewhip = "off";
_global.togglecrouchwhipping = "off";
if (_global.crouchwhipping == true) {
if (_global.facing_direction == "left") {
this.gotoAndStop("crouching_left");
}
if (_global.facing_direction == "left") {
this.gotoAndStop("crouching_right");
}
}
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if ((_root.bg.hitTest(_x + 50, _y - 70, true) and Key.isDown(_global.leftfinal)) and (_global.facing_direction == "right")) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x - 50, _y - 70, true) and Key.isDown(_global.rightfinal)) and (_global.facing_direction == "left")) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x + 44, _y - 70, true) and Key.isDown(_global.rightfinal)) and Key.isDown(_global.attackfinal)) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x - 44, _y - 70, true) and Key.isDown(_global.leftfinal)) and Key.isDown(_global.attackfinal)) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x + 44, _y - 70, true) and Key.isDown(_global.rightfinal)) and (_global.whipjumpcount >= 0)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest(_x - 44, _y - 70, true) and (_global.facing_direction == "left")) {
Movement = Movement * 0;
}
if (_root.bg.hitTest(_x + 44, _y - 70, true) and (_global.facing_direction == "right")) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x - 44, _y - 70, true) and (_global.facing_direction == "right")) and (_global.backdashing == true)) {
Movement = Movement * 0;
}
if ((_root.bg.hitTest(_x + 44, _y - 70, true) and (_global.facing_direction == "left")) and (_global.backdashing == true)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest(_x, _y - 90, true) and _root.bg.hitTest(_x, _y, true)) {
_global.clipping = true;
} else {
_global.clipping = false;
}
if (_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
if (_global.facing_direction == "left") {
if ((((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) and (_global.stairjumping == false)) and (_global.stairwaytimer <= 1)) {
if (Key.isDown(_global.leftfinal)) {
Yvelocity = Yvelocity + 7;
}
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (_global.facing_direction == "right") {
if (_global.backdashing == true) {
Yvelocity = Yvelocity + 7;
}
_rotation = 0;
}
}
if (_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
if (_global.facing_direction == "right") {
if ((((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) and (_global.stairjumping == false)) and (_global.stairwaytimer <= 1)) {
if (Key.isDown(_global.rightfinal)) {
Yvelocity = Yvelocity + 7;
}
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (_global.facing_direction == "left") {
if (_global.backdashing == true) {
Yvelocity = Yvelocity + 7;
}
_rotation = 0;
}
}
if ((!_root.bg.hitTest(_x, _y + 2, true)) and (_global.togglejump == "on")) {
if (_global.jv >= 23) {
if ((!Key.isDown(_global.attackfinal)) and (!Key.isDown(_global.upfinal))) {
if ((_global.facing_direction == "left") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingleft");
}
if ((_global.facing_direction == "right") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingright");
}
}
}
}
if (!Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = 0;
}
if (Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = _global.Zholdcount + 1;
}
if (!Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = 0;
}
if (Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = _global.Sholdcount + 1;
}
if (!Key.isDown(_global.attackfinal)) {
_global.Aholdcount = 0;
}
if (Key.isDown(_global.attackfinal) and (_global.backdashing == false)) {
_global.Aholdcount = _global.Aholdcount + 1;
}
if (_root.bg.hitTest(_x, _y - 90, true)) {
if (_global.clipping == false) {
Yvelocity = 5;
}
}
if ((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.rightfinal))) {
if ((!_root.jonathan.hitTest(_root.bg.stairwayleft)) and (!_root.jonathan.hitTest(_root.bg.stairwayright))) {
if (_root.bg.hitTest(((_x + barvar) + (_width / 2)) + 10, _y - 35, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "right") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = -8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = -5;
_global.sliding = false;
}
}
if (_root.bg.hitTest(((_x - barvar) - (_width / 2)) - 10, _y - 35, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "left") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = 8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = 5;
_global.sliding = false;
}
}
}
if (_root.jonathan.hitTest(_root.bg.stairwayleft)) {
if (_root.bg.hitTest(((_x + barvar) + (_width / 2)) + 10, _y - 70, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "right") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = -8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = -5;
_global.sliding = false;
}
}
if (_root.bg.hitTest(((_x - barvar) - (_width / 2)) - 10, _y - 70, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "left") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = 8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = 5;
_global.sliding = false;
}
}
}
if (_root.jonathan.hitTest(_root.bg.stairwayright)) {
if (_root.bg.hitTest(((_x + barvar) + (_width / 2)) + 10, _y - 70, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "right") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = -8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = -5;
_global.sliding = false;
}
}
if (_root.bg.hitTest(((_x - barvar) - (_width / 2)) - 10, _y - 70, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "left") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = 8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = 5;
_global.sliding = false;
}
}
}
}
if ((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.rightfinal))) {
if ((!_root.jonathan.hitTest(_root.bg.stairwayleft)) and (!_root.jonathan.hitTest(_root.bg.stairwayright))) {
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 30, true) and (Movement <= -0.5)) {
if (_global.backdashing == false) {
Movement = Movement * 0;
}
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 30, true) and (Movement >= -0.5)) {
if ((_global.backdashing == false) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
}
if (_root.jonathan.hitTest(_root.bg.stairwayleft)) {
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 70, true) and (Movement <= -0.5)) {
if (_global.backdashing == false) {
Movement = Movement * 0;
}
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 70, true) and (Movement >= -0.5)) {
if ((_global.backdashing == false) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
}
if (_root.jonathan.hitTest(_root.bg.stairwayright)) {
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 70, true) and (Movement <= -0.5)) {
if (_global.backdashing == false) {
Movement = Movement * 0;
}
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 70, true) and (Movement >= -0.5)) {
if ((_global.backdashing == false) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
}
}
if (Key.isDown(_global.rightfinal)) {
if (!_root.jonathan.hitTest(_root.bg.stairwayleft)) {
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 35, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 30, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 28, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
if (_root.jonathan.hitTest(_root.bg.stairwayleft)) {
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 70, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 68, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x + barvar) + (_width / 2), _y - 65, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
}
if (Key.isDown(_global.leftfinal)) {
if (!_root.jonathan.hitTest(_root.bg.stairwayright)) {
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 35, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 30, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 28, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
if (!_root.jonathan.hitTest(_root.bg.stairwayright)) {
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 70, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 68, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
if (_root.bg.hitTest((_x - barvar) - (_width / 2), _y - 65, true) and (_global.whipjump == false)) {
Movement = Movement * 0;
}
}
}
if ((Movement <= 0.25) and (Movement >= -0.25)) {
Movement = 0;
}
_y = (_y + Yvelocity);
_x = (_x + Movement);
if (!_root.bg.hitTest(_x, _y + 2, true)) {
_global.damage = _global.attack;
if ((_global.maincharhurt == true) and (_global.shoryuken == false)) {
Movement = 0;
Yvelocity = 4;
if (_global.facing_direction == "left") {
this.gotoAndStop("hurt_air_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("hurt_air_right");
}
}
}
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.levelend == false)) {
if ((((((!Key.isDown(_global.leftfinal)) and (_global.crouchwhipping == false)) and (!Key.isDown(_global.rightfinal))) and Key.isDown(_global.attackfinal)) and Key.isDown(_global.upfinal)) and (_global.Aholdcount >= 12)) {
if ((_global.whipping == false) and (_global.subweapon == true)) {
if (_global.facing_direction == "right") {
gotoAndStop ("Standing_right");
}
if (_global.facing_direction == "left") {
gotoAndStop ("Standing_left");
}
}
}
if (((((((!Key.isDown(_global.leftfinal)) and (_global.levelend == false)) and (_global.crouchwhipping == false)) and (!Key.isDown(_global.rightfinal))) and Key.isDown(_global.attackfinal)) and (!Key.isDown(_global.upfinal))) and (_global.Aholdcount >= 12)) {
if ((_global.whipping == false) and (_global.subweapon == true)) {
if (_global.facing_direction == "right") {
gotoAndStop ("Standing_right");
}
if (_global.facing_direction == "left") {
gotoAndStop ("Standing_left");
}
}
}
if (_global.damagedisable == true) {
_global.damage = _global.attack / _global.damage;
}
if (((((Key.isDown(_global.attackfinal) and (Aholdcount <= 10)) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.downfinal))) {
if (_global.damagedisable == false) {
_global.damage = _global.attack;
}
}
if (Key.isDown(_global.attackfinal) and (Aholdcount >= 10)) {
_global.damage = _global.attack / _global.damage;
}
if ((_global.maincharhurt == true) and (_global.shoryuken == false)) {
Movement = 0;
if (_global.facing_direction == "left") {
this.gotoAndStop("hurt_ground_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("hurt_ground_right");
}
}
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.leftfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount <= 10)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = true;
_global.backdashing = false;
}
if (((Key.isDown(_global.attackfinal) and Key.isDown(_global.rightfinal)) and (Aholdcount >= 11)) and _root.bg.hitTest(_x, _y + 2, true)) {
_global.togglemovement = "off";
_global.whipping = false;
_global.backdashing = false;
}
if (_root.bg.hitTest(_x, _y - 90, true) and _root.bg.hitTest(_x, _y, true)) {
_global.clipping = true;
} else {
_global.clipping = false;
}
if (_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
if (_global.facing_direction == "left") {
if ((((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) and (_global.stairjumping == false)) and (_global.stairwaytimer <= 1)) {
if (Key.isDown(_global.leftfinal)) {
Yvelocity = Yvelocity + 7;
}
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (_global.facing_direction == "right") {
if (_global.backdashing == true) {
Yvelocity = Yvelocity + 7;
}
}
}
if (_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
if (_global.facing_direction == "right") {
if ((((!Key.isDown(_global.jumpfinal)) and (_global.sliding == false)) and (_global.stairjumping == false)) and (_global.stairwaytimer <= 1)) {
if (Key.isDown(_global.rightfinal)) {
Yvelocity = Yvelocity + 7;
}
}
if (_global.sliding == true) {
Yvelocity = Yvelocity + 10;
}
}
if (_global.facing_direction == "left") {
if (_global.backdashing == true) {
Yvelocity = Yvelocity + 7;
}
}
}
if ((!_root.bg.hitTest(_x, _y + 2, true)) and (_global.togglejump == "on")) {
if (_global.jv >= 23) {
if ((!Key.isDown(_global.attackfinal)) and (!Key.isDown(_global.upfinal))) {
if ((_global.facing_direction == "left") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingleft");
}
if ((_global.facing_direction == "right") and (_global.whipjump == false)) {
this.gotoAndStop("doublejumpfallingright");
}
}
}
}
if (!Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = 0;
}
if (Key.isDown(_global.jumpfinal)) {
_global.Zholdcount = _global.Zholdcount + 1;
}
if (!Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = 0;
}
if (Key.isDown(_global.backdashfinal)) {
_global.Sholdcount = _global.Sholdcount + 1;
}
if (!Key.isDown(_global.attackfinal)) {
_global.Aholdcount = 0;
}
if (Key.isDown(_global.attackfinal) and (_global.backdashing == false)) {
_global.Aholdcount = _global.Aholdcount + 1;
}
if (_root.bg.hitTest(_x, _y - 90, true)) {
if (_global.clipping == false) {
Yvelocity = 5;
}
}
if ((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.rightfinal))) {
if (_root.bg.hitTest(((_x + barvar) + (_width / 2)) + 10, _y - 75, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "right") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = -8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = -5;
_global.sliding = false;
}
}
if (_root.bg.hitTest(((_x - barvar) - (_width / 2)) - 10, _y - 75, true)) {
if (_global.backdashing == false) {
if (_global.facing_direction == "left") {
Movement = 0;
}
}
if (_global.backdashing == true) {
Movement = 8;
_global.backdashing = false;
}
if (_global.sliding == true) {
Movement = 5;
_global.sliding = false;
}
}
}
Movement = Movement * Movement_friction;
if ((Movement <= 0.25) and (Movement >= -0.25)) {
Movement = 0;
}
if (Falling == true) {
if (_global.togglejump == "on") {
if ((Key.isDown(_global.leftfinal) and (_global.whipjump == false)) and (_global.subweaponjump == false)) {
if (_global.jv <= 22) {
if ((!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_left");
}
}
}
if ((((!Key.isDown(_global.leftfinal)) and (_global.facing_direction == "left")) and (_global.jv <= 22)) and (Movement <= -1)) {
if (_global.whipjump == false) {
if (_global.jv <= 22) {
if ((!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_left");
}
}
}
}
if ((Key.isDown(_global.rightfinal) and (_global.whipjump == false)) and (_global.subweaponjump == false)) {
if (_global.jv <= 22) {
if ((!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_right");
}
}
}
if ((((!Key.isDown(_global.rightfinal)) and (_global.facing_direction == "right")) and (_global.jv <= 22)) and (Movement >= 1)) {
if (_global.whipjump == false) {
if (_global.jv <= 22) {
if ((!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_right");
}
}
}
}
}
if (Yvelocity <= 10) {
if (_global.clipping == false) {
Yvelocity = Yvelocity + gravity;
}
}
if ((Yvelocity >= 10) and (Yvelocity <= 18)) {
Yvelocity = Yvelocity + 0.2;
}
}
if (!_root.bg.hitTest(_x, _y + 2, true)) {
Falling = true;
if (((((((_global.facing_direction == "left") and (_global.whipjump == false)) and (Movement <= -1)) and (!Key.isDown(_global.leftfinal))) and (_global.doublejump == false)) and (_global.jv <= 22)) and (_global.togglejump == "on")) {
if ((!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_left");
}
}
if (((((((_global.facing_direction == "right") and (_global.whipjump == false)) and (Movement >= 1)) and (!Key.isDown(_global.rightfinal))) and (_global.doublejump == false)) and (_global.jv <= 22)) and (_global.togglejump == "on")) {
if ((!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_right");
}
}
if (Jumping == 0) {
_global.nojumping = true;
if (((_global.doublejump == false) and (_global.jv <= 22)) and (_global.togglejump == "on")) {
if (_global.facing_direction == "left") {
if ((!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_left");
}
}
if (_global.facing_direction == "right") {
if ((!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_right");
}
}
}
}
if (_global.backdashing == true) {
_global.nojumping = true;
if (_global.facing_direction == "left") {
if ((!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_left");
}
}
if (_global.facing_direction == "right") {
if ((!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
this.gotoAndStop("Jumping_right");
}
}
_global.backdashing = false;
}
if ((_global.sliding == true) and _root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 5, true)) {
_global.nojumping = true;
if (_global.facing_direction == "left") {
if ((!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
_rotation = 0;
this.gotoAndStop("Jumping_left");
}
}
if (_global.facing_direction == "right") {
if ((!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) and (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true))) {
_rotation = 0;
this.gotoAndStop("Jumping_right");
}
}
_global.sliding = false;
}
} else {
while (_root.bg.hitTest(_x, _y, true) and (!_root.bg.hitTest(_x, _y - 90, true))) {
if (((Yvelocity >= 12) and (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true))) and (!_root.bg.stairwayright.hitTest(_x, _y + 20, true))) {
if (_global.slidingstart == false) {
_root.land_sound.start();
}
}
_global.fall = 0;
_y = (_y - 1);
_global.nojumping = false;
Yvelocity = 0;
Falling = false;
Jumping = 0;
}
}
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.levelend == false)) {
if (((((Key.isDown(_global.leftfinal) and Key.isDown(_global.rightfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.attackfinal))) and (!Key.isDown(_global.jumpfinal))) {
if (facing_direction == "left") {
this.gotoAndStop("Standing_left");
}
if (facing_direction == "right") {
this.gotoAndStop("Standing_right");
}
}
if ((((((_global.Aholdcount <= 7) and (_global.togglesubweapon == "on")) and (_global.subweapon == true)) and (_global.whipping == false)) and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) {
if (_global.facing_direction == "left") {
this.gotoAndStop("subweapon_throw_ground_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("subweapon_throw_ground_right");
}
}
if ((((_global.whipping == true) and (_global.togglewhip == "on")) and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) {
if (_global.facing_direction == "left") {
this.gotoAndStop("whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("whipping_right");
}
}
if ((((((((_global.togglesubweapon == "on") and (_global.Aholdcount <= 7)) and Key.isDown(_global.attackfinal)) and (_global.whipping == false)) and Key.isDown(_global.upfinal)) and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) and (_global.whipjump == false)) {
if (_global.mp >= 16) {
_global.subweapon = true;
if (_global.facing_direction == "left") {
this.gotoAndStop("subweapon_throw_ground_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("subweapon_throw_ground_right");
}
}
}
if (((((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and (togglewhip == "on")) and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) and (_global.whipjump == false)) {
_global.whipping = true;
if (_global.facing_direction == "left") {
this.gotoAndStop("whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("whipping_right");
}
}
if (((((togglewhip == "on") and (_global.subweapon == false)) and (!Key.isDown(_global.downfinal))) and (_global.crouchwhipping == false)) and (_global.whipjump == true)) {
if (_global.whipjumpdiag == false) {
if (_global.facing_direction == "left") {
this.gotoAndStop("whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("whipping_right");
}
}
if (_global.whipjumpdiag == true) {
_global.whipjump = false;
}
}
if ((((((_global.whipping == true) and (_global.subweapon == false)) and (_global.slidingstart == false)) and (_global.crouchwhipping == true)) and (_global.togglewhip == "on")) and Key.isDown(_global.downfinal)) {
if (_global.facing_direction == "left") {
this.gotoAndStop("crouch_whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("crouch_whipping_right");
}
}
if (((((Key.isDown(_global.attackfinal) and (_global.subweapon == false)) and (_global.slidingstart == false)) and (_global.togglecrouchwhip == "on")) and (togglewhip == "on")) and Key.isDown(_global.downfinal)) {
_global.whipping = true;
_global.crouchwhipping = true;
if (_global.facing_direction == "left") {
this.gotoAndStop("crouch_whipping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("crouch_whipping_right");
}
}
if (Key.isDown(_global.downfinal) and (!Key.isDown(_global.upfinal))) {
if (_global.backdashing == true) {
Movement = Movement * 0;
_global.backdashing = false;
}
if (((!Key.isDown(_global.jumpfinal)) and (_global.crouchwhipping == false)) and (_global.togglecrouch == "on")) {
if ((_global.sliding == false) and (_global.slidingstart == false)) {
_global.jv = 1;
if (_global.facing_direction == "left") {
_rotation = 0;
this.gotoAndStop("crouching_left");
}
if (_global.facing_direction == "right") {
_rotation = 0;
this.gotoAndStop("crouching_right");
}
}
}
if (((Key.isDown(_global.jumpfinal) and (_global.toggleslide == "on")) and (_global.crouchwhipping == false)) and (!Key.isDown(_global.attackfinal))) {
if (_root.bg.hitTest(_x, _y + 20)) {
if (Zholdcount <= 14.9) {
if (_global.facing_direction == "left") {
if (_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
if (_global.slidingstart == true) {
} else if (_global.slidingstart == false) {
_rotation = 0;
}
}
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
_rotation = 0;
}
this.gotoAndStop("sliding_left");
}
if (_global.facing_direction == "right") {
if (_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
if (_global.slidingstart == true) {
} else if (_global.slidingstart == false) {
_rotation = 0;
}
}
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
_rotation = 0;
}
this.gotoAndStop("sliding_right");
}
}
}
if (Zholdcount >= 15) {
if (_global.facing_direction == "left") {
_rotation = 0;
this.gotoAndStop("crouching_left");
}
if (_global.facing_direction == "right") {
_rotation = 0;
this.gotoAndStop("crouching_right");
}
}
}
}
if (((((((Key.isDown(_global.rightfinal) and (!Key.isDown(_global.leftfinal))) and Key.isDown(_global.jumpfinal)) and (!Key.isDown(_global.downfinal))) and (_global.Zholdcount >= 10)) and (!Key.isDown(_global.attackfinal))) and (_global.whipping == false)) and (_global.togglemovement == "on")) {
if (_global.turning == false) {
this.gotoAndStop("Walking_right");
}
if (_global.turning == true) {
this.gotoAndStop("turninglefttoright");
}
}
if (((((((Key.isDown(_global.leftfinal) and (!Key.isDown(_global.rightfinal))) and Key.isDown(_global.jumpfinal)) and (!Key.isDown(_global.downfinal))) and (_global.Zholdcount >= 10)) and (!Key.isDown(_global.attackfinal))) and (_global.whipping == false)) and (_global.togglemovement == "on")) {
if (_global.turning == false) {
this.gotoAndStop("Walking_left");
}
if (_global.turning == true) {
this.gotoAndStop("turningrighttoleft");
}
}
if (((((((Key.isDown(_global.rightfinal) and Key.isDown(_global.leftfinal)) and Key.isDown(_global.jumpfinal)) and (!Key.isDown(_global.downfinal))) and (_global.Zholdcount >= 10)) and (!Key.isDown(_global.attackfinal))) and (_global.whipping == false)) and (_global.togglemovement == "on")) {
if (_global.facing_direction == "left") {
this.gotoAndStop("Standing_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("Standing_right");
}
}
if ((((((((Key.isDown(_global.backdashfinal) and (Sholdcount <= 10)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) and (backdashability == true)) and (_global.togglebackdash == "on")) and (!Key.isDown(_global.attackfinal))) {
if (_global.clipping == false) {
_global.backdashing = true;
if (_global.facing_direction == "left") {
this.gotoAndStop("Backdash_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("Backdash_right");
}
}
}
if (((((((!Key.isDown(_global.leftfinal)) and (_global.levelend == false)) and (_global.maincharhurt == false)) and (Movement == 0)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (_global.togglestand == "on")) {
if ((((_global.facing_direction == "left") and (_global.backdashing == false)) and (_global.whipping == false)) and (_global.whipjump == false)) {
_rotation = 0;
gotoAndStop ("Standing_left");
}
}
if (((((((!Key.isDown(_global.rightfinal)) and (_global.levelend == false)) and (_global.maincharhurt == false)) and (Movement == 0)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (_global.togglestand == "on")) {
if ((((_global.facing_direction == "right") and (_global.backdashing == false)) and (_global.whipping == false)) and (_global.whipjump == false)) {
_rotation = 0;
gotoAndStop ("Standing_right");
}
}
if (((((((!Key.isDown(_global.leftfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.attackfinal))) and (Movement == 0)) and Key.isDown(_global.upfinal)) and (_global.toggletaunt == "on")) and (_global.whipping == false)) {
if (_global.facing_direction == "left") {
_global.backdashing = false;
gotoAndStop ("taunt_left");
}
}
if (((((((!Key.isDown(_global.rightfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.attackfinal))) and (Movement == 0)) and Key.isDown(_global.upfinal)) and (_global.toggletaunt == "on")) and (_global.whipping == false)) {
if (_global.facing_direction == "right") {
_global.backdashing = false;
gotoAndStop ("taunt_right");
}
}
if ((((((((_global.facing_direction == "left") and (_global.levelend == false)) and (_global.maincharhurt == false)) and (!Key.isDown(_global.downfinal))) and (Movement <= -1)) and (!Key.isDown(_global.leftfinal))) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
_rotation = 0;
this.gotoAndStop("Stopping_left");
}
if ((((((((_global.facing_direction == "right") and (_global.levelend == false)) and (_global.maincharhurt == false)) and (!Key.isDown(_global.downfinal))) and (Movement >= 1)) and (!Key.isDown(_global.rightfinal))) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
_rotation = 0;
this.gotoAndStop("Stopping_right");
}
}
if (_global.backdashing == true) {
if (dashtime == 0) {
if (_global.facing_direction == "left") {
Movement = 13;
}
if (_global.facing_direction == "right") {
Movement = -13;
}
dashtimer++;
if (dashtimer >= 5) {
dashtime = 1;
}
}
}
if ((_global.sliding == true) and (_global.slidingstart == true)) {
if (_root.bg.hitTest(_x, _y + 25, true)) {
if (_global.facing_direction == "left") {
Movement = -16;
}
if (_global.facing_direction == "right") {
Movement = 16;
}
}
}
if (_global.backdashing == false) {
dashtimer = 0;
dashtime = 0;
}
if (Key.isDown(_global.leftfinal) and (_global.levelend == false)) {
if (Key.isDown(_global.downfinal) and (_global.sliding == false)) {
if ((_global.togglemovement == "on") and (!Key.isDown(_global.rightfinal))) {
if (!_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
if (Movement >= -9) {
Movement = Movement - Movement_speed;
}
}
}
if ((_global.sliding == false) and (_global.whipping == false)) {
if (((_global.jbvk <= 7) and (_global.jbvk >= 1)) and (_global.shoryuken == false)) {
if (_global.facing_direction == "right") {
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
_global.turning = true;
}
}
_global.facing_direction = "left";
}
}
}
if ((((!Key.isDown(_global.downfinal)) and (_global.sliding == false)) and (_global.togglemovement == "on")) and (!Key.isDown(_global.rightfinal))) {
if (_global.shoryuken == false) {
if (_global.facing_direction == "right") {
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
_global.turning = true;
}
}
_global.facing_direction = "left";
}
if (Movement >= -9) {
Movement = Movement - Movement_speed;
}
if (Key.isDown(_global.attackfinal) and (Zholdcount >= 5)) {
if ((_global.movementhinder == false) and (_global.togglemovement == "on")) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
if (_global.turning == false) {
this.gotoAndStop("Walking_left");
}
if (_global.turning == true) {
this.gotoAndStop("turningrighttoleft");
}
}
}
}
if (((!Key.isDown(_global.attackfinal)) and (_global.sliding == false)) and (_global.shoryuken == false)) {
if (((_global.jbvk <= 7) and (_global.jbvk >= 1)) and (_global.shoryuken == false)) {
if (_global.facing_direction == "right") {
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
_global.turning = true;
}
}
_global.facing_direction = "left";
}
if (Movement >= -9) {
Movement = Movement - Movement_speed;
}
if (((_global.movementhinder == false) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
if (_global.turning == false) {
this.gotoAndStop("Walking_left");
}
if (_global.turning == true) {
this.gotoAndStop("turningrighttoleft");
}
}
}
}
}
}
if (Key.isDown(_global.rightfinal) and (_global.levelend == false)) {
if (Key.isDown(_global.downfinal) and (_global.sliding == false)) {
if ((_global.togglemovement == "on") and (!Key.isDown(_global.leftfinal))) {
if (!_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
if (Movement <= 9) {
Movement = Movement + Movement_speed;
}
}
}
if ((_global.sliding == false) and (_global.whipping == false)) {
if (((_global.jbvk <= 7) and (_global.jbvk >= 1)) and (_global.shoryuken == false)) {
if (_global.facing_direction == "left") {
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
_global.turning = true;
}
}
_global.facing_direction = "right";
}
}
}
if (((((!Key.isDown(_global.downfinal)) and (_global.sliding == false)) and (!Key.isDown(_global.leftfinal))) and (_global.togglemovement == "on")) and (_global.whipping == false)) {
if (((_global.jbvk <= 7) and (_global.jbvk >= 1)) and (_global.shoryuken == false)) {
if (_global.facing_direction == "left") {
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
_global.turning = true;
}
}
_global.facing_direction = "right";
}
if (Movement <= 9) {
Movement = Movement + Movement_speed;
}
if ((Key.isDown(_global.attackfinal) and (Zholdcount >= 5)) and (_global.whipping == false)) {
if ((_global.movementhinder == false) and (_global.togglemovement == "on")) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
if (_global.turning == false) {
this.gotoAndStop("Walking_right");
}
if (_global.turning == true) {
this.gotoAndStop("turninglefttoright");
}
}
}
}
if (((!Key.isDown(_global.attackfinal)) and (_global.sliding == false)) and (_global.shoryuken == false)) {
if (_global.facing_direction == "left") {
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 2, true)) {
_global.turning = true;
}
}
_global.facing_direction = "right";
if (Movement <= 9) {
Movement = Movement + Movement_speed;
}
if ((_global.movementhinder == false) and (_global.togglemovement == "on")) {
_global.backdashing = false;
if (_root.bg.hitTest(_x, _y + 2, true) and (_global.Zholdcount == 0)) {
if (_global.turning == false) {
this.gotoAndStop("Walking_right");
}
if (_global.turning == true) {
this.gotoAndStop("turninglefttoright");
}
}
}
}
}
}
if (Key.isDown(_global.jumpfinal) and (_global.levelend == false)) {
if (((_global.Zholdcount <= 2) and _root.bg.hitTest(_x, _y + 2, true)) and (_global.togglejump == "on")) {
if (!Key.isDown(_global.downfinal)) {
_root.jump_sound.start();
if (_global.facing_direction == "left") {
this.gotoAndStop("Jumping_left");
}
if (_global.facing_direction == "right") {
this.gotoAndStop("Jumping_right");
}
Jumping = 1;
}
}
}
}
Instance of Symbol 583 MovieClip "fishhead_bullet_right" in Frame 22
onClipEvent (enterFrame) {
_root.fishhead_bullet_right._x = 2695;
_root.fishhead_bullet_right._y = 3182;
_root.fishhead_bullet_left._x = 2694;
_root.fishhead_bullet_right._y = 3182;
}
Instance of Symbol 591 MovieClip in Frame 22
onClipEvent (load) {
_global.projectilecount = 0;
i = 0;
maxobjs = 10000;
var monthArr = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
var dupearray = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
delete monthArr[5];
monthArr[5] = i;
}
onClipEvent (enterFrame) {
_root.bonepillar_fireball_left._x = -10000;
_root.bonepillar_fireball_left._y = -10000;
_root.bonepillar_fireball_right._x = -10000;
_root.bonepillar_fireball_right._y = -10000;
_root.fishhead_vortex_left._x = -10000;
_root.fishhead_vortex_left._y = -10000;
_root.fishhead_vortex_right._x = -10000;
_root.fishhead_vortex_right._y = -10000;
_root.fishhead_bullet_right._x = -10000;
_root.fishhead_bullet_right._y = -10000;
_root.fishhead_bullet_left._x = -10000;
_root.fishhead_bullet_left._y = -10000;
_root.fireball_left._x = -10000;
_root.fireball_left._y = -10000;
_root.fireball_right._x = -10000;
_root.fireball_right._y = -10000;
_root.mushroom._x = -10000;
_root.mushroom._y = -10000;
_root.fireflower._x = -10000;
_root.fireflower._y = -10000;
_root.shoryukenbox._x = -10000;
_root.shoryukenbox._y = -10000;
_root.fireballbox._x = -10000;
_root.fireballbox._y = -10000;
_root.box._x = -10000;
_root.box._y = -10000;
_root.healthbox._y = -10000;
_root.healthbox._x = -10000;
_root.crossbox._y = -10000;
_root.crossbox._x = -10000;
_root.holywaterbox._y = -10000;
_root.holywaterbox._x = -10000;
_root.knifebox._y = -10000;
_root.knifebox._x = -10000;
_root.holywaterleft._x = -10000;
_root.holywaterright._x = -10000;
_root.holywaterleft._y = -10000;
_root.holywaterright._y = -10000;
_root.knifeleft._x = -10000;
_root.kniferight._x = -10000;
_root.knifeleft._y = -10000;
_root.kniferight._y = -10000;
_root.crossleft._x = -10000;
_root.crossright._x = -10000;
_root.crossleft._y = -10000;
_root.crossright._y = -10000;
_root.heart2._x = -10000;
_root.heart2._y = -10000;
if (((_global.quest1acquired == _global.quest1required) and (_global.quest2acquired == _global.quest2required)) and (_global.quest3acquired == _global.quest3required)) {
}
_global.derp = monthArr[5];
_global.herp = dupearray;
i++;
monthArr[5] = i;
if (monthArr[5] >= (maxobjs - 1)) {
i = 0;
}
}
Instance of Symbol 297 MovieClip in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.hurttimer = 0;
_global.recoverytimer = 0;
_global.recoverystart = false;
_global.recoverytimer = 0;
}
onClipEvent (enterFrame) {
if (_global.health >= _global.maxhealth) {
_global.health = _global.maxhealth;
}
if (_global.recoverystart == true) {
_global.togglecrouchwhip = "on";
_global.togglebackdash = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
_global.recoverytimer++;
}
if (_global.recoverytimer >= 80) {
_global.recoverystart = false;
_global.recoverytimer = 0;
}
if (_global.maincharhurt == false) {
_global.hurttimer = 0;
}
if (_global.maincharhurt == true) {
_global.redvalue = 185;
if ((!_root.bg.hitTest(_root.jonathan._x + 44, _root.jonathan._y - 70, true)) && (!_root.bg.hitTest(_root.jonathan._x - 44, _root.jonathan._y - 70, true))) {
if (_global.facing_direction == "left") {
_root.jonathan.Movement = 8;
}
if (_global.facing_direction == "right") {
_root.jonathan.Movement = -8;
}
} else {
if (_root.bg.hitTest(_root.jonathan._x + 44, _root.jonathan._y - 70, true)) {
_root.jonathan.Movement = _root.jonathan.Movement * 0;
}
if (_root.bg.hitTest(_root.jonathan._x - 44, _root.jonathan._y - 70, true)) {
_root.jonathan.Movement = _root.jonathan.Movement * 0;
}
}
_global.hurttimer++;
_global.crouchwhipping = false;
_global.togglestand = "off";
_global.togglecrouch = "off";
_global.togglewhip = "off";
_global.togglejump = "off";
_global.togglebackdash = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.toggletaunt = "off";
_global.togglecrouchwhip = "off";
}
if (_global.hurttimer >= 8) {
_global.doublejumponce = false;
_global.whipjumpcount = 0;
_global.whipjump = false;
_global.jv = 1;
_global.whipping = false;
_global.jbvk = 0;
_global.bv = 1;
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
_global.djfv = 1;
}
_global.togglebackdash = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
_global.fall = 0;
_global.backdashing = false;
_global.sliding = false;
_global.recoverystart = true;
_global.togglestand = "on";
_global.togglecrouch = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglebackdash = "on";
_global.toggleslide = "on";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglecrouchwhip = "on";
_global.maincharhurt = false;
}
}
Instance of Symbol 594 MovieClip in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.stairwaytimer = 0;
_global.stairjumping = false;
}
onClipEvent (enterFrame) {
if (_global.stairjumping == false) {
_global.stairwaytimer = 0;
}
if (Key.isDown(_global.jumpfinal)) {
_global.stairjumping = true;
}
if (_global.stairjumping == true) {
_global.stairwaytimer++;
}
if (_global.stairwaytimer >= 20) {
_global.stairjumping = false;
}
}
Instance of Symbol 597 MovieClip in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.swvk = 0;
_global.unlockhorseghost = true;
_global.unlockzerospike = true;
_global.unlockripper = true;
_global.unlockstump = true;
_global.subweaponjumpcount = 0;
xholdcount = 0;
switchvar = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(_global.subweaponfinal)) {
xholdcount++;
if ((xholdcount >= 1) and (xholdcount <= 1.1)) {
if ((_global.subweapon_choice == "knife") and (switchvar == false)) {
_global.subweapon_choice = "holy_water";
switchvar = true;
}
if ((_global.subweapon_choice == "holy_water") and (switchvar == false)) {
_global.subweapon_choice = "cross";
switchvar = true;
}
if ((_global.subweapon_choice == "cross") and (switchvar == false)) {
if (_global.unlockfireball == false) {
if (_global.unlockhorseghost == false) {
_global.subweapon_choice = "knife";
}
if (_global.unlockhorseghost == true) {
_global.subweapon_choice = "horseghost";
}
}
if (_global.unlockfireball == true) {
_global.subweapon_choice = "fireball";
}
switchvar = true;
}
if ((_global.subweapon_choice == "horseghost") and (switchvar == false)) {
if (_global.unlockzerospike == false) {
_global.subweapon_choice = "knife";
}
if (_global.unlockzerospike == true) {
_global.subweapon_choice = "zerospike";
}
switchvar = true;
}
if ((_global.subweapon_choice == "zerospike") and (switchvar == false)) {
if (_global.unlockripper == false) {
_global.subweapon_choice = "knife";
}
if (_global.unlockripper == true) {
_global.subweapon_choice = "ripper";
}
switchvar = true;
}
if ((_global.subweapon_choice == "ripper") and (switchvar == false)) {
if (_global.unlockstump == false) {
_global.subweapon_choice = "knife";
}
if (_global.unlockstump == true) {
_global.subweapon_choice = "stump";
}
switchvar = true;
}
if ((_global.subweapon_choice == "stump") and (switchvar == false)) {
_global.subweapon_choice = "knife";
switchvar = true;
}
if ((_global.subweapon_choice == "fireball") and (switchvar == false)) {
_global.subweapon_choice = "knife";
switchvar = true;
}
}
}
if (!Key.isDown(_global.subweaponfinal)) {
switchvar = false;
xholdcount = 0;
}
if (((_global.subweapon == false) and (_global.swvk >= 7)) and (!Key.isDown(_global.attackfinal))) {
_global.subweapon = true;
}
if (_global.subweaponjump == true) {
_global.subweaponjumpcount++;
}
if (_global.subweaponjumpcount >= 10) {
_global.subweaponjumpcount = 0;
_global.subweaponjump = false;
}
if ((_global.subweapon == true) and (_global.backdashing == false)) {
_global.togglestand = "off";
_global.togglemovement = "off";
_global.toggletaunt = "off";
_global.togglecrouchwhip = "off";
_global.togglewhip = "off";
_global.whipping = false;
_global.backdashingcount = 0;
_global.swvk++;
}
if (((_global.subweapon == true) and (_global.swvk >= 7)) and (!Key.isDown(_global.attackfinal))) {
_global.crouchwhipping = false;
_global.togglecrouchwhip = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.togglewhip = "off";
_global.togglemovement = "on";
_global.toggletaunt = "on";
_global.togglestand = "on";
_global.toggleslide = "on";
_global.swvk = 0;
_global.subweapon = false;
}
}
Instance of Symbol 600 MovieClip in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.zerospikeexplosiondamage = 20;
_global.zerospikedamage = 5;
_global.holywaterdamage = 3;
_global.knifedamage = 8;
_global.crossdamage = 7;
_global.shoryu_damage = 30;
_global.horseghostdamage = 10;
_global.ripperdamage = 8;
_global.ripperexplosiondamage = 30;
_global.stumpdamage = 5;
_global.fireball_damage = 45;
_global.damage = _global.attack;
_global.attack = 10;
bigbonus = 25;
bigbonusget = true;
}
onClipEvent (enterFrame) {
if (_global.damagedisable == true) {
_global.damage = _global.damage / _global.damage;
}
if (_global.jonathanbig == false) {
if (bigbonusget == false) {
_global.attack = _global.attack - bigbonus;
_global.shoryu_damage = _global.shoryu_damage - bigbonus;
bigbonusget = true;
}
}
if (_global.jonathanbig == true) {
if (bigbonusget == true) {
_global.attack = _global.attack + bigbonus;
_global.shoryu_damage = _global.shoryu_damage + bigbonus;
bigbonusget = false;
}
}
}
Instance of Symbol 618 MovieClip "heart" in Frame 22
onClipEvent (enterFrame) {
if (_global.dead == true) {
this.unloadMovie();
}
}
Instance of Symbol 632 MovieClip "heart2" in Frame 22
onClipEvent (enterFrame) {
if (_global.dead == true) {
this.unloadMovie();
}
}
Instance of Symbol 646 MovieClip in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.levelend = false;
if (_global.levelend == true) {
_global.crouchwhipping = false;
_global.togglestand = "off";
_global.togglecrouch = "off";
_global.togglewhip = "off";
_global.togglejump = "off";
_global.togglebackdash = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.toggletaunt = "off";
_global.togglecrouchwhip = "off";
}
}
onClipEvent (enterFrame) {
if (_global.levelend == true) {
_global.crouchwhipping = false;
_global.togglestand = "off";
_global.togglecrouch = "off";
_global.togglewhip = "off";
_global.togglejump = "off";
_global.togglebackdash = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.toggletaunt = "off";
_global.togglecrouchwhip = "off";
if (_root.bg.hitTest(_root.jonathan._x, _root.jonathan._y + 5, true)) {
_root.jonathan.gotoAndStop("levelend_animation");
_root.fadeout._x = _root.jonathan._x;
_root.fadeout._y = _root.jonathan._y;
_root.fadeout._alpha = _root.fadeout._alpha + 0.5;
}
}
}
Instance of Symbol 648 MovieClip in Frame 22
onClipEvent (load) {
this._x = -10000;
this._y = -10000;
_global.shoryuken = false;
}
onClipEvent (enterFrame) {
if (_global.shoryuken == true) {
_global.crouchwhipping = false;
_global.togglestand = "off";
_global.togglecrouch = "off";
_global.togglewhip = "off";
_global.togglejump = "off";
_global.togglebackdash = "off";
_global.toggleslide = "off";
_global.toggletaunt = "off";
_global.togglecrouchwhip = "off";
_global.togglesubweapon = "off";
_global.doublejumponce = false;
_root.jonathan.Jumping = 1;
if (Key.isDown(_global.rightfinal) and (_global.facing_direction == "left")) {
}
if (Key.isDown(_global.leftfinal) and (_global.facing_direction == "right")) {
}
if (_global.facing_direction == "left") {
_root.jonathan.gotoAndStop("Shoryuken_left");
}
if (_global.facing_direction == "right") {
_root.jonathan.gotoAndStop("Shoryuken_right");
}
}
}
Instance of Symbol 460 MovieClip in Frame 22
onClipEvent (load) {
timer = 0;
timer2 = 0;
activate = false;
activate2 = false;
}
onClipEvent (enterFrame) {
_root.horseghost._x = -1000;
_root.horseghost._y = -3000;
timer2++;
if (timer2 >= 1000000000000) {
timer = 0;
activate = false;
timer2 = 0;
}
if (timer <= 15) {
timer++;
if ((timer >= 10) and (activate == false)) {
_root.woodengolem.duplicateMovieClip("woodengolem" + _global.derp, _global.derp);
_root["woodengolem" + _global.derp]._x = 2000;
_root["woodengolem" + _global.derp]._y = -980;
_root["woodengolem" + _global.derp].facing_direction = "left";
_root["woodengolem" + _global.derp].healthmax = 500;
_global.derp = _global.derp + 20;
_root.woodengolem.duplicateMovieClip("woodengolem" + _global.derp, _global.derp);
_root["woodengolem" + _global.derp]._x = -100;
_root["woodengolem" + _global.derp]._y = -980;
_root["woodengolem" + _global.derp].facing_direction = "right";
_root["woodengolem" + _global.derp].healthmax = 500;
_global.derp = _global.derp + 20;
activate = true;
}
}
}
Instance of Symbol 670 MovieClip "stump" in Frame 22
onClipEvent (load) {
healthmax = 150;
}
Instance of Symbol 679 MovieClip "stumpleft" in Frame 22
onClipEvent (load) {
healthmax = 150;
}
Instance of Symbol 680 MovieClip "stumpright" in Frame 22
onClipEvent (load) {
healthmax = 150;
}
Instance of Symbol 807 MovieClip "woodengolem" in Frame 22
onClipEvent (load) {
healthmax = 500;
}
Instance of Symbol 848 MovieClip in Frame 22
onClipEvent (enterFrame) {
healthvalue = 5;
}
Instance of Symbol 862 MovieClip "zerospike" in Frame 22
onClipEvent (load) {
healthmax = 100;
}
Instance of Symbol 896 MovieClip "horseghost" in Frame 22
onClipEvent (load) {
healthmax = 100;
}
Instance of Symbol 906 MovieClip "ripper" in Frame 22
onClipEvent (load) {
healthmax = 50;
}
Instance of Symbol 908 MovieClip "ripperleft" in Frame 22
onClipEvent (load) {
healthmax = 50;
}
Instance of Symbol 909 MovieClip "ripperright" in Frame 22
onClipEvent (load) {
healthmax = 50;
}
Instance of Symbol 912 MovieClip "box" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 922 MovieClip "exp_fishhead" in Frame 22
onClipEvent (load) {
experience = 75;
}
onClipEvent (enterFrame) {
if (_global.dead == true) {
this.unloadMovie();
}
}
Instance of Symbol 922 MovieClip "exp_stump" in Frame 22
onClipEvent (load) {
experience = 75;
}
onClipEvent (enterFrame) {
if (_global.dead == true) {
this.unloadMovie();
}
}
Instance of Symbol 926 MovieClip "healthbox" in Frame 22
onClipEvent (load) {
j = 0;
}
onClipEvent (enterFrame) {
j++;
_global.j = j + 1;
}
Instance of Symbol 922 MovieClip "exp_boss" in Frame 22
onClipEvent (load) {
experience = 200;
}
onClipEvent (enterFrame) {
if (_global.dead == true) {
this.unloadMovie();
}
}
Instance of Symbol 940 MovieClip "coincount" in Frame 22
onClipEvent (load) {
this._visible = false;
startup = false;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
startup = true;
this._x = _root.jonathan._x;
this._y = _root.jonathan._y - 100;
}
if (startup == true) {
_alpha = (_alpha - 0.1);
}
if (_alpha <= 0) {
this._visible = false;
startup = false;
}
if (this._visible == false) {
_alpha = 100;
this._x = 365;
this._y = 1290;
}
}
Instance of Symbol 944 MovieClip "shoryukenbox" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 947 MovieClip "fireballbox" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 951 MovieClip "horseghostbox" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 954 MovieClip "zerospikebox" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 957 MovieClip "zerospikeexplosionbox" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 960 MovieClip "ripperbox" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 963 MovieClip "ripperexplosionbox" in Frame 22
onClipEvent (load) {
i = 0;
j = 0;
if (_global.i >= 1) {
}
}
onClipEvent (enterFrame) {
i++;
j++;
_global.i = i + 1;
_global.j = _global.j + 1;
this.onPress = function () {
duplicateMovieClip (this, "circle" + _global.i, _global.i);
};
}
Instance of Symbol 922 MovieClip "exp_golem" in Frame 22
onClipEvent (load) {
experience = 250;
}
onClipEvent (enterFrame) {
if (_global.dead == true) {
this.unloadMovie();
}
}
Instance of Symbol 970 MovieClip "fadeout" in Frame 22
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha >= 100) {
_root.gotoAndPlay("you_win");
}
}
Frame 81
stopAllSounds();
Instance of Symbol 975 MovieClip in Frame 81
onClipEvent (enterFrame) {
if (this._y >= 0) {
this._y = this._y - 8;
}
}
Instance of Symbol 977 MovieClip in Frame 81
onClipEvent (enterFrame) {
this.onPress = function () {
stopAllSounds();
_root.gotoAndPlay(1);
};
}
Frame 84
stop();
var youshalldie = new Sound();
youshalldie.attachSound("youshalldie");
_root.youshalldie.start();
Symbol 107 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.attackfinal;
};
Symbol 109 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.jumpfinal;
};
Symbol 111 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.backdashfinal;
};
Symbol 113 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.upfinal;
};
Symbol 115 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.downfinal;
};
Symbol 117 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.leftfinal;
};
Symbol 119 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.rightfinal;
};
Symbol 129 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.whipstring;
};
Symbol 131 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.whipkey;
};
Symbol 132 MovieClip Frame 2
stop();
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip Frame 2
onClipEvent (load) {
_global.whipkey = 65;
_global.detect = true;
k = 65;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener = {};
keyListener.onKeyDown = function () {
var _local3 = Key.getCode();
_global.whipkey = _local3;
_global.detect = false;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener);
}
Symbol 132 MovieClip Frame 3
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
};
Symbol 169 MovieClip Frame 16
_global.turning = false;
Instance of Symbol 172 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.doublejump == true) {
if (Key.isDown(_global.jumpfinal)) {
_parent.gotoAndPlay(16);
}
}
}
Symbol 186 MovieClip Frame 12
gotoAndPlay (10);
Symbol 186 MovieClip Frame 25
gotoAndPlay (23);
Symbol 187 MovieClip Frame 1
if ((Key.isDown(_global.jumpfinal) and (_global.Zholdcount <= 5)) and (_global.nojumping == false)) {
_parent.Yvelocity = -24;
}
_global.getridofplatforms = true;
_global.jv = 1;
Instance of Symbol 186 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (load) {
if (_global.jumpwhipping == true) {
this.play();
this._visible = false;
}
if (_global.jumpwhipping == false) {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (jv <= 23) {
this.gotoAndPlay(jv);
}
if (jwv <= 23) {
}
if (_global.jumpwhipping == true) {
this.play();
this._visible = false;
}
if (_global.jumpwhipping == false) {
this._visible = true;
}
}
Instance of Symbol 172 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_global.doublejump == false) {
if (Key.isDown(_global.jumpfinal)) {
_global.doublejump = false;
}
if (!Key.isDown(_global.jumpfinal)) {
_global.doublejump = true;
}
}
if (_global.doublejump == true) {
if (Key.isDown(_global.jumpfinal)) {
_global.jv = 16;
_parent.gotoAndPlay(16);
}
}
}
Instance of Symbol 172 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
_global.doublejump = false;
}
Symbol 187 MovieClip Frame 2
if ((Key.isDown(_global.jumpfinal) and (Zholdcount <= 10)) and (_global.nojumping == false)) {
_parent.Yvelocity = -24;
}
_global.getridofplatforms = true;
_global.jv = 2;
Symbol 187 MovieClip Frame 3
if ((Key.isDown(_global.jumpfinal) and (Zholdcount <= 10)) and (_global.nojumping == false)) {
_parent.Yvelocity = -24;
}
_global.getridofplatforms = true;
_global.jv = 3;
Instance of Symbol 172 MovieClip in Symbol 187 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (!Key.isDown(_global.downfinal)) {
if (!Key.isDown(_global.jumpfinal)) {
if (_parent._parent.Yvelocity <= -8.55) {
_parent._parent.Yvelocity = -8.5;
}
_global.jv = 10;
_parent.gotoAndPlay(10);
}
}
}
Symbol 187 MovieClip Frame 4
if ((Key.isDown(_global.jumpfinal) and (Zholdcount <= 10)) and (_global.nojumping == false)) {
_parent.Yvelocity = -24;
}
_global.getridofplatforms = true;
_global.jv = 4;
Symbol 187 MovieClip Frame 5
if ((Key.isDown(_global.jumpfinal) and (Zholdcount <= 10)) and (_global.nojumping == false)) {
_parent.Yvelocity = -24;
}
_global.camchange = true;
_global.jv = 5;
Symbol 187 MovieClip Frame 6
_global.jv = 6;
Symbol 187 MovieClip Frame 7
_global.jv = 7;
Symbol 187 MovieClip Frame 8
_global.jv = 8;
Symbol 187 MovieClip Frame 9
_global.jv = 9;
Symbol 187 MovieClip Frame 10
_global.jv = 10;
Symbol 187 MovieClip Frame 11
_global.jv = 11;
Symbol 187 MovieClip Frame 12
gotoAndPlay (10);
_global.fall = _global.fall + 1;
Symbol 187 MovieClip Frame 16
_root.jump_sound.start();
_global.fall = 0;
if ((Key.isDown(_global.jumpfinal) and (_global.Zholdcount <= 50)) and (_global.doublejumponce == false)) {
_parent.Yvelocity = -24;
}
_global.jv = 16;
Symbol 187 MovieClip Frame 17
if ((Key.isDown(_global.jumpfinal) and (_global.Zholdcount <= 50)) and (_global.doublejumponce == false)) {
_parent.Yvelocity = -24;
}
_global.jv = 17;
Symbol 187 MovieClip Frame 18
if ((Key.isDown(_global.jumpfinal) and (_global.Zholdcount <= 50)) and (_global.doublejumponce == false)) {
_parent.Yvelocity = -22;
}
_global.jv = 18;
Symbol 187 MovieClip Frame 19
if ((Key.isDown(_global.jumpfinal) and (_global.Zholdcount <= 50)) and (_global.doublejumponce == false)) {
_parent.Yvelocity = -20;
}
_global.jv = 19;
Symbol 187 MovieClip Frame 20
if ((Key.isDown(_global.jumpfinal) and (_global.Zholdcount <= 50)) and (_global.doublejumponce == false)) {
_parent.Yvelocity = -16;
}
_global.jv = 20;
Symbol 187 MovieClip Frame 21
if ((Key.isDown(_global.jumpfinal) and (_global.Zholdcount <= 50)) and (_global.doublejumponce == false)) {
_parent.Yvelocity = -14;
}
_global.jv = 21;
Symbol 187 MovieClip Frame 22
_global.jv = 22;
Symbol 187 MovieClip Frame 23
_global.jv = 23;
Symbol 187 MovieClip Frame 24
_global.jv = 24;
Symbol 187 MovieClip Frame 25
gotoAndPlay (23);
Instance of Symbol 138 MovieClip "shoryuhitbox" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 194 MovieClip Frame 7
gotoAndStop (2);
Symbol 195 MovieClip Frame 2
_global.djfv = 2;
Symbol 195 MovieClip Frame 3
_global.djfv = 3;
Symbol 195 MovieClip Frame 4
_global.djfv = 4;
Symbol 195 MovieClip Frame 5
_global.djfv = 5;
Symbol 195 MovieClip Frame 6
_global.djfv = 6;
Symbol 195 MovieClip Frame 7
_global.djfv = 7;
Symbol 195 MovieClip Frame 8
_global.djfv = 8;
Symbol 195 MovieClip Frame 9
_global.djfv = 9;
Symbol 195 MovieClip Frame 10
_global.djfv = 10;
Symbol 195 MovieClip Frame 11
_global.djfv = 11;
Symbol 195 MovieClip Frame 12
_global.djfv = 12;
Symbol 195 MovieClip Frame 13
_global.djfv = 13;
Symbol 195 MovieClip Frame 14
_global.djfv = 14;
Symbol 195 MovieClip Frame 15
_global.djfv = 15;
Symbol 195 MovieClip Frame 16
_global.djfv = 16;
Symbol 195 MovieClip Frame 17
_global.djfv = 17;
Symbol 195 MovieClip Frame 18
_global.djfv = 18;
Symbol 195 MovieClip Frame 19
_global.djfv = 19;
Symbol 195 MovieClip Frame 20
_global.djfv = 20;
Symbol 195 MovieClip Frame 21
_global.djfv = 21;
Symbol 195 MovieClip Frame 22
gotoAndPlay (21);
Symbol 205 MovieClip Frame 7
stop();
Symbol 209 MovieClip Frame 2
if (_global.whipjumpcount <= 1) {
whipvar = Math.random(1);
if (whipvar <= 0.25) {
_root.whip_crack.start();
}
if ((whipvar >= 0.251) and (whipvar <= 0.5)) {
_root.jonathanyell1.start();
_root.whip_crack.start();
}
if ((whipvar >= 0.5000001) and (whipvar <= 0.749)) {
_root.jonathanyell2.start();
_root.whip_crack.start();
}
if (whipvar >= 0.75) {
_root.whip_sound2.start();
_root.whip_crack.start();
}
}
Symbol 209 MovieClip Frame 17
stop();
Instance of Symbol 208 MovieClip "whip" in Symbol 209 MovieClip Frame 17
onClipEvent (load) {
rotationgravity = 0;
uptimer = 0;
lefttimer = 0;
righttimer = 0;
timer = 0;
downtimer = 0;
if ((((!Key.isDown(_global.upfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) {
whipable = true;
}
if (Key.isDown(_global.upfinal)) {
whipable = false;
}
if (Key.isDown(_global.leftfinal)) {
whipable = false;
}
if (Key.isDown(_global.rightfinal)) {
whipable = false;
}
if (Key.isDown(_global.downfinal)) {
whipable = false;
}
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 1.5) {
_global.damagedisable = true;
}
if (!Key.isDown(_global.upfinal)) {
uptimer = 0;
}
if (!Key.isDown(_global.leftfinal)) {
lefttimer = 0;
}
if (!Key.isDown(_global.rightfinal)) {
righttimer = 0;
}
if (!Key.isDown(_global.downfinal)) {
downtimer = 0;
}
if ((((!Key.isDown(_global.upfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) {
if (whipable == false) {
whipable = true;
}
}
if (whipable == false) {
rotationgravity = rotationgravity * 0.9;
if (this._rotation != -90) {
this._rotation = this._rotation + rotationgravity;
}
if ((this._rotation >= -100) and (this._rotation <= -85)) {
this._rotation = -90;
}
if (Key.isDown(_global.attackfinal)) {
if (this._rotation == -90) {
rotationgravity = 0;
}
if ((this._rotation >= -89) and (this._rotation <= 0)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= -180) and (this._rotation <= -90)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
if ((this._rotation >= 0) and (this._rotation <= 90)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= 91) and (this._rotation <= 180)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
}
}
if (whipable == true) {
if (((Key.isDown(_global.upfinal) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) {
uptimer++;
}
if (((Key.isDown(_global.leftfinal) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.rightfinal))) {
lefttimer++;
}
if (((Key.isDown(_global.rightfinal) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.upfinal))) {
righttimer++;
}
if (((Key.isDown(_global.downfinal) and (!Key.isDown(_global.rightfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.upfinal))) {
downtimer++;
}
if ((uptimer <= 4) and (uptimer >= 1)) {
this._rotation = this._rotation + 50;
}
if ((downtimer <= 4) and (downtimer >= 1)) {
if (_global.facing_direction == "left") {
this._rotation = this._rotation - 15;
}
if (_global.facing_direction == "right") {
this._rotation = this._rotation + 15;
}
}
if ((lefttimer <= 4) and (lefttimer >= 1)) {
if (_global.facing_direction == "left") {
this._rotation = this._rotation + 35;
}
if (_global.facing_direction == "right") {
this._rotation = this._rotation - 35;
}
}
if ((righttimer <= 4) and (righttimer >= 1)) {
if (_global.facing_direction == "left") {
this._rotation = this._rotation - 35;
}
if (_global.facing_direction == "right") {
this._rotation = this._rotation + 35;
}
}
rotationgravity = rotationgravity * 0.9;
if (this._rotation != -90) {
this._rotation = this._rotation + rotationgravity;
}
if ((this._rotation >= -100) and (this._rotation <= -85)) {
this._rotation = -90;
}
if (Key.isDown(_global.attackfinal)) {
if (this._rotation == -90) {
rotationgravity = 0;
}
if ((this._rotation >= -89) and (this._rotation <= 0)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= -180) and (this._rotation <= -90)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
if ((this._rotation >= 0) and (this._rotation <= 90)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= 91) and (this._rotation <= 180)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
}
}
}
Symbol 218 MovieClip Frame 7
stop();
Symbol 224 MovieClip Frame 1
_global.wjv = 1;
Symbol 224 MovieClip Frame 2
_global.wjv = 2;
Symbol 224 MovieClip Frame 3
_global.wjv = 3;
Symbol 224 MovieClip Frame 4
_global.wjv = 4;
Symbol 224 MovieClip Frame 5
_global.wjv = 5;
Symbol 224 MovieClip Frame 6
_global.wjv = 6;
Symbol 224 MovieClip Frame 7
_global.wjv = 7;
Symbol 224 MovieClip Frame 8
_global.wjv = 8;
Symbol 224 MovieClip Frame 9
_global.wjv = 9;
whipvar = Math.random(1);
if (whipvar <= 0.25) {
_root.whip_crack.start();
}
if ((whipvar >= 0.251) and (whipvar <= 0.5)) {
_root.jonathanyell1.start();
_root.whip_crack.start();
}
if ((whipvar >= 0.5000001) and (whipvar <= 0.749)) {
_root.jonathanyell2.start();
_root.whip_crack.start();
}
if (whipvar >= 0.75) {
_root.whip_sound2.start();
_root.whip_crack.start();
}
Symbol 224 MovieClip Frame 10
_global.wjv = 10;
Symbol 224 MovieClip Frame 11
_global.wjv = 11;
Symbol 224 MovieClip Frame 12
_global.wjv = 12;
Symbol 224 MovieClip Frame 13
_global.wjv = 13;
Symbol 224 MovieClip Frame 14
_global.wjv = 14;
Symbol 224 MovieClip Frame 15
_global.wjv = 15;
Symbol 224 MovieClip Frame 16
_global.wjv = 16;
Symbol 224 MovieClip Frame 17
_global.wjv = 17;
stop();
Symbol 226 MovieClip Frame 5
stop();
Symbol 232 MovieClip Frame 1
_global.wjv = 1;
Symbol 232 MovieClip Frame 2
_global.wjv = 2;
Symbol 232 MovieClip Frame 3
_global.wjv = 3;
Symbol 232 MovieClip Frame 4
_global.wjv = 4;
Symbol 232 MovieClip Frame 5
_global.wjv = 5;
Symbol 232 MovieClip Frame 6
_global.wjv = 6;
Symbol 232 MovieClip Frame 7
_global.wjv = 7;
Symbol 232 MovieClip Frame 8
_global.wjv = 8;
Symbol 232 MovieClip Frame 9
_global.wjv = 9;
whipvar = Math.random(1);
if (whipvar <= 0.25) {
_root.whip_crack.start();
}
if ((whipvar >= 0.251) and (whipvar <= 0.5)) {
_root.jonathanyell1.start();
_root.whip_crack.start();
}
if ((whipvar >= 0.5000001) and (whipvar <= 0.749)) {
_root.jonathanyell2.start();
_root.whip_crack.start();
}
if (whipvar >= 0.75) {
_root.whip_sound2.start();
_root.whip_crack.start();
}
Symbol 232 MovieClip Frame 10
_global.wjv = 10;
Symbol 232 MovieClip Frame 11
_global.wjv = 11;
Symbol 232 MovieClip Frame 12
_global.wjv = 12;
Symbol 232 MovieClip Frame 13
_global.wjv = 13;
Symbol 232 MovieClip Frame 14
_global.wjv = 14;
Symbol 232 MovieClip Frame 15
_global.wjv = 15;
Symbol 232 MovieClip Frame 16
_global.wjv = 16;
Symbol 232 MovieClip Frame 17
_global.wjv = 17;
stop();
Symbol 236 MovieClip Frame 1
_root.backdash_sound.start();
_global.bv = 1;
Symbol 236 MovieClip Frame 2
_global.bv = 2;
Symbol 236 MovieClip Frame 3
_global.bv = 3;
Symbol 236 MovieClip Frame 4
_global.bv = 4;
Symbol 236 MovieClip Frame 5
_global.bv = 5;
Symbol 236 MovieClip Frame 6
_global.bv = 6;
Symbol 236 MovieClip Frame 7
_global.bv = 7;
Symbol 236 MovieClip Frame 8
_global.bv = 8;
Symbol 236 MovieClip Frame 9
_global.bv = 9;
Symbol 236 MovieClip Frame 10
_global.bv = 10;
Symbol 236 MovieClip Frame 11
_global.bv = 11;
Symbol 236 MovieClip Frame 12
_global.backdashing = false;
_global.bv = 12;
stop();
Symbol 237 MovieClip Frame 8
stop();
Symbol 240 MovieClip Frame 10
_root.taunt_sound.start();
Symbol 240 MovieClip Frame 137
stop();
Symbol 254 MovieClip Frame 5
stop();
Symbol 257 MovieClip Frame 4
whipvar = Math.random(1);
if (whipvar <= 0.25) {
_root.whip_crack.start();
}
if ((whipvar >= 0.251) and (whipvar <= 0.5)) {
_root.jonathanyell1.start();
_root.whip_crack.start();
}
if ((whipvar >= 0.5000001) and (whipvar <= 0.749)) {
_root.jonathanyell2.start();
_root.whip_crack.start();
}
if (whipvar >= 0.75) {
_root.whip_sound2.start();
_root.whip_crack.start();
}
Instance of Symbol 254 MovieClip "whip" in Symbol 257 MovieClip Frame 12
onClipEvent (load) {
rotationgravity = 0;
uptimer = 0;
lefttimer = 0;
timer = 0;
righttimer = 0;
downtimer = 0;
if ((((!Key.isDown(_global.upfinal)) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) {
whipable = true;
}
if (Key.isDown(_global.upfinal)) {
whipable = false;
}
if (Key.isDown(_global.leftfinal)) {
whipable = false;
}
if (Key.isDown(_global.rightfinal)) {
whipable = false;
}
if (Key.isDown(_global.downfinal)) {
whipable = false;
}
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 2) {
_global.damagedisable = true;
}
if (!Key.isDown(_global.upfinal)) {
uptimer = 0;
}
if (!Key.isDown(_global.leftfinal)) {
lefttimer = 0;
}
if (!Key.isDown(_global.rightfinal)) {
righttimer = 0;
}
if (!Key.isDown(_global.downfinal)) {
downtimer = 0;
}
if (whipable == false) {
rotationgravity = rotationgravity * 0.9;
if (this._rotation != -90) {
this._rotation = this._rotation + rotationgravity;
}
if ((this._rotation >= -100) and (this._rotation <= -85)) {
this._rotation = -90;
}
if (Key.isDown(_global.attackfinal)) {
if (this._rotation == -90) {
rotationgravity = 0;
}
if ((this._rotation >= -89) and (this._rotation <= 0)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= -180) and (this._rotation <= -90)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
if ((this._rotation >= 0) and (this._rotation <= 90)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= 91) and (this._rotation <= 180)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
}
}
if (whipable == true) {
if (((Key.isDown(_global.upfinal) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.rightfinal))) {
uptimer++;
}
if (((Key.isDown(_global.leftfinal) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.rightfinal))) {
lefttimer++;
}
if (((Key.isDown(_global.rightfinal) and (!Key.isDown(_global.downfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.upfinal))) {
righttimer++;
}
if (((Key.isDown(_global.downfinal) and (!Key.isDown(_global.rightfinal))) and (!Key.isDown(_global.leftfinal))) and (!Key.isDown(_global.upfinal))) {
}
if ((uptimer <= 4) and (uptimer >= 1)) {
this._rotation = this._rotation + 50;
}
if ((downtimer <= 4) and (downtimer >= 1)) {
if (_global.facing_direction == "left") {
this._rotation = this._rotation - 15;
}
if (_global.facing_direction == "right") {
this._rotation = this._rotation + 15;
}
}
if ((lefttimer <= 4) and (lefttimer >= 1)) {
if (_global.facing_direction == "left") {
this._rotation = this._rotation + 35;
}
if (_global.facing_direction == "right") {
this._rotation = this._rotation - 35;
}
}
if ((righttimer <= 4) and (righttimer >= 1)) {
if (_global.facing_direction == "left") {
this._rotation = this._rotation - 35;
}
if (_global.facing_direction == "right") {
this._rotation = this._rotation + 35;
}
}
rotationgravity = rotationgravity * 0.9;
if (this._rotation != -90) {
this._rotation = this._rotation + rotationgravity;
}
if ((this._rotation >= -100) and (this._rotation <= -85)) {
this._rotation = -90;
}
if (Key.isDown(_global.attackfinal)) {
if (this._rotation == -90) {
rotationgravity = 0;
}
if ((this._rotation >= -89) and (this._rotation <= 0)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= -180) and (this._rotation <= -90)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
if ((this._rotation >= 0) and (this._rotation <= 90)) {
if (rotationgravity >= -12) {
rotationgravity = rotationgravity - 2;
}
}
if ((this._rotation >= 91) and (this._rotation <= 180)) {
if (rotationgravity <= 12) {
rotationgravity = rotationgravity + 2;
}
}
}
}
}
Symbol 257 MovieClip Frame 16
stop();
Symbol 262 MovieClip Frame 3
_root.backdash_sound.start();
Symbol 262 MovieClip Frame 12
_global.sliding = false;
Symbol 267 MovieClip Frame 1
hurtvar = Math.random(1);
_root.jonathan_hit.start();
if (hurtvar <= 0.5) {
_root.jonathan_hurt.start();
}
if (hurtvar >= 0.5000001) {
_root.jonathan_hurt2.start();
}
if (_global.jonathanbig == true) {
_root.smb_pipe.start();
_root.jonathan._width = 55;
_root.jonathan._height = 100;
_global.jonathanbig = false;
}
Symbol 267 MovieClip Frame 8
stop();
Symbol 269 MovieClip Frame 1
hurtvar = Math.random(1);
_root.jonathan_hit.start();
if (hurtvar <= 0.5) {
_root.jonathan_hurt.start();
}
if (hurtvar >= 0.5000001) {
_root.jonathan_hurt2.start();
}
if (_global.jonathanbig == true) {
_root.smb_pipe.start();
_root.jonathan._width = 55;
_root.jonathan._height = 100;
_global.jonathanbig = false;
}
Symbol 269 MovieClip Frame 3
stop();
Symbol 274 MovieClip Frame 5
throwvar = Math.random(1);
if (throwvar <= 0.33) {
_root.comeandgetit.start();
}
if ((throwvar >= 0.335) and (throwvar <= 0.66)) {
_root.cmonchump.start();
}
if (throwvar >= 0.665) {
_root.jonathangrunt1.start();
}
Symbol 274 MovieClip Frame 8
stop();
Symbol 279 MovieClip Frame 5
throwvar = Math.random(1);
if (throwvar <= 0.33) {
_root.comeandgetit.start();
}
if ((throwvar >= 0.335) and (throwvar <= 0.66)) {
_root.cmonchump.start();
}
if (throwvar >= 0.665) {
_root.jonathangrunt1.start();
}
Symbol 279 MovieClip Frame 8
stop();
Symbol 280 MovieClip Frame 36
_root.yahoo.start();
Symbol 280 MovieClip Frame 182
stop();
Instance of Symbol 164 MovieClip in Symbol 280 MovieClip Frame 182
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x + 5;
}
Symbol 281 MovieClip Frame 1
stop();
_global.togglecrouchwhip = "on";
_global.whipjumpdiag = false;
_global.doublejump = false;
_global.damagedisable = false;
_global.doublejumponce = true;
_global.whipjumpcount = 0;
_global.whipjump = false;
_global.jv = 1;
_global.whipping = false;
_global.jbvk = 0;
_global.bv = 1;
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_global.djfv = 1;
}
_global.togglebackdash = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
_global.fall = 0;
_global.backdashing = false;
_global.sliding = false;
Instance of Symbol 138 MovieClip "hitbox" in Symbol 281 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 143 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (enterFrame) {
_global.doublejumponce = false;
_global.whipjumpcount = 0;
_global.whipjump = false;
_global.jv = 1;
_global.whipping = false;
_global.jbvk = 0;
_global.bv = 1;
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_global.djfv = 1;
}
_global.togglebackdash = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
_global.fall = 0;
_global.backdashing = false;
_global.sliding = false;
}
Symbol 281 MovieClip Frame 21
stop();
_global.jv = 1;
_global.djfv = 1;
_global.whipjumpdiag = false;
_global.damagedisable = false;
_global.fall = 0;
_global.sliding = false;
_global.togglewhip = "on";
_global.togglejump = "on";
_global.doublejumponce = false;
Instance of Symbol 169 MovieClip in Symbol 281 MovieClip Frame 36
onClipEvent (enterFrame) {
if (!Key.isDown(_global.leftfinal)) {
_global.turning = false;
}
}
Instance of Symbol 187 MovieClip in Symbol 281 MovieClip Frame 55
onClipEvent (load) {
_global.whipjumpcount = 0;
_global.whipjump = false;
_global.subweaponjump = false;
_global.subweaponjumpcount = 0;
if (jv <= 22) {
this.gotoAndPlay(jv);
_global.getridofplatforms = true;
}
if (_global.doublejumponce == true) {
jv = 16;
this.gotoAndPlay(16);
}
_global.togglejump = "on";
}
onClipEvent (enterFrame) {
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.downfinal))) {
_global.jv = 10;
_global.whipjump = true;
_parent.gotoAndStop("jumpwhipleft");
}
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and Key.isDown(_global.downfinal)) {
_global.jv = 10;
_global.whipjump = true;
_global.whipjumpdiag = true;
_parent.gotoAndStop("jumpwhipdiagleft");
}
if ((((Key.isDown(_global.attackfinal) and (_global.shoryuken == false)) and (_global.togglesubweapon == "on")) and Key.isDown(_global.upfinal)) and (_global.Aholdcount <= 8)) {
if (_global.mp >= 16) {
_global.subweaponjump = true;
_parent.gotoAndStop("subweapon_throw_air_left");
}
}
}
Instance of Symbol 194 MovieClip "shoryuken" in Symbol 281 MovieClip Frame 66
onClipEvent (load) {
_parent.Yvelocity = -25;
}
Instance of Symbol 195 MovieClip in Symbol 281 MovieClip Frame 77
onClipEvent (load) {
_global.whipjumpcount = 0;
this.gotoAndPlay(djfv);
}
onClipEvent (enterFrame) {
_global.djfv = _global.djfv + 1;
if (_global.djfv >= 2) {
this.gotoAndPlay(djfv);
}
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.downfinal))) {
_global.whipjump = true;
_global.doublejumponce = false;
_parent.gotoAndStop("jumpwhipleft");
}
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and Key.isDown(_global.downfinal)) {
_global.whipjump = true;
_global.whipjumpdiag = true;
_global.doublejumponce = false;
_parent.gotoAndStop("jumpwhipdiagleft");
}
if ((((Key.isDown(_global.attackfinal) and (_global.shoryuken == false)) and (_global.togglesubweapon == "on")) and Key.isDown(_global.upfinal)) and (_global.Aholdcount <= 8)) {
if (_global.mp >= 16) {
_global.doublejumponce = false;
_global.subweaponjump = true;
_parent.gotoAndStop("subweapon_throw_air_left");
}
}
}
Symbol 281 MovieClip Frame 93
_global.whipping = true;
_global.crouchwhipping = false;
_global.togglejump = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.togglecrouch = "off";
_global.toggletaunt = "off";
_global.turning = false;
Instance of Symbol 209 MovieClip "whipping" in Symbol 281 MovieClip Frame 93
onClipEvent (load) {
_global.Aholdcount = 0;
_global.togglestand == "off";
_global.togglemovement = "off";
if (_global.whipjump == true) {
_global.whipjumpcount = _global.wjv + 5;
_global.jbvk = 21;
this.gotoAndStop(21);
}
}
onClipEvent (enterFrame) {
_global.togglecrouchwhip = "off";
}
Instance of Symbol 224 MovieClip "whipping" in Symbol 281 MovieClip Frame 107
onClipEvent (load) {
_global.togglemovement = "on";
}
onClipEvent (enterFrame) {
if (_global.whipjumpcount <= 14) {
_global.whipjump = true;
}
if (_global.whipjumpcount >= 15) {
_global.whipjump = false;
_global.nojumping = true;
_parent.gotoAndStop("Jumping_left");
}
if (_global.doublejumponce == false) {
if (Key.isDown(_global.jumpfinal) and (Zholdcount <= 0)) {
_global.doublejumponce = true;
_parent.gotoAndStop("Jumping_left");
}
}
}
Instance of Symbol 232 MovieClip "whipping" in Symbol 281 MovieClip Frame 120
onClipEvent (load) {
_global.togglemovement = "on";
}
onClipEvent (enterFrame) {
if (_global.whipjumpcount <= 14) {
_global.whipjump = true;
}
if (_global.whipjumpcount >= 15) {
_global.whipjump = false;
_global.nojumping = true;
_parent.gotoAndStop("Jumping_left");
}
if (_global.doublejumponce == false) {
if (Key.isDown(_global.jumpfinal) and (Zholdcount <= 0)) {
_global.doublejumponce = true;
_parent.gotoAndStop("Jumping_left");
}
}
}
Symbol 281 MovieClip Frame 134
_global.togglejump = "off";
_global.togglewhip = "on";
_global.whipping = false;
Instance of Symbol 236 MovieClip in Symbol 281 MovieClip Frame 134
onClipEvent (load) {
this.gotoAndPlay(_global.bv);
_global.backdashing = true;
}
onClipEvent (enterFrame) {
_global.jbvk = 8;
_global.backdashingcount++;
}
Symbol 281 MovieClip Frame 145
_global.sliding = false;
_global.togglebackdash = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
Instance of Symbol 240 MovieClip in Symbol 281 MovieClip Frame 155
onClipEvent (enterFrame) {
_global.mp = _global.mp + 0.025;
}
Symbol 281 MovieClip Frame 164
_global.togglewhip = "on";
_global.toggleslide = "on";
_global.whipping = false;
_global.damagedisable = false;
_global.turning = false;
Instance of Symbol 243 MovieClip in Symbol 281 MovieClip Frame 164
onClipEvent (load) {
_global.sliding = false;
_global.togglecrouchwhip = "on";
}
onClipEvent (enterFrame) {
_global.togglecrouchwhip = "on";
_global.subweapon = false;
}
Symbol 281 MovieClip Frame 176
_global.togglejump = "off";
_global.togglebackdash = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.togglestand = "off";
Symbol 281 MovieClip Frame 193
_global.togglejump = "off";
Instance of Symbol 262 MovieClip in Symbol 281 MovieClip Frame 193
onClipEvent (load) {
_global.sliding = true;
_global.slidingstart = true;
}
Symbol 281 MovieClip Frame 206
_global.togglejump = "off";
Symbol 281 MovieClip Frame 223
_global.togglejump = "off";
Instance of Symbol 274 MovieClip in Symbol 281 MovieClip Frame 240
onClipEvent (load) {
timer = 0;
detect = true;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 2) and (timer <= 2.1)) {
if (_global.subweapon_choice == "holy_water") {
_root.holywaterleft.duplicateMovieClip("hwl" + _global.derp, _global.derp);
_root["hwl" + _global.derp]._x = _parent._x - 20;
_root["hwl" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "zerospike") {
_root.zeroleft.duplicateMovieClip("zl" + _global.derp, _global.derp);
_root["zl" + _global.derp]._x = _parent._x - 20;
_root["zl" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.yellowglyph.duplicateMovieClip("yellowglyph" + _global.derp, _global.derp);
_root.squarebg["yellowglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["yellowglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "knife") {
_root.knifeleft.duplicateMovieClip("kl" + _global.derp, _global.derp);
_root["kl" + _global.derp]._x = _parent._x - 35;
_root["kl" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "stump") {
_root.stumpleft.duplicateMovieClip("sl" + _global.derp, _global.derp);
_root["sl" + _global.derp]._x = _parent._x - 35;
_root["sl" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "horseghost") {
_root.horseleft.duplicateMovieClip("hl" + _global.derp, _global.derp);
_root["hl" + _global.derp]._x = _parent._x - 35;
_root["hl" + _global.derp]._y = _parent._y - 65;
_root.horsedash.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 25;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "ripper") {
_root.ripperleft.duplicateMovieClip("rl" + _global.derp, _global.derp);
_root["rl" + _global.derp]._x = _parent._x - 35;
_root["rl" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "cross") {
_root.crossleft.duplicateMovieClip("cl" + _global.derp, _global.derp);
_root["cl" + _global.derp]._x = _parent._x - 35;
_root["cl" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 12;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "fireball") {
_root.fireball_left.duplicateMovieClip("fl" + _global.derp, _global.derp);
_root["fl" + _global.derp]._x = _parent._x - 35;
_root["fl" + _global.derp]._y = _parent._y - 65;
_root.fireball.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
}
}
Instance of Symbol 279 MovieClip in Symbol 281 MovieClip Frame 266
onClipEvent (load) {
_global.togglemovement = "on";
timer = 0;
detect = true;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 2) and (timer <= 2.1)) {
if (_global.subweapon_choice == "holy_water") {
_root.holywaterleft.duplicateMovieClip("hwl" + _global.derp, _global.derp);
_root["hwl" + _global.derp]._x = _parent._x - 30;
_root["hwl" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "zerospike") {
_root.zeroleft.duplicateMovieClip("zl" + _global.derp, _global.derp);
_root["zl" + _global.derp]._x = _parent._x - 30;
_root["zl" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.yellowglyph.duplicateMovieClip("yellowglyph" + _global.derp, _global.derp);
_root.squarebg["yellowglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["yellowglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "knife") {
_root.knifeleft.duplicateMovieClip("kl" + _global.derp, _global.derp);
_root["kl" + _global.derp]._x = _parent._x - 40;
_root["kl" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "stump") {
_root.stumpleft.duplicateMovieClip("sl" + _global.derp, _global.derp);
_root["sl" + _global.derp]._x = _parent._x - 40;
_root["sl" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "horseghost") {
_root.horseleft.duplicateMovieClip("hl" + _global.derp, _global.derp);
_root["hl" + _global.derp]._x = _parent._x - 40;
_root["hl" + _global.derp]._y = _parent._y - 65;
_root.horsedash.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 25;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "ripper") {
_root.ripperleft.duplicateMovieClip("rl" + _global.derp, _global.derp);
_root["rl" + _global.derp]._x = _parent._x - 40;
_root["rl" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "cross") {
_root.crossleft.duplicateMovieClip("cl" + _global.derp, _global.derp);
_root["cl" + _global.derp]._x = _parent._x - 40;
_root["cl" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 12;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "fireball") {
_root.fireball_left.duplicateMovieClip("fl" + _global.derp, _global.derp);
_root["fl" + _global.derp]._x = _parent._x - 40;
_root["fl" + _global.derp]._y = _parent._y - 65;
_root.fireball.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
}
if (_global.subweaponjumpcount <= 5) {
_global.subweaponjump = true;
}
if (_global.subweaponjumpcount >= 6) {
_global.subweaponjump = false;
_global.nojumping = true;
_parent.gotoAndStop("Jumping_left");
}
if (_global.doublejumponce == false) {
if (Key.isDown(_global.jumpfinal) and (Zholdcount <= 0)) {
_global.doublejumponce = true;
_parent.gotoAndStop("Jumping_left");
}
}
}
Symbol 281 MovieClip Frame 287
stop();
_global.togglecrouchwhip = "on";
_global.whipjumpdiag = false;
_global.damagedisable = false;
_global.doublejump = false;
_global.doublejumponce = true;
_global.whipjumpcount = 0;
_global.whipjump = false;
_global.jv = 1;
_global.whipping = false;
_global.jbvk = 0;
_global.bv = 1;
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_global.djfv = 1;
}
_global.togglebackdash = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
_global.fall = 0;
_global.backdashing = false;
_global.sliding = false;
Instance of Symbol 143 MovieClip in Symbol 281 MovieClip Frame 287
onClipEvent (enterFrame) {
_global.doublejumponce = false;
_global.whipjumpcount = 0;
_global.whipjump = false;
_global.jv = 1;
_global.whipping = false;
_global.jbvk = 0;
_global.bv = 1;
if ((!Key.isDown(37)) and (!Key.isDown(39))) {
_global.djfv = 1;
}
_global.togglebackdash = "on";
_global.toggletaunt = "on";
_global.togglecrouch = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
_global.fall = 0;
_global.backdashing = false;
_global.sliding = false;
}
Symbol 281 MovieClip Frame 308
stop();
_global.jv = 1;
_global.djfv = 1;
_global.fall = 0;
_global.whipjumpdiag = false;
_global.sliding = false;
_global.togglewhip = "on";
_global.togglejump = "on";
_global.damagedisable = false;
_global.doublejumponce = false;
Instance of Symbol 169 MovieClip in Symbol 281 MovieClip Frame 322
onClipEvent (enterFrame) {
if (!Key.isDown(_global.rightfinal)) {
_global.turning = false;
}
}
Instance of Symbol 187 MovieClip in Symbol 281 MovieClip Frame 338
onClipEvent (load) {
_global.whipjumpcount = 0;
_global.whipjump = false;
_global.subweaponjump = false;
_global.subweaponjumpcount = 0;
if (jv <= 22) {
_global.getridofplatforms = true;
this.gotoAndPlay(jv);
}
if (_global.doublejumponce == true) {
jv = 16;
this.gotoAndPlay(16);
}
_global.togglejump = "on";
}
onClipEvent (enterFrame) {
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.downfinal))) {
_global.whipjump = true;
_parent.gotoAndStop("jumpwhipright");
}
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and Key.isDown(_global.downfinal)) {
_global.whipjump = true;
_global.whipjumpdiag = true;
_parent.gotoAndStop("jumpwhipdiagright");
}
if ((((Key.isDown(_global.attackfinal) and (_global.shoryuken == false)) and (_global.togglesubweapon == "on")) and Key.isDown(_global.upfinal)) and (_global.Aholdcount <= 8)) {
if (_global.mp >= 16) {
_global.subweaponjump = true;
_parent.gotoAndStop("subweapon_throw_air_right");
}
}
}
Instance of Symbol 194 MovieClip "shoryuken" in Symbol 281 MovieClip Frame 356
onClipEvent (load) {
_parent.Yvelocity = -25;
}
Symbol 281 MovieClip Frame 368
_global.togglejump = "off";
_global.togglewhip = "on";
_global.whipping = false;
Instance of Symbol 236 MovieClip in Symbol 281 MovieClip Frame 368
onClipEvent (load) {
this.gotoAndPlay(_global.bv);
_global.backdashing = true;
}
onClipEvent (enterFrame) {
_global.jbvk = 8;
_global.backdashingcount++;
}
Symbol 281 MovieClip Frame 380
_global.sliding = false;
_global.togglebackdash = "on";
_global.toggleslide = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglemovement = "on";
_global.togglejump = "on";
Instance of Symbol 240 MovieClip in Symbol 281 MovieClip Frame 391
onClipEvent (enterFrame) {
_global.mp = _global.mp + 0.05;
}
Instance of Symbol 195 MovieClip in Symbol 281 MovieClip Frame 404
onClipEvent (load) {
_global.whipjumpcount = 0;
this.gotoAndPlay(djfv);
}
onClipEvent (enterFrame) {
_global.djfv = _global.djfv + 1;
if (_global.djfv >= 2) {
this.gotoAndPlay(djfv);
}
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and (!Key.isDown(_global.downfinal))) {
_global.whipjump = true;
_global.doublejumponce = true;
_parent.gotoAndStop("jumpwhipright");
}
if ((Key.isDown(_global.attackfinal) and (!Key.isDown(_global.upfinal))) and Key.isDown(_global.downfinal)) {
_global.whipjump = true;
_global.whipjumpdiag = true;
_global.doublejumponce = true;
_parent.gotoAndStop("jumpwhipdiagright");
}
if ((((Key.isDown(_global.attackfinal) and (_global.shoryuken == false)) and (_global.togglesubweapon == "on")) and Key.isDown(_global.upfinal)) and (_global.Aholdcount <= 8)) {
if (_global.mp >= 16) {
_global.doublejumponce = false;
_global.subweaponjump = true;
_parent.gotoAndStop("subweapon_throw_air_right");
}
}
}
Symbol 281 MovieClip Frame 421
_global.togglewhip = "on";
_global.toggleslide = "on";
_global.whipping = false;
_global.damagedisable = false;
_global.turning = false;
Instance of Symbol 243 MovieClip in Symbol 281 MovieClip Frame 421
onClipEvent (load) {
_global.sliding = false;
_global.togglecrouchwhip = "on";
}
onClipEvent (enterFrame) {
_global.togglecrouchwhip = "on";
_global.subweapon = false;
}
Symbol 281 MovieClip Frame 432
_global.togglejump = "off";
_global.togglebackdash = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.togglestand = "off";
Symbol 281 MovieClip Frame 459
_global.togglejump = "off";
Instance of Symbol 262 MovieClip in Symbol 281 MovieClip Frame 459
onClipEvent (load) {
_global.sliding = true;
_global.slidingstart = true;
}
Symbol 281 MovieClip Frame 469
_global.whipping = true;
_global.togglejump = "off";
_global.toggleslide = "off";
_global.togglemovement = "off";
_global.togglecrouch = "off";
_global.toggletaunt = "off";
_global.turning = false;
Instance of Symbol 209 MovieClip "whipping" in Symbol 281 MovieClip Frame 469
onClipEvent (load) {
_global.Aholdcount = 0;
_global.togglestand == "off";
_global.togglemovement = "off";
if (_global.whipjump == true) {
_global.whipjumpcount = _global.wjv + 5;
_global.jbvk = 20;
this.gotoAndPlay(20);
}
}
onClipEvent (enterFrame) {
_global.togglecrouchwhip = "off";
}
Instance of Symbol 224 MovieClip "whipping" in Symbol 281 MovieClip Frame 481
onClipEvent (load) {
_global.togglemovement = "on";
}
onClipEvent (enterFrame) {
if (_global.whipjumpcount <= 14) {
_global.whipjump = true;
}
if (_global.whipjumpcount >= 15) {
_global.whipjump = false;
_global.nojumping = true;
_parent.gotoAndStop("Jumping_right");
}
if (_global.doublejumponce == false) {
if (Key.isDown(_global.jumpfinal) and (Zholdcount <= 0)) {
_global.doublejumponce = true;
_parent.gotoAndStop("Jumping_right");
}
}
}
Instance of Symbol 232 MovieClip "whipping" in Symbol 281 MovieClip Frame 495
onClipEvent (load) {
_global.togglemovement = "on";
}
onClipEvent (enterFrame) {
if (_global.whipjumpcount <= 14) {
_global.whipjump = true;
}
if (_global.whipjumpcount >= 15) {
_global.whipjump = false;
_global.nojumping = true;
_parent.gotoAndStop("Jumping_right");
}
if (_global.doublejumponce == false) {
if (Key.isDown(_global.jumpfinal) and (Zholdcount <= 0)) {
_global.doublejumponce = true;
_parent.gotoAndStop("Jumping_right");
}
}
}
Symbol 281 MovieClip Frame 516
_global.togglejump = "off";
Symbol 281 MovieClip Frame 535
_global.togglejump = "off";
Instance of Symbol 274 MovieClip in Symbol 281 MovieClip Frame 550
onClipEvent (load) {
timer = 0;
detect = true;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 2) and (timer <= 2.1)) {
if (_global.subweapon_choice == "holy_water") {
_root.holywaterright.duplicateMovieClip("hwr" + _global.derp, _global.derp);
_root["hwr" + _global.derp]._x = _parent._x + 20;
_root["hwr" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "zerospike") {
_root.zeroright.duplicateMovieClip("zr" + _global.derp, _global.derp);
_root["zr" + _global.derp]._x = _parent._x + 20;
_root["zr" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.yellowglyph.duplicateMovieClip("yellowglyph" + _global.derp, _global.derp);
_root.squarebg["yellowglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["yellowglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "knife") {
_root.kniferight.duplicateMovieClip("kr" + _global.derp, _global.derp);
_root["kr" + _global.derp]._x = _parent._x + 35;
_root["kr" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "stump") {
_root.stumpright.duplicateMovieClip("sr" + _global.derp, _global.derp);
_root["sr" + _global.derp]._x = _parent._x + 35;
_root["sr" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "horseghost") {
_root.horseright.duplicateMovieClip("hr" + _global.derp, _global.derp);
_root["hr" + _global.derp]._x = _parent._x + 35;
_root["hr" + _global.derp]._y = _parent._y - 65;
_root.horsedash.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 25;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "ripper") {
_root.ripperright.duplicateMovieClip("rr" + _global.derp, _global.derp);
_root["rr" + _global.derp]._x = _parent._x + 35;
_root["rr" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "cross") {
_root.crossright.duplicateMovieClip("cr" + _global.derp, _global.derp);
_root["cr" + _global.derp]._x = _parent._x + 35;
_root["cr" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 12;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "fireball") {
_root.fireball_right.duplicateMovieClip("fr" + _global.derp, _global.derp);
_root["fr" + _global.derp]._x = _parent._x + 35;
_root["fr" + _global.derp]._y = _parent._y - 65;
_root.fireball.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
}
}
Instance of Symbol 279 MovieClip in Symbol 281 MovieClip Frame 576
onClipEvent (load) {
_global.togglemovement = "on";
timer = 0;
detect = true;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 2) and (timer <= 2.1)) {
if (_global.subweapon_choice == "holy_water") {
_root.holywaterright.duplicateMovieClip("hwr" + _global.derp, _global.derp);
_root["hwr" + _global.derp]._x = _parent._x + 30;
_root["hwr" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "zerospike") {
_root.zeroright.duplicateMovieClip("zr" + _global.derp, _global.derp);
_root["zr" + _global.derp]._x = _parent._x + 30;
_root["zr" + _global.derp]._y = _parent._y - 50;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.yellowglyph.duplicateMovieClip("yellowglyph" + _global.derp, _global.derp);
_root.squarebg["yellowglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["yellowglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "knife") {
_root.kniferight.duplicateMovieClip("kr" + _global.derp, _global.derp);
_root["kr" + _global.derp]._x = _parent._x + 40;
_root["kr" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "stump") {
_root.stumpright.duplicateMovieClip("sr" + _global.derp, _global.derp);
_root["sr" + _global.derp]._x = _parent._x + 40;
_root["sr" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 10;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "horseghost") {
_root.horseright.duplicateMovieClip("hr" + _global.derp, _global.derp);
_root["hr" + _global.derp]._x = _parent._x + 40;
_root["hr" + _global.derp]._y = _parent._y - 65;
_root.horsedash.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 25;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "ripper") {
_root.ripperright.duplicateMovieClip("rr" + _global.derp, _global.derp);
_root["rr" + _global.derp]._x = _parent._x + 40;
_root["rr" + _global.derp]._y = _parent._y - 65;
_root.knife_throw.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 15;
_global.derp = _global.derp + 20;
_root.squarebg.purpleglyph.duplicateMovieClip("purpleglyph" + _global.derp, _global.derp);
_root.squarebg["purpleglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["purpleglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "cross") {
_root.crossright.duplicateMovieClip("cr" + _global.derp, _global.derp);
_root["cr" + _global.derp]._x = _parent._x + 40;
_root["cr" + _global.derp]._y = _parent._y - 65;
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 12;
_global.derp = _global.derp + 20;
_root.squarebg.blueglyph.duplicateMovieClip("blueglyph" + _global.derp, _global.derp);
_root.squarebg["blueglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["blueglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
if (_global.subweapon_choice == "fireball") {
_root.fireball_right.duplicateMovieClip("fr" + _global.derp, _global.derp);
_root["fr" + _global.derp]._x = _parent._x + 40;
_root["fr" + _global.derp]._y = _parent._y - 65;
_root.fireball.start();
if ((_global.dupecache == 0) and (detect == true)) {
_global.dupecache = _global.derp;
detect = false;
}
if (((_global.dupecache >= 1) and (_global.dupecache2 == 0)) and (detect == true)) {
_global.dupecache2 = _global.derp;
detect = false;
}
if (((_global.dupecache2 >= 1) and (_global.dupecache3 == 0)) and (detect == true)) {
_global.dupecache3 = _global.derp;
detect = false;
}
if (((_global.dupecache3 >= 1) and (_global.dupecache4 == 0)) and (detect == true)) {
_global.dupecache4 = _global.derp;
detect = false;
}
if (((_global.dupecache4 >= 1) and (_global.dupecache5 == 0)) and (detect == true)) {
_global.dupecache5 = _global.derp;
detect = false;
}
if (((_global.dupecache5 >= 1) and (_global.dupecache6 == 0)) and (detect == true)) {
_global.dupecache6 = _global.derp;
detect = false;
}
if (((_global.dupecache6 >= 1) and (_global.dupecache7 == 0)) and (detect == true)) {
_global.dupecache7 = _global.derp;
detect = false;
}
if (((_global.dupecache7 >= 1) and (_global.dupecache8 == 0)) and (detect == true)) {
_global.dupecache8 = _global.derp;
detect = false;
}
if (((_global.dupecache8 >= 1) and (_global.dupecache9 == 0)) and (detect == true)) {
_global.dupecache9 = _global.derp;
detect = false;
}
if (((_global.dupecache9 >= 1) and (_global.dupecache10 == 0)) and (detect == true)) {
_global.dupecache10 = _global.derp;
detect = false;
}
if ((_global.dupecache10 >= 1) and (detect == true)) {
_global.dupecache = _global.derp;
_global.dupecache2 = 0;
_global.dupecache3 = 0;
_global.dupecache4 = 0;
_global.dupecache5 = 0;
_global.dupecache6 = 0;
_global.dupecache7 = 0;
_global.dupecache8 = 0;
_global.dupecache9 = 0;
_global.dupecache10 = 0;
detect = false;
}
_global.mp = _global.mp - 5;
_global.derp = _global.derp + 20;
_root.squarebg.redglyph.duplicateMovieClip("redglyph" + _global.derp, _global.derp);
_root.squarebg["redglyph" + _global.derp]._x = _root.jonathan._x;
_root.squarebg["redglyph" + _global.derp]._y = _root.jonathan._y - 45;
_root.beam3.start();
_global.derp = _global.derp + 20;
}
}
if (_global.subweaponjumpcount <= 5) {
_global.subweaponjump = true;
}
if (_global.subweaponjumpcount >= 6) {
_global.subweaponjump = false;
_global.nojumping = true;
_parent.gotoAndStop("Jumping_right");
}
if (_global.doublejumponce == false) {
if (Key.isDown(_global.jumpfinal) and (Zholdcount <= 0)) {
_global.doublejumponce = true;
_parent.gotoAndStop("Jumping_right");
}
}
}
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 600
onClipEvent (enterFrame) {
_global.mp = _global.mp + 0.05;
}
Symbol 285 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 11
_global.backdashing = false;
_global.movementhinder = false;
gotoAndStop (1);
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 7
if (_root.jonathan.facing_direction == "left") {
if (!_root.bg.stairwayleft.hitTest(_x, _y + 20, true)) {
_global.slidingstart = false;
}
}
if (_root.jonathan.facing_direction == "right") {
if (!_root.bg.stairwayright.hitTest(_x, _y + 20, true)) {
_global.slidingstart = false;
}
}
Symbol 288 MovieClip Frame 18
_global.sliding = false;
_global.slidingstart = false;
_global.getridofplatforms = false;
gotoAndStop (1);
_global.movementhinder = false;
Symbol 291 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 18
_global.nojumping = false;
gotoAndStop (1);
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 24
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
Instance of Symbol 288 MovieClip "bdcoder" in Symbol 294 MovieClip Frame 24
onClipEvent (load) {
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
_parent.gotoAndStop(1);
}
Symbol 294 MovieClip Frame 25
gotoAndStop (1);
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 24
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
Instance of Symbol 288 MovieClip "bdcoder" in Symbol 297 MovieClip Frame 24
onClipEvent (load) {
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
_parent.gotoAndStop(1);
}
Symbol 297 MovieClip Frame 25
gotoAndStop (1);
Symbol 309 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.jumpstring;
};
Symbol 312 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.jumpkey;
};
Symbol 313 MovieClip Frame 2
stop();
Instance of Symbol 312 MovieClip in Symbol 313 MovieClip Frame 2
onClipEvent (load) {
_global.jumpkey = 90;
_global.detect = true;
k = 90;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener2 = {};
keyListener2.onKeyDown = function () {
var _local3 = Key.getCode();
_global.jumpkey = _local3;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener2);
}
Symbol 313 MovieClip Frame 3
stop();
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
_global.timer = 1;
};
Symbol 319 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.backdashstring;
};
Symbol 322 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.backdashkey;
};
Symbol 323 MovieClip Frame 2
stop();
Instance of Symbol 322 MovieClip in Symbol 323 MovieClip Frame 2
onClipEvent (load) {
_global.backdashkey = 83;
_global.detect = true;
k = 83;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener2 = {};
keyListener2.onKeyDown = function () {
var _local3 = Key.getCode();
_global.backdashkey = _local3;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener2);
}
Symbol 323 MovieClip Frame 3
stop();
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
_global.timer = 1;
};
Symbol 327 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.upstring;
};
Symbol 330 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.upkey;
};
Symbol 331 MovieClip Frame 2
stop();
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 2
onClipEvent (load) {
_global.upkey = 38;
_global.detect = true;
k = 38;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener2 = {};
keyListener2.onKeyDown = function () {
var _local3 = Key.getCode();
_global.upkey = _local3;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener2);
}
Symbol 331 MovieClip Frame 3
stop();
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
_global.timer = 1;
};
Symbol 335 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.downstring;
};
Symbol 338 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.downkey;
};
Symbol 339 MovieClip Frame 2
stop();
Instance of Symbol 338 MovieClip in Symbol 339 MovieClip Frame 2
onClipEvent (load) {
_global.downkey = 40;
_global.detect = true;
k = 40;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener2 = {};
keyListener2.onKeyDown = function () {
var _local3 = Key.getCode();
_global.downkey = _local3;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener2);
}
Symbol 339 MovieClip Frame 3
stop();
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
_global.timer = 1;
};
Symbol 343 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.leftstring;
};
Symbol 346 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.leftkey;
};
Symbol 347 MovieClip Frame 2
stop();
Instance of Symbol 346 MovieClip in Symbol 347 MovieClip Frame 2
onClipEvent (load) {
_global.leftkey = 37;
_global.detect = true;
k = 37;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener2 = {};
keyListener2.onKeyDown = function () {
var _local3 = Key.getCode();
_global.leftkey = _local3;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener2);
}
Symbol 347 MovieClip Frame 3
stop();
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
_global.timer = 1;
};
Symbol 351 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.rightstring;
};
Symbol 354 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.rightkey;
};
Symbol 355 MovieClip Frame 2
stop();
Instance of Symbol 354 MovieClip in Symbol 355 MovieClip Frame 2
onClipEvent (load) {
_global.rightkey = 39;
_global.detect = true;
k = 39;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener2 = {};
keyListener2.onKeyDown = function () {
var _local3 = Key.getCode();
_global.rightkey = _local3;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener2);
}
Symbol 355 MovieClip Frame 3
stop();
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
_global.timer = 1;
};
Symbol 359 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.subweaponstring;
};
Symbol 362 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.subweaponkey;
};
Symbol 363 MovieClip Frame 2
stop();
Instance of Symbol 362 MovieClip in Symbol 363 MovieClip Frame 2
onClipEvent (load) {
_global.subweaponkey = 88;
_global.detect = true;
k = 88;
}
onClipEvent (enterFrame) {
_global.detect = true;
var keyListener2 = {};
keyListener2.onKeyDown = function () {
var _local3 = Key.getCode();
_global.subweaponkey = _local3;
_parent.gotoAndStop(3);
};
Key.addListener(keyListener2);
}
Symbol 363 MovieClip Frame 3
stop();
this.onLoad = function () {
_global.detect = true;
_global.timer++;
};
this.onEnterFrame = function () {
_global.timer = 1;
};
Symbol 379 MovieClip Frame 1
this.onEnterFrame = function () {
key.text = _global.subweaponfinal;
};
Instance of Symbol 384 MovieClip in Symbol 390 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 390 MovieClip Frame 7
stop();
Symbol 398 MovieClip Frame 1
this.onEnterFrame = function () {
itemval.text = _global.itemvalue;
};
Symbol 416 MovieClip Frame 13
stop();
Symbol 426 MovieClip Frame 10
stop();
Symbol 427 MovieClip Frame 1
stop();
Instance of Symbol 403 MovieClip in Symbol 427 MovieClip Frame 1
onClipEvent (load) {
gravity = 2;
speed = 3;
maxspeed = 4;
hitground = false;
}
onClipEvent (enterFrame) {
if (!_root.bg.hitTest(_parent._x + 5, _parent._y - 8, true)) {
_parent._x = _parent._x + speed;
}
_parent._y = _parent._y + gravity;
if (speed <= maxspeed) {
speed = speed + 0.5;
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (hitground == false) {
_parent.gotoAndPlay(2);
hitground = true;
}
_parent._y = _parent._y - 1;
gravity = 2;
}
}
}
Symbol 427 MovieClip Frame 2
if (_parent.hitTest(_root.cam)) {
_root.glassbreak.start();
}
Symbol 427 MovieClip Frame 14
stop();
Instance of Symbol 403 MovieClip in Symbol 427 MovieClip Frame 14
onClipEvent (load) {
if (_root.bg.hitTest(_parent._x, _parent._y + 2)) {
_parent.unloadMovie();
}
}
Symbol 428 MovieClip Frame 1
stop();
Instance of Symbol 403 MovieClip in Symbol 428 MovieClip Frame 1
onClipEvent (load) {
gravity = 2;
speed = 3;
maxspeed = 4;
hitground = false;
}
onClipEvent (enterFrame) {
if (!_root.bg.hitTest(_parent._x - 5, _parent._y - 8, true)) {
_parent._x = _parent._x - speed;
}
_parent._y = _parent._y + gravity;
if (speed <= maxspeed) {
speed = speed + 0.5;
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (hitground == false) {
_parent.gotoAndPlay(2);
hitground = true;
}
_parent._y = _parent._y - 1;
gravity = 2;
}
}
}
Symbol 428 MovieClip Frame 2
if (_parent.hitTest(_root.cam)) {
_root.glassbreak.start();
}
Symbol 428 MovieClip Frame 14
stop();
Instance of Symbol 403 MovieClip in Symbol 428 MovieClip Frame 14
onClipEvent (load) {
if (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
_parent.unloadMovie();
}
}
Symbol 432 MovieClip Frame 1
stop();
Instance of Symbol 431 MovieClip in Symbol 432 MovieClip Frame 1
onClipEvent (load) {
speed = 20;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + speed;
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.knife_hit.start();
}
_parent.gotoAndStop(2);
}
}
Instance of Symbol 431 MovieClip in Symbol 432 MovieClip Frame 2
onClipEvent (enterFrame) {
this._x = this._x - 3;
this._y = this._y - 2;
this._rotation = this._rotation + 45;
this._alpha = this._alpha - 7;
if (this._alpha <= 0) {
_parent.unloadMovie();
}
}
Symbol 434 MovieClip Frame 1
stop();
Instance of Symbol 431 MovieClip in Symbol 434 MovieClip Frame 1
onClipEvent (load) {
speed = -20;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + speed;
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.knife_hit.start();
}
_parent.gotoAndStop(2);
}
}
Instance of Symbol 431 MovieClip in Symbol 434 MovieClip Frame 2
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y - 2;
this._rotation = this._rotation - 45;
this._alpha = this._alpha - 7;
if (this._alpha <= 0) {
_parent.unloadMovie();
}
}
Symbol 443 MovieClip Frame 1
this.onEnterFrame = function () {
timertext.text = _global.countdowntimer;
};
Instance of Symbol 453 MovieClip in Symbol 454 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
facing_direction = "right";
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + gravity;
if (_parent.hitTest(_root.jonathan.hitbox)) {
_global.unlockfireball = true;
_root.powerup.start();
_parent.unloadMovie();
}
if (facing_direction == "left") {
speed = -2;
this.gotoAndStop("walking_left");
}
if (facing_direction == "right") {
speed = 2;
this.gotoAndStop("walking_right");
}
if (_root.bg.hitTest(_parent._x - 28, _parent._y - 25, true) and (facing_direction == "left")) {
movement_timer = movement_timer_value + 1;
_parent._x + 10;
facing_direction = "right";
}
if (_root.bg.hitTest(_parent._x + 28, _parent._y - 25, true) and (facing_direction == "right")) {
movement_timer = movement_timer_value + 1;
_parent._x - 10;
facing_direction = "left";
}
if (!_root.bg.hitTest(_parent._x, _parent._y, true)) {
gravity = 3;
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
gravity = 0;
_parent._y = _parent._y - 1;
}
}
}
Symbol 469 MovieClip Frame 1
stop();
Instance of Symbol 462 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.jonathan._x, _root.jonathan._y - 95, true)) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache2])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache3])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache4])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache5])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache6])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache7])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache8])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache9])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hl" + _global.dupecache10])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache2])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache3])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache4])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache5])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache6])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache7])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache8])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache9])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["hr" + _global.dupecache10])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache2])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache3])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache4])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache5])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache6])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache7])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache8])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache9])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cl" + _global.dupecache10])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache2])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache3])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache4])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache5])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache6])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache7])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache8])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache9])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
if (_parent.hitTest(_root["cr" + _global.dupecache10])) {
_root.break_block.start();
_parent.gotoAndPlay(2);
}
}
Instance of Symbol 468 MovieClip in Symbol 469 MovieClip Frame 5
onClipEvent (load) {
_parent.unloadMovie();
}
Instance of Symbol 456 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 460 MovieClip in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
timer2 = 0;
activate = false;
activate2 = false;
}
onClipEvent (enterFrame) {
timer2++;
if (timer <= 15) {
timer++;
}
if ((timer >= 99999999999) and (activate == false)) {
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 750;
_parent["brick" + _global.derp]._y = -1200;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 790;
_parent["brick" + _global.derp]._y = -1200;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 830;
_parent["brick" + _global.derp]._y = -1200;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 870;
_parent["brick" + _global.derp]._y = -1200;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 910;
_parent["brick" + _global.derp]._y = -1200;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 950;
_parent["brick" + _global.derp]._y = -1200;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 990;
_parent["brick" + _global.derp]._y = -1200;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 990;
_parent["brick" + _global.derp]._y = -1160;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 950;
_parent["brick" + _global.derp]._y = -1160;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 870;
_parent["brick" + _global.derp]._y = -1160;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 830;
_parent["brick" + _global.derp]._y = -1160;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 790;
_parent["brick" + _global.derp]._y = -1160;
_global.derp = _global.derp + 20;
_parent.brick.duplicateMovieClip("brick" + _global.derp, _global.derp);
_parent["brick" + _global.derp]._x = 750;
_parent["brick" + _global.derp]._y = -1160;
_global.derp = _global.derp + 20;
activate = true;
}
}
Instance of Symbol 471 MovieClip "stairwayright" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 473 MovieClip "stairwayleft" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 481 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
speed = 15;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + speed;
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
}
}
}
Instance of Symbol 481 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
speed = -15;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + speed;
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
}
}
}
Instance of Symbol 443 MovieClip in Symbol 485 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
_global.countdowntimer = 9999;
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 35) {
if ((_global.countdowntimer >= 1) and (_global.levelend == false)) {
_global.countdowntimer = _global.countdowntimer - 1;
}
if (_global.countdowntimer <= 0) {
stopAllSounds();
_global.dead = true;
_root.jonathanhurtsound.start();
_root.gotoAndPlay(19);
}
timer = 0;
}
}
Symbol 507 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 1
healthtext.text = _global.health;
Symbol 518 MovieClip Frame 1
this.onEnterFrame = function () {
quest1text.text = _global.quest1name;
};
Symbol 521 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest1requirement;
};
Symbol 523 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest1acquired;
};
Symbol 525 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest1required;
};
Symbol 528 MovieClip Frame 1
this.onEnterFrame = function () {
quest2text.text = _global.quest2name;
};
Symbol 531 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest2requirement;
};
Symbol 533 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest2acquired;
};
Symbol 535 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest2required;
};
Symbol 538 MovieClip Frame 1
this.onEnterFrame = function () {
quest3text.text = _global.quest3name;
};
Symbol 541 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest3requirement;
};
Symbol 543 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest3acquired;
};
Symbol 545 MovieClip Frame 1
this.onEnterFrame = function () {
itemtext.text = _global.quest3required;
};
Symbol 557 MovieClip Frame 1
exptext.text = _global.experience_level;
Symbol 559 MovieClip Frame 1
exptext.text = _global.experience_level;
Instance of Symbol 507 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
_global.subweapon_choice = "knife";
}
onClipEvent (enterFrame) {
if (_global.subweapon_choice == "knife") {
this.gotoAndStop(1);
}
if (_global.subweapon_choice == "holy_water") {
this.gotoAndStop(2);
}
if (_global.subweapon_choice == "cross") {
this.gotoAndStop(3);
}
if (_global.subweapon_choice == "discus") {
this.gotoAndStop(4);
}
if (_global.subweapon_choice == "fireball") {
this.gotoAndStop(5);
}
if (_global.subweapon_choice == "horseghost") {
this.gotoAndStop(6);
}
if (_global.subweapon_choice == "zerospike") {
this.gotoAndStop(7);
}
if (_global.subweapon_choice == "ripper") {
this.gotoAndStop(8);
}
if (_global.subweapon_choice == "stump") {
this.gotoAndStop(9);
}
}
Instance of Symbol 511 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
timer1 = 0;
}
onClipEvent (enterFrame) {
timer1++;
if (timer1 >= 35) {
_alpha = (_alpha - 1);
}
if (_alpha <= 0) {
this.unloadMovie();
}
}
Instance of Symbol 513 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
this._width = _global.health * 0.65;
}
onClipEvent (enterFrame) {
this._width = _global.health * 0.65;
}
Instance of Symbol 550 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
_global.maxmp = 65;
_global.mp = _global.maxmp;
multiplyvariable = 65 / _global.maxmp;
}
onClipEvent (enterFrame) {
multiplyvariable = 65 / _global.maxmp;
if (_global.mp >= 0) {
this._width = _global.mp * multiplyvariable;
}
if (_global.mp >= _global.maxmp) {
_global.mp = _global.maxmp;
}
if (_global.mp <= 0) {
_global.mp = 0;
}
if (this._width <= (maxmp - 1)) {
_global.mp = _global.mp + 1;
}
}
Instance of Symbol 552 MovieClip in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
_global.experience = 1;
_global.experience_level = 0;
}
onClipEvent (enterFrame) {
if (this._width <= 65) {
if (_global.experience_level >= 1) {
this._width = _global.experience / (3 + (_global.experience_level / 2));
}
if (_global.expereince_level <= 0) {
this._width = _global.experience / 3;
}
}
if (this._width >= 65) {
this._width = 65;
_global.maxmp = _global.maxmp + 25;
_global.health = 99;
_global.mp = _global.maxmp;
_global.attack = (_global.attack + _global.experience_level) + 2;
_global.holywaterdamage = _global.holywaterdamage + 1;
_global.knifedamage = _global.knifedamage + 5;
_global.crossdamage = _global.crossdamage + 2;
_global.horseghostdamage = _global.horseghostdamage + 5;
_global.zerospikedamage = _global.zerospikedamage + 3;
_global.zerospikeexplosiondamage = _global.zerospikeexplosiondamage + 5;
_global.ripperdamage = _global.ripperdamage + 3;
_global.ripperexplosiondamage = _global.ripperexplosiondamage + 5;
_global.stumpdamage = _global.stumpdamage + 4;
_global.experience_level = _global.experience_level + 1;
_root.levelupsound.start();
_parent.levelup._visible = true;
_global.experience = 0;
}
}
Instance of Symbol 563 MovieClip "levelup" in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
timer = 0;
}
onClipEvent (enterFrame) {
if (this._visible == true) {
timer++;
if (timer >= 20) {
this._visible = false;
}
}
if (this._visible == false) {
timer = 0;
}
}
Symbol 566 MovieClip Frame 1
function camControl() {
rp.x = _x;
rp.y = _y;
var _local5 = camH * (_yscale * 0.01);
var _local6 = camW * (_xscale * 0.01);
var _local3 = sH / _local5;
var _local4 = sW / _local6;
_x2 = (_local6 / 2) * _local4;
_y2 = (_local5 / 2) * _local3;
_xscale2 = _local4 * 100;
_yscale2 = _local3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x + (value - _local2.x);
}
function get_x2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.x);
}
function set_y2(value) {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._y = _parent._y + (value - _local2.y);
}
function get_y2() {
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
return(_local2.y);
}
function get_xscale2() {
return(_parent._xscale);
}
function set_xscale2(value) {
setProperty2("_xscale", value);
}
function get_yscale2() {
return(_parent._yscale);
}
function set_yscale2(value) {
setProperty2("_yscale", value);
}
function get_rotation2() {
return(parent.rotation);
}
function set_rotation2(value) {
setProperty2("_rotation", value);
}
function setProperty2(prop, n) {
var _local3 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local3);
_parent[prop] = n;
var _local2 = {x:rp.x, y:rp.y};
_parent.localToGlobal(_local2);
_parent._x = _parent._x - (_local2.x - _local3.x);
_parent._y = _parent._y - (_local2.y - _local3.y);
}
_visible = false;
addProperty("_x2", get_x2, set_x2);
addProperty("_y2", get_y2, set_y2);
addProperty("_xscale2", get_xscale2, set_xscale2);
addProperty("_yscale2", get_yscale2, set_yscale2);
addProperty("_rotation2", get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = "exactFit";
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {x:this._x, y:this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
Instance of Symbol 384 MovieClip in Symbol 570 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 35) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 384 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 47) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 577 MovieClip Frame 9
stop();
Instance of Symbol 582 MovieClip "fishhead_bullet_left" in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root["kl" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (!_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._x = _parent._x + 5;
}
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if (_root.jonathan.whipping.whip.hitTest(this)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if ((_global.backdashingcount <= 0) and (_global.jbvk <= 7)) {
if (((this.hitTest(_root.jonathan) and (_global.recoverystart == false)) and (_global.maincharhurt == false)) and (!this.hitTest(_root.jonathan.whipping.whip))) {
_global.health = _global.health - 5;
_global.maincharhurt = true;
}
}
}
Instance of Symbol 588 MovieClip "fishhead_bullet_left" in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root["kl" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (!_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._x = _parent._x - 5;
}
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if (_root.jonathan.whipping.whip.hitTest(this)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if ((_global.backdashingcount <= 0) and (_global.jbvk <= 7)) {
if (((this.hitTest(_root.jonathan) and (_global.recoverystart == false)) and (_global.maincharhurt == false)) and (!this.hitTest(_root.jonathan.whipping.whip))) {
_global.health = _global.health - 5;
_global.maincharhurt = true;
}
}
}
Symbol 594 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 24
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
Instance of Symbol 288 MovieClip "bdcoder" in Symbol 594 MovieClip Frame 24
onClipEvent (load) {
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
_parent.gotoAndStop(1);
}
Symbol 594 MovieClip Frame 25
gotoAndStop (1);
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 24
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
Instance of Symbol 288 MovieClip "bdcoder" in Symbol 597 MovieClip Frame 24
onClipEvent (load) {
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
_parent.gotoAndStop(1);
}
Symbol 597 MovieClip Frame 25
gotoAndStop (1);
Symbol 600 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 24
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
Instance of Symbol 288 MovieClip "bdcoder" in Symbol 600 MovieClip Frame 24
onClipEvent (load) {
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
_parent.gotoAndStop(1);
}
Symbol 600 MovieClip Frame 25
gotoAndStop (1);
Instance of Symbol 602 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 8;
}
Instance of Symbol 490 MovieClip in Symbol 603 MovieClip Frame 1
onClipEvent (load) {
speed = 10;
xtimer = 0;
xmax = 10;
}
onClipEvent (enterFrame) {
if (xtimer <= (xmax - 1)) {
speed = 10;
}
xtimer++;
if (xtimer >= xmax) {
if ((speed >= 0) and (speed <= 10)) {
speed = speed - 0.5;
}
if ((speed <= 1) and (speed >= -10)) {
speed = speed - 0.5;
}
}
this._rotation = this._rotation + 20;
_parent._x = _parent._x + speed;
}
Symbol 603 MovieClip Frame 3
stop();
Instance of Symbol 490 MovieClip in Symbol 603 MovieClip Frame 3
onClipEvent (load) {
speed = 10;
soundtimer = 0;
xtimer = 0;
xmax = 10;
}
onClipEvent (enterFrame) {
soundtimer++;
if ((soundtimer >= 7) and this.hitTest(_root.cam)) {
_root.cross.start();
soundtimer = 0;
}
if (xtimer <= (xmax - 1)) {
speed = 10;
}
xtimer++;
if (xtimer >= xmax) {
if ((speed >= 0) and (speed <= 10)) {
speed = speed - 0.5;
}
if ((speed <= 1) and (speed >= -10)) {
speed = speed - 0.5;
}
}
this._rotation = this._rotation + 54;
_parent._x = _parent._x + speed;
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.knife_hit2.start();
}
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.jonathan.hitbox)) {
if (xtimer >= xmax) {
_global.mp = _global.mp + 1;
_parent.unloadMovie();
}
}
}
Instance of Symbol 490 MovieClip in Symbol 603 MovieClip Frame 5
onClipEvent (enterFrame) {
this._x = this._x - 3;
this._y = this._y - 2;
this._rotation = this._rotation + 45;
this._alpha = this._alpha - 12;
if (this._alpha <= 0) {
_parent.unloadMovie();
}
}
Instance of Symbol 602 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 8;
}
Instance of Symbol 490 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (load) {
speed = -10;
xtimer = 0;
xmax = 15;
}
onClipEvent (enterFrame) {
if (xtimer <= (xmax - 1)) {
speed = -10;
}
xtimer++;
if (xtimer >= xmax) {
if ((speed <= 0) and (speed >= -10)) {
speed = speed + 0.5;
}
if ((speed >= -1) and (speed <= 10)) {
speed = speed + 0.5;
}
}
this._rotation = this._rotation - 45;
_parent._x = _parent._x + speed;
}
Symbol 604 MovieClip Frame 3
stop();
Instance of Symbol 602 MovieClip in Symbol 604 MovieClip Frame 3
onClipEvent (enterFrame) {
this._rotation = this._rotation - 20;
}
Instance of Symbol 490 MovieClip in Symbol 604 MovieClip Frame 3
onClipEvent (load) {
speed = -10;
xtimer = 0;
soundtimer = 0;
xmax = 8;
}
onClipEvent (enterFrame) {
soundtimer++;
if ((soundtimer >= 7) and this.hitTest(_root.cam)) {
_root.cross.start();
soundtimer = 0;
}
if (xtimer <= (xmax - 1)) {
speed = -10;
}
xtimer++;
if (xtimer >= xmax) {
if ((speed <= 0) and (speed >= -10)) {
speed = speed + 0.5;
}
if ((speed >= -1) and (speed <= 10)) {
speed = speed + 0.5;
}
}
this._rotation = this._rotation - 45;
_parent._x = _parent._x + speed;
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.knife_hit2.start();
}
_parent.gotoAndStop(5);
}
if (this.hitTest(_root.jonathan.hitbox)) {
if (xtimer >= xmax) {
_global.mp = _global.mp + 1;
_parent.unloadMovie();
}
}
}
Instance of Symbol 490 MovieClip in Symbol 604 MovieClip Frame 5
onClipEvent (enterFrame) {
this._x = this._x + 3;
this._y = this._y - 2;
this._rotation = this._rotation - 45;
this._alpha = this._alpha - 12;
if (this._alpha <= 0) {
_parent.unloadMovie();
}
}
Instance of Symbol 617 MovieClip "gx" in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
jonathansound = Math.random(1);
hit = false;
death = false;
appearancetimer = 0;
xposneg = 1;
xposnegrandom = 1;
xposnegrandomvariable = 0;
yposneg = 1;
xmovement = Math.random(6) * 10;
xposition = 0;
power = 1;
xspeed = 0;
yspeed = 0;
health = 100;
hitcount = 0;
}
onClipEvent (enterFrame) {
if (health <= 0) {
death = true;
}
appearancetimer++;
if ((hitcount == 0) and (death == false)) {
_alpha = 100;
}
if (appearancetimer >= 35) {
if (_parent.hitTest(_root.jonathan) and (!_parent.hitTest(_root.jonathan.whipping.whip))) {
_global.healthup = 15;
_root.healthbox.duplicateMovieClip("healthboxdupe" + _global.derp, _global.derp);
_root["healthboxdupe" + _global.derp]._x = _root.jonathan._x;
_root["healthboxdupe" + _global.derp]._y = _root.jonathan._y - 70;
_global.derp = _global.derp + 20;
_global.itemget = true;
_global.itemrestart = true;
_global.itemvalue = "Green X Parasite";
_global.greenvalue = 150;
if (jonathansound <= 0.5) {
_root.herewego.start();
}
if (jonathansound >= 0.5000001) {
_root.icantakeit.start();
}
_root.xabsorb.start();
_global.mp = _global.mp + 15;
_parent.unloadMovie();
}
}
if (death == false) {
xspeed = xspeed * 0.9;
yspeed = yspeed * 0.9;
if ((_parent._x <= (_root.jonathan._x + 450)) and (_parent._x >= (_root.jonathan._x - 450))) {
_parent._x = _parent._x + xspeed;
}
if ((_parent._y >= (_root.jonathan._y - 400)) and (_parent._y <= (_root.jonathan._y + 50))) {
_parent._y = _parent._y + yspeed;
}
if (_parent._y >= ((_root.jonathan._y + 50) - 5)) {
timer = 60;
_parent._y = _parent._y - 12;
yspeed = 0;
}
if (_parent._x >= ((_root.jonathan._x + 375) - 5)) {
timer = 60;
_parent._x = _parent._x - 12;
xspeed = 0;
}
if (_parent._x <= ((_root.jonathan._x - 375) + 5)) {
timer = 60;
_parent._x = _parent._x + 12;
xspeed = 0;
}
if (_parent._y <= ((_root.jonathan._y - 350) + 5)) {
timer = 60;
_parent._y = _parent._y + 12;
yspeed = 0;
}
if (timer <= 100) {
timer++;
}
if (timer >= 60) {
xrandom = Math.round(Math.random(2));
if (xrandom == 0) {
xrandom = -1;
}
xposneg = (xposneg = xposneg * xrandom);
xmovement = (Math.random(6) * 100) * xposneg;
yposneg = (yposneg = yposneg * -1);
ymovement = (Math.random(6) * 100) * yposneg;
timer = 0;
xposition = 0;
}
if (timer <= 59) {
if ((_parent._x >= ((_root.jonathan._x + 375) - 5)) and (xmovement >= 1)) {
xmovement = xmovement * 1;
xspeed = -6;
}
if ((_parent._x <= ((_root.jonathan._x - 375) + 5)) and (xmovement <= -1)) {
xmovement = xmovement * 1;
xspeed = 18;
}
if ((_parent._y <= ((_root.jonathan._y - 350) + 5)) and (ymovement <= -1)) {
xmovement = xmovement * 1;
xspeed = 6;
}
if ((_parent._y >= ((_root.jonathan._y + 50) - 5)) and (ymovement >= 1)) {
xmovement = xmovement * 1;
xspeed = 6;
}
if ((xposition <= xmovement) and (xmovement >= 1)) {
xposition = xposition + 0.25;
if (xspeed <= 12) {
xspeed = xspeed + power;
}
} else if ((xposition >= xmovement) and (xmovement <= -1)) {
xposition = xposition - 0.25;
if (xspeed >= -12) {
xspeed = xspeed - power;
}
}
if ((yposition <= ymovement) and (ymovement >= 1)) {
yposition = yposition + 0.25;
if (yspeed <= 12) {
yspeed = yspeed + power;
}
} else if ((yposition >= ymovement) and (ymovement <= -1)) {
yposition = yposition - 0.25;
if (yspeed >= -12) {
yspeed = yspeed - power;
}
}
}
}
}
Instance of Symbol 631 MovieClip in Symbol 632 MovieClip Frame 1
onClipEvent (load) {
hit = false;
death = false;
appearancetimer = 0;
xposneg = 1;
xposnegrandom = 1;
xposnegrandomvariable = 0;
yposneg = 1;
xmovement = Math.random(6) * 10;
xposition = 0;
power = 1;
xspeed = 0;
yspeed = 0;
health = 100;
hitcount = 0;
}
onClipEvent (enterFrame) {
if (health <= 0) {
death = true;
}
appearancetimer++;
if ((hitcount == 0) and (death == false)) {
_alpha = 100;
}
if (appearancetimer >= 35) {
if (_parent.hitTest(_root.jonathan) and (!_parent.hitTest(_root.jonathan.whipping.whip))) {
_global.healthup = 5;
_root.healthbox.duplicateMovieClip("healthboxdupe" + _global.derp, _global.derp);
_root["healthboxdupe" + _global.derp]._x = _root.jonathan._x;
_root["healthboxdupe" + _global.derp]._y = _root.jonathan._y - 70;
_global.derp = _global.derp + 20;
_global.itemget = true;
_global.itemrestart = true;
_global.itemvalue = "Yellow X Parasite";
_root.xabsorb.start();
_global.health = _global.health + 5;
_parent.unloadMovie();
}
}
if (death == false) {
xspeed = xspeed * 0.9;
yspeed = yspeed * 0.9;
if ((_parent._x <= (_root.jonathan._x + 450)) and (_parent._x >= (_root.jonathan._x - 450))) {
_parent._x = _parent._x + xspeed;
}
if ((_parent._y >= (_root.jonathan._y - 400)) and (_parent._y <= (_root.jonathan._y + 50))) {
_parent._y = _parent._y + yspeed;
}
if (_parent._y >= ((_root.jonathan._y + 50) - 5)) {
timer = 60;
_parent._y = _parent._y - 12;
yspeed = 0;
}
if (_parent._x >= ((_root.jonathan._x + 375) - 5)) {
timer = 60;
_parent._x = _parent._x - 12;
xspeed = 0;
}
if (_parent._x <= ((_root.jonathan._x - 375) + 5)) {
timer = 60;
_parent._x = _parent._x + 12;
xspeed = 0;
}
if (_parent._y <= ((_root.jonathan._y - 350) + 5)) {
timer = 60;
_parent._y = _parent._y + 12;
yspeed = 0;
}
if (timer <= 100) {
timer++;
}
if (timer >= 60) {
xrandom = Math.round(Math.random(2));
if (xrandom == 0) {
xrandom = -1;
}
xposneg = (xposneg = xposneg * xrandom);
xmovement = (Math.random(6) * 100) * xposneg;
yposneg = (yposneg = yposneg * -1);
ymovement = (Math.random(6) * 100) * yposneg;
timer = 0;
xposition = 0;
}
if (timer <= 59) {
if ((_parent._x >= ((_root.jonathan._x + 375) - 5)) and (xmovement >= 1)) {
xmovement = xmovement * 1;
xspeed = -6;
}
if ((_parent._x <= ((_root.jonathan._x - 375) + 5)) and (xmovement <= -1)) {
xmovement = xmovement * 1;
xspeed = 18;
}
if ((_parent._y <= ((_root.jonathan._y - 350) + 5)) and (ymovement <= -1)) {
xmovement = xmovement * 1;
xspeed = 6;
}
if ((_parent._y >= ((_root.jonathan._y + 50) - 5)) and (ymovement >= 1)) {
xmovement = xmovement * 1;
xspeed = 6;
}
if ((xposition <= xmovement) and (xmovement >= 1)) {
xposition = xposition + 0.25;
if (xspeed <= 12) {
xspeed = xspeed + power;
}
} else if ((xposition >= xmovement) and (xmovement <= -1)) {
xposition = xposition - 0.25;
if (xspeed >= -12) {
xspeed = xspeed - power;
}
}
if ((yposition <= ymovement) and (ymovement >= 1)) {
yposition = yposition + 0.25;
if (yspeed <= 12) {
yspeed = yspeed + power;
}
} else if ((yposition >= ymovement) and (ymovement <= -1)) {
yposition = yposition - 0.25;
if (yspeed >= -12) {
yspeed = yspeed - power;
}
}
}
}
}
Symbol 636 MovieClip Frame 7
stop();
Instance of Symbol 641 MovieClip "bonepillar_fireball_left" in Symbol 642 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root["kl" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (!_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._x = _parent._x - 9;
}
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if (_root.jonathan.whipping.whip.hitTest(this)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if ((_global.backdashingcount <= 0) and (_global.jbvk <= 7)) {
if (((this.hitTest(_root.jonathan) and (_global.recoverystart == false)) and (_global.maincharhurt == false)) and (!this.hitTest(_root.jonathan.whipping.whip))) {
_global.health = _global.health - 5;
_global.maincharhurt = true;
}
}
}
Instance of Symbol 641 MovieClip "bonepillar_fireball_left" in Symbol 643 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root["kl" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cl" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache2])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache3])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache4])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache5])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache6])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache7])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache8])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache9])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (this.hitTest(_root["cr" + _global.dupecache10])) {
_root.fish_shoot.start();
_parent.unloadMovie();
}
if (!_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._x = _parent._x + 9;
}
if (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if (_root.jonathan.whipping.whip.hitTest(this)) {
if (this.hitTest(_root.cam)) {
_root.fish_shoot.start();
}
_parent.unloadMovie();
}
if ((_global.backdashingcount <= 0) and (_global.jbvk <= 7)) {
if (((this.hitTest(_root.jonathan) and (_global.recoverystart == false)) and (_global.maincharhurt == false)) and (!this.hitTest(_root.jonathan.whipping.whip))) {
_global.health = _global.health - 5;
_global.maincharhurt = true;
}
}
}
Symbol 646 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 24
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
Instance of Symbol 288 MovieClip "bdcoder" in Symbol 646 MovieClip Frame 24
onClipEvent (load) {
_global.togglewhip = "off";
_global.whipping = false;
_global.jbvk = 0;
_parent.gotoAndStop(1);
}
Symbol 646 MovieClip Frame 25
gotoAndStop (1);
Symbol 648 MovieClip Frame 1
stop();
_global.shoryuken = false;
Instance of Symbol 468 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_global.downfinal)) {
_global.togglesubweapon = "off";
_parent.gotoAndPlay(2);
}
if (!Key.isDown(_global.downfinal)) {
_global.togglesubweapon = "on";
}
}
Symbol 648 MovieClip Frame 2
Symbol 648 MovieClip Frame 3
stop();
Instance of Symbol 468 MovieClip in Symbol 648 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((Key.isDown(_global.upfinal) and Key.isDown(_global.attackfinal)) and (!Key.isDown(_global.downfinal))) {
_global.togglesubweapon = "off";
_parent.gotoAndPlay(4);
} else {
if (!Key.isDown(_global.upfinal)) {
_global.togglesubweapon = "on";
_parent.gotoAndStop(1);
}
if (!Key.isDown(_global.attackfinal)) {
_global.togglesubweapon = "on";
_parent.gotoAndStop(1);
}
}
}
Symbol 648 MovieClip Frame 4
_root.shoryu_sound.start();
_root.epicslide.start();
_global.shoryuken = true;
_global.togglesubweapon = "off";
Symbol 648 MovieClip Frame 24
_global.shoryuken = false;
_global.togglestand = "on";
_global.togglecrouch = "on";
_global.togglewhip = "on";
_global.togglejump = "on";
_global.togglebackdash = "on";
_global.toggleslide = "on";
_global.toggletaunt = "on";
_global.togglecrouchwhip = "on";
_global.togglesubweapon = "on";
Symbol 656 MovieClip Frame 1
stop();
Instance of Symbol 655 MovieClip in Symbol 656 MovieClip Frame 1
onClipEvent (load) {
gravity = 2;
speed = 12;
maxspeed = 12;
hitground = false;
}
onClipEvent (enterFrame) {
if (!_root.bg.hitTest(_parent._x + 5, _parent._y - 8, true)) {
_parent._x = _parent._x + speed;
}
_parent._y = _parent._y + gravity;
if (speed <= maxspeed) {
speed = speed + 0.5;
}
if (_root.bg.hitTest(_parent._x + 10, _parent._y - 10, true)) {
_root.bump_sound.start();
_parent.unloadMovie();
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 2;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
gravity = -12;
if (hitground == false) {
hitground = true;
}
_parent._y = _parent._y - 1;
}
}
}
Symbol 656 MovieClip Frame 4
stop();
Instance of Symbol 655 MovieClip in Symbol 656 MovieClip Frame 4
onClipEvent (load) {
_parent.unloadMovie();
}
Symbol 657 MovieClip Frame 1
stop();
Instance of Symbol 655 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (load) {
gravity = 2;
speed = 12;
maxspeed = 12;
hitground = false;
}
onClipEvent (enterFrame) {
if (!_root.bg.hitTest(_parent._x + 5, _parent._y - 8, true)) {
_parent._x = _parent._x - speed;
}
if (_root.bg.hitTest(_parent._x - 10, _parent._y - 10, true)) {
_root.bump_sound.start();
_parent.unloadMovie();
}
_parent._y = _parent._y + gravity;
if (speed <= maxspeed) {
speed = speed + 0.5;
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 2;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
gravity = -12;
if (hitground == false) {
hitground = true;
}
_parent._y = _parent._y - 1;
}
}
}
Symbol 657 MovieClip Frame 4
stop();
Instance of Symbol 655 MovieClip in Symbol 657 MovieClip Frame 4
onClipEvent (load) {
_parent.unloadMovie();
}
Symbol 667 MovieClip Frame 22
stop();
this.onEnterFrame = function () {
_parent._parent.unloadMovie();
};
Symbol 668 MovieClip Frame 1
stop();
Instance of Symbol 663 MovieClip in Symbol 668 MovieClip Frame 28
onClipEvent (load) {
hurtvar = Math.random(1);
if (hurtvar <= 0.5) {
_root.stumphit.start();
}
if (hurtvar >= 0.501) {
_root.treebend.start();
}
if (_global.facing_direction == "right") {
_root.blood1left.duplicateMovieClip("blood1left" + _global.derp, _global.derp);
_root["blood1left" + _global.derp]._x = _parent._parent._x;
_root["blood1left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood1left.duplicateMovieClip("blood1right" + _global.derp, _global.derp);
_root["blood1right" + _global.derp]._x = _parent._parent._x;
_root["blood1right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
}
Instance of Symbol 667 MovieClip in Symbol 668 MovieClip Frame 40
onClipEvent (load) {
derprandom = Math.random(1);
if (_global.quest1acquired <= (_global.quest1required - 1)) {
_global.quest1acquired = _global.quest1acquired + 1;
}
_root.treecrack.start();
movement_timer = Math.random(50) * 30;
movement_timer_value = Math.round(movement_timer);
if (_global.facing_direction == "right") {
_root.blood2left.duplicateMovieClip("blood2left" + _global.derp, _global.derp);
_root["blood2left" + _global.derp]._x = _parent._parent._x;
_root["blood2left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood2left.duplicateMovieClip("blood2right" + _global.derp, _global.derp);
_root["blood2right" + _global.derp]._x = _parent._parent._x;
_root["blood2right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
_root.exp_stump.duplicateMovieClip("expstump" + _global.derp, _global.derp);
_root["expstump" + _global.derp]._x = _parent._parent._x;
_root["expstump" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
if (derprandom <= 0.5) {
_root.heart.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y;
_global.derp = _global.derp + 20;
}
if (derprandom >= 0.501) {
_root.heart2.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y;
_global.derp = _global.derp + 20;
}
}
Symbol 668 MovieClip Frame 83
stop();
Instance of Symbol 663 MovieClip in Symbol 668 MovieClip Frame 83
onClipEvent (load) {
hurtvar = Math.random(1);
if (hurtvar <= 0.5) {
_root.stumphit.start();
}
if (hurtvar >= 0.501) {
_root.treebend.start();
}
if (_global.facing_direction == "right") {
_root.blood1left.duplicateMovieClip("blood1left" + _global.derp, _global.derp);
_root["blood1left" + _global.derp]._x = _parent._parent._x;
_root["blood1left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood1left.duplicateMovieClip("blood1right" + _global.derp, _global.derp);
_root["blood1right" + _global.derp]._x = _parent._parent._x;
_root["blood1right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
}
Instance of Symbol 667 MovieClip in Symbol 668 MovieClip Frame 95
onClipEvent (load) {
derprandom = Math.random(1);
if (_global.quest1acquired <= (_global.quest1required - 1)) {
_global.quest1acquired = _global.quest1acquired + 1;
}
movement_timer = Math.random(50) * 30;
movement_timer_value = Math.round(movement_timer);
_root.treecrack.start();
if (_global.facing_direction == "right") {
_root.blood2left.duplicateMovieClip("blood2left" + _global.derp, _global.derp);
_root["blood2left" + _global.derp]._x = _parent._parent._x;
_root["blood2left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood2left.duplicateMovieClip("blood2right" + _global.derp, _global.derp);
_root["blood2right" + _global.derp]._x = _parent._parent._x;
_root["blood2right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
_root.exp_stump.duplicateMovieClip("expstump" + _global.derp, _global.derp);
_root["expstump" + _global.derp]._x = _parent._parent._x;
_root["expstump" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
if (derprandom <= 0.5) {
_root.heart.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y;
_global.derp = _global.derp + 20;
}
if (derprandom >= 0.501) {
_root.heart2.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y;
_global.derp = _global.derp + 20;
}
}
Instance of Symbol 668 MovieClip in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
whipvar = Math.random(1);
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
zerospikeexplosionhurt5 = false;
zerospikeexplosionhurt6 = false;
rippertimer = 0;
stumptimer = 0;
rippertimer3 = 0;
rippertimer4 = 0;
rippertimer5 = 0;
rippertimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
nohitstun = false;
knifetimer = 0;
whiptimer = 0;
hurt = false;
hurt_timer = 0;
shoryukentimer = 0;
maxhealth = _parent.healthmax;
health = maxhealth;
death = false;
multiplyvariable = 36 / maxhealth;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
movement_phase = 0;
movement_timer_value = (Math.random(6) * 100) + 200;
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
standing_timer = 0;
speed = 0;
facing_direction = "left";
movement_speed = 0;
movement_timer = 0;
gravity = 0;
power = 2;
}
onClipEvent (enterFrame) {
_parent.health_bar._width = (health / maxhealth) * 56;
_parent._x = _parent._x + speed;
_parent._y = _parent._y + gravity;
if ((hurt_timer >= 2) and (hurt_timer <= 2.01)) {
if (whiphurt == true) {
whipvar = Math.random(1);
if (whipvar <= 0.5) {
_root.xhitsound.start();
}
if (whipvar >= 0.5000001) {
_root.xhitsound2.start();
}
_root.box.duplicateMovieClip("boxy" + _global.derp, _global.derp);
_root["boxy" + _global.derp]._x = _parent._x;
_root["boxy" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.damage;
}
if (holywaterhurt == true) {
nohitstun = false;
_root.beam.start();
_root.holywaterbox.duplicateMovieClip("holywaterbox" + _global.derp, _global.derp);
_root["holywaterbox" + _global.derp]._x = _parent._x;
_root["holywaterbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.holywaterdamage;
hurt = false;
}
if (horseghosthurt == true) {
nohitstun = false;
_root.beam3.start();
_root.horseghostbox.duplicateMovieClip("horseghostbox" + _global.derp, _global.derp);
_root["horseghostbox" + _global.derp]._x = _parent._x;
_root["horseghostbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.horseghostdamage;
}
if (zerospikehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.zerospikebox.duplicateMovieClip("zerospikebox" + _global.derp, _global.derp);
_root["zerospikebox" + _global.derp]._x = _parent._x;
_root["zerospikebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikedamage;
}
if (zerospikeexplosionhurt == true) {
nohitstun = false;
trace("ass");
_root.beam3.start();
_root.zerospikeexplosionbox.duplicateMovieClip("zerospikeexplosionbox" + _global.derp, _global.derp);
_root["zerospikeexplosionbox" + _global.derp]._x = _parent._x;
_root["zerospikeexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikeexplosiondamage;
}
if (ripperhurt == true) {
nohitstun = true;
_root.jonathan_hit.start();
_root.ripperbox.duplicateMovieClip("ripperbox" + _global.derp, _global.derp);
_root["ripperbox" + _global.derp]._x = _parent._x;
_root["ripperbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperdamage;
}
if (ripperexplosionhurt == true) {
nohitstun = false;
_root.jonathan_hit.start();
_root.ripperexplosionbox.duplicateMovieClip("ripperexplosionbox" + _global.derp, _global.derp);
_root["ripperexplosionbox" + _global.derp]._x = _parent._x;
_root["ripperexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperexplosiondamage;
}
if (stumphurt == true) {
_root.jonathan_hit.start();
_root.stumpbox.duplicateMovieClip("stumpbox" + _global.derp, _global.derp);
_root["stumpbox" + _global.derp]._x = _parent._x;
_root["stumpbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.stumpdamage;
}
if (zerospikeexplosionhurt5 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox5.duplicateMovieClip("blanksubweaponbox5" + _global.derp, _global.derp);
_root["blanksubweaponbox5" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox5" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage5;
}
if (zerospikeexplosionhurt6 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox6.duplicateMovieClip("blanksubweaponbox6" + _global.derp, _global.derp);
_root["blanksubweaponbox6" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox6" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage6;
}
if (knifehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.knifebox.duplicateMovieClip("knifebox" + _global.derp, _global.derp);
_root["knifebox" + _global.derp]._x = _parent._x;
_root["knifebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.knifedamage;
}
if (crosshurt == true) {
nohitstun = true;
_root.knife_hit2.start();
_root.crossbox.duplicateMovieClip("crossbox" + _global.derp, _global.derp);
_root["crossbox" + _global.derp]._x = _parent._x;
_root["crossbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.crossdamage;
}
if (shoryukenhurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.shoryukenbox.duplicateMovieClip("shoryukenbox" + _global.derp, _global.derp);
_root["shoryukenbox" + _global.derp]._x = _parent._x;
_root["shoryukenbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.shoryu_damage;
}
if (fireballhurt == true) {
_root.bump_sound.start();
_root.fireballbox.duplicateMovieClip("fireballbox" + _global.derp, _global.derp);
_root["fireballbox" + _global.derp]._x = _parent._x;
_root["fireballbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
if (maxhealth <= 66) {
death = true;
}
if (maxhealth >= 66.01) {
health = health - _global.fireball_damage;
}
}
}
if ((crosshurt == true) and (hurt_timer > 2.5)) {
crosstimer++;
if (crosstimer >= 6) {
hurt = false;
}
}
if (_global.Aholdcount >= 12) {
nohitstun = true;
}
if (whiphurt == true) {
if ((_global.Aholdcount <= 5) and (_global.damagedisable == false)) {
nohitstun = false;
}
}
if ((knifehurt == true) and (hurt_timer > 2.5)) {
knifetimer++;
if (knifetimer >= 1) {
hurt = false;
}
}
if ((horseghosthurt == true) and (hurt_timer > 2.5)) {
horseghosttimer++;
if (horseghosttimer >= 7) {
hurt = false;
}
}
if ((zerospikehurt == true) and (hurt_timer > 2.5)) {
zerospiketimer++;
nohitstun = true;
if (zerospiketimer >= 8) {
hurt = false;
}
}
if ((zerospikeexplosionhurt == true) and (hurt_timer > 2.5)) {
zeroexplosiontimer++;
if (zeroexplosiontimer >= 10) {
hurt = false;
}
}
if ((ripperhurt == true) and (hurt_timer > 2.5)) {
nohitstun = true;
rippertimer++;
if (rippertimer >= 4) {
hurt = false;
}
}
if ((ripperexplosionhurt == true) and (hurt_timer > 2.5)) {
ripperexplosiontimer++;
if (ripperexplosiontimer >= 4) {
hurt = false;
}
}
if ((stumphurt == true) and (hurt_timer > 2.5)) {
stumptimer++;
if (stumptimer >= 6) {
hurt = false;
}
}
if ((zerospikeexplosionhurt5 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer5++;
if (blanksubweapontimer5 >= 4) {
hurt = false;
}
}
if ((zerospikeexplosionhurt6 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer6++;
if (blanksubweapontimer6 >= 4) {
hurt = false;
}
}
if ((fireballhurt == true) and (hurt_timer > 2.5)) {
fireballtimer++;
if (fireballtimer >= 1) {
hurt = false;
}
}
if ((shoryukenhurt == true) and (hurt_timer > 2.5)) {
shoryukentimer++;
if (shoryukentimer >= 45) {
hurt = false;
}
}
if ((health <= (maxhealth - 5)) and (death == false)) {
_parent.health_bar._visible = true;
_parent.hb2._visible = true;
}
if (hurt == false) {
nohitstun = true;
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
stumptimer = 0;
zerospikeexplosionhurt6 = false;
blanksubweapontimer = 0;
rippertimer = 0;
ripperexplosiontimer = 0;
stumptimer = 0;
blanksubweapontimer5 = 0;
blanksubweapontimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
knifetimer = 0;
whiptimer = 0;
shoryukentimer = 0;
hurt = false;
hurt_timer = 0;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (this.hitTest(_root["zl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache])) {
if (hurt == false) {
_root["kl" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
if (hurt == false) {
_root["kl" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
if (hurt == false) {
_root["kl" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
if (hurt == false) {
_root["kl" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
if (hurt == false) {
_root["kl" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
if (hurt == false) {
_root["kl" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
if (hurt == false) {
_root["kl" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
if (hurt == false) {
_root["kl" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
if (hurt == false) {
_root["kl" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
if (hurt == false) {
_root["kl" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
if (hurt == false) {
_root["kr" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
if (hurt == false) {
_root["kr" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
if (hurt == false) {
_root["kr" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
if (hurt == false) {
_root["kr" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
if (hurt == false) {
_root["kr" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
if (hurt == false) {
_root["kr" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
if (hurt == false) {
_root["kr" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
if (hurt == false) {
_root["kr" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
if (hurt == false) {
_root["kr" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
if (hurt == false) {
_root["kr" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache])) {
if (hurt == false) {
_root["fl" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache2])) {
if (hurt == false) {
_root["fl" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache3])) {
if (hurt == false) {
_root["fl" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache4])) {
if (hurt == false) {
_root["fl" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache5])) {
if (hurt == false) {
_root["fl" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache6])) {
if (hurt == false) {
_root["fl" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache7])) {
if (hurt == false) {
_root["fl" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache8])) {
if (hurt == false) {
_root["fl" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache9])) {
if (hurt == false) {
_root["fl" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache10])) {
if (hurt == false) {
_root["fl" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache])) {
if (hurt == false) {
_root["fr" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache2])) {
if (hurt == false) {
_root["fr" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache3])) {
if (hurt == false) {
_root["fr" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache4])) {
if (hurt == false) {
_root["fr" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache5])) {
if (hurt == false) {
_root["fr" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache6])) {
if (hurt == false) {
_root["fr" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache7])) {
if (hurt == false) {
_root["fr" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache8])) {
if (hurt == false) {
_root["fr" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache9])) {
if (hurt == false) {
_root["fr" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache10])) {
if (hurt == false) {
_root["fr" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (_parent.hitTest(_root.jonathan.whipping.whip) and (hurt == false)) {
whiphurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.shoryuken.shoryuhitbox) and (hurt == false)) {
shoryukenhurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (_global.damagedisable == true) {
nohitstun = true;
}
if (nohitstun == false) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
speed = 0;
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_left");
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
speed = 0;
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_right");
}
}
if (nohitstun == true) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_left");
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_right");
}
}
if (health <= 0) {
death = true;
}
if (death == true) {
hurt = false;
hurt_timer = 50;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
if (facing_direction == "right") {
this.gotoAndStop("die_right");
}
if (facing_direction == "left") {
this.gotoAndStop("die_left");
}
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 1;
gravity = 2;
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if ((movement_timer <= 400) and (movement_phase <= 1)) {
movement_timer++;
}
if (((movement_timer >= movement_timer_value) and (facing_direction == "left")) and (death == false)) {
facing_direction = "right";
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
movement_timer_value = (Math.random(6) * 100) + movement_hundred_rounded;
movement_phase = movement_phase + 1;
movement_timer = 0;
}
if (((movement_timer >= movement_timer_value) and (facing_direction == "right")) and (death == false)) {
facing_direction = "left";
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
movement_timer_value = (Math.random(6) * 100) + movement_hundred_rounded;
movement_phase = movement_phase + 1;
movement_timer = 0;
}
if (((facing_direction == "left") and (hurt == false)) and (death == false)) {
if (movement_phase <= 1) {
standing_timer = 0;
speed = -2;
this.gotoAndStop("walking_left");
}
if (movement_phase >= 2) {
speed = 0;
this.gotoAndStop("standing_left");
if (standing_timer <= 100) {
standing_timer++;
}
if (standing_timer >= 50) {
movement_phase = 0;
}
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if (_root.bg.hitTest(_parent._x - 35, _parent._y - 60, true)) {
if ((facing_direction == "left") and (death == false)) {
facing_direction = "right";
}
_parent._x = _parent._x + 7;
}
if (_root.bg.hitTest(_parent._x + 35, _parent._y - 60, true)) {
if ((facing_direction == "right") and (death == false)) {
facing_direction = "left";
}
_parent._x = _parent._x - 7;
}
}
if (((facing_direction == "right") and (hurt == false)) and (death == false)) {
if (movement_phase <= 1) {
standing_timer = 0;
speed = 2;
this.gotoAndStop("walking_right");
}
if (movement_phase >= 2) {
speed = 0;
this.gotoAndStop("standing_right");
if (standing_timer <= 100) {
standing_timer++;
}
if (standing_timer >= 50) {
movement_phase = 0;
}
}
}
}
if (((_global.backdashingcount <= 0) and (death == false)) and (_global.jbvk <= 7)) {
if (((_parent.hitTest(_root.jonathan._x, _root.jonathan._y - 35) and (!_parent.hitTest(_root.jonathan.whipping.whip))) and (_global.recoverystart == false)) and (_global.maincharhurt == false)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
Instance of Symbol 384 MovieClip in Symbol 677 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 677 MovieClip Frame 11
stop();
Symbol 678 MovieClip Frame 1
stop();
Instance of Symbol 663 MovieClip in Symbol 678 MovieClip Frame 28
onClipEvent (load) {
hurtvar = Math.random(1);
if (hurtvar <= 0.5) {
_root.stumphit.start();
}
if (hurtvar >= 0.501) {
_root.treebend.start();
}
if (_global.facing_direction == "right") {
_root.blood1left.duplicateMovieClip("blood1left" + _global.derp, _global.derp);
_root["blood1left" + _global.derp]._x = _parent._parent._x;
_root["blood1left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood1left.duplicateMovieClip("blood1right" + _global.derp, _global.derp);
_root["blood1right" + _global.derp]._x = _parent._parent._x;
_root["blood1right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
}
Instance of Symbol 667 MovieClip in Symbol 678 MovieClip Frame 40
onClipEvent (load) {
derprandom = Math.random(1);
if (_global.quest1acquired <= (_global.quest1required - 1)) {
_global.quest1acquired = _global.quest1acquired + 1;
}
_root.treecrack.start();
if (_global.facing_direction == "right") {
_root.blood2left.duplicateMovieClip("blood2left" + _global.derp, _global.derp);
_root["blood2left" + _global.derp]._x = _parent._parent._x;
_root["blood2left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood2left.duplicateMovieClip("blood2right" + _global.derp, _global.derp);
_root["blood2right" + _global.derp]._x = _parent._parent._x;
_root["blood2right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
}
Symbol 678 MovieClip Frame 83
stop();
Instance of Symbol 663 MovieClip in Symbol 678 MovieClip Frame 83
onClipEvent (load) {
hurtvar = Math.random(1);
if (hurtvar <= 0.5) {
_root.stumphit.start();
}
if (hurtvar >= 0.501) {
_root.treebend.start();
}
if (_global.facing_direction == "right") {
_root.blood1left.duplicateMovieClip("blood1left" + _global.derp, _global.derp);
_root["blood1left" + _global.derp]._x = _parent._parent._x;
_root["blood1left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood1left.duplicateMovieClip("blood1right" + _global.derp, _global.derp);
_root["blood1right" + _global.derp]._x = _parent._parent._x;
_root["blood1right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
}
Instance of Symbol 667 MovieClip in Symbol 678 MovieClip Frame 95
onClipEvent (load) {
derprandom = Math.random(1);
if (_global.quest1acquired <= (_global.quest1required - 1)) {
_global.quest1acquired = _global.quest1acquired + 1;
}
_root.treecrack.start();
if (_global.facing_direction == "right") {
_root.blood2left.duplicateMovieClip("blood2left" + _global.derp, _global.derp);
_root["blood2left" + _global.derp]._x = _parent._parent._x;
_root["blood2left" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood2left.duplicateMovieClip("blood2right" + _global.derp, _global.derp);
_root["blood2right" + _global.derp]._x = _parent._parent._x;
_root["blood2right" + _global.derp]._y = _parent._parent._y - 70;
_global.derp = _global.derp + 20;
}
}
Instance of Symbol 678 MovieClip in Symbol 679 MovieClip Frame 1
onClipEvent (load) {
movement_phase = 0;
movement_timer_value = (Math.random(6) * 100) + 200;
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
standing_timer = 0;
speed = 0;
facing_direction = "left";
movement_speed = 0;
movement_timer = 0;
health = 50;
death = false;
hurt = false;
timer = 0;
gravity = 0;
power = 2;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + speed;
_parent._y = _parent._y + gravity;
if (health <= 0) {
death = true;
}
timer++;
if (timer >= 240) {
if (!_parent.hitTest(_root.square)) {
death = true;
}
}
if (death == true) {
hurt = false;
if (facing_direction == "right") {
this.gotoAndStop("die_right");
}
if (facing_direction == "left") {
this.gotoAndStop("die_left");
}
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 1;
gravity = 2;
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if ((movement_timer <= 400) and (movement_phase <= 1)) {
movement_timer++;
}
if (((movement_timer >= movement_timer_value) and (facing_direction == "left")) and (death == false)) {
facing_direction = "right";
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
movement_timer_value = (Math.random(6) * 100) + movement_hundred_rounded;
movement_phase = movement_phase + 1;
movement_timer = 0;
}
if (((movement_timer >= movement_timer_value) and (facing_direction == "right")) and (death == false)) {
facing_direction = "left";
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
movement_timer_value = (Math.random(6) * 100) + movement_hundred_rounded;
movement_phase = movement_phase + 1;
movement_timer = 0;
}
if (((facing_direction == "left") and (hurt == false)) and (death == false)) {
if (movement_phase <= 1) {
standing_timer = 0;
speed = -2;
this.gotoAndStop("walking_left");
}
if (movement_phase >= 2) {
speed = 0;
this.gotoAndStop("standing_left");
if (standing_timer <= 100) {
standing_timer++;
}
if (standing_timer >= 50) {
movement_phase = 0;
}
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if (_root.bg.hitTest(_parent._x - 35, _parent._y - 60, true)) {
if ((facing_direction == "left") and (death == false)) {
facing_direction = "right";
}
_parent._x = _parent._x + 7;
}
if (_root.bg.hitTest(_parent._x + 35, _parent._y - 60, true)) {
if ((facing_direction == "right") and (death == false)) {
facing_direction = "left";
}
_parent._x = _parent._x - 7;
}
}
if (((facing_direction == "right") and (hurt == false)) and (death == false)) {
if (movement_phase <= 1) {
standing_timer = 0;
speed = 2;
this.gotoAndStop("walking_right");
}
if (movement_phase >= 2) {
speed = 0;
this.gotoAndStop("standing_right");
if (standing_timer <= 100) {
standing_timer++;
}
if (standing_timer >= 50) {
movement_phase = 0;
}
}
}
}
}
Instance of Symbol 678 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
movement_phase = 0;
movement_timer_value = (Math.random(6) * 100) + 200;
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
standing_timer = 0;
speed = 0;
facing_direction = "right";
movement_speed = 0;
movement_timer = 0;
health = 50;
death = false;
this.gotoAndStop("standing_right");
hurt = false;
timer = 0;
gravity = 0;
power = 2;
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 240) {
if (!_parent.hitTest(_root.square)) {
death = true;
}
}
_parent._x = _parent._x + speed;
_parent._y = _parent._y + gravity;
if (health <= 0) {
death = true;
}
if (death == true) {
hurt = false;
if (facing_direction == "right") {
this.gotoAndStop("die_right");
}
if (facing_direction == "left") {
this.gotoAndStop("die_left");
}
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 1;
gravity = 2;
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if ((movement_timer <= 400) and (movement_phase <= 1)) {
movement_timer++;
}
if (((movement_timer >= movement_timer_value) and (facing_direction == "left")) and (death == false)) {
facing_direction = "right";
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
movement_timer_value = (Math.random(6) * 100) + movement_hundred_rounded;
movement_phase = movement_phase + 1;
movement_timer = 0;
}
if (((movement_timer >= movement_timer_value) and (facing_direction == "right")) and (death == false)) {
facing_direction = "left";
movement_hundred_value = Math.random(6) * 300;
movement_hundred_rounded = Math.round(movement_hundred_value);
movement_timer_value = (Math.random(6) * 100) + movement_hundred_rounded;
movement_phase = movement_phase + 1;
movement_timer = 0;
}
if (((facing_direction == "left") and (hurt == false)) and (death == false)) {
if (movement_phase <= 1) {
standing_timer = 0;
speed = -2;
this.gotoAndStop("walking_left");
}
if (movement_phase >= 2) {
speed = 0;
this.gotoAndStop("standing_left");
if (standing_timer <= 100) {
standing_timer++;
}
if (standing_timer >= 50) {
movement_phase = 0;
}
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if (_root.bg.hitTest(_parent._x - 35, _parent._y - 60, true)) {
if ((facing_direction == "left") and (death == false)) {
facing_direction = "right";
}
_parent._x = _parent._x + 7;
}
if (_root.bg.hitTest(_parent._x + 35, _parent._y - 60, true)) {
if ((facing_direction == "right") and (death == false)) {
facing_direction = "left";
}
_parent._x = _parent._x - 7;
}
}
if (((facing_direction == "right") and (hurt == false)) and (death == false)) {
if (movement_phase <= 1) {
standing_timer = 0;
speed = 2;
this.gotoAndStop("walking_right");
}
if (movement_phase >= 2) {
speed = 0;
this.gotoAndStop("standing_right");
if (standing_timer <= 100) {
standing_timer++;
}
if (standing_timer >= 50) {
movement_phase = 0;
}
}
}
}
}
Symbol 698 MovieClip Frame 1
stop();
Symbol 698 MovieClip Frame 57
stop();
Instance of Symbol 384 MovieClip in Symbol 747 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = true;
}
Symbol 747 MovieClip Frame 13
if (_parent._parent._parent.hitTest(_root.cam)) {
_root.stomp2.start();
}
Instance of Symbol 384 MovieClip in Symbol 747 MovieClip Frame 15
onClipEvent (load) {
this._visible = false;
if (_parent._parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1left.duplicateMovieClip("steam1left" + _global.derp, _global.derp);
_root["steam1left" + _global.derp]._x = _parent._parent._parent._x - 30;
_root["steam1left" + _global.derp]._y = _parent._parent._parent._y - 180;
_global.derp = _global.derp + 20;
}
onClipEvent (enterFrame) {
_parent._parent.walking = false;
}
Instance of Symbol 384 MovieClip in Symbol 747 MovieClip Frame 24
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = true;
}
Symbol 747 MovieClip Frame 47
if (_parent._parent._parent.hitTest(_root.cam)) {
_root.stomp2.start();
}
Instance of Symbol 384 MovieClip in Symbol 747 MovieClip Frame 49
onClipEvent (load) {
this._visible = false;
if (_parent._parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1right.duplicateMovieClip("steam1right" + _global.derp, _global.derp);
_root["steam1right" + _global.derp]._x = _parent._parent._parent._x + 30;
_root["steam1right" + _global.derp]._y = _parent._parent._parent._y - 180;
_global.derp = _global.derp + 20;
}
onClipEvent (enterFrame) {
_parent._parent.walking = false;
}
Instance of Symbol 384 MovieClip in Symbol 747 MovieClip Frame 62
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = true;
}
Symbol 747 MovieClip Frame 74
gotoAndPlay (6);
Instance of Symbol 384 MovieClip in Symbol 753 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = true;
}
Symbol 753 MovieClip Frame 9
_root.stomp2.start();
Instance of Symbol 384 MovieClip in Symbol 753 MovieClip Frame 9
onClipEvent (load) {
this._visible = false;
if (_parent._parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1left.duplicateMovieClip("steam1left" + _global.derp, _global.derp);
_root["steam1left" + _global.derp]._x = _parent._parent._parent._x - 30;
_root["steam1left" + _global.derp]._y = _parent._parent._parent._y - 180;
_global.derp = _global.derp + 20;
if (_parent._parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1right.duplicateMovieClip("steam1right" + _global.derp, _global.derp);
_root["steam1right" + _global.derp]._x = _parent._parent._parent._x + 30;
_root["steam1right" + _global.derp]._y = _parent._parent._parent._y - 180;
_global.derp = _global.derp + 20;
}
onClipEvent (enterFrame) {
_parent._parent.walking = false;
}
Instance of Symbol 384 MovieClip in Symbol 753 MovieClip Frame 23
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = true;
}
Instance of Symbol 384 MovieClip in Symbol 753 MovieClip Frame 48
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = false;
}
Instance of Symbol 384 MovieClip in Symbol 753 MovieClip Frame 56
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = true;
}
Instance of Symbol 384 MovieClip in Symbol 753 MovieClip Frame 70
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_parent._parent.walking = false;
}
Symbol 805 MovieClip Frame 24
_root.crumble1.start();
Symbol 805 MovieClip Frame 32
_root.enemyscream1.start();
Symbol 805 MovieClip Frame 57
stop();
Symbol 806 MovieClip Frame 1
stop();
Instance of Symbol 698 MovieClip in Symbol 806 MovieClip Frame 1
onClipEvent (load) {
begin = false;
timer = 0;
timer2 = 0;
spawn1 = false;
spawn2 = false;
spawn3 = false;
}
onClipEvent (enterFrame) {
if (_parent._parent.hitTest(_root.cam) and (begin == false)) {
this.play();
_root.potmove.start();
begin = true;
}
if (begin == true) {
timer++;
if ((timer >= 10) and (spawn1 == false)) {
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1left.duplicateMovieClip("steam1left" + _global.derp, _global.derp);
_root["steam1left" + _global.derp]._x = _parent._parent._x - 30;
_root["steam1left" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
spawn1 = true;
}
if ((timer >= 20) and (spawn2 == false)) {
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1right.duplicateMovieClip("steam1right" + _global.derp, _global.derp);
_root["steam1right" + _global.derp]._x = _parent._parent._x + 30;
_root["steam1right" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
spawn2 = true;
}
if ((timer >= 40) and (spawn3 == false)) {
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1right.duplicateMovieClip("steam1right" + _global.derp, _global.derp);
_root["steam1right" + _global.derp]._x = _parent._parent._x + 30;
_root["steam1right" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1left.duplicateMovieClip("steam1left" + _global.derp, _global.derp);
_root["steam1left" + _global.derp]._x = _parent._parent._x - 30;
_root["steam1left" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
spawn3 = true;
}
if (timer >= 60) {
_parent.finishstanding = true;
}
}
}
Instance of Symbol 747 MovieClip in Symbol 806 MovieClip Frame 10
onClipEvent (load) {
_parent.finishstanding = true;
}
Instance of Symbol 753 MovieClip in Symbol 806 MovieClip Frame 20
onClipEvent (load) {
_parent.finishstanding = true;
}
Instance of Symbol 805 MovieClip in Symbol 806 MovieClip Frame 38
onClipEvent (load) {
timer = 0;
_root.explosion3.start();
_root.mediumexplosion.duplicateMovieClip("mediumexplosion" + _global.derp, _global.derp);
_root["mediumexplosion" + _global.derp]._x = _parent._parent._x;
_root["mediumexplosion" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 58) {
_root.exp_golem.duplicateMovieClip("lol" + _global.derp, _global.derp);
_root["lol" + _global.derp]._x = _parent._parent._x;
_root["lol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart2.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart2.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_parent._parent.unloadMovie();
}
}
Instance of Symbol 698 MovieClip in Symbol 806 MovieClip Frame 51
onClipEvent (load) {
begin = false;
timer = 0;
timer2 = 0;
spawn1 = false;
spawn2 = false;
spawn3 = false;
}
onClipEvent (enterFrame) {
if (_parent._parent.hitTest(_root.cam) and (begin == false)) {
this.play();
_root.potmove.start();
begin = true;
}
if (begin == true) {
timer++;
if ((timer >= 10) and (spawn1 == false)) {
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1left.duplicateMovieClip("steam1left" + _global.derp, _global.derp);
_root["steam1left" + _global.derp]._x = _parent._parent._x - 30;
_root["steam1left" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
spawn1 = true;
}
if ((timer >= 20) and (spawn2 == false)) {
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1right.duplicateMovieClip("steam1right" + _global.derp, _global.derp);
_root["steam1right" + _global.derp]._x = _parent._parent._x + 30;
_root["steam1right" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
spawn2 = true;
}
if ((timer >= 40) and (spawn3 == false)) {
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1right.duplicateMovieClip("steam1right" + _global.derp, _global.derp);
_root["steam1right" + _global.derp]._x = _parent._parent._x + 30;
_root["steam1right" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
if (_parent._parent.hitTest(_root.cam)) {
_root.steam.start();
}
_root.steam1left.duplicateMovieClip("steam1left" + _global.derp, _global.derp);
_root["steam1left" + _global.derp]._x = _parent._parent._x - 30;
_root["steam1left" + _global.derp]._y = _parent._parent._y - 180;
_global.derp = _global.derp + 20;
spawn3 = true;
}
if (timer >= 60) {
_parent.finishstanding = true;
}
}
}
Instance of Symbol 747 MovieClip in Symbol 806 MovieClip Frame 60
onClipEvent (load) {
_parent.finishstanding = true;
}
Instance of Symbol 753 MovieClip in Symbol 806 MovieClip Frame 70
onClipEvent (load) {
_parent.finishstanding = true;
}
Instance of Symbol 805 MovieClip in Symbol 806 MovieClip Frame 88
onClipEvent (load) {
timer = 0;
_root.explosion3.start();
_root.mediumexplosion.duplicateMovieClip("mediumexplosion" + _global.derp, _global.derp);
_root["mediumexplosion" + _global.derp]._x = _parent._parent._x;
_root["mediumexplosion" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 58) {
_root.exp_golem.duplicateMovieClip("lol" + _global.derp, _global.derp);
_root["lol" + _global.derp]._x = _parent._parent._x;
_root["lol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart2.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart2.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_parent._parent.unloadMovie();
}
}
Instance of Symbol 806 MovieClip in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
whipvar = Math.random(1);
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
zerospikeexplosionhurt5 = false;
zerospikeexplosionhurt6 = false;
rippertimer = 0;
stumptimer = 0;
rippertimer3 = 0;
rippertimer4 = 0;
rippertimer5 = 0;
rippertimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
nohitstun = false;
knifetimer = 0;
whiptimer = 0;
hurt = false;
hurt_timer = 0;
shoryukentimer = 0;
maxhealth = _parent.healthmax;
health = maxhealth;
death = false;
multiplyvariable = 36 / maxhealth;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
walkbackwards0 = false;
walkbackwards1 = false;
walkbackwards2 = false;
walkbackwards3 = false;
walkbackwards4 = false;
walkingbackwardstimer = 0;
walkingbackwards = false;
finishstanding = false;
facing_direction = "left";
gravity = 0;
walking = false;
}
onClipEvent (enterFrame) {
_parent.health_bar._width = (health / maxhealth) * 25;
if (death == false) {
_parent._x = _parent._x + speed;
}
_parent._y = _parent._y + gravity;
if ((hurt_timer >= 2) and (hurt_timer <= 2.01)) {
if (whiphurt == true) {
whipvar = Math.random(1);
if (whipvar <= 0.5) {
_root.xhitsound.start();
}
if (whipvar >= 0.5000001) {
_root.xhitsound2.start();
}
_root.box.duplicateMovieClip("boxy" + _global.derp, _global.derp);
_root["boxy" + _global.derp]._x = _parent._x;
_root["boxy" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.damage;
}
if (holywaterhurt == true) {
nohitstun = false;
_root.beam.start();
_root.holywaterbox.duplicateMovieClip("holywaterbox" + _global.derp, _global.derp);
_root["holywaterbox" + _global.derp]._x = _parent._x;
_root["holywaterbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.holywaterdamage;
hurt = false;
}
if (horseghosthurt == true) {
nohitstun = false;
_root.beam3.start();
_root.horseghostbox.duplicateMovieClip("horseghostbox" + _global.derp, _global.derp);
_root["horseghostbox" + _global.derp]._x = _parent._x;
_root["horseghostbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.horseghostdamage;
}
if (zerospikehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.zerospikebox.duplicateMovieClip("zerospikebox" + _global.derp, _global.derp);
_root["zerospikebox" + _global.derp]._x = _parent._x;
_root["zerospikebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikedamage;
}
if (zerospikeexplosionhurt == true) {
nohitstun = false;
trace("ass");
_root.beam3.start();
_root.zerospikeexplosionbox.duplicateMovieClip("zerospikeexplosionbox" + _global.derp, _global.derp);
_root["zerospikeexplosionbox" + _global.derp]._x = _parent._x;
_root["zerospikeexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikeexplosiondamage;
}
if (ripperhurt == true) {
nohitstun = true;
_root.jonathan_hit.start();
_root.ripperbox.duplicateMovieClip("ripperbox" + _global.derp, _global.derp);
_root["ripperbox" + _global.derp]._x = _parent._x;
_root["ripperbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperdamage;
}
if (ripperexplosionhurt == true) {
nohitstun = false;
_root.jonathan_hit.start();
_root.ripperexplosionbox.duplicateMovieClip("ripperexplosionbox" + _global.derp, _global.derp);
_root["ripperexplosionbox" + _global.derp]._x = _parent._x;
_root["ripperexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperexplosiondamage;
}
if (stumphurt == true) {
_root.jonathan_hit.start();
_root.stumpbox.duplicateMovieClip("stumpbox" + _global.derp, _global.derp);
_root["stumpbox" + _global.derp]._x = _parent._x;
_root["stumpbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.stumpdamage;
}
if (zerospikeexplosionhurt5 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox5.duplicateMovieClip("blanksubweaponbox5" + _global.derp, _global.derp);
_root["blanksubweaponbox5" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox5" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage5;
}
if (zerospikeexplosionhurt6 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox6.duplicateMovieClip("blanksubweaponbox6" + _global.derp, _global.derp);
_root["blanksubweaponbox6" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox6" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage6;
}
if (knifehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.knifebox.duplicateMovieClip("knifebox" + _global.derp, _global.derp);
_root["knifebox" + _global.derp]._x = _parent._x;
_root["knifebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.knifedamage;
}
if (crosshurt == true) {
nohitstun = true;
_root.knife_hit2.start();
_root.crossbox.duplicateMovieClip("crossbox" + _global.derp, _global.derp);
_root["crossbox" + _global.derp]._x = _parent._x;
_root["crossbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.crossdamage;
}
if (shoryukenhurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.shoryukenbox.duplicateMovieClip("shoryukenbox" + _global.derp, _global.derp);
_root["shoryukenbox" + _global.derp]._x = _parent._x;
_root["shoryukenbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.shoryu_damage;
}
if (fireballhurt == true) {
_root.bump_sound.start();
_root.fireballbox.duplicateMovieClip("fireballbox" + _global.derp, _global.derp);
_root["fireballbox" + _global.derp]._x = _parent._x;
_root["fireballbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
if (maxhealth <= 66) {
death = true;
}
if (maxhealth >= 66.01) {
health = health - _global.fireball_damage;
}
}
}
if ((crosshurt == true) and (hurt_timer > 2.5)) {
crosstimer++;
if (crosstimer >= 6) {
hurt = false;
}
}
if (_global.Aholdcount >= 12) {
nohitstun = true;
}
if (whiphurt == true) {
if ((_global.Aholdcount <= 5) and (_global.damagedisable == false)) {
nohitstun = false;
}
}
if ((knifehurt == true) and (hurt_timer > 2.5)) {
knifetimer++;
if (knifetimer >= 1) {
hurt = false;
}
}
if ((horseghosthurt == true) and (hurt_timer > 2.5)) {
horseghosttimer++;
if (horseghosttimer >= 7) {
hurt = false;
}
}
if ((zerospikehurt == true) and (hurt_timer > 2.5)) {
zerospiketimer++;
nohitstun = true;
if (zerospiketimer >= 8) {
hurt = false;
}
}
if ((zerospikeexplosionhurt == true) and (hurt_timer > 2.5)) {
zeroexplosiontimer++;
if (zeroexplosiontimer >= 10) {
hurt = false;
}
}
if ((ripperhurt == true) and (hurt_timer > 2.5)) {
nohitstun = true;
rippertimer++;
if (rippertimer >= 4) {
hurt = false;
}
}
if ((ripperexplosionhurt == true) and (hurt_timer > 2.5)) {
ripperexplosiontimer++;
if (ripperexplosiontimer >= 4) {
hurt = false;
}
}
if ((stumphurt == true) and (hurt_timer > 2.5)) {
stumptimer++;
if (stumptimer >= 6) {
hurt = false;
}
}
if ((zerospikeexplosionhurt5 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer5++;
if (blanksubweapontimer5 >= 4) {
hurt = false;
}
}
if ((zerospikeexplosionhurt6 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer6++;
if (blanksubweapontimer6 >= 4) {
hurt = false;
}
}
if ((fireballhurt == true) and (hurt_timer > 2.5)) {
fireballtimer++;
if (fireballtimer >= 1) {
hurt = false;
}
}
if ((shoryukenhurt == true) and (hurt_timer > 2.5)) {
shoryukentimer++;
if (shoryukentimer >= 45) {
hurt = false;
}
}
if ((health <= (maxhealth - 5)) and (death == false)) {
_parent.health_bar._visible = true;
_parent.hb2._visible = true;
}
if (hurt == false) {
nohitstun = true;
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
stumptimer = 0;
zerospikeexplosionhurt6 = false;
blanksubweapontimer = 0;
rippertimer = 0;
ripperexplosiontimer = 0;
stumptimer = 0;
blanksubweapontimer5 = 0;
blanksubweapontimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
knifetimer = 0;
whiptimer = 0;
shoryukentimer = 0;
hurt = false;
hurt_timer = 0;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (this.hitTest(_root["zl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache])) {
if (hurt == false) {
_root["kl" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
if (hurt == false) {
_root["kl" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
if (hurt == false) {
_root["kl" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
if (hurt == false) {
_root["kl" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
if (hurt == false) {
_root["kl" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
if (hurt == false) {
_root["kl" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
if (hurt == false) {
_root["kl" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
if (hurt == false) {
_root["kl" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
if (hurt == false) {
_root["kl" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
if (hurt == false) {
_root["kl" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
if (hurt == false) {
_root["kr" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
if (hurt == false) {
_root["kr" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
if (hurt == false) {
_root["kr" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
if (hurt == false) {
_root["kr" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
if (hurt == false) {
_root["kr" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
if (hurt == false) {
_root["kr" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
if (hurt == false) {
_root["kr" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
if (hurt == false) {
_root["kr" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
if (hurt == false) {
_root["kr" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
if (hurt == false) {
_root["kr" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache])) {
if (hurt == false) {
_root["fl" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache2])) {
if (hurt == false) {
_root["fl" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache3])) {
if (hurt == false) {
_root["fl" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache4])) {
if (hurt == false) {
_root["fl" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache5])) {
if (hurt == false) {
_root["fl" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache6])) {
if (hurt == false) {
_root["fl" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache7])) {
if (hurt == false) {
_root["fl" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache8])) {
if (hurt == false) {
_root["fl" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache9])) {
if (hurt == false) {
_root["fl" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache10])) {
if (hurt == false) {
_root["fl" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache])) {
if (hurt == false) {
_root["fr" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache2])) {
if (hurt == false) {
_root["fr" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache3])) {
if (hurt == false) {
_root["fr" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache4])) {
if (hurt == false) {
_root["fr" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache5])) {
if (hurt == false) {
_root["fr" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache6])) {
if (hurt == false) {
_root["fr" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache7])) {
if (hurt == false) {
_root["fr" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache8])) {
if (hurt == false) {
_root["fr" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache9])) {
if (hurt == false) {
_root["fr" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache10])) {
if (hurt == false) {
_root["fr" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (_parent.hitTest(_root.jonathan.whipping.whip) and (hurt == false)) {
whiphurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.shoryuken.shoryuhitbox) and (hurt == false)) {
shoryukenhurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (_global.damagedisable == true) {
nohitstun = true;
}
if (nohitstun == false) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if ((health <= 500) and (walkbackwards0 == false)) {
walkingbackwards = true;
walkbackwards0 = true;
}
if ((health <= 400) and (walkbackwards1 == false)) {
walkingbackwards = true;
walkbackwards1 = true;
}
if ((health <= 300) and (walkbackwards2 == false)) {
walkingbackwards = true;
walkbackwards2 = true;
}
if ((health <= 200) and (walkbackwards3 == false)) {
walkingbackwards = true;
walkbackwards3 = true;
}
if ((health <= 100) and (walkbackwards4 == false)) {
walkingbackwards = true;
walkbackwards4 = true;
}
speed = 0;
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if ((health <= 500) and (walkbackwards0 == false)) {
walkingbackwards = true;
walkbackwards0 = true;
}
if ((health <= 400) and (walkbackwards1 == false)) {
walkingbackwards = true;
walkbackwards1 = true;
}
if ((health <= 300) and (walkbackwards2 == false)) {
walkingbackwards = true;
walkbackwards2 = true;
}
if ((health <= 200) and (walkbackwards3 == false)) {
walkingbackwards = true;
walkbackwards3 = true;
}
if ((health <= 100) and (walkbackwards4 == false)) {
walkingbackwards = true;
walkbackwards4 = true;
}
speed = 0;
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
}
if (nohitstun == true) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if ((health <= 500) and (walkbackwards0 == false)) {
walkingbackwards = true;
walkbackwards0 = true;
}
if ((health <= 400) and (walkbackwards1 == false)) {
walkingbackwards = true;
walkbackwards1 = true;
}
if ((health <= 300) and (walkbackwards2 == false)) {
walkingbackwards = true;
walkbackwards2 = true;
}
if ((health <= 200) and (walkbackwards3 == false)) {
walkingbackwards = true;
walkbackwards3 = true;
}
if ((health <= 100) and (walkbackwards4 == false)) {
walkingbackwards = true;
walkbackwards4 = true;
}
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if ((health <= 500) and (walkbackwards0 == false)) {
walkingbackwards = true;
walkbackwards0 = true;
}
if ((health <= 400) and (walkbackwards1 == false)) {
walkingbackwards = true;
walkbackwards1 = true;
}
if ((health <= 300) and (walkbackwards2 == false)) {
walkingbackwards = true;
walkbackwards2 = true;
}
if ((health <= 200) and (walkbackwards3 == false)) {
walkingbackwards = true;
walkbackwards3 = true;
}
if ((health <= 100) and (walkbackwards4 == false)) {
walkingbackwards = true;
walkbackwards4 = true;
}
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
}
if (health <= 0) {
death = true;
}
if (death == true) {
hurt = false;
hurt_timer = 50;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
if (facing_direction == "right") {
this.gotoAndStop("die_right");
}
if (facing_direction == "left") {
this.gotoAndStop("die_left");
}
}
if ((walkingbackwards == true) and (death == false)) {
if (facing_direction == "left") {
if (walking == true) {
speed = 2;
}
this.gotoAndStop("walking_backwards_left");
}
if (facing_direction == "right") {
if (walking == true) {
speed = -2;
}
this.gotoAndStop("walking_backwards_right");
}
walkingbackwardstimer++;
if (walkingbackwardstimer >= 25) {
if ((_root.jonathan._x <= _parent._x) and (facing_direction == "right")) {
facing_direction = "left";
}
if ((_root.jonathan._x >= _parent._x) and (facing_direction == "left")) {
facing_direction = "right";
}
walkingbackwards = false;
}
}
if (walkingbackwards == false) {
walkingbackwardstimer = 0;
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 1;
gravity = 2;
}
}
if (walking == false) {
speed = 0;
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if (_root.bg.hitTest(_parent._x - 30, _parent._y - 80, true)) {
if ((facing_direction == "left") and (death == false)) {
facing_direction = "right";
}
_parent._x = _parent._x + 7;
}
if (_root.bg.hitTest(_parent._x + 30, _parent._y - 80, true)) {
if ((facing_direction == "right") and (death == false)) {
facing_direction = "left";
}
_parent._x = _parent._x - 7;
}
}
if ((finishstanding == true) and (death == false)) {
if (walkingbackwards == false) {
if (facing_direction == "right") {
if (walking == true) {
speed = 2;
}
this.gotoAndStop("walking_right");
}
if (facing_direction == "left") {
if (walking == true) {
speed = -2;
}
this.gotoAndStop("walking_left");
}
}
}
}
Instance of Symbol 384 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 40) and (_global.i >= 1)) {
if (!_parent.hitTest(_root.square)) {
_parent.removeMovieClip();
}
}
}
Symbol 814 MovieClip Frame 13
stop();
Instance of Symbol 384 MovieClip in Symbol 818 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
this._visible = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 818 MovieClip Frame 4
stop();
Instance of Symbol 384 MovieClip in Symbol 842 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
this._visible = false;
if (!_parent.hitTest(_root.square)) {
_root.explosion2.start();
}
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 23) and (_global.i >= 1)) {
if (!_parent.hitTest(_root.square)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 844 MovieClip "heart" in Symbol 845 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
movement = 0;
xcount = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + gravity;
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
xcount++;
_parent._x = _parent._x + movement;
if (xcount <= 25) {
movement = 3;
}
if ((xcount <= 50) and (xcount >= 26)) {
movement = -3;
}
if (xcount >= 101) {
xcount = 0;
}
gravity = 3;
} else {
while (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
movement = 0;
xcount = 0;
gravity = 0;
_parent._y = _parent._y - 1;
}
}
if (_root.jonathan.hitTest(_parent._x, _parent._y, true)) {
_root.heart_sound.start();
if (_global.health <= (_global.maxhealth - 5)) {
_global.health = _global.health + 5;
}
_parent.unloadMovie();
}
}
Instance of Symbol 847 MovieClip in Symbol 848 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
rotationvar = 0;
movement = 0;
xcount = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + gravity;
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
xcount++;
_parent._x = _parent._x + movement;
if (xcount <= 25) {
movement = 3;
}
if ((xcount <= 50) and (xcount >= 26)) {
movement = -3;
}
if (xcount >= 101) {
xcount = 0;
}
gravity = 3;
rotationvar = 35;
} else {
while (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
movement = 0;
xcount = 0;
rotationvar = 0;
this._rotation = _parent._rotation;
gravity = 0;
_parent._y = _parent._y - 1;
}
}
if (_root.jonathan.hitTest(_parent._x, _parent._y - 70, true)) {
_global.healthup = _parent.healthvalue;
_root.healthbox.duplicateMovieClip("healthboxdupe" + _global.derp, _global.derp);
_root["healthboxdupe" + _global.derp]._x = _root.jonathan._x;
_root["healthboxdupe" + _global.derp]._y = _root.jonathan._y - 70;
_global.itemget = true;
_global.itemrestart = true;
_global.itemvalue = "Caviar";
_root.heart_sound.start();
if (_global.health <= (_global.maxhealth - 5)) {
_global.health = _global.health + 5;
}
_parent.unloadMovie();
}
}
Instance of Symbol 851 MovieClip in Symbol 852 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
facing_direction = "right";
}
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.jonathan.hitbox)) {
_global.jonathanbig = true;
_root.powerup.start();
_root.jonathan._width = 55;
_root.jonathan._height = 123;
_parent.unloadMovie();
}
_parent._y = _parent._y + gravity;
_parent._x = _parent._x + speed;
if (facing_direction == "left") {
speed = -3;
this.gotoAndStop("walking_left");
}
if (facing_direction == "right") {
speed = 3;
this.gotoAndStop("walking_right");
}
if (_root.bg.hitTest(_parent._x - 28, _parent._y - 25, true) and (facing_direction == "left")) {
movement_timer = movement_timer_value + 1;
_parent._x + 10;
facing_direction = "right";
}
if (_root.bg.hitTest(_parent._x + 28, _parent._y - 25, true) and (facing_direction == "right")) {
movement_timer = movement_timer_value + 1;
_parent._x - 10;
facing_direction = "left";
}
if (!_root.bg.hitTest(_parent._x, _parent._y, true)) {
gravity = 3;
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
gravity = 0;
_parent._y = _parent._y - 1;
}
}
}
Instance of Symbol 500 MovieClip in Symbol 861 MovieClip Frame 37
onClipEvent (load) {
if (_global.facing_direction == "right") {
_root.blood1leftyellowgreen.duplicateMovieClip("blood1leftyellowgreen" + _global.derp, _global.derp);
_root["blood1leftyellowgreen" + _global.derp]._x = _parent._parent._x;
_root["blood1leftyellowgreen" + _global.derp]._y = _parent._parent._y - 20;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood1leftyellowgreen.duplicateMovieClip("blood1rightyellowgreen" + _global.derp, _global.derp);
_root["blood1rightyellowgreen" + _global.derp]._x = _parent._parent._x;
_root["blood1rightyellowgreen" + _global.derp]._y = _parent._parent._y - 20;
_global.derp = _global.derp + 20;
}
}
Instance of Symbol 500 MovieClip in Symbol 861 MovieClip Frame 64
onClipEvent (load) {
timer = 0;
derprandom = Math.random(1);
_root.explosion3.start();
if (_global.facing_direction == "right") {
_root.blood2leftyellowgreen.duplicateMovieClip("blood2leftyellowgreen" + _global.derp, _global.derp);
_root["blood2leftyellowgreen" + _global.derp]._x = _parent._parent._x;
_root["blood2leftyellowgreen" + _global.derp]._y = _parent._parent._y - 20;
_global.derp = _global.derp + 20;
}
if (_global.facing_direction == "left") {
_root.blood2leftyellowgreen.duplicateMovieClip("blood2rightyellowgreen" + _global.derp, _global.derp);
_root["blood2rightyellowgreen" + _global.derp]._x = _parent._parent._x;
_root["blood2rightyellowgreen" + _global.derp]._y = _parent._parent._y - 20;
_global.derp = _global.derp + 20;
}
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 10) {
_root.exp_stump.duplicateMovieClip("lol" + _global.derp, _global.derp);
_root["lol" + _global.derp]._x = _parent._parent._x;
_root["lol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
if (derprandom <= 0.5) {
_root.heart.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
}
if (derprandom >= 0.501) {
_root.heart2.duplicateMovieClip("heartache" + _global.derp, _global.derp);
_root["heartache" + _global.derp]._x = _parent._parent._x;
_root["heartache" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
}
_parent._parent.unloadMovie();
}
}
Instance of Symbol 861 MovieClip in Symbol 862 MovieClip Frame 1
onClipEvent (load) {
whipvar = Math.random(1);
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
zerospikeexplosionhurt5 = false;
zerospikeexplosionhurt6 = false;
rippertimer = 0;
stumptimer = 0;
rippertimer3 = 0;
rippertimer4 = 0;
rippertimer5 = 0;
rippertimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
nohitstun = false;
knifetimer = 0;
whiptimer = 0;
hurt = false;
hurt_timer = 0;
shoryukentimer = 0;
maxhealth = _parent.healthmax;
health = maxhealth;
death = false;
multiplyvariable = 36 / maxhealth;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
movement_phase = 0;
speed = 0;
facing_direction = "left";
movement_speed = 0;
gravity = 0;
power = 2;
}
onClipEvent (enterFrame) {
multiplyvariable = 36 / maxhealth;
_parent.health_bar._width = (health / maxhealth) * 36;
_parent._x = _parent._x + speed;
_parent._y = _parent._y + gravity;
if ((hurt_timer >= 2) and (hurt_timer <= 2.01)) {
if (whiphurt == true) {
whipvar = Math.random(1);
if (whipvar <= 0.5) {
_root.xhitsound.start();
}
if (whipvar >= 0.5000001) {
_root.xhitsound2.start();
}
_root.box.duplicateMovieClip("boxy" + _global.derp, _global.derp);
_root["boxy" + _global.derp]._x = _parent._x;
_root["boxy" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.damage;
}
if (holywaterhurt == true) {
nohitstun = false;
_root.beam.start();
_root.holywaterbox.duplicateMovieClip("holywaterbox" + _global.derp, _global.derp);
_root["holywaterbox" + _global.derp]._x = _parent._x;
_root["holywaterbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.holywaterdamage;
hurt = false;
}
if (horseghosthurt == true) {
nohitstun = false;
_root.beam3.start();
_root.horseghostbox.duplicateMovieClip("horseghostbox" + _global.derp, _global.derp);
_root["horseghostbox" + _global.derp]._x = _parent._x;
_root["horseghostbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.horseghostdamage;
}
if (zerospikehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.zerospikebox.duplicateMovieClip("zerospikebox" + _global.derp, _global.derp);
_root["zerospikebox" + _global.derp]._x = _parent._x;
_root["zerospikebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikedamage;
}
if (zerospikeexplosionhurt == true) {
nohitstun = false;
trace("ass");
_root.beam3.start();
_root.zerospikeexplosionbox.duplicateMovieClip("zerospikeexplosionbox" + _global.derp, _global.derp);
_root["zerospikeexplosionbox" + _global.derp]._x = _parent._x;
_root["zerospikeexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikeexplosiondamage;
}
if (ripperhurt == true) {
nohitstun = true;
_root.jonathan_hit.start();
_root.ripperbox.duplicateMovieClip("ripperbox" + _global.derp, _global.derp);
_root["ripperbox" + _global.derp]._x = _parent._x;
_root["ripperbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperdamage;
}
if (ripperexplosionhurt == true) {
nohitstun = false;
_root.jonathan_hit.start();
_root.ripperexplosionbox.duplicateMovieClip("ripperexplosionbox" + _global.derp, _global.derp);
_root["ripperexplosionbox" + _global.derp]._x = _parent._x;
_root["ripperexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperexplosiondamage;
}
if (stumphurt == true) {
_root.jonathan_hit.start();
_root.stumpbox.duplicateMovieClip("stumpbox" + _global.derp, _global.derp);
_root["stumpbox" + _global.derp]._x = _parent._x;
_root["stumpbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.stumpdamage;
}
if (zerospikeexplosionhurt5 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox5.duplicateMovieClip("blanksubweaponbox5" + _global.derp, _global.derp);
_root["blanksubweaponbox5" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox5" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage5;
}
if (zerospikeexplosionhurt6 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox6.duplicateMovieClip("blanksubweaponbox6" + _global.derp, _global.derp);
_root["blanksubweaponbox6" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox6" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage6;
}
if (knifehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.knifebox.duplicateMovieClip("knifebox" + _global.derp, _global.derp);
_root["knifebox" + _global.derp]._x = _parent._x;
_root["knifebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.knifedamage;
}
if (crosshurt == true) {
nohitstun = true;
_root.knife_hit2.start();
_root.crossbox.duplicateMovieClip("crossbox" + _global.derp, _global.derp);
_root["crossbox" + _global.derp]._x = _parent._x;
_root["crossbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.crossdamage;
}
if (shoryukenhurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.shoryukenbox.duplicateMovieClip("shoryukenbox" + _global.derp, _global.derp);
_root["shoryukenbox" + _global.derp]._x = _parent._x;
_root["shoryukenbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.shoryu_damage;
}
if (fireballhurt == true) {
_root.bump_sound.start();
_root.fireballbox.duplicateMovieClip("fireballbox" + _global.derp, _global.derp);
_root["fireballbox" + _global.derp]._x = _parent._x;
_root["fireballbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
if (maxhealth <= 66) {
death = true;
}
if (maxhealth >= 66.01) {
health = health - _global.fireball_damage;
}
}
}
if ((crosshurt == true) and (hurt_timer > 2.5)) {
crosstimer++;
if (crosstimer >= 6) {
hurt = false;
}
}
if (_global.Aholdcount >= 12) {
nohitstun = true;
}
if (whiphurt == true) {
if ((_global.Aholdcount <= 5) and (_global.damagedisable == false)) {
nohitstun = false;
}
}
if ((knifehurt == true) and (hurt_timer > 2.5)) {
knifetimer++;
if (knifetimer >= 1) {
hurt = false;
}
}
if ((horseghosthurt == true) and (hurt_timer > 2.5)) {
horseghosttimer++;
if (horseghosttimer >= 7) {
hurt = false;
}
}
if ((zerospikehurt == true) and (hurt_timer > 2.5)) {
zerospiketimer++;
nohitstun = true;
if (zerospiketimer >= 8) {
hurt = false;
}
}
if ((zerospikeexplosionhurt == true) and (hurt_timer > 2.5)) {
zeroexplosiontimer++;
if (zeroexplosiontimer >= 10) {
hurt = false;
}
}
if ((ripperhurt == true) and (hurt_timer > 2.5)) {
nohitstun = true;
rippertimer++;
if (rippertimer >= 4) {
hurt = false;
}
}
if ((ripperexplosionhurt == true) and (hurt_timer > 2.5)) {
ripperexplosiontimer++;
if (ripperexplosiontimer >= 4) {
hurt = false;
}
}
if ((stumphurt == true) and (hurt_timer > 2.5)) {
stumptimer++;
if (stumptimer >= 6) {
hurt = false;
}
}
if ((zerospikeexplosionhurt5 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer5++;
if (blanksubweapontimer5 >= 4) {
hurt = false;
}
}
if ((zerospikeexplosionhurt6 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer6++;
if (blanksubweapontimer6 >= 4) {
hurt = false;
}
}
if ((fireballhurt == true) and (hurt_timer > 2.5)) {
fireballtimer++;
if (fireballtimer >= 1) {
hurt = false;
}
}
if ((shoryukenhurt == true) and (hurt_timer > 2.5)) {
shoryukentimer++;
if (shoryukentimer >= 45) {
hurt = false;
}
}
if ((health <= (maxhealth - 5)) and (death == false)) {
_parent.health_bar._visible = true;
_parent.hb2._visible = true;
}
if (hurt == false) {
nohitstun = true;
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
stumptimer = 0;
zerospikeexplosionhurt6 = false;
blanksubweapontimer = 0;
rippertimer = 0;
ripperexplosiontimer = 0;
stumptimer = 0;
blanksubweapontimer5 = 0;
blanksubweapontimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
knifetimer = 0;
whiptimer = 0;
shoryukentimer = 0;
hurt = false;
hurt_timer = 0;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (this.hitTest(_root["zl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache])) {
if (hurt == false) {
_root["kl" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
if (hurt == false) {
_root["kl" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
if (hurt == false) {
_root["kl" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
if (hurt == false) {
_root["kl" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
if (hurt == false) {
_root["kl" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
if (hurt == false) {
_root["kl" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
if (hurt == false) {
_root["kl" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
if (hurt == false) {
_root["kl" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
if (hurt == false) {
_root["kl" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
if (hurt == false) {
_root["kl" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
if (hurt == false) {
_root["kr" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
if (hurt == false) {
_root["kr" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
if (hurt == false) {
_root["kr" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
if (hurt == false) {
_root["kr" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
if (hurt == false) {
_root["kr" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
if (hurt == false) {
_root["kr" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
if (hurt == false) {
_root["kr" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
if (hurt == false) {
_root["kr" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
if (hurt == false) {
_root["kr" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
if (hurt == false) {
_root["kr" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache])) {
if (hurt == false) {
_root["fl" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache2])) {
if (hurt == false) {
_root["fl" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache3])) {
if (hurt == false) {
_root["fl" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache4])) {
if (hurt == false) {
_root["fl" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache5])) {
if (hurt == false) {
_root["fl" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache6])) {
if (hurt == false) {
_root["fl" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache7])) {
if (hurt == false) {
_root["fl" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache8])) {
if (hurt == false) {
_root["fl" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache9])) {
if (hurt == false) {
_root["fl" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache10])) {
if (hurt == false) {
_root["fl" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache])) {
if (hurt == false) {
_root["fr" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache2])) {
if (hurt == false) {
_root["fr" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache3])) {
if (hurt == false) {
_root["fr" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache4])) {
if (hurt == false) {
_root["fr" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache5])) {
if (hurt == false) {
_root["fr" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache6])) {
if (hurt == false) {
_root["fr" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache7])) {
if (hurt == false) {
_root["fr" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache8])) {
if (hurt == false) {
_root["fr" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache9])) {
if (hurt == false) {
_root["fr" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache10])) {
if (hurt == false) {
_root["fr" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (_parent.hitTest(_root.jonathan.whipping.whip) and (hurt == false)) {
whiphurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.shoryuken.shoryuhitbox) and (hurt == false)) {
shoryukenhurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (_global.damagedisable == true) {
nohitstun = true;
}
if (nohitstun == false) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
speed = 0;
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_left");
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
speed = 0;
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_right");
}
}
if (nohitstun == true) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_left");
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
this.gotoAndStop("hurt_right");
}
}
if (health <= 0) {
death = true;
}
if (death == true) {
hurt = false;
hurt_timer = 50;
_parent.health_bar._visible = false;
this.gotoAndStop("die");
}
if (_root.bg.hitTest(_parent._x - 28, _parent._y - 25, true) and (facing_direction == "left")) {
movement_timer = movement_timer_value + 1;
}
if (_root.bg.hitTest(_parent._x + 28, _parent._y - 25, true) and (facing_direction == "right")) {
movement_timer = movement_timer_value + 1;
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 1;
gravity = 2;
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if (_root.bg.hitTest(_parent._x - 35, _parent._y - 15, true)) {
if ((facing_direction == "left") and (death == false)) {
facing_direction = "right";
}
_parent._x = _parent._x + 7;
}
if (_root.bg.hitTest(_parent._x + 35, _parent._y - 15, true)) {
if ((facing_direction == "right") and (death == false)) {
facing_direction = "left";
}
_parent._x = _parent._x - 7;
}
}
if (_root.bg.hitTest(_parent._x, _parent._y + 5, true)) {
if ((facing_direction == "left") and (death == false)) {
if (nohitstun == true) {
speed = -2;
}
if (hurt == false) {
this.gotoAndStop("move_left");
}
}
if ((facing_direction == "right") and (death == false)) {
if (nohitstun == true) {
speed = 2;
}
if (hurt == false) {
this.gotoAndStop("move_right");
}
}
}
if (death == false) {
if ((_parent.hitTest(_root.jonathan.hitbox) and (_global.jv >= 2)) and (maxhealth <= 65)) {
}
if ((_parent.hitTest(_root.jonathan.hitbox) and (_global.jv >= 2)) and (maxhealth >= 66)) {
}
}
}
Symbol 889 MovieClip Frame 8
stop();
Symbol 894 MovieClip Frame 8
stop();
Symbol 895 MovieClip Frame 1
stop();
Instance of Symbol 481 MovieClip in Symbol 895 MovieClip Frame 33
onClipEvent (load) {
_root.horsedash.start();
}
Instance of Symbol 894 MovieClip in Symbol 895 MovieClip Frame 46
onClipEvent (load) {
timer = 0;
_root.explosion3.start();
_root.horsedie.start();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 10) {
_root.exp_stump.duplicateMovieClip("lol" + _global.derp, _global.derp);
_root["lol" + _global.derp]._x = _parent._parent._x;
_root["lol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart.duplicateMovieClip("heartlol" + _global.derp, _global.derp);
_root["heartlol" + _global.derp]._x = _parent._parent._x;
_root["heartlol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_parent._parent.unloadMovie();
}
}
Instance of Symbol 481 MovieClip in Symbol 895 MovieClip Frame 96
onClipEvent (load) {
_root.horsedash.start();
}
Instance of Symbol 894 MovieClip in Symbol 895 MovieClip Frame 123
onClipEvent (load) {
timer = 0;
_root.explosion3.start();
_root.horsedie.start();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 10) {
_root.exp_stump.duplicateMovieClip("lol" + _global.derp, _global.derp);
_root["lol" + _global.derp]._x = _parent._parent._x;
_root["lol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart.duplicateMovieClip("heartlol" + _global.derp, _global.derp);
_root["heartlol" + _global.derp]._x = _parent._parent._x;
_root["heartlol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_parent._parent.unloadMovie();
}
}
Instance of Symbol 895 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
whipvar = Math.random(1);
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
zerospikeexplosionhurt5 = false;
zerospikeexplosionhurt6 = false;
rippertimer = 0;
stumptimer = 0;
rippertimer3 = 0;
rippertimer4 = 0;
rippertimer5 = 0;
rippertimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
nohitstun = false;
knifetimer = 0;
whiptimer = 0;
hurt = false;
hurt_timer = 0;
shoryukentimer = 0;
maxhealth = _parent.healthmax;
health = maxhealth;
death = false;
multiplyvariable = 36 / maxhealth;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
dash = false;
dashtimer = 0;
dashable = true;
movement_phase = 0;
speed = 0;
turning = false;
switchdirections = false;
turningtimer = 0;
facing_direction = "left";
movement_speed = 0;
gravity = 0;
power = 2;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
characterhurttimer = 0;
hitthecharacter = false;
}
onClipEvent (enterFrame) {
if (hitthecharacter == true) {
characterhurttimer++;
}
if (characterhurttimer >= 80) {
hitthecharacter = false;
}
if (hitthecharacter == false) {
characterhurttimer = 0;
}
multiplyvariable = 36 / maxhealth;
_parent.health_bar._width = (health / maxhealth) * 36;
if ((hurt_timer >= 2) and (hurt_timer <= 2.01)) {
if (whiphurt == true) {
whipvar = Math.random(1);
if (whipvar <= 0.5) {
_root.xhitsound.start();
}
if (whipvar >= 0.5000001) {
_root.xhitsound2.start();
}
_root.box.duplicateMovieClip("boxy" + _global.derp, _global.derp);
_root["boxy" + _global.derp]._x = _parent._x;
_root["boxy" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.damage;
}
if (holywaterhurt == true) {
nohitstun = false;
_root.beam.start();
_root.holywaterbox.duplicateMovieClip("holywaterbox" + _global.derp, _global.derp);
_root["holywaterbox" + _global.derp]._x = _parent._x;
_root["holywaterbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.holywaterdamage;
hurt = false;
}
if (horseghosthurt == true) {
nohitstun = false;
_root.beam3.start();
_root.horseghostbox.duplicateMovieClip("horseghostbox" + _global.derp, _global.derp);
_root["horseghostbox" + _global.derp]._x = _parent._x;
_root["horseghostbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.horseghostdamage;
}
if (zerospikehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.zerospikebox.duplicateMovieClip("zerospikebox" + _global.derp, _global.derp);
_root["zerospikebox" + _global.derp]._x = _parent._x;
_root["zerospikebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikedamage;
}
if (zerospikeexplosionhurt == true) {
nohitstun = false;
trace("ass");
_root.beam3.start();
_root.zerospikeexplosionbox.duplicateMovieClip("zerospikeexplosionbox" + _global.derp, _global.derp);
_root["zerospikeexplosionbox" + _global.derp]._x = _parent._x;
_root["zerospikeexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikeexplosiondamage;
}
if (ripperhurt == true) {
nohitstun = true;
_root.jonathan_hit.start();
_root.ripperbox.duplicateMovieClip("ripperbox" + _global.derp, _global.derp);
_root["ripperbox" + _global.derp]._x = _parent._x;
_root["ripperbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperdamage;
}
if (ripperexplosionhurt == true) {
nohitstun = false;
_root.jonathan_hit.start();
_root.ripperexplosionbox.duplicateMovieClip("ripperexplosionbox" + _global.derp, _global.derp);
_root["ripperexplosionbox" + _global.derp]._x = _parent._x;
_root["ripperexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperexplosiondamage;
}
if (stumphurt == true) {
_root.jonathan_hit.start();
_root.stumpbox.duplicateMovieClip("stumpbox" + _global.derp, _global.derp);
_root["stumpbox" + _global.derp]._x = _parent._x;
_root["stumpbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.stumpdamage;
}
if (zerospikeexplosionhurt5 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox5.duplicateMovieClip("blanksubweaponbox5" + _global.derp, _global.derp);
_root["blanksubweaponbox5" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox5" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage5;
}
if (zerospikeexplosionhurt6 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox6.duplicateMovieClip("blanksubweaponbox6" + _global.derp, _global.derp);
_root["blanksubweaponbox6" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox6" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage6;
}
if (knifehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.knifebox.duplicateMovieClip("knifebox" + _global.derp, _global.derp);
_root["knifebox" + _global.derp]._x = _parent._x;
_root["knifebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.knifedamage;
}
if (crosshurt == true) {
nohitstun = true;
_root.knife_hit2.start();
_root.crossbox.duplicateMovieClip("crossbox" + _global.derp, _global.derp);
_root["crossbox" + _global.derp]._x = _parent._x;
_root["crossbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.crossdamage;
}
if (shoryukenhurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.shoryukenbox.duplicateMovieClip("shoryukenbox" + _global.derp, _global.derp);
_root["shoryukenbox" + _global.derp]._x = _parent._x;
_root["shoryukenbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.shoryu_damage;
}
if (fireballhurt == true) {
_root.bump_sound.start();
_root.fireballbox.duplicateMovieClip("fireballbox" + _global.derp, _global.derp);
_root["fireballbox" + _global.derp]._x = _parent._x;
_root["fireballbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
if (maxhealth <= 66) {
death = true;
}
if (maxhealth >= 66.01) {
health = health - _global.fireball_damage;
}
}
}
if ((crosshurt == true) and (hurt_timer > 2.5)) {
crosstimer++;
if (crosstimer >= 6) {
hurt = false;
}
}
if (_global.Aholdcount >= 12) {
nohitstun = true;
}
if (whiphurt == true) {
if ((_global.Aholdcount <= 5) and (_global.damagedisable == false)) {
nohitstun = false;
}
}
if ((knifehurt == true) and (hurt_timer > 2.5)) {
knifetimer++;
if (knifetimer >= 1) {
hurt = false;
}
}
if ((horseghosthurt == true) and (hurt_timer > 2.5)) {
horseghosttimer++;
if (horseghosttimer >= 7) {
hurt = false;
}
}
if ((zerospikehurt == true) and (hurt_timer > 2.5)) {
zerospiketimer++;
nohitstun = true;
if (zerospiketimer >= 8) {
hurt = false;
}
}
if ((zerospikeexplosionhurt == true) and (hurt_timer > 2.5)) {
zeroexplosiontimer++;
if (zeroexplosiontimer >= 10) {
hurt = false;
}
}
if ((ripperhurt == true) and (hurt_timer > 2.5)) {
nohitstun = true;
rippertimer++;
if (rippertimer >= 4) {
hurt = false;
}
}
if ((ripperexplosionhurt == true) and (hurt_timer > 2.5)) {
ripperexplosiontimer++;
if (ripperexplosiontimer >= 4) {
hurt = false;
}
}
if ((stumphurt == true) and (hurt_timer > 2.5)) {
stumptimer++;
if (stumptimer >= 6) {
hurt = false;
}
}
if ((zerospikeexplosionhurt5 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer5++;
if (blanksubweapontimer5 >= 4) {
hurt = false;
}
}
if ((zerospikeexplosionhurt6 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer6++;
if (blanksubweapontimer6 >= 4) {
hurt = false;
}
}
if ((fireballhurt == true) and (hurt_timer > 2.5)) {
fireballtimer++;
if (fireballtimer >= 1) {
hurt = false;
}
}
if ((shoryukenhurt == true) and (hurt_timer > 2.5)) {
shoryukentimer++;
if (shoryukentimer >= 45) {
hurt = false;
}
}
if ((health <= (maxhealth - 5)) and (death == false)) {
_parent.health_bar._visible = true;
_parent.hb2._visible = true;
}
if (hurt == false) {
nohitstun = true;
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
stumptimer = 0;
zerospikeexplosionhurt6 = false;
blanksubweapontimer = 0;
rippertimer = 0;
ripperexplosiontimer = 0;
stumptimer = 0;
blanksubweapontimer5 = 0;
blanksubweapontimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
knifetimer = 0;
whiptimer = 0;
shoryukentimer = 0;
hurt = false;
hurt_timer = 0;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (this.hitTest(_root["zl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache])) {
if (hurt == false) {
_root["kl" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
if (hurt == false) {
_root["kl" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
if (hurt == false) {
_root["kl" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
if (hurt == false) {
_root["kl" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
if (hurt == false) {
_root["kl" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
if (hurt == false) {
_root["kl" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
if (hurt == false) {
_root["kl" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
if (hurt == false) {
_root["kl" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
if (hurt == false) {
_root["kl" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
if (hurt == false) {
_root["kl" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
if (hurt == false) {
_root["kr" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
if (hurt == false) {
_root["kr" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
if (hurt == false) {
_root["kr" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
if (hurt == false) {
_root["kr" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
if (hurt == false) {
_root["kr" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
if (hurt == false) {
_root["kr" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
if (hurt == false) {
_root["kr" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
if (hurt == false) {
_root["kr" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
if (hurt == false) {
_root["kr" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
if (hurt == false) {
_root["kr" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache])) {
if (hurt == false) {
_root["fl" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache2])) {
if (hurt == false) {
_root["fl" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache3])) {
if (hurt == false) {
_root["fl" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache4])) {
if (hurt == false) {
_root["fl" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache5])) {
if (hurt == false) {
_root["fl" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache6])) {
if (hurt == false) {
_root["fl" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache7])) {
if (hurt == false) {
_root["fl" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache8])) {
if (hurt == false) {
_root["fl" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache9])) {
if (hurt == false) {
_root["fl" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache10])) {
if (hurt == false) {
_root["fl" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache])) {
if (hurt == false) {
_root["fr" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache2])) {
if (hurt == false) {
_root["fr" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache3])) {
if (hurt == false) {
_root["fr" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache4])) {
if (hurt == false) {
_root["fr" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache5])) {
if (hurt == false) {
_root["fr" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache6])) {
if (hurt == false) {
_root["fr" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache7])) {
if (hurt == false) {
_root["fr" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache8])) {
if (hurt == false) {
_root["fr" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache9])) {
if (hurt == false) {
_root["fr" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache10])) {
if (hurt == false) {
_root["fr" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (_parent.hitTest(_root.jonathan.whipping.whip) and (hurt == false)) {
whiphurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.shoryuken.shoryuhitbox) and (hurt == false)) {
shoryukenhurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
hitthecharacter = true;
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
hitthecharacter = true;
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 25;
_global.maincharhurt = true;
}
}
}
}
if (_global.damagedisable == true) {
nohitstun = true;
}
if (_root.bg.hitTest(_parent._x - 28, _parent._y - 25, true) and (facing_direction == "left")) {
movement_timer = movement_timer_value + 1;
}
if (_root.bg.hitTest(_parent._x + 28, _parent._y - 25, true) and (facing_direction == "right")) {
movement_timer = movement_timer_value + 1;
}
if (nohitstun == false) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
}
if (nohitstun == true) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
hurt = false;
}
}
}
if (health <= 0) {
death = true;
}
if (death == true) {
hurt = false;
hurt_timer = 50;
_parent.health_bar._visible = false;
if (facing_direction == "left") {
this.gotoAndStop("dieleft");
}
if (facing_direction == "right") {
this.gotoAndStop("dieright");
}
}
if (death == false) {
if (_parent._x <= _root.jonathan._x) {
if (facing_direction == "right") {
facing_direction = "right";
}
if (facing_direction == "left") {
if (switchdirections == true) {
facing_direction = "right";
switchdirections = false;
}
if (switchdirections == false) {
turning = true;
}
}
if (hitthecharacter == false) {
_parent._x = _parent._x + 2;
}
if (hitthecharacter == true) {
_parent._x = _parent._x - 2;
}
}
if (_parent._x >= _root.jonathan._x) {
if (facing_direction == "left") {
facing_direction = "left";
}
if (facing_direction == "right") {
if (switchdirections == true) {
facing_direction = "left";
switchdirections = false;
}
if (switchdirections == false) {
turning = true;
}
}
if (hitthecharacter == false) {
_parent._x = _parent._x - 2;
}
if (hitthecharacter == true) {
_parent._x = _parent._x + 2;
}
}
if (_parent._y >= (_root.jonathan._y - 75)) {
_parent._y = _parent._y - 2;
}
if (_parent._y <= (_root.jonathan._y - 75)) {
_parent._y = _parent._y + 2;
}
if ((((_parent._x <= (_root.jonathan._x + 150)) and (_parent._x >= (_root.jonathan._x - 150))) and (_parent._y <= (_root.jonathan._y + 150))) and (_parent._y >= (_root.jonathan._y - 150))) {
if ((dash == false) and (dashable == true)) {
dash = true;
}
}
}
if (((hurt == false) and (death == false)) and (dash == false)) {
if (turning == false) {
turningtimer = 0;
if (facing_direction == "left") {
this.gotoAndStop("facing_left");
}
if (facing_direction == "right") {
this.gotoAndStop("facing_right");
}
}
if (turning == true) {
turningtimer++;
if (turningtimer >= 12) {
switchdirections = true;
turning = false;
}
if (turningtimer <= 11) {
if (facing_direction == "left") {
this.gotoAndStop("turninglefttoright");
}
if (facing_direction == "right") {
this.gotoAndStop("turningrighttoleft");
}
}
}
}
if (dashable == true) {
dashabletimer = 0;
}
if (dash == false) {
if (dashable == false) {
dashabletimer++;
if (dashabletimer >= 45) {
dashable = true;
}
}
dashtimer = 0;
}
if ((dash == true) and (death == false)) {
dashtimer++;
if (dashtimer >= 40) {
dashable = false;
dash = false;
}
if (hitthecharacter == false) {
if ((_parent._x <= (_root.jonathan._x + 150)) and (_parent._x >= _root.jonathan._x)) {
_parent._x = _parent._x - 5;
}
if ((_parent._x >= (_root.jonathan._x - 150)) and (_parent._x <= _root.jonathan._x)) {
_parent._x = _parent._x + 5;
}
}
if (facing_direction == "left") {
this.gotoAndStop("dashleft");
}
if (facing_direction == "right") {
this.gotoAndStop("dashright");
}
}
}
Instance of Symbol 860 MovieClip "explosion" in Symbol 898 MovieClip Frame 28
onClipEvent (load) {
timer = 0;
_root.explosion3.start();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 10) {
_parent._parent.unloadMovie();
}
}
Instance of Symbol 898 MovieClip "zero" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
facing = "left";
gravity = 2;
speed = -3;
maxspeedleft = -4;
maxspeedright = 4;
hitground = false;
timer = 0;
dead = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 60) and (!_parent.hitTest(_root.square))) {
dead = true;
}
if (dead == false) {
if (!_root.bg.hitTest(_parent._x - 5, _parent._y - 8, true)) {
_parent._x = _parent._x + speed;
}
_parent._y = _parent._y + gravity;
if (facing == "right") {
this.gotoAndStop("facing_right");
if (speed <= maxspeedright) {
speed = speed + 0.5;
}
}
if (facing == "left") {
this.gotoAndStop("facing_left");
if (speed >= maxspeedleft) {
speed = speed - 0.5;
}
}
}
if (dead == true) {
if (facing == "left") {
this.gotoAndStop("die_left");
}
if (facing == "right") {
this.gotoAndStop("die_right");
}
}
if (_root.bg.hitTest(_parent._x - 32, _parent._y - 30, true) and (facing == "left")) {
facing = "right";
}
if (_root.bg.hitTest(_parent._x + 32, _parent._y - 30, true) and (facing == "right")) {
facing = "left";
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (hitground == false) {
hitground = true;
}
_parent._y = _parent._y - 1;
gravity = 2;
}
}
}
Instance of Symbol 898 MovieClip "zero" in Symbol 900 MovieClip Frame 1
onClipEvent (load) {
facing = "right";
gravity = 2;
speed = 3;
maxspeedleft = -4;
maxspeedright = 4;
hitground = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 60) and (!_parent.hitTest(_root.square))) {
dead = true;
}
if (dead == false) {
if (!_root.bg.hitTest(_parent._x - 5, _parent._y - 8, true)) {
_parent._x = _parent._x + speed;
}
_parent._y = _parent._y + gravity;
if (facing == "right") {
this.gotoAndStop("facing_right");
if (speed <= maxspeedright) {
speed = speed + 0.5;
}
}
if (facing == "left") {
this.gotoAndStop("facing_left");
if (speed >= maxspeedleft) {
speed = speed - 0.5;
}
}
}
if (dead == true) {
if (facing == "left") {
this.gotoAndStop("die_left");
}
if (facing == "right") {
this.gotoAndStop("die_right");
}
}
if (_root.bg.hitTest(_parent._x - 32, _parent._y - 30, true) and (facing == "left")) {
facing = "right";
}
if (_root.bg.hitTest(_parent._x + 32, _parent._y - 30, true) and (facing == "right")) {
facing = "left";
}
if (!_root.bg.hitTest(_parent._x, _parent._y + 2, true)) {
if (gravity <= 8) {
gravity = gravity + 0.5;
}
} else {
while (_root.bg.hitTest(_parent._x, _parent._y, true)) {
if (hitground == false) {
hitground = true;
}
_parent._y = _parent._y - 1;
gravity = 2;
}
}
}
Symbol 905 MovieClip Frame 1
stop();
Instance of Symbol 504 MovieClip in Symbol 905 MovieClip Frame 38
onClipEvent (load) {
timer = 0;
_root.explosion3.start();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 10) {
_root.exp_stump.duplicateMovieClip("lol" + _global.derp, _global.derp);
_root["lol" + _global.derp]._x = _parent._parent._x;
_root["lol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_root.heart.duplicateMovieClip("heartlol" + _global.derp, _global.derp);
_root["heartlol" + _global.derp]._x = _parent._parent._x;
_root["heartlol" + _global.derp]._y = _parent._parent._y - 35;
_global.derp = _global.derp + 20;
_parent._parent.unloadMovie();
}
}
Instance of Symbol 905 MovieClip in Symbol 906 MovieClip Frame 1
onClipEvent (load) {
facing = "left";
speed = 4;
turntimer = 0;
whipvar = Math.random(1);
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
zerospikeexplosionhurt5 = false;
zerospikeexplosionhurt6 = false;
rippertimer = 0;
stumptimer = 0;
rippertimer3 = 0;
rippertimer4 = 0;
rippertimer5 = 0;
rippertimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
nohitstun = false;
knifetimer = 0;
whiptimer = 0;
hurt = false;
hurt_timer = 0;
shoryukentimer = 0;
maxhealth = _parent.healthmax;
health = maxhealth;
death = false;
multiplyvariable = 36 / maxhealth;
_parent.health_bar._visible = false;
_parent.hb2._visible = false;
}
onClipEvent (enterFrame) {
multiplyvariable = 36 / maxhealth;
_parent.health_bar._width = (health / maxhealth) * 36;
if (_parent.hitTest(_root.jonathan.whipping.whip) and (hurt == false)) {
whiphurt = true;
hurt = true;
}
if (_parent.hitTest(_root.jonathan.shoryuken.shoryuhitbox) and (hurt == false)) {
shoryukenhurt = true;
hurt = true;
}
if (_global.damagedisable == true) {
nohitstun = true;
}
if ((hurt_timer >= 2) and (hurt_timer <= 2.01)) {
if (whiphurt == true) {
whipvar = Math.random(1);
if (whipvar <= 0.5) {
_root.xhitsound.start();
}
if (whipvar >= 0.5000001) {
_root.xhitsound2.start();
}
_root.box.duplicateMovieClip("boxy" + _global.derp, _global.derp);
_root["boxy" + _global.derp]._x = _parent._x;
_root["boxy" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.damage;
}
if (holywaterhurt == true) {
nohitstun = false;
_root.beam.start();
_root.holywaterbox.duplicateMovieClip("holywaterbox" + _global.derp, _global.derp);
_root["holywaterbox" + _global.derp]._x = _parent._x;
_root["holywaterbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.holywaterdamage;
hurt = false;
}
if (horseghosthurt == true) {
nohitstun = false;
_root.beam3.start();
_root.horseghostbox.duplicateMovieClip("horseghostbox" + _global.derp, _global.derp);
_root["horseghostbox" + _global.derp]._x = _parent._x;
_root["horseghostbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.horseghostdamage;
}
if (zerospikehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.zerospikebox.duplicateMovieClip("zerospikebox" + _global.derp, _global.derp);
_root["zerospikebox" + _global.derp]._x = _parent._x;
_root["zerospikebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikedamage;
}
if (zerospikeexplosionhurt == true) {
nohitstun = false;
trace("ass");
_root.beam3.start();
_root.zerospikeexplosionbox.duplicateMovieClip("zerospikeexplosionbox" + _global.derp, _global.derp);
_root["zerospikeexplosionbox" + _global.derp]._x = _parent._x;
_root["zerospikeexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.zerospikeexplosiondamage;
}
if (ripperhurt == true) {
nohitstun = true;
_root.jonathan_hit.start();
_root.ripperbox.duplicateMovieClip("ripperbox" + _global.derp, _global.derp);
_root["ripperbox" + _global.derp]._x = _parent._x;
_root["ripperbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperdamage;
}
if (ripperexplosionhurt == true) {
nohitstun = false;
_root.jonathan_hit.start();
_root.ripperexplosionbox.duplicateMovieClip("ripperexplosionbox" + _global.derp, _global.derp);
_root["ripperexplosionbox" + _global.derp]._x = _parent._x;
_root["ripperexplosionbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.ripperexplosiondamage;
}
if (stumphurt == true) {
_root.jonathan_hit.start();
_root.stumpbox.duplicateMovieClip("stumpbox" + _global.derp, _global.derp);
_root["stumpbox" + _global.derp]._x = _parent._x;
_root["stumpbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.stumpdamage;
}
if (zerospikeexplosionhurt5 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox5.duplicateMovieClip("blanksubweaponbox5" + _global.derp, _global.derp);
_root["blanksubweaponbox5" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox5" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage5;
}
if (zerospikeexplosionhurt6 == true) {
_root.jonathan_hit.start();
_root.blanksubweaponbox6.duplicateMovieClip("blanksubweaponbox6" + _global.derp, _global.derp);
_root["blanksubweaponbox6" + _global.derp]._x = _parent._x;
_root["blanksubweaponbox6" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.blanksubweapondamage6;
}
if (knifehurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.knifebox.duplicateMovieClip("knifebox" + _global.derp, _global.derp);
_root["knifebox" + _global.derp]._x = _parent._x;
_root["knifebox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.knifedamage;
}
if (crosshurt == true) {
nohitstun = true;
_root.knife_hit2.start();
_root.crossbox.duplicateMovieClip("crossbox" + _global.derp, _global.derp);
_root["crossbox" + _global.derp]._x = _parent._x;
_root["crossbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.crossdamage;
}
if (shoryukenhurt == true) {
nohitstun = false;
_root.knife_hit2.start();
_root.shoryukenbox.duplicateMovieClip("shoryukenbox" + _global.derp, _global.derp);
_root["shoryukenbox" + _global.derp]._x = _parent._x;
_root["shoryukenbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
health = health - _global.shoryu_damage;
}
if (fireballhurt == true) {
_root.bump_sound.start();
_root.fireballbox.duplicateMovieClip("fireballbox" + _global.derp, _global.derp);
_root["fireballbox" + _global.derp]._x = _parent._x;
_root["fireballbox" + _global.derp]._y = _parent._y - 35;
_global.derp = _global.derp + 20;
if (maxhealth <= 66) {
death = true;
}
if (maxhealth >= 66.01) {
health = health - _global.fireball_damage;
}
}
}
if ((crosshurt == true) and (hurt_timer > 2.5)) {
crosstimer++;
if (crosstimer >= 6) {
hurt = false;
}
}
if (_global.Aholdcount >= 12) {
nohitstun = true;
}
if (whiphurt == true) {
if ((_global.Aholdcount <= 5) and (_global.damagedisable == false)) {
nohitstun = false;
}
}
if ((knifehurt == true) and (hurt_timer > 2.5)) {
knifetimer++;
if (knifetimer >= 1) {
hurt = false;
}
}
if ((horseghosthurt == true) and (hurt_timer > 2.5)) {
horseghosttimer++;
if (horseghosttimer >= 7) {
hurt = false;
}
}
if ((zerospikehurt == true) and (hurt_timer > 2.5)) {
zerospiketimer++;
nohitstun = true;
if (zerospiketimer >= 8) {
hurt = false;
}
}
if ((zerospikeexplosionhurt == true) and (hurt_timer > 2.5)) {
zeroexplosiontimer++;
if (zeroexplosiontimer >= 10) {
hurt = false;
}
}
if ((ripperhurt == true) and (hurt_timer > 2.5)) {
nohitstun = true;
rippertimer++;
if (rippertimer >= 4) {
hurt = false;
}
}
if ((ripperexplosionhurt == true) and (hurt_timer > 2.5)) {
ripperexplosiontimer++;
if (ripperexplosiontimer >= 4) {
hurt = false;
}
}
if ((stumphurt == true) and (hurt_timer > 2.5)) {
stumptimer++;
if (stumptimer >= 6) {
hurt = false;
}
}
if ((zerospikeexplosionhurt5 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer5++;
if (blanksubweapontimer5 >= 4) {
hurt = false;
}
}
if ((zerospikeexplosionhurt6 == true) and (hurt_timer > 2.5)) {
blanksubweapontimer6++;
if (blanksubweapontimer6 >= 4) {
hurt = false;
}
}
if ((fireballhurt == true) and (hurt_timer > 2.5)) {
fireballtimer++;
if (fireballtimer >= 1) {
hurt = false;
}
}
if ((shoryukenhurt == true) and (hurt_timer > 2.5)) {
shoryukentimer++;
if (shoryukentimer >= 45) {
hurt = false;
}
}
if ((health <= (maxhealth - 5)) and (death == false)) {
_parent.health_bar._visible = true;
_parent.hb2._visible = true;
}
if (hurt == false) {
nohitstun = true;
whiphurt = false;
zerospikehurt = false;
zerospiketimer = 0;
zerospikeexplosionhurt = false;
zerospikeexplosiontimer = 0;
zerospikeexplosionhurt = false;
ripperhurt = false;
ripperexplosionhurt = false;
stumphurt = false;
stumptimer = 0;
zerospikeexplosionhurt6 = false;
blanksubweapontimer = 0;
rippertimer = 0;
ripperexplosiontimer = 0;
stumptimer = 0;
blanksubweapontimer5 = 0;
blanksubweapontimer6 = 0;
horseghosthurt = false;
horseghosttimer = 0;
holywaterhurt = false;
shoryukenhurt = false;
fireballhurt = false;
knifehurt = false;
crosshurt = false;
crosstimer = 0;
fireballtimer = 0;
knifetimer = 0;
whiptimer = 0;
shoryukentimer = 0;
hurt = false;
hurt_timer = 0;
}
if (_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (!_parent.hitTest(_root.jonathan.whipping.whip)) {
if (this.hitTest(_root.jonathan.hitbox)) {
if ((_global.backdashingcount <= 0) and (death == false)) {
if (((_global.recoverystart == false) and (_global.maincharhurt == false)) and (_global.jv <= 1)) {
_global.health = _global.health - 30;
_global.maincharhurt = true;
}
}
}
}
if (this.hitTest(_root["zl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zl" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache2].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache3].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache4].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache5].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache6].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache7].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache8].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache9].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["zr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = true;
}
if (!this.hitTest(_root["zr" + _global.dupecache10].zero.explosion)) {
zerospikeexplosionhurt = false;
}
zerospikehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rl" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rl" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache2])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache2].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache3])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache3].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache4])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache4].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache5])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache5].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache6])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache6].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache7])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache7].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache8])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache8].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache9])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache9].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["rr" + _global.dupecache10])) {
if (hurt == false) {
if (this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = true;
}
if (!this.hitTest(_root["rr" + _global.dupecache10].ripper.explosion)) {
ripperexplosionhurt = false;
}
ripperhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwl" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache2])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache3])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache4])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache5])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache6])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache7])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache8])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache9])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hwr" + _global.dupecache10])) {
if (hurt == false) {
holywaterhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hl" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache2])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache3])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache4])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache5])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache6])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache7])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache8])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache9])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["hr" + _global.dupecache10])) {
if (hurt == false) {
horseghosthurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sl" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache2])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache3])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache4])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache5])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache6])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache7])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache8])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache9])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["sr" + _global.dupecache10])) {
if (hurt == false) {
stumphurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache])) {
if (hurt == false) {
_root["kl" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache2])) {
if (hurt == false) {
_root["kl" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache3])) {
if (hurt == false) {
_root["kl" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache4])) {
if (hurt == false) {
_root["kl" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache5])) {
if (hurt == false) {
_root["kl" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache6])) {
if (hurt == false) {
_root["kl" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache7])) {
if (hurt == false) {
_root["kl" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache8])) {
if (hurt == false) {
_root["kl" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache9])) {
if (hurt == false) {
_root["kl" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kl" + _global.dupecache10])) {
if (hurt == false) {
_root["kl" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache])) {
if (hurt == false) {
_root["kr" + _global.dupecache].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache2])) {
if (hurt == false) {
_root["kr" + _global.dupecache2].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache3])) {
if (hurt == false) {
_root["kr" + _global.dupecache3].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache4])) {
if (hurt == false) {
_root["kr" + _global.dupecache4].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache5])) {
if (hurt == false) {
_root["kr" + _global.dupecache5].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache6])) {
if (hurt == false) {
_root["kr" + _global.dupecache6].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache7])) {
if (hurt == false) {
_root["kr" + _global.dupecache7].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache8])) {
if (hurt == false) {
_root["kr" + _global.dupecache8].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache9])) {
if (hurt == false) {
_root["kr" + _global.dupecache9].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["kr" + _global.dupecache10])) {
if (hurt == false) {
_root["kr" + _global.dupecache10].gotoAndStop(2);
knifehurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cl" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache2])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache3])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache4])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache5])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache6])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache7])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache8])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache9])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["cr" + _global.dupecache10])) {
if (hurt == false) {
crosshurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache])) {
if (hurt == false) {
_root["fl" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache2])) {
if (hurt == false) {
_root["fl" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache3])) {
if (hurt == false) {
_root["fl" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache4])) {
if (hurt == false) {
_root["fl" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache5])) {
if (hurt == false) {
_root["fl" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache6])) {
if (hurt == false) {
_root["fl" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache7])) {
if (hurt == false) {
_root["fl" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache8])) {
if (hurt == false) {
_root["fl" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache9])) {
if (hurt == false) {
_root["fl" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fl" + _global.dupecache10])) {
if (hurt == false) {
_root["fl" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache])) {
if (hurt == false) {
_root["fr" + _global.dupecache].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache2])) {
if (hurt == false) {
_root["fr" + _global.dupecache2].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache3])) {
if (hurt == false) {
_root["fr" + _global.dupecache3].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache4])) {
if (hurt == false) {
_root["fr" + _global.dupecache4].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache5])) {
if (hurt == false) {
_root["fr" + _global.dupecache5].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache6])) {
if (hurt == false) {
_root["fr" + _global.dupecache6].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache7])) {
if (hurt == false) {
_root["fr" + _global.dupecache7].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache8])) {
if (hurt == false) {
_root["fr" + _global.dupecache8].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache9])) {
if (hurt == false) {
_root["fr" + _global.dupecache9].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (this.hitTest(_root["fr" + _global.dupecache10])) {
if (hurt == false) {
_root["fr" + _global.dupecache10].gotoAndStop(4);
fireballhurt = true;
hurt = true;
}
}
if (nohitstun == false) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
speed = 4;
hurt = false;
}
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
speed = 4;
hurt = false;
}
}
}
if (nohitstun == true) {
if (((hurt == true) and (facing_direction == "left")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
speed = 4;
hurt = false;
}
}
if (((hurt == true) and (facing_direction == "right")) and (death == false)) {
if (hurt_timer <= 100) {
hurt_timer++;
}
if (hurt_timer >= 15) {
speed = 4;
hurt = false;
}
}
}
if (health <= 0) {
death = true;
}
if (death == true) {
hurt = false;
hurt_timer = 50;
_parent.health_bar._visible = false;
if (facing == "left") {
this.gotoAndStop("dieleft");
}
if (facing == "right") {
this.gotoAndStop("dieright");
}
if (facing == "lefttoright") {
this.gotoAndStop("dieright");
}
if (facing == "righttoleft") {
this.gotoAndStop("dieleft");
}
}
if (death == false) {
if (facing == "left") {
turntimer = 0;
this.gotoAndStop("left");
_parent._x = _parent._x - speed;
}
if (facing == "right") {
turntimer = 0;
this.gotoAndStop("right");
_parent._x = _parent._x + speed;
}
if (facing == "lefttoright") {
turntimer++;
this.gotoAndStop("lefttoright");
if (turntimer >= 4) {
facing = "right";
}
}
if (facing == "righttoleft") {
turntimer++;
this.gotoAndStop("righttoleft");
if (turntimer >= 4) {
facing = "left";
}
}
}
if (_root.bg.hitTest(_parent._x - 12, _parent._y - 20, true) and (facing == "left")) {
facing = "lefttoright";
}
if (_root.bg.hitTest(_parent._x + 12, _parent._y - 20, true) and (facing == "right")) {
facing = "righttoleft";
}
}
Symbol 907 MovieClip Frame 1
stop();
Instance of Symbol 504 MovieClip in Symbol 907 MovieClip Frame 38
onClipEvent (load) {
timer = 0;
_root.explosion3.start();
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 10) {
_parent._parent.unloadMovie();
}
}
Instance of Symbol 907 MovieClip "ripper" in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
speed = 4;
facing = "left";
timer = 0;
dead = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 200) and (!_parent.hitTest(_root.square))) {
dead = true;
}
if (dead == true) {
if (facing == "left") {
this.gotoAndStop("dieleft");
}
if (facing == "right") {
this.gotoAndStop("dieright");
}
}
if (dead == false) {
if (facing == "left") {
this.gotoAndStop("left");
speed = -4;
}
if (facing == "right") {
this.gotoAndStop("right");
speed = 4;
}
_parent._x = _parent._x + speed;
}
if (_root.bg.hitTest(_parent._x - 25, _parent._y, true) and (facing == "left")) {
facing = "right";
}
if (_root.bg.hitTest(_parent._x + 25, _parent._y, true) and (facing == "right")) {
facing = "left";
}
}
Instance of Symbol 907 MovieClip "ripper" in Symbol 909 MovieClip Frame 1
onClipEvent (load) {
speed = 4;
facing = "right";
timer = 0;
dead = false;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 200) and (!_parent.hitTest(_root.square))) {
dead = true;
}
if (dead == true) {
if (facing == "left") {
this.gotoAndStop("dieleft");
}
if (facing == "right") {
this.gotoAndStop("dieright");
}
}
if (dead == false) {
if (facing == "left") {
this.gotoAndStop("left");
speed = -4;
}
if (facing == "right") {
this.gotoAndStop("right");
speed = 4;
}
_parent._x = _parent._x + speed;
}
if (_root.bg.hitTest(_parent._x - 25, _parent._y, true) and (facing == "left")) {
facing = "right";
}
if (_root.bg.hitTest(_parent._x + 25, _parent._y, true) and (facing == "right")) {
facing = "left";
}
}
Symbol 911 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.damage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.damage;
};
Instance of Symbol 911 MovieClip in Symbol 912 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 921 MovieClip in Symbol 922 MovieClip Frame 1
onClipEvent (load) {
gravity = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + gravity;
if (!_root.bg.hitTest(_parent._x, _parent._y + 10, true)) {
gravity = 3;
} else {
while (_root.bg.hitTest(_parent._x, _parent._y + 10, true)) {
gravity = 0;
_parent._y = _parent._y - 1;
}
}
if (_parent.hitTest(_root.jonathan.hitbox) and (!_parent.hitTest(_root.jonathan.whipping.whip))) {
_root.exp_get.start();
_global.bluevalue = 150;
_global.itemget = true;
_global.itemrestart = true;
_global.itemvalue = "Exp + " + _parent.experience;
_global.experience = _global.experience + _parent.experience;
_parent.unloadMovie();
}
}
Symbol 924 MovieClip Frame 1
this.onLoad = function () {
healthuptext.text = _global.healthup;
};
this.onEnterFrame = function () {
healthuptext.text = _global.healthup;
};
Instance of Symbol 924 MovieClip in Symbol 926 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 928 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.holywaterdamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.holywaterdamage;
};
Instance of Symbol 928 MovieClip in Symbol 929 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 931 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.knifedamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.knifedamage;
};
Instance of Symbol 931 MovieClip in Symbol 932 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 934 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.crossdamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.crossdamage;
};
Instance of Symbol 934 MovieClip in Symbol 935 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 939 MovieClip Frame 1
this.onEnterFrame = function () {
timertext.text = _global.coin_count;
};
Symbol 943 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.shoryu_damage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.shoryu_damage;
};
Instance of Symbol 943 MovieClip in Symbol 944 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 946 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.fireball_damage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.fireball_damage;
};
Instance of Symbol 946 MovieClip in Symbol 947 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Instance of Symbol 384 MovieClip in Symbol 948 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if ((timer >= 28) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 950 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.horseghostdamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.horseghostdamage;
};
Instance of Symbol 950 MovieClip in Symbol 951 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 953 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.zerospikedamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.zerospikedamage;
};
Instance of Symbol 953 MovieClip in Symbol 954 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (timer <= 30) {
}
if (timer >= 30.5) {
}
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 956 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.zerospikeexplosiondamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.zerospikeexplosiondamage;
};
Instance of Symbol 956 MovieClip in Symbol 957 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 959 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.ripperdamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.ripperdamage;
};
Instance of Symbol 959 MovieClip in Symbol 960 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (timer <= 30) {
}
if (timer >= 30.5) {
}
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 962 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.ripperexplosiondamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.ripperexplosiondamage;
};
Instance of Symbol 962 MovieClip in Symbol 963 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}
Symbol 965 MovieClip Frame 1
this.onLoad = function () {
dmgtext.text = _global.stumpdamage;
};
this.onEnterFrame = function () {
dmgtext.text = _global.stumpdamage;
};
Instance of Symbol 965 MovieClip in Symbol 966 MovieClip Frame 1
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (_global.i >= 1) {
_parent._y = _parent._y - 0.5;
}
if ((timer >= 40) and (_global.i >= 1)) {
_parent.removeMovieClip();
}
}