

script_enemy_main
{
	// ʒu
	let xIni	= GetCenterX;
	let yIni	= GetClipMinY + 100;

	let D_RATE = 100;
	let D_WAIT = 180;

	let count= -120;

	//ւ̊{ݒ
	#include_function ".\lib\setting_itirin.txt"

	@Initialize()
	{
		SetLife(1);
		LoadGraphic(imgBoss);
		SetTexture(imgBoss);
		
		standBy;
	}

	@MainLoop()
	{
		if(OnEvent()==true)
		{
			break;
		}
		if(count == -118)
		{
			SetMovePosition02(xIni, yIni, 40);
	          	CreateEventFromScript("Event1");
		}
		if(count == -117)
		{
			SetLife(0);
		}
		count++;
	}

	@DrawLoop {
		Draw_Itirin;
	}

	@Finalize {
		DeleteGraphic(imgBoss);
	}
}

script_event Event1
{
@Initialize
	{
	
	}

@MainLoop
	{
		TextOutB(60, "");
		TextOut("\c[BLUE]vԂˁApH");
		TextOut("\c[RED]ƌwĂ݂ȂĂˁB");
		TextOut("\c[BLUE]̊ɂ͐ƑXˁB");
		TextOut("\c[BLUE]͍CsB\n肨B");
	End();
	}

@Finalize
	{

	}
}
