home *** CD-ROM | disk | FTP | other *** search
- i = random(12);
- if(gogo == 1)
- {
- if(_root.power_mc._width > 5)
- {
- _root.explosion._x = _root.dude_mc._x - 5;
- _root.explosion._y = _root.dude_mc._y - 40;
- _root.explosion.play();
- gogo = 0;
- }
- }
- if(go == 1)
- {
- if(_root.power_mc._width > 5)
- {
- if(_root.muteSound == 1)
- {
- go = 0;
- }
- }
- }
- if(_root.muteSound == 0)
- {
- if(_root.power_mc._width > 5)
- {
- if(go == 1)
- {
- if(i == 0)
- {
- _root.fart1Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart1Sound.start(0,1);
- go = 0;
- }
- if(i == 1)
- {
- _root.fart2Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart2Sound.start(0,1);
- go = 0;
- }
- if(i == 2)
- {
- _root.fart3Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart3Sound.start(0,1);
- go = 0;
- }
- if(i == 3)
- {
- _root.fart4Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart4Sound.start(0,1);
- go = 0;
- }
- if(i == 4)
- {
- _root.fart5Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart5Sound.start(0,1);
- go = 0;
- }
- if(i == 5)
- {
- _root.fart6Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart6Sound.start(0,1);
- go = 0;
- }
- if(i == 6)
- {
- _root.fart7Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart7Sound.start(0,1);
- go = 0;
- }
- if(i == 7)
- {
- _root.fart8Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart8Sound.start(0,1);
- go = 0;
- }
- if(i == 8)
- {
- _root.fart9Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart9Sound.start(0,1);
- go = 0;
- }
- if(i == 9)
- {
- _root.fart10Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart10Sound.start(0,1);
- go = 0;
- }
- if(i == 10)
- {
- _root.fart11Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart11Sound.start(0,1);
- go = 0;
- }
- if(i == 11)
- {
- _root.fart12Sound.onSoundComplete = function()
- {
- go = 1;
- };
- _root.fart12Sound.start(0,1);
- go = 0;
- }
- }
- }
- }
-