home *** CD-ROM | disk | FTP | other *** search
- function goToNextLevel()
- {
- _parent.database.level += 1;
- _parent.heroInfo.level = _parent.database.level;
- resetTimer();
- resetHero();
- resetCrocMouth();
- _parent.database.crocSpeed += 0.5;
- _parent.database.logSpeed += 0.5;
- levelSound = new Sound(this);
- levelSound.attachSound("endOfLevel");
- levelSound.start();
- }
-