OnTake()
{
	if($prince_battle==false)
	{
		$prince_battle=true;
		LockPlayer(true);
		TileLocation("wp_kingspawn",x,y);
		SpriteAlpha($lplostprince,255);
		SpriteLightRadius($lplostprince,0);
		PlaceCharacter($lplostprince,x,y);
		MakeEyeContact($lpmorning,$lplostprince);
		CameraTarget($lplostprince);
		PlaySound("data/spirit_woosh.ogg","game.effects.woosh",false);
		//fade in
		a=255;
		r=0;
		while(a>0)
		{
			SpriteLightRadius($lplostprince,r);
			SpriteAlpha($lplostprince,a);
			a=a-4;
			r=r+8;
			Wait(1);
		}
		Talk($lplostprince,"You just couldn't leave, could you!?","",true);
		Talk($lplostprince,"You had to meddle in my affairs!","",true);
		CameraTarget($lpmorning);
		Talk($lpmorning,"I've restored light to your city. You are free!","",true);
		CameraTarget($lplostprince);
		Talk($lplostprince,"You have taken my birthright and for that you must die!","",true);
		CharacterIFF($lplostprince,"foe");
		CameraTarget($lpmorning);
		PlaySound("data/tk_018.ogg","game.music.bgmusic",1);
		LockPlayer(false);
	}
}