script_enemy_main{
	#include_function ".\lib\dialogue.txt"
	#include_function ".\sakuyaanim.txt";
	let imga=GetCurrentScriptDirectory~"img\cutins\Sakuya.png";
	let imgb=GetCurrentScriptDirectory~"img\cutins\Remilia2.png";
	let imgback=GetCurrentScriptDirectory~"lib\textback.png";
	let frame=0;
sub SetDialogue
{
	yield;
	AddDialogueChar(imgb, 0, 0, 144, 288, "RIGHT");
	MoveDialogueChar("RIGHT", 0, 1);
	AddDialogueText("Sakuya, you disappoint me.", 255, 64, 64);
	AddDialogueChar(imga, 0, 0, 144, 288, "RIGHT");
	MoveDialogueChar("RIGHT", 0, 0);
	MoveDialogueChar("RIGHT", 1, 1);
	AddDialogueText("I know...", 64, 64, 255);
	InitializeDialogue(imgback, 0, 0, 350, 45);
}
	@Initialize{
		SetLife( 1 );
		DeleteEnemyShotToItem( ALL );
		CollectItems;
		SetDamageRate( 0, 0 );
		LoadGraphic(imga);
		LoadGraphic(imgb);
		LoadGraphic(imgback);
		SetDialogue;
	}
	@MainLoop{
		yield;
		SetMovePosition02(GetCenterX, 120, 30);
	}
	@DrawLoop{
	anim2;
}

	@Finalize{
	}
}