home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 7.48 / pcgamercd / Data / Help.pcg / scripts / DefineSprite_39 / frame_156 / DoAction.as
Text File  |  2001-06-20  |  266b  |  17 lines

  1. if(603 >= _parent._xmouse)
  2. {
  3.    this._X = _parent._xmouse + 115;
  4. }
  5. else
  6. {
  7.    this._X = _parent._xmouse + 115 - (_parent._xmouse - 603);
  8. }
  9. if(496.95 >= _parent._ymouse)
  10. {
  11.    this._y = _parent._ymouse + 25;
  12. }
  13. else
  14. {
  15.    this._y = _parent._ymouse - 8;
  16. }
  17.