home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / zombietypocalypse.swf / scripts / Zombie_nerd.as < prev    next >
Encoding:
Text File  |  2008-09-15  |  1.3 KB  |  65 lines

  1. package
  2. {
  3.    import flash.media.SoundMixer;
  4.    import game.GameZombie;
  5.    import game.ThisGameManager;
  6.    
  7.    [Embed(source="/_assets/assets.swf", symbol="Zombie_nerd")]
  8.    public dynamic class Zombie_nerd extends GameZombie
  9.    {
  10.        
  11.       
  12.       public function Zombie_nerd()
  13.       {
  14.          super();
  15.          addFrameScript(119,frame120,179,frame180,235,frame236,290,frame291,328,frame329,447,frame448,467,frame468,509,frame510);
  16.       }
  17.       
  18.       internal function frame291() : *
  19.       {
  20.          give50();
  21.          if(ThisGameManager.getInstance().mute)
  22.          {
  23.             SoundMixer.stopAll();
  24.          }
  25.       }
  26.       
  27.       internal function frame180() : *
  28.       {
  29.          this.gotoAndPlay("je");
  30.       }
  31.       
  32.       internal function frame510() : *
  33.       {
  34.          this.stop();
  35.          afterKilling();
  36.       }
  37.       
  38.       internal function frame448() : *
  39.       {
  40.          veryAngry();
  41.       }
  42.       
  43.       internal function frame329() : *
  44.       {
  45.          this.stop();
  46.          this.deleteMe();
  47.       }
  48.       
  49.       internal function frame468() : *
  50.       {
  51.          giveBlood();
  52.       }
  53.       
  54.       internal function frame236() : *
  55.       {
  56.          jumpWybuch();
  57.       }
  58.       
  59.       internal function frame120() : *
  60.       {
  61.          gotoAndPlay("Loop");
  62.       }
  63.    }
  64. }
  65.