home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / croc.swf / scripts / DefineSprite_106 / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2003-11-08  |  205 b   |  12 lines

  1. function checkHeroOnStone()
  2. {
  3.    if(_parent.stone1.hitTest(_parent.hero.hitArea))
  4.    {
  5.       onStone = 1;
  6.    }
  7.    if(_parent.stone2.hitTest(_parent.hero.hitArea))
  8.    {
  9.       onStone = 1;
  10.    }
  11. }
  12.