Frame 1
stop();
Instance of Symbol 18 MovieClip "preloader" in Frame 1
onClipEvent (load) {
if (_root.getBytesTotal() < 1000) {
unidade = "bytes";
total = Math.floor(_root.getBytesTotal()) + unidade;
} else if (1000000 < _root.getBytesTotal()) {
unidade = "mb";
total = Math.floor(_root.getBytesTotal() / 1000000) + unidade;
} else {
unidade = "kb";
total = Math.floor(_root.getBytesTotal() / 1000) + unidade;
}
}
onClipEvent (enterFrame) {
percent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
if (unidade == "bytes") {
progress_flecha.flecha = Math.floor(_root.getBytesLoaded()) + "bytes";
} else if (unidade == "mb") {
resultat = _root.getBytesLoaded() / 1000000;
resultat = Math.round(resultat * 100);
resultat = resultat / 100;
progress_flecha.flecha = resultat + "mb";
} else {
progress_flecha.flecha = Math.floor(_root.getBytesLoaded() / 1000) + "kb";
}
}
onClipEvent (enterFrame) {
if (percent == "100%") {
_root.gotoAndPlay(2);
}
}
Frame 58
stop();
stop();
_root.empate._visible = false;
_root.cenarios_._visible = false;
Frame 59
stop();
_root.cenarios_._visible = true;
Instance of Symbol 83 MovieClip "ko" in Frame 59
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 255 MovieClip "player" in Frame 59
onClipEvent (load) {
me = 1;
you = 2;
me_d = 3;
you_d = 4;
_root.attack = new Array();
_root.kill = new Array();
_root.kill[1] = false;
_root.kill[2] = false;
stop();
punch = 83;
kick = 68;
def = 65;
right = 39;
left = 37;
down = 40;
up = 38;
ready = true;
punch_ready = true;
kick_ready = true;
}
onClipEvent (enterFrame) {
if (_root.kill[2] == true) {
ready = false;
gotoAndStop (60);
_root.win._visible = true;
_root.cenarios_.gotoAndStop(6);
_root.timer.stop();
}
if (_x < _root.enemy._x) {
_xscale = 100;
} else {
_xscale = -100;
}
if ((Key.isDown(down) && (ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
ready = false;
gotoAndStop (6);
}
if ((((Key.isDown(right) && (_xscale == 100)) || (Key.isDown(left) && (_xscale == -100))) && (ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
gotoAndStop (3);
}
if ((((Key.isDown(left) && (Key.isDown(right))) && (Key.isDown(punch))) && (punch_ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
punch_ready = false;
gotoAndStop (10);
}
if (((((Key.isDown(def) && ((Key.isDown(left) && (_xscale == 100)) || (Key.isDown(right) && (_xscale == -100)))) && (Key.isDown(punch))) && (punch_ready == true)) && (((_currentframe == 1) || (_currentframe == 3)) || (_currentframe == 30))) && ((Key.isDown(left) && (_xscale == 100)) || (Key.isDown(right) && (_xscale == -100)))) {
punch_ready = false;
gotoAndStop (12);
}
if (((((Key.isDown(def) && ((Key.isDown(left) && (_xscale == 100)) || (Key.isDown(right) && (_xscale == -100)))) && (Key.isDown(kick))) && (kick_ready == true)) && (((_currentframe == 1) || (_currentframe == 3)) || (_currentframe == 30))) && ((Key.isDown(left) && (_xscale == 100)) || (Key.isDown(right) && (_xscale == -100)))) {
kick_ready = false;
gotoAndStop (15);
}
if (((Key.isDown(up) && (Key.isDown(punch))) && (punch_ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
punch_ready = false;
gotoAndStop (7);
}
if (((Key.isDown(up) && (Key.isDown(kick))) && (kick_ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
kick_ready = false;
gotoAndStop (13);
}
if (((((Key.isDown(left) && (_xscale == 100)) || (Key.isDown(right) && (_xscale == -100))) && (Key.isDown(punch))) && (punch_ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
punch_ready = false;
gotoAndStop (9);
}
if (((((Key.isDown(left) && (_xscale == 100)) || (Key.isDown(right) && (_xscale == -100))) && (Key.isDown(kick))) && (kick_ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
kick_ready = false;
gotoAndStop (14);
}
if ((((Key.isDown(def) && (Key.isDown(punch))) && (punch_ready == true)) && ((_currentframe == 3) || (_currentframe == 30))) && ((Key.isDown(left) && (_xscale == -100)) || (Key.isDown(right) && (_xscale == 100)))) {
punch_ready = false;
gotoAndStop (11);
}
if ((Key.isDown(punch) && (punch_ready == true)) && (_currentframe == 3)) {
punch_ready = false;
gotoAndStop (8);
}
if ((Key.isDown(kick) && (kick_ready == true)) && (_currentframe == 3)) {
kick_ready = false;
gotoAndStop (16);
}
if ((Key.isDown(punch) && (punch_ready == true)) && (_currentframe == 1)) {
punch_ready = false;
gotoAndStop (4);
}
if ((Key.isDown(kick) && (kick_ready == true)) && (_currentframe == 1)) {
kick_ready = false;
gotoAndStop (5);
}
if ((((((Key.isDown(left) && (_xscale == 100)) || (Key.isDown(right) && (_xscale == -100))) && (ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) && (punch_ready == true)) && (kick_ready == true)) {
gotoAndStop (2);
}
if (((Key.isDown(def) && (kick_ready == true)) && (punch_ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
gotoAndStop (30);
}
if (((Key.isDown(up) && (kick_ready == true)) && (punch_ready == true)) && ((_currentframe == 1) || (_currentframe == 3))) {
gotoAndStop (17);
}
if ((_currentframe == 30) && (!Key.isDown(def))) {
gotoAndStop (1);
}
if (!Key.isDown(punch)) {
punch_ready = true;
}
if (!Key.isDown(kick)) {
kick_ready = true;
}
}
Instance of Symbol 256 MovieClip "enemy" in Frame 59
onClipEvent (load) {
_xscale = -100;
me = 2;
you = 1;
me_d = 4;
you_d = 3;
stop();
punch = 83;
kick = 68;
def = 65;
right = 39;
left = 37;
down = 40;
up = 38;
ready = true;
punch_ready = true;
kick_ready = true;
}
onClipEvent (enterFrame) {
if (_root.kill[1] == true) {
ready = false;
gotoAndStop (60);
_root.lose._visible = true;
_root.lose.play();
_root.timer.stop();
}
if (_x < _root.player._x) {
_xscale = 100;
} else {
_xscale = -100;
}
if ((180 < Math.abs(_x - _root.player._x)) && (_currentframe == 1)) {
gotoAndStop (2);
if (300 < Math.abs(_x - _root.player._x)) {
charge = random(40);
if (charge == 30) {
gotoAndStop (9);
}
}
} else if ((Math.abs(_x - _root.player._x) < 135) && (_currentframe == 1)) {
gotoAndStop (3);
} else if (_currentframe == 1) {
attack = random(19);
if (attack == 0) {
gotoAndStop (12);
}
if ((attack == 1) || (attack == 19)) {
gotoAndStop (15);
}
if ((attack == 2) || (attack == 13)) {
gotoAndStop (7);
}
if ((attack == 3) || (attack == 14)) {
gotoAndStop (13);
}
if (attack == 4) {
gotoAndStop (9);
}
if ((attack == 5) || (attack == 15)) {
gotoAndStop (14);
}
if (attack == 6) {
gotoAndStop (11);
}
if (attack == 7) {
gotoAndStop (8);
}
if ((attack == 8) || (attack == 16)) {
gotoAndStop (16);
}
if ((attack == 9) || (attack == 17)) {
gotoAndStop (4);
}
if ((attack == 10) || (attack == 18)) {
gotoAndStop (5);
}
if (attack == 11) {
gotoAndStop (10);
}
if (attack == 12) {
gotoAndStop (17);
}
defesa = random(10);
player_status = _root.player._currentframe;
if (Key.isDown(kick) || (Key.isDown(punch))) {
gotoAndStop (30);
}
}
}
Instance of Symbol 269 MovieClip "win" in Frame 59
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 272 MovieClip "lose" in Frame 59
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 274 MovieClip "empate" in Frame 59
/* no clip actions */
Frame 60
gotoAndStop (59);
_root.score._visible = true;
_root.loop.gotoAndPlay(5);
_root.cenarios_._visible = false;
if (_root.cenarios.cenario == 1) {
_root.cenarios_.gotoAndStop(2);
_root.cenarios.gotoAndStop(2);
}
if (_root.cenarios.cenario == 2) {
_root.cenarios_.gotoAndStop(3);
_root.cenarios.gotoAndStop(3);
}
if (_root.cenarios.cenario == 3) {
_root.cenarios_.gotoAndStop(4);
_root.cenarios.gotoAndStop(4);
}
if (_root.cenarios.cenario == 4) {
_root.cenarios_.gotoAndStop(5);
_root.cenarios.gotoAndStop(5);
}
if (_root.cenarios.cenario == 5) {
_root.cenarios_.gotoAndStop(1);
_root.cenarios.gotoAndStop(1);
}
Frame 61
_root.score._visible = false;
Instance of Symbol 10 MovieClip "progress_bar" in Symbol 18 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Instance of Symbol 13 MovieClip "progress_flecha" in Symbol 18 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Symbol 19 MovieClip Frame 1
stop();
cenario = 1;
Symbol 19 MovieClip Frame 2
stop();
cenario = 2;
Symbol 19 MovieClip Frame 3
stop();
cenario = 3;
Symbol 19 MovieClip Frame 4
stop();
cenario = 4;
Symbol 19 MovieClip Frame 5
stop();
cenario = 5;
Symbol 33 MovieClip Frame 20
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 3
stop();
Symbol 46 MovieClip Frame 4
stop();
Symbol 46 MovieClip Frame 5
stop();
Symbol 55 Button
on (release) {
play();
stopAllSounds();
}
Symbol 62 Button
on (release) {
toggleHighQuality();
}
Symbol 69 Button
on (release) {
getURL ("http://www.sguerra.com.br/tkd", "_blank");
}
Symbol 74 Button
on (release) {
getURL ("http://www.sguerra.com.br/tkd/howtoplay.htm", "_blank");
}
Symbol 80 MovieClip Frame 30
stop();
Symbol 82 MovieClip Frame 30
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 1
play();
seg = 90;
Symbol 87 MovieClip Frame 2
seg = Number(seg) - 1;
if (seg == 0) {
_root.timer.time_over.play();
_root.player.gotoAndStop(61);
_root.enemy.gotoAndStop(61);
_root.score.gotoAndPlay("score_show");
stop();
}
Symbol 87 MovieClip Frame 3
ms = 1;
Symbol 87 MovieClip Frame 4
ms = 2;
Symbol 87 MovieClip Frame 5
ms = 3;
Symbol 87 MovieClip Frame 6
ms = 4;
Symbol 87 MovieClip Frame 7
ms = 5;
Symbol 87 MovieClip Frame 8
ms = 6;
Symbol 87 MovieClip Frame 9
ms = 7;
Symbol 87 MovieClip Frame 10
ms = 8;
Symbol 87 MovieClip Frame 11
ms = 9;
gotoAndPlay (2);
Instance of Symbol 89 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 91 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you_d])) {
_parent._parent.gotoAndStop(46);
}
}
Instance of Symbol 93 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(62);
}
}
Instance of Symbol 95 MovieClip in Symbol 102 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 96 MovieClip in Symbol 102 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you_d])) {
_parent._parent.gotoAndStop(46);
}
}
Instance of Symbol 98 MovieClip in Symbol 102 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(63);
}
}
Instance of Symbol 100 MovieClip in Symbol 102 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(62);
}
}
Instance of Symbol 95 MovieClip in Symbol 111 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 111 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 91 MovieClip in Symbol 111 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you_d])) {
_parent._parent.gotoAndStop(46);
}
}
Instance of Symbol 96 MovieClip in Symbol 111 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you_d])) {
_parent._parent.gotoAndStop(46);
}
}
Instance of Symbol 95 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 91 MovieClip in Symbol 112 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you_d])) {
_parent._parent.gotoAndStop(46);
}
}
Instance of Symbol 96 MovieClip in Symbol 112 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you_d])) {
_parent._parent.gotoAndStop(46);
}
}
Instance of Symbol 114 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Instance of Symbol 95 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Symbol 118 MovieClip Frame 5
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 122 MovieClip in Symbol 124 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 124 MovieClip Frame 7
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 125 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 126 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(41);
}
}
Symbol 128 MovieClip Frame 2
_parent.ready = true;
_parent.gotoAndStop(2);
Instance of Symbol 126 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 125 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 126 MovieClip in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 125 MovieClip in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 132 MovieClip in Symbol 134 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent._parent.me] = (((((("_root." + _parent._parent._parent._name) + ".") + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 134 MovieClip Frame 6
_parent.ready = true;
_parent.gotoAndStop(2);
Instance of Symbol 126 MovieClip in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 125 MovieClip in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 132 MovieClip in Symbol 138 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent._parent.me] = (((((("_root." + _parent._parent._parent._name) + ".") + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 138 MovieClip Frame 4
_parent.ready = true;
_parent.gotoAndStop(2);
Instance of Symbol 126 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 125 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(40);
}
}
Symbol 139 MovieClip Frame 2
_parent._parent.ready = true;
_parent._parent.gotoAndStop(1);
Instance of Symbol 140 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_parent._parent._parent.gotoAndStop(42);
}
}
Instance of Symbol 142 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_root.swordclang.start();
}
}
Instance of Symbol 95 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Symbol 153 MovieClip Frame 2
_parent._x = _parent._x + ((10 * _parent._xscale) / 100);
Symbol 153 MovieClip Frame 3
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
Instance of Symbol 114 MovieClip in Symbol 153 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 153 MovieClip Frame 4
_parent._x = _parent._x + ((30 * _parent._xscale) / 100);
Symbol 153 MovieClip Frame 5
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Instance of Symbol 114 MovieClip in Symbol 153 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 153 MovieClip Frame 6
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 153 MovieClip Frame 7
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 153 MovieClip Frame 8
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 114 MovieClip in Symbol 157 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 157 MovieClip Frame 5
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 114 MovieClip in Symbol 160 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 160 MovieClip Frame 4
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 169 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 169 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 114 MovieClip in Symbol 169 MovieClip Frame 4
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 169 MovieClip Frame 6
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 169 MovieClip Frame 7
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Instance of Symbol 114 MovieClip in Symbol 169 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Instance of Symbol 167 MovieClip in Symbol 169 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me_d] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 169 MovieClip Frame 11
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 177 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Symbol 177 MovieClip Frame 4
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 177 MovieClip Frame 5
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 177 MovieClip Frame 6
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 177 MovieClip Frame 7
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 177 MovieClip Frame 8
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Instance of Symbol 114 MovieClip in Symbol 177 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Instance of Symbol 167 MovieClip in Symbol 177 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me_d] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 177 MovieClip Frame 9
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 177 MovieClip Frame 10
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 177 MovieClip Frame 11
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 177 MovieClip Frame 13
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Symbol 184 MovieClip Frame 2
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 184 MovieClip Frame 3
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 184 MovieClip Frame 4
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 184 MovieClip Frame 5
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 184 MovieClip Frame 6
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 184 MovieClip Frame 7
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 184 MovieClip Frame 8
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
Instance of Symbol 114 MovieClip in Symbol 184 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Instance of Symbol 167 MovieClip in Symbol 184 MovieClip Frame 8
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me_d] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 184 MovieClip Frame 13
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Symbol 192 MovieClip Frame 2
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 192 MovieClip Frame 3
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 192 MovieClip Frame 4
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 192 MovieClip Frame 5
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Instance of Symbol 114 MovieClip in Symbol 192 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 192 MovieClip Frame 6
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 192 MovieClip Frame 7
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 192 MovieClip Frame 8
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
Symbol 192 MovieClip Frame 10
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 114 MovieClip in Symbol 196 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 196 MovieClip Frame 7
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 90 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 114 MovieClip in Symbol 200 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Instance of Symbol 95 MovieClip in Symbol 200 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Symbol 200 MovieClip Frame 6
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 114 MovieClip in Symbol 205 MovieClip Frame 3
onClipEvent (load) {
_visible = false;
_root.attack[_parent._parent.me] = (((("_root." + _parent._parent._name) + ".") + _parent._name) + ".") + _name;
}
Symbol 205 MovieClip Frame 4
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 205 MovieClip Frame 5
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 205 MovieClip Frame 6
_parent._x = _parent._x + ((25 * _parent._xscale) / 100);
Symbol 205 MovieClip Frame 8
_parent.ready = true;
_parent.gotoAndStop(1);
Instance of Symbol 95 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(41);
}
}
Instance of Symbol 90 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Symbol 206 MovieClip Frame 2
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 206 MovieClip Frame 3
_parent._x = _parent._x + ((15 * _parent._xscale) / 100);
Symbol 206 MovieClip Frame 5
_parent.ready = true;
_parent.gotoAndStop(1);
Symbol 208 MovieClip Frame 1
stop();
if (_parent._name == "enemy") {
play();
}
Instance of Symbol 90 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent.you])) {
_parent._parent.gotoAndStop(40);
}
}
Instance of Symbol 142 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.attack[_parent._parent._parent.you])) {
_root.swordclang.start();
}
}
Symbol 208 MovieClip Frame 7
_parent.ready = true;
_parent.gotoAndStop(1);
Symbol 215 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 218 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 220 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 230 MovieClip Frame 2
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 3
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 4
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 5
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 6
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 7
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 8
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 9
_parent._x = _parent._x + ((-5 * _parent._xscale) / 100);
_root.kill[_parent.me] = true;
Symbol 230 MovieClip Frame 10
_parent._x = _parent._x + ((-5 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 11
_parent._x = _parent._x + ((-5 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 12
_parent._x = _parent._x + ((-5 * _parent._xscale) / 100);
Symbol 230 MovieClip Frame 13
_parent._x = _parent._x + ((-5 * _parent._xscale) / 100);
stop();
Symbol 234 MovieClip Frame 3
stop();
_root.ko._visible = true;
_root.ko.gotoAndStop(2);
Symbol 240 MovieClip Frame 2
_parent._x = _parent._x + ((-15 * _parent._xscale) / 100);
Symbol 240 MovieClip Frame 3
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 240 MovieClip Frame 4
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
Symbol 240 MovieClip Frame 5
_parent._x = _parent._x + ((-25 * _parent._xscale) / 100);
queda = _root.score.fall;
queda_ = _root.score.fall_;
if ((queda == 5) || (queda_ == 5)) {
stop();
}
Symbol 240 MovieClip Frame 25
_parent.gotoAndStop(1);
Symbol 244 MovieClip Frame 5
queda = _root.score.fall;
queda_ = _root.score.fall_;
if ((queda == 5) || (queda_ == 5)) {
stop();
}
Symbol 244 MovieClip Frame 25
_parent.gotoAndStop(1);
Symbol 246 MovieClip Frame 1
stop();
_root.ko._visible = true;
_root.ko.gotoAndStop(2);
Symbol 254 MovieClip Frame 14
stop();
_root.ko._visible = true;
_root.ko.gotoAndStop(2);
Instance of Symbol 106 MovieClip "tri_azul" in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name == "enemy") {
_visible = false;
}
}
Instance of Symbol 110 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name == "player") {
_visible = false;
}
}
Instance of Symbol 111 MovieClip in Symbol 255 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._name == "player") {
if (!((_parent._x < 60) || (590 < _parent._x))) {
if (!((Key.isDown(_parent.right) && (_parent._xscale == -100)) || (Key.isDown(_parent.left) && (_parent._xscale == 100)))) {
_parent._x = _parent._x - ((30 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
} else {
if (590 < _parent._x) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
if (_parent._x < 60) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
if (_parent._name == "enemy") {
count = 0;
}
}
onClipEvent (enterFrame) {
if (_parent._name == "enemy") {
count = count + 1;
if (count == 4) {
if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else {
if (_parent._x < 60) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
if (580 < _parent._x) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
} else if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
if (_parent._x < 60) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
if (580 < _parent._x) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
}
Instance of Symbol 112 MovieClip in Symbol 255 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent._name == "player") {
if (!((_parent._x < 60) || (580 < _parent._x))) {
if (!((Key.isDown(_parent.right) && (_parent._xscale == 100)) || (Key.isDown(_parent.left) && (_parent._xscale == -100)))) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
} else {
if (580 < _parent._x) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent.xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
if (_parent._x < 60) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
if (_parent._name == "enemy") {
count = 0;
}
}
onClipEvent (enterFrame) {
if (_parent._name == "enemy") {
count = count + 1;
if (count == 4) {
if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x - ((30 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else if (_parent._x < 60) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
} else if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x - ((30 * _parent._xscale) / 100);
} else if (580 < _parent._x) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 145 MovieClip in Symbol 255 MovieClip Frame 6
onClipEvent (load) {
stop();
ready = false;
punch_ready = true;
kick_ready = true;
}
onClipEvent (enterFrame) {
if ((!Key.isDown(_parent.down)) && (ready == true)) {
ready = false;
gotoAndStop (5);
}
if ((Key.isDown(_parent.punch) && (punch_ready == true)) && (_currentframe == 2)) {
ready = false;
punch_ready = false;
gotoAndStop (3);
}
if (((Key.isDown(_parent.kick) && (ready == true)) && (kick_ready == true)) && (_currentframe == 2)) {
ready = false;
kick_ready = false;
gotoAndStop (4);
}
if (((Key.isDown(_parent.def) && (ready == true)) && (kick_ready == true)) && (punch_ready == true)) {
gotoAndStop (6);
}
if ((_currentframe == 6) && (!Key.isDown(_parent.def))) {
gotoAndStop (2);
}
if (!Key.isDown(_parent.punch)) {
punch_ready = true;
}
if (!Key.isDown(_parent.kick)) {
kick_ready = true;
}
}
Instance of Symbol 169 MovieClip in Symbol 255 MovieClip Frame 10
onClipEvent (enterFrame) {
_parent._x = _parent._x + ((18 * _parent._xscale) / 100);
}
Instance of Symbol 215 MovieClip in Symbol 255 MovieClip Frame 40
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("rosto");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("rosto_");
}
}
Instance of Symbol 218 MovieClip in Symbol 255 MovieClip Frame 41
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("barriga");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("barriga_");
}
}
Instance of Symbol 230 MovieClip in Symbol 255 MovieClip Frame 46
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("ko");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("ko_");
}
}
Instance of Symbol 240 MovieClip "caiu" in Symbol 255 MovieClip Frame 62
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("derruba");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("derruba_");
}
}
Instance of Symbol 244 MovieClip "caiu" in Symbol 255 MovieClip Frame 63
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("derruba");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("derruba_");
}
}
Instance of Symbol 106 MovieClip "tri_azul" in Symbol 256 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name == "enemy") {
_visible = false;
}
}
Instance of Symbol 110 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) {
if (_parent._name == "player") {
_visible = false;
}
}
Instance of Symbol 111 MovieClip in Symbol 256 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent._name == "player") {
if (!((_parent._x < 60) || (590 < _parent._x))) {
if (!((Key.isDown(_parent.right) && (_parent._xscale == -100)) || (Key.isDown(_parent.left) && (_parent._xscale == 100)))) {
_parent._x = _parent._x - ((30 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
} else {
if (590 < _parent._x) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
if (_parent._x < 60) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
if (_parent._name == "enemy") {
count = 0;
}
}
onClipEvent (enterFrame) {
if (_parent._name == "enemy") {
count = count + 1;
if (count == 4) {
if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else {
if (_parent._x < 60) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
if (580 < _parent._x) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
} else if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
if (_parent._x < 60) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
if (580 < _parent._x) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
}
Instance of Symbol 112 MovieClip in Symbol 256 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent._name == "player") {
if (!((_parent._x < 60) || (580 < _parent._x))) {
if (!((Key.isDown(_parent.right) && (_parent._xscale == 100)) || (Key.isDown(_parent.left) && (_parent._xscale == -100)))) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
} else {
if (580 < _parent._x) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent.xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
if (_parent._x < 60) {
if (!(Key.isDown(_parent.right) || (Key.isDown(_parent.left)))) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (load) {
if (_parent._name == "enemy") {
count = 0;
}
}
onClipEvent (enterFrame) {
if (_parent._name == "enemy") {
count = count + 1;
if (count == 4) {
if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x - ((30 * _parent._xscale) / 100);
_parent.ready = true;
_parent.gotoAndStop(1);
} else if (_parent._x < 60) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
} else if (!((_parent._x < 60) || (580 < _parent._x))) {
_parent._x = _parent._x - ((30 * _parent._xscale) / 100);
} else if (580 < _parent._x) {
if (_parent._xscale == -100) {
_parent._x = _parent._x + ((20 * _parent._xscale) / 100);
} else {
_parent._x = _parent._x - ((20 * _parent._xscale) / 100);
}
_parent.ready = true;
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 145 MovieClip in Symbol 256 MovieClip Frame 6
onClipEvent (load) {
stop();
ready = false;
punch_ready = true;
kick_ready = true;
}
onClipEvent (enterFrame) {
if ((!Key.isDown(_parent.down)) && (ready == true)) {
ready = false;
gotoAndStop (5);
}
if ((Key.isDown(_parent.punch) && (punch_ready == true)) && (_currentframe == 2)) {
ready = false;
punch_ready = false;
gotoAndStop (3);
}
if (((Key.isDown(_parent.kick) && (ready == true)) && (kick_ready == true)) && (_currentframe == 2)) {
ready = false;
kick_ready = false;
gotoAndStop (4);
}
if (((Key.isDown(_parent.def) && (ready == true)) && (kick_ready == true)) && (punch_ready == true)) {
gotoAndStop (6);
}
if ((_currentframe == 6) && (!Key.isDown(_parent.def))) {
gotoAndStop (2);
}
if (!Key.isDown(_parent.punch)) {
punch_ready = true;
}
if (!Key.isDown(_parent.kick)) {
kick_ready = true;
}
}
Instance of Symbol 169 MovieClip in Symbol 256 MovieClip Frame 10
onClipEvent (enterFrame) {
_parent._x = _parent._x + ((18 * _parent._xscale) / 100);
}
Instance of Symbol 215 MovieClip in Symbol 256 MovieClip Frame 40
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("rosto");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("rosto_");
}
}
Instance of Symbol 218 MovieClip in Symbol 256 MovieClip Frame 41
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("barriga");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("barriga_");
}
}
Instance of Symbol 230 MovieClip in Symbol 256 MovieClip Frame 46
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("ko");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("ko_");
}
}
Instance of Symbol 240 MovieClip "caiu" in Symbol 256 MovieClip Frame 62
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("derruba");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("derruba_");
}
}
Instance of Symbol 244 MovieClip "caiu" in Symbol 256 MovieClip Frame 63
onClipEvent (load) {
if (_parent._name == "enemy") {
_root.score.gotoAndStop("derruba");
}
if (_parent._name == "player") {
_root.score.gotoAndStop("derruba_");
}
}
Symbol 266 Button
on (release) {
_root.score.gotoAndPlay("zerar_memory");
_root.gotoAndPlay(60);
}
Symbol 268 MovieClip Frame 30
stop();
cenario = cenario + 1;
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 45
stop();
_root.gotoAndStop(61);
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 45
stop();
_root.gotoAndStop(61);
Symbol 276 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 1
vlscore = 0;
Symbol 289 MovieClip Frame 2
vlmemory = 0;
vlcomputer = 0;
fall = 0;
fall_ = 0;
Symbol 289 MovieClip Frame 3
stop();
Symbol 289 MovieClip Frame 4
vlmemory = vlmemory + 1;
gotoAndStop (3);
Symbol 289 MovieClip Frame 5
vlmemory = vlmemory + 1;
gotoAndStop (3);
Symbol 289 MovieClip Frame 6
vlmemory = vlmemory + 3;
fall = fall + 1;
if (4 < fall) {
gotoAndStop (8);
} else {
gotoAndStop (3);
}
Symbol 289 MovieClip Frame 7
if (70 < _root.timer.seg) {
vlmemory = vlmemory + 14;
}
if ((60 < _root.timer.seg) && (seg < 70)) {
vlmemory = vlmemory + 13;
}
if ((50 < _root.timer.seg) && (seg < 60)) {
vlmemory = vlmemory + 12;
}
if ((40 < _root.timer.seg) && (seg < 50)) {
vlmemory = vlmemory + 11;
}
if ((30 < _root.timer.seg) && (seg < 40)) {
vlmemory = vlmemory + 10;
}
if ((20 < _root.timer.seg) && (seg < 30)) {
vlmemory = vlmemory + 9;
}
if ((10 < _root.timer.seg) && (seg < 20)) {
vlmemory = vlmemory + 8;
}
if (_root.timer.seg < 10) {
vlmemory = vlmemory + 7;
}
gotoAndStop (13);
Symbol 289 MovieClip Frame 8
vlscore = vlscore + (vlmemory * 10);
if ((fall_ < 5) && (4 >= fall)) {
if (vlcomputer < vlmemory) {
_root.win._visible = true;
_root.cenarios_.gotoAndStop(6);
_root.player.gotoAndStop(60);
_root.enemy.gotoAndStop(67);
}
}
if ((fall < 5) && (4 >= fall_)) {
if (vlmemory < vlcomputer) {
_root.lose._visible = true;
_root.lose.play();
_root.player.gotoAndStop(67);
_root.enemy.gotoAndStop(60);
}
}
if (vlmemory == vlcomputer) {
_root.empate._visible = true;
_root.empate.play();
_root.player.gotoAndStop(67);
_root.enemy.gotoAndStop(60);
}
if (4 < fall_) {
_root.lose._visible = true;
_root.lose.play();
_root.enemy.gotoAndStop(60);
_root.timer.stop();
}
if (4 < fall) {
_root.win._visible = true;
_root.cenarios_.gotoAndStop(6);
_root.timer.stop();
_root.player.gotoAndStop(60);
}
Symbol 289 MovieClip Frame 9
vlcomputer = vlcomputer + 1;
gotoAndStop (3);
Symbol 289 MovieClip Frame 10
vlcomputer = vlcomputer + 1;
gotoAndStop (3);
Symbol 289 MovieClip Frame 11
vlcomputer = vlcomputer + 3;
fall_ = fall_ + 1;
if (4 < fall_) {
gotoAndStop (8);
} else {
gotoAndStop (3);
}
Symbol 289 MovieClip Frame 12
Symbol 289 MovieClip Frame 13
vlscore = vlscore + (vlmemory * 10);
Symbol 296 Button
on (release) {
gotoAndStop (31);
}
Symbol 303 Button
on (release) {
getURL ("http://www.sguerra.com.br/tkd/score.asp", "", "GET");
}
on (release) {
gotoAndStop (30);
}
Symbol 306 MovieClip Frame 30
stop();
Symbol 306 MovieClip Frame 31
score = _root.score.vlscore;