Frame 4
tb = getBytesTotal();
lb = getBytesLoaded();
v = int((lb / tb) * 100);
_preloader.bar._xscale = v;
_preloader._pretxtPercent.text = v + "%";
if (lb < tb) {
gotoAndPlay(_currentframe - 1);
} else {
play();
}
Frame 15
menu_cm = new ContextMenu();
menu_cm.builtInItems.forward_back = false;
menu_cm.builtInItems.loop = false;
menu_cm.builtInItems.play = false;
menu_cm.builtInItems.print = false;
menu_cm.builtInItems.quality = false;
menu_cm.builtInItems.rewind = false;
menu_cm.builtInItems.zoom = false;
_root.menu = menu_cm;
Frame 16
trace(Math.floor(_root.getBytesLoaded()));
_root.per_txt.text = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
this.gotoAndPlay(this._currentframe - 1);
} else {
stop();
}
Frame 17
stop();
menu_cm = new ContextMenu();
menu_cm.builtInItems.forward_back = false;
menu_cm.builtInItems.loop = false;
menu_cm.builtInItems.play = false;
menu_cm.builtInItems.print = false;
menu_cm.builtInItems.quality = false;
menu_cm.builtInItems.rewind = false;
menu_cm.builtInItems.zoom = false;
_root.menu = menu_cm;
LEVEL = 1;
firstput = true;
my_sound = new Sound();
my_sound.attachSound("swing");
my_sound2 = new Sound();
my_sound2.attachSound("swing2");
my_sound3 = new Sound();
my_sound3.attachSound("hit2");
my_sound4 = new Sound();
my_sound4.attachSound("levelup");
my_music = new Sound();
my_music.attachSound("music2");
my_music.start(0, 99999);
this.wire._y = _root.player_mc._y;
this.wire._x = _root.player_mc._x;
firsthit = true;
fx = _root.player_mc._x;
g = 9.8;
dt = 0.01;
v = 0;
gvy = 0;
tmpy = 0;
meter = 0;
rad = 30;
rot = 0;
rota = 5;
posx = 200;
posy = 150;
uspeed = 30;
gameover = false;
myListener = new Object();
keyListener = new Object();
myListener.onMouseDown = function () {
if (gameover == false) {
my_sound.start();
}
nobiru = true;
hanasu = false;
};
myListener.onMouseUp = function () {
nobiru = false;
hanasu = true;
firstput = true;
};
Mouse.addListener(myListener);
Key.addListener(keyListener);
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.player_mc.hitTest(_local2.jimen_mc) == false) {
_local2.jimen_mc._x = -1000;
}
var __reg3 = (_local2._xmouse - _local2.player_mc._x);
var _local3 = _local2._ymouse - _local2.player_mc._y;
nDegrees = (Math.atan2(_local3, __reg3) * 180) / 3.14159;
xuspeed = uspeed * Math.cos((nDegrees * 3.14159) / 180);
yuspeed = uspeed * Math.sin((nDegrees * 3.14159) / 180);
rad = Math.atan2(_local3, __reg3);
if (nobiru == true) {
if (((_local1.wire.hitTest(_local2.tenjou_mc) == false) & (_local1.wire.hitTest(_local2.tenjou2_mc) == false)) & (_local1.wire.hitTest(_local2.tenjou3_mc) == false)) {
if (_local1.player_mc._y > (_local2.tenjou_mc._y + 21)) {
if (_local1.wire._y > -40) {
if (firstput == true) {
if (firstlong == true) {
trace(firstput);
firstlong = false;
_local1.wire._y = _local2.player_mc._y;
_local1.wire._x = _local2.player_mc._x;
}
if (_local1.player_mc._y >= _local1.wire._y) {
undershot = false;
_local1.wire._y = _local1.wire._y + yuspeed;
_local1.wire._x = _local1.wire._x + xuspeed;
} else {
undershot = true;
_local1.wire._y = _local2.player_mc._y;
_local1.wire._x = _local2.player_mc._x;
firstput = false;
nobiru == false;
}
} else {
_local1.wire._y = _local2.player_mc._y;
_local1.wire._x = _local2.player_mc._x;
firstput = false;
nobiru == false;
}
} else {
_local1.wire._y = _local2.player_mc._y;
_local1.wire._x = _local2.player_mc._x;
firstput = false;
nobiru == false;
}
} else {
firstput = false;
nobiru == false;
}
} else {
Key.isDown(32) != true;
_local1.wire._y = 20;
nobiru = false;
}
_local1.player_mc._y >= (_local1.wire._y + 3);
}
if (undershot == false) {
if (((_local1.wire.hitTest(_local2.tenjou_mc) == true) || (_local1.wire.hitTest(_local2.tenjou2_mc) == true)) || (_local1.wire.hitTest(_local2.tenjou3_mc) == true)) {
if (_local2.player_mc._y > _local1.wire._y) {
if (firsthit == true) {
v = 0;
firsthit = false;
firstrelease = true;
CenterX = wire._x;
CenterY = wire._y;
temptenjoux = _local1.tenjou_mc._x;
temptenjou2x = _local1.tenjou2_mc._x;
temptenjou3x = _local1.tenjou3_mc._x;
x = -(CenterX - _local2.player_mc._x);
y = CenterY - _local2.player_mc._y;
L = Math.sqrt((x * x) + (y * y));
centermeter = meter - (x / 100);
firstx = x;
}
a = ((-g) * x) / L;
v = v + (a / 2);
x = x + (v / 2);
if ((firstx * x) <= 0) {
my_sound2.start();
firstx = x;
}
tmpy = Math.sqrt((L * L) - (x * x));
ly = tmpy - y;
vy = ly / 2;
y = Math.sqrt((L * L) - (x * x));
_local2.player_mc._x = CenterX + x;
_local2.player_mc._y = CenterY + y;
meter = centermeter + (x / 100);
} else {
_local1.tenjou_mc._x >= 0;
_local1.tenjou2_mc._x >= 0;
}
}
}
if (undershot == true) {
_local1.wire._y = _local2.player_mc._y;
_local1.wire._x = _local2.player_mc._x;
}
if ((((_local1.wire.hitTest(_local2.tenjou_mc) == false) & (_local1.wire.hitTest(_local2.tenjou2_mc) == false)) & (_local1.wire.hitTest(_local2.tenjou3_mc) == false)) || (undershot == true)) {
if (_local2.player_mc.hitTest(_local2.jimen_mc) == false) {
if (firstrelease == true) {
gvy = 3 * vy;
firstrelease = false;
} else {
gvy = gvy + (g / 30);
}
_local2.player_mc._y = _local2.player_mc._y + gvy;
vv = v / 1.5;
if (vv > 0) {
if (_local2.player_mc._x > fx) {
_local1.tenjou3_mc._x = _local1.tenjou3_mc._x - (2 * vv);
_local1.tenjou2_mc._x = _local1.tenjou2_mc._x - (2 * vv);
_local1.tenjou_mc._x = _local1.tenjou_mc._x - (2 * vv);
_local2.jimen_mc._x = _local2.jimen_mc._x - (2 * vv);
_local2.player_mc._x = _local2.player_mc._x - vv;
_local1.needle_mc1._x = _local1.needle_mc1._x - vv;
_local1.needle_mc2._x = _local1.needle_mc2._x - vv;
} else {
_local1.tenjou3_mc._x = _local1.tenjou3_mc._x - vv;
_local1.tenjou2_mc._x = _local1.tenjou2_mc._x - vv;
_local1.tenjou_mc._x = _local1.tenjou_mc._x - vv;
_local2.jimen_mc._x = _local2.jimen_mc._x - vv;
_local1.needle_mc1._x = _local1.needle_mc1._x - vv;
_local1.needle_mc2._x = _local1.needle_mc2._x - vv;
}
meter = meter + 0.1;
} else {
if (_local2.player_mc._x < fx) {
_local2.player_mc._x = _local2.player_mc._x + vv;
} else {
_local2.player_mc._x = _local2.player_mc._x + vv;
}
meter = meter - 0.1;
}
}
!(((Math.round(50 * meter) / 10) > 500) && ((Math.round(50 * meter) / 10) < 1000));
if (_local1.tenjou_mc._x < ((-_local1.tenjou_mc._width) / 2)) {
_local1.tenjou_mc._x = (((_local1.tenjou3_mc._x + 280) + Math.floor(Math.random() * 100)) + 1) - 50;
if (((Math.round(50 * meter) / 10) > 500) && ((Math.round(50 * meter) / 10) < 1000)) {
_local1.tenjou_mc._width = 180;
} else if (((Math.round(50 * meter) / 10) > 1000) && ((Math.round(50 * meter) / 10) < 2000)) {
_local1.tenjou_mc._width = 160;
} else if (((Math.round(50 * meter) / 10) > 2000) && ((Math.round(50 * meter) / 10) < 3000)) {
_local1.tenjou_mc._width = 140;
} else if (((Math.round(50 * meter) / 10) > 3000) && ((Math.round(50 * meter) / 10) < 4000)) {
_local1.tenjou_mc._width = 120;
} else if (((Math.round(50 * meter) / 10) > 4000) && ((Math.round(50 * meter) / 10) < 5000)) {
_local1.tenjou_mc._width = 100;
} else if (((Math.round(50 * meter) / 10) > 5000) && ((Math.round(50 * meter) / 10) < 6000)) {
_local1.tenjou_mc._width = 90;
} else if (((Math.round(50 * meter) / 10) > 6000) && ((Math.round(50 * meter) / 10) < 8000)) {
_local1.tenjou_mc._width = 80;
} else if (((Math.round(50 * meter) / 10) > 8000) && ((Math.round(50 * meter) / 10) < 10000)) {
_local1.tenjou_mc._width = 70;
} else if ((Math.round(50 * meter) / 10) > 10000) {
_local1.tenjou_mc._width = 60;
}
}
if (_local1.tenjou2_mc._x < ((-_local1.tenjou_mc._width) / 2)) {
_local1.tenjou2_mc._x = (((_local1.tenjou_mc._x + 280) + Math.floor(Math.random() * 100)) + 1) - 50;
if (((Math.round(50 * meter) / 10) > 500) && ((Math.round(50 * meter) / 10) < 1000)) {
_local1.tenjou2_mc._width = 180;
} else if (((Math.round(50 * meter) / 10) > 1000) && ((Math.round(50 * meter) / 10) < 2000)) {
_local1.tenjou2_mc._width = 160;
} else if (((Math.round(50 * meter) / 10) > 2000) && ((Math.round(50 * meter) / 10) < 3000)) {
_local1.tenjou2_mc._width = 140;
} else if (((Math.round(50 * meter) / 10) > 3000) && ((Math.round(50 * meter) / 10) < 4000)) {
_local1.tenjou2_mc._width = 120;
} else if (((Math.round(50 * meter) / 10) > 4000) && ((Math.round(50 * meter) / 10) < 5000)) {
_local1.tenjou2_mc._width = 100;
} else if (((Math.round(50 * meter) / 10) > 5000) && ((Math.round(50 * meter) / 10) < 6000)) {
_local1.tenjou2_mc._width = 90;
} else if (((Math.round(50 * meter) / 10) > 6000) && ((Math.round(50 * meter) / 10) < 8000)) {
_local1.tenjou2_mc._width = 80;
} else if (((Math.round(50 * meter) / 10) > 8000) && ((Math.round(50 * meter) / 10) < 10000)) {
_local1.tenjou2_mc._width = 70;
} else if ((Math.round(50 * meter) / 10) > 10000) {
_local1.tenjou2_mc._width = 60;
}
}
if (_local1.tenjou3_mc._x < ((-_local1.tenjou_mc._width) / 2)) {
_local1.tenjou3_mc._x = (((_local1.tenjou2_mc._x + 280) + Math.floor(Math.random() * 100)) + 1) - 50;
if (((Math.round(50 * meter) / 10) > 500) && ((Math.round(50 * meter) / 10) < 1000)) {
_local1.tenjou3_mc._width = 180;
} else if (((Math.round(50 * meter) / 10) > 1000) && ((Math.round(50 * meter) / 10) < 2000)) {
_local1.tenjou3_mc._width = 160;
} else if (((Math.round(50 * meter) / 10) > 2000) && ((Math.round(50 * meter) / 10) < 3000)) {
_local1.tenjou3_mc._width = 140;
} else if (((Math.round(50 * meter) / 10) > 3000) && ((Math.round(50 * meter) / 10) < 4000)) {
_local1.tenjou3_mc._width = 120;
} else if (((Math.round(50 * meter) / 10) > 4000) && ((Math.round(50 * meter) / 10) < 5000)) {
_local1.tenjou3_mc._width = 100;
} else if (((Math.round(50 * meter) / 10) > 5000) && ((Math.round(50 * meter) / 10) < 6000)) {
_local1.tenjou3_mc._width = 90;
} else if (((Math.round(50 * meter) / 10) > 6000) && ((Math.round(50 * meter) / 10) < 8000)) {
_local1.tenjou3_mc._width = 80;
} else if (((Math.round(50 * meter) / 10) > 8000) && ((Math.round(50 * meter) / 10) < 10000)) {
_local1.tenjou3_mc._width = 70;
} else if ((Math.round(50 * meter) / 10) > 10000) {
_local1.tenjou3_mc._width = 60;
}
}
if ((Math.round(50 * meter) / 10) > 500) {
if (LEVEL == 1) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 2;
}
}
if ((Math.round(50 * meter) / 10) > 1000) {
if (LEVEL == 2) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 3;
}
}
if ((Math.round(50 * meter) / 10) > 2000) {
if (LEVEL == 3) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 4;
}
}
if ((Math.round(50 * meter) / 10) > 3000) {
if (LEVEL == 4) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 5;
}
}
if ((Math.round(50 * meter) / 10) > 4000) {
if (LEVEL == 5) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 6;
}
}
if ((Math.round(50 * meter) / 10) > 5000) {
if (LEVEL == 6) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 7;
}
}
if ((Math.round(50 * meter) / 10) > 6000) {
if (LEVEL == 7) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 8;
}
}
if ((Math.round(50 * meter) / 10) > 8000) {
if (LEVEL == 8) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 9;
}
}
if ((Math.round(50 * meter) / 10) > 10000) {
if (LEVEL == 9) {
_local1.level_mc.play();
_local1.level_mc._x = 200;
trace("????p");
my_sound4.start();
LEVEL = 10;
}
}
}
Key.isDown(32) != true;
if (Key.isDown(32) == false) {
catcher = false;
}
if (hanasu == true) {
_local1.wire._x = 1000;
firsthit = true;
firstlong = true;
}
if (_local1.needle_mc1._x < -750) {
_local1.needle_mc1._x = _local1.needle_mc2._x + 750;
}
if (_local1.needle_mc2._x < -750) {
_local1.needle_mc2._x = _local1.needle_mc1._x + 750;
}
putmeter = Math.round(5 * meter) / 1;
hook_mc.clear();
if (_local1.wire._x != 1000) {
_local1.createEmptyMovieClip("hook_mc", 1);
hook_mc.lineStyle(1, 0, 100);
hook_mc.moveTo(_local2.player_mc._x, _local2.player_mc._y);
hook_mc.lineTo(_local1.wire._x, _local1.wire._y);
}
if (_local2.player_mc._y > 400) {
my_music.stop();
my_sound3.start();
gotoAndStop (24);
}
if (_local2.player_mc._x < -400) {
my_music.stop();
my_sound3.start();
gotoAndStop (24);
}
};
Instance of Symbol 114 MovieClip in Frame 17
on (release) {
getURL ("http://www.playgames.to/?start=116", "_blank");
}
Frame 24
gameover = true;
Symbol 29 Button
on (release) {
my_music.stop();
gotoAndStop (17);
}
Symbol 40 MovieClip Frame 114
gotoAndPlay (1);
Symbol 87 MovieClip Frame 30
gotoAndStop (1);
Symbol 109 MovieClip Frame 1
if (((this._parent.wire.hitTest(_root.tenjou_mc) == false) && (this._parent.wire.hitTest(_root.tenjou2_mc) == false)) && (this._parent.wire.hitTest(_root.tenjou3_mc) == false)) {
if (_root.player_mc.hitTest(_root.jimen_mc) == false) {
gotoAndPlay (55);
}
}
Symbol 109 MovieClip Frame 14
gotoAndPlay (1);
Symbol 109 MovieClip Frame 31
gotoAndPlay (1);
Symbol 125 Button
on (release) {
my_music.stop();
gotoAndStop (16);
}
Symbol 141 MovieClip Frame 9
stop();