Frame 1
bet1 = new Sound();
bet1.attachSound("bet1.wav");
bet2 = new Sound();
bet2.attachSound("bet2.wav");
bet3 = new Sound();
bet3.attachSound("bet3.wav");
earningsound = new Sound();
earningsound.attachSound("earnings.wav");
lever = new Sound();
lever.attachSound("lever.wav");
stopspin = new Sound();
stopspin.attachSound("stop.wav");
buzzer = new Sound();
buzzer.attachSound("buzzer.wav");
lose = new Sound();
lose.attachSound("lose.wav");
Frame 232
name = "Enter Name";
stop();
Frame 233
slot1stop = false;
slot2stop = false;
slot3stop = false;
slot1set = 0;
slot2set = 0;
slot3set = 0;
slot1spin = false;
slot2spin = false;
slot3spin = false;
bet = 1;
money = 10;
earnings = 0;
countcash = 0;
blank = 0;
cherry = 0;
orange = 0;
lemon = 0;
apple = 0;
mushroom = 0;
gear = 0;
bar = 0;
seven = 0;
skull = 0;
counttime = 0;
delaytime = 0;
addtime = 0;
dingtime = 0;
slot1.gotoandstop(1);
slot2.gotoandstop(1);
slot3.gotoandstop(1);
winlights.gotoandstop(1);
Frame 234
stop();
Frame 235
counttime = getTimer();
if ((counttime >= slot1set) and (slot1spin == false)) {
slot1.play();
slot1spin = true;
}
if ((counttime >= slot2set) and (slot2spin == false)) {
slot2.play();
slot2spin = true;
}
if ((counttime >= slot3set) and (slot3spin == false)) {
slot3.play();
slot3spin = true;
}
if ((slot1stop == false) and (counttime >= delaytime)) {
offbuttons.gotoandstop(2);
slot1stop = true;
delaytime = getTimer() + 1000;
}
if ((slot2stop == false) and (counttime >= delaytime)) {
offbuttons.gotoandstop(3);
slot2stop = true;
delaytime = getTimer() + 1000;
}
if ((slot3stop == false) and (counttime >= delaytime)) {
offbuttons.gotoandstop(4);
slot3stop = true;
}
Frame 236
gotoAndPlay (235);
Frame 237
earnings = earnings + (cherry * bet);
if (seven == 1) {
if (blank == 2) {
earnings = earnings + (5 * bet);
}
if (cherry == 2) {
earnings = earnings + (25 * bet);
}
if (((lemon == 2) or (orange == 2)) or (apple == 2)) {
earnings = earnings + (50 * bet);
}
if (mushroom == 2) {
earnings = earnings + (75 * bet);
}
if (gear == 2) {
earnings = earnings + (125 * bet);
}
if (bar == 2) {
earnings = earnings + (500 * bet);
}
if (skull == 2) {
earnings = earnings + (100 * bet);
}
}
if (lemon == 3) {
earnings = earnings + (15 * bet);
}
if ((((((((blank == 0) and (cherry == 0)) and (lemon == 0)) and (mushroom == 0)) and (gear == 0)) and (bar == 0)) and (seven == 0)) and (skull == 0)) {
if ((orange == 3) or (apple == 3)) {
earnings = earnings + (15 * bet);
} else {
earnings = earnings + (10 * bet);
}
}
if (mushroom == 3) {
earnings = earnings + (20 * bet);
}
if (gear == 3) {
earnings = earnings + (60 * bet);
}
if (bar == 3) {
earnings = earnings + (300 * bet);
}
if (seven == 3) {
earnings = earnings + (1000 * bet);
}
if (skull == 3) {
money = 0;
_root.lose.start();
}
blank = 0;
cherry = 0;
orange = 0;
lemon = 0;
apple = 0;
mushroom = 0;
gear = 0;
bar = 0;
seven = 0;
skull = 0;
dingtime = getTimer() + 100;
if (earnings > 90) {
addtime = 0;
} else {
addtime = 100;
}
if (earnings > 0) {
winlights.play();
delaytime = getTimer() + addtime;
gotoAndPlay (238);
} else if (money <= 0) {
gotoAndStop (240);
} else {
gotoAndPlay (234);
}
Frame 238
counttime = getTimer();
if (counttime >= delaytime) {
countcash++;
money++;
delaytime = getTimer() + addtime;
}
if (counttime >= dingtime) {
_root.earningsound.start();
dingtime = getTimer() + 100;
}
if (countcash == earnings) {
_root.earnings = 0;
_root.countcash = 0;
gotoAndStop (234);
}
Frame 239
gotoAndPlay (238);
Frame 241
scoretable0.filename = "scores/slots.sco";
scoretable0.scoresize = 10;
scoretable0.action = "INSERT";
scoretable0.viewtype = "FLASH";
scoretable0.winname = name;
scoretable0.winscore = money;
scoretable0.loadVariables("http://www.robotubegames.com/slots.php", "GET");
stop();
Frame 242
scoretable0.filename = "scores/slots.sco";
scoretable0.scoresize = 10;
scoretable0.action = "INSERT";
scoretable0.viewtype = "FLASH";
scoretable0.loadVariables("http://www.robotubegames.com/slots.php", "GET");
stop();
Symbol 23 MovieClip Frame 1
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 23 MovieClip Frame 3
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
}
Symbol 23 MovieClip Frame 5
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.seven++;
stop();
}
Symbol 23 MovieClip Frame 7
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 23 MovieClip Frame 8
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 23 MovieClip Frame 9
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 23 MovieClip Frame 11
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 23 MovieClip Frame 13
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.bar++;
stop();
}
Symbol 23 MovieClip Frame 15
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 23 MovieClip Frame 17
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 23 MovieClip Frame 19
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Symbol 23 MovieClip Frame 21
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
}
Symbol 23 MovieClip Frame 22
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 23 MovieClip Frame 23
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
}
Symbol 23 MovieClip Frame 25
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 23 MovieClip Frame 27
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 23 MovieClip Frame 29
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Symbol 23 MovieClip Frame 31
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 23 MovieClip Frame 33
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 23 MovieClip Frame 34
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 23 MovieClip Frame 35
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 23 MovieClip Frame 37
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.bar++;
stop();
}
Symbol 23 MovieClip Frame 39
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
}
Symbol 23 MovieClip Frame 41
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 23 MovieClip Frame 43
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
}
Symbol 23 MovieClip Frame 44
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 23 MovieClip Frame 45
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 23 MovieClip Frame 47
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 23 MovieClip Frame 49
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 23 MovieClip Frame 51
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Symbol 23 MovieClip Frame 52
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 23 MovieClip Frame 53
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
}
Symbol 23 MovieClip Frame 55
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 23 MovieClip Frame 57
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 23 MovieClip Frame 59
if (_root.slot1stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Instance of Symbol 23 MovieClip in Symbol 39 MovieClip Frame 17
onClipEvent (enterFrame) {
this.gotoandstop(1);
}
Symbol 39 MovieClip Frame 56
_root.lever.start();
Instance of Symbol 23 MovieClip in Symbol 39 MovieClip Frame 56
onClipEvent (enterFrame) {
this.play();
}
Symbol 39 MovieClip Frame 110
_root.stopspin.start();
Symbol 39 MovieClip Frame 119
_root.earningsound.start();
Symbol 39 MovieClip Frame 123
_root.earningsound.start();
Symbol 39 MovieClip Frame 127
_root.earningsound.start();
Symbol 39 MovieClip Frame 229
Symbol 45 Button
on (release) {
if (name != "Enter Name") {
_root.bet2.start();
gotoAndPlay (233);
} else {
_root.buzzer.start();
gotoAndStop (232);
}
}
Symbol 50 Button
on (release) {
gotoAndStop (242);
}
Symbol 85 MovieClip Frame 1
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 3
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 5
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 6
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 7
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 9
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 11
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 13
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 15
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.bar++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 16
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 17
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 19
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 21
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 23
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 24
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 25
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 27
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 29
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 31
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 32
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 33
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.bar++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 35
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 37
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 39
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 40
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 41
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 43
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 45
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 47
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 49
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.seven++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 50
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 51
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 53
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 55
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 57
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 85 MovieClip Frame 59
if (_root.slot3stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
_root.gotoAndPlay("reset");
}
Symbol 86 MovieClip Frame 1
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 86 MovieClip Frame 3
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
}
Symbol 86 MovieClip Frame 5
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.bar++;
stop();
}
Symbol 86 MovieClip Frame 7
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
}
Symbol 86 MovieClip Frame 9
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 86 MovieClip Frame 11
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Symbol 86 MovieClip Frame 12
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 86 MovieClip Frame 13
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 86 MovieClip Frame 15
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 86 MovieClip Frame 17
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 86 MovieClip Frame 19
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Symbol 86 MovieClip Frame 20
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 86 MovieClip Frame 21
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 86 MovieClip Frame 23
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 86 MovieClip Frame 25
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
}
Symbol 86 MovieClip Frame 27
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 86 MovieClip Frame 29
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 86 MovieClip Frame 31
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 86 MovieClip Frame 32
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 86 MovieClip Frame 33
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 86 MovieClip Frame 35
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.bar++;
stop();
}
Symbol 86 MovieClip Frame 37
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
}
Symbol 86 MovieClip Frame 39
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.seven++;
stop();
}
Symbol 86 MovieClip Frame 41
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Symbol 86 MovieClip Frame 43
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 86 MovieClip Frame 45
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.mushroom++;
stop();
}
Symbol 86 MovieClip Frame 46
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 86 MovieClip Frame 47
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.skull++;
stop();
}
Symbol 86 MovieClip Frame 49
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 86 MovieClip Frame 51
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.cherry++;
stop();
}
Symbol 86 MovieClip Frame 53
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.lemon++;
stop();
}
Symbol 86 MovieClip Frame 55
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.gear++;
stop();
}
Symbol 86 MovieClip Frame 57
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.apple++;
stop();
}
Symbol 86 MovieClip Frame 58
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.blank++;
stop();
}
Symbol 86 MovieClip Frame 59
if (_root.slot2stop == true) {
_root.stopspin.start();
_root.orange++;
stop();
}
Symbol 89 Button
on (release) {
winlights.gotoandstop(1);
if ((_root.money - _root.bet) >= 0) {
_root.lever.start();
_root.winlights.gotoandstop(1);
_root.slot1set = getTimer() + random(500);
_root.slot2set = getTimer() + random(500);
_root.slot3set = getTimer() + random(500);
_root.slot1spin = false;
_root.slot2spin = false;
_root.slot3spin = false;
_root.slot1stop = false;
_root.slot2stop = false;
_root.slot3stop = false;
_root.money = _root.money - _root.bet;
_root.delaytime = getTimer() + 2500;
gotoAndPlay (235);
} else {
_root.message.gotoandplay(2);
_root.bet = 1;
}
}
Symbol 90 Button
on (press) {
_root.bet1.start();
_root.bet = 1;
}
Symbol 91 Button
on (press) {
if ((_root.money - _root.bet) < 0) {
_root.message.gotoandplay(2);
_root.bet = 1;
} else {
_root.bet2.start();
_root.bet = 2;
}
}
Symbol 92 Button
on (press) {
if ((_root.money - _root.bet) < 0) {
_root.message.gotoandplay(2);
_root.bet = 1;
} else {
_root.bet3.start();
_root.bet = 3;
}
}
Symbol 95 Button
on (press) {
_root.bet2.start();
_root.chart.gotoandstop(2);
}
Symbol 98 Button
on (release) {
_root.bet2.start();
gotoAndStop (241);
}
Symbol 101 Button
on (press) {
_root.bet2.start();
_root.help.gotoandstop(2);
}
Symbol 107 Button
on (release) {
this.gotoandstop(1);
}
Symbol 108 MovieClip Frame 1
stop();
Symbol 111 Button
on (release) {
this.gotoandstop(1);
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
_root.buzzer.start();
Symbol 114 MovieClip Frame 45
gotoAndPlay (1);
Symbol 119 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 45
_root.buzzer.start();
Symbol 124 MovieClip Frame 100
_root.gotoandstop("title");
Symbol 151 Button
on (press) {
_root.bet2.start();
gotoAndStop (232);
}
Symbol 154 Button
on (press) {
_root.bet2.start();
gotoAndStop (232);
}