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

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

- Color the World -.swf

This is the info page for
Flash #66473

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


Text
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 1
function 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 1
onClipEvent (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 451
stop();
Frame 452
stop();
Frame 522
stop(); health = 10;
Instance of Symbol 69 MovieClip "enemy1" in Frame 522
onClipEvent (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 522
onClipEvent (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 522
onClipEvent (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 522
onClipEvent (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 522
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 87 MovieClip "gray_screen" in Frame 522
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 101 MovieClip "bg" in Frame 522
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Frame 571
_root.gotoAndPlay("yallow"); _root.gotoAndPlay("2-1");
Frame 572
stop();
Frame 628
stop(); health = 10;
Instance of Symbol 69 MovieClip "enemy10" in Frame 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (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 628
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 87 MovieClip "gray_screen" in Frame 628
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 101 MovieClip "bg" in Frame 628
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Frame 677
_root.gotoAndPlay("3-1");
Frame 678
stop(); stop();
Frame 734
stop(); health = 10;
Instance of Symbol 69 MovieClip "enemy13" in Frame 734
onClipEvent (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 734
onClipEvent (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 734
onClipEvent (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 734
onClipEvent (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 734
onClipEvent (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 734
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 87 MovieClip "gray_screen" in Frame 734
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 101 MovieClip "bg" in Frame 734
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Frame 783
_root.gotoAndPlay("4-1");
Frame 784
stop(); stop();
Frame 840
stop(); health = 10;
Instance of Symbol 69 MovieClip "enemy17" in Frame 840
onClipEvent (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 840
onClipEvent (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 840
onClipEvent (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 840
onClipEvent (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 840
onClipEvent (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 840
onClipEvent (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 840
onClipEvent (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 840
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 87 MovieClip "gray_screen" in Frame 840
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 101 MovieClip "bg" in Frame 840
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Frame 889
_root.gotoAndPlay("5-1");
Frame 890
stop(); stop();
Frame 946
stop(); health = 10;
Instance of Symbol 69 MovieClip "enemy30" in Frame 946
onClipEvent (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 946
onClipEvent (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 946
onClipEvent (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 946
onClipEvent (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 946
onClipEvent (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 946
onClipEvent (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 946
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 87 MovieClip "gray_screen" in Frame 946
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Instance of Symbol 101 MovieClip "bg" in Frame 946
onClipEvent (enterFrame) { _x = (_x + ((_root.character._x - _x) / 4)); }
Frame 947
stop(); stop();
Frame 1017
stopAllSounds();
Frame 1036
_root.gotoAndPlay("last-cutscene");
Frame 3327
stop();
Symbol 147 MovieClip [__Packages.NewgroundsAPI] Frame 0
class 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 Button
on (release) { nextFrame(); }
Symbol 17 Button
on (release) { gotoAndPlay (467); stopAllSounds(); }
Symbol 26 MovieClip Frame 51
stop();
Symbol 31 Button
on (release) { nextFrame(); }
Symbol 46 Button
on (release) { gotoAndStop (451); }
Symbol 57 MovieClip Frame 1
function 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 19
stop();
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 69 MovieClip Frame 3
stop();
Symbol 69 MovieClip Frame 4
stop();
Symbol 77 MovieClip Frame 1
stop();
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 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 3
stop();
Symbol 84 MovieClip Frame 4
stop();
Symbol 84 MovieClip Frame 5
stop();
Symbol 84 MovieClip Frame 6
stop();
Symbol 84 MovieClip Frame 7
stop();
Symbol 84 MovieClip Frame 8
stop();
Symbol 84 MovieClip Frame 9
stop();
Symbol 84 MovieClip Frame 10
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
_root.redworldhealth = (_root.health = _root.health - 1); _root.bg.healthbar.nextFrame();
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
stop();
Symbol 100 MovieClip Frame 3
stop();
Symbol 100 MovieClip Frame 4
stop();
Symbol 100 MovieClip Frame 5
stop();
Symbol 100 MovieClip Frame 6
stop();
Symbol 100 MovieClip Frame 7
stop();
Symbol 100 MovieClip Frame 8
stop();
Symbol 100 MovieClip Frame 9
stop();
Symbol 100 MovieClip Frame 10
stop();
Symbol 100 MovieClip Frame 11
stop();
Symbol 108 Button
on (release) { gotoAndPlay (467); }
Symbol 111 Button
on (release) { gotoAndPlay (573); }
Symbol 114 Button
on (release) { gotoAndPlay (679); }
Symbol 117 Button
on (release) { gotoAndPlay (785); }
Symbol 120 Button
on (release) { gotoAndPlay ("5-1"); }
Symbol 126 MovieClip Frame 50
stop();
Symbol 146 Button
on (release) { _root.gotoAndStop("home"); }

Library Items

Symbol 1 Sound [intro]Used by:Timeline
Symbol 2 GraphicUsed by:3 13 146
Symbol 3 MovieClipUses:2Used by:Timeline
Symbol 147 MovieClip [__Packages.NewgroundsAPI]
Symbol 4 FontUsed 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 TextUses:4Used by:Timeline
Symbol 6 TextUses:4Used by:Timeline
Symbol 7 TextUses:4Used by:Timeline
Symbol 8 TextUses:4Used by:Timeline
Symbol 9 ShapeTweeningUsed by:Timeline
Symbol 10 GraphicUsed by:Timeline
Symbol 11 TextUses:4Used by:13
Symbol 12 TextUses:4Used by:13
Symbol 13 ButtonUses:11 12 2Used by:Timeline
Symbol 14 TextUses:4Used by:17
Symbol 15 TextUses:4Used by:17
Symbol 16 GraphicUsed by:17
Symbol 17 ButtonUses:14 15 16Used by:Timeline
Symbol 18 GraphicUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:18 19Used by:Timeline
Symbol 21 GraphicUsed by:23
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:21 22Used by:Timeline
Symbol 24 ShapeTweeningUsed by:26
Symbol 25 GraphicUsed by:26 70 126
Symbol 26 MovieClipUses:24 25Used by:Timeline
Symbol 27 TextUses:4Used by:Timeline
Symbol 28 TextUses:4Used by:31 46
Symbol 29 TextUses:4Used by:31 46
Symbol 30 GraphicUsed by:31 46
Symbol 31 ButtonUses:28 29 30Used by:Timeline
Symbol 32 TextUses:4Used by:Timeline
Symbol 33 TextUses:4Used by:Timeline
Symbol 34 TextUses:4Used by:Timeline
Symbol 35 TextUses:4Used by:Timeline
Symbol 36 TextUses:4Used by:Timeline
Symbol 37 TextUses:4Used by:Timeline
Symbol 38 TextUses:4Used by:Timeline
Symbol 39 TextUses:4Used by:Timeline
Symbol 40 TextUses:4Used by:Timeline
Symbol 41 TextUses:4Used by:Timeline
Symbol 42 TextUses:4Used by:Timeline
Symbol 43 TextUses:4Used by:Timeline
Symbol 44 TextUses:4Used by:Timeline
Symbol 45 TextUses:4Used by:Timeline
Symbol 46 ButtonUses:28 29 30Used by:Timeline
Symbol 47 GraphicUsed by:Timeline
Symbol 48 GraphicUsed by:52 78 79 84
Symbol 49 GraphicUsed by:52
Symbol 50 GraphicUsed by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:48 49 50 51Used by:84  Timeline
Symbol 53 GraphicUsed by:Timeline
Symbol 54 GraphicUsed by:57
Symbol 55 FontUsed by:56
Symbol 56 EditableTextUses:55Used by:57
Symbol 57 MovieClipUses:54 56Used by:Timeline
Symbol 58 SoundUsed by:Timeline
Symbol 59 GraphicUsed by:62
Symbol 60 GraphicUsed by:62
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:59 60 61Used by:69
Symbol 63 GraphicUsed by:68
Symbol 64 GraphicUsed by:68
Symbol 65 GraphicUsed by:68
Symbol 66 GraphicUsed by:68
Symbol 67 GraphicUsed by:68 69
Symbol 68 MovieClipUses:63 64 65 66 67Used by:69
Symbol 69 MovieClipUses:62 68 67Used by:Timeline
Symbol 70 MovieClipUses:25Used by:84
Symbol 71 GraphicUsed by:84
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:84
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:84
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:78 79
Symbol 78 MovieClipUses:77 48Used by:84
Symbol 79 MovieClipUses:77 48Used by:84
Symbol 80 ShapeTweeningUsed by:83
Symbol 81 GraphicUsed by:83
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:80 81 82Used by:84
Symbol 84 MovieClipUses:48 70 71 52 73 75 78 79 83Used by:Timeline
Symbol 85 GraphicUsed by:87
Symbol 86 ShapeTweeningUsed by:87
Symbol 87 MovieClipUses:85 86Used by:Timeline
Symbol 88 GraphicUsed by:101
Symbol 89 GraphicUsed by:100
Symbol 90 GraphicUsed by:100
Symbol 91 GraphicUsed by:100
Symbol 92 GraphicUsed by:100
Symbol 93 GraphicUsed by:100
Symbol 94 GraphicUsed by:100
Symbol 95 GraphicUsed by:100
Symbol 96 GraphicUsed by:100
Symbol 97 GraphicUsed by:100
Symbol 98 GraphicUsed by:100
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:89 90 91 92 93 94 95 96 97 98 99Used by:101
Symbol 101 MovieClipUses:88 100Used by:Timeline
Symbol 102 GraphicUsed by:Timeline
Symbol 103 FontUsed by:104
Symbol 104 TextUses:103Used by:Timeline
Symbol 105 TextUses:4Used by:108 111 114 117 120
Symbol 106 TextUses:4Used by:108 111 114 117 120
Symbol 107 GraphicUsed by:108 111 114 117 120
Symbol 108 ButtonUses:105 106 107Used by:Timeline
Symbol 109 GraphicUsed by:Timeline
Symbol 110 GraphicUsed by:Timeline
Symbol 111 ButtonUses:105 106 107Used by:Timeline
Symbol 112 GraphicUsed by:Timeline
Symbol 113 GraphicUsed by:Timeline
Symbol 114 ButtonUses:105 106 107Used by:Timeline
Symbol 115 GraphicUsed by:Timeline
Symbol 116 GraphicUsed by:Timeline
Symbol 117 ButtonUses:105 106 107Used by:Timeline
Symbol 118 GraphicUsed by:Timeline
Symbol 119 GraphicUsed by:Timeline
Symbol 120 ButtonUses:105 106 107Used by:Timeline
Symbol 121 GraphicUsed by:Timeline
Symbol 122 ShapeTweeningUsed by:Timeline
Symbol 123 SoundUsed by:Timeline
Symbol 124 GraphicUsed by:Timeline
Symbol 125 ShapeTweeningUsed by:126
Symbol 126 MovieClipUses:125 25Used by:Timeline
Symbol 127 GraphicUsed by:Timeline
Symbol 128 GraphicUsed by:Timeline
Symbol 129 GraphicUsed by:Timeline
Symbol 130 GraphicUsed by:Timeline
Symbol 131 GraphicUsed by:Timeline
Symbol 132 GraphicUsed by:Timeline
Symbol 133 GraphicUsed by:Timeline
Symbol 134 ShapeTweeningUsed by:Timeline
Symbol 135 ShapeTweeningUsed by:Timeline
Symbol 136 ShapeTweeningUsed by:Timeline
Symbol 137 ShapeTweeningUsed by:Timeline
Symbol 138 ShapeTweeningUsed by:Timeline
Symbol 139 GraphicUsed by:Timeline
Symbol 140 ShapeTweeningUsed by:Timeline
Symbol 141 GraphicUsed by:Timeline
Symbol 142 TextUses:4Used by:143
Symbol 143 MovieClipUses:142Used by:Timeline
Symbol 144 TextUses:4Used by:146
Symbol 145 TextUses:4Used by:146
Symbol 146 ButtonUses:144 145 2Used by:Timeline

Instance Names

"enemy1"Frame 522Symbol 69 MovieClip
"enemy2"Frame 522Symbol 69 MovieClip
"enemy3"Frame 522Symbol 69 MovieClip
"character"Frame 522Symbol 84 MovieClip
"cam"Frame 522Symbol 57 MovieClip
"gray_screen"Frame 522Symbol 87 MovieClip
"bg"Frame 522Symbol 101 MovieClip
"cam"Frame 523Symbol 57 MovieClip
"enemy10"Frame 628Symbol 69 MovieClip
"enemy6"Frame 628Symbol 69 MovieClip
"enemy7"Frame 628Symbol 69 MovieClip
"enemy8"Frame 628Symbol 69 MovieClip
"enemy9"Frame 628Symbol 69 MovieClip
"enemy11"Frame 628Symbol 69 MovieClip
"enemy12"Frame 628Symbol 69 MovieClip
"enemy13"Frame 628Symbol 69 MovieClip
"character"Frame 628Symbol 84 MovieClip
"cam"Frame 628Symbol 57 MovieClip
"gray_screen"Frame 628Symbol 87 MovieClip
"bg"Frame 628Symbol 101 MovieClip
"enemy13"Frame 734Symbol 69 MovieClip
"enemy14"Frame 734Symbol 69 MovieClip
"enemy15"Frame 734Symbol 69 MovieClip
"enemy16"Frame 734Symbol 69 MovieClip
"character"Frame 734Symbol 84 MovieClip
"cam"Frame 734Symbol 57 MovieClip
"gray_screen"Frame 734Symbol 87 MovieClip
"bg"Frame 734Symbol 101 MovieClip
"cam"Frame 735Symbol 57 MovieClip
"cam"Frame 785Symbol 57 MovieClip
"enemy17"Frame 840Symbol 69 MovieClip
"enemy18"Frame 840Symbol 69 MovieClip
"enemy19"Frame 840Symbol 69 MovieClip
"enemy20"Frame 840Symbol 69 MovieClip
"enemy21"Frame 840Symbol 69 MovieClip
"enemy22"Frame 840Symbol 69 MovieClip
"character"Frame 840Symbol 84 MovieClip
"cam"Frame 840Symbol 57 MovieClip
"gray_screen"Frame 840Symbol 87 MovieClip
"bg"Frame 840Symbol 101 MovieClip
"cam"Frame 891Symbol 57 MovieClip
"enemy30"Frame 946Symbol 69 MovieClip
"enemy31"Frame 946Symbol 69 MovieClip
"enemy32"Frame 946Symbol 69 MovieClip
"enemy34"Frame 946Symbol 69 MovieClip
"enemy36"Frame 946Symbol 69 MovieClip
"character"Frame 946Symbol 84 MovieClip
"cam"Frame 946Symbol 57 MovieClip
"gray_screen"Frame 946Symbol 87 MovieClip
"bg"Frame 946Symbol 101 MovieClip
"cam"Frame 948Symbol 57 MovieClip
"sword"Symbol 78 MovieClip Frame 1Symbol 77 MovieClip
"sword"Symbol 79 MovieClip Frame 1Symbol 77 MovieClip
"body"Symbol 84 MovieClip Frame 1Symbol 70 MovieClip
"crouch_left"Symbol 84 MovieClip Frame 7Symbol 73 MovieClip
"crouch_right"Symbol 84 MovieClip Frame 8Symbol 75 MovieClip
"attack_right"Symbol 84 MovieClip Frame 9Symbol 78 MovieClip
"attack_left"Symbol 84 MovieClip Frame 10Symbol 79 MovieClip
"healthbar"Symbol 101 MovieClip Frame 1Symbol 100 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$az$Xx98Sb/dSx.KM9oCD8fRl.."
ExportAssets (56)Timeline Frame 1Symbol 1 as "intro"
ExportAssets (56)Timeline Frame 1Symbol 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




http://swfchan.com/14/66473/info.shtml
Created: 12/4 -2019 01:10:40 Last modified: 12/4 -2019 01:10:40 Server time: 15/05 -2024 10:55:02