home *** CD-ROM | disk | FTP | other *** search
- hKidsScale = _level0.happyKids / 40 * 100;
- vKidsScale = _level0.unhappyKids / 40 * 100;
- setProperty("hScale", _xscale, hKidsScale);
- setProperty("uScale", _xscale, vKidsScale);
- if(_level0.happyKids >= 40 && _level0.santaLevel == 1)
- {
- tellTarget("_level0")
- {
- gotoAndStop("startlevB");
- play();
- }
- }
- else if(_level0.happyKids >= 40 && _level0.santaLevel == 2)
- {
- tellTarget("_level0")
- {
- gotoAndStop("checkscore");
- play();
- }
- }
- if(_level0.unhappyKids >= 40)
- {
- tellTarget("_level0")
- {
- gotoAndStop("checkscore");
- play();
- }
- }
-