home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / crocosnack.swf / scripts / DefineSprite_228 / frame_172 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  366 b   |  22 lines

  1. set("v:animSwallowDone",true);
  2. if(!eval("v:pause"))
  3. {
  4.    if(eval("v:hatCaught") == true)
  5.    {
  6.       _parent.menuJeu.score += eval("v:hatPoints");
  7.    }
  8.    else
  9.    {
  10.       _parent.menuJeu.score += eval("v:normalPoints");
  11.    }
  12. }
  13. if(eval("v:hatCaught") == false)
  14. {
  15.    set("v:caughtObject",false);
  16.    gotoAndStop(138);
  17. }
  18. else
  19. {
  20.    gotoAndStop(56);
  21. }
  22.