home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / pendekar.swf / scripts / DefineSprite_99 / frame_1 / DoAction.as
Text File  |  2006-05-08  |  224b  |  14 lines

  1. weapon = _parent._parent.weapon;
  2. if(weapon == undefined)
  3. {
  4.    weapon = _parent._parent._parent.weapon;
  5. }
  6. if(weapon == 0 || weapon == undefined)
  7. {
  8.    gotoAndStop(_totalframes);
  9. }
  10. else
  11. {
  12.    gotoAndStop(weapon);
  13. }
  14.