script_enemy_main
{
	let frame=-100;
	#include_function ".\spellcard.txt";
	#include_function ".\boss1anim.txt";

	@Initialize
	{
		SetInvincibility(100);
		SetLife(1);
		SetDamageRate(0,0);
		SetMovePosition02(GetClipMaxX+70,-70,40);
		LoadUserShotData(GetCurrentScriptDirectory~"supershot.txt");
	}
	
	@MainLoop
	{
		SetCollisionA(GetX(),GetY(),24);
		SetCollisionB(GetX(),GetY(),24);
		frame++;
		yield;
		if(frame==-59){VanishEnemy;}
}
	
	@Finalize
	{
	}
	
	@DrawLoop
	{
		anim_idle;
	}
}