home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / starisland.swf / scripts / DefineSprite_1076 / frame_2 / DoAction.as
Encoding:
Text File  |  2007-12-10  |  405 b   |  16 lines

  1. if(!Isfirst)
  2. {
  3.    this.levelmap.gotoAndStop(illusoft.Game.Instance.currentTile.id);
  4. }
  5. else
  6. {
  7.    listenForKeys = false;
  8.    _root.endScreen._visible = false;
  9.    _root.menu._visible = false;
  10.    _root.gamecontrol._visible = false;
  11.    _root.happy2._visible = false;
  12.    _root.menubtn._visible = true;
  13. }
  14. illusoft.Game.Instance.character.info_mc._visible = false;
  15. _global.sounds.PlaySound("over");
  16.