script_enemy_main
{
	#include_function ".\System\CommonFunctions.dnh"
	#include_function ".\System\EnemyFunctions.dnh"
	warping = true;
	
	@Initialize
	{
		SetLife(1);
		warping = true;
		SetDamageRate(0, 0);
		SetMovePosition01(GetX, GetClipMinY - 50, 4);
	}
	
	@MainLoop
	{
		if(xscale == 0)
		{
			SetX(GetArgument[1]);
			SetY(GetArgument[2]);
		}
		
		if(GetX == GetArgument[1] && GetY == GetArgument[2])
		{
			warping = false;
			if(xscale == 1 && yscale == 1)
			{
				SetLife(0);
			}
		}
	}
	
	@DrawLoop
	{
		if(GetArgument[0] == "BLACK")
		{
			DrawLilyBlack;
		} else if(GetArgument[0] == "WHITE")
		{
			DrawLilyWhite;
		}
	}
}