Frame 1
fscommand ("showmenu", false);
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
}
Frame 2
if (_root.getBytesLoaded() != _root.getBytesTotal()) {
gotoAndPlay (1);
}
Frame 3
Stage.showMenu = false;
Frame 8
yourmanager = "Johnson";
_root.savefile = SharedObject.getLocal("ags");
if (_root.savefile.data.playername != undefined) {
_root.playername = _root.savefile.data.playername;
}
stop();
Frame 9
stop();
Frame 10
stop();
Frame 26
stop();
Frame 27
stop();
Frame 28
allowreset = 1;
ballspeed = 2;
recordweight = 0;
noofchampionships = 0;
worldrecord = 2000;
nationalrecord = 1250;
regionalrecord = 1000;
hometownrecord = 750;
backyardrecord = 500;
n_world = 0;
n_national = 0;
n_regional = 0;
n_hometown = 0;
n_backyard = 0;
aip1 = "Brad ";
aip2 = "John F ";
aip3 = "Chip Dale ";
aip4 = "Wayne ";
aip5 = "Ahmed ";
aip6 = "Zach ";
aip7 = "Joshiwara ";
aip8 = "Inglor ";
aip9 = "Kuro ";
aip10 = "Orb ";
aip11 = "Zielak ";
aip12 = "Eric ";
aip13 = "Shoukei ";
aip14 = "Tom ";
aip15 = "Wade ";
aip16 = "Lil Jim ";
aip17 = "Clark ";
aip18 = "Bruce ";
aip19 = "Mark ";
aip20 = "Daniel ";
aip21 = "Kurt ";
aip22 = "Eddie ";
aip23 = "Sad Girl ";
aip24 = "Tyler ";
aip25 = "Botsman ";
aip26 = "Vincent ";
aip27 = "Ben ";
aip28 = "Eiji ";
aip29 = "Akira ";
aip30 = "Tatsuya ";
aip31 = "Ichigo ";
aip32 = "Kenshin ";
aip33 = "Goku ";
aip34 = "Gohan ";
aip35 = "Sara ";
aip36 = "Sally ";
aip37 = "Jess ";
aip38 = "Jennifer ";
aip39 = "Happy Liau ";
aip40 = "Lord Evarts ";
aip41 = "Connie ";
aip42 = "Patsy ";
aip43 = "Liza ";
aip44 = "Tanya ";
aip45 = "Belinda ";
aip46 = "Yuri ";
aip47 = "Yoko ";
aip48 = "Shizuka ";
aip49 = "Aori ";
aip50 = "Irene ";
aip51 = "Helen S ";
aip52 = "Viki ";
aip53 = "Sarima ";
aip54 = "Delilah ";
aip55 = "Georgia ";
aip56 = "Michelle ";
aip57 = "Mike ";
aip58 = "Ivan ";
aip59 = "Laura ";
aip60 = "Tammy ";
worldchampion = _root["aip" + (random(60) + 1)];
nationalchampion = _root["aip" + (random(60) + 1)];
regionalchampion = _root["aip" + (random(60) + 1)];
hometownchampion = _root["aip" + (random(60) + 1)];
backyardchampion = _root["aip" + (random(60) + 1)];
_quality = "MEDIUM";
Stage.showMenu = false;
_root.savefile = SharedObject.getLocal("ags");
if (_root.savefile.data.playername != undefined) {
_root.ballspeed = _root.savefile.data.ballspeed;
_root.recordweight = _root.savefile.data.recordweight;
_root.noofchampionships = _root.savefile.data.noofchampionships;
_root.worldrecord = _root.savefile.data.worldrecord;
_root.nationalrecord = _root.savefile.data.nationalrecord;
_root.regionalrecord = _root.savefile.data.regionalrecord;
_root.hometownrecord = _root.savefile.data.hometownrecord;
_root.backyardrecord = _root.savefile.data.backyardrecord;
_root.n_world = _root.savefile.data.n_world;
_root.n_national = _root.savefile.data.n_national;
_root.n_regional = _root.savefile.data.n_regional;
_root.n_hometown = _root.savefile.data.n_hometown;
_root.n_backyard = _root.savefile.data.n_backyard;
_root.worldchampion = _root.savefile.data.worldchampion;
_root.nationalchampion = _root.savefile.data.nationalchampion;
_root.regionalchampion = _root.savefile.data.regionalchampion;
_root.hometownchampion = _root.savefile.data.hometownchampion;
_root.backyardchampion = _root.savefile.data.backyardchampion;
}
Frame 29
weight = 1;
gameon = 0;
startmoving = 0;
Instance of Symbol 167 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.snowball._x, _root.snowball._y, true)) {
if (_root.snowball.xspeed > 0) {
_root.snowball.xspeed = _root.snowball.xspeed * -1;
}
}
}
Instance of Symbol 167 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.snowball._x, _root.snowball._y, true)) {
if (_root.snowball.xspeed < 0) {
_root.snowball.xspeed = _root.snowball.xspeed * -1;
}
}
}
Instance of Symbol 240 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.gotoAndStop(3);
} else if (Key.isDown(39)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Frame 30
stop();
Frame 31
gameon = 1;
stop();
Instance of Symbol 358 MovieClip "snowball" in Frame 31
onClipEvent (load) {
yspeed = 0.01;
xspeed = 0;
_xscale = (20 + (_root.weight / 13));
_yscale = _xscale;
smashup = 0;
}
onClipEvent (enterFrame) {
if (smashup == 1) {
this.gotoAndPlay("smashup");
smashup = 0;
}
if (_root.gameon == 1) {
_x = (_x - xspeed);
}
if (this._y < 100) {
_y = (_y + yspeed);
yspeed = yspeed + 0.01;
} else if (_root.gameon) {
if (_root.topbg._y > -500) {
_root.topbg._y = _root.topbg._y - yspeed;
_root.startmoving = 1;
_root.readygo.play();
_root.readygo._name = "displayer";
}
if (Key.isDown(37)) {
xspeed = xspeed + (2 / (_root.weight * 0.01));
if ((xspeed > 10) && (_root.weight < 200)) {
xspeed = 10;
}
} else if (Key.isDown(39)) {
xspeed = xspeed - (2 / (_root.weight * 0.01));
if ((xspeed < -10) && (_root.weight < 200)) {
xspeed = -10;
}
} else if (xspeed != 0) {
if (xspeed < 0) {
xspeed = xspeed + (2 / (_root.weight * 0.05));
} else if (xspeed > 0) {
xspeed = xspeed - (2 / (_root.weight * 0.05));
}
}
_root.weight = _root.weight + 1;
yspeed = _root.ballspeed + (_root.weight / 140);
hspeed = (100 / _root.weight) / 5;
_xscale = (20 + (_root.weight / 13));
_yscale = _xscale;
}
}
Instance of Symbol 371 MovieClip "readygo" in Frame 31
onClipEvent (load) {
praise1 = 1;
praise2 = 1;
praise3 = 1;
praise4 = 1;
}
onClipEvent (enterFrame) {
this._y = _root.snowball._y - 60;
this._x = _root.snowball._x;
prevweight = _root.weight - 145;
if (((_root.weight >= 1000) && (prevweight <= 1000)) && (praise1 == 1)) {
this.gotoAndPlay("lookinggood");
praise1 = 0;
}
if (((_root.weight >= 1500) && (prevweight <= 1500)) && (praise2 == 1)) {
this.gotoAndPlay("lookinggood");
praise2 = 0;
}
if (((_root.weight >= 1750) && (prevweight <= 1750)) && (praise3 == 1)) {
this.gotoAndPlay("yeah");
praise3 = 0;
}
if (((_root.weight >= 2000) && (prevweight <= 2000)) && (praise4 == 1)) {
this.gotoAndPlay("awesome");
praise4 = 0;
}
if (_root.weight < 2000) {
praise4 = 1;
}
if (_root.weight < 1750) {
praise3 = 1;
}
if (_root.weight < 1500) {
praise2 = 1;
}
if (_root.weight < 1000) {
praise1 = 1;
}
}
Frame 32
if (_root.weight > _root.recordweight) {
_root.recordweight = _root.weight;
}
_root.savefile = SharedObject.getLocal("ags");
_root.savefile.data.playername = _root.playername;
_root.savefile.data.ballspeed = _root.ballspeed;
_root.savefile.data.recordweight = _root.recordweight;
_root.savefile.data.noofchampionships = _root.noofchampionships;
_root.savefile.data.worldrecord = _root.worldrecord;
_root.savefile.data.nationalrecord = _root.nationalrecord;
_root.savefile.data.regionalrecord = _root.regionalrecord;
_root.savefile.data.hometownrecord = _root.hometownrecord;
_root.savefile.data.backyardrecord = _root.backyardrecord;
_root.savefile.data.n_world = _root.n_world;
_root.savefile.data.n_national = _root.n_national;
_root.savefile.data.n_regional = _root.n_regional;
_root.savefile.data.n_hometown = _root.n_hometown;
_root.savefile.data.n_backyard = _root.n_backyard;
_root.savefile.data.worldchampion = _root.worldchampion;
_root.savefile.data.nationalchampion = _root.nationalchampion;
_root.savefile.data.regionalchampion = _root.regionalchampion;
_root.savefile.data.hometownchampion = _root.hometownchampion;
_root.savefile.data.backyardchampion = _root.backyardchampion;
_root.savefile.flush(80000);
stop();
Frame 33
stop();
Frame 38
stop();
Frame 44
_root.allowreset = 1;
gotoAndPlay (29);
Symbol 24 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 31 Button
on (release) {
getURL ("http://tam.atspace.com", "_blank");
}
Symbol 33 MovieClip Frame 1
this.onEnterFrame = function () {
Mouse.hide();
this.startDrag(true);
};
Symbol 41 MovieClip Frame 6
stop();
Symbol 44 Button
on (release) {
play();
}
Symbol 47 Button
on (release) {
if (_root.playername == "Type Name Here") {
_root.np.play();
} else {
play();
}
}
Symbol 53 MovieClip Frame 1
stop();
Symbol 93 Button
on (rollOver) {
_root.mana.sot = "Danny, nice manager with a nice smile. Gives good encouragement.";
}
on (release) {
_root.yourmanager = "Danny";
_root.play();
}
Symbol 94 Button
on (rollOver) {
_root.mana.sot = "Carla, a hot manager that won't make you bored.";
}
on (release) {
_root.yourmanager = "Carla";
_root.play();
}
Symbol 95 Button
on (rollOver) {
_root.mana.sot = "Aomi, your average manager. Leaves you to do what you want.";
}
on (release) {
_root.yourmanager = "Aomi";
_root.play();
}
Symbol 96 Button
on (rollOver) {
_root.mana.sot = "Johnson, tough manager who can't tolerate failure.";
}
on (release) {
_root.yourmanager = "Johnson";
_root.play();
}
Symbol 97 Button
on (rollOver) {
_root.mana.sot = "Maximillion, has lots of experience in the managerial field.";
}
on (release) {
_root.yourmanager = "Maximillion";
_root.play();
}
Symbol 118 MovieClip Frame 93
_root.play();
Symbol 122 Button
on (release) {
_root.play();
}
Symbol 124 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 124 MovieClip in Symbol 165 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 165 MovieClip Frame 179
_root.play();
Symbol 167 MovieClip Frame 1
_visible = false;
Symbol 174 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < -10) {
_y = 420;
_x = random(600);
}
}
};
Symbol 176 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < -10) {
_y = 420;
_x = random(600);
}
}
};
Symbol 178 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < -10) {
_y = 420;
_x = random(600);
}
}
};
Symbol 180 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < -10) {
_y = 420;
_x = random(600);
}
}
};
Symbol 181 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < (-10 - _height)) {
_y = 500;
_x = random(500);
}
}
if (this.hitTest(_root.snowball.detector)) {
_root.snowball.play();
}
};
Symbol 188 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < (-10 - _height)) {
_y = 500;
_x = random(600);
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.snowball.detector)) {
if (_root.weight < 200) {
_root.snowball.play();
} else {
this.play();
}
} else {
_x = (_x-1);
}
};
stop();
Symbol 188 MovieClip Frame 2
_root.weight = _root.weight + 20;
Symbol 188 MovieClip Frame 5
stop();
Symbol 189 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < (-10 - _height)) {
_y = 500;
_x = random(600);
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.snowball.detector)) {
if (_root.weight < 200) {
_root.snowball.play();
} else {
this.play();
}
} else {
_x = (_x+1);
}
};
stop();
Symbol 189 MovieClip Frame 2
_root.weight = _root.weight + 20;
Symbol 189 MovieClip Frame 5
stop();
Symbol 192 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < (-10 - _height)) {
_y = 500;
_x = random(600);
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.snowball.detector)) {
if (_root.weight < 350) {
_root.snowball.play();
} else {
this.play();
}
}
};
stop();
Symbol 192 MovieClip Frame 2
_root.weight = _root.weight + 100;
Symbol 192 MovieClip Frame 5
stop();
Symbol 202 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < (-100 - _height)) {
_y = 500;
_x = random(600);
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.snowball.detector)) {
if (_root.weight < 600) {
_root.snowball.play();
} else {
this.play();
}
} else {
_x = (_x-1);
}
};
stop();
Symbol 202 MovieClip Frame 2
_root.weight = _root.weight + 120;
Symbol 202 MovieClip Frame 5
stop();
Symbol 204 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < (-100 - _height)) {
_y = 500;
_x = random(600);
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.snowball.detector)) {
if (_root.weight < 600) {
_root.snowball.play();
} else {
this.play();
}
} else {
_x = (_x+1);
}
};
stop();
Symbol 204 MovieClip Frame 2
_root.weight = _root.weight + 120;
Symbol 204 MovieClip Frame 5
stop();
Symbol 219 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - (_root.snowball.yspeed / 4);
if (_y < (-140 - _height)) {
_y = 500;
_x = random(600);
this.gotoAndStop(1);
}
} else {
_y = (_y + 2);
}
if (this.hitTest(_root.snowball.detector)) {
if (_root.weight < 300) {
_root.snowball.play();
} else {
this.play();
}
}
};
stop();
Symbol 219 MovieClip Frame 2
_root.weight = _root.weight + 65;
Symbol 219 MovieClip Frame 7
stop();
Symbol 221 MovieClip Frame 1
cansmash = 1;
this.onEnterFrame = function () {
if (_root.startmoving == 1) {
this._y = this._y - _root.snowball.yspeed;
if (_y < (-10 - _height)) {
_y = 500;
_x = random(500);
cansmash = 1;
}
}
if (_root.snowball.detector.hitTest(this._x, this._y, true)) {
if (_root.weight < 1200) {
_root.snowball.play();
} else if (cansmash == 1) {
_root.snowball.smashup = 1;
cansmash = 0;
}
}
};
Symbol 222 Button
on (release) {
_root.play();
}
Symbol 229 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.gameon) {
gotoAndStop (1);
} else {
play();
}
};
stop();
Symbol 229 MovieClip Frame 4
gotoAndPlay (2);
Symbol 240 MovieClip Frame 1
stop();
Symbol 247 Button
on (release) {
_root.gotoAndPlay("startagain");
gotoAndStop (1);
}
Symbol 248 Button
on (release) {
_quality = "HIGH";
this.gotoAndStop(1);
}
Symbol 249 Button
on (release) {
_quality = "MEDIUM";
this.gotoAndStop(1);
}
Symbol 250 Button
on (release) {
_quality = "LOW";
this.gotoAndStop(1);
}
Symbol 251 Button
on (release) {
_root.ballspeed = 2;
this.gotoAndStop(1);
}
Symbol 252 Button
on (release) {
_root.ballspeed = 4;
this.gotoAndStop(1);
}
Symbol 254 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
stop();
Instance of Symbol 254 MovieClip in Symbol 255 MovieClip Frame 2
onClipEvent (load) {
itsvalue = 2;
thing = "ballspeed";
if (_root[thing] == itsvalue) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root[thing] == itsvalue) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 254 MovieClip in Symbol 255 MovieClip Frame 2
onClipEvent (load) {
itsvalue = 4;
thing = "ballspeed";
if (_root[thing] == itsvalue) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root[thing] == itsvalue) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 258 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
this.gotoAndStop(1);
}
Symbol 259 Button
on (release) {
getURL ("http://tam.atspace.com", "_blank");
this.gotoAndStop(1);
}
Symbol 260 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
stop();
Symbol 263 Button
on (release) {
_parent.recordout.gotoAndStop(2);
this.gotoAndStop(1);
}
Symbol 264 Button
on (release) {
_root.recordweight = 0;
_root.noofchampionships = 0;
_root.worldrecord = 2000;
_root.nationalrecord = 1250;
_root.regionalrecord = 1000;
_root.hometownrecord = 750;
_root.backyardrecord = 500;
_root.n_world = 0;
_root.n_national = 0;
_root.n_regional = 0;
_root.n_hometown = 0;
_root.n_backyard = 0;
_root.worldchampion = _root["aip" + (random(60) + 1)];
_root.nationalchampion = _root["aip" + (random(60) + 1)];
_root.regionalchampion = _root["aip" + (random(60) + 1)];
_root.hometownchampion = _root["aip" + (random(60) + 1)];
_root.backyardchampion = _root["aip" + (random(60) + 1)];
this.gotoAndStop(1);
}
Symbol 265 Button
on (release) {
getURL ("http://www.armorgames.com/highscores/viewScores.php?game=armorgamessnowball", "_blank");
this.gotoAndStop(1);
}
Symbol 266 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.allowreset)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
stop();
Symbol 268 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 272 Button
on (release) {
nextFrame();
}
Symbol 276 Button
on (release) {
prevFrame();
}
Symbol 280 Button
on (release) {
getURL ("http://tam.atspace.com", "_blank");
}
Symbol 281 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 282 MovieClip Frame 1
stop();
Symbol 283 Button
on (release) {
helpout.gotoAndStop(2);
}
Symbol 284 Button
on (release) {
_root.savefile = SharedObject.getLocal("ags");
_root.savefile.data.playername = _root.playername;
_root.savefile.data.ballspeed = _root.ballspeed;
_root.savefile.data.recordweight = _root.recordweight;
_root.savefile.data.noofchampionships = _root.noofchampionships;
_root.savefile.data.worldrecord = _root.worldrecord;
_root.savefile.data.nationalrecord = _root.nationalrecord;
_root.savefile.data.regionalrecord = _root.regionalrecord;
_root.savefile.data.hometownrecord = _root.hometownrecord;
_root.savefile.data.backyardrecord = _root.backyardrecord;
_root.savefile.data.n_world = _root.n_world;
_root.savefile.data.n_national = _root.n_national;
_root.savefile.data.n_regional = _root.n_regional;
_root.savefile.data.n_hometown = _root.n_hometown;
_root.savefile.data.n_backyard = _root.n_backyard;
_root.savefile.data.worldchampion = _root.worldchampion;
_root.savefile.data.nationalchampion = _root.nationalchampion;
_root.savefile.data.regionalchampion = _root.regionalchampion;
_root.savefile.data.hometownchampion = _root.hometownchampion;
_root.savefile.data.backyardchampion = _root.backyardchampion;
_root.savefile.flush(80000);
saved.play(2);
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
mylevel = Math.round(_root.noofchampionships / 10);
stop();
Instance of Symbol 335 MovieClip in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.backyardchampion == _root.playername) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 336 MovieClip in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hometownchampion == _root.playername) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 337 MovieClip in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.regionalchampion == _root.playername) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 338 MovieClip in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.nationalchampion == _root.playername) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 339 MovieClip in Symbol 340 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.worldchampion == _root.playername) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
_root.gameon = 0;
_root.startmoving = 0;
_root.displayer.gotoAndPlay("mygod");
Symbol 358 MovieClip Frame 16
_root.play();
stop();
Symbol 358 MovieClip Frame 17
_root.weight = Math.round(_root.weight / 1.5);
_root.displayer.gotoAndPlay("ohh");
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 26
stop();
Symbol 371 MovieClip Frame 73
stop();
Symbol 371 MovieClip Frame 113
stop();
Symbol 371 MovieClip Frame 156
stop();
Symbol 371 MovieClip Frame 193
stop();
Symbol 371 MovieClip Frame 250
stop();
Symbol 379 MovieClip Frame 1
if (_root.weight > _root.worldrecord) {
_root.worldrecord = _root.weight;
whichrecord = "WORLD";
if (_root.worldchampion != _root.playername) {
_root.new_world = 1;
_root.n_world++;
_root.worldchampion = _root.playername;
} else {
_root.new_world = 2;
}
_root.noofchampionships = (((_root.n_world + _root.n_national) + _root.n_regional) + _root.n_hometown) + _root.n_backyard;
gotoAndStop (2);
} else if (_root.weight > _root.nationalrecord) {
_root.nationalrecord = _root.weight;
whichrecord = "NATIONAL";
if (_root.nationalchampion != _root.playername) {
_root.new_national = 1;
_root.n_national++;
_root.nationalchampion = _root.playername;
} else {
_root.new_national = 2;
}
_root.noofchampionships = (((_root.n_world + _root.n_national) + _root.n_regional) + _root.n_hometown) + _root.n_backyard;
gotoAndStop (2);
} else if (_root.weight > _root.regionalrecord) {
_root.regionalrecord = _root.weight;
whichrecord = "REGIONAL";
if (_root.regionalchampion != _root.playername) {
_root.new_regional = 1;
_root.n_regional++;
_root.regionalchampion = _root.playername;
} else {
_root.new_regional = 2;
}
_root.noofchampionships = (((_root.n_world + _root.n_national) + _root.n_regional) + _root.n_hometown) + _root.n_backyard;
gotoAndStop (2);
} else if (_root.weight > _root.hometownrecord) {
_root.hometownrecord = _root.weight;
whichrecord = "HOMETOWN";
if (_root.hometownchampion != _root.playername) {
_root.new_hometown = 1;
_root.n_hometown++;
_root.hometownchampion = _root.playername;
} else {
_root.new_hometown = 2;
}
_root.noofchampionships = (((_root.n_world + _root.n_national) + _root.n_regional) + _root.n_hometown) + _root.n_backyard;
gotoAndStop (2);
} else if (_root.weight > _root.backyardrecord) {
_root.backyardrecord = _root.weight;
whichrecord = "BACKYARD";
if (_root.backyardchampion != _root.playername) {
_root.new_backyard = 1;
_root.n_backyard++;
_root.backyardchampion = _root.playername;
} else {
_root.new_backyard = 2;
}
_root.noofchampionships = (((_root.n_world + _root.n_national) + _root.n_regional) + _root.n_hometown) + _root.n_backyard;
gotoAndStop (2);
} else {
_root.new_world = 0;
_root.new_national = 0;
_root.new_regional = 0;
_root.new_hometown = 0;
_root.new_backyard = 0;
}
stop();
Symbol 390 MovieClip Frame 35
t = random(3);
if (t == 0) {
gotoAndPlay (22);
} else if (t == 1) {
gotoAndPlay (17);
}
Symbol 396 MovieClip Frame 1
stop();
Symbol 400 Button
on (release) {
if (_root.weight >= 1000) {
name = _root.playername;
score = _root.weight;
game = "armorgamessnowball";
loadVariables ("http://www.armorgames.com/highscores/postScore.php", this, "POST");
nextFrame();
} else {
gotoAndStop (3);
}
}
Symbol 404 Button
on (release) {
getURL ("http://www.armorgames.com/highscores/viewScores.php?game=armorgamessnowball", "_blank");
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 410 Button
on (release) {
_root.gotoAndPlay("startagain");
}
Instance of Symbol 396 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.yourmanager);
}
Symbol 412 MovieClip Frame 2
_root.allowreset = 0;
mmessage = "";
if (_root.new_world == 1) {
mmessage = _root.playername + ", you just broke the WORLD RECORD and became ARMOR GAMES WORLD SNOWBALL CHAMPION!! Wow!!";
_root.new_world = 0;
} else if (_root.new_national == 1) {
mmessage = ("A new NATIONAL record. You're currently the best in the country, " + _root.playername) + "!";
_root.new_national = 0;
} else if (_root.new_regional == 1) {
mmessage = "You made a new regional record! Way to go! Now you are on the road to win more!";
_root.new_regional = 0;
} else if (_root.new_hometown == 1) {
mmessage = ("You are now the BEST snowballer in your hometown, " + _root.playername) + ". A great achievement.";
_root.new_hometown = 0;
} else if (_root.new_backyard == 1) {
mmessage = "Hi there... new Backyard Champ! One more championship to add to your record.";
_root.new_backyard = 0;
} else if (_root.new_world == 2) {
mmessage = _root.playername + ", you just broke your own World Record!";
_root.new_world = 0;
} else if (_root.new_national == 2) {
mmessage = ("A new NATIONAL record from you, " + _root.playername) + "!";
_root.new_national = 0;
} else if (_root.new_regional == 2) {
mmessage = "You made a new regional record!";
_root.new_regional = 0;
} else if (_root.new_hometown == 2) {
mmessage = ("You are still the BEST snowballer in your hometown, " + _root.playername) + ". You beat your own record.";
_root.new_hometown = 0;
} else if (_root.new_backyard == 2) {
mmessage = "You have perfected your Backyard Record by beating it.";
_root.new_backyard = 0;
} else if (_root.yourmanager == "Danny") {
if (_root.weight > 1800) {
mmessage = "Great job!";
} else {
o = random(5);
switch (o) {
case 0 :
mmessage = "You can do better next time.";
case 1 :
mmessage = "It's all OK. There are other guys worse than you.";
case 2 :
mmessage = "There must be something wrong with the snowball.";
case 3 :
mmessage = "That one had a lot of potential.";
case 4 :
mmessage = "Today's snow is not so great. The snow is thin.";
}
}
} else if (_root.yourmanager == "Carla") {
if (_root.weight > 1800) {
mmessage = "Wow! Awesome Score!";
} else {
o = random(5);
switch (o) {
case 0 :
mmessage = "Ummm... those obstacles suck, don't they?";
case 1 :
mmessage = "Too bad... you could have done better.";
case 2 :
mmessage = "Ahh! Ahh! Come on!";
case 3 :
mmessage = "Good effort there.";
case 4 :
mmessage = "Not good enough.";
}
}
} else if (_root.yourmanager == "Aomi") {
if (_root.weight > 1800) {
mmessage = "Alright... YATTA!!";
} else {
o = random(5);
switch (o) {
case 0 :
mmessage = "Baka! That was not that great.";
case 1 :
mmessage = _root.playername + ", I believe you can do better than that.";
case 2 :
mmessage = "No way. No way. Again! Again!";
case 3 :
mmessage = "Roll a bigger one and I'll double your pay.";
case 4 :
mmessage = "Ahhh. Hmmm. You are frustrating.";
}
}
} else if (_root.yourmanager == "Johnson") {
if (_root.weight > 1800) {
mmessage = "Not bad. Not bad.";
} else {
o = random(5);
switch (o) {
case 0 :
mmessage = "Is that ALL you've GOT?! You weakling.";
case 1 :
mmessage = "You failed. Get down and give me 20.";
case 2 :
mmessage = "What a miserable effort.";
case 3 :
mmessage = "Even my grandma can do better than this.";
case 4 :
mmessage = "If you do that again I will roll you up into a snowball.";
}
}
} else if (_root.yourmanager == "Maximillion") {
if (_root.weight > 1800) {
mmessage = "Splendid. A big fat snowball.";
} else {
o = random(5);
switch (o) {
case 0 :
mmessage = "Bah!";
case 1 :
mmessage = "That's all? I'd better go to sleep.";
case 2 :
mmessage = "No more food for you until you get a bigger snowball.";
case 3 :
mmessage = "Even I can roll a bigger snowball.";
case 4 :
mmessage = "Your effort is OK but you seem distracted.";
}
}
}
w = random(10);
if (w == 1) {
_root.worldrecord = _root.worldrecord + random(10);
_root.worldchampion = _root["aip" + (random(60) + 1)];
}
n = random(8);
if (n == 1) {
currenter = _root.nationalrecord;
_root.nationalrecord = _root.nationalrecord + random(17);
while (_root.nationalrecord >= _root.worldrecord) {
_root.nationalrecord--;
}
if (_root.nationalrecord == currenter) {
n = 0;
} else {
_root.nationalchampion = _root["aip" + (random(60) + 1)];
}
}
r = random(6);
if (r == 1) {
currenter = _root.regionalrecord;
_root.regionalrecord = _root.regionalrecord + random(25);
while (_root.regionalrecord >= _root.nationalrecord) {
_root.regionalrecord--;
}
if (_root.regionalrecord == currenter) {
r = 0;
} else {
_root.regionalchampion = _root["aip" + (random(60) + 1)];
}
}
h = random(4);
if (h == 1) {
currenter = _root.hometownrecord;
_root.hometownrecord = _root.hometownrecord + random(50);
while (_root.hometownrecord >= _root.regionalrecord) {
_root.hometownrecord--;
}
if (_root.hometownrecord == currenter) {
h = 0;
} else {
_root.hometownchampion = _root["aip" + (random(60) + 1)];
}
}
b = random(3);
if (b == 1) {
currenter = _root.backyardrecord;
_root.backyardrecord = _root.backyardrecord + random(100);
while (_root.backyardrecord >= _root.hometownrecord) {
_root.backyardrecord--;
}
if (_root.backyardrecord == currenter) {
b = 0;
} else {
_root.backyardchampion = _root["aip" + (random(60) + 1)];
}
}
stop();
Symbol 412 MovieClip Frame 3
mmessage = "Now I bring you news that I have just received.";
Symbol 412 MovieClip Frame 4
if (w == 1) {
mmessage = ("I've got dire news. " + _root.worldchampion) + " broke the World Record! Oh my God.";
_root.newrecordsymb.gotoAndStop(4);
} else {
mmessage = "The World Record still stays.";
}
Symbol 412 MovieClip Frame 5
if (n == 1) {
mmessage = ("The national record has been broken! " + _root.nationalchampion) + " is the new national champion.";
_root.newrecordsymb.gotoAndStop(4);
} else {
mmessage = "No one broke the national record...";
}
Symbol 412 MovieClip Frame 6
if (r == 1) {
mmessage = _root.regionalchampion + " has become the new regional champion. Something you should know.";
_root.newrecordsymb.gotoAndStop(4);
} else {
mmessage = "The regional record is left untouched.";
}
Symbol 412 MovieClip Frame 7
if (h == 1) {
mmessage = _root.hometownchampion + " is the new hometown champion. But I am sure you can beat that score.";
_root.newrecordsymb.gotoAndStop(4);
} else {
mmessage = "The hometown champion is still the same.";
}
Symbol 412 MovieClip Frame 8
if (b == 1) {
mmessage = ((_root.playername + ", ") + _root.backyardchampion) + " broke the backyard record.";
_root.newrecordsymb.gotoAndStop(4);
} else {
mmessage = "The Backyard record has not been broken yet.";
}
Symbol 412 MovieClip Frame 9
mmessage = "You can also submit your current score online by clicking on the button above. But your score must be at least 1000.";
Symbol 412 MovieClip Frame 10
if (_root.yourmanager == "Danny") {
mmessage = "Great work nonetheless. Prove me right! ";
} else if (_root.yourmanager == "Carla") {
mmessage = "Play one more game for me... OK? ";
} else if (_root.yourmanager == "Aomi") {
mmessage = _root.playername + ", I'll be watching you and supporting you from behind. ";
} else if (_root.yourmanager == "Johnson") {
mmessage = "Get in there and play one more game! ";
} else if (_root.yourmanager == "Maximillion") {
mmessage = "Roll a snowball. The bigger it is, the bigger your determination. ";
}
if (_root.worldchampion != _root.playername) {
mmessage = mmessage + "You still need to become the World Champion!";
}