--ƽ֮

=ȡ()
Ƿ=ȡǷӳ()
Ƿ=1
=1
ֻȡƷ=" ç ʯ ʯ  ˿   õ ƽ֮"
ﱣ()
()
if(Ѱı("  ֮",ȡͼ()) <= 0) then
        ԶѪ(80)
end


function (,ͼ,npc,Ի)
    while (ȡ() == -1) do
        ٻ()
        Ѱ·2(ͼ,npc)
        (npc)
        ȴ()
        Ի(Ի)
        ȴ()
        if (Ѱı(ȡԻ(),"5") > 0) then
            ӡϢ("Ѿ5")
            return -1
        else
            ()
        end
        ȴ()
        
    end
           return 0
end

function (,ͼ,npc,Ի1,Ի2,ͼ)
    while(ȡ() == 0) do
        if(ȡͼ() == ͼ) then
            ٻ()
            Ѱ·2(ͼ,npc)
            ȴ()
            if((npc) == true) then
                ȴ()
                if(Ի(Ի1) == true) then
                    ȴ()
                    if(Ի(Ի2) == true) then
                         жϵͼ()
                        if(Ѱı(ȡԻ(),"ʧ") > 0) then
                            ӡϢ("ʧ,ȴ30Ӻ")
                            ()
                        end
                    end
                end
            end
          
        end
      if ȡͼ() == ͼ then
          break;
      end
    end    
end
function (,ͼ,npc,Ի,Ƿ)
 while(ȡ() == 1) do
        Ѱ·2(ͼ,npc)
        ȴ()
        (npc)
        ȴ()
        Ի()
        ȴ()
   if Ƿ~=nil then
        ()
        ȴ()
   end
        ()
        ȴ()
 end
 while(ȡ() == 2) do
        ӡϢ("ʧ,ȴ30Ӻ")
        ()
        ȴ()
 end
end

function ӳ(ͼ,x,y)
       if(ȡͼ() == ͼ) then
          ٻ()
          Ѱ·(x,y)
          ȴ()
          while(ȡΧ()>0) do
	       ɱ(0,1)
	       ȴ()
           (ֻȡƷ)
	       ȴ()
		   Ѱ·(x,y)
	      end
	   end
end

function ()
    while(ȡ("ƽ֮") == 0 and ȡͼ() == "") do
        ٻ()
	ӳ("",135,198)
        ӳ("",135,177)
	ӳ("",145,188)
        ӳ("",158,188)
        ӳ("",158,188)
		ٻ()
        ӳ("",98,87)
        ӳ("",65,87)
        ӳ("",98,67)
        ӳ("",85,57)
        ӳ("",74,57)
        ӳ("",65,67)
        ӳ("",55,58)
        ӳ("",62,40)
        ٻ()
        ӳ("",159,64)
        ӳ("",175,81)
        ӳ("",199,72)
        ӳ("",178,63)
        ӳ("",167,45)
        while(ȡ("ƽ֮") == 0 and ȡͼ() == "") do
            Ѱ·(196,47)
            ȴ()            
           while (ȡΧ()>0) do
	         ɱ(0,1)
	         ȴ()
             2(ֻȡƷ)
	         ȴ()
	       end
            2(ֻȡƷ)
           
        end  
        while(ȡͼ() ~= "¥") do
            ȴ()
            2(ֻȡƷ)
        end  
    end
end

function ()
  while(ȡ("ƽ֮") == 0 and ȡͼ() == "") do
    ӳ()
    2(ֻȡƷ)
    ȴ()
  end
end

=ȡλ()
ӡϢ("λ"..tostring())

if(ȡ("ƽ֮",1) == false or ȡ("ƽ֮") == 0) then
    while(Ѱı("  ֮",ȡͼ()) <= 0) do
        ٻ()
        Ѱ·2("¥","")
        if (ȡ ("ƽ֮") == 2) then
           ("ƽ֮")
          ȴ (1800)
        end
        if ("ƽ֮","¥","","ƽ֮")==-1 then
             goto en
        end  
        if(Ƿ==1) then
           while(ȡ() <  and ȡͼ() == "¥") do 
               ӡϢ("")
               Ѱ·2("¥","")			   
               ȴ()
           end
           ӡϢ("")
        end
        ("ƽ֮","¥","","ƽ֮","ǰ","")
    end 
	while(Ѱı("  ֮",ȡͼ()) ~= -1) do
      if Ƿ~=true then
         ()
      else
         ()
      end	  
	end
end
("ƽ֮","¥","","ƽ֮") 
::en::