home *** CD-ROM | disk | FTP | other *** search
- function fn_flapFunction()
- {
- _root.FlapAction = false;
- _root.FartAction = true;
- _root.flapCount = _root.flapCount + 1;
- }
- function fn_gasLeak()
- {
- if(_root.level == 2 && _root.gasLevel != 0)
- {
- _root.flapCount -= 0.1;
- }
- else if(_root.level == 3 && _root.gasLevel != 0)
- {
- _root.flapCount -= 0.2;
- }
- }
- function fn_renCam()
- {
- if(_root.FartAction == true && _root.renExpress == false)
- {
- labels = new Array();
- labels[0] = "Pose1";
- labels[1] = "Pose2";
- labels[2] = "Pose3";
- labels[3] = "Pose4";
- labels[4] = "Pose5";
- labels[5] = "Pose6";
- n = labels.length;
- r = int(Math.random() * n);
- renCam.gotoAndPlay(labels[r]);
- }
- }
- function fn_fartMeter()
- {
- _root.gamePlay = _root.flapCount / _root.capNeed * 100;
- _root.gasLevel = Math.floor(_root.gamePlay);
- gasMeter.gotoAndStop(_root.gasLevel);
- if(_root.gasLevel >= "100" && _root.level == 3)
- {
- gotoAndStop(20);
- }
- else if(_root.gasLevel >= "100")
- {
- gotoAndStop(30);
- }
- }
- _root.level = 1;
- _root.vTime = 30;
- _root.flapCount = 0;
- _root.capNeed = 8;
- _root.FlapAction = false;
- loadVariablesNum("http://www2.warnerbros.com/tracking.html?game_id=ren_stimpy",0);
-