home *** CD-ROM | disk | FTP | other *** search
- function reset()
- {
- _root.world.player.needCollect = _root.world.player.needCollect + 1;
- active = true;
- gotoAndStop(2);
- }
- function damage(pDamage)
- {
- }
- function touch()
- {
- if(active)
- {
- _root.world.player.needCollect--;
- _root.world.player.addToScore(750);
- active = false;
- gotoAndPlay(3);
- }
- }
- _root.world.register(this);
-