Combined Code
button 74 {
on (release) {
getURL(official_version_url, '_blank');
}
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 95 NewgroundsAPIAsset_big_popup_background {
frame 1 {
}
}
// unknown tag 88 length 287
button 102 {
on (release) {
getURL(official_version_url, '_blank');
}
}
// unknown tag 88 length 69
movieClip 105 NewgroundsAsset_Illegal_Host {
frame 1 {
}
}
movieClip 114 NewgroundsAsset_New_Version_Available {
frame 1 {
}
}
movieClip 116 {
}
movieClip 121 NewgroundsAPIAsset_Connection_Error {
frame 1 {
}
frame 10 {
stop();
}
frame 21 {
this.removeMovieClip();
_visible = false;
stop();
}
}
movieClip 124 NewgroundsAPIAsset_Login_Warning {
frame 1 {
}
frame 10 {
stop();
}
frame 21 {
this.removeMovieClip();
_visible = false;
stop();
}
}
movieClip 125 NewgroundsAPIAsset_Medal_Icon_Placeholder {
}
movieClip 130 NewgroundsAPIAsset_Medal_Popup {
frame 1 {
}
frame 2 {
medal.attachIcon(icon);
}
frame 10 {
}
frame 21 {
this.removeMovieClip();
_visible = false;
stop();
}
}
movieClip 137 {
frame 1 {
}
}
movieClip 139 {
frame 10 {
stop();
}
}
movieClip 141 {
frame 37 {
_parent.setGotoFrame('done');
stop();
}
}
movieClip 142 API Connector (NewgroundsAPI) {
#initclip
Object.registerClass('API Connector (NewgroundsAPI)', com.newgrounds.components.APIConnector);
#endinitclip
frame 20 {
_visible = false;
}
}
frame 1 {
Stage.showMenu = false;
_global.sfxon;
sfxon = 1;
_global.musicon;
musicon = 1;
_global.i;
i = 0;
_global.handstate;
handstate = 1;
_global.score;
score = 0;
_global.totalscore;
totalscore = 0;
_global.speechran;
speechran = 1;
_global.customerran;
customerran = 1;
_global.customerranB;
customerranB = 1;
_global.vipran;
vipran = 0;
_global.female;
female = 0;
_global.magagent;
magagent = 0;
_global.order1ran;
order1ran = 53;
_global.order2ran;
order2ran = 53;
_global.order3ran;
order3ran = 53;
_global.unlockA;
unlockA = 5;
_global.unlockB;
unlockB = 10;
_global.unlockC;
unlockC = 20;
_global.unlockD;
unlockD = 30;
_global.vipunlocked1;
vipunlocked1 = 0;
_global.vipunlocked2;
vipunlocked2 = 0;
_global.vipunlocked3;
vipunlocked3 = 0;
_global.vipunlocked4;
vipunlocked4 = 0;
_global.vipunlocked5;
vipunlocked5 = 0;
_global.vipunlocked6;
vipunlocked6 = 0;
_global.vipunlocked7;
vipunlocked7 = 0;
_global.vipunlocked8;
vipunlocked8 = 0;
_global.vipunlocked9;
vipunlocked9 = 0;
_global.vipunlocked10;
vipunlocked10 = 0;
_global.vipunlocked11;
vipunlocked11 = 0;
_global.vipunlocked12;
vipunlocked12 = 0;
_global.vipunlocked13;
vipunlocked13 = 0;
_global.vipunlocked14;
vipunlocked14 = 0;
_global.vipunlocked15;
vipunlocked15 = 0;
_global.vipunlocked16;
vipunlocked16 = 0;
_global.vipunlocked17;
vipunlocked17 = 0;
_global.vipunlocked18;
vipunlocked18 = 0;
_global.vipunlocked19;
vipunlocked19 = 0;
_global.vipunlocked20;
vipunlocked20 = 0;
_global.vipunlocked21;
vipunlocked21 = 0;
_global.vipunlocked22;
vipunlocked22 = 0;
_global.vipunlocked23;
vipunlocked23 = 0;
_global.vipunlocked24;
vipunlocked24 = 0;
_global.vipunlocked25;
vipunlocked25 = 0;
_global.vipunlocked26;
vipunlocked26 = 0;
_global.vipunlocked27;
vipunlocked27 = 0;
_global.vipunlocked28;
vipunlocked28 = 0;
_global.vipunlocked29;
vipunlocked29 = 0;
_global.vipunlocked30;
vipunlocked30 = 0;
_global.vipunlocked31;
vipunlocked31 = 0;
_global.vipunlocked0;
vipunlocked0 = 0;
var my_date = new Date();
_global.medalunlocked1;
medalunlocked1 = 0;
_global.medalunlocked2;
medalunlocked2 = 0;
_global.medalunlocked3;
medalunlocked3 = 0;
_global.medalunlocked4;
medalunlocked4 = 0;
_global.medalunlocked5;
medalunlocked5 = 0;
_global.medalunlocked6;
medalunlocked6 = 0;
_global.medalunlocked7;
medalunlocked7 = 0;
_global.medalunlocked8;
medalunlocked8 = 0;
_global.medalunlocked9;
medalunlocked9 = 0;
_global.medalunlocked10;
medalunlocked10 = 0;
_global.medalunlocked11;
medalunlocked11 = 0;
_global.medalunlocked12;
medalunlocked12 = 0;
_global.medalunlocked13;
medalunlocked13 = 0;
_global.medalunlocked14;
medalunlocked14 = 0;
_global.medalunlocked15;
medalunlocked15 = 0;
_global.medalunlocked16;
medalunlocked16 = 0;
bgm = new Sound();
bgm.attachSound('Aalasteir - Outfit -- WAV.wav');
clicksound = new Sound();
clicksound.attachSound('[ML]_GUN_01.wav');
gunsound = new Sound();
gunsound.attachSound('[ML]_GUN_02.wav');
cabinetsound = new Sound();
cabinetsound.attachSound('Cabinet open.wav');
cigsound = new Sound();
cigsound.attachSound('Cig shake.wav');
plushsound = new Sound();
plushsound.attachSound('Plush Squeak.wav');
sodasound = new Sound();
sodasound.attachSound('Soda Pour.wav');
booksound = new Sound();
booksound.attachSound('Place book pick up.wav');
booksoundB = new Sound();
booksoundB.attachSound('Place book back on shelf.wav');
bunsound = new Sound();
bunsound.attachSound('Bun pick up.wav');
cigcasesound = new Sound();
cigcasesound.attachSound('Cig case opens.wav');
cupsound = new Sound();
cupsound.attachSound('Cup pick up.wav');
wienersound = new Sound();
wienersound.attachSound('Sausage pick up.wav');
trashsound = new Sound();
trashsound.attachSound('Trash current order.wav');
smallbuttonsound = new Sound();
smallbuttonsound.attachSound('Menu Button (highlight).wav');
gutssound = new Sound();
gutssound.attachSound('bloodsplosion.WAV');
crapdogsound = new Sound();
crapdogsound.attachSound('Messed up order.wav');
_global.foodsoundran;
foodsoundran = 1;
foodsound1 = new Sound();
foodsound1.attachSound('Grabbing Food (1).wav');
foodsound2 = new Sound();
foodsound2.attachSound('Grabbing Food (2).wav');
_global.saucesoundran;
saucesoundran = 1;
saucesound1 = new Sound();
saucesound1.attachSound('Sauce Squirt.wav');
saucesound2 = new Sound();
saucesound2.attachSound('Sauce.wav');
impatientsound1 = new Sound();
impatientsound1.attachSound('Aalasteir - Grunt Impatient - WAV -- 1.wav');
impatientsound2 = new Sound();
impatientsound2.attachSound('Aalasteir - Grunt Impatient - WAV -- 2.wav');
impatientsound3 = new Sound();
impatientsound3.attachSound('Aalasteir - Grunt Impatient - WAV -- 3.wav');
impatientsound4 = new Sound();
impatientsound4.attachSound('Aalasteir - Grunt Impatient - WAV -- 4.wav');
impatientsound5 = new Sound();
impatientsound5.attachSound('Aalasteir - Grunt Impatient - WAV -- 5.wav');
impatientsound6 = new Sound();
impatientsound6.attachSound('Aalasteir - Grunt Impatient - WAV -- 6.wav');
impatientsound7 = new Sound();
impatientsound7.attachSound('Aalasteir - Grunt Impatient - WAV -- 7.wav');
impatientsound8 = new Sound();
impatientsound8.attachSound('Aalasteir - Grunt Impatient - WAV -- 8.wav');
impatientsound9 = new Sound();
impatientsound9.attachSound('Aalasteir - Grunt Impatient - WAV -- 9.wav');
impatientsound10 = new Sound();
impatientsound10.attachSound('Aalasteir - Grunt Impatient - WAV -- 10.wav');
ordersound1 = new Sound();
ordersound1.attachSound('Aalasteir - Grunt Ordering - WAV -- 1.wav');
ordersound2 = new Sound();
ordersound2.attachSound('Aalasteir - Grunt Ordering - WAV -- 2.wav');
ordersound3 = new Sound();
ordersound3.attachSound('Aalasteir - Grunt Ordering - WAV -- 3.wav');
ordersound4 = new Sound();
ordersound4.attachSound('Aalasteir - Grunt Ordering - WAV -- 4.wav');
ordersound5 = new Sound();
ordersound5.attachSound('Aalasteir - Grunt Ordering - WAV -- 5.wav');
ordersound6 = new Sound();
ordersound6.attachSound('Aalasteir - Grunt Ordering - WAV -- 6.wav');
ordersound7 = new Sound();
ordersound7.attachSound('Aalasteir - Grunt Ordering - WAV -- 7.wav');
ordersound8 = new Sound();
ordersound8.attachSound('Aalasteir - Grunt Ordering - WAV -- 8.wav');
ordersound9 = new Sound();
ordersound9.attachSound('Aalasteir - Grunt Ordering - WAV -- 9.wav');
ordersound10 = new Sound();
ordersound10.attachSound('Aalasteir - Grunt Ordering - WAV -- 10.wav');
ordersound11 = new Sound();
ordersound11.attachSound('Aalasteir - Grunt Ordering - WAV -- 11.wav');
ordersound12 = new Sound();
ordersound12.attachSound('Aalasteir - Grunt Ordering - WAV -- 12.wav');
ordersound13 = new Sound();
ordersound13.attachSound('Aalasteir - Grunt Ordering - WAV -- 13.wav');
ordersound14 = new Sound();
ordersound14.attachSound('Aalasteir - Grunt Ordering - WAV -- 14.wav');
ordersound15 = new Sound();
ordersound15.attachSound('Aalasteir - Grunt Ordering - WAV -- 15.wav');
vendorsound1 = new Sound();
vendorsound1.attachSound('Aalasteir - Vendor - WAV -- 1.wav');
vendorsound2 = new Sound();
vendorsound2.attachSound('Aalasteir - Vendor - WAV -- 2.wav');
vendorsound3 = new Sound();
vendorsound3.attachSound('Aalasteir - Vendor - WAV -- 3.wav');
vendorsound4 = new Sound();
vendorsound4.attachSound('Aalasteir - Vendor - WAV -- 4.wav');
vendorsound5 = new Sound();
vendorsound5.attachSound('Aalasteir - Vendor - WAV -- 5.wav');
vendorsound6 = new Sound();
vendorsound6.attachSound('Aalasteir - Vendor - WAV -- 6.wav');
vendorsound7 = new Sound();
vendorsound7.attachSound('Aalasteir - Vendor - WAV -- 7.wav');
vendorsound8 = new Sound();
vendorsound8.attachSound('Aalasteir - Vendor - WAV -- 8.wav');
vendorsound9 = new Sound();
vendorsound9.attachSound('Aalasteir - Vendor - WAV -- 9.wav');
vendorsound10 = new Sound();
vendorsound10.attachSound('Aalasteir - Vendor - WAV -- 10.wav');
vendorsound11 = new Sound();
vendorsound11.attachSound('Aalasteir - Vendor - WAV -- 11.wav');
vendorsound12 = new Sound();
vendorsound12.attachSound('Aalasteir - Vendor - WAV -- 12.wav');
vendorsound13 = new Sound();
vendorsound13.attachSound('Aalasteir - Vendor - WAV -- 13.wav');
vendorsound14 = new Sound();
vendorsound14.attachSound('Aalasteir - Vendor - WAV -- 14.wav');
vendorsound15 = new Sound();
vendorsound15.attachSound('Aalasteir - Vendor - WAV -- 15.wav');
vendorsound16 = new Sound();
vendorsound16.attachSound('Aalasteir - Vendor - WAV -- 16.wav');
vendorsound17 = new Sound();
vendorsound17.attachSound('Aalasteir - Vendor - WAV -- 17.wav');
vendorsound18 = new Sound();
vendorsound18.attachSound('Aalasteir - Vendor - WAV -- 18.wav');
vendorsound19 = new Sound();
vendorsound19.attachSound('Aalasteir - Vendor - WAV -- 19.wav');
vendorsound20 = new Sound();
vendorsound20.attachSound('Aalasteir - Vendor - WAV -- 20.wav');
vendorsound21 = new Sound();
vendorsound21.attachSound('Aalasteir - Vendor - WAV -- 21.wav');
}
movieClip 159 {
}
movieClip 164 {
}
movieClip 169 {
}
movieClip 171 {
}
movieClip 172 {
frame 1 {
function timerHandler() {
var v4;
if (!loadingComplete) {
v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
++v3;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof clip[childName] == 'movieclip') {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.33333333333334;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
}
frame 4 {
startMovie();
}
}
instance of movieClip 142 API Connector (NewgroundsAPI) {
onClipEvent (load) {
function __f_construct(eventObj) {
api_id = '60781:RmHK0Flw';
encryption_key = '4pTu59enR2g1fiDXQkXJlcVblWNBrPcX';
version = '';
fake_session = true;
debug = true;
error_screens = true;
medal_popups = true;
}
this.addEventListener('construct', __f_construct);
}
}
frame 2 {
stop();
var savefile = SharedObject.getLocal('ServingUpMadness');
_root.totalscore = savefile.data.totalscore;
_root.vipran = savefile.data.vipran;
_root.vipunlocked1 = savefile.data.vipunlocked1;
_root.vipunlocked2 = savefile.data.vipunlocked2;
_root.vipunlocked3 = savefile.data.vipunlocked3;
_root.vipunlocked4 = savefile.data.vipunlocked4;
_root.vipunlocked5 = savefile.data.vipunlocked5;
_root.vipunlocked6 = savefile.data.vipunlocked6;
_root.vipunlocked7 = savefile.data.vipunlocked7;
_root.vipunlocked8 = savefile.data.vipunlocked8;
_root.vipunlocked9 = savefile.data.vipunlocked9;
_root.vipunlocked10 = savefile.data.vipunlocked10;
_root.vipunlocked11 = savefile.data.vipunlocked11;
_root.vipunlocked12 = savefile.data.vipunlocked12;
_root.vipunlocked13 = savefile.data.vipunlocked13;
_root.vipunlocked14 = savefile.data.vipunlocked14;
_root.vipunlocked15 = savefile.data.vipunlocked15;
_root.vipunlocked16 = savefile.data.vipunlocked16;
_root.vipunlocked17 = savefile.data.vipunlocked17;
_root.vipunlocked18 = savefile.data.vipunlocked18;
_root.vipunlocked19 = savefile.data.vipunlocked19;
_root.vipunlocked20 = savefile.data.vipunlocked20;
_root.vipunlocked21 = savefile.data.vipunlocked21;
_root.vipunlocked22 = savefile.data.vipunlocked22;
_root.vipunlocked23 = savefile.data.vipunlocked23;
_root.vipunlocked24 = savefile.data.vipunlocked24;
_root.vipunlocked25 = savefile.data.vipunlocked25;
_root.vipunlocked26 = savefile.data.vipunlocked26;
_root.vipunlocked27 = savefile.data.vipunlocked27;
_root.vipunlocked28 = savefile.data.vipunlocked28;
_root.vipunlocked29 = savefile.data.vipunlocked29;
_root.vipunlocked30 = savefile.data.vipunlocked30;
if (savefile.data.totalscore == undefined) {
_root.totalscore = 0;
_root.vipran = 0;
_root.vipunlocked1 = 0;
_root.vipunlocked2 = 0;
_root.vipunlocked3 = 0;
_root.vipunlocked4 = 0;
_root.vipunlocked5 = 0;
_root.vipunlocked6 = 0;
_root.vipunlocked7 = 0;
_root.vipunlocked8 = 0;
_root.vipunlocked9 = 0;
_root.vipunlocked10 = 0;
_root.vipunlocked11 = 0;
_root.vipunlocked12 = 0;
_root.vipunlocked13 = 0;
_root.vipunlocked14 = 0;
_root.vipunlocked15 = 0;
_root.vipunlocked16 = 0;
_root.vipunlocked17 = 0;
_root.vipunlocked18 = 0;
_root.vipunlocked19 = 0;
_root.vipunlocked20 = 0;
_root.vipunlocked21 = 0;
_root.vipunlocked22 = 0;
_root.vipunlocked23 = 0;
_root.vipunlocked24 = 0;
_root.vipunlocked25 = 0;
_root.vipunlocked26 = 0;
_root.vipunlocked27 = 0;
_root.vipunlocked28 = 0;
_root.vipunlocked29 = 0;
_root.vipunlocked30 = 0;
}
}
movieClip 180 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 182 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.clicksound.start();
}
_root.playnowbtn.gotoAndStop(2);
}
on (rollOut) {
_root.playnowbtn.gotoAndStop(1);
}
on (release) {
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
gotoAndStop('menu');
}
}
button 183 {
on (keyPress 'a') {
if (Stage.displayState == 'normal') {
Stage.displayState = 'fullscreen';
} else {
Stage.displayState = 'normal';
}
}
on (keyPress 'A') {
if (Stage.displayState == 'normal') {
Stage.displayState = 'fullscreen';
} else {
Stage.displayState = 'normal';
}
}
}
frame 3 {
stop();
if (sfxon == 1) {
unchecka._x = 2000;
} else {
unchecka._x = 1490;
}
if (musicon == 1) {
uncheckb._x = 2000;
} else {
uncheckb._x = 1680;
}
_root.handstate = 3;
_root.madhand.gotoAndStop(_root.handstate);
if (_root.medalunlocked2 == 0) {
if (_root.my_date.getDate() == 22 && my_date.getMonth() + 1 == 9) {
com.newgrounds.API.unlockMedal('You are MAD!');
}
_root.medalunlocked2 = 1;
}
}
movieClip 189 {
}
button 194 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.clicksound.start();
}
}
on (release) {
gotoAndStop('intro');
}
}
button 199 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.clicksound.start();
}
}
on (release) {
gotoAndStop('madness');
}
}
button 204 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.clicksound.start();
}
}
on (release) {
gotoAndStop('credits');
}
}
button 205 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
if (_root.sfxon == 1) {
_root.sfxon = 0;
_root.unchecka._x = 1490;
} else {
_root.sfxon = 1;
_root.unchecka._x = 2000;
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
}
on (keyPress 's') {
if (_root.sfxon == 1) {
_root.sfxon = 0;
_root.unchecka._x = 1490;
} else {
_root.sfxon = 1;
_root.unchecka._x = 2000;
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
}
on (keyPress 'S') {
if (_root.sfxon == 1) {
_root.sfxon = 0;
_root.unchecka._x = 1490;
} else {
_root.sfxon = 1;
_root.unchecka._x = 2000;
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
}
}
button 206 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
if (_root.musicon == 1) {
stopAllSounds();
_root.musicon = 0;
_root.uncheckb._x = 1680;
} else {
_root.musicon = 1;
_root.uncheckb._x = 2000;
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
}
}
on (keyPress 'd') {
if (_root.musicon == 1) {
stopAllSounds();
_root.musicon = 0;
_root.uncheckb._x = 1680;
} else {
_root.musicon = 1;
_root.uncheckb._x = 2000;
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
}
}
on (keyPress 'D') {
if (_root.musicon == 1) {
stopAllSounds();
_root.musicon = 0;
_root.uncheckb._x = 1680;
} else {
_root.musicon = 1;
_root.uncheckb._x = 2000;
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
}
}
}
movieClip 215 {
}
movieClip 216 {
frame 1 {
if (_root.medalunlocked15 == 0) {
com.newgrounds.API.unlockMedal('Oops');
_root.medalunlocked15 = 1;
} else {
com.newgrounds.API.unlockMedal('Oops', 2000, 2000);
}
}
frame 60 {
_root.customer.gotoAndStop('fail');
_root.cart.bubble.gotoAndPlay('goaway');
_root.handstate = 5;
_root.madhand.gotoAndStop(_root.handstate);
}
}
movieClip 219 {
}
movieClip 220 {
}
movieClip 223 {
}
movieClip 224 {
}
movieClip 255 {
}
movieClip 270 {
}
movieClip 277 {
frame 4 {
_root.musicplayer.gotoAndStop(1);
if (_root.score >= _root.unlockB) {
_root.cart.book.gotoAndStop(1);
}
}
frame 5 {
_root.musicplayer.gotoAndStop(1);
if (_root.score >= _root.unlockB) {
_root.cart.book.gotoAndStop(1);
}
}
frame 18 {
if (_root.medalunlocked3 == 0) {
com.newgrounds.API.unlockMedal('Does Insurance cover that?');
_root.medalunlocked3 = 1;
}
}
frame 19 {
if (_root.sfxon == 1) {
_root.crapdogsound.start();
}
}
frame 25 {
if (_root.sfxon == 1) {
_root.crapdogsound.start();
}
}
}
instance madhand of movieClip 277 {
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
}
frame 8 {
stop();
}
frame 10 {
stop();
if (_root.medalunlocked14 == 0) {
com.newgrounds.API.unlockMedal('Thanks!');
_root.medalunlocked14 = 1;
} else {
com.newgrounds.API.unlockMedal('Thanks!', 2000, 2000);
}
}
button 280 {
on (release) {
gotoAndStop('menu');
}
}
button 281 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://stitchmiss.newgrounds.com/', '_blank');
}
}
button 282 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://53xy83457.newgrounds.com/', '_blank');
}
}
button 283 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://aalasteir.newgrounds.com/', '_blank');
}
}
button 284 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://krinkels.newgrounds.com/', '_blank');
}
}
button 285 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://www.newgrounds.com/', '_blank');
}
}
button 286 {
on (keyPress 'd') {
if (_root.musicon == 1) {
stopAllSounds();
_root.musicon = 0;
} else {
_root.musicon = 1;
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
}
}
on (keyPress 'D') {
if (_root.musicon == 1) {
stopAllSounds();
_root.musicon = 0;
} else {
_root.musicon = 1;
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
}
}
}
button 287 {
on (keyPress 's') {
if (_root.sfxon == 1) {
_root.sfxon = 0;
} else {
_root.sfxon = 1;
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
}
on (keyPress 'S') {
if (_root.sfxon == 1) {
_root.sfxon = 0;
} else {
_root.sfxon = 1;
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
}
}
frame 13 {
stop();
}
frame 15 {
stop();
}
button 290 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://store.steampowered.com/app/488860/MADNESS_Project_Nexus/', '_blank');
}
}
button 291 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://tomfulp.newgrounds.com/', '_blank');
}
}
button 292 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://cheshyre.newgrounds.com/', '_blank');
}
}
button 293 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://www.newgrounds.com/series/madness', '_blank');
}
}
button 294 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://www.youtube.com/shorts/xHEgHjJvR94', '_blank');
}
}
frame 18 {
stop();
}
frame 20 {
stop();
_root.handstate = 3;
_root.madhand.gotoAndStop(_root.handstate);
i = 0;
while (i < 31) {
if (_root['vipunlocked' + i] == 1) {
_root['servedpanel' + i].gotoAndStop(2);
} else {
_root['servedpanel' + i].gotoAndStop(1);
}
++i;
}
if (_root.vipunlocked30 == 1) {
if (_root.medalunlocked9 == 0) {
com.newgrounds.API.unlockMedal('You met the Legends...And Survived!');
_root.medalunlocked9 = 1;
} else {
com.newgrounds.API.unlockMedal('You met the Legends...And Survived!', 2000, 2000);
}
}
}
movieClip 299 {
frame 3 {
stop();
}
}
button 300 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://x.com/zepumpkineater', '_blank');
}
}
button 301 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://genllo4.newgrounds.com/', '_blank');
}
}
button 302 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://tomafokio.newgrounds.com/', '_blank');
}
}
button 303 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://panchopistachos.newgrounds.com/', '_blank');
}
}
button 304 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://glitcharttv.newgrounds.com/', '_blank');
}
}
button 305 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://kiwiwiii.newgrounds.com/', '_blank');
}
}
button 306 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://p33r23.newgrounds.com/', '_blank');
}
}
button 307 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://the-swain.newgrounds.com/', '_blank');
}
}
button 308 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://aokicyber.newgrounds.com/', '_blank');
}
}
button 309 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://cawfeezillah.newgrounds.com/', '_blank');
}
}
button 310 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://alderdusk.newgrounds.com/', '_blank');
}
}
button 311 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://subjectp7.newgrounds.com/', '_blank');
}
}
button 312 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://leixodemo.newgrounds.com/', '_blank');
}
}
button 313 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://panart.newgrounds.com/', '_blank');
}
}
button 314 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://snsqrs.newgrounds.com/', '_blank');
}
}
button 315 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://westernspy-0.newgrounds.com/', '_blank');
}
}
button 316 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://mindchamber.newgrounds.com/', '_blank');
}
}
button 317 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://nkrtz.newgrounds.com/', '_blank');
}
}
button 318 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://agentogurechek.newgrounds.com/', '_blank');
}
}
button 319 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://triple-g.newgrounds.com/', '_blank');
}
}
button 320 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://magnus0combat.newgrounds.com/', '_blank');
}
}
button 321 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://gabrielbarsch.newgrounds.com/', '_blank');
}
}
button 322 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://zapchon.newgrounds.com/', '_blank');
}
}
button 323 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://x.com/nunchucksnun', '_blank');
}
}
button 324 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://oncehere.newgrounds.com/', '_blank');
}
}
button 325 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.smallbuttonsound.start();
}
}
on (release) {
getURL('https://mat00stuff.newgrounds.com/', '_blank');
}
}
frame 23 {
stop();
}
frame 25 {
stop();
}
button 328 {
on (release) {
stopAllSounds();
gotoAndStop('gameplay');
}
}
frame 28 {
stop();
}
frame 30 {
stop();
_root.handstate = 1;
_root.madhand.gotoAndStop(_root.handstate);
_root.score = 0;
_root.order1ran = 53;
_root.order2ran = 53;
_root.order3ran = 53;
}
movieClip 341 {
frame 1 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.customerranB = Math.ceil(Math.random() * 5);
gotoAndStop(_root.customerranB);
}
}
movieClip 352 {
frame 1 {
if (_root.medalunlocked8 == 0) {
com.newgrounds.API.unlockMedal('Was that…?');
_root.medalunlocked8 = 1;
} else {
com.newgrounds.API.unlockMedal('Was that…?', 2000, 2000);
}
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.customerranB = Math.ceil(Math.random() * 5);
gotoAndStop(_root.customerranB);
}
frame 5 {
if (_root.medalunlocked13 == 0) {
com.newgrounds.API.unlockMedal('Déjà vu');
_root.medalunlocked13 = 1;
} else {
com.newgrounds.API.unlockMedal('Déjà vu', 2000, 2000);
}
}
}
movieClip 413 {
frame 1 {
if (_root.medalunlocked11 == 0) {
com.newgrounds.API.unlockMedal('Meet your Maker');
_root.medalunlocked11 = 1;
} else {
com.newgrounds.API.unlockMedal('Meet your Maker', 2000, 2000);
}
_root.vipran += 1;
if (_root.vipran < 1 || _root.vipran > 30) {
_root.vipran = 1;
}
if (_root.sfxon == 1 && _root.vipran == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
gotoAndStop(_root.vipran);
_root.vipunlocked1 = 1;
}
frame 2 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked2 = 1;
}
frame 3 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked3 = 1;
}
frame 4 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked4 = 1;
}
frame 5 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked5 = 1;
}
frame 6 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked6 = 1;
}
frame 7 {
if (_root.medalunlocked12 == 0) {
com.newgrounds.API.unlockMedal('What are you doing Here??');
_root.medalunlocked12 = 1;
} else {
com.newgrounds.API.unlockMedal('What are you doing Here??', 2000, 2000);
}
_root.female = 1;
_root.vipunlocked7 = 1;
}
frame 8 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked8 = 1;
}
frame 9 {
_root.female = 1;
_root.magagent = 1;
_root.vipunlocked9 = 1;
}
frame 10 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked10 = 1;
}
frame 11 {
_root.female = 1;
_root.vipunlocked11 = 1;
}
frame 12 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked12 = 1;
}
frame 13 {
_root.female = 1;
_root.vipunlocked13 = 1;
}
frame 14 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked14 = 1;
}
frame 15 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked15 = 1;
}
frame 16 {
_root.female = 1;
_root.vipunlocked16 = 1;
}
frame 17 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked17 = 1;
}
frame 18 {
_root.female = 1;
_root.vipunlocked18 = 1;
}
frame 19 {
_root.female = 1;
_root.vipunlocked19 = 1;
}
frame 20 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked20 = 1;
}
frame 21 {
_root.female = 1;
_root.vipunlocked21 = 1;
}
frame 22 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked22 = 1;
}
frame 23 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked23 = 1;
}
frame 24 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked24 = 1;
}
frame 25 {
_root.female = 1;
_root.vipunlocked25 = 1;
}
frame 26 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked26 = 1;
}
frame 27 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked27 = 1;
}
frame 28 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked28 = 1;
}
frame 29 {
_root.female = 1;
_root.vipunlocked29 = 1;
}
frame 30 {
if (_root.medalunlocked9 == 0) {
com.newgrounds.API.unlockMedal('You met the Legends...And Survived!');
_root.medalunlocked9 = 1;
} else {
com.newgrounds.API.unlockMedal('You met the Legends...And Survived!', 2000, 2000);
}
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 15);
_root['ordersound' + _root.speechran].start();
}
_root.vipunlocked30 = 1;
}
}
movieClip 414 {
frame 1 {
_root.female = 0;
_root.magagent = 0;
if (_root.score > 99) {
_root.customerran = 50;
} else {
_root.customerran = Math.ceil(Math.random() * 50);
}
gotoAndStop(_root.customerran);
}
}
movieClip 441 {
frame 1 {
if (_root.customerran > 39 && _root.customerran < 50) {
if (_root.customerranB == 5) {
gotoAndStop(53);
} else {
stop();
}
} else {
if (_root.customerran > 49) {
gotoAndStop(_root.vipran);
} else {
stop();
}
}
}
}
movieClip 442 {
}
movieClip 469 {
frame 1 {
if (_root.customerran > 39 && _root.customerran < 50) {
if (_root.customerranB == 5) {
gotoAndStop(53);
} else {
stop();
}
} else {
if (_root.customerran > 49) {
gotoAndStop(_root.vipran);
} else {
stop();
}
}
}
}
movieClip 470 {
frame 1 {
if (_root.sfxon == 1) {
_root.speechran = Math.ceil(Math.random() * 21);
_root['vendorsound' + _root.speechran].start();
}
}
frame 45 {
if (_root.magagent == 1) {
_root.gotoAndPlay('gameoverMAG');
} else {
_root.gotoAndPlay('gameover');
}
}
}
movieClip 471 {
frame 5 {
_root.saucesoundran = 1;
_root.cart.bubble.gotoAndPlay(2);
}
frame 10 {
stop();
}
frame 13 {
if (_root.medalunlocked1 == 0) {
com.newgrounds.API.unlockMedal('This is Easy!');
_root.medalunlocked1 = 1;
}
}
frame 16 {
gotoAndPlay(1);
}
}
button 474 {
on (release) {
if (_root.handstate > 5) {
if (_root.handstate == _root.order1ran) {
_root.score += 1;
_root.totalscore += 1;
_root.handstate = 2;
_root.madhand.gotoAndStop(_root.handstate);
_root.order1ran = 53;
_root.cart.bubble.order1.gotoAndStop(_root.order1ran);
if (_root.order1ran == 53 && _root.order2ran == 53 && _root.order3ran == 53) {
_root.customer.gotoAndPlay('success');
_root.cart.bubble.gotoAndPlay('goaway');
_root.timer.gotoAndPlay(1);
if (_root.score == _root.unlockA) {
_root.cart.gotoAndStop(2);
} else {
if (_root.score == _root.unlockB) {
_root.cart.gotoAndStop(3);
} else {
if (_root.score == _root.unlockC) {
_root.cart.gotoAndStop(4);
} else {
if (_root.score == _root.unlockD) {
_root.cart.gotoAndStop(5);
}
}
}
}
}
} else {
if (_root.handstate == _root.order2ran) {
_root.score += 1;
_root.totalscore += 1;
_root.handstate = 2;
_root.madhand.gotoAndStop(_root.handstate);
_root.order2ran = 53;
_root.cart.bubble.order2.gotoAndStop(_root.order2ran);
if (_root.order1ran == 53 && _root.order2ran == 53 && _root.order3ran == 53) {
_root.customer.gotoAndPlay('success');
_root.cart.bubble.gotoAndPlay('goaway');
_root.timer.gotoAndPlay(1);
if (_root.score == _root.unlockA) {
_root.cart.gotoAndStop(2);
} else {
if (_root.score == _root.unlockB) {
_root.cart.gotoAndStop(3);
} else {
if (_root.score == _root.unlockC) {
_root.cart.gotoAndStop(4);
} else {
if (_root.score == _root.unlockD) {
_root.cart.gotoAndStop(5);
}
}
}
}
}
} else {
if (_root.handstate == _root.order3ran) {
_root.score += 1;
_root.totalscore += 1;
_root.handstate = 2;
_root.madhand.gotoAndStop(_root.handstate);
_root.order3ran = 53;
_root.cart.bubble.order3.gotoAndStop(_root.order3ran);
if (_root.order1ran == 53 && _root.order2ran == 53 && _root.order3ran == 53) {
_root.customer.gotoAndPlay('success');
_root.cart.bubble.gotoAndPlay('goaway');
_root.timer.gotoAndPlay(1);
if (_root.score == _root.unlockA) {
_root.cart.gotoAndStop(2);
} else {
if (_root.score == _root.unlockB) {
_root.cart.gotoAndStop(3);
} else {
if (_root.score == _root.unlockC) {
_root.cart.gotoAndStop(4);
} else {
if (_root.score == _root.unlockD) {
_root.cart.gotoAndStop(5);
}
}
}
}
}
} else {
_root.customer.gotoAndStop('fail');
_root.cart.bubble.gotoAndPlay('goaway');
_root.timer.stop();
_root.handstate = 5;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
button 487 {
on (release) {
if (_root.handstate == 7) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 8;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 9) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 11;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 10) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 12) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 14 || _root.handstate == 15 || _root.handstate == 16) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
}
}
button 488 {
on (release) {
if (_root.handstate == 7) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 9;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 8) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 11;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 10) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 12) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 14 || _root.handstate == 15 || _root.handstate == 16) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
}
}
button 489 {
on (release) {
if (_root.handstate == 6) {
if (_root.sfxon == 1) {
_root.wienersound.start();
}
_root.handstate = 7;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root.wienersound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
button 490 {
on (release) {
if (_root.handstate > 5) {
if (_root.sfxon == 1) {
_root.trashsound.start();
}
_root.handstate = 1;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
button 491 {
on (release) {
if (_root.handstate < 4) {
if (_root.sfxon == 1) {
_root.bunsound.start();
}
_root.handstate = 6;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
button 492 {
on (release) {
if (_root.handstate < 4) {
if (_root.sfxon == 1) {
_root.cupsound.start();
}
_root.handstate = 20;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
button 493 {
on (keyPress 'f') {
_root.timer.stop();
_root.handstate = 4;
_root.madhand.gotoAndStop(_root.handstate);
}
on (keyPress 'F') {
_root.timer.stop();
_root.handstate = 4;
_root.madhand.gotoAndStop(_root.handstate);
}
on (release) {
_root.timer.stop();
_root.handstate = 4;
_root.madhand.gotoAndStop(_root.handstate);
}
}
movieClip 496 {
}
movieClip 534 {
}
movieClip 535 {
frame 1 {
stop();
}
frame 5 {
stop();
_root.order1ran = Math.ceil(Math.random() * 3);
_root.order1ran += 6;
if (_root.order1ran < 7) {
_root.order1ran = 7;
} else {
if (_root.order1ran > 9) {
_root.order1ran = 9;
}
}
order1.gotoAndStop(_root.order1ran);
}
frame 10 {
stop();
}
}
button 540 {
on (release) {
if (_root.handstate == 7) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 10;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 8 || _root.handstate == 9) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 11 && _root.handstate <= 14) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 15) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 16;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 17 || _root.handstate == 18) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root['saucesound' + _root.saucesoundran].start();
if (_root.saucesoundran == 1) {
_root.saucesoundran = 2;
} else {
_root.saucesoundran = 2;
}
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
}
}
movieClip 541 {
frame 1 {
stop();
}
frame 5 {
stop();
_root.order1ran = Math.ceil(Math.random() * 5);
_root.order1ran += 6;
if (_root.order1ran < 7) {
_root.order1ran = 7;
} else {
if (_root.order1ran > 11) {
_root.order1ran = 11;
}
}
order1.gotoAndStop(_root.order1ran);
}
frame 10 {
stop();
}
}
button 547 {
on (release) {
if (_root.handstate >= 7 && _root.handstate <= 13) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 14) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 15;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 17) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 18;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
button 548 {
on (release) {
if (_root.handstate == 7) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 14;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 8 && _root.handstate <= 12) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 13) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 17;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
button 549 {
on (release) {
if (_root.handstate >= 7 && _root.handstate <= 10) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 11) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 12;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 14 && _root.handstate <= 16) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
button 550 {
on (release) {
if (_root.handstate >= 7 && _root.handstate <= 11) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 12) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 13;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 14 && _root.handstate <= 16) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 20 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root['foodsound' + _root.foodsoundran].start();
if (_root.foodsoundran == 1) {
_root.foodsoundran = 2;
} else {
_root.foodsoundran = 1;
}
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
}
button 555 {
on (release) {
if (_root.handstate != 4 && _root.handstate != 5) {
if (_root.sfxon == 1) {
_root.plushsound.start();
}
_root.handstate = 1;
_root.madhand.gotoAndStop(_root.handstate);
gotoAndStop(2);
}
}
}
movieClip 556 {
frame 1 {
stop();
}
frame 2 {
if (_root.medalunlocked10 == 0) {
com.newgrounds.API.unlockMedal('Emotional Support Plush');
_root.medalunlocked10 = 1;
} else {
com.newgrounds.API.unlockMedal('Emotional Support Plush', 2000, 2000);
}
}
}
movieClip 557 {
frame 1 {
stop();
}
frame 5 {
stop();
_root.order1ran = Math.ceil(Math.random() * 12);
_root.order1ran += 6;
if (_root.order1ran < 7) {
_root.order1ran = 7;
} else {
if (_root.order1ran == 17) {
_root.order1ran = 18;
} else {
if (_root.order1ran > 18) {
_root.order1ran = 18;
}
}
}
order1.gotoAndStop(_root.order1ran);
}
frame 10 {
stop();
}
}
button 560 {
on (release) {
if (_root.handstate != 4 && _root.handstate != 5) {
if (_root.sfxon == 1) {
_root.booksound.start();
}
_root.handstate = 3;
_root.madhand.gotoAndStop(_root.handstate);
gotoAndStop(2);
}
}
}
button 563 {
on (release) {
if (_root.sfxon == 1) {
_root.booksoundB.start();
}
_root.handstate = 1;
_root.madhand.gotoAndStop(_root.handstate);
gotoAndStop(1);
}
}
movieClip 564 {
frame 1 {
stop();
}
}
button 570 {
on (release) {
if (_root.handstate == 20) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 21;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 7 && _root.handstate <= 18) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 22 || _root.handstate == 23 || _root.handstate == 24) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
button 571 {
on (release) {
if (_root.handstate == 20) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 22;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 7 && _root.handstate <= 18) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 21 || _root.handstate == 23 || _root.handstate == 24) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
button 572 {
on (release) {
if (_root.handstate == 20) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 23;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 7 && _root.handstate <= 18) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 21 || _root.handstate == 22 || _root.handstate == 24) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
button 573 {
on (release) {
if (_root.handstate == 20) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 24;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 7 && _root.handstate <= 18) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate == 21 || _root.handstate == 22 || _root.handstate == 23) {
if (_root.sfxon == 1) {
_root.sodasound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
movieClip 574 {
frame 1 {
stop();
}
frame 5 {
stop();
_root.order1ran = Math.ceil(Math.random() * 18);
_root.order1ran += 6;
if (_root.order1ran < 7) {
_root.order1ran = 7;
} else {
if (_root.order1ran == 17 || _root.order1ran == 19 || _root.order1ran == 20) {
_root.order1ran = 22;
} else {
if (_root.order1ran == 25 || _root.order1ran == 26) {
_root.order1ran = 23;
} else {
if (_root.order1ran > 24) {
_root.order1ran = 24;
}
}
}
}
order1.gotoAndStop(_root.order1ran);
_root.order2ran = Math.ceil(Math.random() * 18);
_root.order2ran += 6;
if (_root.order2ran < 7) {
_root.order2ran = 7;
} else {
if (_root.order2ran == 17 || _root.order2ran == 19 || _root.order2ran == 20) {
_root.order2ran = 22;
} else {
if (_root.order2ran == 25 || _root.order2ran == 26) {
_root.order2ran = 22;
} else {
if (_root.order2ran > 24) {
_root.order2ran = 24;
}
}
}
}
order2.gotoAndStop(_root.order2ran);
}
frame 10 {
stop();
}
}
button 581 {
on (release) {
if (_root.handstate < 4) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 28;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 7 && _root.handstate <= 18) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 21 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
button 582 {
on (release) {
if (_root.handstate < 4) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 27;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 7 && _root.handstate <= 18) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 21 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
button 583 {
on (release) {
if (_root.handstate < 4) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 29;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 7 && _root.handstate <= 18) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 19;
_root.madhand.gotoAndStop(_root.handstate);
} else {
if (_root.handstate >= 21 && _root.handstate <= 24) {
if (_root.sfxon == 1) {
_root.cigsound.start();
}
_root.handstate = 25;
_root.madhand.gotoAndStop(_root.handstate);
}
}
}
}
}
movieClip 584 {
frame 1 {
stop();
}
frame 5 {
stop();
_root.order1ran = Math.ceil(Math.random() * 23);
_root.order1ran += 6;
if (_root.order1ran < 7) {
_root.order1ran = 27;
} else {
if (_root.order1ran == 17 || _root.order1ran == 19 || _root.order1ran == 20) {
_root.order1ran = 27;
} else {
if (_root.order1ran == 25 || _root.order1ran == 26) {
_root.order1ran = 28;
} else {
if (_root.order1ran > 29) {
_root.order1ran = 29;
}
}
}
}
order1.gotoAndStop(_root.order1ran);
_root.order2ran = Math.ceil(Math.random() * 23);
_root.order2ran += 6;
if (_root.order2ran < 7) {
_root.order2ran = 27;
} else {
if (_root.order2ran == 17 || _root.order2ran == 19 || _root.order2ran == 20) {
_root.order2ran = 27;
} else {
if (_root.order2ran == 25 || _root.order2ran == 26) {
_root.order2ran = 28;
} else {
if (_root.order2ran > 29) {
_root.order2ran = 29;
}
}
}
}
order2.gotoAndStop(_root.order2ran);
_root.order3ran = Math.ceil(Math.random() * 23);
_root.order3ran += 6;
if (_root.order3ran < 7) {
_root.order3ran = 27;
} else {
if (_root.order3ran == 17 || _root.order3ran == 19 || _root.order3ran == 20) {
_root.order3ran = 27;
} else {
if (_root.order3ran == 25 || _root.order3ran == 26) {
_root.order3ran = 28;
} else {
if (_root.order3ran > 29) {
_root.order3ran = 29;
}
}
}
}
order3.gotoAndStop(_root.order3ran);
if (_root.order1ran >= 27 && _root.order1ran <= 29) {
if (_root.order2ran >= 27 && _root.order2ran <= 29) {
if (_root.order3ran >= 27 && _root.order3ran <= 29) {
if (_root.medalunlocked16 == 0) {
com.newgrounds.API.unlockMedal('Deimos’ Diet');
_root.medalunlocked16 = 1;
} else {
com.newgrounds.API.unlockMedal('Deimos’ Diet', 2000, 2000);
}
}
}
}
}
frame 10 {
stop();
}
}
movieClip 585 {
frame 1 {
stop();
}
frame 3 {
if (_root.sfxon == 1) {
_root.cabinetsound.start();
}
}
frame 5 {
if (_root.sfxon == 1) {
_root.cigcasesound.start();
}
}
}
movieClip 598 {
frame 2 {
gotoAndPlay(3 + _root.score);
}
frame 149 {
if (_root.sfxon == 1 && _root.female == 0) {
_root.speechran = Math.ceil(Math.random() * 10);
_root['impatientsound' + _root.speechran].start();
}
}
frame 150 {
gotoAndPlay(151 + _root.score);
}
frame 299 {
if (_root.sfxon == 1 && _root.female == 0) {
_root.speechran = Math.ceil(Math.random() * 10);
_root['impatientsound' + _root.speechran].start();
}
}
frame 300 {
gotoAndPlay(301 + _root.score);
}
frame 449 {
if (_root.sfxon == 1 && _root.female == 0) {
_root.speechran = Math.ceil(Math.random() * 10);
_root['impatientsound' + _root.speechran].start();
}
}
frame 450 {
gotoAndPlay(451 + _root.score);
}
frame 599 {
if (_root.sfxon == 1 && _root.female == 0) {
_root.speechran = Math.ceil(Math.random() * 10);
_root['impatientsound' + _root.speechran].start();
}
}
frame 600 {
gotoAndPlay(601 + _root.score);
}
frame 750 {
_root.customer.gotoAndStop('fail');
_root.cart.bubble.gotoAndPlay('goaway');
_root.handstate = 5;
_root.madhand.gotoAndStop(_root.handstate);
stop();
}
}
movieClip 600 {
frame 1 {
if (_root.musicon == 0) {
stop();
}
}
}
button 601 {
on (keyPress 'd') {
if (_root.musicon == 1) {
_root.musicplayer.gotoAndStop(1);
_root.musicon = 0;
} else {
_root.musicon = 1;
_root.musicplayer.gotoAndPlay(180);
}
}
on (keyPress 'D') {
if (_root.musicon == 1) {
_root.musicplayer.gotoAndStop(1);
_root.musicon = 0;
} else {
_root.musicon = 1;
_root.musicplayer.gotoAndPlay(180);
}
}
}
frame 40 {
_root.handstate = 30;
_root.madhand.gotoAndStop(_root.handstate);
if (_root.sfxon == 1) {
_root.gunsound.start();
}
}
frame 43 {
_root.handstate = 30;
_root.madhand.gotoAndStop(_root.handstate);
if (_root.sfxon == 1 && _root.magagent == 1) {
_root.gutssound.start();
}
}
movieClip 1618 {
frame 1 {
gotoAndStop(_root.score + 1);
}
}
frame 85 {
com.newgrounds.API.postScore('Veteran Wiener Handlers', score);
com.newgrounds.API.postScore('Top Scorers', score);
}
frame 86 {
stop();
if (_root.medalunlocked4 == 0) {
com.newgrounds.API.unlockMedal('Just Another Day in Nevada...');
_root.medalunlocked4 = 1;
} else {
com.newgrounds.API.unlockMedal('Just Another Day in Nevada...', 2000, 2000);
}
if (_root.totalscore > 99) {
if (_root.medalunlocked5 == 0) {
com.newgrounds.API.unlockMedal('100 Served');
_root.medalunlocked5 = 1;
} else {
com.newgrounds.API.unlockMedal('100 Served', 2000, 2000);
}
}
if (_root.totalscore > 499) {
if (_root.medalunlocked6 == 0) {
com.newgrounds.API.unlockMedal('500 Served');
_root.medalunlocked6 = 1;
} else {
com.newgrounds.API.unlockMedal('500 Served', 2000, 2000);
}
}
if (_root.totalscore > 727) {
if (_root.medalunlocked7 == 0) {
com.newgrounds.API.unlockMedal('728 Served?!');
_root.medalunlocked7 = 1;
} else {
com.newgrounds.API.unlockMedal('728 Served?!', 2000, 2000);
}
}
if (_root.vipunlocked30 == 1) {
if (_root.medalunlocked9 == 0) {
com.newgrounds.API.unlockMedal('You met the Legends...And Survived!');
_root.medalunlocked9 = 1;
} else {
com.newgrounds.API.unlockMedal('You met the Legends...And Survived!', 2000, 2000);
}
}
savefile.data.totalscore = _root.totalscore;
savefile.data.vipran = _root.vipran;
savefile.data.vipunlocked1 = _root.vipunlocked1;
savefile.data.vipunlocked2 = _root.vipunlocked2;
savefile.data.vipunlocked3 = _root.vipunlocked3;
savefile.data.vipunlocked4 = _root.vipunlocked4;
savefile.data.vipunlocked5 = _root.vipunlocked5;
savefile.data.vipunlocked6 = _root.vipunlocked6;
savefile.data.vipunlocked7 = _root.vipunlocked7;
savefile.data.vipunlocked8 = _root.vipunlocked8;
savefile.data.vipunlocked9 = _root.vipunlocked9;
savefile.data.vipunlocked10 = _root.vipunlocked10;
savefile.data.vipunlocked11 = _root.vipunlocked11;
savefile.data.vipunlocked12 = _root.vipunlocked12;
savefile.data.vipunlocked13 = _root.vipunlocked13;
savefile.data.vipunlocked14 = _root.vipunlocked14;
savefile.data.vipunlocked15 = _root.vipunlocked15;
savefile.data.vipunlocked16 = _root.vipunlocked16;
savefile.data.vipunlocked17 = _root.vipunlocked17;
savefile.data.vipunlocked18 = _root.vipunlocked18;
savefile.data.vipunlocked19 = _root.vipunlocked19;
savefile.data.vipunlocked20 = _root.vipunlocked20;
savefile.data.vipunlocked21 = _root.vipunlocked21;
savefile.data.vipunlocked22 = _root.vipunlocked22;
savefile.data.vipunlocked23 = _root.vipunlocked23;
savefile.data.vipunlocked24 = _root.vipunlocked24;
savefile.data.vipunlocked25 = _root.vipunlocked25;
savefile.data.vipunlocked26 = _root.vipunlocked26;
savefile.data.vipunlocked27 = _root.vipunlocked27;
savefile.data.vipunlocked28 = _root.vipunlocked28;
savefile.data.vipunlocked29 = _root.vipunlocked29;
savefile.data.vipunlocked30 = _root.vipunlocked30;
savefile.flush();
}
button 1625 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.clicksound.start();
}
}
on (release) {
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
gotoAndStop('vipsection');
}
}
button 1626 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.clicksound.start();
}
}
on (release) {
if (_root.musicon == 1) {
_root.bgm.start(0, 9999999);
}
gotoAndStop('menu');
}
}
button 1627 {
on (rollOver) {
if (_root.sfxon == 1) {
_root.clicksound.start();
}
}
on (release) {
gotoAndStop('gameplay');
}
}