---------------------------------------------------------------------
if ͼID()== 10691 or ͼID()== 10895  or ͼID() == 10228 or  ----19
	ͼID()== 10463  or 	--49 (7860.00,5306.00,515.59,600,60);
	ͼID()== 10893 or		--29
	ͼID()== 10896 then 	--33  
	if ͼID() == 10893 and ë() > 2 and װ־() > 0  then
		(0)
	elseif ë() > 10 then
		(0)
	else
		(1)
	end;
elseif 	ͼID()== 10491 then --46˱	
	if (귶Χ(51260.46,-36927.46)<1000 or 귶Χ(33617.59,-16187.58)<1000) and ë() > 5 then
		(0);
	else
		(1);
	end;	
else
	(1);
end;
---------------------------------------------------------------------
(1,0,"");
---------------------------------------------------------------------
(0);		--0,رƶ ô600ֵƶ
(1,1000);    --0,رչ 1-
жϵͼ();
---------------------------------------------------------------------
--жǷ
Ƿ	= 0;
---------------------------------------------------------------------
if ȼ() >= 50 or ȼ()< 11  then
	if ȡɱ("Ƿ",1) == 1 then
		Ƿ = 1;
	elseif ɫ() > 1 or ǰɫ() > 1 then		
		дɱ("Ƿ",1,1);				--ʼʺ+ɱ־
		Ƿ = 1;
	end;
end;

if Ƿ == 0 then
	("============߿ʼ==============================");
	---------------------------------------------------------------------
	if ǰְҵ() == 0x65 then
		(3,"ն|Q,ͻϮ֮|W,ն|E,һ|R,չ|C");
	elseif ǰְҵ() == 0x66 then
		(3,"|A,ն|Q,ն|F,һ|R,ͻϮ֮|W,ն|E,ն|D,|S,չ|C");
	elseif ǰְҵ() == 0x67 then 
		(3,"ȫӻ|F,|W,|R,Ծ|D,ǿػ|A,ηս|E,|S,ػ|Q");	--,չ|C
	elseif ǰְҵ() == 0x12D then
		(3,"ǧ|R,׶|W,׹|E,׷|Q,չ|C");	
	elseif ǰְҵ() == 0x131 then 	 
		(3,"|Q,Ҳ|F,ն|R,|W,|S,ȿն|E,|D,һ|A");
	elseif ǰְҵ() == 0xCD	then		--Ů
		if ȼ() >= 28 and Ƿ(0x9182,3) == 1 then
			(3,"˪|A,ܻ|Q,|F,|R,׵|W,|E,ߵĺХ|D,|S,չ|C");	
		else
			(3,"ܻ|Q,Ǵ׷|F,ٻ|R,ͷ|W,ߵĺХ|S,׵|E,|D,|A,չ|C");			
		end;
	end;
	ýű("\\ܼӵ.txt");
	---------------------------------------------------------------------
	ýű("\\Ѫ.txt");
	---------------------------------------------------------------------	
	if ȼ()<11 then
		ýű("\\ִս.txt");
	end;
	if  ȼ()>=10 and ȼ()<23 then
		ýű("\\10-20.txt");	
	end;
	if  ȼ()>=18 and ȼ() <33 then
		ýű("\\21-30.txt");	
	end;
	if  ȼ()>=28 and ȼ() <43 then	
		ýű("\\31-40.txt");	
	end;
	if  ȼ()>=38 and ȼ() <47 then
		ýű("\\41-45.txt");		
	end;
	if  ȼ()>=43 and ȼ() <55 and Ƿ("",0x10D0B3) == 0 and ȡɱ("Ƿ",1) == 0 then
		ýű("\\46-50.txt");
	elseif Ƿ("",0x10D0B3) == 1 then
		--The Sturmbrecher Launch һڱ 
		дɱ("Ƿ",1,1);
	end;	
elseif Ƿ == 1 and ȼ() >= 50 then
	("=====================Ƿ======================");
	if ͼID() == 11111 then
		ݵ("Ǻг㳡",0xDBFCE);
		ʱ(1000);
	elseif ǰɫ() == 1 and 	Ƿ("",0x10D0B3) == 1 and 
		ɫ() == 0 and 귶Χ(14535.00,14907.00)< 500 then
		½();
	elseif ɫ() > 1 then
		("============ֱ ==============================");	
		if ȡɱ("ǷһֱС",1) == 1 and ǰɫ() == 1 then
			дɱ("ǷһֱС",0,1);
		end;
		if ((ܵȼ(0x413C) == 0 and ǰְҵ() == 0x66) or (ܵȼ(0x91F0) == 0 and ǰְҵ() == 0xCD) or ͼID() == 10002) and ɫ() > 1  then
			("============ֱ ѧѼ==============================" );
			ýű("\\ѧѼ.txt");
		elseif ͼID() == 11102  then				
			("============ֱ ֻװ==============================");
			if ǰɫ() == 2  and (귶Χ(23560.00,-33010.00) < 800) and ͼID() == 11102 then
				ýű("\\ֱŻװ.txt");	
			elseif ͼID() == 11102 then
				("=============뿪Ϸ=========================");
				if ǰɫ() == 1 then
					½(2);
				else
					뿪Ϸ(1);
				end;
			end;
		end;	
	elseif 	ɫ() == 1 then
		("=============Сſʼֱ ȡֱ=========================");
		дɱ("ǷһֱС",1,1);
		--һҪֱС
		if ͼID() == 10002 then
			ʼܴ();
			(12983.00,95.00,232.82,600,60,1);
			ܴ();		
			if 귶Χ(12983.00,95.00)<100 then
				ʹð("G")
				ʱ(2000);
			end;			
		elseif ǰɫ() == 1 and ɫ() == 1 then
			("=============ȡֱ=========================");
			--ǰɫΪ150ɫֻһ,ȥֱֱС
			if Ʒ("Vern Powerpass") > 0 then
				дɱ("Ƿֱ");
				ʹƷ("Vern Powerpass",2);
				ʱ(1000);					
			elseif ȼ() > 49 and ȡɱ("Ƿֱ") == 0 then			
				("=============ȡֱ=========================");
				ʼ();
			elseif ȡɱ("Ƿֱ") == 1  then	--and ɫ(2)>1
				("=============ɫֱ=========================");
				ɫֱ();
				ʱ(2000);				
			end;
		end;
		--
	elseif 	ɫ(1) > 1 and ǰɫ() == 1 then
		("=============ѽС ʼֱ=========================");
		if Ʒ("Vern Powerpass") > 0 then
			дɱ("Ƿֱ");
			ʹƷ("Vern Powerpass",2);
			ʱ(1000);
		elseif ȼ() > 49 and ȡɱ("Ƿֱ") == 0 then
			ʼ();
		elseif ȡɱ("Ƿֱ") == 1 then
			ɫֱ();
		end;
	end;
elseif Ƿ == 1 and ȼ() < 11 and ǰɫ() == 2  then
	("=============Сſʼֱ Ļ=========================");
	дɱ("ǷһֱС",1,1);
	-----------------------------------------------------------------
	--СŴֱĻ
	if ͼID() ==10023 or ͼID() ==10021 then
		("============ֱͼ==============================");	
		--ֱͼ
		ðտʼ(1);
		ðտʼ(2);
		ðտʼ(3);
		ðտʼ(4);
		ðտʼ();			
	elseif Ƿ("",0x18E0D) == 1 then	
		if () == 1 then
			Ѱ·(10864.00,132.00,25.71);
		elseif () == 2 then
			Ѱ·(10864.00,132.00,25.71);
			ɼƷ();
			ʱ(3000);
			Ƿתְ = 0;
		elseif () == 3 then
			if 귶Χ(10864.00,132.00) < 30 and 귶Χ(11865.10,139.00) > 50 and Ƿתְ == 0 then
				if ǰְҵ() == 0xC9 then
					תְ(0xCD);
					ʱ(3000);
					Ƿתְ = 1;			
				else
					תְ();
					ʱ(3000);
					Ƿתְ = 1;
				end;	
			else
				if 귶Χ(11865.10,139.00) > 50 and 귶Χ(10864.00,132.00) < 30 and Ƿתְ == 1 then
					();
					ʱ(2000);	
					Ƿתְ = 2;				
				else
					Ѱ·(11865.10,139.00,14.89);
					if 귶Χ(11865.10,139.00)<50 then
						if ǰְҵ() == 0xC9 then
							תְ(0xCD);
						else
							תְ();
						end;
					end;							
					ʱ(1000);
				end;
			end;
		elseif () == 4 then
			Ѱ·(12689.00,157.00,232.82);		
			if 귶Χ(12689.00,157.00)<50 then
				("Beatrice");
				Ѱ·(13006.54,135.00,244.84);
				ɼƷ(300);			
			end;
		end;
	--To Forgotten Land ȥ	
	elseif Ƿ("",0x19F0A1) == 1 and ͼID() != 10200 then
		if ͼID() == 10008 then
			ðտʼ(1);
			ðտʼ(2);
			ðտʼ(3);
			ðտʼ(4);
			ðտʼ();		
		elseif () == 1 then
			Ѱ·(13006.54,135.00,244.84);
			if 귶Χ(13006.54,135.00)<50 and ͼID() != 10200  then
				ɼƷ(300);
			end;
		end;		
	elseif Ƿ("",0x19F231) == 1 then
		if () == 1 then
			if ͼID() == 10200 then
				("=================ðտʼ=====================");
				ʼѰ·();	
				Ѱ·(1411.00,2706.00,528.25);
				Ѱ·(1937.00,2452.00,532.00);
				Ѱ·(1937.00,2452.00,532.00);
				if 귶Χ(1937.00,2452.00)<100 then				
					ðտʼ(1);
					ðտʼ(2);
					ðտʼ(3);
					ðտʼ(4);
					ðտʼ();			
					ʱ(5000);
				end;
			end;
		end;
	end;
end;

---------------------------------------------------------------------
