script_enemy_main{

	#include_function ".\lib\dialogue.txt"
	#include_function ".\keineanim.txt";
	let imga = GetCurrentScriptDirectory~"img\cutins\face_st03an.png";
	let imgb = GetCurrentScriptDirectory~"img\cutins\face_st03lo.png";
	let imgc = GetCurrentScriptDirectory~"img\cutins\face_st03pr.png";
	let imgd = GetCurrentScriptDirectory~"img\cutins\face_st03no.png";
	let imgback=GetCurrentScriptDirectory~"lib\textback.png";
sub SetDialogue
{
	yield;
	AddDialogueChar(imga, 0, 0, 128, 256, "RIGHT");
	MoveDialogueChar("RIGHT", 0, 1);
	AddDialogueText("I thought I told you never to come back.", 64, 64, 255);
	ChangeCharImg("RIGHT", 0, imgb);
	AddDialogueText("These people just can't take it anymore!", 64, 64, 255);
	ChangeCharImg("RIGHT", 0, imgc);
	AddDialogueText("And honeslty, I can't take much fighting        anymore either.", 64, 64, 255);
	ChangeCharImg("RIGHT", 0, imgd);
	AddDialogueText("But I will protect these people at all cost!", 64, 64, 255);
	InitializeDialogue(imgback, 0, 0, 350, 45);
}
	@Initialize{
		SetLife( 1 );
		DeleteEnemyShotToItem( ALL );
		CollectItems;
		SetDamageRate( 0, 0 );
		LoadGraphic(imga);
		LoadGraphic(imgb);
		LoadGraphic(imgc);
		LoadGraphic(imgd);
		LoadGraphic(imgback);
		SetDialogue;
	}
	@MainLoop{
		yield;
		SetMovePosition02(GetCenterX, 120, 30);
	}
	@DrawLoop{
	anim2;
}

	@Finalize{
	}
}