
script_enemy_main
{    

    let bg = "script\DanMUku\Image\bonusroom.png";
	let clear = "script\DanMUku\Musique\bonusclear.wav";


   @Initialize
   {
      LoadUserShotData("lib\MUtir\MUtir.txt");
      LoadGraphic(bg);
      LoadMusic("script\DanMUku\Musique\bonus.mp3");
	FadeOutMusic("script\DanMUku\Musique\bonus.mp3",1000);
      LoadSE(clear);
	PlaySE(clear);
            SetLife(8500);
            SetTimer(5);
            SetInvincibility(100);
            SetEnemyMarker(false);
            SetScore(0);
   }
   
 function Wait(let frames){
   loop(frames){yield;}
 }

   @MainLoop
   {

   }
   @Finalize
   {

   }

   @DrawLoop
   {
            SetTexture(bg);
            SetRenderState(ALPHA);
            SetAlpha(255);
            SetGraphicRect(0, 0, 50000, 50000);

            SetGraphicScale(1,1);
            SetGraphicAngle(0, 0, 0);
            DrawGraphic(GetCenterX, GetCenterY-50);


	DrawText("Bonus", GetClipMinX+10, GetClipMinY+15, 12, 255);
   }
}
