script_enemy_main{
	#include_function ".\lib\lib_anime_Mokou.txt"
	#include_function ".\Draw.txt"
	#include_function ".\lib_Functions.txt"
	let imgBoss	=csd ~ "img\dot_mokou.png";

	@Initialize {
        	SetLife(1);
		SetDamageRate(0, 0);
		InitializeAction();
		LoadUserShotData(shotData);
        	LoadGraphic(imgBoss);
		Load;
        	Main;
	}
	
	@MainLoop {
		yield;
	}

	@DrawLoop {
		SetColor(255,255,255);
		SetGraphicScale(1,1);
		if(drawriza>0){
		DrawBoss(imgBoss);
		}
	}

    	task Main {
        	yield;
		SetMovePosition02(cenX, cenY-100, 1);
		wait(2);
		RizalectionB;
		wait(120);
		AddLife(-1);
	}

	@Finalize{
		DeleteGraphic(imgBoss);
		Delete;
	}

}