home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Santos.swf / scripts / DefineSprite_105 / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2006-06-13  |  290 b   |  9 lines

  1. if(_Y - "150" < getProperty("../Schiff1", _Y) and getProperty("../Schiff1", _Y) < _Y + "150")
  2. {
  3.    if(_X + "100" >= getProperty("../Schiff1", _X) and getProperty("../Schiff1", _X) >= _X - "100")
  4.    {
  5.       set("../:Energie",eval("../:Energie") - "50");
  6.       gotoAndPlay(9);
  7.    }
  8. }
  9.