home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Estrategia / morbus.swf / scripts / DefineSprite_1643 / frame_11 / DoAction_2.as next >
Encoding:
Text File  |  2007-03-20  |  194 b   |  11 lines

  1. if(_root.ini.a.a == "0" && _root.skill.gold >= _root.price)
  2. {
  3.    _root.ini.a.gotoAndPlay(number);
  4.    _root.skill.gold -= _root.price * 2;
  5.    gotoAndStop(1);
  6. }
  7. else
  8. {
  9.    nextFrame();
  10. }
  11.