STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 228131 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2561 · P5121 |
This is the info page for Flash #66473 |
a game by: |
a game by: vince lesniak |
for newgrounds |
and campnorth |
instructions |
instructions |
play |
play |
in the beginning, there was nothing |
next |
next |
Then there was color |
color gave life meaning, and made the world a better place |
Everything was perfect, nothing was better than being in a world filled with color |
But it couldn't last long..... |
When color was created, there were reds and yellows and greens and blues and every color imaginable. |
but something else was created, something that hated all of the colors made |
they were called: de grays |
de grays lived in their own gray world, secretly plotting, waiting for the moment when they could turn every last color into gray |
that day has finally come |
you are a red block, the last of your kind. |
you must defeat de grays and restore color to the world |
Use the arrow keys to move and the space bar to attack |
the world is counting on you |
good luck |
Flash V-Cam |
You have lost your color, and your will to live |
Try again |
Try again |
credits Animated by: magical-zorse programmed by: magical-zorse music by: waterflame and danman87 Tested by: vince lesniak nick leong (fluffkomix) patrick kennedy micah ferrel michael smith special thanks to: fluffkomix, for being my friend. k-guare, for being my friend phil and kwing, for teaching me the greatest lesson of all about newgrounds ok, that's it you won the game |
return to menu |
return to menu |
ActionScript [AS1/AS2]
Frame 1function itemHandler5(obj, item) { _quality = "high"; } function itemHandler6(obj, item) { _quality = "medium"; } function itemHandler7(obj, item) { _quality = "low"; } stop(); root_cm = new ContextMenu(); root_cm.hideBuiltInItems(); eee_cmi = new ContextMenuItem("High Quality", itemHandler5); fff_cmi = new ContextMenuItem("Mid Quality", itemHandler6); ggg_cmi = new ContextMenuItem("Low Quality", itemHandler7); ccc_cmi.separatorBefore = true; eee_cmi.separatorBefore = true; root_cm.customItems.push(aaa_cmi, bbb_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi); _root.menu = root_cm; NewgroundsAPI.connectMovie(7622);Instance of Symbol 3 MovieClip in Frame 1onClipEvent (load) { _root.stop(); var totalBytes = _root.getBytesTotal(); this._xscale = 0; } onClipEvent (enterFrame) { var loadedBytes = _root.getBytesLoaded(); var percent = ((100 * loadedBytes) / totalBytes); this._xscale = percent; if (percent == 100) { _root.play(); } }Frame 451stop();Frame 452stop();Frame 522stop(); health = 10;Instance of Symbol 69 MovieClip "enemy1" in Frame 522onClipEvent (load) { hp = 3; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy2" in Frame 522onClipEvent (load) { hp = 3; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy3" in Frame 522onClipEvent (load) { hp = 10; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 84 MovieClip "character" in Frame 522onClipEvent (load) { falling = false; hitting = false; gravity = 10; jump = 0; jumping = false; right_speed = 0; left_speed = 0; facing_right = true; facing_left = true; attacking = false; croutch = false; dead = false; } onClipEvent (enterFrame) { if (((Key.isDown(39) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { right_speed = right_speed + 0.4; } if (((Key.isDown(37) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { left_speed = left_speed + 0.4; } if ((right_speed > 5) && (Key.isDown(39))) { right_speed = 5; } if ((right_speed > 0) && (jumping == false)) { right_speed = right_speed - 0.2; } this._x = this._x + right_speed; if (right_speed < 0) { right_speed = 0; } if ((left_speed > 5) && (Key.isDown(37))) { left_speed = 5; } if ((left_speed > 0) && (jumping == false)) { left_speed = left_speed - 0.2; } this._x = this._x - left_speed; if (left_speed < 0) { left_speed = 0; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == true)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_right"); attacking = true; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_left"); attacking = true; } if ((((Key.isDown(39) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_right"); facing_right = true; } if ((((Key.isDown(37) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_left"); facing_right = false; } if (((((Key.isDown(39) == false) && (facing_right == true)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((Key.isDown(37) == false) && (facing_right == false)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == true)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == false)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); croutch = true; } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); croutch = true; } if ((Key.isDown(40) == false) && (dead == false)) { croutch = false; } if (((croutch == true) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); } if (((croutch == true) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); } if (_x < -2594.3) { _x = -2594.3; } if ((_root.health <= 0) && (facing_left == true)) { this.gotoAndStop("dead_left"); dead == true; } if ((_root.health <= 0) && (facing_right == true)) { this.gotoAndStop("dead_right"); dead == true; } if (_root.cam._x >= 3115) { _root.gotoAndPlay("cutscene"); } if (_root.health <= 0) { _root.deadth_screen.gotoAndPlay("asdf"); } }Instance of Symbol 57 MovieClip "cam" in Frame 522onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 87 MovieClip "gray_screen" in Frame 522onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 101 MovieClip "bg" in Frame 522onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Frame 571_root.gotoAndPlay("yallow"); _root.gotoAndPlay("2-1");Frame 572stop();Frame 628stop(); health = 10;Instance of Symbol 69 MovieClip "enemy10" in Frame 628onClipEvent (load) { hp = 7; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy6" in Frame 628onClipEvent (load) { hp = 13; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy7" in Frame 628onClipEvent (load) { hp = 13; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy8" in Frame 628onClipEvent (load) { hp = 7; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy9" in Frame 628onClipEvent (load) { hp = 10; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy11" in Frame 628onClipEvent (load) { hp = 7; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy12" in Frame 628onClipEvent (load) { hp = 11; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy13" in Frame 628onClipEvent (load) { hp = 11; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 84 MovieClip "character" in Frame 628onClipEvent (load) { falling = false; hitting = false; gravity = 10; jump = 0; jumping = false; right_speed = 0; left_speed = 0; facing_right = true; facing_left = true; attacking = false; croutch = false; dead = false; } onClipEvent (enterFrame) { if (((Key.isDown(39) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { right_speed = right_speed + 0.4; } if (((Key.isDown(37) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { left_speed = left_speed + 0.4; } if ((right_speed > 5) && (Key.isDown(39))) { right_speed = 5; } if ((right_speed > 0) && (jumping == false)) { right_speed = right_speed - 0.2; } this._x = this._x + right_speed; if (right_speed < 0) { right_speed = 0; } if ((left_speed > 5) && (Key.isDown(37))) { left_speed = 5; } if ((left_speed > 0) && (jumping == false)) { left_speed = left_speed - 0.2; } this._x = this._x - left_speed; if (left_speed < 0) { left_speed = 0; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == true)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_right"); attacking = true; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_left"); attacking = true; } if ((((Key.isDown(39) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_right"); facing_right = true; } if ((((Key.isDown(37) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_left"); facing_right = false; } if (((((Key.isDown(39) == false) && (facing_right == true)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((Key.isDown(37) == false) && (facing_right == false)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == true)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == false)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); croutch = true; } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); croutch = true; } if ((Key.isDown(40) == false) && (dead == false)) { croutch = false; } if (((croutch == true) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); } if (((croutch == true) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); } if (this._x < -2594.3) { this._x = -2594.3; } if ((_root.health <= 0) && (facing_left == true)) { this.gotoAndStop("dead_left"); dead == true; } if ((_root.health <= 0) && (facing_right == true)) { this.gotoAndStop("dead_right"); dead == true; } if (_root.cam._x >= 3115) { _root.gotoAndPlay("cut-1"); } _root.stop(); }Instance of Symbol 57 MovieClip "cam" in Frame 628onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 87 MovieClip "gray_screen" in Frame 628onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 101 MovieClip "bg" in Frame 628onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Frame 677_root.gotoAndPlay("3-1");Frame 678stop(); stop();Frame 734stop(); health = 10;Instance of Symbol 69 MovieClip "enemy13" in Frame 734onClipEvent (load) { hp = 35; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy14" in Frame 734onClipEvent (load) { hp = 27; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy15" in Frame 734onClipEvent (load) { hp = 27; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy16" in Frame 734onClipEvent (load) { hp = 30; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.4; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.4; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 84 MovieClip "character" in Frame 734onClipEvent (load) { falling = false; hitting = false; gravity = 10; jump = 0; jumping = false; right_speed = 0; left_speed = 0; facing_right = true; facing_left = true; attacking = false; croutch = false; dead = false; } onClipEvent (enterFrame) { if (((Key.isDown(39) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { right_speed = right_speed + 0.4; } if (((Key.isDown(37) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { left_speed = left_speed + 0.4; } if ((right_speed > 5) && (Key.isDown(39))) { right_speed = 5; } if ((right_speed > 0) && (jumping == false)) { right_speed = right_speed - 0.2; } this._x = this._x + right_speed; if (right_speed < 0) { right_speed = 0; } if ((left_speed > 5) && (Key.isDown(37))) { left_speed = 5; } if ((left_speed > 0) && (jumping == false)) { left_speed = left_speed - 0.2; } this._x = this._x - left_speed; if (left_speed < 0) { left_speed = 0; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == true)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_right"); attacking = true; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_left"); attacking = true; } if ((((Key.isDown(39) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_right"); facing_right = true; } if ((((Key.isDown(37) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_left"); facing_right = false; } if (((((Key.isDown(39) == false) && (facing_right == true)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((Key.isDown(37) == false) && (facing_right == false)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == true)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == false)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); croutch = true; } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); croutch = true; } if ((Key.isDown(40) == false) && (dead == false)) { croutch = false; } if (((croutch == true) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); } if (((croutch == true) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); } if (this._x < -2550) { this._x = -2550; } if ((_root.health <= 0) && (facing_left == true)) { this.gotoAndStop("dead_left"); dead == true; } if ((_root.health <= 0) && (facing_right == true)) { this.gotoAndStop("dead_right"); dead == true; } if (_root.cam._x >= 2700) { _root.gotoAndPlay("cut-3"); } _root.stop(); }Instance of Symbol 57 MovieClip "cam" in Frame 734onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 87 MovieClip "gray_screen" in Frame 734onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 101 MovieClip "bg" in Frame 734onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Frame 783_root.gotoAndPlay("4-1");Frame 784stop(); stop();Frame 840stop(); health = 10;Instance of Symbol 69 MovieClip "enemy17" in Frame 840onClipEvent (load) { hp = 35; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy18" in Frame 840onClipEvent (load) { hp = 35; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy19" in Frame 840onClipEvent (load) { hp = 35; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy20" in Frame 840onClipEvent (load) { hp = 35; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy21" in Frame 840onClipEvent (load) { hp = 35; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy22" in Frame 840onClipEvent (load) { hp = 45; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 84 MovieClip "character" in Frame 840onClipEvent (load) { falling = false; hitting = false; gravity = 10; jump = 0; jumping = false; right_speed = 0; left_speed = 0; facing_right = true; facing_left = true; attacking = false; croutch = false; dead = false; } onClipEvent (enterFrame) { if (((Key.isDown(39) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { right_speed = right_speed + 0.4; } if (((Key.isDown(37) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { left_speed = left_speed + 0.4; } if ((right_speed > 5) && (Key.isDown(39))) { right_speed = 5; } if ((right_speed > 0) && (jumping == false)) { right_speed = right_speed - 0.2; } this._x = this._x + right_speed; if (right_speed < 0) { right_speed = 0; } if ((left_speed > 5) && (Key.isDown(37))) { left_speed = 5; } if ((left_speed > 0) && (jumping == false)) { left_speed = left_speed - 0.2; } this._x = this._x - left_speed; if (left_speed < 0) { left_speed = 0; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == true)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_right"); attacking = true; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_left"); attacking = true; } if ((((Key.isDown(39) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_right"); facing_right = true; } if ((((Key.isDown(37) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_left"); facing_right = false; } if (((((Key.isDown(39) == false) && (facing_right == true)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((Key.isDown(37) == false) && (facing_right == false)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == true)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == false)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); croutch = true; } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); croutch = true; } if ((Key.isDown(40) == false) && (dead == false)) { croutch = false; } if (((croutch == true) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); } if (((croutch == true) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); } if (this._x < -2530) { this._x = -2530; } if ((_root.health <= 0) && (facing_left == true)) { this.gotoAndStop("dead_left"); dead == true; } if ((_root.health <= 0) && (facing_right == true)) { this.gotoAndStop("dead_right"); dead == true; } if (_root.cam._x >= 2880) { _root.gotoAndPlay("cut-4"); } _root.stop(); }Instance of Symbol 57 MovieClip "cam" in Frame 840onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 87 MovieClip "gray_screen" in Frame 840onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 101 MovieClip "bg" in Frame 840onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Frame 889_root.gotoAndPlay("5-1");Frame 890stop(); stop();Frame 946stop(); health = 10;Instance of Symbol 69 MovieClip "enemy30" in Frame 946onClipEvent (load) { hp = 100; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy31" in Frame 946onClipEvent (load) { hp = 55; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy32" in Frame 946onClipEvent (load) { hp = 55; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy34" in Frame 946onClipEvent (load) { hp = 65; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 69 MovieClip "enemy36" in Frame 946onClipEvent (load) { hp = 100; right_speed = 0; left_speed = 0; } onClipEvent (enterFrame) { if (((_root.character._x + 5) < this._x) && (hp > 1)) { left_speed = left_speed + 0.6; this.gotoAndStop(1); } if (((_root.character._x - 10) > this._x) && (hp > 1)) { right_speed = right_speed + 0.6; this.gotoAndStop(2); } if ((this.hitTest(_root.character.body) && (_root.character._x < this._x)) && (hp > 0)) { _root.character.left_speed = 8; _root.character.right_speed = 0; _root.gray_screen.play(); } if ((this.hitTest(_root.character.body) && (_root.character._x > this._x)) && (hp > 0)) { _root.character.right_speed = 8; _root.character.left_speed = 0; _root.gray_screen.play(); } if (this.hitTest(_root.character.attack_right.sword)) { hp = hp - 1; right_speed = 8; left_speed = 0; } if (this.hitTest(_root.character.attack_left.sword)) { hp = hp - 1; left_speed = 8; right_speed = 0; } this._x = this._x + right_speed; this._x = this._x - left_speed; if (right_speed > 0) { right_speed = right_speed - 0.2; } if (left_speed > 0) { left_speed = left_speed - 0.2; } if (left_speed > 3) { left_speed = 3; } if (right_speed > 3) { right_speed = 3; } if (left_speed <= 0) { left_speed = 0; } if (right_speed <= 0) { right_speed = 0; } if (hp <= 0) { dead = true; gotoAndStop ("dead"); } }Instance of Symbol 84 MovieClip "character" in Frame 946onClipEvent (load) { falling = false; hitting = false; gravity = 10; jump = 0; jumping = false; right_speed = 0; left_speed = 0; facing_right = true; facing_left = true; attacking = false; croutch = false; dead = false; } onClipEvent (enterFrame) { if (((Key.isDown(39) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { right_speed = right_speed + 0.4; } if (((Key.isDown(37) && (croutch == false)) && (attacking == false)) && (_root.health > 0)) { left_speed = left_speed + 0.4; } if ((right_speed > 5) && (Key.isDown(39))) { right_speed = 5; } if ((right_speed > 0) && (jumping == false)) { right_speed = right_speed - 0.2; } this._x = this._x + right_speed; if (right_speed < 0) { right_speed = 0; } if ((left_speed > 5) && (Key.isDown(37))) { left_speed = 5; } if ((left_speed > 0) && (jumping == false)) { left_speed = left_speed - 0.2; } this._x = this._x - left_speed; if (left_speed < 0) { left_speed = 0; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == true)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_right"); attacking = true; } if ((((Key.isDown(32) && (jumping == false)) && (facing_right == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("attack_left"); attacking = true; } if ((((Key.isDown(39) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_right"); facing_right = true; } if ((((Key.isDown(37) && (jumping == false)) && (attacking == false)) && (croutch == false)) && (dead == false)) { gotoAndStop ("walking_left"); facing_right = false; } if (((((Key.isDown(39) == false) && (facing_right == true)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((Key.isDown(37) == false) && (facing_right == false)) && (attacking == false)) && (croutch == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == true)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_right"); } if (((((left_speed == right_speed) && (jumping == false)) && (facing_right == false)) && (attacking == false)) && (_root.health > 0)) { gotoAndStop ("facing_left"); } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); croutch = true; } if (((((Key.isDown(40) && (attacking == false)) && (croutch == false)) && (jumping == false)) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); croutch = true; } if ((Key.isDown(40) == false) && (dead == false)) { croutch = false; } if (((croutch == true) && (facing_right == true)) && (dead == false)) { gotoAndStop ("croutch_right"); } if (((croutch == true) && (facing_right == false)) && (dead == false)) { gotoAndStop ("croutch_left"); } if (this._x < -2580) { this._x = -2580; } if ((_root.health <= 0) && (facing_left == true)) { this.gotoAndStop("dead_left"); dead == true; } if ((_root.health <= 0) && (facing_right == true)) { this.gotoAndStop("dead_right"); dead == true; } if (_root.cam._x >= 2880) { _root.gotoAndPlay("cut-6"); } _root.stop(); }Instance of Symbol 57 MovieClip "cam" in Frame 946onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 87 MovieClip "gray_screen" in Frame 946onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Instance of Symbol 101 MovieClip "bg" in Frame 946onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }Frame 947stop(); stop();Frame 1017stopAllSounds();Frame 1036_root.gotoAndPlay("last-cutscene");Frame 3327stop();Symbol 147 MovieClip [__Packages.NewgroundsAPI] Frame 0class NewgroundsAPI { static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format; function NewgroundsAPI () { } static function connectMovie(id) { if (!id) { SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else if (!tracker_id) { SendMessage("Connecting to API gateway..."); tracker_id = id; host = _url.split("/")[2].toLowerCase(); if (host.length < 1) { host = "localhost"; } var _local2 = new Object(); SendEvent(MOVIE_VIEWS); } } static function setMovieVersion(movie_version) { if (!movie_version) { SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = movie_version; } } static function debugMode() { debug = true; } static function addCustomEvent(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else if (!stat_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[stat_name] = CUSTOM_STATS + stat_id; SendMessage("Created custom event: " + stat_name); } } static function addCustomLink(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else if (!stat_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[stat_name] = CUSTOM_STATS + stat_id; SendMessage((("Created custom link " + stat_id) + ": ") + stat_name); } } static function loadMySite() { SendLink(AUTHOR_SITE); } static function loadNewgrounds(special) { if (special) { var _local1 = {page:special}; } SendLink(NEWGROUNDS, _local1); } static function logCustomEvent(event_name) { if (!event_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else if (!custom_events[event_name]) { SendError("Attempted to log undefined custom event: " + event_name); } else { SendEvent(custom_events[event_name]); } } static function loadCustomLink(link_name) { if (!link_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else if (!custom_links[link_name]) { SendError("Attempted to open undefined custom link: " + link_name); } else { SendLink(custom_links[link_name]); } } static function getAdURL() { return(movie_options.ad_url); } static function getMovieURL() { if (movie_options.movie_url) { return(movie_options.movie_url); } return("Newgrounds.com"); } static function getNewVersionURL() { return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION); } static function SendEvent(id) { SendStat(id, false); } static function SendLink(id, extra) { SendStat(id, true, extra); } static function ReadGatewayData(params) { for (var _local2 in params) { params[_local2] = unescape(params[_local2]); movie_options[_local2] = params[_local2]; } if (params.settings_loaded) { SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'"); if (movie_options.message) { SendMessage(movie_options.message); } if (movie_options.ad_url) { SendMessage("Your movie has been approved to run Flash Ads"); onAdsApproved(movie_options.ad_url); } if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) { SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL()); } if (movie_options.deny_host) { SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); onDenyHost(host, getMovieURL(), getNewVersionURL()); } if (movie_options.request_portal_url == 1) { var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url); var _local3 = new XML(); _local3.ignoreWhite = true; _local3.load(_local4); } } else if (!movie_options.settings_loaded) { SendError("Could not establish connection to the API gateway."); } } static function SendStat(stat_id, open_in_browser, extra) { if (!tracker_id) { SendError("API calls cannot be made without a valid movie id."); SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?"); } else { var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id; for (var _local9 in extra) { _local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9])); } trace(_local7); if (debug) { _local7 = _local7 + "&debug=1"; } if (open_in_browser) { getURL (_local7, "_blank"); } else { var _local10 = new XML(); _local10.ignoreWhite = true; _local10.onLoad = function (success) { var _local6 = new Object(); var _local3 = 0; while (_local3 < this.firstChild.childNodes.length) { var _local4 = this.firstChild.childNodes[_local3]; var _local5 = _local4.nodeName; var _local2 = _local4.attributes.value; if (_local2 == Number(_local2)) { _local2 = Number(_local2); } _local6[_local5] = _local2; _local3++; } NewgroundsAPI.ReadGatewayData(_local6); }; _local10.load(_local7); } } } static function SendError(msg) { trace("[NEWGROUNDS API ERROR] :: " + msg); } static function SendMessage(msg) { trace("[NEWGROUNDS API] :: " + msg); } static function InitTextFormats() { if (!error_format) { error_format = new TextFormat(); error_format.font = "Arial Black"; error_format.size = 48; error_format.color = 16711680 /* 0xFF0000 */; } if (!header_format) { header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.size = 24; header_format.color = 16777215 /* 0xFFFFFF */; } if (!normal_format) { normal_format = new TextFormat(); normal_format.font = "Arial"; normal_format.bold = true; normal_format.size = 12; normal_format.color = 16777215 /* 0xFFFFFF */; } if (!link_format) { link_format = new TextFormat(); link_format.color = 16776960 /* 0xFFFF00 */; link_format.underline = true; } } static function onNewVersionAvailable(version, movie_url, redirect_url) { InitTextFormats(); var _local2 = new Object(); _local2.x = Stage.width / 2; _local2.y = Stage.height / 2; _root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth()); _root.NGAPI_new_version_overlay.lineStyle(1, 0, 100); _root.NGAPI_new_version_overlay.beginFill(0, 70); _root.NGAPI_new_version_overlay.moveTo(-10, -10); _root.NGAPI_new_version_overlay.lineTo(-10, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, -10); _root.NGAPI_new_version_overlay.lineTo(-10, -10); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.lineStyle(10, 0, 100); _root.NGAPI_new_version_overlay.beginFill(51); _root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000); _root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100); _root.NGAPI_new_version_overlay.exit.beginFill(0, 50); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.endFill(); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.onMouseUp = function () { if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) { _root.NGAPI_new_version_overlay.removeMovieClip(); } }; var _local3 = (("Version " + version) + " is now available at:") + newline; var _local5 = _local3.length; _local3 = _local3 + movie_url; var _local4 = _local3.length; _root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000); _root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80); _root.NGAPI_new_version_overlay.newversion.text = "New Version Available!"; _root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format); _root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40); _root.NGAPI_new_version_overlay.message.text = _local3; _root.NGAPI_new_version_overlay.message.multiline = true; _root.NGAPI_new_version_overlay.message.wordWrap = true; _root.NGAPI_new_version_overlay.message.html = true; _root.NGAPI_new_version_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format); } static function onDenyHost(hostname, movie_url, redirect_url) { InitTextFormats(); _root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth()); _root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100); _root.NGAPI_deny_host_overlay.beginFill(6684672); _root.NGAPI_deny_host_overlay.moveTo(0, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, 0); _root.NGAPI_deny_host_overlay.endFill(); var _local2 = ("This movie has not been approved for use on " + hostname) + "."; _local2 = _local2 + "\r\rFor an aproved copy, please visit:\r"; var _local4 = _local2.length; _local2 = _local2 + movie_url; var _local3 = _local2.length; _root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200); _root.NGAPI_deny_host_overlay.error.text = "ERROR!"; _root.NGAPI_deny_host_overlay.error.setTextFormat(error_format); _root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200); _root.NGAPI_deny_host_overlay.message.text = _local2; _root.NGAPI_deny_host_overlay.message.multiline = true; _root.NGAPI_deny_host_overlay.message.wordWrap = true; _root.NGAPI_deny_host_overlay.message.html = true; _root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format); } static function isInstalled() { return(true); } static function onAdsApproved(ad_url) { } static var movie_options = new Object(); static var custom_events = new Object(); static var custom_links = new Object(); static var MOVIE_VIEWS = 1; static var AUTHOR_SITE = 2; static var NEWGROUNDS = 3; static var NEW_VERSION = 4; static var CUSTOM_STATS = 50; static var GATEWAY_URL = "http://www.ngads.com/gateway.php"; }Symbol 13 Buttonon (release) { nextFrame(); }Symbol 17 Buttonon (release) { gotoAndPlay (467); stopAllSounds(); }Symbol 26 MovieClip Frame 51stop();Symbol 31 Buttonon (release) { nextFrame(); }Symbol 46 Buttonon (release) { gotoAndStop (451); }Symbol 57 MovieClip Frame 1function camControl() { parentColor.setTransform(camColor.getTransform()); var _local4 = sX / this._width; var _local3 = sY / this._height; _parent._x = cX - (this._x * _local4); _parent._y = cY - (this._y * _local3); _parent._xscale = 100 * _local4; _parent._yscale = 100 * _local3; } function resetStage() { var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(_local2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } parentColor.setTransform(camColor.getTransform()); this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage;Symbol 68 MovieClip Frame 19stop();Symbol 69 MovieClip Frame 1stop();Symbol 69 MovieClip Frame 2stop();Symbol 69 MovieClip Frame 3stop();Symbol 69 MovieClip Frame 4stop();Symbol 77 MovieClip Frame 1stop();Symbol 78 MovieClip Frame 12_root._root.character.attacking = false;Symbol 79 MovieClip Frame 12_root._root.character.attacking = false;Symbol 83 MovieClip Frame 76_root.gotoAndStop("dead_screen");Symbol 84 MovieClip Frame 1stop();Symbol 84 MovieClip Frame 2stop();Symbol 84 MovieClip Frame 3stop();Symbol 84 MovieClip Frame 4stop();Symbol 84 MovieClip Frame 5stop();Symbol 84 MovieClip Frame 6stop();Symbol 84 MovieClip Frame 7stop();Symbol 84 MovieClip Frame 8stop();Symbol 84 MovieClip Frame 9stop();Symbol 84 MovieClip Frame 10stop();Symbol 87 MovieClip Frame 1stop();Symbol 87 MovieClip Frame 2_root.redworldhealth = (_root.health = _root.health - 1); _root.bg.healthbar.nextFrame();Symbol 100 MovieClip Frame 1stop();Symbol 100 MovieClip Frame 2stop();Symbol 100 MovieClip Frame 3stop();Symbol 100 MovieClip Frame 4stop();Symbol 100 MovieClip Frame 5stop();Symbol 100 MovieClip Frame 6stop();Symbol 100 MovieClip Frame 7stop();Symbol 100 MovieClip Frame 8stop();Symbol 100 MovieClip Frame 9stop();Symbol 100 MovieClip Frame 10stop();Symbol 100 MovieClip Frame 11stop();Symbol 108 Buttonon (release) { gotoAndPlay (467); }Symbol 111 Buttonon (release) { gotoAndPlay (573); }Symbol 114 Buttonon (release) { gotoAndPlay (679); }Symbol 117 Buttonon (release) { gotoAndPlay (785); }Symbol 120 Buttonon (release) { gotoAndPlay ("5-1"); }Symbol 126 MovieClip Frame 50stop();Symbol 146 Buttonon (release) { _root.gotoAndStop("home"); }
Library Items
Symbol 1 Sound [intro] | Used by:Timeline | |
Symbol 2 Graphic | Used by:3 13 146 | |
Symbol 3 MovieClip | Uses:2 | Used by:Timeline |
Symbol 147 MovieClip [__Packages.NewgroundsAPI] | ||
Symbol 4 Font | Used by:5 6 7 8 11 12 14 15 27 28 29 32 33 34 35 36 37 38 39 40 41 42 43 44 45 105 106 142 144 145 | |
Symbol 5 Text | Uses:4 | Used by:Timeline |
Symbol 6 Text | Uses:4 | Used by:Timeline |
Symbol 7 Text | Uses:4 | Used by:Timeline |
Symbol 8 Text | Uses:4 | Used by:Timeline |
Symbol 9 ShapeTweening | Used by:Timeline | |
Symbol 10 Graphic | Used by:Timeline | |
Symbol 11 Text | Uses:4 | Used by:13 |
Symbol 12 Text | Uses:4 | Used by:13 |
Symbol 13 Button | Uses:11 12 2 | Used by:Timeline |
Symbol 14 Text | Uses:4 | Used by:17 |
Symbol 15 Text | Uses:4 | Used by:17 |
Symbol 16 Graphic | Used by:17 | |
Symbol 17 Button | Uses:14 15 16 | Used by:Timeline |
Symbol 18 Graphic | Used by:20 | |
Symbol 19 Graphic | Used by:20 | |
Symbol 20 MovieClip | Uses:18 19 | Used by:Timeline |
Symbol 21 Graphic | Used by:23 | |
Symbol 22 Graphic | Used by:23 | |
Symbol 23 MovieClip | Uses:21 22 | Used by:Timeline |
Symbol 24 ShapeTweening | Used by:26 | |
Symbol 25 Graphic | Used by:26 70 126 | |
Symbol 26 MovieClip | Uses:24 25 | Used by:Timeline |
Symbol 27 Text | Uses:4 | Used by:Timeline |
Symbol 28 Text | Uses:4 | Used by:31 46 |
Symbol 29 Text | Uses:4 | Used by:31 46 |
Symbol 30 Graphic | Used by:31 46 | |
Symbol 31 Button | Uses:28 29 30 | Used by:Timeline |
Symbol 32 Text | Uses:4 | Used by:Timeline |
Symbol 33 Text | Uses:4 | Used by:Timeline |
Symbol 34 Text | Uses:4 | Used by:Timeline |
Symbol 35 Text | Uses:4 | Used by:Timeline |
Symbol 36 Text | Uses:4 | Used by:Timeline |
Symbol 37 Text | Uses:4 | Used by:Timeline |
Symbol 38 Text | Uses:4 | Used by:Timeline |
Symbol 39 Text | Uses:4 | Used by:Timeline |
Symbol 40 Text | Uses:4 | Used by:Timeline |
Symbol 41 Text | Uses:4 | Used by:Timeline |
Symbol 42 Text | Uses:4 | Used by:Timeline |
Symbol 43 Text | Uses:4 | Used by:Timeline |
Symbol 44 Text | Uses:4 | Used by:Timeline |
Symbol 45 Text | Uses:4 | Used by:Timeline |
Symbol 46 Button | Uses:28 29 30 | Used by:Timeline |
Symbol 47 Graphic | Used by:Timeline | |
Symbol 48 Graphic | Used by:52 78 79 84 | |
Symbol 49 Graphic | Used by:52 | |
Symbol 50 Graphic | Used by:52 | |
Symbol 51 Graphic | Used by:52 | |
Symbol 52 MovieClip | Uses:48 49 50 51 | Used by:84 Timeline |
Symbol 53 Graphic | Used by:Timeline | |
Symbol 54 Graphic | Used by:57 | |
Symbol 55 Font | Used by:56 | |
Symbol 56 EditableText | Uses:55 | Used by:57 |
Symbol 57 MovieClip | Uses:54 56 | Used by:Timeline |
Symbol 58 Sound | Used by:Timeline | |
Symbol 59 Graphic | Used by:62 | |
Symbol 60 Graphic | Used by:62 | |
Symbol 61 Graphic | Used by:62 | |
Symbol 62 MovieClip | Uses:59 60 61 | Used by:69 |
Symbol 63 Graphic | Used by:68 | |
Symbol 64 Graphic | Used by:68 | |
Symbol 65 Graphic | Used by:68 | |
Symbol 66 Graphic | Used by:68 | |
Symbol 67 Graphic | Used by:68 69 | |
Symbol 68 MovieClip | Uses:63 64 65 66 67 | Used by:69 |
Symbol 69 MovieClip | Uses:62 68 67 | Used by:Timeline |
Symbol 70 MovieClip | Uses:25 | Used by:84 |
Symbol 71 Graphic | Used by:84 | |
Symbol 72 Graphic | Used by:73 | |
Symbol 73 MovieClip | Uses:72 | Used by:84 |
Symbol 74 Graphic | Used by:75 | |
Symbol 75 MovieClip | Uses:74 | Used by:84 |
Symbol 76 Graphic | Used by:77 | |
Symbol 77 MovieClip | Uses:76 | Used by:78 79 |
Symbol 78 MovieClip | Uses:77 48 | Used by:84 |
Symbol 79 MovieClip | Uses:77 48 | Used by:84 |
Symbol 80 ShapeTweening | Used by:83 | |
Symbol 81 Graphic | Used by:83 | |
Symbol 82 Graphic | Used by:83 | |
Symbol 83 MovieClip | Uses:80 81 82 | Used by:84 |
Symbol 84 MovieClip | Uses:48 70 71 52 73 75 78 79 83 | Used by:Timeline |
Symbol 85 Graphic | Used by:87 | |
Symbol 86 ShapeTweening | Used by:87 | |
Symbol 87 MovieClip | Uses:85 86 | Used by:Timeline |
Symbol 88 Graphic | Used by:101 | |
Symbol 89 Graphic | Used by:100 | |
Symbol 90 Graphic | Used by:100 | |
Symbol 91 Graphic | Used by:100 | |
Symbol 92 Graphic | Used by:100 | |
Symbol 93 Graphic | Used by:100 | |
Symbol 94 Graphic | Used by:100 | |
Symbol 95 Graphic | Used by:100 | |
Symbol 96 Graphic | Used by:100 | |
Symbol 97 Graphic | Used by:100 | |
Symbol 98 Graphic | Used by:100 | |
Symbol 99 Graphic | Used by:100 | |
Symbol 100 MovieClip | Uses:89 90 91 92 93 94 95 96 97 98 99 | Used by:101 |
Symbol 101 MovieClip | Uses:88 100 | Used by:Timeline |
Symbol 102 Graphic | Used by:Timeline | |
Symbol 103 Font | Used by:104 | |
Symbol 104 Text | Uses:103 | Used by:Timeline |
Symbol 105 Text | Uses:4 | Used by:108 111 114 117 120 |
Symbol 106 Text | Uses:4 | Used by:108 111 114 117 120 |
Symbol 107 Graphic | Used by:108 111 114 117 120 | |
Symbol 108 Button | Uses:105 106 107 | Used by:Timeline |
Symbol 109 Graphic | Used by:Timeline | |
Symbol 110 Graphic | Used by:Timeline | |
Symbol 111 Button | Uses:105 106 107 | Used by:Timeline |
Symbol 112 Graphic | Used by:Timeline | |
Symbol 113 Graphic | Used by:Timeline | |
Symbol 114 Button | Uses:105 106 107 | Used by:Timeline |
Symbol 115 Graphic | Used by:Timeline | |
Symbol 116 Graphic | Used by:Timeline | |
Symbol 117 Button | Uses:105 106 107 | Used by:Timeline |
Symbol 118 Graphic | Used by:Timeline | |
Symbol 119 Graphic | Used by:Timeline | |
Symbol 120 Button | Uses:105 106 107 | Used by:Timeline |
Symbol 121 Graphic | Used by:Timeline | |
Symbol 122 ShapeTweening | Used by:Timeline | |
Symbol 123 Sound | Used by:Timeline | |
Symbol 124 Graphic | Used by:Timeline | |
Symbol 125 ShapeTweening | Used by:126 | |
Symbol 126 MovieClip | Uses:125 25 | Used by:Timeline |
Symbol 127 Graphic | Used by:Timeline | |
Symbol 128 Graphic | Used by:Timeline | |
Symbol 129 Graphic | Used by:Timeline | |
Symbol 130 Graphic | Used by:Timeline | |
Symbol 131 Graphic | Used by:Timeline | |
Symbol 132 Graphic | Used by:Timeline | |
Symbol 133 Graphic | Used by:Timeline | |
Symbol 134 ShapeTweening | Used by:Timeline | |
Symbol 135 ShapeTweening | Used by:Timeline | |
Symbol 136 ShapeTweening | Used by:Timeline | |
Symbol 137 ShapeTweening | Used by:Timeline | |
Symbol 138 ShapeTweening | Used by:Timeline | |
Symbol 139 Graphic | Used by:Timeline | |
Symbol 140 ShapeTweening | Used by:Timeline | |
Symbol 141 Graphic | Used by:Timeline | |
Symbol 142 Text | Uses:4 | Used by:143 |
Symbol 143 MovieClip | Uses:142 | Used by:Timeline |
Symbol 144 Text | Uses:4 | Used by:146 |
Symbol 145 Text | Uses:4 | Used by:146 |
Symbol 146 Button | Uses:144 145 2 | Used by:Timeline |
Instance Names
"enemy1" | Frame 522 | Symbol 69 MovieClip |
"enemy2" | Frame 522 | Symbol 69 MovieClip |
"enemy3" | Frame 522 | Symbol 69 MovieClip |
"character" | Frame 522 | Symbol 84 MovieClip |
"cam" | Frame 522 | Symbol 57 MovieClip |
"gray_screen" | Frame 522 | Symbol 87 MovieClip |
"bg" | Frame 522 | Symbol 101 MovieClip |
"cam" | Frame 523 | Symbol 57 MovieClip |
"enemy10" | Frame 628 | Symbol 69 MovieClip |
"enemy6" | Frame 628 | Symbol 69 MovieClip |
"enemy7" | Frame 628 | Symbol 69 MovieClip |
"enemy8" | Frame 628 | Symbol 69 MovieClip |
"enemy9" | Frame 628 | Symbol 69 MovieClip |
"enemy11" | Frame 628 | Symbol 69 MovieClip |
"enemy12" | Frame 628 | Symbol 69 MovieClip |
"enemy13" | Frame 628 | Symbol 69 MovieClip |
"character" | Frame 628 | Symbol 84 MovieClip |
"cam" | Frame 628 | Symbol 57 MovieClip |
"gray_screen" | Frame 628 | Symbol 87 MovieClip |
"bg" | Frame 628 | Symbol 101 MovieClip |
"enemy13" | Frame 734 | Symbol 69 MovieClip |
"enemy14" | Frame 734 | Symbol 69 MovieClip |
"enemy15" | Frame 734 | Symbol 69 MovieClip |
"enemy16" | Frame 734 | Symbol 69 MovieClip |
"character" | Frame 734 | Symbol 84 MovieClip |
"cam" | Frame 734 | Symbol 57 MovieClip |
"gray_screen" | Frame 734 | Symbol 87 MovieClip |
"bg" | Frame 734 | Symbol 101 MovieClip |
"cam" | Frame 735 | Symbol 57 MovieClip |
"cam" | Frame 785 | Symbol 57 MovieClip |
"enemy17" | Frame 840 | Symbol 69 MovieClip |
"enemy18" | Frame 840 | Symbol 69 MovieClip |
"enemy19" | Frame 840 | Symbol 69 MovieClip |
"enemy20" | Frame 840 | Symbol 69 MovieClip |
"enemy21" | Frame 840 | Symbol 69 MovieClip |
"enemy22" | Frame 840 | Symbol 69 MovieClip |
"character" | Frame 840 | Symbol 84 MovieClip |
"cam" | Frame 840 | Symbol 57 MovieClip |
"gray_screen" | Frame 840 | Symbol 87 MovieClip |
"bg" | Frame 840 | Symbol 101 MovieClip |
"cam" | Frame 891 | Symbol 57 MovieClip |
"enemy30" | Frame 946 | Symbol 69 MovieClip |
"enemy31" | Frame 946 | Symbol 69 MovieClip |
"enemy32" | Frame 946 | Symbol 69 MovieClip |
"enemy34" | Frame 946 | Symbol 69 MovieClip |
"enemy36" | Frame 946 | Symbol 69 MovieClip |
"character" | Frame 946 | Symbol 84 MovieClip |
"cam" | Frame 946 | Symbol 57 MovieClip |
"gray_screen" | Frame 946 | Symbol 87 MovieClip |
"bg" | Frame 946 | Symbol 101 MovieClip |
"cam" | Frame 948 | Symbol 57 MovieClip |
"sword" | Symbol 78 MovieClip Frame 1 | Symbol 77 MovieClip |
"sword" | Symbol 79 MovieClip Frame 1 | Symbol 77 MovieClip |
"body" | Symbol 84 MovieClip Frame 1 | Symbol 70 MovieClip |
"crouch_left" | Symbol 84 MovieClip Frame 7 | Symbol 73 MovieClip |
"crouch_right" | Symbol 84 MovieClip Frame 8 | Symbol 75 MovieClip |
"attack_right" | Symbol 84 MovieClip Frame 9 | Symbol 78 MovieClip |
"attack_left" | Symbol 84 MovieClip Frame 10 | Symbol 79 MovieClip |
"healthbar" | Symbol 101 MovieClip Frame 1 | Symbol 100 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
Protect (24) | Timeline Frame 1 | 31 bytes "..$1$az$Xx98Sb/dSx.KM9oCD8fRl.." |
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "intro" |
ExportAssets (56) | Timeline Frame 1 | Symbol 147 as "__Packages.NewgroundsAPI" |
Labels
"home" | Frame 451 |
"cutscene" | Frame 523 |
"dead_screen" | Frame 572 |
"yallow" | Frame 573 |
"cut-1" | Frame 629 |
"dead_screen" | Frame 678 |
"3-1" | Frame 679 |
"cut-3" | Frame 735 |
"dead_screen" | Frame 784 |
"4-1" | Frame 785 |
"cut-4" | Frame 841 |
"dead_screen" | Frame 890 |
"5-1" | Frame 891 |
"dead_screen" | Frame 947 |
"cut-6" | Frame 948 |
"endmovie" | Frame 1037 |
"comeone" | Frame 1967 |
"left_walk" | Symbol 69 MovieClip Frame 1 |
"right_walk" | Symbol 69 MovieClip Frame 2 |
"hit_right" | Symbol 69 MovieClip Frame 3 |
"hit_left" | Symbol 69 MovieClip Frame 4 |
"dead" | Symbol 69 MovieClip Frame 5 |
"facing_right" | Symbol 84 MovieClip Frame 1 |
"facing_left" | Symbol 84 MovieClip Frame 2 |
"walking_right" | Symbol 84 MovieClip Frame 3 |
"walking_left" | Symbol 84 MovieClip Frame 4 |
"jumping_right" | Symbol 84 MovieClip Frame 5 |
"jumping_left" | Symbol 84 MovieClip Frame 6 |
"croutch_left" | Symbol 84 MovieClip Frame 7 |
"croutch_right" | Symbol 84 MovieClip Frame 8 |
"attack_right" | Symbol 84 MovieClip Frame 9 |
"attack_left" | Symbol 84 MovieClip Frame 10 |
"dead_left" | Symbol 84 MovieClip Frame 11 |
"dead_right" | Symbol 84 MovieClip Frame 12 |
|