home *** CD-ROM | disk | FTP | other *** search
- function add_one()
- {
- got_fruit += 1;
- if(num_fruit >= got_fruit)
- {
- var fclip = eval(num_fruit + which_fruit + got_fruit);
- fclip.gotoAndStop(2);
- if(got_fruit == num_fruit)
- {
- _root.got_all_fruit();
- }
- }
- }
- function minus_one()
- {
- if(0 < got_fruit)
- {
- var fclipname = num_fruit + which_fruit + got_fruit;
- var fclip = eval(fclipname);
- fclip.gotoAndStop(1);
- got_fruit -= 1;
- }
- }
- stop();
-