Frame 1
mode = 5;
gScore = 0;
landingMsg._visible = 0;
crashMsg._visible = 0;
Frame 3
if (mode == 5) {
gotoAndPlay(_currentframe - 1);
} else if (mode == 3) {
gotoAndPlay (7);
}
Frame 5
if (mode != 20) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay (1);
}
Frame 7
ct = 0;
Frame 9
ct++;
if (ct < 150) {
gotoAndPlay(_currentframe - 1);
}
Frame 11
mode = 1;
gScore = 0;
landingMsg._visible = 0;
crashMsg._visible = 0;
Frame 13
if (mode != 2) {
gotoAndPlay(_currentframe - 1);
} else {
gScore = int(score);
}
Frame 16
if (mode != 10) {
gotoAndPlay(_currentframe - 1);
}
Frame 19
if (mode != 20) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay (1);
}
Symbol 8 Button
on (release) {
getURL ("http://mj12.ath.cx", _blank);
stop();
}
Symbol 33 MovieClip Frame 1
function coliCheck(x, y) {
return(coli.hitTest(x + 320, y + 240, true));
}
function coliNearCheck(x, y) {
return(nearColi.hitTest(x + 320, y + 240, true));
}
Symbol 39 MovieClip Frame 10
gotoAndPlay (1);
Symbol 41 MovieClip Frame 10
gotoAndPlay (1);
Symbol 45 MovieClip Frame 10
gotoAndPlay (1);
Symbol 47 MovieClip Frame 10
gotoAndPlay (1);
Symbol 51 MovieClip Frame 10
gotoAndPlay (1);
Symbol 53 MovieClip Frame 10
gotoAndPlay (1);
Symbol 55 MovieClip Frame 10
gotoAndPlay (1);
Symbol 57 MovieClip Frame 10
gotoAndPlay (1);
Symbol 61 MovieClip Frame 10
gotoAndPlay (1);
Symbol 63 MovieClip Frame 10
gotoAndPlay (1);
Symbol 65 MovieClip Frame 10
gotoAndPlay (1);
Symbol 67 MovieClip Frame 10
gotoAndPlay (1);
Symbol 80 MovieClip Frame 1
power = 0;
fireAnmCt = 0;
reqCrash = 0;
rad = (Math.PI/180);
crashAng = new Array(8);
crashSpd = new Array(8);
Symbol 80 MovieClip Frame 3
fireAnmCt++;
fireAnmCt = fireAnmCt & 1;
if (power == 0) {
ship7._height = 1;
} else if (fireAnmCt) {
ship7._height = power * 2;
} else {
ship7._height = power * 1.6;
}
if (reqCrash == 0) {
gotoAndPlay(_currentframe - 1);
} else {
ship7._height = 1;
fireAnmCt = 0;
i = 0;
while (i < 8) {
crashAng[i] = Math.random() * 360;
crashSpd[i] = (Math.random() * 0.8) + 0.7;
i++;
}
}
Symbol 80 MovieClip Frame 5
i = 0;
while (i < 8) {
var obj;
obj = eval ("ship" + i);
obj._x = obj._x + (Math.cos((crashAng[i] + 90) * rad) * crashSpd[i]);
obj._y = obj._y + (Math.sin((crashAng[i] + 90) * rad) * crashSpd[i]);
obj._rotation = obj._rotation + 2;
i++;
}
fireAnmCt++;
if (fireAnmCt < 50) {
gotoAndPlay(_currentframe - 1);
}
Symbol 80 MovieClip Frame 6
stop();
Instance of Symbol 81 MovieClip in Symbol 82 MovieClip Frame 1
onClipEvent (mouseDown) {
_parent.msClickFlag = 1;
}
onClipEvent (mouseUp) {
_parent.msClickFlag = 0;
}
Symbol 82 MovieClip Frame 2
function init(obj) {
timer = 0;
shipCndFlags = 0;
if (_root.mode == 5) {
tdPtr = 0;
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_PLAY_DEMO;
}
msClickFlag = 0;
time = 0;
obj._x = int((Math.random() * 500) - 250);
obj._y = -124.6;
shipAng = 0;
obj._rotation = 0;
default_w = 640;
default_h = 480;
_width = default_w;
_height = default_h;
coliStatus = 0;
shipSpeedX = (Math.random() * 1.2) - 0.6;
shipSpeedY = 0;
grav = 0.005;
fric = 0.999;
powScl = -0.0011;
shipPower = 0;
fuel = 10000;
score = 0;
_root.score = score;
lpInit();
_root.crashMsg._visible = 0;
_root.landingMsg._visible = 0;
if (shipCndFlags & SHIP_CND_FLAG_REC_PLAY_DEMO) {
trace("##########################");
trace("Start ...");
obj._x = -150.1;
obj._y = -30;
shipAng = 0;
obj._rotation = 0;
shipSpeedX = 1;
shipSpeedY = 1;
}
if (shipCndFlags & SHIP_CND_FLAG_PLAY_DEMO) {
obj._x = -150.1;
obj._y = -30;
shipAng = 0;
obj._rotation = 0;
shipSpeedX = 1;
shipSpeedY = 1;
}
if (shipCndFlags & SHIP_CND_FLAG_PLAY_DEMO) {
stopAllSounds();
} else {
if (stJet == null) {
stJet = new Sound();
}
stJet.attachSound("noise");
stJet.setVolume(0);
stJet.start(secondsOffset, "10000");
}
}
function initContinue(obj) {
obj._x = int((Math.random() * 500) - 250);
obj._y = -124.6;
shipAng = 0;
obj._rotation = 0;
obj.play();
msClickFlag = 0;
shipCndFlags = shipCndFlags & (~((SHIP_CND_FLAG_CRASH | SHIP_CND_FLAG_LANDING) | SHIP_CND_FLAG_BOUND));
_width = default_w;
_height = default_h;
coliStatus = 0;
shipSpeedX = (Math.random() * 1.2) - 0.6;
shipSpeedY = 0;
shipPower = 0;
lpInit();
_root.crashMsg._visible = 0;
_root.landingMsg._visible = 0;
stopAllSounds();
stJet.setVolume(0);
stJet.start(secondsOffset, "10000");
}
function shipStEval(obj) {
_root.speedX = int(shipSpeedX * 1000);
_root.speedY = int(shipSpeedY * 1000);
_root.time = time;
_root.ypos = int(obj._y - 320);
if (shipSpeedX < 0) {
_root.arrow_h._rotation = 180;
} else {
_root.arrow_h._rotation = 0;
}
if (shipSpeedY < 0) {
_root.arrow_v._rotation = 180;
} else {
_root.arrow_v._rotation = 0;
}
if ((shipCndFlags & (SHIP_CND_FLAG_CRASH | SHIP_CND_FLAG_LANDING)) == 0) {
time++;
}
if (shipCndFlags & SHIP_CND_FLAG_REC_PLAY_DEMO) {
trace((shipAng + ",") + shipPower);
}
if (fuel < 500) {
if (timer & 8) {
_root.fuel = int(fuel);
} else {
_root.fuel = "";
}
} else {
_root.fuel = int(fuel);
}
}
function shipCndCheck(obj) {
if (320 < obj._x) {
obj._x = -320;
}
if (obj._x < -320) {
obj._x = 320;
}
if (obj._y < -240) {
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
}
if (240 < obj._y) {
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
}
if (coliStatus & 4) {
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
}
if (coliStatus) {
if ((coliStatus & 3) != 3) {
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
} else {
var ang;
if (0.2 < Math.abs(shipSpeedX)) {
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
return(undefined);
}
if (shipSpeedY < 0) {
return(undefined);
}
if (0.15 < shipSpeedY) {
if (shipSpeedY < 0.3) {
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_BOUND;
shipSpeedX = 0;
shipSpeedY = -0.1;
return(undefined);
}
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
}
if ((shipCndFlags & SHIP_CND_FLAG_CRASH) == 0) {
ang = Math.abs(shipAng + 360) % 360;
if ((2 >= ang) || (356 < ang)) {
shipAng = 0;
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_LANDING;
return(undefined);
}
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
return(undefined);
}
}
}
}
function shipHitCheck(obj) {
var r;
var x;
var y;
var flags;
var ang;
r = 6.5;
flags = 0;
ang = shipAng;
if ((shipAng == 4) || (shipAng == 356)) {
ang = 0;
}
x = obj._x + (Math.cos(((ang + 90) - 30) * rad) * r);
y = obj._y + (Math.sin(((ang + 90) - 30) * rad) * r);
if (_parent.coli.coliCheck(x, y) == true) {
flags = flags | 1;
}
x = obj._x + (Math.cos(((ang + 90) + 30) * rad) * r);
y = obj._y + (Math.sin(((ang + 90) + 30) * rad) * r);
if (_parent.coli.coliCheck(x, y) == true) {
flags = flags | 2;
}
x = obj._x + (Math.cos(((ang + 90) - 180) * rad) * 3);
y = obj._y + (Math.sin(((ang + 90) - 180) * rad) * 3);
if (_parent.coli.coliCheck(x, y) == true) {
flags = flags | 4;
}
coliStatus = flags;
}
function camera(obj) {
if (_parent.coli.coliNearCheck(obj._x, obj._y) == true) {
_width = (default_w * 2);
_height = (default_h * 2);
_x = (((-obj._x) * 2) + (default_w / 2));
_y = (((-obj._y) * 2) + (default_h / 2));
} else {
_width = default_w;
_height = default_h;
_x = 320;
_y = 240;
}
}
function shipMove(obj) {
shipSpeedX = shipSpeedX + ((Math.cos((shipAng + 90) * rad) * shipPower) * powScl);
shipSpeedY = shipSpeedY + ((Math.sin((shipAng + 90) * rad) * shipPower) * powScl);
shipSpeedY = shipSpeedY + grav;
shipSpeedX = shipSpeedX * fric;
shipSpeedY = shipSpeedY * fric;
obj._x = obj._x + shipSpeedX;
obj._y = obj._y + shipSpeedY;
}
function shipHeading(obj) {
var dx;
var dy;
var angle;
var angDir;
if (shipCndFlags & SHIP_CND_FLAG_BOUND) {
return(undefined);
}
if (shipCndFlags & SHIP_CND_FLAG_PLAY_DEMO) {
obj._rotation = shipAng;
return(undefined);
}
dx = _xmouse - ship._x;
dy = _ymouse - ship._y;
angle = Math.atan2(-dy, -dx);
angle = int(((angle * deg) - 90) + 360);
angle = angle % 360;
angle = angle - (angle % 4);
angDir = angle - shipAng;
if (Math.abs(angDir) < 8) {
shipAng = angle;
obj._rotation = shipAng;
return(undefined);
}
if (Math.abs(angDir) >= 180) {
angDir = angDir * -1;
}
if (angDir < 0) {
angDir = 352;
} else {
angDir = 368;
}
shipAng = shipAng + (angDir + 360);
shipAng = shipAng % 360;
obj._rotation = shipAng;
}
function shipPowerCtrl(obj) {
if (shipCndFlags & SHIP_CND_FLAG_PLAY_DEMO) {
obj.power = shipPower;
stJet.setVolume(0);
return(undefined);
}
if (msClickFlag) {
if (fuel) {
fuel = fuel - shipPower;
if (fuel < 0) {
fuel = 0;
}
if (shipPower < 10) {
shipPower = shipPower + 1.5;
}
}
}
shipPower = shipPower - 0.5;
if (shipPower < 0) {
shipPower = 0;
}
if (shipCndFlags & SHIP_CND_FLAG_LANDING) {
shipPower = 0;
}
stJet.setVolume(shipPower * 3);
obj.power = shipPower;
}
function lpAreaCheck() {
var i;
var lp;
var dist;
i = 0;
while (i < 12) {
lp = eval ("lp" + i);
if (lp._visible == 0) {
} else {
dist = Math.abs(ship._x - lp._x);
if (dist < 8) {
return(lp_score[i]);
}
}
i++;
}
return(1);
}
function lpInit() {
var ct;
var i;
var lp;
i = 0;
while (i < 12) {
lp = eval ("lp" + i);
lp._visible = 0;
i++;
}
i = (ct = 0);
while (ct < 5) {
lp = eval ("lp" + i);
if (0.8 < Math.random()) {
lp._visible = 1;
ct++;
}
i++;
if (i >= 12) {
i = 0;
}
}
}
deg = 57.2957795130823;
rad = (Math.PI/180);
SHIP_CND_FLAG_CRASH = 2;
SHIP_CND_FLAG_LANDING = 4;
SHIP_CND_FLAG_BOUND = 8;
SHIP_CND_FLAG_PLAY_DEMO = 16;
SHIP_CND_FLAG_REC_PLAY_DEMO = 32;
SHIP_CND_FLAG_START = 64;
shipAng = 0;
lp_score = [3, 4, 4, 2, 5, 4, 5, 5, 2, 5, 2, 3];
traceData = [352, 0, 344, 0, 336, 0, 328, 0, 320, 0, 312, 1, 312, 2, 312, 3, 312, 4, 312, 5, 312, 6, 312, 7, 312, 8, 312, 9, 312, 10, 312, 9.5, 312, 10.5, 312, 10, 312, 9.5, 312, 10.5, 312, 10, 312, 9.5, 312, 10.5, 312, 10, 312, 9.5, 312, 10.5, 312, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 312, 10.5, 312, 10, 312, 9.5, 312, 10.5, 312, 10, 312, 9.5, 312, 10.5, 312, 10, 312, 9.5, 312, 10.5, 312, 10, 312, 9.5, 308, 10.5, 308, 10, 308, 9.5, 308, 10.5, 300, 10, 296, 9.5, 296, 10.5, 300, 10, 300, 9.5, 300, 10.5, 308, 10, 312, 9.5, 312, 9, 320, 8.5, 328, 9.5, 332, 10.5, 340, 10, 348, 9.5, 356, 10.5, 352, 10, 352, 9.5, 344, 10.5, 336, 10, 328, 9.5, 328, 10.5, 328, 10, 328, 9.5, 328, 10.5, 328, 10, 320, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 320, 9.5, 320, 10.5, 320, 10, 316, 9.5, 316, 10.5, 316, 10, 316, 9.5, 316, 10.5, 316, 10, 320, 9.5, 324, 10.5, 324, 10, 324, 9.5, 324, 10.5, 328, 10, 324, 9.5, 324, 10.5, 324, 10, 324, 9.5, 332, 10.5, 332, 10, 336, 9.5, 336, 10.5, 336, 10, 344, 9.5, 344, 10.5, 348, 10, 348, 9.5, 352, 10.5, 352, 10, 356, 9.5, 4, 10.5, 8, 10, 16, 9.5, 16, 10.5, 16, 10, 16, 9.5, 24, 10.5, 32, 10, 36, 9.5, 36, 10.5, 36, 10, 36, 9.5, 36, 10.5, 32, 10, 28, 9.5, 20, 10.5, 16, 10, 12, 9.5, 8, 10.5, 4, 10, 4, 9.5, 4, 9, 4, 8.5, 356, 8, 352, 7.5, 348, 7, 344, 6.5, 344, 6, 344, 5.5, 344, 6.5, 344, 7.5, 344, 8.5, 344, 9.5, 348, 10.5, 352, 10, 352, 9.5, 356, 10.5, 356, 10, 356, 9.5, 356, 10.5, 356, 10, 356, 9.5, 4, 10.5, 0, 10, 0, 9.5, 0, 9, 0, 8.5, 0, 8, 0, 7.5, 0, 7, 0, 6.5, 0, 6, 4, 5.5, 4, 5, 4, 6, 4, 7, 4, 8, 4, 9, 4, 10, 4, 9.5, 4, 10.5, 4, 10, 4, 9.5, 4, 9, 4, 8.5, 12, 8, 12, 7.5, 12, 7, 12, 6.5, 12, 7.5, 12, 8.5, 12, 9.5, 12, 10.5, 12, 10, 12, 9.5, 12, 10.5, 12, 10, 12, 9.5, 12, 9, 20, 8.5, 20, 8, 20, 9, 20, 10, 20, 9.5, 20, 10.5, 20, 10, 20, 9.5, 20, 9, 20, 8.5, 20, 8, 20, 7.5, 20, 7, 20, 6.5, 20, 6, 20, 5.5, 24, 5, 24, 4.5, 24, 4, 24, 3.5, 24, 3, 24, 2.5, 24, 3.5, 24, 4.5, 24, 5.5, 20, 5, 20, 4.5, 12, 4, 4, 3.5, 4, 3, 4, 2.5, 4, 2, 4, 1.5, 4, 1, 4, 0.5, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 1, 4, 2, 4, 3, 4, 4, 4, 5, 4, 6, 4, 7, 4, 8, 4, 7.5, 4, 7, 12, 6.5, 12, 6, 12, 5.5, 12, 5, 12, 4.5, 12, 5.5, 12, 6.5, 12, 7.5, 12, 8.5, 12, 8, 12, 7.5, 12, 7, 12, 6.5, 12, 6, 12, 5.5, 12, 5, 12, 4.5, 12, 4, 12, 3.5, 12, 3, 8, 2.5, 8, 2, 4, 1.5, 4, 1, 4, 0.5, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 1.5, 0, 1, 0, 0.5, 0, 0, 0, 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 7.5, 0, 7, 0, 6.5, 0, 6, 0, 5.5, 0, 5, 0, 4.5, 0, 4, 0, 3.5, 0, 3, 0, 2.5, 0, 2, 0, 1.5, 0, 1, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, -1];
init(ship);
Symbol 82 MovieClip Frame 5
sound_jet.start();
camera(ship);
if (shipCndFlags & SHIP_CND_FLAG_PLAY_DEMO) {
if (msClickFlag) {
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_START;
}
shipAng = traceData[tdPtr++];
shipPower = traceData[tdPtr++];
if ((shipAng == -1) && (shipPower == -1)) {
shipAng = (shipPower = 0);
shipCndFlags = shipCndFlags | SHIP_CND_FLAG_CRASH;
}
}
shipHeading(ship);
shipPowerCtrl(ship);
shipMove(ship);
shipHitCheck(ship);
shipCndCheck(ship);
shipStEval(ship);
timer++;
if ((shipCndFlags & SHIP_CND_FLAG_PLAY_DEMO) == 0) {
if (shipCndFlags & SHIP_CND_FLAG_CRASH) {
ship.reqCrash = 1;
gotoAndPlay (11);
}
if (shipCndFlags & SHIP_CND_FLAG_LANDING) {
gotoAndPlay (16);
}
if (0 >= fuel) {
fuel = 0;
_root.fuel = int(fuel);
gotoAndPlay (21);
}
} else if ((((shipCndFlags & SHIP_CND_FLAG_CRASH) || (shipCndFlags & SHIP_CND_FLAG_LANDING)) || (shipCndFlags & SHIP_CND_FLAG_START)) || (0 >= fuel)) {
gotoAndPlay (21);
}
Symbol 82 MovieClip Frame 6
gotoAndPlay(_currentframe - 1);
Symbol 82 MovieClip Frame 12
ship.reqCrash = 1;
waitCt = 0;
crashVol = 100;
Symbol 82 MovieClip Frame 13
camera(ship);
shipStEval(ship);
Symbol 82 MovieClip Frame 14
if (waitCt < 70) {
waitCt++;
if (0 < crashVol) {
crashVol = crashVol - 2;
} else {
crashVol = 0;
}
stJet.setVolume(crashVol);
if (10 < waitCt) {
_root.crashMsg._visible = 1;
}
if (waitCt == 10) {
fuel = fuel - 240;
socre = socre + 5;
_root.score = socre;
}
gotoAndPlay(_currentframe - 1);
} else {
crashMsg._visible = 0;
initContinue(ship);
gotoAndPlay (4);
}
Symbol 82 MovieClip Frame 17
waitCt = 0;
shipPower = 0;
stJet.setVolume(0);
Symbol 82 MovieClip Frame 18
camera(ship);
shipStEval(ship);
Symbol 82 MovieClip Frame 19
if (waitCt < 70) {
waitCt++;
if (waitCt == 10) {
var pp = lpAreaCheck();
_root.landingMsg.points = 50 * pp;
_root.landingMsg._visible = 1;
socre = socre + (50 * pp);
_root.score = socre;
}
gotoAndPlay(_currentframe - 1);
} else {
_root.landingMsg._visible = 0;
initContinue(ship);
gotoAndPlay (4);
}
Symbol 82 MovieClip Frame 22
if (shipCndFlags & SHIP_CND_FLAG_START) {
_root.mode = 3;
} else {
_root.mode = 2;
}
stJet.setVolume(0);
stop();
Symbol 120 MovieClip Frame 1
ranking = null;
loadVariables ("http://mj12.ath.cx/cgi-bin/landing_score.cgi", "");
ct = 0;
Symbol 120 MovieClip Frame 3
ct++;
if (ranking == null) {
if (ct < 1000) {
gotoAndPlay(_currentframe - 1);
}
}
Symbol 120 MovieClip Frame 4
rankingStr = new String(ranking);
delete ranking;
rakingSlice = rankingStr.split("|");
delete rankingStr;
i = 0;
while (i < 10) {
Set("s" + i, rakingSlice[(i * 3) + 1]);
Set("n" + i, rakingSlice[(i * 3) + 0]);
Set("m" + i, rakingSlice[(i * 3) + 2]);
i++;
}
delete rakingSlice;
ct = 0;
Symbol 120 MovieClip Frame 6
ct++;
if (ct < 500) {
gotoAndPlay(_currentframe - 1);
}
Symbol 120 MovieClip Frame 7
_root.mode = 20;
stop();
Symbol 134 Button
on (release) {
play();
}
Symbol 142 MovieClip Frame 1
ranking = null;
loadVariables ("http://mj12.ath.cx/cgi-bin/landing_score.cgi", "");
ct = 0;
Symbol 142 MovieClip Frame 3
ct++;
if (ranking == null) {
if (ct < 300) {
gotoAndPlay(_currentframe - 1);
}
}
Symbol 142 MovieClip Frame 4
rankingStr = new String(ranking);
delete ranking;
rakingSlice = rankingStr.split("|");
delete rankingStr;
if ((rakingSlice[28] < _root.gScore) || (rakingSlice[28] == null)) {
gotoAndPlay (15);
} else {
gotoAndPlay (8);
}
Symbol 142 MovieClip Frame 5
stop();
Symbol 142 MovieClip Frame 8
delete rakingSlice;
score = _root.gScore;
ct = 0;
Symbol 142 MovieClip Frame 10
ct++;
if (ct < 180) {
gotoAndPlay(_currentframe - 1);
}
Symbol 142 MovieClip Frame 11
_root.mode = 10;
stop();
Symbol 142 MovieClip Frame 15
delete rakingSlice;
score = _root.gScore;
entry_result = null;
stop();
Symbol 142 MovieClip Frame 16
loadVariables ((((("http://mj12.ath.cx/cgi-bin/landing_score.cgi?md=e&sc=" + _root.gScore) + "&nm=") + name) + "&mg=") + message, "");
ct = 0;
Symbol 142 MovieClip Frame 19
ct++;
if (entry_result == null) {
if (ct < 300) {
gotoAndPlay(_currentframe - 1);
}
}
Symbol 142 MovieClip Frame 20
_root.mode = 10;
stop();