Combined Code
frame 1 {
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
}
// unknown tag 88 length 117
// unknown tag 88 length 63
// unknown tag 88 length 219
frame 2 {
if (loadedbytes == totalbytes) {
gotoAndStop(3);
gotoAndStop(4);
} else {
gotoAndPlay(1);
}
}
frame 4 {
crack = 15;
pills = 30;
heroin = 5;
money = 1900;
amyhealth = 100;
}
// unknown tag 88 length 78
button 24 {
on (press) {
gotoAndPlay(5);
}
}
frame 224 {
stop();
}
button 39 {
on (press) {
nextFrame();
}
}
// unknown tag 88 length 63
movieClip 53 {
frame 1 {
if (cocaine == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
button 82 {
on (press) {
nextFrame();
}
}
button 85 {
on (press) {
money += 100000;
nextFrame();
}
}
button 90 {
on (press) {
money += 1500;
nextFrame();
}
}
button 95 {
on (press) {
gotoAndStop(235);
}
}
frame 236 {
if (amyhealth < 1) {
gotoAndStop(375);
}
}
button 99 {
on (press) {
if (crack == 0) {
gotoAndStop(1002);
} else {
gotoAndStop(237);
}
}
}
button 100 {
on (press) {
if (pills == 0) {
gotoAndStop(1002);
} else {
gotoAndStop(272);
}
}
}
button 101 {
on (press) {
gotoAndStop(316);
}
}
button 106 {
on (press) {
gotoAndPlay(238);
}
}
movieClip 108 {
}
movieClip 115 {
}
frame 271 {
gotoAndStop(236);
amyhealth -= 10;
crack -= 1;
}
button 118 {
on (press) {
gotoAndPlay(273);
}
}
frame 315 {
gotoAndStop(236);
amyhealth -= 5;
pills -= 1;
}
button 124 {
on (press) {
gotoAndPlay(318);
}
}
movieClip 134 {
}
frame 358 {
}
frame 374 {
gotoAndStop(236);
amyhealth -= 20;
heroin -= 1;
}
frame 375 {
stop();
}
frame 376 {
stop();
}
frame 377 {
stop();
}
button 140 {
on (press) {
gotoAndPlay(378);
}
}
frame 390 {
stop();
}
frame 391 {
stop();
}
frame 392 {
stop();
}
button 144 {
on (press) {
nextFrame();
money += 50000;
}
}
button 151 {
on (press) {
gotoAndPlay(395);
}
}
frame 552 {
stop();
}
// unknown tag 88 length 62
button 161 {
on (release) {
getURL('http://www.forkheads.net/index.php', '_blank');
}
}
button 169 {
on (press) {
gotoAndStop(4);
stopAllSounds();
}
}