Combined Code
frame 1 {
stop();
var sound = new Sound();
sound.attachSound('jazz');
sound.start(0, 10);
}
// unknown tag 88 length 79
button 7 {
on (press) {
gotoAndStop(3);
}
}
button 9 {
on (release) {
getURL('http://goatboy.synthasite.com/', '_blank');
}
}
movieClip 14 {
}
instance smaq of movieClip 14 {
onClipEvent (load) {
power = 0.99;
yspeed = 0;
xspeed = 0;
friction = 0.95;
gravity = 0.5;
thrust = 0.95;
_root.score = 0;
var sound = new Sound();
sound.attachSound('coin');
_root.rank = 'are a n00b';
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
xspeed -= power;
}
if (Key.isDown(39)) {
xspeed += power;
}
if (Key.isDown(38)) {
yspeed -= power * thrust;
}
if (Key.isDown(40)) {
yspeed += power * thrust;
}
xspeed *= friction;
yspeed += gravity;
_y = _y + yspeed;
_x = _x + xspeed;
_rotation = _rotation + xspeed;
if (_root.wall.hitTest(_x, _y, true)) {
xspeed = 0;
yspeed = 0;
_x = 120;
_y = 120;
_root.score -= 1;
}
if (_root.coin.hitTest(this)) {
_root.coin._x = Math.random() * 400 + 50;
_root.coin._y = Math.random() * 300 + 50;
++_root.score;
sound.start(0, 1);
}
if (_root.score == -5) {
_root.nextFrame();
}
if (_root.score == 3) {
_root.rank = 'are awkward';
}
if (_root.score == 5) {
_root.rank = 'stink';
}
if (_root.score == 10) {
_root.rank = 'are, ok, not THAT bad...';
}
if (_root.score == 15) {
_root.rank = 'are not bad';
}
if (_root.score == 20) {
_root.rank = 'are getting better and better';
}
if (_root.score == 25) {
_root.rank = 'are ok';
}
if (_root.score == 30) {
_root.rank = 'are allright ';
}
if (_root.score == 35) {
_root.rank = 'are pretty good';
}
if (_root.score == 40) {
_root.rank = 'are good ';
}
if (_root.score == 45) {
_root.rank = 'are very good';
}
if (_root.score == 50) {
_root.rank = 'should keep going';
}
if (_root.score == 55) {
_root.rank = 'are growing bigger';
}
if (_root.score == 60) {
_root.rank = 'are really good!!';
}
if (_root.score == 65) {
_root.rank = 'RULE!';
}
if (_root.score == 70) {
_root.rank = 'are pwning!';
}
if (_root.score == 75) {
_root.rank = 'are a Nice-smelling shampoo-Rat';
}
if (_root.score == 80) {
_root.rank = 'rule the world';
}
if (_root.score == 90) {
_root.rank = 'are a God!';
}
if (_root.score == 95) {
_root.rank = 'rock so bad everyone goes deaf!';
}
if (_root.score == 100) {
_root.rank = 'got over 100 points!';
}
if (_root.score == 110) {
_root.rank = 'are a MASTER';
}
if (_root.score == 120) {
_root.rank = 'are a MASTAH';
}
if (_root.score == 130) {
_root.rank = 'are one of the best';
}
if (_root.score == 140) {
_root.rank = 'are a true nerd';
}
if (_root.score == 150) {
_root.rank = 'are probably unbeatable!';
}
if (_root.score == 160) {
_root.rank = 'are the chosen one';
}
if (_root.score == 170) {
_root.rank = 'have no life!';
}
if (_root.score == 180) {
_root.rank = 'are the best SMAQ-player ive ever seen.';
}
if (_root.score == 200) {
_root.rank = 'are the SMAQ-m45T3r!';
}
if (_root.score == 300) {
_root.rank = 'are Lucas Viksten, right?';
}
}
}
movieClip 16 {
}
movieClip 18 {
}
movieClip 20 {
}
button 29 {
on (press) {
gotoAndStop(1);
sound.stop();
}
}
frame 4 {
jazz.stop();
}
button 32 {
on (press) {
gotoAndPlay(1);
sound.stop();
}
}
button 34 {
on (press) {
gotoAndPlay(1);
}
}