STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228089
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/30126491?noj=FRM30126491-3DC" width="1" height="1"></div>

samus_diff_scrolling2.swf

This is the info page for
Flash #105672

(Click the ID number above for more basic data on this flash file.)


Text
FPS

Energy

FPS

FPS

FPS

ActionScript [AS1/AS2]

Frame 1
var sector_sound = new Sound(); sector_sound.attachSound("sector_sound"); _root.sector_sound.start("", "1000"); _global.levelnum = 1; _global.left_scroll = 220; _global.right_scroll = 180; _global.samus_life = 99; _global.morph_ability = false; _global.morph_get = 0;
Frame 2
function movefps() { if (fpsReady and (fpstimer == 0)) { fpstimer = 0; fpsReady = false; fpsTime = 0(); createfps(); } else if ((fpsTime + fpsDelay) <= 0()) { fpsReady = true; } var _local1 = 0; while (_local1 < fpsArray.length) { _local1++; } } function createfps() { if (fpsCount <= 1) { var _local1 = this.attachMovie("fps", "fps" + fpsCount, 100 + fpsCount); var _local2 = this.attachMovie("fps2", "fps2" + fpsCount, 10 + fpsCount); _local1._y = 2.5; _local1._x = 20; _local2._x = 160; _local2._y = 0; } fpsArray.push(_local1); fpsCount++; fpstimer = 0; } var fpsReady = true; var fpsDelay = 150; var fpsArray = []; var fpsCount = 0; var fpsCount2 = 0; var fpsCount = 0; var fpsCount2 = 0; var fpstimer = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); }; function createBullets() { var _local1 = _global; var _local2 = _root; var _local3 = this; fpsMc._x = -20; fpsMc._y = 540; if (_local1.morph == false) { _local2.shoot_sound1.start(); } if ((_local1.facing == 1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if ((_local1.facing == -1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if ((((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if ((((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if (((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x + (1 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if ((((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if ((((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 67; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 65; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } timer = 0; bulletCount++; bulletArray.push(bulletMc); } function moveBullets() { if ((bulletReady && (Key.isDown(65))) and (timer >= 60)) { timer = 0; bulletReady = false; currentTime = getTimer(); createBullets(); } else if ((currentTime + bulletDelay) <= getTimer()) { bulletReady = true; } var _local1 = 0; while (_local1 < bulletArray.length) { _local1++; } } stop(); var step_sound = new Sound(); step_sound.attachSound("step_sound"); var item_sound = new Sound(); item_sound.attachSound("item_sound"); var bloop_sound = new Sound(); bloop_sound.attachSound("bloop_sound"); var hurt_sound = new Sound(); hurt_sound.attachSound("hurt_sound"); var land_sound = new Sound(); land_sound.attachSound("land_sound"); var dangerous_sound = new Sound(); dangerous_sound.attachSound("dangerous"); var door_sound = new Sound(); door_sound.attachSound("door_open"); var door_close = new Sound(); door_close.attachSound("door_close"); var cat_sound = new Sound(); cat_sound.attachSound("cat_sound"); var jump_sound1 = new Sound(); jump_sound1.attachSound("jump_sound"); var shoot_sound1 = new Sound(); shoot_sound1.attachSound("shoot_sound"); var crush_sound1 = new Sound(); crush_sound1.attachSound("crush_sound"); var power_up = new Sound(); power_up.attachSound("power_up"); var death_sound = new Sound(); death_sound.attachSound("death"); var explode_sound = new Sound(); explode_sound.attachSound("enemy_explode"); _global.death = false; var timer = 0; var bulletSpeed = 12; var bulletReady = true; var bulletDelay = 50; var bulletArray = []; var bulletCount = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); };
Instance of Symbol 84 MovieClip "bg" in Frame 2
onClipEvent (load) { if (_global.levelnum == 2) { _global.left_scroll = 220; _global.right_scroll = 180; _root.bg.dg.gotoAndPlay("close"); _root.owtch._x = 130; _root.fly._x = 70; this._x = 180; _root.bg3._x = 180; _root.bg2._x = -20; _root.watermelon_whole._x = 545; _root.watermelon_whole._y = 340; _global.levelnum = 1; } if (_global.levelnum == 0) { _global.left_scroll = 220; _global.right_scroll = 180; _root.bg.dg2.gotoAndPlay("close"); _root.owtch._x = 170; _root.fly._x = 110; this._x = 220; _root.bg3._x = 220; _root.bg2._x = 20; _root.watermelon_whole._y = 300; _root.watermelon_whole._x = 35; _global.levelnum = 1; } }
Instance of Symbol 268 MovieClip "watermelon_whole" in Frame 2
onClipEvent (load) { _global.morph_able = false; _global.morph = false; _global.hurt = 1; _global.facing = -1; _global.ducking = false; _global.power = 3; _global.friction = 0.8; _global.speed = 0; _global.yvel = 0; _global.barvar = 4; _global.jumping = false; _global.aiming_down = false; _global.aiming_up = false; i = 0; timer = 0; friction = 0.95; airresist = 0.8; _global.gravity = 10; jumpamount = 22; onfloor = false; } onClipEvent (enterFrame) { if ((_global.hurt == -1) and (!(_global.hurt === 1))) { if (_global.morph == false) { _global.ducking = false; } if ((facing == 1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_left"); } if ((facing == -1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_right"); } if ((facing == 1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_left"); } if ((facing == -1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_right"); } } if (_global.hurt == 1) { this._alpha = 100; } _global.speed = _global.speed * _global.friction; if (_root.bg.hitTest(_x, _y - 50, true) and (_global.morph == false)) { _global.yvel = 10; } if (_root.bg.hitTest(_x, _y - 20, true) and (_global.morph == true)) { _global.yvel = 10; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (Key.isDown(38)) { if (_global.morph == false) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } } if (Key.isDown(83)) { _global.aiming_up = true; if ((((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) and (_global.morph == false)) { this.gotoAndStop("diag_up_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_up_jumping_right"); } } if (!Key.isDown(83)) { _global.aiming_up = false; } if (!Key.isDown(88)) { _global.aiming_down = false; } if (Key.isDown(88)) { _global.aiming_down = true; if (((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_right"); } } if (Key.isDown(40)) { if ((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_left"); } if ((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_right"); } } if (Key.isDown(65)) { if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } } if (Key.isDown(90)) { if ((_global.gravity == false) and (_global.morph == false)) { _global.morph_able = false; _global.ducking = false; _root.jump_sound1.start(); if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_right"); } _global.jumping = true; onfloor = false; _global.yvel = -jumpamount; } } if (Key.isDown(37)) { _global.facing = 1; _global.gravity = true; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_left"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_left"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((_global.speed >= -10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed - _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed - _global.power; } } } else if (Key.isDown(39)) { _global.gravity = true; _global.facing = -1; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_right"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_right"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((_global.speed <= 10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed + _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed + _global.power; } } } if (xvel < 0) { if (onfloor) { } else { xvel = xvel * airresist; } } else if (xvel > 0) { if (onfloor) { } else { xvel = xvel * airresist; } } _root.watermelon_whole._y = _root.watermelon_whole._y + _global.yvel; _root.w_barrier._y = _root.w_barrier._y + _global.yvel; if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.multiviola._x = _root.multiviola._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.multiviola._x = _root.multiviola._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (!_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel <= 15) { _global.yvel = _global.yvel + (_global.gravity * 2); } _global.gravity = true; if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_left"); } if (((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) { this.gotoAndStop("morph_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (false)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_right"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (true)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("morph_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_left_jumping"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_right_jumping"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_right"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_right"); } } else { while (_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel >= 7) { jumping = false; gravity = false; onfloor = true; } if ((_global.yvel >= 7) and (_global.gravity == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if ((_global.yvel >= 7) and (_global.jumping == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if (Key.isDown(65)) { _global.shoot_air = false; } if (Key.isDown(40)) { if ((_global.gravity == false) and (_global.morph == false)) { if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_right"); } } if ((((_global.gravity == false) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) { if (facing == 1) { _global.morph = true; this.gotoAndStop("morph_left"); } if (facing == -1) { _global.morph = true; this.gotoAndStop("morph_right"); } } } _global.jumping = false; _global.gravity = false; _root.watermelon_whole._y = _root.watermelon_whole._y - 1; _root.w_barrier._y = _root.w_barrier._y - 1; if ((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); } if ((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } } if ((((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == 1) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and Key.isDown(40)) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(38))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.morph_ability == true)) and (_global.morph_able == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((_global.facing == -1) and (_global.morph == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((Key.isDown(39) and (_global.morph == true)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((Key.isDown(37) and (_global.morph == true)) and (_global.ducking == true)) { _global.ducking = true; _global.moving = false; _global.morph = true; this.gotoAndStop("morph_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((Key.isDown(37) and Key.isDown(38)) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right"); } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right2"); } if ((((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } } if ((((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } } if (Key.isDown(83)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_up_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_up"); } } else if (Key.isDown(88)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_down_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_down"); } } } onfloor = true; _global.yvel = 0; } }
Frame 13
function createBullets() { var _local1 = _global; var _local2 = _root; var _local3 = this; fpsMc._x = -20; fpsMc._y = 540; if (_local1.morph == false) { _local2.shoot_sound1.start(); } if ((_local1.facing == 1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if ((_local1.facing == -1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if ((((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if ((((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if (((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x + (1 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if ((((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if ((((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 67; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 65; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } timer = 0; bulletCount++; bulletArray.push(bulletMc); } function moveBullets() { if ((bulletReady && (Key.isDown(65))) and (timer >= 60)) { timer = 0; bulletReady = false; currentTime = getTimer(); createBullets(); } else if ((currentTime + bulletDelay) <= getTimer()) { bulletReady = true; } var _local1 = 0; while (_local1 < bulletArray.length) { _local1++; } } stop(); var step_sound = new Sound(); step_sound.attachSound("step_sound"); var item_sound = new Sound(); item_sound.attachSound("item_sound"); var bloop_sound = new Sound(); bloop_sound.attachSound("bloop_sound"); var hurt_sound = new Sound(); hurt_sound.attachSound("hurt_sound"); var land_sound = new Sound(); land_sound.attachSound("land_sound"); var dangerous_sound = new Sound(); dangerous_sound.attachSound("dangerous"); var door_sound = new Sound(); door_sound.attachSound("door_open"); var door_close = new Sound(); door_close.attachSound("door_close"); var cat_sound = new Sound(); cat_sound.attachSound("cat_sound"); var jump_sound1 = new Sound(); jump_sound1.attachSound("jump_sound"); var shoot_sound1 = new Sound(); shoot_sound1.attachSound("shoot_sound"); var crush_sound1 = new Sound(); crush_sound1.attachSound("crush_sound"); var power_up = new Sound(); power_up.attachSound("power_up"); var death_sound = new Sound(); death_sound.attachSound("death"); var explode_sound = new Sound(); explode_sound.attachSound("enemy_explode"); _global.death = false; var timer = 0; var bulletSpeed = 12; var bulletReady = true; var bulletDelay = 50; var bulletArray = []; var bulletCount = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); };
Instance of Symbol 275 MovieClip "bg" in Frame 13
onClipEvent (load) { if (_global.levelnum == 1) { _global.left_scroll = 280; _global.right_scroll = 240; _root.bg.dg2.gotoAndPlay("close"); _root.hornoad._x = 430; this._x = 280; _root.bg3._x = 280; _root.bg2._x = 70; _root.watermelon_whole._x = 75; _root.watermelon_whole._y = 340; _global.levelnum = 2; } if (_global.levelnum == 3) { _global.left_scroll = 280; _global.right_scroll = 240; _root.bg.dg.gotoAndPlay("close"); _root.hornoad._x = 390; this._x = 240; _root.bg3._x = 240; _root.bg2._x = 0; _root.watermelon_whole._x = 535; _root.watermelon_whole._y = 260; _global.levelnum = 2; } }
Instance of Symbol 268 MovieClip "watermelon_whole" in Frame 13
onClipEvent (load) { _global.morph_able = false; _global.morph = false; _global.hurt = 1; _global.facing = -1; _global.ducking = false; _global.power = 3; _global.friction = 0.8; _global.speed = 0; _global.yvel = 0; _global.barvar = 4; _global.jumping = false; _global.aiming_down = false; _global.aiming_up = false; i = 0; timer = 0; friction = 0.95; airresist = 0.8; _global.gravity = 10; jumpamount = 22; onfloor = false; } onClipEvent (enterFrame) { if ((_global.hurt == -1) and (!(_global.hurt === 1))) { if (_global.morph == false) { _global.ducking = false; } if ((facing == 1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_left"); } if ((facing == -1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_right"); } if ((facing == 1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_left"); } if ((facing == -1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_right"); } } if (_global.hurt == 1) { this._alpha = 100; } _global.speed = _global.speed * _global.friction; if (_root.bg.hitTest(_x, _y - 50, true) and (_global.morph == false)) { _global.yvel = 10; } if (_root.bg.hitTest(_x, _y - 20, true) and (_global.morph == true)) { _global.yvel = 10; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (Key.isDown(38)) { if (_global.morph == false) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } } if (Key.isDown(83)) { _global.aiming_up = true; if ((((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) and (_global.morph == false)) { this.gotoAndStop("diag_up_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_up_jumping_right"); } } if (!Key.isDown(83)) { _global.aiming_up = false; } if (!Key.isDown(88)) { _global.aiming_down = false; } if (Key.isDown(88)) { _global.aiming_down = true; if (((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_right"); } } if (Key.isDown(40)) { if ((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_left"); } if ((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_right"); } } if (Key.isDown(65)) { if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } } if (Key.isDown(90)) { if ((_global.gravity == false) and (_global.morph == false)) { _global.morph_able = false; _global.ducking = false; _root.jump_sound1.start(); if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_right"); } _global.jumping = true; onfloor = false; _global.yvel = -jumpamount; } } if (Key.isDown(37)) { _global.facing = 1; _global.gravity = true; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_left"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_left"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((_global.speed >= -10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed - _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed - _global.power; } } } else if (Key.isDown(39)) { _global.gravity = true; _global.facing = -1; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_right"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_right"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((_global.speed <= 10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed + _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed + _global.power; } } } if (xvel < 0) { if (onfloor) { } else { xvel = xvel * airresist; } } else if (xvel > 0) { if (onfloor) { } else { xvel = xvel * airresist; } } _root.watermelon_whole._y = _root.watermelon_whole._y + _global.yvel; _root.w_barrier._y = _root.w_barrier._y + _global.yvel; if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (!_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel <= 15) { _global.yvel = _global.yvel + (_global.gravity * 2); } _global.gravity = true; if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_left"); } if (((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) { this.gotoAndStop("morph_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (false)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_right"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (true)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("morph_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_left_jumping"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_right_jumping"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_right"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_right"); } } else { while (_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel >= 7) { jumping = false; gravity = false; onfloor = true; } if ((_global.yvel >= 7) and (_global.gravity == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if ((_global.yvel >= 7) and (_global.jumping == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if (Key.isDown(65)) { _global.shoot_air = false; } if (Key.isDown(40)) { if ((_global.gravity == false) and (_global.morph == false)) { if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_right"); } } if ((((_global.gravity == false) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) { if (facing == 1) { _global.morph = true; this.gotoAndStop("morph_left"); } if (facing == -1) { _global.morph = true; this.gotoAndStop("morph_right"); } } } _global.jumping = false; _global.gravity = false; _root.watermelon_whole._y = _root.watermelon_whole._y - 1; _root.w_barrier._y = _root.w_barrier._y - 1; if ((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); } if ((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } } if ((((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and Key.isDown(40)) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(38))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.morph_ability == true)) and (_global.morph_able == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((_global.facing == -1) and (_global.morph == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((Key.isDown(39) and (_global.morph == true)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((Key.isDown(37) and (_global.speed >= 0)) and (_global.morph == true)) and (_global.ducking == true)) { _global.ducking = true; _global.moving = false; _global.morph = true; this.gotoAndStop("morph_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((Key.isDown(37) and Key.isDown(38)) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right"); } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right2"); } if ((((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } } if ((((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } } if (Key.isDown(83)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_up_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_up"); } } else if (Key.isDown(88)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_down_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_down"); } } } onfloor = true; _global.yvel = 0; } }
Frame 25
function createBullets() { var _local1 = _global; var _local2 = _root; var _local3 = this; fpsMc._x = -20; fpsMc._y = 540; if (_local1.morph == false) { _local2.shoot_sound1.start(); } if ((_local1.facing == 1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if ((_local1.facing == -1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if ((((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if ((((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if (((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x + (1 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if ((((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if ((((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 67; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 65; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } timer = 0; bulletCount++; bulletArray.push(bulletMc); } function moveBullets() { if ((bulletReady && (Key.isDown(65))) and (timer >= 60)) { timer = 0; bulletReady = false; currentTime = getTimer(); createBullets(); } else if ((currentTime + bulletDelay) <= getTimer()) { bulletReady = true; } var _local1 = 0; while (_local1 < bulletArray.length) { _local1++; } } stop(); var step_sound = new Sound(); step_sound.attachSound("step_sound"); var item_sound = new Sound(); item_sound.attachSound("item_sound"); var bloop_sound = new Sound(); bloop_sound.attachSound("bloop_sound"); var hurt_sound = new Sound(); hurt_sound.attachSound("hurt_sound"); var land_sound = new Sound(); land_sound.attachSound("land_sound"); var dangerous_sound = new Sound(); dangerous_sound.attachSound("dangerous"); var door_sound = new Sound(); door_sound.attachSound("door_open"); var door_close = new Sound(); door_close.attachSound("door_close"); var cat_sound = new Sound(); cat_sound.attachSound("cat_sound"); var jump_sound1 = new Sound(); jump_sound1.attachSound("jump_sound"); var shoot_sound1 = new Sound(); shoot_sound1.attachSound("shoot_sound"); var crush_sound1 = new Sound(); crush_sound1.attachSound("crush_sound"); var power_up = new Sound(); power_up.attachSound("power_up"); var death_sound = new Sound(); death_sound.attachSound("death"); var explode_sound = new Sound(); explode_sound.attachSound("enemy_explode"); _global.death = false; var timer = 0; var bulletSpeed = 12; var bulletReady = true; var bulletDelay = 50; var bulletArray = []; var bulletCount = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); };
Instance of Symbol 299 MovieClip "bg" in Frame 25
onClipEvent (load) { if (_global.levelnum == 2) { _global.left_scroll = 260; _global.right_scroll = 260; _root.bg.dg2.gotoAndPlay("close"); _root.robo._x = 230; this._x = 260; _root.bg3._x = 260; _root.bg2._x = 0; _root.watermelon_whole._x = 65; _root.watermelon_whole._y = 260; _global.levelnum = 3; } if (_global.levelnum == 4) { _global.left_scroll = 260; _global.right_scroll = 260; _root.bg.dg.gotoAndPlay("close"); _root.robo._x = 230; this._x = 260; _root.bg3._x = 260; _root.bg2._x = 0; _root.watermelon_whole._x = 495; _root.watermelon_whole._y = 260; _global.levelnum = 3; } }
Instance of Symbol 268 MovieClip "watermelon_whole" in Frame 25
onClipEvent (load) { _global.morph_able = false; _global.morph = false; _global.hurt = 1; _global.facing = -1; _global.ducking = false; _global.power = 3; _global.friction = 0.8; _global.speed = 0; _global.yvel = 0; _global.barvar = 4; _global.jumping = false; _global.aiming_down = false; _global.aiming_up = false; i = 0; timer = 0; friction = 0.95; airresist = 0.8; _global.gravity = 10; jumpamount = 22; onfloor = false; } onClipEvent (enterFrame) { if ((_global.hurt == -1) and (!(_global.hurt === 1))) { if (_global.morph == false) { _global.ducking = false; } if ((facing == 1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_left"); } if ((facing == -1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_right"); } if ((facing == 1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_left"); } if ((facing == -1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_right"); } } if (_global.hurt == 1) { this._alpha = 100; } _global.speed = _global.speed * _global.friction; if (_root.bg.hitTest(_x, _y - 50, true) and (_global.morph == false)) { _global.yvel = 10; } if (_root.bg.hitTest(_x, _y - 20, true) and (_global.morph == true)) { _global.yvel = 10; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (Key.isDown(38)) { if (_global.morph == false) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } } if (Key.isDown(83)) { _global.aiming_up = true; if ((((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) and (_global.morph == false)) { this.gotoAndStop("diag_up_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_up_jumping_right"); } } if (!Key.isDown(83)) { _global.aiming_up = false; } if (!Key.isDown(88)) { _global.aiming_down = false; } if (Key.isDown(88)) { _global.aiming_down = true; if (((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_right"); } } if (Key.isDown(40)) { if ((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_left"); } if ((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_right"); } } if (Key.isDown(65)) { if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } } if (Key.isDown(90)) { if ((_global.gravity == false) and (_global.morph == false)) { _global.morph_able = false; _global.ducking = false; _root.jump_sound1.start(); if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_right"); } _global.jumping = true; onfloor = false; _global.yvel = -jumpamount; } } if (Key.isDown(37)) { _global.facing = 1; _global.gravity = true; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_left"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_left"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((_global.speed >= -10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed - _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed - _global.power; } } } else if (Key.isDown(39)) { _global.gravity = true; _global.facing = -1; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_right"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_right"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((_global.speed <= 10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed + _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed + _global.power; } } } if (xvel < 0) { if (onfloor) { } else { xvel = xvel * airresist; } } else if (xvel > 0) { if (onfloor) { } else { xvel = xvel * airresist; } } _root.watermelon_whole._y = _root.watermelon_whole._y + _global.yvel; _root.w_barrier._y = _root.w_barrier._y + _global.yvel; if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (!_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel <= 15) { _global.yvel = _global.yvel + (_global.gravity * 2); } _global.gravity = true; if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_left"); } if (((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) { this.gotoAndStop("morph_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (false)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_right"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (true)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("morph_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_left_jumping"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_right_jumping"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_right"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_right"); } } else { while (_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel >= 7) { jumping = false; gravity = false; onfloor = true; } if ((_global.yvel >= 7) and (_global.gravity == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if ((_global.yvel >= 7) and (_global.jumping == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if (Key.isDown(65)) { _global.shoot_air = false; } if (Key.isDown(40)) { if ((_global.gravity == false) and (_global.morph == false)) { if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_right"); } } if ((((_global.gravity == false) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) { if (facing == 1) { _global.morph = true; this.gotoAndStop("morph_left"); } if (facing == -1) { _global.morph = true; this.gotoAndStop("morph_right"); } } } _global.jumping = false; _global.gravity = false; _root.watermelon_whole._y = _root.watermelon_whole._y - 1; _root.w_barrier._y = _root.w_barrier._y - 1; if ((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); } if ((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } } if ((((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and Key.isDown(40)) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(38))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.morph_ability == true)) and (_global.morph_able == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((_global.facing == -1) and (_global.morph == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((Key.isDown(39) and (_global.morph == true)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((Key.isDown(37) and (_global.speed >= 0)) and (_global.morph == true)) and (_global.ducking == true)) { _global.ducking = true; _global.moving = false; _global.morph = true; this.gotoAndStop("morph_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((Key.isDown(37) and Key.isDown(38)) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right"); } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right2"); } if ((((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } } if ((((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } } if (Key.isDown(83)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_up_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_up"); } } else if (Key.isDown(88)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_down_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_down"); } } } onfloor = true; _global.yvel = 0; } }
Frame 37
function createBullets() { var _local1 = _global; var _local2 = _root; var _local3 = this; fpsMc._x = -20; fpsMc._y = 540; if (_local1.morph == false) { _local2.shoot_sound1.start(); } if ((_local1.facing == 1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if ((_local1.facing == -1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if ((((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if ((((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if (((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x + (1 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if ((((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if ((((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 67; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 65; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } timer = 0; bulletCount++; bulletArray.push(bulletMc); } function moveBullets() { if ((bulletReady && (Key.isDown(65))) and (timer >= 60)) { timer = 0; bulletReady = false; currentTime = getTimer(); createBullets(); } else if ((currentTime + bulletDelay) <= getTimer()) { bulletReady = true; } var _local1 = 0; while (_local1 < bulletArray.length) { _local1++; } } stop(); var step_sound = new Sound(); step_sound.attachSound("step_sound"); var item_sound = new Sound(); item_sound.attachSound("item_sound"); var bloop_sound = new Sound(); bloop_sound.attachSound("bloop_sound"); var hurt_sound = new Sound(); hurt_sound.attachSound("hurt_sound"); var land_sound = new Sound(); land_sound.attachSound("land_sound"); var dangerous_sound = new Sound(); dangerous_sound.attachSound("dangerous"); var door_sound = new Sound(); door_sound.attachSound("door_open"); var door_close = new Sound(); door_close.attachSound("door_close"); var cat_sound = new Sound(); cat_sound.attachSound("cat_sound"); var jump_sound1 = new Sound(); jump_sound1.attachSound("jump_sound"); var shoot_sound1 = new Sound(); shoot_sound1.attachSound("shoot_sound"); var crush_sound1 = new Sound(); crush_sound1.attachSound("crush_sound"); var power_up = new Sound(); power_up.attachSound("power_up"); var death_sound = new Sound(); death_sound.attachSound("death"); var explode_sound = new Sound(); explode_sound.attachSound("enemy_explode"); _global.death = false; var timer = 0; var bulletSpeed = 12; var bulletReady = true; var bulletDelay = 50; var bulletArray = []; var bulletCount = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); };
Instance of Symbol 320 MovieClip "bg" in Frame 37
onClipEvent (load) { if (_global.levelnum == 3) { _global.left_scroll = 260; _global.right_scroll = 140; _root.bg.dg2.gotoAndPlay("close"); _root.waver._x = 270; _root.fly._x = 450; this._x = 260; _root.bg2._x = 260; _root.bg3._x = 260; _root.watermelon_whole._x = 85; _root.watermelon_whole._y = 260; _global.levelnum = 4; } }
Instance of Symbol 268 MovieClip "watermelon_whole" in Frame 37
onClipEvent (load) { _global.morph_able = false; _global.morph = false; _global.hurt = 1; _global.facing = -1; _global.ducking = false; _global.power = 3; _global.friction = 0.8; _global.speed = 0; _global.yvel = 0; _global.barvar = 4; _global.jumping = false; _global.aiming_down = false; _global.aiming_up = false; i = 0; timer = 0; friction = 0.95; airresist = 0.8; _global.gravity = 10; jumpamount = 22; onfloor = false; } onClipEvent (enterFrame) { if ((_global.hurt == -1) and (!(_global.hurt === 1))) { if (_global.morph == false) { _global.ducking = false; } if ((facing == 1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_left"); } if ((facing == -1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_right"); } if ((facing == 1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_left"); } if ((facing == -1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_right"); } } if (_global.hurt == 1) { this._alpha = 100; } _global.speed = _global.speed * _global.friction; if (_root.bg.hitTest(_x, _y - 50, true) and (_global.morph == false)) { _global.yvel = 10; } if (_root.bg.hitTest(_x, _y - 20, true) and (_global.morph == true)) { _global.yvel = 10; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (Key.isDown(38)) { if (_global.morph == false) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } } if (Key.isDown(83)) { _global.aiming_up = true; if ((((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) and (_global.morph == false)) { this.gotoAndStop("diag_up_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_up_jumping_right"); } } if (!Key.isDown(83)) { _global.aiming_up = false; } if (!Key.isDown(88)) { _global.aiming_down = false; } if (Key.isDown(88)) { _global.aiming_down = true; if (((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_right"); } } if (Key.isDown(40)) { if ((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_left"); } if ((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_right"); } } if (Key.isDown(65)) { if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } } if (Key.isDown(90)) { if ((_global.gravity == false) and (_global.morph == false)) { _global.morph_able = false; _global.ducking = false; _root.jump_sound1.start(); if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_right"); } _global.jumping = true; onfloor = false; _global.yvel = -jumpamount; } } if (Key.isDown(37)) { _global.facing = 1; _global.gravity = true; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_left"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_left"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((_global.speed >= -10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed - _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed - _global.power; } } } else if (Key.isDown(39)) { _global.gravity = true; _global.facing = -1; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_right"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_right"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((_global.speed <= 10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed + _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed + _global.power; } } } if (xvel < 0) { if (onfloor) { } else { xvel = xvel * airresist; } } else if (xvel > 0) { if (onfloor) { } else { xvel = xvel * airresist; } } _root.watermelon_whole._y = _root.watermelon_whole._y + _global.yvel; _root.w_barrier._y = _root.w_barrier._y + _global.yvel; if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (!_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel <= 15) { _global.yvel = _global.yvel + (_global.gravity * 2); } _global.gravity = true; if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_left"); } if (((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) { this.gotoAndStop("morph_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (false)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_right"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (true)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("morph_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_left_jumping"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_right_jumping"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_right"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_right"); } } else { while (_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel >= 7) { jumping = false; gravity = false; onfloor = true; } if ((_global.yvel >= 7) and (_global.gravity == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if ((_global.yvel >= 7) and (_global.jumping == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if (Key.isDown(65)) { _global.shoot_air = false; } if (Key.isDown(40)) { if ((_global.gravity == false) and (_global.morph == false)) { if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_right"); } } if ((((_global.gravity == false) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) { if (facing == 1) { _global.morph = true; this.gotoAndStop("morph_left"); } if (facing == -1) { _global.morph = true; this.gotoAndStop("morph_right"); } } } _global.jumping = false; _global.gravity = false; _root.watermelon_whole._y = _root.watermelon_whole._y - 1; _root.w_barrier._y = _root.w_barrier._y - 1; if ((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); } if ((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } } if ((((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and Key.isDown(40)) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(38))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.morph_ability == true)) and (_global.morph_able == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((_global.facing == -1) and (_global.morph == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((Key.isDown(39) and (_global.morph == true)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((Key.isDown(37) and (_global.speed >= 0)) and (_global.morph == true)) and (_global.ducking == true)) { _global.ducking = true; _global.moving = false; _global.morph = true; this.gotoAndStop("morph_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((Key.isDown(37) and Key.isDown(38)) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right"); } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right2"); } if ((((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } } if ((((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } } if (Key.isDown(83)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_up_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_up"); } } else if (Key.isDown(88)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_down_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_down"); } } } onfloor = true; _global.yvel = 0; } }
Frame 47
function createBullets() { var _local1 = _global; var _local2 = _root; var _local3 = this; fpsMc._x = -20; fpsMc._y = 540; if (_local1.morph == false) { _local2.shoot_sound1.start(); } if ((_local1.facing == 1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if ((_local1.facing == -1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if ((((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if ((((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if (((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x + (1 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if ((((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if ((((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 67; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 65; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } timer = 0; bulletCount++; bulletArray.push(bulletMc); } function moveBullets() { if ((bulletReady && (Key.isDown(65))) and (timer >= 60)) { timer = 0; bulletReady = false; currentTime = getTimer(); createBullets(); } else if ((currentTime + bulletDelay) <= getTimer()) { bulletReady = true; } var _local1 = 0; while (_local1 < bulletArray.length) { _local1++; } } stop(); var step_sound = new Sound(); step_sound.attachSound("step_sound"); var item_sound = new Sound(); item_sound.attachSound("item_sound"); var bloop_sound = new Sound(); bloop_sound.attachSound("bloop_sound"); var hurt_sound = new Sound(); hurt_sound.attachSound("hurt_sound"); var land_sound = new Sound(); land_sound.attachSound("land_sound"); var dangerous_sound = new Sound(); dangerous_sound.attachSound("dangerous"); var door_sound = new Sound(); door_sound.attachSound("door_open"); var door_close = new Sound(); door_close.attachSound("door_close"); var cat_sound = new Sound(); cat_sound.attachSound("cat_sound"); var jump_sound1 = new Sound(); jump_sound1.attachSound("jump_sound"); var shoot_sound1 = new Sound(); shoot_sound1.attachSound("shoot_sound"); var crush_sound1 = new Sound(); crush_sound1.attachSound("crush_sound"); var power_up = new Sound(); power_up.attachSound("power_up"); var death_sound = new Sound(); death_sound.attachSound("death"); var explode_sound = new Sound(); explode_sound.attachSound("enemy_explode"); _global.death = false; var timer = 0; var bulletSpeed = 12; var bulletReady = true; var bulletDelay = 50; var bulletArray = []; var bulletCount = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); };
Instance of Symbol 338 MovieClip "bg" in Frame 47
onClipEvent (load) { if (_global.levelnum == 1) { _global.left_scroll = 300; _global.right_scroll = 300; _root.bg.dg2.gotoAndPlay("close"); this._x = 300; _root.bg3._x = 300; _root.watermelon_whole._x = 525; _root.watermelon_whole._y = 300; _global.levelnum = 0; } if (_global.levelnum == -1) { _global.left_scroll = 300; _global.right_scroll = 300; _root.bg.dg4.gotoAndPlay("close"); this._x = 300; _root.bg3._x = 300; _root.watermelon_whole._x = 285; _root.watermelon_whole._y = 320; _global.levelnum = 0; } }
Instance of Symbol 268 MovieClip "watermelon_whole" in Frame 47
onClipEvent (load) { _global.morph_able = false; _global.morph = false; _global.hurt = 1; _global.facing = -1; _global.ducking = false; _global.power = 3; _global.friction = 0.8; _global.speed = 0; _global.yvel = 0; _global.barvar = 4; _global.jumping = false; _global.aiming_down = false; _global.aiming_up = false; i = 0; timer = 0; friction = 0.95; airresist = 0.8; _global.gravity = 10; jumpamount = 22; onfloor = false; } onClipEvent (enterFrame) { if ((_global.hurt == -1) and (!(_global.hurt === 1))) { if (_global.morph == false) { _global.ducking = false; } if ((facing == 1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_left"); } if ((facing == -1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_right"); } if ((facing == 1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_left"); } if ((facing == -1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_right"); } } if (_global.hurt == 1) { this._alpha = 100; } _global.speed = _global.speed * _global.friction; if (_root.bg.hitTest(_x, _y - 50, true) and (_global.morph == false)) { _global.yvel = 10; } if (_root.bg.hitTest(_x, _y - 20, true) and (_global.morph == true)) { _global.yvel = 10; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (Key.isDown(38)) { if (_global.morph == false) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } } if (Key.isDown(83)) { _global.aiming_up = true; if ((((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) and (_global.morph == false)) { this.gotoAndStop("diag_up_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_up_jumping_right"); } } if (!Key.isDown(83)) { _global.aiming_up = false; } if (!Key.isDown(88)) { _global.aiming_down = false; } if (Key.isDown(88)) { _global.aiming_down = true; if (((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_right"); } } if (Key.isDown(40)) { if ((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_left"); } if ((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_right"); } } if (Key.isDown(65)) { if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } } if (Key.isDown(90)) { if ((_global.gravity == false) and (_global.morph == false)) { _global.morph_able = false; _global.ducking = false; _root.jump_sound1.start(); if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_right"); } _global.jumping = true; onfloor = false; _global.yvel = -jumpamount; } } if (Key.isDown(37)) { _global.facing = 1; _global.gravity = true; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_left"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_left"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((_global.speed >= -10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed - _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed - _global.power; } } } else if (Key.isDown(39)) { _global.gravity = true; _global.facing = -1; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_right"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_right"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((_global.speed <= 10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed + _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed + _global.power; } } } if (xvel < 0) { if (onfloor) { } else { xvel = xvel * airresist; } } else if (xvel > 0) { if (onfloor) { } else { xvel = xvel * airresist; } } _root.watermelon_whole._y = _root.watermelon_whole._y + _global.yvel; _root.w_barrier._y = _root.w_barrier._y + _global.yvel; if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (!_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel <= 15) { _global.yvel = _global.yvel + (_global.gravity * 2); } _global.gravity = true; if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_left"); } if (((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) { this.gotoAndStop("morph_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (false)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_right"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (true)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("morph_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_left_jumping"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_right_jumping"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_right"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_right"); } } else { while (_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel >= 7) { jumping = false; gravity = false; onfloor = true; } if ((_global.yvel >= 7) and (_global.gravity == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if ((_global.yvel >= 7) and (_global.jumping == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if (Key.isDown(65)) { _global.shoot_air = false; } if (Key.isDown(40)) { if ((_global.gravity == false) and (_global.morph == false)) { if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_right"); } } if ((((_global.gravity == false) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) { if (facing == 1) { _global.morph = true; this.gotoAndStop("morph_left"); } if (facing == -1) { _global.morph = true; this.gotoAndStop("morph_right"); } } } _global.jumping = false; _global.gravity = false; _root.watermelon_whole._y = _root.watermelon_whole._y - 1; _root.w_barrier._y = _root.w_barrier._y - 1; if ((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); } if ((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } } if ((((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and Key.isDown(40)) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(38))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.morph_ability == true)) and (_global.morph_able == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((_global.facing == -1) and (_global.morph == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((Key.isDown(39) and (_global.morph == true)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((Key.isDown(37) and (_global.speed >= 0)) and (_global.morph == true)) and (_global.ducking == true)) { _global.ducking = true; _global.moving = false; _global.morph = true; this.gotoAndStop("morph_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((Key.isDown(37) and Key.isDown(38)) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right"); } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right2"); } if ((((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } } if ((((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } } if (Key.isDown(83)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_up_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_up"); } } else if (Key.isDown(88)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_down_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_down"); } } } onfloor = true; _global.yvel = 0; } }
Frame 59
function createBullets() { var _local1 = _global; var _local2 = _root; var _local3 = this; fpsMc._x = -20; fpsMc._y = 540; if (_local1.morph == false) { _local2.shoot_sound1.start(); } if ((_local1.facing == 1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if ((_local1.facing == -1) and (_local1.morph == true)) { var bulletMc = _local3.attachMovie("ball_bomb", "ball_bomb" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x; bulletMc._y = _local2.watermelon_whole._y - 10; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if ((((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if ((((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == 1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((((_local1.facing == -1) and (_local1.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if (((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if (((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x + (1 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if ((((((_local1.facing == -1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if ((((((_local1.facing == 1) and (_local1.morph == false)) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 67; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 65; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if (((((_local1.facing == 1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } if (((((_local1.facing == -1) and (_local1.morph == false)) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } timer = 0; bulletCount++; bulletArray.push(bulletMc); } function moveBullets() { if ((bulletReady && (Key.isDown(65))) and (timer >= 60)) { timer = 0; bulletReady = false; currentTime = getTimer(); createBullets(); } else if ((currentTime + bulletDelay) <= getTimer()) { bulletReady = true; } var _local1 = 0; while (_local1 < bulletArray.length) { _local1++; } } stop(); var step_sound = new Sound(); step_sound.attachSound("step_sound"); var item_sound = new Sound(); item_sound.attachSound("item_sound"); var bloop_sound = new Sound(); bloop_sound.attachSound("bloop_sound"); var hurt_sound = new Sound(); hurt_sound.attachSound("hurt_sound"); var land_sound = new Sound(); land_sound.attachSound("land_sound"); var dangerous_sound = new Sound(); dangerous_sound.attachSound("dangerous"); var door_sound = new Sound(); door_sound.attachSound("door_open"); var door_close = new Sound(); door_close.attachSound("door_close"); var cat_sound = new Sound(); cat_sound.attachSound("cat_sound"); var jump_sound1 = new Sound(); jump_sound1.attachSound("jump_sound"); var shoot_sound1 = new Sound(); shoot_sound1.attachSound("shoot_sound"); var crush_sound1 = new Sound(); crush_sound1.attachSound("crush_sound"); var power_up = new Sound(); power_up.attachSound("power_up"); var death_sound = new Sound(); death_sound.attachSound("death"); var explode_sound = new Sound(); explode_sound.attachSound("enemy_explode"); _global.death = false; var timer = 0; var bulletSpeed = 12; var bulletReady = true; var bulletDelay = 50; var bulletArray = []; var bulletCount = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); };
Instance of Symbol 365 MovieClip "bg" in Frame 59
onClipEvent (load) { if (_global.levelnum == 0) { _root.bg.dg4.gotoAndPlay("close"); this._x = 300; _root.bg3._x = 300; _root.watermelon_whole._y = 70; _global.levelnum = -1; } }
Instance of Symbol 268 MovieClip "watermelon_whole" in Frame 59
onClipEvent (load) { _global.morph_able = false; _global.morph = false; _global.hurt = 1; _global.facing = -1; _global.ducking = false; _global.power = 3; _global.friction = 0.8; _global.speed = 0; _global.yvel = 0; _global.barvar = 4; _global.jumping = false; _global.aiming_down = false; _global.aiming_up = false; i = 0; timer = 0; friction = 0.95; airresist = 0.8; _global.gravity = 10; jumpamount = 22; onfloor = false; } onClipEvent (enterFrame) { if ((_global.hurt == -1) and (!(_global.hurt === 1))) { if (_global.morph == false) { _global.ducking = false; } if ((facing == 1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_left"); } if ((facing == -1) and (_global.morph == false)) { onfloor = false; _global.yvel = (-jumpamount) / 2; _global.speed = 7 * _global.facing; this.gotoAndStop("hurt_right"); } if ((facing == 1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_left"); } if ((facing == -1) and (_global.morph == true)) { onfloor = false; _global.yvel = -10; _global.speed = 7 * _global.facing; this.gotoAndStop("morph_hurt_right"); } } if (_global.hurt == 1) { this._alpha = 100; } _global.speed = _global.speed * _global.friction; if (_root.bg.hitTest(_x, _y - 50, true) and (_global.morph == false)) { _global.yvel = 10; } if (_root.bg.hitTest(_x, _y - 20, true) and (_global.morph == true)) { _global.yvel = 10; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true) and (_global.morph == false)) { _global.speed = _global.speed * 0; } if (Key.isDown(38)) { if (_global.morph == false) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.morph_able = false; _global.morph = false; if (((((((((((_global.gravity == false) and (_global.facing == 1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(37))) and (!Key.isDown(39))) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((((((!Key.isDown(37)) and (!Key.isDown(39))) and (_global.gravity == false)) and (_global.facing == -1)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_left_jumping"); } if (((((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) and (_global.morph == false)) { this.gotoAndStop("up_right_jumping"); } } } if (Key.isDown(83)) { _global.aiming_up = true; if ((((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) and (_global.morph == false)) { this.gotoAndStop("diag_up_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_up_jumping_right"); } } if (!Key.isDown(83)) { _global.aiming_up = false; } if (!Key.isDown(88)) { _global.aiming_down = false; } if (Key.isDown(88)) { _global.aiming_down = true; if (((_global.facing == 1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_left"); } if (((_global.facing == -1) and (_global.morph == false)) and (_global.jumping == true)) { this.gotoAndStop("diag_down_jumping_right"); } } if (Key.isDown(40)) { if ((((_global.facing == 1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_left"); } if ((((_global.facing == -1) and (_global.jumping == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_down_right"); } } if (Key.isDown(65)) { if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } } if (Key.isDown(90)) { if ((_global.gravity == false) and (_global.morph == false)) { _global.morph_able = false; _global.ducking = false; _root.jump_sound1.start(); if ((((((_global.facing == 1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_left"); } if ((((((_global.facing == -1) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.morph_able = false; this.gotoAndStop("jumping_right"); } _global.jumping = true; onfloor = false; _global.yvel = -jumpamount; } } if (Key.isDown(37)) { _global.facing = 1; _global.gravity = true; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_left"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_left"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_left"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((_global.speed >= -10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed - _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed - _global.power; } } } else if (Key.isDown(39)) { _global.gravity = true; _global.facing = -1; if (((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right"); } if ((((((((_global.hurt == 1) and (_global.jumping == false)) and (_global.yvel <= 6)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { this.gotoAndStop("up_moving_right"); } } if ((((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and Key.isDown(83)) and (!Key.isDown(88))) { this.gotoAndStop("diag_up_jumping_right"); } if (((((((_global.jumping == true) and (_global.morph == false)) and (_global.ducking == false)) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and Key.isDown(88)) { this.gotoAndStop("diag_down_jumping_right"); } if (((((((_global.jumping == true) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(38))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((_global.speed <= 10) and (_global.hurt == 1)) { if (_global.ducking == false) { _global.speed = _global.speed + _global.power; } if ((_global.ducking == true) and (_global.morph == true)) { _global.speed = _global.speed + _global.power; } } } if (xvel < 0) { if (onfloor) { } else { xvel = xvel * airresist; } } else if (xvel > 0) { if (onfloor) { } else { xvel = xvel * airresist; } } _root.watermelon_whole._y = _root.watermelon_whole._y + _global.yvel; _root.w_barrier._y = _root.w_barrier._y + _global.yvel; if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 35, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _root.bg3._x = _root.bg3._x - _global.speed; _root.bg._x = _root.bg._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg_block._x = _root.bg_block._x - _global.speed; _root.fly._x = _root.fly._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } else if (((!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 10, true)) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 15, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _root.fly._x = _root.fly._x - _global.speed; _root.bg3._x = _root.bg3._x - _global.speed; _root.bg2._x = _root.bg2._x - (_global.speed / 2); _root.bg._x = _root.bg._x - _global.speed; _root.floater._x = _root.floater._x - _global.speed; _root.bg_block._x = _root.bg_block._x - _global.speed; _root.hornoad._x = _root.hornoad._x - _global.speed; _root.robo._x = _root.robo._x - _global.speed; _root.owtch._x = _root.owtch._x - _global.speed; _root.waver._x = _root.waver._x - _global.speed; _root.reo._x = _root.reo._x - _global.speed; _root.sidehopper._x = _root.sidehopper._x - _global.speed; _root.spires._x = _root.spires._x - _global.speed; _root.spirem._x = _root.spirem._x - _global.speed; } else { _root.watermelon_whole._x = _root.watermelon_whole._x + _global.speed; } } } if (!_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel <= 15) { _global.yvel = _global.yvel + (_global.gravity * 2); } _global.gravity = true; if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("jumping_right"); } if (((((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_left"); } if (((((((_global.facing == 1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(40))) { this.gotoAndStop("morph_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (false)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("down_right"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (_global.ducking == true)) and (_global.morph == eval (true)(!Key.isDown(38)))) and (!Key.isDown(65))) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("morph_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_left"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and Key.isDown(65)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) { this.gotoAndStop("shoot_air_right"); } if ((((((((_global.facing == 1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_left_jumping"); } if ((((((((_global.facing == -1) and (_global.yvel >= 7)) and Key.isDown(38)) and (!Key.isDown(40))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { _global.ducking = false; this.gotoAndStop("up_right_jumping"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(83)) { _global.ducking = false; this.gotoAndStop("diag_up_jumping_right"); } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_left"); } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.yvel >= 7)) and (!Key.isDown(40))) and Key.isDown(88)) { _global.ducking = false; this.gotoAndStop("diag_down_jumping_right"); } } else { while (_root.bg.hitTest(_x, _y + 1, true)) { if (_global.yvel >= 7) { jumping = false; gravity = false; onfloor = true; } if ((_global.yvel >= 7) and (_global.gravity == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if ((_global.yvel >= 7) and (_global.jumping == true)) { _global.gravity = false; _global.jumping = false; if (_global.morph == false) { _root.land_sound.start(); } } if (Key.isDown(65)) { _global.shoot_air = false; } if (Key.isDown(40)) { if ((_global.gravity == false) and (_global.morph == false)) { if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; this.gotoAndStop("down_up_diag_right"); } if ((((_global.facing == 1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_left"); } if ((((_global.facing == -1) and (_global.gravity == false)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; this.gotoAndStop("down_down_diag_right"); } } if ((((_global.gravity == false) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) { if (facing == 1) { _global.morph = true; this.gotoAndStop("morph_left"); } if (facing == -1) { _global.morph = true; this.gotoAndStop("morph_right"); } } } _global.jumping = false; _global.gravity = false; _root.watermelon_whole._y = _root.watermelon_whole._y - 1; _root.w_barrier._y = _root.w_barrier._y - 1; if ((((((_global.facing == 1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); } if ((((((_global.facing == -1) and (_global.yvel >= 7)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("still_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } } if ((((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = false; this.gotoAndStop("up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(83)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_up_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((_global.facing == 1) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and Key.isDown(88)) { _global.shoot_air = false; _global.moving = false; this.gotoAndStop("diag_down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == 1) and (_global.speed <= 0)) and (_global.ducking == true)) and (_global.morph_able == true)) and (_global.morph_ability == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) and Key.isDown(40)) { _global.ducking = true; _global.morph = true; _global.moving = false; this.gotoAndStop("morph_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((((_global.facing == 1) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((((_global.facing == -1) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(38))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.morph_ability == true)) and (_global.morph_able == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((_global.facing == -1) and (_global.morph == true)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(38))) and Key.isDown(40)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((_global.facing == -1) and (_global.speed <= 1.4)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if (((((Key.isDown(39) and (_global.morph == true)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("morph_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(39) and (_global.morph == false)) and (_global.speed >= -1.4)) and (_global.speed <= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_right"); if (_global.speed >= -0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.morph == false)) and (_global.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((Key.isDown(37) and (_global.speed >= 0)) and (_global.morph == true)) and (_global.ducking == true)) { _global.ducking = true; _global.moving = false; _global.morph = true; this.gotoAndStop("morph_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_up_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if ((((((Key.isDown(37) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((Key.isDown(37) and Key.isDown(38)) and (_global.morph == false)) and (_global.speed <= 1.4)) and (_global.speed >= 0)) and (_global.ducking == true)) and (!Key.isDown(83))) and Key.isDown(88)) { _global.ducking = true; _global.moving = false; this.gotoAndStop("down_down_diag_left"); if (_global.speed <= 0.1) { _global.speed = 0; } } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_left"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and (!Key.isDown(38))) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right"); } if (((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_left2"); } if (((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(65)) and (_global.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { _global.moving = true; this.gotoAndStop("moving_right2"); } if ((((((((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_left"); } } if ((((((((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_global.aiming_down == false)) and (_global.aiming_up == false)) { if (_global.morph == false) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } if ((((_global.morph == true) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest((_x + _global.barvar) + (_width / 2), _y - 20, true))) and (!_root.bg.hitTest(_x, _y - 30, true))) { _global.ducking = false; _global.shoot_air = false; _global.moving = true; this.gotoAndStop("up_moving_right"); } } if (Key.isDown(83)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_up_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_up"); } } else if (Key.isDown(88)) { if (((((_global.hurt == 1) and (_global.facing == 1)) and (_global.morph == false)) and (_global.speed <= 0)) and (_global.speed <= -1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_diag_down_left"); } if (((((_global.hurt == 1) and (_global.facing == -1)) and (_global.morph == false)) and (_global.speed >= 0)) and (_global.speed >= 1.5)) { _global.shoot_air = false; _global.moving = true; this.gotoAndStop("moving_right_diag_down"); } } } onfloor = true; _global.yvel = 0; } }
Frame 72
function createBullets() { var _local1 = _global; var _local2 = _root; var _local3 = this; fpsMc._x = -20; fpsMc._y = 540; _local2.shoot_sound1.start(); if ((((_local1.facing == 1) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if ((((_local1.facing == -1) and (_local1.ducking == true)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (22 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 20; } if (((((((_local1.facing == 1) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if (((((((_local1.facing == -1) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == false)) and (_local1.shoot_air == false)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 35; } if ((((((_local1.facing == 1) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if ((((((_local1.facing == -1) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.moving == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if ((((((_local1.facing == 1) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet", "bullet" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if ((((((_local1.facing == -1) and (!Key.isDown(38))) and (!Key.isDown(83))) and (!Key.isDown(88))) and (_local1.ducking == false)) and (_local1.shoot_air == true)) { var bulletMc = _local3.attachMovie("bullet2", "bullet2" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (32 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 39; } if ((((_local1.facing == 1) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if ((((_local1.facing == -1) and Key.isDown(38)) and (!Key.isDown(83))) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet3", "bullet3" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x + (1 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 75; } if (((((_local1.facing == -1) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (2 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if (((((_local1.facing == 1) and Key.isDown(40)) and (_local1.ducking == false)) and (!Key.isDown(83))) and (!Key.isDown(88))) { if (_local1.jumping == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } if (_local1.gravity == true) { var bulletMc = _local3.attachMovie("bullet4", "bullet4" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (8 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y + 3; } } if ((((_local1.facing == 1) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 67; } if ((((_local1.facing == -1) and (_local1.ducking == false)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 65; } if ((((_local1.facing == 1) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet6", "bullet6" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if ((((_local1.facing == -1) and (_local1.ducking == true)) and Key.isDown(83)) and (!Key.isDown(88))) { var bulletMc = _local3.attachMovie("bullet5", "bullet5" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (28 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 48; } if ((((_local1.facing == 1) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if ((((_local1.facing == -1) and (_local1.ducking == false)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (27 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 17; } if ((((_local1.facing == 1) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet8", "bullet8" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } if ((((_local1.facing == -1) and (_local1.ducking == true)) and Key.isDown(88)) and (!Key.isDown(83))) { var bulletMc = _local3.attachMovie("bullet7", "bullet7" + bulletCount, 1000 + bulletCount); bulletMc._x = _local2.watermelon_whole._x - (25 * _local1.facing); bulletMc._y = _local2.watermelon_whole._y - 3; } timer = 0; bulletCount++; bulletArray.push(bulletMc); } function moveBullets() { if ((bulletReady && (Key.isDown(65))) and (timer >= 60)) { timer = 0; bulletReady = false; currentTime = getTimer(); createBullets(); } else if ((currentTime + bulletDelay) <= getTimer()) { bulletReady = true; } var _local1 = 0; while (_local1 < bulletArray.length) { _local1++; } } stop(); var step_sound = new Sound(); step_sound.attachSound("step_sound"); var hurt_sound = new Sound(); hurt_sound.attachSound("hurt_sound"); var land_sound = new Sound(); land_sound.attachSound("land_sound"); var dangerous_sound = new Sound(); dangerous_sound.attachSound("dangerous"); var door_sound = new Sound(); door_sound.attachSound("door_open"); var door_close = new Sound(); door_close.attachSound("door_close"); var cat_sound = new Sound(); cat_sound.attachSound("cat_sound"); var jump_sound1 = new Sound(); jump_sound1.attachSound("jump_sound"); var shoot_sound1 = new Sound(); shoot_sound1.attachSound("shoot_sound"); var crush_sound1 = new Sound(); crush_sound1.attachSound("crush_sound"); var power_up = new Sound(); power_up.attachSound("power_up"); var death_sound = new Sound(); death_sound.attachSound("death"); var explode_sound = new Sound(); explode_sound.attachSound("enemy_explode"); _global.death = false; _root.dangerous_sound.start("", "1000"); var timer = 0; var bulletSpeed = 12; var bulletReady = true; var bulletDelay = 150; var bulletArray = []; var bulletCount = 0; this.onEnterFrame = function () { if (!Key.isDown(65)) { timer = 60; } timer++; moveStars(); moveShip(); fpstimer = 0; moveBullets(); movefps(); };
Instance of Symbol 16 MovieClip in Symbol 22 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent._parent.hitTest(_root.bg.dg)) { _root.bg.dg.gotoAndPlay("open"); _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.bg.dg2)) { _root.bg.dg2.gotoAndPlay("open"); _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.bg.dg3)) { _root.bg.dg3.gotoAndPlay("open"); _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.bg.dg4)) { _root.bg.dg4.gotoAndPlay("open"); _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.spirem)) { if (_global.spirem_hurt == 1) { _global.spirem_life = _global.spirem_life - 1; _global.spirem_hurt = -1; } _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.spires)) { if (_global.spires_hurt == 1) { _global.spires_life = _global.spires_life - 1; _global.spires_hurt = -1; } _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.bg.pulsate)) { _global.pulsate_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_global.death == true) { _parent._parent.removeMovieClip(); } if (_parent._parent.hitTest(_root.dg1)) { _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.multiviola)) { if (_global.multiviola_hurt == 1) { _global.multiviola_life = _global.multiviola_life - 1; _global.multiviola_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_global.multiviola_hurt == -1) { _parent._parent.gotoAndPlay("explodia"); } } if (_parent._parent.hitTest(_root.owtch)) { if (_global.owtch_hurt == 1) { _global.owtch_life = _global.owtch_life - 1; _global.owtch_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_global.owtch_hurt == -1) { _parent._parent.gotoAndPlay("explodia"); } } if (_parent._parent.hitTest(_root.floater)) { if (_global.floater_hurt == 1) { _global.floater_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_global.floater_hurt == -1) { _parent._parent.gotoAndPlay("explodia"); } } if (_parent._parent.hitTest(_root.fly)) { if (_global.fly_hurt == 1) { _global.fly_life = _global.fly_life - 1; _global.fly_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_global.fly_hurt == -1) { _parent._parent.gotoAndPlay("explodia"); } } if (_parent._parent.hitTest(_root.reo)) { if (_global.reo_hurt == 1) { _global.reo_life = _global.reo_life - 1; _global.reo_hurt = -1; } _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.waver)) { if (_global.waver_hurt == 1) { _global.waver_life = _global.waver_life - 1; _global.waver_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_global.waver_hurt == -1) { _parent._parent.gotoAndPlay("explodia"); } } if (_parent._parent.hitTest(_root.hornoad)) { if (_global.hornoad_hurt == 1) { _global.hornoad_life = _global.hornoad_life - 1; _global.hornoad_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_global.hornoad_hurt == -3) { _parent._parent.gotoAndPlay("explodia"); } if (_global.hornoad_hurt == -2) { _parent._parent.gotoAndPlay("explodia"); } if (_global.hornoad_hurt == -1) { _parent._parent.gotoAndPlay("explodia"); } if (_global.hornoad_hurt == 0) { _parent._parent.gotoAndPlay("explodia"); } } if (_parent._parent.hitTest(_root.sidehopper)) { if (_global.sidehopper_hurt == 1) { _global.sidehopper_life = _global.sidehopper_life - 1; _global.sidehopper_hurt = -1; } if (_global.sidehopper_hurt == -2) { _global.sidehopper_life = _global.sidehopper_life - 1; _global.sidehopper_hurt = -1; } _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.robo) and (_global.robo_facing == 1)) { _global.robo_hurt = -2; _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.robo) and (_global.robo_facing == -1)) { _global.robo_hurt = -1; _parent._parent.gotoAndPlay("explodia"); } if (_parent._parent.hitTest(_root.hornoad2) and (_global.hornoad2_hurt == 1)) { _global.hornoad2_life = _global.hornoad2_life - 1; _global.hornoad2_hurt = -1; _parent._parent.removeMovieClip(); } }
Instance of Symbol 17 MovieClip in Symbol 28 MovieClip [ball_bomb] Frame 1
onClipEvent (load) { speedx = -17; speedy = 0; } onClipEvent (enterFrame) { if (_root.death.hitTest(_parent._x, _parent._y + 1, true)) { _parent.removeMovieClip(); } if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Symbol 28 MovieClip [ball_bomb] Frame 21
_root.explode_sound.start();
Instance of Symbol 22 MovieClip in Symbol 28 MovieClip [ball_bomb] Frame 21
onClipEvent (load) { speedx = -17; speedy = 0; } onClipEvent (enterFrame) { if (_root.death.hitTest(_parent._x, _parent._y + 1, true)) { _parent.removeMovieClip(); } if (_root.watermelon_whole.hitTest(_parent._x, _parent._y + 1, true) and (_global.morph == true)) { _global.jumping = true; onfloor = false; _global.yvel = -15; } if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip [ball_bomb] Frame 25
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 39 MovieClip [bullet4] Frame 1
stop();
Instance of Symbol 30 MovieClip in Symbol 39 MovieClip [bullet4] Frame 1
onClipEvent (load) { speedx = 17; } onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (!_root.bg.hitTest(_parent._x + 8, _parent._y + 1, true)) { _parent._y = _parent._y + speedx; } if ((((((_root.bg.hitTest(_parent._x + 8, _parent._y + 1, true) and (!_parent.hitTest(_root.bg.spires))) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.dg3))) and (!_parent.hitTest(_root.bg.dg4))) and (!_parent.hitTest(_root.bg.spirem))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x, _parent._y + 1, true)) { _parent.removeMovieClip(); } }
Symbol 39 MovieClip [bullet4] Frame 4
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 39 MovieClip [bullet4] Frame 4
onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 38 MovieClip in Symbol 39 MovieClip [bullet4] Frame 8
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 42 MovieClip [bullet8] Frame 1
stop();
Instance of Symbol 41 MovieClip in Symbol 42 MovieClip [bullet8] Frame 1
onClipEvent (load) { speedy = 17; speedx = 17; } onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (!_root.bg.hitTest(_parent._x, _parent._y + 1, true)) { _parent._y = _parent._y + speedy; _parent._x = _parent._x - speedx; } if ((((((_root.bg.hitTest(_parent._x, _parent._y + 1, true) and (!_parent.hitTest(_root.bg.spires))) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.dg3))) and (!_parent.hitTest(_root.bg.dg4))) and (!_parent.hitTest(_root.bg.spirem))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x, _parent._y + 1, true)) { _parent.removeMovieClip(); } }
Symbol 42 MovieClip [bullet8] Frame 4
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 42 MovieClip [bullet8] Frame 4
onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 38 MovieClip in Symbol 42 MovieClip [bullet8] Frame 8
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 45 MovieClip [bullet7] Frame 1
stop();
Instance of Symbol 44 MovieClip in Symbol 45 MovieClip [bullet7] Frame 1
onClipEvent (load) { speedy = 17; speedx = 17; } onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (!_root.bg.hitTest(_parent._x, _parent._y + 1, true)) { _parent._y = _parent._y + speedy; _parent._x = _parent._x + speedx; } if ((((((_root.bg.hitTest(_parent._x, _parent._y + 1, true) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.dg3))) and (!_parent.hitTest(_root.bg.dg4))) and (!_parent.hitTest(_root.bg.spirem))) and (!_parent.hitTest(_root.bg.spires))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x, _parent._y + 1, true)) { _parent.removeMovieClip(); } }
Symbol 45 MovieClip [bullet7] Frame 4
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 45 MovieClip [bullet7] Frame 4
onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 38 MovieClip in Symbol 45 MovieClip [bullet7] Frame 8
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 48 MovieClip [bullet5] Frame 1
stop();
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [bullet5] Frame 1
onClipEvent (load) { speedy = 17; speedx = 17; } onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (!_root.bg.hitTest(_parent._x, _parent._y - 3, true)) { _parent._y = _parent._y - speedy; _parent._x = _parent._x + speedx; } if ((((((_root.bg.hitTest(_parent._x, _parent._y - 3, true) and (!_parent.hitTest(_root.bg.spires))) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.dg3))) and (!_parent.hitTest(_root.bg.dg4))) and (!_parent.hitTest(_root.bg.spirem))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x, _parent._y - 3, true)) { _parent.removeMovieClip(); } }
Symbol 48 MovieClip [bullet5] Frame 4
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 48 MovieClip [bullet5] Frame 4
onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 38 MovieClip in Symbol 48 MovieClip [bullet5] Frame 8
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 49 MovieClip [bullet3] Frame 1
stop();
Instance of Symbol 30 MovieClip in Symbol 49 MovieClip [bullet3] Frame 1
onClipEvent (load) { if ((_global.yvel <= 2) and (_global.yvel >= -2)) { gravity = false; } else { gravity = true; } speedx = 17; } onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (!_root.bg.hitTest(_parent._x + 8, _parent._y - 1, true)) { _parent._y = _parent._y - speedx; } if ((((((_root.bg.hitTest(_parent._x + 8, _parent._y - 1, true) and (!_parent.hitTest(_root.bg.spires))) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.dg3))) and (!_parent.hitTest(_root.bg.dg4))) and (!_parent.hitTest(_root.bg.spirem))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x, _parent._y - 1, true)) { _parent.removeMovieClip(); } }
Symbol 49 MovieClip [bullet3] Frame 4
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 49 MovieClip [bullet3] Frame 4
onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 38 MovieClip in Symbol 49 MovieClip [bullet3] Frame 8
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 50 MovieClip [bullet2] Frame 1
stop();
Instance of Symbol 30 MovieClip in Symbol 50 MovieClip [bullet2] Frame 1
onClipEvent (load) { if ((_global.yvel <= 2) and (_global.yvel >= -2)) { gravity = false; } else { gravity = true; } speedx = 17; } onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (!_root.bg.hitTest(_parent._x, _parent._y + 1, true)) { _parent._x = _parent._x + speedx; _parent._y = _parent._y + speedy; } if ((((_root.bg.hitTest(_parent._x, _parent._y + 1, true) and (!_parent.hitTest(_root.bg.spires))) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.spirem))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x, _parent._y + 1, true)) { _parent.removeMovieClip(); } }
Symbol 50 MovieClip [bullet2] Frame 4
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 50 MovieClip [bullet2] Frame 4
onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 38 MovieClip in Symbol 50 MovieClip [bullet2] Frame 8
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 53 MovieClip [bullet] Frame 1
stop();
Instance of Symbol 52 MovieClip in Symbol 53 MovieClip [bullet] Frame 1
onClipEvent (load) { speedx = -17; speedy = 0; } onClipEvent (enterFrame) { if ((((((_root.bg.hitTest(_parent._x, _parent._y + 1, true) and (!_parent.hitTest(_root.bg.spires))) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.dg3))) and (!_parent.hitTest(_root.bg.dg4))) and (!_parent.hitTest(_root.bg.spirem))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x, _parent._y + 1, true)) { _parent.removeMovieClip(); } if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (!_root.bg.hitTest(_parent._x, _parent._y + 1, true)) { _parent._y = _parent._y + speedy; _parent._x = _parent._x + speedx; } }
Symbol 53 MovieClip [bullet] Frame 3
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 53 MovieClip [bullet] Frame 3
onClipEvent (enterFrame) { if (_global.morph == false) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 35, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) and (!_root.bg.hitTest((_x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } if (_global.morph == true) { if (_global.facing == -1) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } } else if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 10, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 15, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 18, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } } }
Instance of Symbol 38 MovieClip in Symbol 53 MovieClip [bullet] Frame 7
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Symbol 60 MovieClip [fps2] Frame 1
if (_global.samus_life <= 0) { _global.samus_life = 0; } fpsout = _global.samus_life;
Instance of Symbol 59 MovieClip in Symbol 60 MovieClip [fps2] Frame 1
onClipEvent (enterFrame) { this._xscale = _global.samus_life; }
Symbol 64 MovieClip [fps] Frame 1
timer2 = new Date(); tmpfps = timer2.getTime() - timer1.getTime(); timer1 = new Date(); fps = Math.round((1000 / tmpfps) * 35); fpsout = "Fps: " + fps; _global.hurt = 1;
Symbol 64 MovieClip [fps] Frame 15
_global.hurt = 1;
Symbol 67 MovieClip [bullet6] Frame 1
stop();
Instance of Symbol 66 MovieClip in Symbol 67 MovieClip [bullet6] Frame 1
onClipEvent (load) { speedy = 17; speedx = 17; } onClipEvent (enterFrame) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 20, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 200)) { _parent._x = _parent._x - _global.speed; } } if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 20, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 200)) { _parent._x = _parent._x - _global.speed; } } if (!_root.bg.hitTest(_parent._x - 1, _parent._y - 1, true)) { _parent._y = _parent._y - speedy; _parent._x = _parent._x - speedx; } if ((((((_root.bg.hitTest(_parent._x - 1, _parent._y - 1, true) and (!_parent.hitTest(_root.bg.spires))) and (!_parent.hitTest(_root.bg.dg))) and (!_parent.hitTest(_root.bg.dg2))) and (!_parent.hitTest(_root.bg.dg3))) and (!_parent.hitTest(_root.bg.dg4))) and (!_parent.hitTest(_root.bg.spirem))) { _parent.gotoAndPlay("explodia"); } if (_root.death.hitTest(_parent._x - 1, _parent._y - 1, true)) { _parent.removeMovieClip(); } }
Symbol 67 MovieClip [bullet6] Frame 4
_root.explode_sound.start();
Instance of Symbol 33 MovieClip in Symbol 67 MovieClip [bullet6] Frame 4
onClipEvent (enterFrame) { if (((!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 20, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x + _global.barvar) + (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) { if ((_root.bg._x >= _global.right_scroll) and (_root.watermelon_whole._x >= 160)) { _parent._x = _parent._x - _global.speed; } } if (((!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 30, true)) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 20, true))) and (!_root.bg.hitTest((_root.watermelon_whole._x - _global.barvar) - (_root.watermelon_whole._width / 2), _root.watermelon_whole._y - 40, true))) { if ((_root.bg._x <= _global.left_scroll) and (_root.watermelon_whole._x <= 160)) { _parent._x = _parent._x - _global.speed; } } }
Instance of Symbol 38 MovieClip in Symbol 67 MovieClip [bullet6] Frame 8
onClipEvent (enterFrame) { _parent.removeMovieClip(); }
Instance of Symbol 69 MovieClip "death" in Symbol 70 MovieClip [death_zone] Frame 1
onClipEvent (enterFrame) { if (_global.morph_get == 1) { _global.morph_ability = true; } if (_parent.hitTest(_root.watermelon_whole)) { _global.samus_life = 0; } if (_parent.hitTest(_root.jaws)) { _root.jaws1.unloadMovie(); _root.explode_sound.start(); } if (_global.samus_life <= 0) { _global.samus_life = 0; } if (_global.samus_life >= 99) { _global.samus_life = 99; } if (_global.samus_life <= 0) { _root.death_sound.start(); _root.watermelon_whole.unloadMovie(); _global.death = true; _root.gotoAndStop("dead"); } }
Symbol 79 MovieClip Frame 2
stop();
Symbol 79 MovieClip Frame 7
_root.door_sound.start();
Symbol 79 MovieClip Frame 11
stop();
Symbol 79 MovieClip Frame 14
_root.door_close.start();
Symbol 79 MovieClip Frame 17
gotoAndStop (2);
Instance of Symbol 79 MovieClip "dg" in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Instance of Symbol 79 MovieClip "dg2" in Symbol 84 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Symbol 89 MovieClip Frame 8
_global.owtch_hurt = 1;
Symbol 96 MovieClip Frame 1
_root.explode_sound.start();
Symbol 96 MovieClip Frame 7
if (_global.owtch_random == 0) { _global.owtch_life = 1001; } if (_global.owtch_random == 1) { _global.owtch_life = 1; _global.owtch_hurt = 2; } if (_global.owtch_random == 2) { _global.owtch_life = 1; _global.owtch_hurt = 2; } if (_global.owtch_random == 3) { _global.owtch_life = 1; _global.owtch_hurt = 3; }
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.bloop_sound.start(); if (_global.samus_life <= 98) { _global.samus_life = _global.samus_life + 10; } _parent.unloadMovie(); } }
Instance of Symbol 106 MovieClip in Symbol 107 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.bloop_sound.start(); if (_global.samus_life <= 98) { _global.samus_life = _global.samus_life + 20; } _parent.unloadMovie(); } }
Symbol 108 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 108 MovieClip Frame 49
onClipEvent (load) { _global.owtch_random = Math.round(Math.random() * 3); }
Instance of Symbol 108 MovieClip in Symbol 109 MovieClip Frame 1
onClipEvent (load) { _global.owtch_random = -1; _global.owtch_life = 2; _global.owtch_hurt = 1; speed = 4; hurt = false; facing = 1; move_counter = 1; yvelocity = 0; amount_jumped = 12; grav = true; jump = false; } onClipEvent (enterFrame) { if (_parent.hitTest(_root.watermelon_whole) and (_global.hurt == 1)) { if (_global.owtch_hurt == 1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 5; } if (_global.owtch_hurt == -1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 5; } } if (_global.owtch_hurt == 2) { this.gotoAndStop("ball_small"); } if (_global.owtch_hurt == 3) { this.gotoAndStop("ball_big"); } if (_global.owtch_life <= 0) { _global.owtch_hurt = -5; this.gotoAndStop("dead"); } if (_global.owtch_life >= 1000) { _parent.unloadMovie(); } if (_global.owtch_hurt == 1) { _parent._y = _parent._y - yvelocity; move_counter = move_counter + 1; if (facing == 1) { _parent._x = _parent._x + 3; this.gotoAndStop("right"); } else if (facing == -1) { _parent._x = _parent._x - 3; this.gotoAndStop("left"); } } if (_global.owtch_hurt == -1) { _parent._y = _parent._y - yvelocity; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("hurt_right"); } else if (facing == -1) { this.gotoAndStop("hurt_left"); } } if (_root.bg.hitTest((_parent._x + 2) + (_parent._width / 2), _parent._y - 15, true)) { if (facing == 1) { _parent._x = _parent._x - 10; speed = speed * -1; facing = facing * -1; } } if (_root.bg.hitTest((_parent._x - 2) - (_parent._width / 2), _parent._y - 15, true)) { if (facing == -1) { _parent._x = _parent._x + 10; speed = speed * -1; facing = facing * -1; } } if (_root.bg.hitTest((_parent._x + 10) + (_parent._width / 2), _parent._y - 18, true) and (!_root.bg.hitTest(_parent._x, _parent._y - 19, true))) { if (facing == 1) { yvelocity = 18; } } if (_root.bg.hitTest((_parent._x - 10) - (_parent._width / 2), _parent._y - 18, true) and (!_root.bg.hitTest(_parent._x, _parent._y - 19, true))) { if (facing == -1) { yvelocity = 18; } } if (_root.bg.hitTest(_parent._x, _parent._y - 30, true)) { yvelocity = 3; } if (!_root.bg.hitTest(_parent._x, _parent._y + 1, true)) { if (yvelocity >= -15) { _parent._y = _parent._y + 3; grav = true; yvelocity = yvelocity - 3; } } else { while (_root.bg.hitTest(_parent._x, _parent._y + 1, true)) { grav = false; jump = false; _parent._y = _parent._y - 1; } } if (move_counter == distance) { move_counter = 1; speed = speed * -1; } }
Symbol 122 MovieClip Frame 7
_global.fly_hurt = 1;
Symbol 123 MovieClip Frame 1
_root.explode_sound.start();
Symbol 123 MovieClip Frame 7
if (_global.fly_random == 0) { _global.fly_life = 1001; } if (_global.fly_random == 1) { _global.fly_life = 1; _global.fly_hurt = 2; } if (_global.fly_random == 2) { _global.fly_life = 1; _global.fly_hurt = 2; } if (_global.fly_random == 3) { _global.fly_life = 1; _global.fly_hurt = 3; }
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 11
stop();
Symbol 124 MovieClip Frame 22
stop();
Symbol 124 MovieClip Frame 32
stop();
Symbol 124 MovieClip Frame 43
stop();
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip Frame 43
onClipEvent (load) { _global.fly_random = Math.round(Math.random() * 3); }
Symbol 124 MovieClip Frame 53
stop();
Symbol 124 MovieClip Frame 64
stop();
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) { _global.fly_random = -1; dir = -1; speedx = 5; _global.fly_life = 2; _global.fly_hurt = 1; speed = 4; hurt = false; facing = 1; move_counter = 1; yvelocity = 0; amount_jumped = 12; grav = true; jump = false; speedy = 4; } onClipEvent (enterFrame) { if (_parent.hitTest(_root.watermelon_whole) and (_global.hurt == 1)) { if (_global.fly_hurt == 1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 6; } if (_global.fly_hurt == -1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 6; } } if (_global.fly_hurt == 2) { this.gotoAndStop("ball_small"); } if (_global.fly_hurt == 3) { this.gotoAndStop("ball_big"); } if (((_global.fly_life >= 0) and (_global.fly_life <= 10)) and (_global.fly_hurt >= -2)) { } if (_global.fly_life <= 0) { _global.fly_hurt = -5; this.gotoAndStop("dead"); } if (_global.fly_life >= 1000) { _parent.unloadMovie(); } if (facing == 1) { if (_global.fly_hurt == 1) { _parent._x = _parent._x + speedx; } if (_global.fly_hurt == -1) { } } if (facing == -1) { if (_global.fly_hurt == 1) { _parent._x = _parent._x - speedx; } if (_global.fly_hurt == -1) { } } if (_global.fly_hurt == 1) { _parent._y = _parent._y - yvelocity; _parent._y = _parent._y - speedy; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("moving_right"); } else if (facing == -1) { this.gotoAndStop("moving_left"); } } if (_global.fly_hurt == -1) { move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("hurt_right"); } else if (facing == -1) { this.gotoAndStop("hurt_left"); } } if (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) { if (_global.fly_hurt == 1) { speedy = 4; } if (_global.fly_hurt == -1) { speedy = 4; } } if (_root.bg.hitTest(_parent._x, _parent._y - 18, true)) { if (_global.fly_hurt == 1) { speedy = -4; } if (_global.fly_hurt == -1) { speedy = -4; } } if (_root.bg.hitTest((_parent._x + 2) + (_parent._width / 2), _parent._y - 13, true)) { if ((facing == 1) and (_global.fly_hurt == 1)) { _parent._x = _parent._x - 10; speed = speed * -1; facing = facing * -1; } if ((facing == 1) and (_global.fly_hurt == -1)) { _parent._x = _parent._x - 10; speed = speed * -1; facing = facing * -1; } } if (_root.bg.hitTest((_parent._x - 2) - (_parent._width / 2), _parent._y - 13, true)) { if ((facing == -1) and (_global.fly_hurt == 1)) { _parent._x = _parent._x + 10; speed = speed * -1; facing = facing * -1; } if ((facing == -1) and (_global.fly_hurt == -1)) { _parent._x = _parent._x + 10; speed = speed * -1; facing = facing * -1; } } if (!_root.bg.hitTest(_parent._x, _parent._y + 3, true)) { } else { while (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) { grav = false; jump = false; _parent._y = _parent._y - 1; } } if (move_counter == distance) { move_counter = 1; speed = speed * -1; } }
Symbol 143 MovieClip Frame 14
_global.multiviola_hurt = 1;
Symbol 144 MovieClip Frame 1
_root.explode_sound.start();
Symbol 144 MovieClip Frame 7
if (_global.multiviola_random == 0) { _global.multiviola_life = 1001; } if (_global.multiviola_random == 1) { _global.multiviola_life = 1; _global.multiviola_hurt = 2; } if (_global.multiviola_random == 2) { _global.multiviola_life = 1; _global.multiviola_hurt = 2; } if (_global.multiviola_random == 3) { _global.multiviola_life = 1; _global.multiviola_hurt = 3; }
Symbol 145 MovieClip Frame 1
stop();
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 46
onClipEvent (load) { _global.multiviola_random = Math.round(Math.random() * 3); }
Instance of Symbol 145 MovieClip in Symbol 146 MovieClip Frame 1
onClipEvent (load) { _global.multiviola_random = -1; dir = -1; speedx = 2; _global.multiviola_life = 3; _global.multiviola_hurt = 1; speed = 2; hurt = false; facing = 1; move_counter = 1; yvelocity = 0; amount_jumped = 12; grav = true; jump = false; speedy = 2; } onClipEvent (enterFrame) { if (_parent.hitTest(_root.watermelon_whole) and (_global.hurt == 1)) { if (_global.multiviola_hurt == 1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 8; } if (_global.multiviola_hurt == -1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 8; } } if (_global.multiviola_hurt == 2) { this.gotoAndStop("ball_small"); } if (_global.multiviola_hurt == 3) { this.gotoAndStop("ball_big"); } if (((_global.multiviola_life >= 0) and (_global.multiviola_life <= 10)) and (_global.multiviola_hurt >= -2)) { } if (_global.multiviola_life <= 0) { _global.multiviola_hurt = -5; this.gotoAndStop("dead"); } if (_global.multiviola_life >= 1000) { _parent.unloadMovie(); } if (facing == 1) { if (_global.multiviola_hurt == 1) { _parent._x = _parent._x + speedx; } if (_global.multiviola_hurt == -1) { } } if (facing == -1) { if (_global.multiviola_hurt == 1) { _parent._x = _parent._x - speedx; } if (_global.multiviola_hurt == -1) { } } if (_global.multiviola_hurt == 1) { _parent._y = _parent._y - yvelocity; _parent._y = _parent._y - speedy; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("moving_right"); } else if (facing == -1) { this.gotoAndStop("moving_left"); } } if (_global.multiviola_hurt == -1) { move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("hurt_right"); } else if (facing == -1) { this.gotoAndStop("hurt_left"); } } if (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) { if (_global.multiviola_hurt == 1) { speedy = 2; } if (_global.multiviola_hurt == -1) { speedy = 2; } } if (_root.bg.hitTest(_parent._x, _parent._y - 18, true)) { if (_global.multiviola_hurt == 1) { speedy = -2; } if (_global.multiviola_hurt == -1) { speedy = -2; } } if (_root.bg.hitTest((_parent._x + 2) + (_parent._width / 2), _parent._y - 13, true)) { if ((facing == 1) and (_global.multiviola_hurt == 1)) { _parent._x = _parent._x - 4; speed = speed * -1; facing = facing * -1; } if ((facing == 1) and (_global.multiviola_hurt == -1)) { _parent._x = _parent._x - 4; speed = speed * -1; facing = facing * -1; } } if (_root.bg.hitTest((_parent._x - 2) - (_parent._width / 2), _parent._y - 13, true)) { if ((facing == -1) and (_global.multiviola_hurt == 1)) { _parent._x = _parent._x + 4; speed = speed * -1; facing = facing * -1; } if ((facing == -1) and (_global.multiviola_hurt == -1)) { _parent._x = _parent._x + 4; speed = speed * -1; facing = facing * -1; } } if (!_root.bg.hitTest(_parent._x, _parent._y + 3, true)) { } else { while (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) { grav = false; jump = false; _parent._y = _parent._y - 1; } } if (move_counter == distance) { move_counter = 1; speed = speed * -1; } }
Symbol 159 MovieClip Frame 5
var spin_sound = new Sound(); spin_sound.attachSound("spin_sound"); spin_sound.start();
Symbol 170 MovieClip Frame 5
_root.step_sound.start();
Symbol 170 MovieClip Frame 10
_root.step_sound.start();
Symbol 213 MovieClip Frame 1
_root.hurt_sound.start();
Symbol 213 MovieClip Frame 6
_global.gravity = true; _global.hurt = 1;
Symbol 213 MovieClip Frame 7
_global.gravity = true; _global.hurt = 1; if ((facing == 1) and (_global.yvel == 0)) { _root.watermelon_whole.gotoAndStop("still_left"); } if ((facing == -1) and (_global.yvel == 0)) { _root.watermelon_whole.gotoAndStop("still_right"); }
Symbol 223 MovieClip Frame 7
_global.gravity = true; _global.hurt = 1;
Symbol 223 MovieClip Frame 8
_global.gravity = true; _global.hurt = 1; if ((facing == 1) and (_global.yvel == 0)) { _root.watermelon_whole.gotoAndStop("morph_left"); } if ((facing == -1) and (_global.yvel == 0)) { _root.watermelon_whole.gotoAndStop("morph_right"); }
Symbol 268 MovieClip Frame 1
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 12
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 23
stop(); _global.hurt = 1;
Instance of Symbol 181 MovieClip in Symbol 268 MovieClip Frame 23
onClipEvent (load) { this._visible = false; } onClipEvent (enterFrame) { if (Key.isDown(65)) { this._visible = true; } if (!Key.isDown(65)) { this._visible = false; } }
Instance of Symbol 192 MovieClip in Symbol 268 MovieClip Frame 23
onClipEvent (enterFrame) { if (Key.isDown(65)) { this._visible = false; } if (!Key.isDown(65)) { this._visible = true; } }
Symbol 268 MovieClip Frame 35
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 45
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 60
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 74
stop(); _global.hurt = 1;
Instance of Symbol 200 MovieClip in Symbol 268 MovieClip Frame 74
onClipEvent (enterFrame) { if (!Key.isDown(40)) { _global.morph_able = true; } }
Symbol 268 MovieClip Frame 86
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 99
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 112
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 125
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 139
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 159
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 177
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 193
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 210
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 230
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 275
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 308
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 320
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 335
stop(); _global.hurt = 1;
Instance of Symbol 229 MovieClip in Symbol 268 MovieClip Frame 335
onClipEvent (enterFrame) { if (!Key.isDown(40)) { _global.morph_able = true; } }
Symbol 268 MovieClip Frame 349
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 359
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 378
stop(); _global.hurt = 1;
Instance of Symbol 244 MovieClip in Symbol 268 MovieClip Frame 378
onClipEvent (load) { this._visible = false; } onClipEvent (enterFrame) { if (Key.isDown(65)) { this._visible = true; } if (!Key.isDown(65)) { this._visible = false; } }
Instance of Symbol 255 MovieClip in Symbol 268 MovieClip Frame 378
onClipEvent (enterFrame) { if (Key.isDown(65)) { this._visible = false; } if (!Key.isDown(65)) { this._visible = true; } }
Symbol 268 MovieClip Frame 396
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 403
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 417
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 429
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 439
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 450
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 464
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 481
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 497
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 514
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 530
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 558
stop(); _global.hurt = 1;
Symbol 268 MovieClip Frame 571
stop(); _global.hurt = 1;
Instance of Symbol 271 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level2"); } if (this.hitTest(_root.owtch)) { _global.owtch_life = 1001; } }
Instance of Symbol 271 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level0"); } if (this.hitTest(_root.owtch)) { _global.owtch_life = 1001; } }
Instance of Symbol 79 MovieClip "dg" in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Instance of Symbol 79 MovieClip "dg2" in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Symbol 283 MovieClip Frame 1
_root.cat_sound.start();
Symbol 283 MovieClip Frame 7
_global.hornoad_hurt = 0;
Symbol 289 MovieClip Frame 5
_global.hornoad_hurt = -3;
Symbol 290 MovieClip Frame 1
_root.explode_sound.start();
Symbol 290 MovieClip Frame 7
if (_global.hornoad_random == 0) { _global.hornoad_life = 1001; } if (_global.hornoad_random == 1) { _global.hornoad_life = 1; _global.hornoad_hurt = 2; } if (_global.hornoad_random == 2) { _global.hornoad_life = 1; _global.hornoad_hurt = 2; } if (_global.hornoad_random == 3) { _global.hornoad_life = 1; _global.hornoad_hurt = 3; }
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 6
stop();
Symbol 293 MovieClip Frame 10
stop();
Symbol 293 MovieClip Frame 18
stop();
Symbol 293 MovieClip Frame 25
stop();
Symbol 293 MovieClip Frame 33
stop();
Symbol 293 MovieClip Frame 41
stop();
Symbol 293 MovieClip Frame 49
stop();
Symbol 293 MovieClip Frame 56
stop();
Instance of Symbol 290 MovieClip in Symbol 293 MovieClip Frame 56
onClipEvent (load) { _global.hornoad_random = Math.round(Math.random() * 3); }
Symbol 293 MovieClip Frame 62
stop();
Symbol 293 MovieClip Frame 70
stop();
Instance of Symbol 293 MovieClip "hornoad_sub" in Symbol 294 MovieClip Frame 1
onClipEvent (load) { _global.hornoad_random = -1; _global.hornoad_life = 3; _global.hornoad_hurt = 1; speed = 4; hurt = false; facing = 1; move_counter = 1; yvelocity = 0; amount_jumped = 12; grav = true; jump = false; jump_random = 0; } onClipEvent (enterFrame) { if (_parent.hitTest(_root.watermelon_whole) and (_global.hurt == 1)) { if (_global.hornoad_hurt == 1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 5; } if (_global.hornoad_hurt == -3) { _global.hurt = -1; _global.samus_life = _global.samus_life - 5; } if (_global.hornoad_hurt == 0) { _global.hurt = -1; _global.samus_life = _global.samus_life - 5; } if (_global.hornoad_hurt == -1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 5; } if (_global.hornoad_hurt == -2) { _global.hurt = -1; _global.samus_life = _global.samus_life - 5; } } if (_global.hornoad_hurt == 2) { this.gotoAndStop("ball_small"); } if (_global.hornoad_hurt == 3) { this.gotoAndStop("ball_big"); } if (_global.hornoad_life <= 0) { _global.hornoad_hurt = -5; this.gotoAndStop("dead"); } if (_global.hornoad_life >= 1000) { _parent.unloadMovie(); } if (_global.hornoad_hurt == 1) { _parent._y = _parent._y - yvelocity; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("right"); } else if (facing == -1) { this.gotoAndStop("left"); } } if (_global.hornoad_hurt == -3) { _parent._y = _parent._y - yvelocity; if (!_root.bg.hitTest(_parent._x, _parent._y + 3, true)) { } else { _global.hornoad_hurt = 1; } if (facing == 1) { this.gotoAndStop("jump_right"); } else if (facing == -1) { this.gotoAndStop("jump_left"); } } if (_global.hornoad_hurt == 0) { _parent._y = _parent._y - yvelocity; move_counter = move_counter + 1; if (facing == 1) { yvelocity = 25; this.gotoAndStop("semi_right"); } else if (facing == -1) { yvelocity = 25; this.gotoAndStop("semi_left"); } } if (_global.hornoad_hurt == -1) { _parent._y = _parent._y - yvelocity; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("hurt_right"); } else if (facing == -1) { this.gotoAndStop("hurt_left"); } } if (_global.hornoad_hurt == -2) { _parent._y = _parent._y - yvelocity; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("hurt_right2"); } else if (facing == -1) { this.gotoAndStop("hurt_left2"); } } if (_root.bg.hitTest((_parent._x + 2) + (_parent._width / 2), _parent._y - 20, true)) { _parent._x = _parent._x - 10; speed = speed * -1; facing = facing * -1; } if (_root.bg.hitTest((_parent._x - 2) - (_parent._width / 2), _parent._y - 20, true)) { _parent._x = _parent._x + 10; speed = speed * -1; facing = facing * -1; } if (_root.bg.hitTest(_parent._x, _parent._y - 30, true)) { yvelocity = 3; } if (grav == false) { if (jump_random <= 10) { jump_random = jump_random + 1; } if (jump_random == 10) { jump_random = 0; } if ((jump_random == 2) and (_global.hornoad_life <= 100)) { yvelocity = 18; } } if (!_root.bg.hitTest(_parent._x, _parent._y + 3, true)) { if (_global.hornoad_hurt == 1) { if (facing == 1) { _parent._x = _parent._x + 3; } if (facing == -1) { _parent._x = _parent._x - 3; } } if (_global.hornoad_hurt == -3) { if (facing == 1) { _parent._x = _parent._x + 5; } if (facing == -1) { _parent._x = _parent._x - 5; } } if (yvelocity >= -15) { if (_global.hornoad_hurt == 1) { _parent._y = _parent._y + 3; grav = true; yvelocity = yvelocity - 3; } if (_global.hornoad_hurt == -3) { _parent._y = _parent._y + 3; grav = true; yvelocity = yvelocity - 3; } if (_global.hornoad_hurt == 0) { _parent._y = _parent._y + 3; grav = true; yvelocity = yvelocity - 3; } if (_global.hornoad_hurt == -1) { _parent._y = _parent._y + 3; grav = true; yvelocity = yvelocity - 3; } if (_global.hornoad_hurt == -2) { _parent._y = _parent._y + 3; grav = true; yvelocity = yvelocity - 3; } } } else { while (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) { grav = false; jump = false; _parent._y = _parent._y - 1; } } if (move_counter == distance) { move_counter = 1; speed = speed * -1; } }
Instance of Symbol 271 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _global.levelnum = 2; _root.gotoAndStop("level_2"); } }
Instance of Symbol 271 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level1"); } }
Instance of Symbol 271 MovieClip in Symbol 296 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level3"); } }
Instance of Symbol 79 MovieClip "dg" in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Instance of Symbol 79 MovieClip "dg2" in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Symbol 312 MovieClip Frame 7
_global.robo_hurt = 1;
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 19
stop();
Instance of Symbol 313 MovieClip "robo_sub" in Symbol 314 MovieClip Frame 1
onClipEvent (load) { _global.robo_life = 3; _global.robo_hurt = 1; speed = 4; hurt = false; _global.robo_facing = 1; move_counter = 1; yvelocity = 0; amount_jumped = 12; grav = true; jump = false; jump_random = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole) and (_global.hurt == 1)) { _global.samus_life = _global.samus_life - 1; _global.hurt = -1; } _parent._y = _parent._y - yvelocity; if (_global.robo_life <= 0) { _global.robo_hurt = -5; this.gotoAndStop("dead"); } if (_global.robo_life >= 1000) { this.unloadMovie(); } if (_global.robo_hurt == 1) { move_counter = move_counter + 1; if (_global.robo_facing == 1) { _parent._x = _parent._x + 2; this.gotoAndStop("normal_right"); } else if (_global.robo_facing == -1) { _parent._x = _parent._x - 2; this.gotoAndStop("normal_left"); } } if (_global.robo_hurt == -1) { move_counter = move_counter + 1; if (_global.robo_facing == 1) { _parent._x = _parent._x - 2; this.gotoAndStop("hurt_right"); } else if (_global.robo_facing == -1) { _parent._x = _parent._x + 2; this.gotoAndStop("hurt_left"); } } if (_global.robo_hurt == -2) { move_counter = move_counter + 1; if (_global.robo_facing == 1) { _parent._x = _parent._x + 2; this.gotoAndStop("hurt_right"); } else if (_global.robo_facing == -1) { _parent._x = _parent._x - 2; this.gotoAndStop("hurt_left"); } } if (_root.bg.hitTest((_parent._x + 5) + (_parent.width / 2), _parent._y - 40, true)) { _parent._x = _parent._x - 8; speed = speed * -1; _global.robo_facing = _global.robo_facing * -1; } if (_root.bg.hitTest((_parent._x - 5) - (_parent.width / 2), _parent._y - 40, true)) { _parent._x = _parent._x + 8; speed = speed * -1; _global.robo_facing = _global.robo_facing * -1; } if (grav == false) { if (jump_random <= 10) { jump_random = jump_random + 1; } if (jump_random == 10) { jump_random = 0; } } if (!_root.bg.hitTest(_parent._x, _parent._y, true)) { if (yvelocity >= -10) { _parent._y = _parent._y + 3; grav = true; yvelocity = yvelocity - 3; } } else { while (_root.bg.hitTest(_parent._x, _parent._y, true)) { grav = false; jump = false; _parent._y = _parent._y - 1; } } if (move_counter == distance) { move_counter = 1; speed = speed * -1; } }
Instance of Symbol 271 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level4"); } }
Instance of Symbol 271 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level2"); } }
Instance of Symbol 79 MovieClip "dg2" in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Symbol 328 MovieClip Frame 6
_global.waver_hurt = 1;
Symbol 329 MovieClip Frame 1
_root.explode_sound.start();
Symbol 329 MovieClip Frame 7
if (_global.waver_random == 0) { _global.waver_life = 1001; } if (_global.waver_random == 1) { _global.waver_life = 1; _global.waver_hurt = 2; } if (_global.waver_random == 2) { _global.waver_life = 1; _global.waver_hurt = 2; } if (_global.waver_random == 3) { _global.waver_life = 1; _global.waver_hurt = 3; }
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 28
stop();
Instance of Symbol 329 MovieClip in Symbol 330 MovieClip Frame 54
onClipEvent (load) { _global.waver_random = Math.round(Math.random() * 3); }
Instance of Symbol 330 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (load) { _global.waver_random = -1; dir = -1; speedx = 5; _global.waver_life = 3; _global.waver_hurt = 1; speed = 4; hurt = false; facing = 1; move_counter = 1; yvelocity = 0; amount_jumped = 12; grav = true; jump = false; speedy = 1; } onClipEvent (enterFrame) { if (_parent.hitTest(_root.watermelon_whole) and (_global.hurt == 1)) { if (_global.waver_hurt == 1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 6; } if (_global.waver_hurt == -1) { _global.hurt = -1; _global.samus_life = _global.samus_life - 6; } } if (_global.waver_hurt == 2) { this.gotoAndStop("ball_small"); } if (_global.waver_hurt == 3) { this.gotoAndStop("ball_big"); } if (((_global.waver_life >= 0) and (_global.waver_life <= 10)) and (_global.waver_hurt >= -2)) { } if ((speedy <= 15) and (speedy >= 0)) { speedy = speedy + 1; } if ((speedy >= -15) and (speedy <= 0)) { speedy = speedy - 1; } if (_global.waver_life <= 0) { _global.waver_hurt = -5; this.gotoAndStop("dead"); } if (_global.waver_life >= 1000) { _parent.unloadMovie(); } if (facing == 1) { if (_global.waver_hurt == 1) { _parent._x = _parent._x + speedx; } if (_global.waver_hurt == -1) { _parent._x = _parent._x + speedx; } } if (facing == -1) { if (_global.waver_hurt == 1) { _parent._x = _parent._x - speedx; } if (_global.waver_hurt == -1) { _parent._x = _parent._x - speedx; } } if (_global.waver_hurt == 1) { _parent._y = _parent._y - yvelocity; _parent._y = _parent._y - speedy; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("right"); } else if (facing == -1) { this.gotoAndStop("left"); } } if (_global.waver_hurt == -1) { _parent._y = _parent._y - yvelocity; _parent._y = _parent._y - speedy; move_counter = move_counter + 1; if (facing == 1) { this.gotoAndStop("hurt_right"); } else if (facing == -1) { this.gotoAndStop("hurt_left"); } } if (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) { if (_global.waver_hurt == 1) { speedy = 4; } if (_global.waver_hurt == -1) { speedy = 4; } } if (_root.bg.hitTest(_parent._x, _parent._y - 22, true)) { if (_global.waver_hurt == 1) { speedy = -4; } if (_global.waver_hurt == -1) { speedy = -4; } } if (_root.bg.hitTest((_parent._x + 2) + (_parent._width / 2), _parent._y - 13, true)) { if ((facing == 1) and (_global.waver_hurt == 1)) { _parent._x = _parent._x - 10; speed = speed * -1; facing = facing * -1; } if ((facing == 1) and (_global.waver_hurt == -1)) { _parent._x = _parent._x - 10; speed = speed * -1; facing = facing * -1; } } if (_root.bg.hitTest((_parent._x - 2) - (_parent._width / 2), _parent._y - 13, true)) { if ((facing == -1) and (_global.waver_hurt == 1)) { _parent._x = _parent._x + 10; speed = speed * -1; facing = facing * -1; } if ((facing == -1) and (_global.waver_hurt == -1)) { _parent._x = _parent._x + 10; speed = speed * -1; facing = facing * -1; } } if (!_root.bg.hitTest(_parent._x, _parent._y + 3, true)) { } else { while (_root.bg.hitTest(_parent._x, _parent._y + 2, true)) { grav = false; jump = false; _parent._y = _parent._y - 1; } } if (move_counter == distance) { move_counter = 1; speed = speed * -1; } }
Instance of Symbol 271 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level3"); } }
Instance of Symbol 79 MovieClip "dg2" in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Instance of Symbol 79 MovieClip "dg" in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Instance of Symbol 79 MovieClip "dg4" in Symbol 338 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Symbol 343 MovieClip Frame 4
_global.floater_hurt = 1;
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 20
stop();
Instance of Symbol 344 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (load) { _global.floater_life = 3; _global.floater_hurt = 1; floater_speed = 4; hurt = false; _global.floater_facing = 1; move_counter = 1; yvelocity = 0; amount_jumped = 12; grav = true; jump = false; jump_random = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole) and (_global.hurt == 1)) { _global.samus_life = _global.samus_life - 1; _global.hurt = -1; } if (_global.floater_life <= 0) { _global.floater_hurt = -5; this.gotoAndStop("dead"); } if (_global.floater_life >= 1000) { this.unloadMovie(); } if (_global.floater_hurt == 1) { move_counter = move_counter + 1; if (_global.floater_facing == 1) { _parent._x = _parent._x + floater_speed; this.gotoAndStop("moving_left"); } else if (_global.floater_facing == -1) { _parent._x = _parent._x - floater_speed; this.gotoAndStop("moving_right"); } } if (_global.floater_hurt == -1) { move_counter = move_counter + 1; if (_global.floater_facing == 1) { this.gotoAndStop("hurt_left"); } else if (_global.floater_facing == -1) { this.gotoAndStop("hurt_right"); } } if (_root.bg.hitTest((_parent._x + 4) + (_parent.width / 2), _parent._y - 40, true)) { _parent._x = _parent._x - 5; speed = speed * -1; _global.floater_facing = _global.floater_facing * -1; } if (_root.bg.hitTest((_parent._x - 4) - (_parent.width / 2), _parent._y - 40, true)) { _parent._x = _parent._x + 5; speed = speed * -1; _global.floater_facing = _global.floater_facing * -1; } if (grav == false) { if (jump_random <= 10) { jump_random = jump_random + 1; } if (jump_random == 10) { jump_random = 0; } } if (!_root.bg.hitTest(_parent._x, _parent._y, true)) { } else { while (_root.bg.hitTest(_parent._x, _parent._y, true)) { grav = false; jump = false; _parent._y = _parent._y - 1; } } if (move_counter == distance) { move_counter = 1; speed = speed * -1; } }
Instance of Symbol 271 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _global.samus_life = 0; } }
Instance of Symbol 271 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level1"); } }
Instance of Symbol 271 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level-1"); } }
Symbol 352 MovieClip Frame 2
stop();
Symbol 352 MovieClip Frame 7
_root.door_sound.start();
Symbol 352 MovieClip Frame 11
stop();
Symbol 352 MovieClip Frame 13
_root.door_close.start();
Symbol 352 MovieClip Frame 16
gotoAndPlay (2);
Symbol 363 MovieClip Frame 1
stop();
Instance of Symbol 361 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) { if (_global.morph_ability == true) { _parent.unloadMovie(); } } onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _global.morph_get = 1; stopAllSounds(); _root.item_sound.start(); _parent.play(); } }
Symbol 363 MovieClip Frame 57
_root.sector_sound.start();
Instance of Symbol 362 MovieClip in Symbol 363 MovieClip Frame 60
onClipEvent (enterFrame) { _parent.unloadMovie(); }
Instance of Symbol 79 MovieClip "dg" in Symbol 365 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Instance of Symbol 352 MovieClip "dg4" in Symbol 365 MovieClip Frame 1
onClipEvent (enterFrame) { if (this._visible == false) { this.unloadMovie(); } }
Instance of Symbol 271 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _global.samus_life = 0; } }
Instance of Symbol 271 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.watermelon_whole)) { _root.gotoAndStop("level0"); } }
Symbol 376 MovieClip Frame 75
stopAllSounds(); if (_global.levelnum == -1) { _root.sector_sound.start(); _global.samus_life = 99; _global.levelnum = -1; _root.gotoAndStop("level-1"); } if (_global.levelnum == 0) { _root.sector_sound.start(); _global.samus_life = 99; _global.levelnum = 1; _root.gotoAndStop("level0"); } if (_global.levelnum == 1) { _root.sector_sound.start(); _global.samus_life = 99; _root.gotoAndStop("level1"); } if (_global.levelnum == 2) { _root.sector_sound.start(); _global.samus_life = 99; _root.gotoAndStop("level2"); } if (_global.levelnum == 3) { _root.sector_sound.start(); _global.samus_life = 99; _root.gotoAndStop("level3"); }

Library Items

Symbol 1 Sound [step_sound]
Symbol 2 Sound [spin_sound]
Symbol 3 Sound [land_sound]
Symbol 4 Sound [item_sound]
Symbol 5 Sound [hurt_sound]
Symbol 6 Sound [cat_sound]
Symbol 7 Sound [death]
Symbol 8 Sound [door_open]
Symbol 9 Sound [door_close]
Symbol 10 Sound [enemy_explode]
Symbol 11 Sound [bloop_sound]
Symbol 12 Sound [shoot_sound]
Symbol 13 Sound [sector_sound]
Symbol 14 GraphicUsed by:28
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:17 22
Symbol 17 MovieClipUses:16Used by:28
Symbol 18 GraphicUsed by:28
Symbol 19 GraphicUsed by:28
Symbol 20 GraphicUsed by:28
Symbol 21 GraphicUsed by:28
Symbol 22 MovieClipUses:16Used by:28 39 42 45 48 49 50 53 67
Symbol 23 GraphicUsed by:28
Symbol 24 GraphicUsed by:28
Symbol 25 GraphicUsed by:28
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:28
Symbol 28 MovieClip [ball_bomb]Uses:14 17 18 19 20 21 22 23 24 25 27
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:39 49 50
Symbol 31 GraphicUsed by:39 42 45 48 49 50 53 67
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:39 42 45 48 49 50 53 67
Symbol 34 GraphicUsed by:39 42 45 48 49 50 53 67
Symbol 35 GraphicUsed by:39 42 45 48 49 50 53 67
Symbol 36 GraphicUsed by:39 42 45 48 49 50 53 67
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:39 42 45 48 49 50 53 67
Symbol 39 MovieClip [bullet4]Uses:30 22 31 33 34 35 36 38
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:42
Symbol 42 MovieClip [bullet8]Uses:41 22 31 33 34 35 36 38
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClip [bullet7]Uses:44 22 31 33 34 35 36 38
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:48
Symbol 48 MovieClip [bullet5]Uses:47 22 31 33 34 35 36 38
Symbol 49 MovieClip [bullet3]Uses:30 22 31 33 34 35 36 38
Symbol 50 MovieClip [bullet2]Uses:30 22 31 33 34 35 36 38
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:53
Symbol 53 MovieClip [bullet]Uses:52 22 31 33 34 35 36 38
Symbol 54 GraphicUsed by:60
Symbol 55 FontUsed by:56 57 61 62 63
Symbol 56 EditableTextUses:55Used by:60
Symbol 57 TextUses:55Used by:60
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:60
Symbol 60 MovieClip [fps2]Uses:54 56 57 59
Symbol 61 EditableTextUses:55Used by:64
Symbol 62 EditableTextUses:55Used by:64
Symbol 63 EditableTextUses:55Used by:64
Symbol 64 MovieClip [fps]Uses:61 62 63
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClip [bullet6]Uses:66 22 31 33 34 35 36 38Used by:Timeline
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:70
Symbol 70 MovieClip [death_zone]Uses:69Used by:Timeline
Symbol 71 BitmapUsed by:72
Symbol 72 GraphicUses:71Used by:73
Symbol 73 MovieClipUses:72Used by:Timeline
Symbol 74 GraphicUsed by:79 352
Symbol 75 GraphicUsed by:79
Symbol 76 GraphicUsed by:79
Symbol 77 GraphicUsed by:79
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:74 75 76 77 78Used by:84 275 299 320 338 365
Symbol 80 BitmapUsed by:83 274 298
Symbol 81 BitmapUsed by:83 274
Symbol 82 BitmapUsed by:83 274
Symbol 83 GraphicUses:80 81 82Used by:84
Symbol 84 MovieClipUses:79 83Used by:Timeline
Symbol 85 GraphicUsed by:88 89
Symbol 86 GraphicUsed by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:85 86 87Used by:108
Symbol 89 MovieClipUses:85Used by:108
Symbol 90 GraphicUsed by:96 123 144 290 329
Symbol 91 GraphicUsed by:96 123 144 290 329
Symbol 92 GraphicUsed by:96 123 144 290 329
Symbol 93 GraphicUsed by:96 123 144 290 329
Symbol 94 GraphicUsed by:96 123 144 290 329
Symbol 95 GraphicUsed by:96 123 144 290 329
Symbol 96 MovieClipUses:90 91 92 93 94 95Used by:108
Symbol 97 GraphicUsed by:101
Symbol 98 GraphicUsed by:101
Symbol 99 GraphicUsed by:101
Symbol 100 GraphicUsed by:101 106
Symbol 101 MovieClipUses:97 98 99 100Used by:102
Symbol 102 MovieClipUses:101Used by:108 124 145 293 330
Symbol 103 GraphicUsed by:106
Symbol 104 GraphicUsed by:106
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:103 100 104 105Used by:107
Symbol 107 MovieClipUses:106Used by:108 124 145 293 330
Symbol 108 MovieClipUses:88 89 96 102 107Used by:109
Symbol 109 MovieClipUses:108Used by:Timeline
Symbol 110 GraphicUsed by:116
Symbol 111 GraphicUsed by:116
Symbol 112 GraphicUsed by:116
Symbol 113 GraphicUsed by:116
Symbol 114 GraphicUsed by:116
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:110 111 112 113 114 115Used by:121 122
Symbol 117 GraphicUsed by:120
Symbol 118 GraphicUsed by:120
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:117 118 119Used by:121 122
Symbol 121 MovieClipUses:116 120Used by:124
Symbol 122 MovieClipUses:116 120Used by:124
Symbol 123 MovieClipUses:90 91 92 93 94 95Used by:124
Symbol 124 MovieClipUses:121 122 123 102 107Used by:125
Symbol 125 MovieClipUses:124Used by:Timeline
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:142 143
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:142 143
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:142 143
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:142 143
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:142 143
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:142 143
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:142 143
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:142 143
Symbol 142 MovieClipUses:127 129 131 133 135 137 139 141Used by:145
Symbol 143 MovieClipUses:127 129 131 133 135 137 139 141Used by:145
Symbol 144 MovieClipUses:90 91 92 93 94 95Used by:145
Symbol 145 MovieClipUses:142 143 144 102 107Used by:146
Symbol 146 MovieClipUses:145Used by:Timeline
Symbol 147 GraphicUsed by:150
Symbol 148 GraphicUsed by:150
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:147 148 149Used by:268
Symbol 151 GraphicUsed by:159
Symbol 152 GraphicUsed by:159
Symbol 153 GraphicUsed by:159
Symbol 154 GraphicUsed by:159
Symbol 155 GraphicUsed by:159
Symbol 156 GraphicUsed by:159
Symbol 157 GraphicUsed by:159
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClipUses:151 152 153 154 155 156 157 158Used by:268
Symbol 160 GraphicUsed by:170
Symbol 161 GraphicUsed by:170
Symbol 162 GraphicUsed by:170
Symbol 163 GraphicUsed by:170
Symbol 164 GraphicUsed by:170
Symbol 165 GraphicUsed by:170
Symbol 166 GraphicUsed by:170
Symbol 167 GraphicUsed by:170
Symbol 168 GraphicUsed by:170
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:160 161 162 163 164 165 166 167 168 169Used by:268
Symbol 171 GraphicUsed by:181
Symbol 172 GraphicUsed by:181
Symbol 173 GraphicUsed by:181
Symbol 174 GraphicUsed by:181
Symbol 175 GraphicUsed by:181
Symbol 176 GraphicUsed by:181
Symbol 177 GraphicUsed by:181
Symbol 178 GraphicUsed by:181
Symbol 179 GraphicUsed by:181
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:171 172 173 174 175 176 177 178 179 180Used by:268
Symbol 182 GraphicUsed by:192
Symbol 183 GraphicUsed by:192
Symbol 184 GraphicUsed by:192
Symbol 185 GraphicUsed by:192
Symbol 186 GraphicUsed by:192
Symbol 187 GraphicUsed by:192
Symbol 188 GraphicUsed by:192
Symbol 189 GraphicUsed by:192
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClipUses:182 183 184 185 186 187 188 189 190 191Used by:268
Symbol 193 GraphicUsed by:268
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:268
Symbol 196 GraphicUsed by:268
Symbol 197 GraphicUsed by:200
Symbol 198 GraphicUsed by:200
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:197 198 199Used by:268
Symbol 201 GraphicUsed by:268
Symbol 202 GraphicUsed by:268
Symbol 203 GraphicUsed by:268
Symbol 204 GraphicUsed by:268
Symbol 205 GraphicUsed by:268
Symbol 206 GraphicUsed by:268
Symbol 207 GraphicUsed by:268
Symbol 208 GraphicUsed by:268
Symbol 209 GraphicUsed by:268
Symbol 210 GraphicUsed by:268
Symbol 211 GraphicUsed by:213
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:211 212Used by:268
Symbol 214 GraphicUsed by:222 223
Symbol 215 GraphicUsed by:222 223
Symbol 216 GraphicUsed by:222 223
Symbol 217 GraphicUsed by:222 223
Symbol 218 GraphicUsed by:222 223
Symbol 219 GraphicUsed by:222 223
Symbol 220 GraphicUsed by:222 223
Symbol 221 GraphicUsed by:222 223
Symbol 222 MovieClipUses:214 215 216 217 218 219 220 221Used by:268
Symbol 223 MovieClipUses:214 215 216 217 218 219 220 221Used by:268
Symbol 224 GraphicUsed by:268
Symbol 225 GraphicUsed by:268
Symbol 226 GraphicUsed by:229
Symbol 227 GraphicUsed by:229
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:226 227 228Used by:268
Symbol 230 GraphicUsed by:233
Symbol 231 GraphicUsed by:233
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:230 231 232Used by:268
Symbol 234 GraphicUsed by:244
Symbol 235 GraphicUsed by:244
Symbol 236 GraphicUsed by:244
Symbol 237 GraphicUsed by:244
Symbol 238 GraphicUsed by:244
Symbol 239 GraphicUsed by:244
Symbol 240 GraphicUsed by:244
Symbol 241 GraphicUsed by:244
Symbol 242 GraphicUsed by:244
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:234 235 236 237 238 239 240 241 242 243Used by:268
Symbol 245 GraphicUsed by:255
Symbol 246 GraphicUsed by:255
Symbol 247 GraphicUsed by:255
Symbol 248 GraphicUsed by:255
Symbol 249 GraphicUsed by:255
Symbol 250 GraphicUsed by:255
Symbol 251 GraphicUsed by:255
Symbol 252 GraphicUsed by:255
Symbol 253 GraphicUsed by:255
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClipUses:245 246 247 248 249 250 251 252 253 254Used by:268
Symbol 256 GraphicUsed by:268
Symbol 257 GraphicUsed by:258
Symbol 258 MovieClipUses:257Used by:268
Symbol 259 GraphicUsed by:268
Symbol 260 GraphicUsed by:268
Symbol 261 GraphicUsed by:268
Symbol 262 GraphicUsed by:268
Symbol 263 GraphicUsed by:268
Symbol 264 GraphicUsed by:268
Symbol 265 GraphicUsed by:268
Symbol 266 GraphicUsed by:268
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClipUses:150 159 170 181 192 193 195 196 200 201 202 203 204 205 206 207 208 209 210 213 222 223 224 225 229 233 244 255 256 258 259 260 261 262 263 264 265 266 267Used by:Timeline
Symbol 269 GraphicUsed by:272
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:272 296 316 333 347 367
Symbol 272 MovieClipUses:269 271Used by:Timeline
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:81 82 80 273Used by:275
Symbol 275 MovieClipUses:79 274Used by:Timeline
Symbol 276 GraphicUsed by:278
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClipUses:276 277Used by:293
Symbol 279 GraphicUsed by:283
Symbol 280 GraphicUsed by:283
Symbol 281 GraphicUsed by:283
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClipUses:279 280 281 282Used by:293
Symbol 284 GraphicUsed by:289
Symbol 285 GraphicUsed by:289
Symbol 286 GraphicUsed by:289
Symbol 287 GraphicUsed by:289
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:284 285 286 287 288Used by:293
Symbol 290 MovieClipUses:90 91 92 93 94 95Used by:293
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:291Used by:293
Symbol 293 MovieClipUses:278 283 289 290 292 102 107Used by:294
Symbol 294 MovieClipUses:293Used by:Timeline
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295 271Used by:Timeline
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:80 297Used by:299
Symbol 299 MovieClipUses:79 298Used by:Timeline
Symbol 300 GraphicUsed by:307
Symbol 301 GraphicUsed by:307
Symbol 302 GraphicUsed by:307
Symbol 303 GraphicUsed by:307
Symbol 304 GraphicUsed by:307
Symbol 305 GraphicUsed by:307
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClipUses:300 301 302 303 304 305 306Used by:313
Symbol 308 GraphicUsed by:312
Symbol 309 GraphicUsed by:312
Symbol 310 GraphicUsed by:312
Symbol 311 GraphicUsed by:312
Symbol 312 MovieClipUses:308 309 310 311Used by:313
Symbol 313 MovieClipUses:307 312Used by:314
Symbol 314 MovieClipUses:313Used by:Timeline
Symbol 315 GraphicUsed by:316 347
Symbol 316 MovieClipUses:315 271Used by:Timeline
Symbol 317 BitmapUsed by:319
Symbol 318 BitmapUsed by:319
Symbol 319 GraphicUses:317 318Used by:320
Symbol 320 MovieClipUses:79 319Used by:Timeline
Symbol 321 GraphicUsed by:327 328
Symbol 322 GraphicUsed by:327 328
Symbol 323 GraphicUsed by:327 328
Symbol 324 GraphicUsed by:327 328
Symbol 325 GraphicUsed by:327 328
Symbol 326 GraphicUsed by:327 328
Symbol 327 MovieClipUses:321 322 323 324 325 326Used by:330
Symbol 328 MovieClipUses:321 322 323 324 325 326Used by:330
Symbol 329 MovieClipUses:90 91 92 93 94 95Used by:330
Symbol 330 MovieClipUses:327 328 329 102 107Used by:331
Symbol 331 MovieClipUses:330Used by:Timeline
Symbol 332 GraphicUsed by:333 367
Symbol 333 MovieClipUses:332 271Used by:Timeline
Symbol 334 BitmapUsed by:337
Symbol 335 BitmapUsed by:337
Symbol 336 BitmapUsed by:337
Symbol 337 GraphicUses:334 335 336Used by:338
Symbol 338 MovieClipUses:79 337Used by:Timeline
Symbol 339 GraphicUsed by:342 343
Symbol 340 GraphicUsed by:342 343
Symbol 341 GraphicUsed by:342 343
Symbol 342 MovieClipUses:339 340 341Used by:344
Symbol 343 MovieClipUses:339 340 341Used by:344
Symbol 344 MovieClipUses:342 343Used by:345
Symbol 345 MovieClipUses:344Used by:Timeline
Symbol 346 GraphicUsed by:347
Symbol 347 MovieClipUses:315 271 346Used by:Timeline
Symbol 348 GraphicUsed by:352
Symbol 349 GraphicUsed by:352
Symbol 350 GraphicUsed by:352
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClipUses:74 348 349 350 351Used by:365
Symbol 353 BitmapUsed by:358
Symbol 354 BitmapUsed by:358 364
Symbol 355 BitmapUsed by:358
Symbol 356 BitmapUsed by:358
Symbol 357 BitmapUsed by:358
Symbol 358 GraphicUses:353 354 355 356 357Used by:365
Symbol 359 GraphicUsed by:361
Symbol 360 GraphicUsed by:361
Symbol 361 MovieClipUses:359 360Used by:363
Symbol 362 MovieClipUsed by:363
Symbol 363 MovieClipUses:361 362Used by:365
Symbol 364 GraphicUses:354Used by:365
Symbol 365 MovieClipUses:79 352 358 363 364Used by:Timeline
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:332 271 366Used by:Timeline
Symbol 368 GraphicUsed by:376
Symbol 369 GraphicUsed by:376
Symbol 370 GraphicUsed by:376
Symbol 371 GraphicUsed by:376
Symbol 372 GraphicUsed by:376
Symbol 373 GraphicUsed by:376
Symbol 374 GraphicUsed by:376
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClipUses:368 369 370 371 372 373 374 375Used by:Timeline

Instance Names

"bg2"Frame 2Symbol 73 MovieClip
"bg"Frame 2Symbol 84 MovieClip
"owtch"Frame 2Symbol 109 MovieClip
"fly"Frame 2Symbol 125 MovieClip
"multiviola"Frame 2Symbol 146 MovieClip
"watermelon_whole"Frame 2Symbol 268 MovieClip
"bg3"Frame 2Symbol 272 MovieClip
"bg"Frame 13Symbol 275 MovieClip
"hornoad"Frame 13Symbol 294 MovieClip
"watermelon_whole"Frame 13Symbol 268 MovieClip
"bg3"Frame 13Symbol 296 MovieClip
"bg"Frame 25Symbol 299 MovieClip
"robo"Frame 25Symbol 314 MovieClip
"watermelon_whole"Frame 25Symbol 268 MovieClip
"bg3"Frame 25Symbol 316 MovieClip
"bg"Frame 37Symbol 320 MovieClip
"waver"Frame 37Symbol 331 MovieClip
"fly"Frame 37Symbol 125 MovieClip
"watermelon_whole"Frame 37Symbol 268 MovieClip
"bg3"Frame 37Symbol 333 MovieClip
"bg"Frame 47Symbol 338 MovieClip
"floater"Frame 47Symbol 345 MovieClip
"watermelon_whole"Frame 47Symbol 268 MovieClip
"bg3"Frame 47Symbol 347 MovieClip
"bg"Frame 59Symbol 365 MovieClip
"watermelon_whole"Frame 59Symbol 268 MovieClip
"bg3"Frame 59Symbol 367 MovieClip
"death"Symbol 70 MovieClip [death_zone] Frame 1Symbol 69 MovieClip
"dg"Symbol 84 MovieClip Frame 1Symbol 79 MovieClip
"dg2"Symbol 84 MovieClip Frame 1Symbol 79 MovieClip
"dg"Symbol 275 MovieClip Frame 1Symbol 79 MovieClip
"dg2"Symbol 275 MovieClip Frame 1Symbol 79 MovieClip
"hornoad_sub"Symbol 294 MovieClip Frame 1Symbol 293 MovieClip
"dg"Symbol 299 MovieClip Frame 1Symbol 79 MovieClip
"dg2"Symbol 299 MovieClip Frame 1Symbol 79 MovieClip
"robo_sub"Symbol 314 MovieClip Frame 1Symbol 313 MovieClip
"dg2"Symbol 320 MovieClip Frame 1Symbol 79 MovieClip
"dg2"Symbol 338 MovieClip Frame 1Symbol 79 MovieClip
"dg"Symbol 338 MovieClip Frame 1Symbol 79 MovieClip
"dg4"Symbol 338 MovieClip Frame 1Symbol 79 MovieClip
"dg"Symbol 365 MovieClip Frame 1Symbol 79 MovieClip
"dg4"Symbol 365 MovieClip Frame 1Symbol 352 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "step_sound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "spin_sound"
ExportAssets (56)Timeline Frame 1Symbol 3 as "land_sound"
ExportAssets (56)Timeline Frame 1Symbol 4 as "item_sound"
ExportAssets (56)Timeline Frame 1Symbol 5 as "hurt_sound"
ExportAssets (56)Timeline Frame 1Symbol 6 as "cat_sound"
ExportAssets (56)Timeline Frame 1Symbol 7 as "death"
ExportAssets (56)Timeline Frame 1Symbol 8 as "door_open"
ExportAssets (56)Timeline Frame 1Symbol 9 as "door_close"
ExportAssets (56)Timeline Frame 1Symbol 10 as "enemy_explode"
ExportAssets (56)Timeline Frame 1Symbol 11 as "bloop_sound"
ExportAssets (56)Timeline Frame 1Symbol 12 as "shoot_sound"
ExportAssets (56)Timeline Frame 1Symbol 13 as "sector_sound"
ExportAssets (56)Timeline Frame 1Symbol 28 as "ball_bomb"
ExportAssets (56)Timeline Frame 1Symbol 39 as "bullet4"
ExportAssets (56)Timeline Frame 1Symbol 42 as "bullet8"
ExportAssets (56)Timeline Frame 1Symbol 45 as "bullet7"
ExportAssets (56)Timeline Frame 1Symbol 48 as "bullet5"
ExportAssets (56)Timeline Frame 1Symbol 49 as "bullet3"
ExportAssets (56)Timeline Frame 1Symbol 50 as "bullet2"
ExportAssets (56)Timeline Frame 1Symbol 53 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 60 as "fps2"
ExportAssets (56)Timeline Frame 1Symbol 64 as "fps"
ExportAssets (56)Timeline Frame 1Symbol 67 as "bullet6"
ExportAssets (56)Timeline Frame 1Symbol 70 as "death_zone"
ExportAssets (56)Timeline Frame 2Symbol 70 as "death_zone"
ExportAssets (56)Timeline Frame 13Symbol 70 as "death_zone"
ExportAssets (56)Timeline Frame 25Symbol 70 as "death_zone"
ExportAssets (56)Timeline Frame 37Symbol 70 as "death_zone"
ExportAssets (56)Timeline Frame 47Symbol 70 as "death_zone"
ExportAssets (56)Timeline Frame 59Symbol 70 as "death_zone"
ExportAssets (56)Timeline Frame 59Symbol 67 as "bullet6"

Labels

"level1"Frame 2
"level2"Frame 13
"level3"Frame 25
"level4"Frame 37
"level0"Frame 47
"level-1"Frame 59
"dead"Frame 72
"explodia"Symbol 39 MovieClip [bullet4] Frame 4
"explodia"Symbol 42 MovieClip [bullet8] Frame 4
"explodia"Symbol 45 MovieClip [bullet7] Frame 4
"explodia"Symbol 48 MovieClip [bullet5] Frame 4
"explodia"Symbol 49 MovieClip [bullet3] Frame 4
"explodia"Symbol 50 MovieClip [bullet2] Frame 4
"explodia"Symbol 53 MovieClip [bullet] Frame 3
"explodia"Symbol 67 MovieClip [bullet6] Frame 4
"open"Symbol 79 MovieClip Frame 7
"close"Symbol 79 MovieClip Frame 14
"left"Symbol 108 MovieClip Frame 1
"right"Symbol 108 MovieClip Frame 13
"hurt_left"Symbol 108 MovieClip Frame 25
"hurt_right"Symbol 108 MovieClip Frame 37
"dead"Symbol 108 MovieClip Frame 49
"ball_small"Symbol 108 MovieClip Frame 61
"ball_big"Symbol 108 MovieClip Frame 71
"moving_left"Symbol 124 MovieClip Frame 1
"moving_right"Symbol 124 MovieClip Frame 11
"hurt_left"Symbol 124 MovieClip Frame 22
"hurt_right"Symbol 124 MovieClip Frame 32
"dead"Symbol 124 MovieClip Frame 43
"ball_small"Symbol 124 MovieClip Frame 53
"ball_big"Symbol 124 MovieClip Frame 64
"moving_left"Symbol 145 MovieClip Frame 1
"moving_right"Symbol 145 MovieClip Frame 13
"hurt_left"Symbol 145 MovieClip Frame 25
"hurt_right"Symbol 145 MovieClip Frame 37
"dead"Symbol 145 MovieClip Frame 46
"ball_small"Symbol 145 MovieClip Frame 53
"ball_big"Symbol 145 MovieClip Frame 64
"still_right"Symbol 268 MovieClip Frame 1
"jumping_right"Symbol 268 MovieClip Frame 12
"moving_right"Symbol 268 MovieClip Frame 23
"up_right"Symbol 268 MovieClip Frame 35
"up_right_jumping"Symbol 268 MovieClip Frame 45
"up_moving_right"Symbol 268 MovieClip Frame 60
"down_right"Symbol 268 MovieClip Frame 74
"shoot_air_right"Symbol 268 MovieClip Frame 86
"shoot_down_right"Symbol 268 MovieClip Frame 99
"diag_up_right"Symbol 268 MovieClip Frame 112
"diag_down_right"Symbol 268 MovieClip Frame 125
"diag_down_jumping_right"Symbol 268 MovieClip Frame 139
"diag_up_jumping_right"Symbol 268 MovieClip Frame 159
"moving_right_diag_up"Symbol 268 MovieClip Frame 177
"moving_right_diag_down"Symbol 268 MovieClip Frame 193
"down_down_diag_right"Symbol 268 MovieClip Frame 210
"down_up_diag_right"Symbol 268 MovieClip Frame 230
"hurt_right"Symbol 268 MovieClip Frame 245
"morph_right"Symbol 268 MovieClip Frame 259
"morph_hurt_right"Symbol 268 MovieClip Frame 275
"shoot_down_left"Symbol 268 MovieClip Frame 308
"shoot_air_left"Symbol 268 MovieClip Frame 321
"down_left"Symbol 268 MovieClip Frame 335
"still_left"Symbol 268 MovieClip Frame 349
"jumping_left"Symbol 268 MovieClip Frame 359
"moving_left"Symbol 268 MovieClip Frame 378
"up_left"Symbol 268 MovieClip Frame 396
"up_left_jumping"Symbol 268 MovieClip Frame 403
"up_moving_left"Symbol 268 MovieClip Frame 417
"diag_up_left"Symbol 268 MovieClip Frame 429
"diag_down_left"Symbol 268 MovieClip Frame 439
"diag_up_jumping_left"Symbol 268 MovieClip Frame 450
"diag_down_jumping_left"Symbol 268 MovieClip Frame 464
"moving_diag_down_left"Symbol 268 MovieClip Frame 481
"moving_diag_up_left"Symbol 268 MovieClip Frame 497
"down_up_diag_left"Symbol 268 MovieClip Frame 514
"down_down_diag_left"Symbol 268 MovieClip Frame 530
"hurt_left"Symbol 268 MovieClip Frame 545
"morph_left"Symbol 268 MovieClip Frame 558
"morph_hurt_left"Symbol 268 MovieClip Frame 571
"right"Symbol 293 MovieClip Frame 1
"left"Symbol 293 MovieClip Frame 6
"hurt_right"Symbol 293 MovieClip Frame 10
"hurt_left"Symbol 293 MovieClip Frame 18
"hurt_right2"Symbol 293 MovieClip Frame 25
"hurt_left2"Symbol 293 MovieClip Frame 33
"semi_right"Symbol 293 MovieClip Frame 41
"semi_left"Symbol 293 MovieClip Frame 49
"dead"Symbol 293 MovieClip Frame 56
"jump_right"Symbol 293 MovieClip Frame 62
"jump_left"Symbol 293 MovieClip Frame 70
"ball_small"Symbol 293 MovieClip Frame 80
"ball_big"Symbol 293 MovieClip Frame 89
"normal_right"Symbol 313 MovieClip Frame 1
"hurt_right"Symbol 313 MovieClip Frame 11
"normal_left"Symbol 313 MovieClip Frame 19
"hurt_left"Symbol 313 MovieClip Frame 29
"left"Symbol 330 MovieClip Frame 1
"right"Symbol 330 MovieClip Frame 13
"hurt_left"Symbol 330 MovieClip Frame 28
"hurt_right"Symbol 330 MovieClip Frame 40
"dead"Symbol 330 MovieClip Frame 54
"ball_small"Symbol 330 MovieClip Frame 71
"ball_big"Symbol 330 MovieClip Frame 89
"moving_left"Symbol 344 MovieClip Frame 1
"moving_right"Symbol 344 MovieClip Frame 10
"hurt_left"Symbol 344 MovieClip Frame 20
"hurt_right"Symbol 344 MovieClip Frame 29
"open"Symbol 352 MovieClip Frame 7
"close"Symbol 352 MovieClip Frame 13

Dynamic Text Variables

fpsoutSymbol 56 EditableText"FPS"
fpsoutSymbol 61 EditableText"FPS"
fpsoutSymbol 62 EditableText"FPS"
fpsoutSymbol 63 EditableText"FPS"




http://swfchan.com/22/105672/info.shtml
Created: 17/3 -2019 06:09:58 Last modified: 17/3 -2019 06:09:58 Server time: 03/05 -2024 19:22:18