home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / henkyaku1.0.exe / henkyaku / Program / Usr / leveltext.tonyu < prev    next >
Text File  |  2010-01-03  |  2KB  |  84 lines

  1. extends TextChar;
  2.  
  3. while($playersuu!=3){
  4.   if($time<=0){
  5.     if($percent<$noruma) {
  6.       $Gameovertext.x=130;
  7.       $Gameovertext.y=25;
  8.       $Gameovertext.text="âmâïâ}òsÆBɼ";
  9.       for (t in $chars) {
  10.         if ( t is Player1) t.die();
  11.         if ( t is Player2) t.die();
  12.       }
  13.       break;
  14.     }
  15.     $level+=1;
  16.     $periodscore=0;
  17.     $periodall=0;
  18.     $percent=100;
  19.     text="level"+$level;
  20. $time=30;
  21. $mplayer.play($se_levelup,0,128);
  22. $mplayer.play($se_levelup2,0,128);
  23. col=$clYellow;
  24. wait(225);
  25. col=$clBlack;
  26. }
  27. text="level"+$level;
  28. update();
  29. }
  30. t=null;
  31. while($playersuu==3){
  32.   if($time<=0){
  33.     $Gameovertext.x=185;
  34.     $Gameovertext.y=68;
  35.     $Gameovertext.text="Time Over!";
  36.     $mplayer.stop();
  37.     $mplayer.play($se_chime1,0,128);
  38.     t=timestop();
  39.     wait(350);
  40.     $mplayer.stop();
  41.     $mplayer.play($se_hahavoice1,0,128);
  42.     $Gameovertext.col="$clRed;
  43.     if($score1>$score2){
  44.       $Gameovertext.x=201;
  45.       $Gameovertext.y=68;
  46.       $Gameovertext.text="1P WIN!!";
  47.       for (t in $chars) {
  48.         if ( t is Player3) {
  49.           $Gameovertext.x=130;
  50.           t.scaleX=4;
  51.         }
  52.       if ( t is Player3de2) {
  53.         $Gameovertext.x=130;
  54.         t.scaleX=4;
  55.         }
  56.       }      
  57.     }else{
  58.       if($score1<$score2){
  59.       $Gameovertext.x=201;
  60.       $Gameovertext.y=68;
  61.       $Gameovertext.text="2P WIN!!";
  62.       for (t in $chars) {
  63.       if ( t is Player4) {
  64.         $Gameovertext.x=130;
  65.         t.scaleX=4;
  66.         }
  67.       if ( t is Player4de2) {
  68.         $Gameovertext.x=130;
  69.         t.scaleX=4;
  70.         }
  71.       }
  72.       }else{
  73.         $Gameovertext.x=241;
  74.         $Gameovertext.y=68;
  75.         $Gameovertext.text="DRAW!";
  76.       }
  77.     }
  78.     wait(300);
  79.     t=null;
  80.     $projectManager.loadPage($page_title);
  81.   }
  82.   text="level"+$level;
  83.   update();
  84. }