Frame 197
stop();
Frame 199
stop();
Set("/:roundtime", "0");
Set("/:totalchiatime", "0");
Set("/:totalmechatime", "0");
Set("/:healthmax", "100");
Set("/:players", "2");
Set("/:human", "chia");
Set("/:dx", "20");
Frame 201
stop();
Set("/:roundtime", "0");
Set("/:totalchiatime", "0");
Set("/:totalmechatime", "0");
Set("/:healthmax", "100");
Set("/:players", "2");
Set("/:human", "chia");
Set("/:dx", "20");
Frame 203
Set("/:roundtime", "0");
Set("/:totalchiatime", "0");
Set("/:totalmechatime", "0");
Set("/:healthmax", "100");
Set("/:human", "chia");
Set("/:dx", "20");
Set("/:nummechawins", "0");
Set("/:numchiawins", "0");
toggleHighQuality();
Frame 209
tellTarget ("/chiazilla") {
gotoAndStop ("step");
};
tellTarget ("/mechazilla") {
gotoAndStop ("step2");
};
tellTarget ("healthchia") {
gotoAndStop (1);
};
tellTarget ("healthmecha") {
gotoAndStop (1);
};
setProperty("chiazilla", _x , "100");
setProperty("mechazilla", _x , "400");
Set("/:startTime", getTimer());
Set("/:chiawin", "0");
Set("/:mechawin", "0");
Set("/:gameover", "0");
Frame 218
if (players == "1") {
}
if (getProperty("/healthchia", _currentframe) >= /:healthmax) {
trace(getProperty("/healthchia", _currentframe));
trace(/:healthmax);
gotoAndStop (227);
Set("/:mechawin", "1");
} else if (getProperty("/healthmecha", _currentframe) >= /:healthmax) {
trace(getProperty("/healthmecha", _currentframe));
trace(/:healthmax);
gotoAndStop (227);
Set("/:chiawin", "1");
} else {
gotoAndPlay(_currentframe - "1");
}
if ("500" < getProperty("/mechazilla", _x)) {
setProperty("/mechazilla", _x , "500");
}
if (getProperty("/chiazilla", _x) < "0") {
setProperty("/chiazilla", _x , "0");
}
Set("/chiazilla:xpos", getProperty("/chiazilla", _x));
Set("/mechazilla:xpos", getProperty("/mechazilla", _x));
Frame 227
Set("/:roundtime", int((starttime - getTimer()) / "1000"));
if (/:roundtime < "0") {
Set("/:roundtime", -/:roundtime);
}
Set("/:roundtime", /:roundtime + "secs");
Set("/:gameover", "1");
setProperty("/chiazilla/randomair", _visible , "0");
setProperty("/mechazilla/randomair", _visible , "0");
if (/:chiawin == "1") {
Set("/:chiatotaltime", /:chiatotaltime + /:roundtime);
if (/:chiatotaltime < "0") {
Set("/:chiatotaltime", -/:chiatotaltime);
}
Set("/:winnername", "Chiazilla");
tellTarget ("/mechazilla") {
gotoAndPlay ("falldown2");
};
tellTarget ("/chiazilla") {
gotoAndPlay ("victory");
};
Set("/:numchiawins", /:numchiawins + "1");
tellTarget ("/chiawinsbar") {
nextFrame();
};
} else {
Set("/:mechatotaltime", /:mechatotaltime + /:roundtime);
if (/:mechatotaltime < "0") {
Set("/:mechatotaltime", -/:mechatotaltime);
}
Set("/:winnername", "Mechazilla");
tellTarget ("/chiazilla") {
gotoAndPlay ("falldown");
};
tellTarget ("/mechazilla") {
gotoAndPlay ("victory2");
};
Set("/:nummechawins", /:nummechawins + "1");
tellTarget ("mechawinsbar") {
nextFrame();
};
}
stop();
Frame 233
if (/:chiawin == "1") {
Set("/:totaltime", /:chiatotaltime);
} else {
Set("/:totaltime", /:mechatotaltime);
}
Frame 239
total = "0";
checking = "0";
Frame 247
loadVariablesNum ("http://home.neopets.com/water/mechatally.phtml", "0", "POST");
Frame 256
if (/:total == "0") {
gotoAndPlay(_currentframe - "1");
}
Frame 257
stop();
Set("/:timebonus", "120" - /:totaltime);
if ("0" < /:timebonus) {
gotoAndStop (263);
}
Frame 271
Set("/:score", "10" * /:timebonus);
Frame 281
status = "loading script nulls";
Set("/:adc", /:score);
Set("/:tpr", /:timebonus);
Set("/:shm", "12");
Set("/:result", "1");
Set("/:sar", "0");
tellTarget ("/function") {
gotoAndPlay (2);
}
Frame 299
status = "calling ....first";
loadVariablesNum ("http://www.neopets.com/high_scores/1.phtml", "0", "POST");
Frame 337
if (length(sar) < "12") {
gotoAndPlay (299);
} else {
Set("/:sarfirst", /:sar);
}
status = "stage decode";
Set("/:source", /:sar);
Set("/:clean" add "0", "0");
Set("/:clean" add "1", "1");
Set("/:clean" add "2", "2");
Set("/:clean" add "3", "3");
Set("/:clean" add "4", "4");
Set("/:clean" add "5", "5");
Set("/:clean" add "6", "6");
Set("/:clean" add "7", "7");
Set("/:clean" add "8", "8");
Set("/:clean" add "9", "9");
Set("/:dirty" add "0", "8");
Set("/:dirty" add "1", "2");
Set("/:dirty" add "2", "7");
Set("/:dirty" add "3", "0");
Set("/:dirty" add "4", "4");
Set("/:dirty" add "5", "1");
Set("/:dirty" add "6", "5");
Set("/:dirty" add "7", "3");
Set("/:dirty" add "8", "6");
Set("/:dirty" add "9", "9");
x = "0";
while (length(/:source) >= x) {
letter = substring(/:source, x, "1");
trace("THE SOURCE letter is " add letter);
y = "0";
while (y < "70") {
c = eval ("/:dirty" add y);
if (letter eq c) {
Set("/:temp" add x, eval ("/:clean" add y));
trace("here it is " add eval ("/:temp" add x));
y = "70";
}
y = y + "1";
}
x = x + "1";
}
t = "0";
while (length(/:source) >= t) {
testword = eval ("/:temp" add t);
trace(eval ("/:temp" add t));
t = t + "1";
}
Set("/:target", ((((((((((((((((((((((eval ("/:temp" add "1") add eval ("/:temp" add "2")) add eval ("/:temp" add "3")) add eval ("/:temp" add "4")) add eval ("/:temp" add "5")) add eval ("/:temp" add "6")) add eval ("/:temp" add "7")) add eval ("/:temp" add "8")) add eval ("/:temp" add "9")) add eval ("/:temp" add "10")) add eval ("/:temp" add "11")) add eval ("/:temp" add "12")) add eval ("/:temp" add "13")) add eval ("/:temp" add "14")) add eval ("/:temp" add "15")) add eval ("/:temp" add "16")) add eval ("/:temp" add "17")) add eval ("/:temp" add "18")) add eval ("/:temp" add "19")) add eval ("/:temp" add "20")) add eval ("/:temp" add "21")) add eval ("/:temp" add "22")) add eval ("/:temp" add "23")) add eval ("/:temp" add "24"));
Set("/:sar", /:target);
trace(/:target);
Frame 395
status = "calling ....second";
loadVariablesNum ("http://www.neopets.com/high_scores/2.phtml", "0", "POST");
Frame 434
status = "Success";
if (/:won == "1") {
status = "Success";
}
Frame 478
stop();
Symbol 35 MovieClip Frame 19
stop();
Symbol 39 MovieClip Frame 2
catchable = "0";
blockable = "0";
random = random(/:rocketmax);
if (/:gameover == "0") {
if (("0" < random) and (random < "5")) {
gotoAndPlay (20);
} else if (("6" < random) and (random < "10")) {
gotoAndPlay (108);
}
}
gotoAndPlay(_currentframe - "1");
Symbol 39 MovieClip Frame 20
blockable = "0";
Symbol 39 MovieClip Frame 88
blockable = "1";
Symbol 39 MovieClip Frame 92
blockable = "0";
tellTarget (../:ownhealth) {
gotoAndStop(_currentframe + "20");
}
Symbol 39 MovieClip Frame 105
gotoAndPlay (2);
Symbol 39 MovieClip Frame 108
catchable = "0";
Symbol 39 MovieClip Frame 169
catchable = "1";
Symbol 39 MovieClip Frame 181
catchable = "0";
Symbol 39 MovieClip Frame 236
gotoAndPlay (2);
tellTarget (/:ownhealth) {
gotoAndStop(_currentframe - "20");
}
Symbol 39 MovieClip Frame 250
gotoAndPlay (2);
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 38
tellTarget (..:ownhealth) {
gotoAndStop(_currentframe + "15");
};
gotoAndStop (1);
Symbol 40 MovieClip Frame 40
if (/:gameover == "1") {
gotoAndStop (1);
}
Symbol 40 MovieClip Frame 45
call("burn");
Symbol 40 MovieClip Frame 46
call("burn");
Symbol 40 MovieClip Frame 47
call("burn");
Symbol 40 MovieClip Frame 48
call("burn");
Symbol 40 MovieClip Frame 49
call("burn");
Symbol 40 MovieClip Frame 50
call("burn");
Symbol 40 MovieClip Frame 51
call("burn");
Symbol 40 MovieClip Frame 52
call("burn");
Symbol 40 MovieClip Frame 53
call("burn");
Symbol 40 MovieClip Frame 59
gotoAndStop (1);
Symbol 63 MovieClip Frame 1
trace(_name);
Set("/:rocketmax", "1000");
if (_name eq "chiazilla") {
opponent = "mechazilla";
opponenthealth = "/healthmecha";
ownhealth = "/healthchia";
} else {
opponent = "chiazilla";
opponenthealth = "/healthchia";
ownhealth = "/healthmecha";
}
Set("/:range", "20");
Set("/:chiabounds", getProperty("/chiazilla", _x) + getProperty("/chiazilla", _width));
Set("/:mechbounds", getProperty("/mechazilla", _x) - getProperty("mechazilla", _width));
xpos = _x;
ypos = _y;
rocketdamage = "10";
shortdamage = "10";
longdamage = "10";
trace(xpos);
trace(dx);
trace("adsgfasdf");
Symbol 63 MovieClip Frame 7
stop();
stopAllSounds();
Symbol 63 MovieClip Frame 9
gotoAndStop (7);
Symbol 63 MovieClip Frame 17
if ((getProperty("/chiazilla", _x) + getProperty("/chiazilla", _width)) >= ((getProperty("/mechazilla", _x) - getProperty("mechazilla", _width)) + /:range)) {
Set("/:punch", "1");
tellTarget ("/" add opponent) {
gotoAndStop ("step2");
};
if (/:players == "1") {
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "1");
};
} else {
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "10");
};
}
opponentsxpos = getProperty("/" add opponent, _x);
if (_name eq "chiazilla") {
setProperty("/" add opponent, _x , opponentsxpos + ("2" * shortdamage));
} else {
setProperty("/" add opponent, _x , opponentsxpos - ("2" * shortdamage));
}
}
Symbol 63 MovieClip Frame 20
gotoAndStop (7);
Symbol 63 MovieClip Frame 36
if ((getProperty("/chiazilla", _x) + getProperty("/chiazilla", _width)) >= (getProperty("/mechazilla", _x) - getProperty("mechazilla", _width))) {
Set("/:fire", "1");
tellTarget ("/" add opponent) {
gotoAndStop ("step2");
};
if (/:players == "1") {
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "5");
};
} else {
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "20");
};
}
opponentsxpos = getProperty("/" add opponent, _x);
setProperty("/" add opponent, _x , opponentsxpos + ("2" * longdamage));
tellTarget (("/" add opponent) add "/takehit") {
gotoAndPlay ("burn");
};
if (_name eq "chiazilla") {
setProperty("/" add opponent, _x , opponentsxpos + ("2" * shortdamage));
} else {
setProperty("/" add opponent, _x , opponentsxpos - ("2" * shortdamage));
}
}
Symbol 63 MovieClip Frame 55
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "2");
};
gotoAndStop (7);
Symbol 63 MovieClip Frame 58
tellTarget ("/buildingback") {
gotoAndPlay ("falldown");
}
Symbol 63 MovieClip Frame 80
stop();
Symbol 63 MovieClip Frame 134
stop();
Symbol 63 MovieClip Frame 149
if (randomair:catchable == "1") {
tellTarget ("randomair") {
gotoAndPlay ("randomize");
};
tellTarget (ownhealth) {
gotoAndStop(_currentframe - "10");
};
}
if (randomair:blockable == "1") {
tellTarget ("randomair") {
gotoAndPlay ("throwrocket");
};
tellTarget (("/" add opponent) add "/takehit") {
gotoAndPlay ("explosion");
};
}
Symbol 63 MovieClip Frame 150
call("catch");
Symbol 63 MovieClip Frame 151
call("catch");
Symbol 63 MovieClip Frame 152
call("catch");
Symbol 63 MovieClip Frame 153
call("catch");
Symbol 63 MovieClip Frame 154
call("catch");
Symbol 63 MovieClip Frame 155
call("catch");
Symbol 63 MovieClip Frame 156
call("catch");
Symbol 63 MovieClip Frame 159
gotoAndStop (7);
Symbol 63 MovieClip Frame 183
trace(_name);
Set("/:rocketmax", "1000");
if (_name eq "chiazilla") {
opponent = "mechazilla";
opponenthealth = "/healthmecha";
ownhealth = "/healthchia";
} else {
opponent = "chiazilla";
opponenthealth = "/healthchia";
ownhealth = "/healthmecha";
}
Set("/:range", "20");
Set("/:chiabounds", getProperty("/chiazilla", _x) + getProperty("/chiazilla", _width));
Set("/:mechbounds", getProperty("/mechazilla", _x) - getProperty("mechazilla", _width));
xpos = _x;
ypos = _y;
rocketdamage = "10";
shortdamage = "10";
longdamage = "10";
trace(xpos);
trace(dx);
trace("adsgfasdf");
Symbol 63 MovieClip Frame 189
if (/:players == "2") {
} else if (/:punch == "1") {
Set("/:punch", "0");
gotoAndPlay (211);
} else if (/:fire == "1") {
Set("/:fire", "0");
gotoAndPlay (211);
} else if (randomair:catchable == "1") {
gotoAndPlay (330);
} else {
ma = random("10") + "1";
if ("3" >= ma) {
_x = (_x - "40");
} else if (ma >= "6") {
ls = random("2") + "1";
if (ls == "1") {
gotoAndPlay (196);
} else if (ls == "2") {
gotoAndPlay (211);
}
}
play();
}
stopAllSounds();
Symbol 63 MovieClip Frame 191
gotoAndPlay (189);
Symbol 63 MovieClip Frame 196
if (/:players == "1") {
if (randomair:catchable == "1") {
gotoAndPlay (330);
}
}
Symbol 63 MovieClip Frame 199
if ((getProperty("/chiazilla", _x) + getProperty("/chiazilla", _width)) >= ((getProperty("/mechazilla", _x) - getProperty("mechazilla", _width)) + /:range)) {
tellTarget ("/" add opponent) {
gotoAndStop ("step");
};
if (/:players == "1") {
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "20");
};
}
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "20");
};
opponentsxpos = getProperty("/" add opponent, _x);
if (_name eq "chiazilla") {
setProperty("/" add opponent, _x , opponentsxpos + ("2" * shortdamage));
} else {
setProperty("/" add opponent, _x , opponentsxpos - ("2" * shortdamage));
}
}
Symbol 63 MovieClip Frame 204
gotoAndStop (189);
Symbol 63 MovieClip Frame 226
if ((getProperty("/chiazilla", _x) + getProperty("/chiazilla", _width)) >= (getProperty("/mechazilla", _x) - getProperty("mechazilla", _width))) {
tellTarget ("/" add opponent) {
gotoAndStop ("step");
};
tellTarget (opponenthealth) {
if (/:players == "1") {
gotoAndStop(_currentframe + "40");
}
gotoAndStop(_currentframe + "20");
};
opponentsxpos = getProperty("/" add opponent, _x);
setProperty("/" add opponent, _x , opponentsxpos + ("2" * longdamage));
tellTarget (("/" add opponent) add "/takehit") {
gotoAndPlay ("burn");
};
if (_name eq "chiazilla") {
setProperty("/" add opponent, _x , opponentsxpos + ("2" * shortdamage));
} else {
setProperty("/" add opponent, _x , opponentsxpos - ("2" * shortdamage));
}
}
Symbol 63 MovieClip Frame 245
tellTarget (opponenthealth) {
gotoAndStop(_currentframe + "2");
};
gotoAndStop (189);
Symbol 63 MovieClip Frame 248
tellTarget ("/buildingback") {
gotoAndPlay ("falldown");
}
Symbol 63 MovieClip Frame 269
stop();
Symbol 63 MovieClip Frame 324
stop();
Symbol 63 MovieClip Frame 339
if (randomair:catchable == "1") {
tellTarget ("randomair") {
gotoAndPlay ("randomize");
};
tellTarget (ownhealth) {
gotoAndStop(_currentframe - "10");
};
}
if (randomair:blockable == "1") {
tellTarget ("randomair") {
gotoAndPlay ("throwrocket");
};
tellTarget (("/" add opponent) add "/takehit") {
gotoAndPlay ("explosion");
};
}
Symbol 63 MovieClip Frame 340
call("catch2");
Symbol 63 MovieClip Frame 341
call("catch2");
Symbol 63 MovieClip Frame 342
call("catch2");
Symbol 63 MovieClip Frame 343
call("catch2");
Symbol 63 MovieClip Frame 344
call("catch2");
Symbol 63 MovieClip Frame 345
call("catch2");
Symbol 63 MovieClip Frame 346
call("catch2");
Symbol 63 MovieClip Frame 349
gotoAndStop (189);
Symbol 81 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 31
stop();
Symbol 90 Button
on (release) {
gotoAndPlay (199);
}
Symbol 92 Button
on (release) {
gotoAndPlay (201);
}
Symbol 98 Button
on (release) {
Set("/:players", "1");
gotoAndPlay (203);
}
Symbol 100 Button
on (release) {
gotoAndPlay (142);
}
Symbol 113 Button
on (release) {
Set("/:players", "2");
gotoAndPlay (203);
}
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 31
stop();
Symbol 127 MovieClip Frame 100
_visible = "0";
Symbol 129 MovieClip Frame 100
_visible = "0";
Symbol 131 MovieClip Frame 1
setProperty("trafficrandom1", _visible , "0");
setProperty("trafficrandom2", _visible , "0");
setProperty("trafficrandom3", _visible , "0");
Symbol 131 MovieClip Frame 10
trandommax = "10";
random1 = random(trandommax);
random2 = random(trandommax);
random3 = random(trandommax);
if (random1 == "1") {
setProperty("trafficrandom1", _visible , "1");
}
if (random2 == "2") {
setProperty("trafficrandom2", _visible , "1");
}
if (random3 == "3") {
setProperty("trafficrandom2", _visible , "1");
}
Symbol 131 MovieClip Frame 115
gotoAndPlay (10);
Symbol 136 Button
on (keyPress "x") {
chance = random("10") + "1";
if (/:players == "1") {
if ("9" >= chance) {
tellTarget ("/chiazilla") {
gotoAndPlay ("short");
};
}
} else {
tellTarget ("/chiazilla") {
gotoAndPlay ("short");
};
}
}
on (keyPress "X") {
chance = random("10") + "1";
if (/:players == "1") {
if ("9" >= chance) {
tellTarget ("/chiazilla") {
gotoAndPlay ("long");
};
}
} else {
tellTarget ("/chiazilla") {
gotoAndPlay ("long");
};
}
}
Symbol 137 Button
on (keyPress "S") {
chance = random("10") + "1";
if (/:players == "1") {
if ("9" >= chance) {
tellTarget ("/chiazilla") {
gotoAndPlay ("long");
};
}
} else {
tellTarget ("/chiazilla") {
gotoAndPlay ("long");
};
}
}
on (press, keyPress "s") {
chance = random("10") + "1";
if (/:players == "1") {
if ("9" >= chance) {
tellTarget ("/chiazilla") {
gotoAndPlay ("long");
};
}
} else {
tellTarget ("/chiazilla") {
gotoAndPlay ("long");
};
}
}
Symbol 138 Button
on (keyPress "z") {
tellTarget ("/chiazilla") {
gotoAndPlay ("step");
xpos = _x - /:dx;
_x = xpos;
}
}
on (keyPress "Z") {
tellTarget ("/chiazilla") {
gotoAndPlay ("step");
xpos = _x - /:dx;
_x = xpos;
}
}
Symbol 139 Button
on (keyPress "c") {
if (getProperty("/chiazilla", _x) < getProperty("/mechazilla", _x)) {
tellTarget ("/chiazilla") {
gotoAndPlay ("step");
xpos = _x + /:dx;
_x = xpos;
};
}
}
on (keyPress "C") {
if (getProperty("/chiazilla", _x) < getProperty("/mechazilla", _x)) {
tellTarget ("/chiazilla") {
gotoAndPlay ("step");
xpos = _x + /:dx;
_x = xpos;
};
}
}
Symbol 142 Button
on (keyPress "<Space>") {
tellTarget ("/chiazilla") {
gotoAndPlay ("reach");
}
}
Symbol 143 Button
on (keyPress "<Enter>") {
if (/:players == "2") {
tellTarget ("/mechazilla") {
gotoAndPlay ("reach2");
};
}
}
Symbol 144 Button
on (keyPress "<Down>") {
if (/:players == "2") {
tellTarget ("/mechazilla") {
gotoAndPlay ("short2");
};
}
}
Symbol 145 Button
on (keyPress "<Up>") {
if (/:players == "2") {
tellTarget ("/mechazilla") {
gotoAndPlay ("long2");
};
}
}
Symbol 146 Button
on (keyPress "<Left>") {
if (/:players == "2") {
if (getProperty("/chiazilla", _x) < getProperty("/mechazilla", _x)) {
tellTarget ("/mechazilla") {
gotoAndPlay ("step2");
xpos = _x - /:dx;
_x = xpos;
};
}
}
}
Symbol 147 Button
on (keyPress "<Right>") {
if (/:players == "2") {
tellTarget ("/mechazilla") {
gotoAndPlay ("step2");
xpos = _x + /:dx;
_x = xpos;
};
}
}
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 12
gotoAndStop (1);
Symbol 153 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 164 Button
on (release, keyPress "<Space>") {
if (/:nummechawins >= "2") {
gotoAndStop (233);
} else if (/:numchiawins >= "2") {
gotoAndStop (233);
} else {
gotoAndPlay (209);
}
}
Symbol 167 Button
on (release, keyPress "<Space>") {
if ((/:players == "1") and ("1" < /:numchiawins)) {
toggleHighQuality();
gotoAndPlay (239);
} else if (/:players == "2") {
toggleHighQuality();
gotoAndPlay (201);
} else {
toggleHighQuality();
gotoAndPlay (199);
}
}
Symbol 173 Button
on (release) {
gotoAndPlay (142);
}
Symbol 181 Button
on (release) {
gotoAndPlay (271);
}