home *** CD-ROM | disk | FTP | other *** search
- if(payoff_index < 4)
- {
- if(num_fruits == 1)
- {
- payoff_index++;
- if(0 < _root.salad_got[payoff_index])
- {
- num_fruits = _root.salad_got[payoff_index];
- _root.salad_menu.got_fruit = num_fruits;
- _root.salad_menu.which_fruit = _root.salad_things[payoff_index];
- var menu_label = num_fruits + _root.salad_things[payoff_index];
- _root.salad_menu.gotoAndStop(menu_label);
- _root.salad_menu.minus_one();
- }
- else
- {
- payoff_index = 99;
- _parent.audioSalad.play();
- }
- }
- else
- {
- _parent.salad_menu.minus_one();
- num_fruits -= 1;
- }
- gotoAndPlay(12);
- }
- else
- {
- payoff_index++;
- _parent.audioSalad.play();
- }
-