     ??               @         ?     ?      ?%               d      ?           ?  @?       ?  @?  @?   ?      @?p              @B  @B  B  B  A  pA             ?H ?        <      e             @B  @B͈E          1  ?        H     i   C:\DOCUMENTS AND SETTINGS\OWNER\\CC\ELEMENTS.DAT FdwiUQC99891LPO.CC'3521CC20100790+             1 1 ??H"        H     m   C:\DOCUMENTS AND SETTINGS\OWNER\\CC\THOL.DAT Sdw.'Q2cuasp192273MM'10293876737900 ?        m1 0??        +        --  
--===============================================================================
 = {}
 = {}
function (,,,x,y,ox,oy,,,,,Ƕ,ٶ,ٶ,ģʽ,С,ĩС,͸,ĩ͸,r,g,b,)
  [] = {
  =true,
  =0, -- 0Ϊ1Ϊۺ
  =,
  ={},
  =0,
  =,
  =,
  x=x,
  y=y,
  ox=ox,
  oy=oy,
  =,
  =0,
  =,
  =,
  =,
  Ƕ=Ƕ,
  ת=0,
  ٶ=ٶ,
  ٶ=ٶ,
  ģʽ=ģʽ,
  ͸=͸,
  ĩ͸=ĩ͸,
  С=С, --Array
  ĩС=ĩС,
  r=r,
  g=g,
  b=b} --Array
  [table.getn()+1] = 
end 
function ۺ(,,,x,y,ox,oy,뾶,,,,ٶ,ٶ,ģʽ,С,ĩС,͸,ĩ͸,r,g,b,)
  [] = {
  =true,
  =1, -- 0Ϊ1Ϊۺ
  =,
  ={},
  =0,
  =,
  =,
  뾶=뾶,
  x=x,
  y=y,
  ox=ox,
  oy=oy,
  =,
  =0,
  =,
  =,
  ٶ=ٶ,
  ٶ=ٶ,
  ģʽ=ģʽ,
  ͸=͸,
  ĩ͸=ĩ͸,
  С=С, --Array
  ĩС=ĩС,
  r=r,
  g=g,
  b=b} --Array
  [table.getn()+1] = 
end
function ı(,x,y,w,h)
if [] ~= nil then
  [].= {x=x,y=y,w=w,h=h}
end
end
function ı(,x,y)
if [] ~= nil then
  [].x = x
  [].y = y
end
end
function ıת(,an)
if [] ~= nil then
  [].ת = an
end
end
function ֹͣ()
for i=1,table.getn() do 
  if [i] ==  then
  [[i]]. = false
  end
end
end
function ()
for i=1,table.getn() do 
  if [i] ==  and [[i]] ~= nil then
  [[i]] = nil
  table.remove(,i)
  end
end
end
function ˢ()
for i=1,table.getn() do 
if [[i]] ~= nil then
  [[i]]. = [[i]]. + 1
  if [[i]]. == [[i]]. and [[i]].==true then --
  [[i]]. = 0
  for s=1,[[i]]. do  
  [[i]]. = [[i]]. + 1
  local  = [[i]].
  if [[i]]. == 0 then --
  [[i]].[] = {
  s=D2D_.([[i]].,0,0,:ȡͼƬ([[i]].),:ȡͼƬ߶([[i]].)),
  l=[[i]].,
  x=[[i]].x,
  y=[[i]].y,
  v=[[i]].ٶ,
  a=[[i]].ٶ,
  o=[[i]].͸,
  zx=[[i]].С.zx,
  zy=[[i]].С.zy,
  f=[[i]].+:ȡ(-[[i]].Ƕ,[[i]].Ƕ),
  j=[[i]].ת,
  r=[[i]].r,
  g=[[i]].g,
  b=[[i]].b,
  =[[i]].}
  else ------------------------------ۺ
  local kx = :ȡ([[i]].x-[[i]].뾶,[[i]].x+[[i]].뾶)
  local ky = :ȡ([[i]].y-[[i]].뾶,[[i]].y+[[i]].뾶)
  [[i]].[] = {
  s=D2D_.([[i]].,0,0,:ȡͼƬ([[i]].),:ȡͼƬ߶([[i]].)),
  l=[[i]].,
  x=kx,
  y=ky,
  v=[[i]].ٶ,
  a=[[i]].ٶ,
  o=[[i]].͸,
  zx=[[i]].С.zx,
  zy=[[i]].С.zy,
  r=[[i]].r,
  g=[[i]].g,
  b=[[i]].b,
  =[[i]].}
  end
  [[i]].[].s:ĵ([[i]].ox,[[i]].oy)
  [[i]].[].s:ûģʽ([[i]].ģʽ)
  if  ~= "n" then
  [[i]].[].s:ʾ([[i]]..x,[[i]]..y,[[i]]..w,
  [[i]]..h)
  end
  end
  if [[i]].>199 then --
  [[i]]. = 0
  end
  end
  for s=1,200 do  --ˢ
  if [[i]].[s] ~= nil then
  if [[i]]. == 0 then --
  local jf = [[i]].[s].f
  local jvx = [[i]].[s].v * math.cos(Ƕto(jf))
  local jvy = [[i]].[s].v * math.sin(Ƕto(jf))
  [[i]].[s].x = [[i]].[s].x - jvx
  [[i]].[s].y = [[i]].[s].y - jvy
  [[i]].[s].v = [[i]].[s].v + [[i]].[s].a --˶
  [[i]].[s].o = [[i]].[s].o + ([[i]].ĩ͸ - [[i]].͸)/[[i]]. --͸
  [[i]].[s].zx = [[i]].[s].zx + ([[i]].ĩС.zx - [[i]].С.zx)/[[i]].
  [[i]].[s].zy = [[i]].[s].zy + ([[i]].ĩС.zy - [[i]].С.zy)/[[i]].
  if [[i]].[s].o > 0 and ֡ ~= true then
  [[i]].[s].s:ɫ(ARGB([[i]].[s].o,[[i]].[s].r,[[i]].[s].g,[[i]].[s].b))
  [[i]].[s].s:ʾ_߼([[i]].[s].x,[[i]].[s].y,[[i]].[s].j,[[i]].[s].zx,
  [[i]].[s].zy)
  end
  else ------------------------------ۺ
  [[i]].[s].x = ([[i]].[s].x * ([[i]].[s].l - 1) + [[i]].x) / [[i]].[s].l
  [[i]].[s].y = ([[i]].[s].y * ([[i]].[s].l - 1) + [[i]].y) / [[i]].[s].l
  [[i]].[s].v = [[i]].[s].v + [[i]].[s].a --˶
  [[i]].[s].o = [[i]].[s].o + ([[i]].ĩ͸ - [[i]].͸)/[[i]]. --͸
  [[i]].[s].zx = [[i]].[s].zx + ([[i]].ĩС.zx - [[i]].С.zx)/[[i]].
  [[i]].[s].zy = [[i]].[s].zy + ([[i]].ĩС.zy - [[i]].С.zy)/[[i]].
  if [[i]].[s].o > 0 and ֡ ~= true then
  [[i]].[s].s:ɫ(ARGB([[i]].[s].o,[[i]].[s].r,[[i]].[s].g,[[i]].[s].b))
  [[i]].[s].s:ʾ_߼([[i]].[s].x,[[i]].[s].y,0,[[i]].[s].zx,
  [[i]].[s].zy)
  end
  end
  [[i]].[s].l = [[i]].[s].l - 1 --
  if [[i]].[s].l <= 0 then --Ѿ
  [[i]].[s] = nil
  end
  end
  end
end
end
end         m?  ~  ?                    ?           ?           ?           ?                                 ?  ?                     ?  ?  ?                    ?              ?              ?              ?                                    ?  ?                   
  ?h              ?                 
 
 ?K              ?         ?        #
 ?h         ?     t   --  
--===============================================================================
Sprites = {}
Spritesmove = {}
Spritestrans = {}
function Ƕto(a)
    return a / 180 * math.pi 
end
function toǶ(b)
    return b / math.pi * 180
end
function  λͼ(bitmap)
    return {x = :ȡͼƬ(bitmap)/2,y = :ȡͼƬ߶(bitmap)/2}
end
function Sprite(z,bitmap,ox,oy,sx,sy,zoomx,zoomy,opa,blend_type,dy,an)
    if Sprites[z] == nil then
    Sprites[z] = {sprite = D2D_.(bitmap,0,0,:ȡͼƬ(bitmap),:ȡͼƬ߶(bitmap)),x=sx,y=sy,zoom_x = zoomx,zoom_y = zoomy,opacity = opa,shadow = dy,angle = Ƕto(an),r=255,g=255,b=255}
    Sprites[z].sprite:ĵ(ox,oy)
    Sprites[z].sprite:ûģʽ(blend_type)
    end
end
function Spriteþ(z,x,y,w,h)
    if Sprites[z] ~= nil then
    Sprites[z].sprite:ʾ(x,y,w,h)
    end
end
function Spriteƶ(z,f,x,y,zoom_x,zoom_y,t,an)
    if Sprites[z] ~= nil then
    Spritesmove[z] = {frame = f,tox = x,toy = y,tozx = zoom_x,tozy = zoom_y,type = t,toan = an}
    end
end
function Spriteı(z,x,y,zoomx,zoomy,opa,an)
   if Sprites[z] ~= nil1 then
    Sprites[z].x = x
    Sprites[z].y = y
    Sprites[z].zoom_x = zoomx
    Sprites[z].zoom_y = zoomy
    Sprites[z].opacity = opa
    Sprites[z].angle = Ƕto(an)
    end
end
function Spriteɫ(z,r,g,b)
    if Sprites[z] ~= nil then
    Sprites[z].r = r 
    Sprites[z].g = g
    Sprites[z].b = b
    end
end
function Sprite(z,f,opa)
    if Sprites[z] ~= nil then
    Spritestrans[z] = {frame = f,topa = opa}
    end
end    
function Sprite(z)
   if Sprites[z] ~= nil then
    Sprites[z].sprite:()
    Spritesmove[z] = nil
    Spritestrans[z] = nil
    Sprites[z] = nil
   end
end
function Spriteˢ()
for z=0,table.getn(Sprites) do
    if Sprites[z] ~= nil then
      if Spritesmove[z] ~= nil then
      if Spritesmove[z].type == 0 then
	Spritesmove[z].frame = Spritesmove[z].frame - 1
	if Spritesmove[z].frame > 0 then
	Sprites[z].x = (Sprites[z].x * (Spritesmove[z].frame - 1) + Spritesmove[z].tox) / Spritesmove[z].frame
	Sprites[z].y = (Sprites[z].y * (Spritesmove[z].frame - 1) + Spritesmove[z].toy) / Spritesmove[z].frame
	Sprites[z].angle = (Sprites[z].angle * (Spritesmove[z].frame - 1) + Spritesmove[z].toan) / Spritesmove[z].frame
	if Spritesmove[z].tozx ~= nil and Spritesmove[z].tozx ~= Sprites[z].zoom_x then
	Sprites[z].zoom_x = (Sprites[z].zoom_x * (Spritesmove[z].frame - 1) + Spritesmove[z].tozx) / Spritesmove[z].frame
	end
	if  Spritesmove[z].tozy ~= nil and Spritesmove[z].tozy ~= Sprites[z].zoom_y then
	Sprites[z].zoom_y = (Sprites[z].zoom_y * (Spritesmove[z].frame - 1) + Spritesmove[z].tozy) / Spritesmove[z].frame
	end
	end
	elseif Spritesmove[z].type == 1 then
	Sprites[z].x = (Sprites[z].x * (Spritesmove[z].frame - 1) + Spritesmove[z].tox) / Spritesmove[z].frame
	Sprites[z].y = (Sprites[z].y * (Spritesmove[z].frame - 1) + Spritesmove[z].toy) / Spritesmove[z].frame
	Sprites[z].angle = (Sprites[z].angle * (Spritesmove[z].frame - 1) + Spritesmove[z].toan) / Spritesmove[z].frame
	if Spritesmove[z].tozx ~= nil and Spritesmove[z].tozx ~= Sprites[z].zoom_x then
	Sprites[z].zoom_x = (Sprites[z].zoom_x * (Spritesmove[z].frame - 1) + Spritesmove[z].tozx) / Spritesmove[z].frame
	end
	if  Spritesmove[z].tozy ~= nil and Spritesmove[z].tozy ~= Sprites[z].zoom_y then
	Sprites[z].zoom_y = (Sprites[z].zoom_y * (Spritesmove[z].frame - 1) + Spritesmove[z].tozy) / Spritesmove[z].frame
	end
	end
	end
      if Spritestrans[z] ~= nil and Spritestrans[z].frame > 1 then
	Spritestrans[z].frame = Spritestrans[z].frame - 1
	Sprites[z].opacity = (Sprites[z].opacity * (Spritestrans[z].frame - 1) + Spritestrans[z].topa) / Spritestrans[z].frame
	end
	if Sprites[z].opacity > 0 and ֡ ~= true then
	Sprites[z].sprite:ɫ(ARGB(Sprites[z].opacity,Sprites[z].r,Sprites[z].g,Sprites[z].b))
	Sprites[z].sprite:ʾ_߼(Sprites[z].x,Sprites[z].y,Sprites[z].angle,Sprites[z].zoom_x,Sprites[z].zoom_y)
	end
    end
  end
end 
function Spriteָˢ(z)
if Sprites[z] ~= nil then
      if Spritesmove[z] ~= nil then
      if Spritesmove[z].type == 0 then
	Spritesmove[z].frame = Spritesmove[z].frame - 1
	if Spritesmove[z].frame > 0 then
	Sprites[z].x = (Sprites[z].x * (Spritesmove[z].frame - 1) + Spritesmove[z].tox) / Spritesmove[z].frame
	Sprites[z].y = (Sprites[z].y * (Spritesmove[z].frame - 1) + Spritesmove[z].toy) / Spritesmove[z].frame
	Sprites[z].angle = (Sprites[z].angle * (Spritesmove[z].frame - 1) + Spritesmove[z].toan) / Spritesmove[z].frame
	if Spritesmove[z].tozx ~= nil and Spritesmove[z].tozx ~= Sprites[z].zoom_x then
	Sprites[z].zoom_x = (Sprites[z].zoom_x * (Spritesmove[z].frame - 1) + Spritesmove[z].tozx) / Spritesmove[z].frame
	end
	if  Spritesmove[z].tozy ~= nil and Spritesmove[z].tozy ~= Sprites[z].zoom_y then
	Sprites[z].zoom_y = (Sprites[z].zoom_y * (Spritesmove[z].frame - 1) + Spritesmove[z].tozy) / Spritesmove[z].frame
	end
	end
	elseif Spritesmove[z].type == 1 then
	Sprites[z].x = (Sprites[z].x * (Spritesmove[z].frame - 1) + Spritesmove[z].tox) / Spritesmove[z].frame
	Sprites[z].y = (Sprites[z].y * (Spritesmove[z].frame - 1) + Spritesmove[z].toy) / Spritesmove[z].frame
	Sprites[z].angle = (Sprites[z].angle * (Spritesmove[z].frame - 1) + Spritesmove[z].toan) / Spritesmove[z].frame
	if Spritesmove[z].tozx ~= nil and Spritesmove[z].tozx ~= Sprites[z].zoom_x then
	Sprites[z].zoom_x = (Sprites[z].zoom_x * (Spritesmove[z].frame - 1) + Spritesmove[z].tozx) / Spritesmove[z].frame
	end
	if  Spritesmove[z].tozy ~= nil and Spritesmove[z].tozy ~= Sprites[z].zoom_y then
	Sprites[z].zoom_y = (Sprites[z].zoom_y * (Spritesmove[z].frame - 1) + Spritesmove[z].tozy) / Spritesmove[z].frame
	end
	end
	end
      if Spritestrans[z] ~= nil and Spritestrans[z].frame > 1 then
	Spritestrans[z].frame = Spritestrans[z].frame - 1
	Sprites[z].opacity = (Sprites[z].opacity * (Spritestrans[z].frame - 1) + Spritestrans[z].topa) / Spritestrans[z].frame
	end
	if Sprites[z].opacity > 0 and ֡ ~= true then
	Sprites[z].sprite:ɫ(ARGB(Sprites[z].opacity,Sprites[z].r,Sprites[z].g,Sprites[z].b))
	Sprites[z].sprite:ʾ_߼(Sprites[z].x,Sprites[z].y,Sprites[z].angle,Sprites[z].zoom_x,Sprites[z].zoom_y)
	end
end 
end 
   --  
--===============================================================================
SSprites = {}
SSpritesmove = {}
SSpritestrans = {}
SSpriteszz = {}
function SceneSprite(z,bitmap,ox,oy,sx,sy,zoomx,zoomy,opa,blend_type,dy,an)
    SSprites[z] = {sprite = D2D_.(bitmap,0,0,:ȡͼƬ(bitmap),:ȡͼƬ߶(bitmap)),x=sx,y=sy,zoom_x = zoomx,zoom_y = zoomy,opacity = opa,shadow = dy,angle = Ƕto(an),play = true}
    SSprites[z].sprite:ĵ(ox,oy)
    SSprites[z].sprite:ûģʽ(blend_type)
end
function SceneSpriteþ(z,x,y,w,h)
    if SSprites[z] ~= nil then
    SSprites[z].sprite:ʾ(x,y,w,h)
    end
end
function SceneSpriteƶ(z,f,x,y,zoom_x,zoom_y,t,an)
    if SSprites[z] ~= nil then
    SSpritesmove[z] = {frame = f,tox = x,toy = y,tozx = zoom_x,tozy = zoom_y,type = t,toan = an}
    end
end
function SceneSpriteı(z,x,y,zoomx,zoomy,opa,an)
   if SSprites[z] ~= nil then
    SSprites[z].x = x
    SSprites[z].y = y
    SSprites[z].zoom_x = zoomx
    SSprites[z].zoom_y = zoomy
    SSprites[z].opacity = opa
    SSprites[z].angle = Ƕto(an)
    end
end
function SceneSpriteת(z)
   SSpriteszz[z] = true
end
function SceneSprite(z,f,opa)
   if SSprites[z] ~= nil then
    SSpritestrans[z] = {frame = f,topa = opa}
    end
end    
function SceneSprite(z)
    SSprites[z].sprite:()
    SSprites[z] = nil
    SSpritesmove[z] = nil
    SSpritestrans[z] = nil
end
function SceneSpriteʾ(z)
  if SSprites[z] ~= nil then
    SSprites[z].play = true
  end
end
function SceneSprite(z)
  if SSprites[z] ~= nil then
    SSprites[z].play = false
  end
end
function SceneSpriteˢ()
for z=0,table.getn(SSprites) do
    if SSprites[z] ~= nil then
      if SSpritesmove[z] ~= nil then
      if SSpritesmove[z].type == 0 then
	SSpritesmove[z].frame = SSpritesmove[z].frame - 1
	if SSpritesmove[z].frame > 0 then
	SSprites[z].x = (SSprites[z].x * (SSpritesmove[z].frame - 1) + SSpritesmove[z].tox) / SSpritesmove[z].frame
	SSprites[z].y = (SSprites[z].y * (SSpritesmove[z].frame - 1) + SSpritesmove[z].toy) / SSpritesmove[z].frame
	if SSpriteszz[z] ~= true then
	SSprites[z].angle = (SSprites[z].angle * (SSpritesmove[z].frame - 1) + SSpritesmove[z].toan) / SSpritesmove[z].frame
	end
	if SSpritesmove[z].tozx ~= nil and SSpritesmove[z].tozx ~= SSprites[z].zoom_x then
	SSprites[z].zoom_x = (SSprites[z].zoom_x * (SSpritesmove[z].frame - 1) + SSpritesmove[z].tozx) / SSpritesmove[z].frame
	end
	if  SSpritesmove[z].tozy ~= nil and SSpritesmove[z].tozy ~= SSprites[z].zoom_y then
	SSprites[z].zoom_y = (SSprites[z].zoom_y * (SSpritesmove[z].frame - 1) + SSpritesmove[z].tozy) / SSpritesmove[z].frame
	end
	end
	elseif SSpritesmove[z].type == 1 then
	SSprites[z].x = (SSprites[z].x * (SSpritesmove[z].frame - 1) + SSpritesmove[z].tox) / SSpritesmove[z].frame
	SSprites[z].y = (SSprites[z].y * (SSpritesmove[z].frame - 1) + SSpritesmove[z].toy) / SSpritesmove[z].frame
	if SSpriteszz[z] ~= true then
	SSprites[z].angle = (SSprites[z].angle * (SSpritesmove[z].frame - 1) + SSpritesmove[z].toan) / SSpritesmove[z].frame
	end
	if SSpritesmove[z].tozx ~= nil and SSpritesmove[z].tozx ~= SSprites[z].zoom_x then
	SSprites[z].zoom_x = (SSprites[z].zoom_x * (SSpritesmove[z].frame - 1) + SSpritesmove[z].tozx) / SSpritesmove[z].frame
	end
	if  SSpritesmove[z].tozy ~= nil and SSpritesmove[z].tozy ~= SSprites[z].zoom_y then
	SSprites[z].zoom_y = (SSprites[z].zoom_y * (SSpritesmove[z].frame - 1) + SSpritesmove[z].tozy) / SSpritesmove[z].frame
	end
	end
	end
      if SSpritestrans[z] ~= nil and SSpritestrans[z].frame > 1 then
	SSpritestrans[z].frame = SSpritestrans[z].frame - 1
	SSprites[z].opacity = (SSprites[z].opacity * (SSpritestrans[z].frame - 1) + SSpritestrans[z].topa) / SSpritestrans[z].frame
	end
	if SSprites[z].play ~= false and SSprites[z].opacity > 0 and ֡ ~= true then 
	SSprites[z].sprite:ɫ(ARGB(SSprites[z].opacity,255,255,255))
	SSprites[z].sprite:ʾ_߼(SSprites[z].x,SSprites[z].y,SSprites[z].angle,SSprites[z].zoom_x,SSprites[z].zoom_y)
	end
    end
  end
end         
4`Mp        &        --  ħ
--===============================================================================
MSprites = {}
MSpritesmove = {}
MSpritestrans = {}
MSpriteszz = {}
function MagicSprite(z,bitmap,ox,oy,sx,sy,zoomx,zoomy,opa,blend_type,dy,an)
    MSprites[z] = {sprite = D2D_.(bitmap,0,0,:ȡͼƬ(bitmap),:ȡͼƬ߶(bitmap)),x=sx,y=sy,zoom_x = zoomx,zoom_y = zoomy,opacity = opa,shadow = dy,angle = Ƕto(an),r=255,g=255,b=255}
    MSprites[z].sprite:ĵ(ox,oy)
    MSprites[z].sprite:ûģʽ(blend_type)
end
function MagicSpriteþ(z,x,y,w,h)
    if MSprites[z] ~= nil then
    MSprites[z].sprite:ʾ(x,y,w,h)
    end
end
function MagicSpriteƶ(z,f,x,y,zoom_x,zoom_y,t,an)
    if MSprites[z] ~= nil then
    MSpritesmove[z] = {frame = f,tox = x,toy = y,tozx = zoom_x,tozy = zoom_y,type = t,toan = an}
    end
end
function MagicSpriteı(z,x,y,zoomx,zoomy,opa,an)
   if MSprites[z] ~= nil then
    MSprites[z].x = x
    MSprites[z].y = y
    MSprites[z].zoom_x = zoomx
    MSprites[z].zoom_y = zoomy
    MSprites[z].opacity = opa
    MSprites[z].angle = Ƕto(an)
    end
end
function MagicSpriteת(z)
   MSpriteszz[z] = true
end
function MagicSprite(z,f,opa)
   if MSprites[z] ~= nil then
    MSpritestrans[z] = {frame = f,topa = opa}
    end
end    
function MagicSpriteɫ(z,r,g,b)
    if MSprites[z] ~= nil then
    MSprites[z].r = r 
    MSprites[z].g = g
    MSprites[z].b = b
    end
end
function MagicSprite(z) 
  if MSprites[z] ~= nil then
    MSprites[z].sprite:()
    MSprites[z] = nil
    MSpritesmove[z] = nil
    MSpritestrans[z] = nil
  end
end
function MagicSpriteˢ()
for z=1,100 do
    if MSprites[z] ~= nil then
      if MSpritesmove[z] ~= nil then
      if MSpritesmove[z].type == 0 then
	MSpritesmove[z].frame = MSpritesmove[z].frame - 1
	if MSpritesmove[z].frame > 0 then
	MSprites[z].x = (MSprites[z].x * (MSpritesmove[z].frame - 1) + MSpritesmove[z].tox) / MSpritesmove[z].frame
	MSprites[z].y = (MSprites[z].y * (MSpritesmove[z].frame - 1) + MSpritesmove[z].toy) / MSpritesmove[z].frame
	if MSpriteszz[z] ~= true then
	MSprites[z].angle = (MSprites[z].angle * (MSpritesmove[z].frame - 1) + MSpritesmove[z].toan) / MSpritesmove[z].frame
	end
	if MSpritesmove[z].tozx ~= nil and MSpritesmove[z].tozx ~= MSprites[z].zoom_x then
	MSprites[z].zoom_x = (MSprites[z].zoom_x * (MSpritesmove[z].frame - 1) + MSpritesmove[z].tozx) / MSpritesmove[z].frame
	end
	if  MSpritesmove[z].tozy ~= nil and MSpritesmove[z].tozy ~= MSprites[z].zoom_y then
	MSprites[z].zoom_y = (MSprites[z].zoom_y * (MSpritesmove[z].frame - 1) + MSpritesmove[z].tozy) / MSpritesmove[z].frame
	end
	end
	elseif MSpritesmove[z].type == 1 then
	MSprites[z].x = (MSprites[z].x * (MSpritesmove[z].frame - 1) + MSpritesmove[z].tox) / MSpritesmove[z].frame
	MSprites[z].y = (MSprites[z].y * (MSpritesmove[z].frame - 1) + MSpritesmove[z].toy) / MSpritesmove[z].frame
	if MSpriteszz[z] ~= true then
	MSprites[z].angle = (MSprites[z].angle * (MSpritesmove[z].frame - 1) + MSpritesmove[z].toan) / MSpritesmove[z].frame
	end
	if MSpritesmove[z].tozx ~= nil and MSpritesmove[z].tozx ~= MSprites[z].zoom_x then
	MSprites[z].zoom_x = (MSprites[z].zoom_x * (MSpritesmove[z].frame - 1) + MSpritesmove[z].tozx) / MSpritesmove[z].frame
	end
	if  MSpritesmove[z].tozy ~= nil and MSpritesmove[z].tozy ~= MSprites[z].zoom_y then
	MSprites[z].zoom_y = (MSprites[z].zoom_y * (MSpritesmove[z].frame - 1) + MSpritesmove[z].tozy) / MSpritesmove[z].frame
	end
	end
	end
      if MSpritestrans[z] ~= nil and MSpritestrans[z].frame > 1 then
	MSpritestrans[z].frame = MSpritestrans[z].frame - 1
	MSprites[z].opacity = (MSprites[z].opacity * (MSpritestrans[z].frame - 1) + MSpritestrans[z].topa) / MSpritestrans[z].frame
	end
	if MSprites[z].opacity > 0 and ֡ ~= true then
	MSprites[z].sprite:ɫ(ARGB(MSprites[z].opacity,MSprites[z].r,MSprites[z].g,MSprites[z].b))
	MSprites[z].sprite:ʾ_߼(MSprites[z].x,MSprites[z].y,MSprites[z].angle,MSprites[z].zoom_x,MSprites[z].zoom_y)
	end
    end
  end
end          
G  L                    ?           ?           ?           ?                                 ?  ?                     mH?                    ?           ?43?       ?43?  `A   ?      `A               43?  `A  ?  ?                     ??? 
 ?]X                --  Ӿ
--===============================================================================
PSprites = {}
PSpritesmove = {}
PSpritestrans = {}
PSpriteszz = {}
function ParSprite(z,bitmap,ox,oy,sx,sy,zoomx,zoomy,opa,blend_type,dy,an)
    PSprites[z] = {sprite = D2D_.(bitmap,0,0,:ȡͼƬ(bitmap),:ȡͼƬ߶(bitmap)),x=sx,y=sy,zoom_x = zoomx,zoom_y = zoomy,opacity = opa,shadow = dy,angle = Ƕto(an),r=255,g=255,b=255}
    PSprites[z].sprite:ĵ(ox,oy)
    PSprites[z].sprite:ûģʽ(blend_type)
end
function ParSpriteþ(z,x,y,w,h)
    if PSprites[z] ~= nil then
    PSprites[z].sprite:ʾ(x,y,w,h)
    end
end
function ParSpriteƶ(z,f,x,y,zoom_x,zoom_y,t,an)
    if PSprites[z] ~= nil then
    PSpritesmove[z] = {frame = f,tox = x,toy = y,tozx = zoom_x,tozy = zoom_y,type = t,toan = an}
    end
end
function ParSpriteı(z,x,y,zoomx,zoomy,opa,an)
   if PSprites[z] ~= nil then
    PSprites[z].x = x
    PSprites[z].y = y
    PSprites[z].zoom_x = zoomx
    PSprites[z].zoom_y = zoomy
    PSprites[z].opacity = opa
    PSprites[z].angle = Ƕto(an)
    end
end
function ParSpriteת(z)
   PSpriteszz[z] = true
end
function ParSprite(z,f,opa)
   if PSprites[z] ~= nil then
    PSpritestrans[z] = {frame = f,topa = opa}
    end
end    
function ParSpriteɫ(z,r,g,b)
    if PSprites[z] ~= nil then
    PSprites[z].r = r 
    PSprites[z].g = g
    PSprites[z].b = b
    end
end
function ParSprite(z) 
  if PSprites[z] ~= nil then
    PSprites[z].sprite:()
    PSprites[z] = nil
    PSpritesmove[z] = nil
    PSpritestrans[z] = nil
  end
end
function ParSpriteˢ()
for z=1,150 do
    if PSprites[z] ~= nil then
      if PSpritesmove[z] ~= nil then
      if PSpritesmove[z].type == 0 then
	PSpritesmove[z].frame = PSpritesmove[z].frame - 1
	if PSpritesmove[z].frame > 0 then
	PSprites[z].x = (PSprites[z].x * (PSpritesmove[z].frame - 1) + PSpritesmove[z].tox) / PSpritesmove[z].frame
	PSprites[z].y = (PSprites[z].y * (PSpritesmove[z].frame - 1) + PSpritesmove[z].toy) / PSpritesmove[z].frame
	if PSpriteszz[z] ~= true then
	PSprites[z].angle = (PSprites[z].angle * (PSpritesmove[z].frame - 1) + PSpritesmove[z].toan) / PSpritesmove[z].frame
	end
	if PSpritesmove[z].tozx ~= nil and PSpritesmove[z].tozx ~= PSprites[z].zoom_x then
	PSprites[z].zoom_x = (PSprites[z].zoom_x * (PSpritesmove[z].frame - 1) + PSpritesmove[z].tozx) / PSpritesmove[z].frame
	end
	if  PSpritesmove[z].tozy ~= nil and PSpritesmove[z].tozy ~= PSprites[z].zoom_y then
	PSprites[z].zoom_y = (PSprites[z].zoom_y * (PSpritesmove[z].frame - 1) + PSpritesmove[z].tozy) / PSpritesmove[z].frame
	end
	end
	elseif PSpritesmove[z].type == 1 then
	PSprites[z].x = (PSprites[z].x * (PSpritesmove[z].frame - 1) + PSpritesmove[z].tox) / PSpritesmove[z].frame
	PSprites[z].y = (PSprites[z].y * (PSpritesmove[z].frame - 1) + PSpritesmove[z].toy) / PSpritesmove[z].frame
	if PSpriteszz[z] ~= true then
	PSprites[z].angle = (PSprites[z].angle * (PSpritesmove[z].frame - 1) + PSpritesmove[z].toan) / PSpritesmove[z].frame
	end
	if PSpritesmove[z].tozx ~= nil and PSpritesmove[z].tozx ~= PSprites[z].zoom_x then
	PSprites[z].zoom_x = (PSprites[z].zoom_x * (PSpritesmove[z].frame - 1) + PSpritesmove[z].tozx) / PSpritesmove[z].frame
	end
	if  PSpritesmove[z].tozy ~= nil and PSpritesmove[z].tozy ~= PSprites[z].zoom_y then
	PSprites[z].zoom_y = (PSprites[z].zoom_y * (PSpritesmove[z].frame - 1) + PSpritesmove[z].tozy) / PSpritesmove[z].frame
	end
	end
	end
      if PSpritestrans[z] ~= nil and PSpritestrans[z].frame > 1 then
	PSpritestrans[z].frame = PSpritestrans[z].frame - 1
	PSprites[z].opacity = (PSprites[z].opacity * (PSpritestrans[z].frame - 1) + PSpritestrans[z].topa) / PSpritestrans[z].frame
	end
	if PSprites[z].opacity > 0 and ֡ ~= true then
	PSprites[z].sprite:ɫ(ARGB(PSprites[z].opacity,PSprites[z].r,PSprites[z].g,PSprites[z].b))
	PSprites[z].sprite:ʾ_߼(PSprites[z].x,PSprites[z].y,PSprites[z].angle,PSprites[z].zoom_x,PSprites[z].zoom_y)
	end
    end
  end
end         ?
?pP         b        --  BOSS
--===============================================================================
BSprites = {}
BSpritesmove = {}
BSpritestrans = {}
BSpriteszz = {}
function Bossprite(z,bitmap,ox,oy,sx,sy,zoomx,zoomy,opa,blend_type,dy,an)
    BSprites[z] = {sprite = D2D_.(bitmap,0,0,:ȡͼƬ(bitmap),:ȡͼƬ߶(bitmap)),x=sx,y=sy,zoom_x = zoomx,zoom_y = zoomy,opacity = opa,shadow = dy,angle = Ƕto(an)}
    BSprites[z].sprite:ĵ(ox,oy)
    BSprites[z].sprite:ûģʽ(blend_type)
end
function Bosspriteþ(z,x,y,w,h)
    if BSprites[z] ~= nil then
    BSprites[z].sprite:ʾ(x,y,w,h)
    end
end
function Bosspriteƶ(z,f,x,y,zoom_x,zoom_y,t,an)
    if BSprites[z] ~= nil then
    BSpritesmove[z] = {frame = f,tox = x,toy = y,tozx = zoom_x,tozy = zoom_y,type = t,toan = an}
    end
end
function Bosspriteı(z,x,y,zoomx,zoomy,opa,an)
   if BSprites[z] ~= nil then
    BSprites[z].x = x
    BSprites[z].y = y
    BSprites[z].zoom_x = zoomx
    BSprites[z].zoom_y = zoomy255
    BSprites[z].opacity = opa
    BSprites[z].angle = Ƕto(an)
    end
end
function Bosspriteת(z)
   BSpriteszz[z] = true
end
function Bossprite(z,f,opa)
   if BSprites[z] ~= nil then
    BSpritestrans[z] = {frame = f,topa = opa}
    end
end    
function Bossprite(z)
 if BSprites[z] ~= nil then
    BSprites[z].sprite:()
    BSprites[z] = nil
    BSpritesmove[z] = nil
    BSpritestrans[z] = nil
  end
end
function Bosspriteˢ()
for z=0,table.getn(BSprites) do
    if BSprites[z] ~= nil then
      if BSpritesmove[z] ~= nil then
      if BSpritesmove[z].type == 0 then
	BSpritesmove[z].frame = BSpritesmove[z].frame - 1
	if BSpritesmove[z].frame > 0 then
	BSprites[z].x = (BSprites[z].x * (BSpritesmove[z].frame - 1) + BSpritesmove[z].tox) / BSpritesmove[z].frame
	BSprites[z].y = (BSprites[z].y * (BSpritesmove[z].frame - 1) + BSpritesmove[z].toy) / BSpritesmove[z].frame
	if BSpriteszz[z] ~= true then
	BSprites[z].angle = (BSprites[z].angle * (BSpritesmove[z].frame - 1) + BSpritesmove[z].toan) / BSpritesmove[z].frame
	end
	if BSpritesmove[z].tozx ~= nil and BSpritesmove[z].tozx ~= BSprites[z].zoom_x then
	BSprites[z].zoom_x = (BSprites[z].zoom_x * (BSpritesmove[z].frame - 1) + BSpritesmove[z].tozx) / BSpritesmove[z].frame
	end
	if  BSpritesmove[z].tozy ~= nil and BSpritesmove[z].tozy ~= BSprites[z].zoom_y then
	BSprites[z].zoom_y = (BSprites[z].zoom_y * (BSpritesmove[z].frame - 1) + BSpritesmove[z].tozy) / BSpritesmove[z].frame
	end
	end
	elseif BSpritesmove[z].type == 1 then
	BSprites[z].x = (BSprites[z].x * (BSpritesmove[z].frame - 1) + BSpritesmove[z].tox) / BSpritesmove[z].frame
	BSprites[z].y = (BSprites[z].y * (BSpritesmove[z].frame - 1) + BSpritesmove[z].toy) / BSpritesmove[z].frame
	if BSpriteszz[z] ~= true then
	BSprites[z].angle = (BSprites[z].angle * (BSpritesmove[z].frame - 1) + BSpritesmove[z].toan) / BSpritesmove[z].frame
	end
	if BSpritesmove[z].tozx ~= nil and BSpritesmove[z].tozx ~= BSprites[z].zoom_x then
	BSprites[z].zoom_x = (BSprites[z].zoom_x * (BSpritesmove[z].frame - 1) + BSpritesmove[z].tozx) / BSpritesmove[z].frame
	end
	if  BSpritesmove[z].tozy ~= nil and BSpritesmove[z].tozy ~= BSprites[z].zoom_y then
	BSprites[z].zoom_y = (BSprites[z].zoom_y * (BSpritesmove[z].frame - 1) + BSpritesmove[z].tozy) / BSpritesmove[z].frame
	end
	end
	end
      if BSpritestrans[z] ~= nil and BSpritestrans[z].frame > 1 then
	BSpritestrans[z].frame = BSpritestrans[z].frame - 1
	BSprites[z].opacity = (BSprites[z].opacity * (BSpritestrans[z].frame - 1) + BSpritestrans[z].topa) / BSpritestrans[z].frame
	end
	if BSprites[z].opacity > 0 and ֡ ~= true then 
	BSprites[z].sprite:ɫ(ARGB(BSprites[z].opacity,255,255,255))
	BSprites[z].sprite:ʾ_߼(BSprites[z].x,BSprites[z].y,BSprites[z].angle,BSprites[z].zoom_x,BSprites[z].zoom_y)
	end
    end
  end
end          ?q        ?     d  PNG

   
IHDR          }Jb   	pHYs       
OiCCPPhotoshop ICC profile  xڝSgTS?=BKKoR RB?*!	J?Q?EEȠ??Q,???{kּ>?H3Q5B?@?$p d!s? ~<<+"? x? M0?B\?t?K @zB @F&S ? `cb P- `' { [?  eD h; VE X0 fK? ? 0IWfH    0Q) { `?#x  FW<???  x<?9E[-qWW.(I+6aa@.y?2?  x??_-"bbϫp@  t~,/?;m%?h^uf?@ Wp~<<EJB[aW}g_Wl~<$?]GL?ϒ	bG??IbX*QqD??B???d,?>? j>{?]cK'Xt  o(hw?G? fIq  ^D$.Tʳ??  D*A,??`6B$BB
dr`)B(?*`/@4Qhp.U?=pa(	A?a!ڈbX#??H? ɈQ"K?H1RT UH?r9\F; 2G1Q=?C7F?dt1r?=?Ыhڏ>C?3l0.B?,	c˱"?V?cϱwE?6wB aAHXLXNH?$4?7	Q?"K??b21XH,#??/{C?$C2'IT?FnR#?4H#dk?9? +ȅ???[
b@qS?RjJ???e?AURݨT5ZBRQ4u?̓IK?hhit?ݕNWG?w
?ǈg(?gwL?ӋT071oUX*?|
J??*/TުUUT^S}FU3S	ԖUPSSg?goT?~YYLOCQ_?cx,!k
u??|v*?=?C3J3WRf?qtN	?~???L?e\kXHQG6EYAJ'\'GgSSݧ
?M=:.k?Dwn^Loy?}/TmGX?$??<?qo</QC]@Caaᄑ<FFi\?mmƣ&&!&KMMRM)?L;L֙͢5?1?כ߷`ZxZ,eIZYnZ9YXUZ]F?ֻ?NNgðɶ?ۮm}agbgŮ}}=
?Z~sr:V:ޚΜ?}/gX?3?iSGggs󈋉K.?.?ȽJtq]zۯ6iܟ??Y3sCQ?0k߬~OCOg#/c/Wװwa?>?r>?7?Y_?ȷOo_C#dz %gA[z|!?:eAAA?h쐭!ΑiP~?aa~'W?pX??wCsDDDޛg1O9?J5*>?j<????fYXXIlK9.*?nl?{?]py?,:@LN8A*???w%?y?g"/?шC\*NH*Mz쑼5y$???L
Lݛ:?v m2=:?qB?Mggfvˬen/?k?Y-
BTZ(?geWf͉9?̳????ᒶKW-X潬j9?qy??+V??mOW~?zMk^ʂ?k?U
}]OX/Yߵa?>????x?oʿܔĹdff?[?n
?VE?(ۻC?e;?TTTT6ݵan{4[?ɾUUMfeI?m]Nmq??#׹??TR+G?w-
6
U#pDy?
:v{?vg/jBFS[b[O?zG??<YyJTiӓgό}~.`ۢ{cjotE;?\tWW:_mt?Oǻ\kz{f?y??=ݽzo?~r'˻w'O_@AC݇?[?jwG??C??>99?rCd???/~јѡ򗓿m|??x31^Vww?O| (hSЧc3-   gAMA  |Q    cHRM  z%    ?    u0  `  :  o_F  IDATxL?
 ! ?L?`88Lh;?8X  l̡	   ?J^b6h>	
#PqI   LΡ
@ ?(a؈l? 'i?ѡO?&??xEX 7jsXFZp   d?AqᏼBqg?8@wGPKTu!?bv?wʋ.z|?h???Vh0?sѩr`I6?PGp	;x?>   l?JCAϘ`!qbE?R,?bNI?B޳9cb`3̜p^z???N cnTئ<?p	`_K=aJ}p?1^?x)́}?]͠?Wl5O,<?A[:hs??,0???->+]+c?8	nRPBvC?(?'?
AE$D	H	??hd?F=lzk֊?#????M^#`[n$SHҍ?p(sxkhKXB_J{8d?LU&yG^gn??ZgQ{bM^	je[~Wy;{?fȣ8o"澲BL?
??R??k!$?<{к~Lt_s?OJSY ƣ4]5.?{VL";mhi	?-D(\toJ˨a {Ml?}????D?BbK??e{??=p?T?Iʤrw[?X?(`]ߝ?]>) ?0A<+`nrUkdmD=UO?4?)@y?PPUJ?
?g]Plq!"r??jP{ySKcBƥ?XDfĊ[yOgJ?`[É_8b"!Gs;z?^9"}?JDgk?O0y?!??4?T|RRxJ[@U`?S??v?OMA?a̡f	|C4˗D??0_?;C?ҫsoT?bI}%Dq?W}m
{?ԑh9.Rm6hGs@?T]|}{}~ {?2]    IENDB`        
  q`H b              n   ?     O
        
 
 ?H b?b              ?  L  +   ?        
 
 ??bO
              ?  p??     h?        
 
 ?O
 ?                p?p  i           
 
 ? ?
              R  p  i   ?        
 
 ?
              ?  p  i   X?         
 ??8f  ?0<h?        ^       --  
--===============================================================================
ITEM = {}
function (z,x,y,type)
if type == 1 then --LIFE
ITEM[z] = {s=D2D_.(MAGICZ2,135,211,33,31),x=x,y=y,t=type,zx=0.9,zy=0.9,v=-1,a=0.01}
ITEM[z].s:ĵ(16,15)
elseif type == 2 then --BOMB
ITEM[z] = {s=D2D_.(MAGICZ2,170,211,33,31),x=x,y=y,t=type,zx=0.9,zy=0.9,v=-2,a=0.03}
ITEM[z].s:ĵ(16,15)
elseif type == 3 then --BLUE POINT
ITEM[z] = {s=D2D_.(MAGICZ2,17,97,15,15),x=x,y=y,t=type,zx=1,zy=1,v=-2,a=0.03}
ITEM[z].s:ĵ(7,7)
end
end
function ɾ(z)
if ITEM[z] ~= nil then
ITEM[z].s:()
ITEM[z] = nil
end
end
function ˢµ()
for z=1,50 do
if ITEM[z] ~= nil then
if ֡ ~= true then
ITEM[z].s:ʾ_߼(ITEM[z].x,ITEM[z].y,0,ITEM[z].zx,ITEM[z].zy)
end
if ITEM[z].y <= 500 and math.abs(ITEM[z].x - Ziji[Zijinum].x)<=50 and math.abs(ITEM[z].y - Ziji[Zijinum].y)<=50 and Ի ~= true and  ~= true then
ITEM[z].x = (ITEM[z].x * (3 - 1) + Ziji[Zijinum].x) / 3
ITEM[z].y = (ITEM[z].y * (3 - 1) + Ziji[Zijinum].y) / 3
else
ITEM[z].y = ITEM[z].y + ITEM[z].v
ITEM[z].v = ITEM[z].v + ITEM[z].a
end
if ITEM[z].y <= 500 and math.abs(ITEM[z].x - Ziji[Zijinum].x)<=20 and math.abs(ITEM[z].y - Ziji[Zijinum].y)<=20 and  ~= true then
if ITEM[z].t == 1 then
if Ziji[Zijinum]. < 9 then
Ziji[Zijinum]. = Ziji[Zijinum]. + 1
end
SE[18]:(15,false)
elseif ITEM[z].t == 2 then
if Ziji[Zijinum].ը < 9 then
Ziji[Zijinum].ը = Ziji[Zijinum].ը + 1
end
SE[19]:(15,false)
elseif ITEM[z].t == 3 then
Ziji[Zijinum]. = Ziji[Zijinum]. + 1
Ziji[Zijinum]. = Ziji[Zijinum]. + ȡ(10000*(Ziji[Zijinum].y/408))
SE[20]:(15,false)
end

ITEM[z].s:()
ITEM[z] = nil
elseif ITEM[z].y > 500 then
ITEM[z].s:()
ITEM[z] = nil
end
end
end
end        
  ??              [  p? 	   
   О        
 
 ??
              ?  ^                 
 
 ??
?              ?  Pp   &   ?        
 
 ? ?              9  0t F      
        
 
 ?              ?  Pv 9  ^   @?        
 
 ?@E
              ?  Px               
 
 ?@E
I
              ?         H?         
 ?? `% 	 ?P P?        1H        --  ӵ
--===============================================================================
zjzd= {}
zjzdsum = {}
zjzdtime = {}
for i = 1,4 do
zjzd[i] = {}
zjzdsum[i] = 0
zjzdtime[i] = 0
end
function Իӵ(Ի)
  local  = Ziji[Ի].ɫ.
  local  = Ziji[Ի].ɫ.Ļ
  local  = Ziji[Ի].ɫ.Ļ
  if  == "" and  == "" then
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[0],0,275,65,13),x = Ziji[Ի].x + 5*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ-90)),y = Ziji[Ի].y+20*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ-90)),zx=1,zy=1,angle=-2,opacity =150,maxop=150,r=255,g=255,b=255, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(25,5)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[0],0,275,65,13),x = Ziji[Ի].x + 5*math.cos(Ƕto(90+Ziji[Zijinum].ɫ.Ƕ)),y = Ziji[Ի].y+20*math.sin(Ƕto(90+Ziji[Zijinum].ɫ.Ƕ)),zx=1,zy=1,angle=2,opacity =150,maxop=150,r=255,g=255,b=255, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(25,5)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[0],68,274,57,15),x = Ziji[Ի].x + 25*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),y = Ziji[Ի].y+30*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),zx=1,zy=1,angle=0,opacity =150,maxop=150,r=255,g=255,b=255, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(18,6)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
  elseif  == "ħɳ" and  == "ɢ" then
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[1],0,144,33,16),x = Ziji[Ի].x + 20*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),y = Ziji[Ի].y+20*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),zx=0.9,zy=0.9,angle=-5,opacity =50,maxop=250,r=150,g=106,b=181, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(27,8)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[1],0,144,33,16),x = Ziji[Ի].x + 20*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),y = Ziji[Ի].y+20*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),zx=0.9,zy=0.9,angle=5,opacity =50,maxop=250,r=150,g=128,b=64, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(27,8)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[1],0,144,33,16),x = Ziji[Ի].x + 20*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ+45)),y = Ziji[Ի].y+20*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ+45)),zx=0.9,zy=0.9,angle=-5,opacity =50,maxop=150,r=255,g=255,b=187, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(27,8)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[1],0,144,33,16),x = Ziji[Ի].x + 20*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ-45)),y = Ziji[Ի].y+20*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ-45)),zx=0.9,zy=0.9,angle=5,opacity =50,maxop=150,r=128,g=255,b=128, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(27,8)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[1],0,144,33,16),x = Ziji[Ի].x + 20*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),y = Ziji[Ի].y+20*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ)),zx=0.9,zy=0.9,angle=0,opacity =50,maxop=150,r=80,g=217,b=255, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(27,8)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
  elseif  == "" and  == "ֱ" then
    zjzdtime[Ի] = zjzdtime[Ի] + 1
    if zjzdtime[Ի] == 4 then
    zjzdtime[Ի] = 0
    end
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    if zjzdtime[Ի] <= 1 then
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[2],1,145,14,14),x = Ziji[Ի].x + 12*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ+90)),y = Ziji[Ի].y+12*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ+90)),zx=1.5,zy=1.5,angle=0,opacity =50,maxop=220,r=255,g=255,b=202, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(8,7)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    else
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[2],1,145,14,14),x = Ziji[Ի].x + 12*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ+90)),y = Ziji[Ի].y+12*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ+90)),zx=1.5,zy=1.5,angle=0,opacity =50,maxop=220,r=172,g=255,b=172, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(8,7)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    end
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    if zjzdtime[Ի] <= 1 then
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[2],1,145,14,14),x = Ziji[Ի].x + 12*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ-90)),y = Ziji[Ի].y+12*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ-90)),zx=1.5,zy=1.5,angle=0,opacity =50,maxop=220,r=255,g=255,b=202, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(8,7)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    else
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[2],1,145,14,14),x = Ziji[Ի].x + 12*math.cos(Ƕto(Ziji[Zijinum].ɫ.Ƕ-90)),y = Ziji[Ի].y+12*math.sin(Ƕto(Ziji[Zijinum].ɫ.Ƕ-90)),zx=1.5,zy=1.5,angle=0,opacity =50,maxop=220,r=172,g=255,b=172, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(8,7)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    end
    elseif  == "¶ŵ" and  == "ɢ" then
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[3],0,162,58,13),x = Ziji[Ի].x + 8,y = Ziji[Ի].y,zx=1,zy=1,angle=0,opacity =50,maxop=255,r=255,g=255,b=255, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(25,6)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
    zjzdsum[Ի] =zjzdsum[Ի] + 1
    if zjzdsum[Ի] ==  then
    zjzdsum[Ի] = 1
    end
    zjzd[Ի][zjzdsum[Ի]] = {type = ,s = D2D_.(AVATAR[3],0,162,58,13),x = Ziji[Ի].x - 8,y = Ziji[Ի].y,zx=1,zy=1,angle=0,opacity =50,maxop=255,r=255,g=255,b=255, = false}
    zjzd[Ի][zjzdsum[Ի]].s:ĵ(25,6)
    zjzd[Ի][zjzdsum[Ի]].s:ûģʽ(1)
    zjzd[Ի][zjzdsum[Ի]].s:ɫ(ARGB(0,255,255,255))
  end
end 
function Իӵˢ()
local n = Zijinum
if zjzd[n] ~= nil and Ziji[n] ~=nil then
for i=1,Ziji[n].ɫ.Ļ do
  if zjzd[n][i] ~= nil and zjzd[n][i].y <= -30 then
  zjzd[n][i] = nil
  end
  if zjzd[n][i] ~= nil and zjzd[n][i].y >= 500 then
  zjzd[n][i] = nil
  end
  if zjzd[n][i] ~= nil and zjzd[n][i].x <= -20 then
  zjzd[n][i] = nil
  end
  if zjzd[n][i] ~= nil and zjzd[n][i].x >= 670 then
  zjzd[n][i] = nil
  end
if zjzd[n][i] ~= nil and zjzd[n][i].s ~= nil then
  zjzd[n][i].opacity = zjzd[n][i].opacity + 20
  if zjzd[n][i].opacity > zjzd[n][i].maxop then
  zjzd[n][i].opacity = zjzd[n][i].maxop
  end
  if ֡ ~= true then
  zjzd[n][i].s:ɫ(ARGB(zjzd[n][i].opacity,zjzd[n][i].r,zjzd[n][i].g,zjzd[n][i].b))
  zjzd[n][i].s:ʾ_߼(zjzd[n][i].x,zjzd[n][i].y,Ƕto(zjzd[n][i].angle+Ziji[n].ɫ.Ƕ),zjzd[n][i].zx,zjzd[n][i].zy)
  end
  if zjzd[n][i].type == "" or zjzd[n][i].type == "ɢ" or zjzd[n][i].type == "ֱ"then
  if zjzd[n][i]. ~= true then
  zjzd[n][i].x = zjzd[n][i].x + Ziji[n].ɫ.ӵٶ * math.cos(Ƕto(zjzd[n][i].angle+Ziji[n].ɫ.Ƕ))
  zjzd[n][i].y = zjzd[n][i].y + Ziji[n].ɫ.ӵٶ * math.sin(Ƕto(zjzd[n][i].angle+Ziji[n].ɫ.Ƕ))
  else
  zjzd[n][i].x = zjzd[n][i].x + math.cos(Ƕto(zjzd[n][i].angle+Ziji[n].ɫ.Ƕ))
  zjzd[n][i].y = zjzd[n][i].y + math.sin(Ƕto(zjzd[n][i].angle+Ziji[n].ɫ.Ƕ))
  end
  end
  
  if DECISIONOPEN == true and ֡ ~= true then --жBOSSе
  if BSprites[1] ~= nil then
  if zjzd[n][i].x - BSprites[1].x <= BOSS.жΧ.w / 2 and zjzd[n][i].x - BSprites[1].x >= -BOSS.жΧ.w / 2 then
  if zjzd[n][i].y - BSprites[1].y <= BOSS.жΧ.h / 2 and zjzd[n][i].y - BSprites[1].y >= -BOSS.жΧ.h / 2 then
  if  zjzd[n][i]. ~= true then
  if BOSSЧ == true then
  if BOSS ~= true then
  BOSS.Ѫ = BOSS.Ѫ - Ziji[Zijinum].ɫ.˺
  else
  BOSS.Ѫ = BOSS.Ѫ - Ziji[Zijinum].ɫ.˺/2
  end
  Ziji[Zijinum]. = Ziji[Zijinum]. + 5
  end
  zjzd[n][i].s:ûģʽ(_ƹ)
  zjzd[n][i]. = true
  end
  end
  end
  end
  for q=1,table.getn(жС) do  --жBOSSСе
  if zjzd[n][i] ~= nil and DSprites[жС[q].b] ~= nil then
  if zjzd[n][i].x - DSprites[жС[q].b].x <= жС[q].f.w / 2 and zjzd[n][i].x - DSprites[жС[q].b].x >= -жС[q].f.w / 2 then
  if zjzd[n][i].y - DSprites[жС[q].b].y <= жС[q].f.h / 2 and zjzd[n][i].y - DSprites[жС[q].b].y >= -жС[q].f.h / 2 then
  if  zjzd[n][i]. == false then
  if BOSSЧ == true then
  if BOSS ~= true then
  BOSS.Ѫ = BOSS.Ѫ - Ziji[Zijinum].ɫ.˺
  else
  BOSS.Ѫ = BOSS.Ѫ - Ziji[Zijinum].ɫ.˺/2
  end
  Ziji[Zijinum]. = Ziji[Zijinum]. + 5
  end
  zjzd[n][i].s:ûģʽ(_ƹ)
  zjzd[n][i]. = true
  end
  end  
  end
  end
  end
  end
  
  if zjzd[n][i]. == true then
  zjzd[n][i].opacity = zjzd[n][i].opacity - 25
  zjzd[n][i].zx = zjzd[n][i].zx + 0.04
  zjzd[n][i].zy = zjzd[n][i].zy + 0.04
  if zjzd[n][i].opacity <= 0 then
  zjzd[n][i] = nil
  end
  end
end
end
end
end
djzd = {}
djzdss = {}
djzdsum = 0
function лӵ(rs,gs,bs,,x1,y1,x2,y2,x,y,ox,oy,жΧ,Բ뾶,,ٶ,ٶ,,,,תٶ,תٶ,,Χֵ)
djzdsum  = djzdsum  + 1
if djzdss[djzdsum] == true then
djzdsum  = djzdsum  + 1
end
if djzdsum > 2000 then
djzdsum  = 1
end
djzd[djzdsum] = {
ȥж=false,
Χֵ=Χֵ,
=,
2=2,
3=3,
4=4,
5=5,
=,
Ѳ=false,
=true,
=false,
=true,
=false,
=false,
ֹͣ=false,
t=,
b=,
rs=rs,
gs=gs,
bs=bs,
s=D2D_.(,x1,y1,x2-x1,y2-y1),
x1=x1,
y1=y1,
x2=x2,
y2=y2,
x=x,
y=y,
odx=x,
ody=y,
ox=ox,
oy=oy,
zx=3,
zy=3,
fzx=1,
fzy=1,
op=0,
r=Բ뾶,
f=жΧ,
d=,
v=ٶ,
a=ٶ,
uv = תٶ,
ua = תٶ,
bt=}
if Χֵ == nil then
djzd[djzdsum].Χֵ = 0
end
djzd[djzdsum].s:ĵ(ox,oy)
djzd[djzdsum].s:ûģʽ(_ƹ)
return djzdsum
end 
function bossĻ()
 = true
end
function лӵˢ()
for i=1,2000 do 
if djzd[i] ~= nil then
 if  == true and djzd[i].ȥж ~= true then
 --if djzd[i].y - ɨ <= 10 and djzd[i].y - ɨ >= -10 then
 djzd[i]. = true
 --end
 end
 if djzd[i]. == true and  == true and djzd[i].ȥж ~= true then
 --if djzd[i].y - ɨ <= 10 and djzd[i].y - ɨ >= -10 then
 djzd[i]. = false
 djzd[i]. = true
 --end
 end
if djzd[i]. == true and djzd[i]. ~= true then
 djzd[i]. = true
 local rand = :ȡ(0,3)
 [i] = {s=D2D_.(ICE,i*64,0,64,64),x= djzd[i].x,y= djzd[i].y,op=0,w=0,=false}
 [i].s:ĵ(32,32)
  [i].s:ûģʽ(1)
end

 if djzd[i]. == true and djzd[i]. == true and djzd[i]. ~= true then
 [i].w = [i].w + 1
if [i].w == 8 then
for q=1,2000 do
if djzd[q] ~= nil and djzd[q]. ~= true and djzd[i]. ~= true then
if (djzd[i].x -djzd[q].x)^2 + (djzd[i].y -djzd[q].y)^2 <= 26^2 then
[i].w = 0
SE[21]:_߼(10,false)
djzd[q]. = true
end
end
end
end
 end
 if djzd[i].op >= 255  then
  djzd[i].op = 255
  else
  djzd[i].op = djzd[i].op + 15
  end
  if djzd[i].op >= 255 and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ֹͣ ~= true then --------ʵ
  if djzd[i].t == 1 then --ֱߵ
  djzd[i].v = djzd[i].v + djzd[i].a --˶
  if djzd[i]. == true then
  local jvx = djzd[i].v * math.cos(djzd[i].d)
  local jvy = djzd[i].v * math.sin(djzd[i].d)
  djzd[i].x = djzd[i].x + jvx
  djzd[i].y = djzd[i].y + jvy
  else
  local jvx = djzd[i].v * math.cos(Ƕto(djzd[i].d))
  local jvy = djzd[i].v * math.sin(Ƕto(djzd[i].d))
  djzd[i].x = djzd[i].x + jvx
  djzd[i].y = djzd[i].y + jvy
  end
  elseif djzd[i].t == 2 then --Բ
  djzd[i].v = djzd[i].v + djzd[i].a --˶
  djzd[i].r = djzd[i].r + djzd[i].v
  djzd[i].uv = djzd[i].uv + djzd[i].ua
  local zzv = djzd[i].uv / djzd[i].r
  djzd[i].d = djzd[i].d + zzv
  if djzd[i]. == true then
  djzd[i].x = djzd[i].odx + djzd[i].r * math.cos(djzd[i].d)
  djzd[i].y = djzd[i].ody + djzd[i].r * math.sin(djzd[i].d)
  else
  djzd[i].x = djzd[i].odx + djzd[i].r * math.cos(Ƕto(djzd[i].d))
  djzd[i].y = djzd[i].ody + djzd[i].r * math.sin(Ƕto(djzd[i].d))
  end
  end
  if ֡ ~= true then
  if  djzd[i].ȥж ~= true and Ziji[Zijinum] ~= nil then
  local zjr = Ziji[Zijinum].ɫ.ж뾶
  if djzd[i].f.r ~= nil and djzd[i].f.r ~= 0 and (Ziji[Zijinum].x -djzd[i].x)^2 + (Ziji[Zijinum].y -djzd[i].y)^2 <= (djzd[i].f.r+zjr)^2 and Ի ~= true and ״̬ ~= true then
  djzd[i]. = true
  Ի()
  end
  if (Ziji[Zijinum].x-djzd[i].x <= djzd[i].f.w and Ziji[Zijinum].x-djzd[i].x >= -djzd[i].f.w) 
  and (Ziji[Zijinum].y-djzd[i].y <= djzd[i].f.h and Ziji[Zijinum].y-djzd[i].y >= -djzd[i].f.h) and Ի ~= true and ״̬ ~= true then--же
  if djzd[i].f.w ~= 0 and djzd[i].f.h ~= 0 then
  djzd[i]. = true
  Ի()
  end
  else
  if (Ziji[Zijinum].x-djzd[i].x <= 22 and Ziji[Zijinum].x-djzd[i].x >= -22) 
  and (Ziji[Zijinum].y-djzd[i].y <= 22 and Ziji[Zijinum].y-djzd[i].y >= -22) and djzd[i].Ѳ ~= true and Ի ~= true then--ж
  djzd[i].Ѳ = true
  for s = 0,4 do 
  local size = :ȡС(1,2)
  MagicSprite(3+s,Fireflower,4.5,4.5,djzd[i].x,djzd[i].y,size,size,255,0,0,0)
  MagicSprite(3+s,10,0)
  MagicSpriteƶ(3+s,:ȡ(5,15),djzd[i].x+:ȡ(-40,40),djzd[i].y+:ȡ(-40,40),size,size,0,0)
  end
  if BOSS == true then
  BOUNS = BOUNS + 1
  end
  Ziji[Zijinum]. = Ziji[Zijinum]. + 1
  SE[3]:_߼(30,false)
  end
  end
  end
  end
  end
  if djzd[i].zx > djzd[i].fzx then -------------------------
  djzd[i].zx = djzd[i].zx - 0.15
  djzd[i].zy = djzd[i].zy - 0.15
  end
  if djzd[i].zx <= djzd[i].fzx and djzd[i]. == true then
  djzd[i].rs = 255
  djzd[i].gs = 255
  djzd[i].bs = 255
  djzd[i].s:ĵ(djzd[i].ox,djzd[i].oy)
  djzd[i].s:ͼƬ(djzd[i].b)
  djzd[i].s:ʾ(djzd[i].x1,djzd[i].y1,djzd[i].x2-djzd[i].x1,djzd[i].y2-djzd[i].y1)
  djzd[i].s:ûģʽ(djzd[i].bt)
  djzd[i]. = false
  end
  if   == true  and djzd[i].~=false and  djzd[i].ȥж ~= true  and Ziji[Zijinum] ~=nil then 
  local pan = (Ziji[Zijinum].x -djzd[i].x)^2 + (Ziji[Zijinum].y -djzd[i].y)^2
  if pan <= 80^2 then
  djzd[i]. = true
  end
  end
  if ֡ ~= true then
  djzd[i].s:ɫ(ARGB(djzd[i].op,djzd[i].rs,djzd[i].gs,djzd[i].bs))
  if djzd[i]. == true then
  djzd[i].s:ʾ_߼(djzd[i].x,djzd[i].y,djzd[i].d,djzd[i].zx,djzd[i].zy)
  else
  djzd[i].s:ʾ_߼(djzd[i].x,djzd[i].y,Ƕto(90+djzd[i].d),djzd[i].zx,djzd[i].zy)
  end
  end
  if djzd[i]. == true and djzd[i].ȥж ~= true then 
  djzd[i].s:ͼƬ()
  djzd[i].s:ʾ(0,0,32,32)
  djzd[i].s:ûģʽ(_ƹ)
  djzd[i].rs = 255
  djzd[i].gs = 255
  djzd[i].bs = 255
  djzd[i].op = djzd[i].op - 40
  if djzd[i].op <= 0 then
  [i] = nil
  djzd[i] = nil
  end
  end
  if djzd[i] ~= nil then
  if (djzd[i].x <= -14-djzd[i].Χֵ or djzd[i].x >= 654+djzd[i].Χֵ) or (djzd[i].y <= 10-djzd[i].Χֵ or djzd[i].y >= 472+djzd[i].Χֵ) then --ⵯĻ
  [i] = nil
  djzd[i] = nil
  end
  end
end
end
end         ?	0?        b        --  Ի
--===============================================================================
Ziji = {}
Dong = {}
ɫת = {}
¼λx = {}
ԻǶȱʶ = {}
Աʶ = {}
ź = {}
zda = 0
ֹ = false
ֹƶ = false
жʾ = false
BOMBʱ = 0
 = {}
Ů2 = {}
function Ի(n,character,name,x,y)
  Zijinum = n
  if character == 0 then
  Ziji[n] = {ͼ = D2D_.(AVATAR[0],0,0,32,48), = 3,ը = 4, = 0,߷ = 0,MISS=0,=0,=0,շ=0,ӳ=0, = 0,time=0,x=x,y=y,ɫ,ӵ = {sum=0,sprite={},type},ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "",
   = {n=name,s,ys},
   = {1,2},
  ˺ = 60,
  ƶٶ = 3.5,
  ƶٶȱ = 1,
   = 1.8,
  ˺Χ = 40,
  ӵٶ = 18,
  Ƕ = -90,
  Ļ = "",
  Ļ = 40,
  ж뾶 = 1.5}
  end
  if character == 1 then
  Ziji[n] = {ͼ = D2D_.(AVATAR[1],0,0,32,48), = 3,ը = 4, = 0,߷ = 0,MISS=0,=0,=0,շ=0,ӳ=0, = 0,time=0,x=x,y=y,ɫ,ӵ = {sum=0,sprite={},type},ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "ħɳ",
   = {n=name,s,ys},
   = {1,2},
  ˺ = 80,
  ƶٶ = 4.2,
  ƶٶȱ = 1,
   = 2.2,
  ˺Χ = 40,
  ӵٶ = 14,
  Ƕ = -90,
  Ļ = "ɢ",
  Ļ = 100,
  ж뾶 = 2}
  end
  if character == 2 then
  Ziji[n] = {ͼ = D2D_.(AVATAR[2],0,0,32,48), = 3,ը = 6, = 0,߷ = 0,MISS=0,=0,=0,շ=0,ӳ=0, = 0,time=0,x=x,y=y,ɫ,ӵ = {sum=0,sprite={},type},ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "",
   = {n=name,s,ys},
   = {1},
  ˺ = 35,
  ƶٶ = 3,
  ƶٶȱ = 1,
   = 1.5,
  ˺Χ = 40,
  ӵٶ = 20,
  Ƕ = -90,
  Ļ = "ֱ",
  Ļ = 40,
  ж뾶 = 1.5}
  end
  if character == 3 then
  Ziji[n] = {ͼ = D2D_.(AVATAR[3],0,0,32,48), = 3,ը = 4, = 0,߷ = 0,MISS=0,=0,=0,շ=0,ӳ=0, = 0,time=0,x=x,y=y,ɫ,ӵ = {sum=0,sprite={},type},ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "¶ŵ",
   = {n=name,s,ys},
   = {1},
  ˺ = 20,
  ƶٶ = 4,
  ƶٶȱ = 1,
   = 2,
  ˺Χ = 40,
  ӵٶ = 20,
  Ƕ = -90,
  Ļ = "ɢ",
  Ļ = 40,
  ж뾶 = 1.5}
  end
  Ziji[Zijinum].ɫ..s = D2D_.("",12,false,false,false)
  Ziji[Zijinum].ɫ..ys = D2D_.("",12,false,false,false)
  Ziji[Zijinum].ɫ..ys:ɫ(ɫ_)
  MagicSprite(1,AVATAR[0],31,30,Ziji[Zijinum].x,Ziji[Zijinum].y,1,1,0,3,0,0) -- жѩ
  MagicSpriteþ(1,1,162,64,63)
  MagicSprite(2,AVATAR[0],31,30,Ziji[Zijinum].x,Ziji[Zijinum].y,2,2,0,3,0,0) -- жѩ
  MagicSpriteþ(2,66,161,64,63)
  ɫת[n] = 0
  ֵʾ(1,Ziji[Zijinum].,175,9,255)
  ֵʾ(2,Ziji[Zijinum].߷,347,9,255)
  BOMBʾ()
  ()
  ź[Zijinum] = {s=D2D_.(UI[5],16,2,7,21),op = 0}
  ź[Zijinum].s:ɫ(ARGB(ź[Zijinum].op,255,255,255))
  ź[Zijinum].s:ĵ(0,21)
  ԻǶȱʶ[Zijinum] = {s=D2D_.(JABS,0,0,74,80),op=0}
  ԻǶȱʶ[Zijinum].s:ĵ(37,43)
end 
function Ա(n,character,name,x,y)
  if character == 0 then
  Ziji[n] = {
  ͼ = D2D_.(AVATAR[0],0,0,32,48),
   = 3,
  ը = 4,
   = 0,
  ߷ = 0,
   = 0,
  time=0,
  x=x,
  y=y,
  ɫ,
  ӵ = {sum=0,sprite={},type},
  fps=0,
  ڷ=false,
  ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "",
   = {n=name,s,ys},
   = {1,2},
  ˺ = 240,
  ƶٶ = 3.4,
  ƶٶȱ = 1,
   = 1.5,
  ˺Χ = 40,
  ӵٶ = 18,
  Ƕ = -90,
  Ļ = "",
  Ļ = 40,
  ж뾶 = 1.5}
  end
if character == 1 then
  Ziji[n] = {ͼ = D2D_.(AVATAR[1],0,0,32,48), = 3,ը = 4, = 0,߷ = 0, = 0,time=0,x=x,y=y,ɫ,ӵ = {sum=0,sprite={},type},fps=0,ڷ=false,ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "ħɳ",
   = {n=name,s,ys},
   = {1,2},
  ˺ = 150,
  ƶٶ = 4.2,
  ƶٶȱ = 1,
   = 2.1,
  ˺Χ = 40,
  ӵٶ = 14,
  Ƕ = -90,
  Ļ = "ɢ",
  Ļ = 100,
  ж뾶 = 2}
  end
  if character == 2 then
  Ziji[n] = {ͼ = D2D_.(AVATAR[2],0,0,32,48), = 3,ը = 4, = 0,߷ = 0, = 0,time=0,x=x,y=y,ɫ,ӵ = {sum=0,sprite={},type},fps=0,ڷ=false,ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "",
   = {n=name,s,ys},
   = {1},
  ˺ = 240,
  ƶٶ = 3,
  ƶٶȱ = 1,
   = 1.1,
  ˺Χ = 40,
  ӵٶ = 20,
  Ƕ = -90,
  Ļ = "ֱ",
  Ļ = 40,
  ж뾶 = 1.5}
  end
  if character == 3 then
  Ziji[n] = {ͼ = D2D_.(AVATAR[3],0,0,32,48), = 3,ը = 4, = 0,߷ = 0, = 0,time=0,x=x,y=y,ɫ,ӵ = {sum=0,sprite={},type},fps=0,ڷ=false,ch = character}
  Dong[n] = {time = 0,bit = 0}
  Ziji[n].ͼ:ĵ(16,23)
  Ziji[n].ɫ = {
   = "¶ŵ",
   = {n=name,s,ys},
   = {1},
  ˺ = 180,
  ƶٶ = 4,
  ƶٶȱ = 1,
   = 1.9,
  ˺Χ = 40,
  ӵٶ = 20,
  Ƕ = -90,
  Ļ = "ɢ",
  Ļ = 40,
  ж뾶 = 1.5}
  end
  Ziji[n].ͼ:ɫ(ARGB(200,255,255,255))
  Ziji[n].ɫ..s = D2D_.("",12,false,false,false)
  Ziji[n].ɫ..ys = D2D_.("",12,false,false,false)
  Ziji[n].ɫ..ys:ɫ(ɫ_)
  ɫת[n] = 0
  ¼λx[n] = x
  ź[n] = {s=D2D_.(UI[5],16,2,7,21),op = 0}
  ź[n].s:ɫ(ARGB(ź[n].op,255,255,255))
  ź[n].s:ĵ(0,21)
  ԻǶȱʶ[n] = {s=D2D_.(JABS,0,0,74,80),op=0}
  ԻǶȱʶ[n].s:ĵ(37,43)
  Աʶ[n] = {s=D2D_.(ZDSJ,0,0,49,53),op=0,f=0}
  Աʶ[n].s:ĵ(23,22)
end
״̬ = false
ʱ = 0
function Ի()
if ״̬ ~= true and ʱ == 0 then
   = false
  ʱ = 0
  ״̬ = true
  ֹƶ = true
  SE[2]:_߼(25,false)
end
end
Ա״̬ = {}
deathtime = {}
wuditime = {}
function Ա(n,t)
if Ziji[n] ~= nil and Ա״̬[n] == nil then
SE[2]:_߼(25,false)
Ա״̬[n] = t
deathtime[n] = 0
wuditime[n] = 0
Ziji[n].ͼ:ɫ(ARGB(0,255,255,255))
for s = 0,15 do 
  local size = :ȡС(1.5,3)
  ParSprite(1+s+(n-1)*16,Fireflower,4.5,4.5,Ziji[n].x,Ziji[n].y,size,size,255,0,0,0)
  ParSprite(1+s+(n-1)*16,30,0)
  ParSpriteƶ(1+s+(n-1)*16,:ȡ(20,40),Ziji[n].x+:ȡ(-100,100),Ziji[n].y+:ȡ(-100,100),size,size,0,0)
  end
  MagicSprite(3+n,MAGICZ,31,32,Ziji[n].x,Ziji[n].y,0,0,255,3,0,0)
  MagicSpriteþ(3+n,129,16,63,63)
  MagicSpriteƶ(3+n,40,Ziji[n].x,Ziji[n].y,4,4,0,0)
  MagicSprite(3+n,40,0)
end
end
function Աˢ()
for i=1,4 do 
if Ա״̬[i] ~= nil then
deathtime[i] = deathtime[i] + 1
if deathtime[i] >= 1 and deathtime[i] <= 10 then
for s=1,2000 do
if  djzd[s] ~= nil and djzd[s].~= false and  djzd[s].ȥж ~= true  and Ziji[i] ~=nil then 
local pan = (Ziji[i].x -djzd[s].x)^2 + (Ziji[i].y -djzd[s].y)^2
if pan <= 80^2 then
djzd[s]. = true
end
end
end
end
if deathtime[i] == 40 then
for s=1,16 do
ParSprite(s+(i-1)*16)
end
end
if Ա״̬[i] == 1 then --
if deathtime[i] > 60 and deathtime[i] < 180 then
wuditime[i] = wuditime[i] + 1
if wuditime[i] == 4 then
Ziji[i].ͼ:ɫ(ARGB(150,255,255,255))
end
if wuditime[i] == 8 then
Ziji[i].ͼ:ɫ(ARGB(0,255,255,255))
wuditime[i] = 0
end
end
if deathtime[i] == 180 then
Ziji[i].ͼ:ɫ(ARGB(200,255,255,255))
Ա״̬[i] = nil
deathtime[i] = 0
end
else                                   --
if Ziji[i].ɫ..n ~= nil then
if Ziji[i].ch == 0 then
local rand = :ȡ(1,4)
if rand == 1 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."չؼҺȲ~",3)
elseif rand == 2 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."㻹ûǮͰ·ŪˣҪ~",3)
elseif rand == 3 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."鷳~",3)
elseif rand == 4 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."Ҫңа~",3)
end
end
if Ziji[i].ch == 1 then
local rand = :ȡ(1,4)
if rand == 1 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ۣûôݵ~",3)
elseif rand == 2 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."Ϊ뿴ʹȥDAZE~",3)
elseif rand == 3 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ʹȫǲˣŰ~",3)
elseif rand == 4 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ִҲ~",3)
end
end
if Ziji[i].ch == 2 then
local rand = :ȡ(1,4)
if rand == 1 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ֻҪҵǰͺûʲô~",3)
elseif rand == 2 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ҵʧ~",3)
elseif rand == 3 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ǲԳʶ~",3)
elseif rand == 4 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."...ﲻ......~",3)
end
end
if Ziji[i].ch == 3 then
local rand = :ȡ(1,4)
if rand == 1 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."´ֻҪǵĻ㼤Ҳǿ~",3)
elseif rand == 2 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ҿǻǿô۸˵~",3)
elseif rand == 3 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ʹһ1X3Ҳ1~",3)
elseif rand == 4 then
ϵͳϢ("[]"..Ziji[i].ɫ..n.."ʹ´һսģ~",3)
end
end
end
Ա״̬[i] = nil
deathtime[i] = 0
Ziji[i] = nil
Dong[i] = nil
end
end
end
end
ȷ = 0
function Իˢ()
if Ӽ == true then
ȷ = ȷ + 1
if ȷ <= 100 and ȷ % 4 == 0 then
  if Ziji[Zijinum]. <= 0 then
  Ziji[Zijinum]. = 0
   = true 
  if Zijinum == 1 then
  for i=2,4 do 
  if Ա.[i] ~= nil then
  Fasong("I031",Ա.[i])
  end
  end
  else
  Fasong("I03"..tostring(Zijinum))
  end
  else
  if Zijinum == 1 then
  for i=2,4 do 
  if Ա.[i] ~= nil then
  Fasong("I021",Ա.[i])
  end
  end
  else
  Fasong("I02"..tostring(Zijinum))
  end
  end
end
if ȷ > 100 then
Ӽ  = false
ȷ  = 0
end
end
if ״̬ == true and Ziji[Zijinum] ~= nil then
ʱ = ʱ + 1
if ʱ == 15 then
  ״̬ = false
  ʱ = 0
  if BOSS == true then
  ʧ = true
  end
  if :ȡ¼(16) then
  жʾ = true
  end
  if  ~= true then
  Ziji[Zijinum]. = Ziji[Zijinum]. - 1
  Ziji[Zijinum].MISS = Ziji[Zijinum].MISS + 1
  Ӽ = true 
  Ziji[Zijinum].ͼ:ɫ(ARGB(0,255,255,255))
  for s = 0,15 do 
  local size = :ȡС(1.5,3)
  ParSprite(1+s,Fireflower,4.5,4.5,Ziji[Zijinum].x,Ziji[Zijinum].y,size,size,255,0,0,0)
  ParSprite(1+s,30,0)
  ParSpriteƶ(1+s,:ȡ(20,40),Ziji[Zijinum].x+:ȡ(-100,100),Ziji[Zijinum].y+:ȡ(-100,100),size,size,0,0)
  end
  MagicSprite(4,MAGICZ,31,32,Ziji[Zijinum].x,Ziji[Zijinum].y,0,0,255,3,0,0)
  MagicSpriteþ(4,129,16,63,63)
  MagicSpriteƶ(4,40,Ziji[Zijinum].x,Ziji[Zijinum].y,4,4,0,0)
  MagicSprite(4,40,0)
   = true
  ֹƶ = true 
  ֹ = true
  Ի = true
  wuditime[Zijinum] = 0
  deathtime[Zijinum] = 0 
end
end
else
ʱ = 0
end
end
bombtime = 0
bombƱ ={}
bombԱ = {}
for i= 1,4 do
bombԱ[i] = {}
end
bombԱsp = {}
for i= 1,4 do
bombԱsp[i] = {}
end
bombsprite = {}
bombԱ = {}
bombԱtime = {}
bombԱˢ = {}
function ԱBomb(z,j,n)
for i=0,10 do
bombԱ[z][i] = 0
end
if Ziji[z] ~= nil then
if j == 0 then --
if n == 1 then --
bombԱ[z] = {x=Ziji[z].x,y=Ziji[z].y}
if ر ~= true then 
bombԱ[z][0] = Ziji[z].x
bombԱ[z][1] = Ziji[z].y
bombԱ[z][2] = 0 --⻷뾶
bombԱ[z][3] = 0 --⻷ת
(3)
(4)
(5)
(3,bombbit[0],{x=0,y=0,w=20,h=20},Ziji[z].x,Ziji[z].y,10,10,1,2,80,0,0,0,0,_ƹ,{zx=1.8,zy=1.8},{zx=0.5,zy=0.5},255,0,255,85,255)
(4,bombbit[0],{x=0,y=0,w=20,h=20},Ziji[z].x,Ziji[z].y,10,10,1,2,80,0,0,0,0,_ƹ,{zx=1.8,zy=1.8},{zx=0.5,zy=0.5},255,0,170,254,213)
(5,bombbit[0],{x=0,y=0,w=20,h=20},Ziji[z].x,Ziji[z].y,10,10,1,2,80,0,0,0,0,_ƹ,{zx=1.8,zy=1.8},{zx=0.5,zy=0.5},255,0,120,170,254)
end
elseif n == 2 then --ħ
bombԱsp[z][0] = nil
bombԱsp[z][0] = {s=D2D_.(bombbit[2],0,0,48,48),x=Ziji[z].x,y=Ziji[z].y,zx=0,zy=0,v=1,a=0.2,f=0}
bombԱsp[z][0].s:ĵ(24,24)
bombԱsp[z][0].s:ûģʽ(_ƹ)
bombԱsp[z][0].f = Ziji[z].ɫ.Ƕ
if ر ~= true then 
(3)
(3,bombbit[3],{x=0,y=0,w=48,h=48},Ziji[z].x,Ziji[z].y,24,24,1,1,40,0,0,0,0,_ƹ,{zx=1,zy=1},{zx=1,zy=1},255,0,255,255,255)
end
end
end
if j == 1 then --ħɳ
if n == 1 then --
if ر ~= true then 
(3)
(3,bombbit[6],{x=0,y=0,w=9,h=9},Ziji[z].x,Ziji[z].y-15,5,5,1,1,40,:ȡ(0,360),360,3,-0.02,_ƹ,{zx=:ȡС(0.5,1),zy=:ȡС(0.5,1)},{zx=2,zy=2},255,0,255,255,255)
end
bombԱsp[z][0] = nil
bombԱsp[z][0] = {s=D2D_.(bombbit[4],0,0,200,200),zx=1,zy=0}
bombԱsp[z][0].s:ĵ(104,200)
bombԱsp[z][0].s:ûģʽ(1)
bombԱsp[z][1] = nil
bombԱsp[z][1] = {s=D2D_.(bombbit[5],0,0,174,58),op=0}
bombԱsp[z][1].s:ĵ(86,39)
bombԱsp[z][1].s:ûģʽ(1)
for i=2,7 do 
bombԱsp[z][i] = nil 
bombԱsp[z][i] = {s=D2D_.(bombbit[7],0,0,48,128),y=Ziji[z].y+(i-2)*128,op=0}
bombԱsp[z][i].s:ĵ(24,128)
bombԱsp[z][i].s:ûģʽ(1)
end
elseif n == 2 then --
bombԱ[z][0] = Ziji[z].x
bombԱ[z][1] = Ziji[z].y
bombԱ[z][2] = 400
bombԱsp[z][0] = {s=D2D_.(bombbit[8],0,0,32,32),j=72,x,y,op=0}
bombԱsp[z][0].s:ɫ(ARGB(255,255,255,255))
bombԱsp[z][1] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*2,x,y,op=0}
bombԱsp[z][1].s:ɫ(ARGB(255,255,155,205))
bombԱsp[z][2] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*3,x,y,op=0}
bombԱsp[z][2].s:ɫ(ARGB(255,172,255,255))
bombԱsp[z][3] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*4,x,y,op=0}
bombԱsp[z][3].s:ɫ(ARGB(255,164,255,164))
bombԱsp[z][4] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*5,x,y,op=0}
bombԱsp[z][4].s:ɫ(ARGB(255,255,172,132))
for i=0,4 do
bombԱsp[z][i].s:ĵ(16,16)
bombԱsp[z][i].s:ûģʽ(1)
end
bombԱsp[z][5] = {s=D2D_.(bombbit[9],0,0,100,100),zx=0,zy=0,op=0}
bombԱsp[z][5].s:ûģʽ(1)
bombԱsp[z][5].s:ĵ(50,50)
for i=0,4 do 
bombԱsp[z][i].x = bombԱ[z][0] + bombԱ[z][2] * math.cos(Ƕto(bombԱsp[z][i].j))
bombԱsp[z][i].y = bombԱ[z][1] + bombԱ[z][2] * math.sin(Ƕto(bombԱsp[z][i].j))
if ر ~= true then
(i+3)
(i+3,bombbit[8],{x=0,y=0,w=32,h=32},bombԱsp[z][i].x,bombԱsp[z][i].y,16,16,1,1,28,:ȡ(0,360),360,0.5,0,_ƹ,{zx=:ȡС(0.5,1),zy=:ȡС(0.5,1)},{zx=1,zy=1},255,0,255,255,255)
end
end
end
end
if j == 2 then --
if n == 1 then --
for i=1,5 do 
bombԱsp[z][i] = {s=D2D_.(MZ[i],0,0,120,120),zx=1,zy=1,op=0}
bombԱsp[z][i].s:ĵ(60,61)
bombԱsp[z][i].s:ûģʽ(1)
end
for i=6,10 do 
bombԱsp[z][i] = {s=D2D_.(MZ[i-5],0,0,120,120),zx=1,zy=1,op=0}
bombԱsp[z][i].s:ĵ(60,61)
bombԱsp[z][i].s:ûģʽ(1)
end
bombԱsp[z][11] = {s=D2D_.(MZ[6],0,0,120,120),zx=0,zy=0,op=0}
bombԱsp[z][11].s:ĵ(60,60)
bombԱsp[z][11].s:ûģʽ(1)
end
end
if j == 3 then --¶ŵ
if n == 1 then --
bombԱ[z][0] = Ziji[z].x 
bombԱ[z][1] = Ziji[z].y 
bombԱsp[z][0] = {s=D2D_.(ICE,162,161,94,95),op=0}
bombԱsp[z][0].s:ĵ(94/2,95/2)
bombԱsp[z][0].s:ûģʽ(1)
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i]. ~= true  and djzd[i].ȥж ~= true then
if (Ziji[z].x -djzd[i].x)^2 + (Ziji[z].y -djzd[i].y)^2 <= 45^2 then
SE[21]:_߼(5,false)
djzd[i]. = true
end
end
end
end
end
SE[1]:_߼(40,false)
bombԱtime[z] = 0
bombԱˢ[z] = {o=true,j=j,n=n} 
end
end
function ԱBombˢ()
for z=1,4 do 
if Ziji[z] ~= nil and bombԱˢ[z]~= nil and bombԱˢ[z].o == true then
bombԱtime[z] = bombԱtime[z] + 1
if bombԱˢ[z].j == 0 then
if bombԱˢ[z].n == 1 then 
bombԱ[z][2] = bombԱ[z][2] + 5
bombԱ[z][3] = bombԱ[z][3] + 5
if bombԱ[z][3] >= 360 then
bombԱ[z][3] = 0
end
if bombԱ[z][2] >= 80 then
bombԱ[z][2] = 80
end
local x = bombԱ[z][0]
local y = bombԱ[z][1]
ı(3,x+bombԱ[z][2] * math.cos(Ƕto(bombԱ[z][3])),y+bombԱ[z][2] * math.sin(Ƕto(bombԱ[z][3])))
ı(4,x+bombԱ[z][2] * math.cos(Ƕto(bombԱ[z][3]+120)),y+bombԱ[z][2] * math.sin(Ƕto(bombԱ[z][3]+120)))
ı(5,x+bombԱ[z][2] * math.cos(Ƕto(bombԱ[z][3]+240)),y+bombԱ[z][2] * math.sin(Ƕto(bombԱ[z][3]+240)))
for i=1,2000 do 
if djzd[i] ~= nil then
if (bombԱ[z].x -djzd[i].x)^2 + (bombԱ[z].y -djzd[i].y)^2 <= (bombԱ[z][2]+20)^2 and djzd[i].~=false  and djzd[i].ȥж ~= true then
djzd[i]. = true
end
end
end
if bombԱtime[z] == 120 then
if bombԱˢ[z].n== 1 then
SE[1]:_߼(40,false)
ֹͣ(3)
ֹͣ(4)
ֹͣ(5)
bombԱˢ[z].o = false
bombԱtime[z] = 0
end
end
elseif bombԱˢ[z].n == 2 then
if bombԱtime[z] <= 20 then
bombԱsp[z][0].zx = bombԱsp[z][0].zx + 0.05
bombԱsp[z][0].zy = bombԱsp[z][0].zy + 0.05
end
bombԱ[z][0] = bombԱ[z][0] + 10
if bombԱsp[z][0].zx >= 1 then
bombԱsp[z][0].zx = 1
bombԱsp[z][0].zy = 1
bombԱtime[z] = bombԱtime[z] + 1
end
if bombԱsp[z][0].zx <= 0 then
bombԱsp[z][0].zx = 0
bombԱsp[z][0].zy = 0
end
if bombԱtime[z] > 20 then
bombԱsp[z][0].v = bombԱsp[z][0].v + bombԱsp[z][0].a
bombԱsp[z][0].x = bombԱsp[z][0].x + bombԱsp[z][0].v * math.cos(Ƕto(bombԱsp[z][0].f))
bombԱsp[z][0].y = bombԱsp[z][0].y + bombԱsp[z][0].v * math.sin(Ƕto(bombԱsp[z][0].f))
if (bombԱsp[z][0].x > 660 or bombԱsp[z][0].x < -20) or (bombԱsp[z][0].y > 500 or bombԱsp[z][0].y < -20) or bombԱsp[z][0].zx <= 0 then
ֹͣ(3)
bombԱˢ[z].o = false
bombԱtime[z] = 0
end
end
for i=1,2000 do 
if djzd[i] ~= nil and djzd[i]. ~= true then
if (bombԱsp[z][0].x -djzd[i].x)^2 + (bombԱsp[z][0].y -djzd[i].y)^2 <= (48)^2 and djzd[i].~=false and djzd[i]. ~= true and djzd[i].ȥж ~= true  then
bombԱsp[z][0].zx = bombԱsp[z][0].zx - 0.005
bombԱsp[z][0].zy = bombԱsp[z][0].zy - 0.005
djzd[i]. = true
end
end
end
if (bombԱsp[z][0].x -BSprites[1].x)^2 + (bombԱsp[z][0].y -BSprites[1].y)^2 <= (48)^2  then
bombԱtime[z] = bombԱtime[z] + 1
bombԱsp[z][0].v = 1
SE[4]:_߼(16,false)
if bombԱtime[z] % 2 == 0 then
bombԱsp[z][0].zx = bombԱsp[z][0].zx - 0.015
bombԱsp[z][0].zy = bombԱsp[z][0].zy - 0.015
end
end
if ֡ ~= true then
bombԱsp[z][0].s:ʾ_߼(bombԱsp[z][0].x,bombԱsp[z][0].y,Ƕto(bombԱ[z][0]),bombԱsp[z][0].zx,bombԱsp[z][0].zy)
end
ı(3,bombԱsp[z][0].x,bombԱsp[z][0].y)
ıת(3,Ƕto(bombԱ[z][0]))
end
end
if bombԱˢ[z].j == 1 then
if bombԱˢ[z].n == 1 then
for i=2,7 do 
if bombԱtime[z] <= 160 and Ա״̬[i] == nil then
if bombԱsp[z][i].y >= Ziji[z].y then
bombԱsp[z][i].op = 0
else
bombԱsp[z][i].op = bombԱsp[z][i].op + 20
if bombԱsp[z][i].op >= 255 then
bombԱsp[z][i].op = 255
end
end
else
bombԱsp[z][i].op = bombԱsp[z][i].op - 30
if bombԱsp[z][i].op <= 0 then
bombԱsp[z][i].op = 0
end
end
if ֡ ~= true then
bombԱsp[z][i].s:ɫ(ARGB(bombԱsp[z][i].op,255,255,255))
bombԱsp[z][i].s:ʾ_߼(Ziji[z].x,bombԱsp[z][i].y,0,1.1,1)
end
bombԱsp[z][i].y = bombԱsp[z][i].y - 5
if bombԱsp[z][i].y <= 0 then
bombԱsp[z][i].y = Ziji[z].y
end
end
ı(3,Ziji[z].x,Ziji[z].y-15)
if bombԱtime[z] <= 160 and Ա״̬[i] == nil then
bombԱsp[z][0].zy = bombԱsp[z][0].zy + 0.2
if bombԱsp[z][0].zy >= 5 then
bombԱsp[z][0].zy = 5
end
bombԱsp[z][1].op = bombԱsp[z][1].op + 40
if bombԱsp[z][1].op >= 255 then
bombԱsp[z][1].op = 255
end
end
if bombԱtime[z] >= 160 or Ա״̬[z] ~= nil then
bombԱsp[z][1].op = bombԱsp[z][1].op - 30
if bombԱsp[z][1].op <= 0 then
bombԱsp[z][1].op = 0
end
bombԱsp[z][0].zx = bombԱsp[z][0].zx - 0.06
if bombԱsp[z][0].zx <= 0 then
bombԱsp[z][0].zx = 0
end
else
for i=1,2000 do 
if djzd[i] ~= nil and djzd[i].ȥж ~= true then
if math.abs(djzd[i].x - Ziji[z].x*bombԱsp[z][0].zx)  <= 22 and djzd[i].y - Ziji[z].y <= -20 then
djzd[i]. = true
end
end
end
end
if bombԱsp[z][0].zx <= 0 then
ֹͣ(3)
bombԱsp[z][0].zx = 0.01
bombԱˢ[z].o = false
bombԱtime[z] = 0
end
if ֡ ~= true then
bombԱsp[z][1].s:ɫ(ARGB(bombԱsp[z][1].op,255,255,255))
bombԱsp[z][1].s:ʾ(Ziji[z].x,Ziji[z].y-15)
bombԱsp[z][0].s:ʾ_߼(Ziji[z].x,Ziji[z].y-8,0,bombԱsp[z][0].zx,bombԱsp[z][0].zy)
end
elseif bombԱˢ[z].n == 2 then
bombԱ[z][2] = bombԱ[z][2] - 5
if bombԱ[z][2] > 0 then
for i=0,4 do 
bombԱsp[z][i].x = bombԱ[z][0] + bombԱ[z][2] * math.cos(Ƕto(bombԱsp[z][i].j))
bombԱsp[z][i].y = bombԱ[z][1] + bombԱ[z][2] * math.sin(Ƕto(bombԱsp[z][i].j))
if ر ~= true then
ı(i+3,bombԱsp[z][i].x,bombԱsp[z][i].y)
end
bombԱsp[z][i].j = bombԱsp[z][i].j + 5
if ֡ ~= true then
bombԱsp[z][i].s:ʾ_߼(bombԱsp[z][i].x,bombԱsp[z][i].y,Ƕto(bombԱsp[z][i].j),1,1)
end
for s=1,2000 do 
if djzd[s] ~= nil then
if math.abs(djzd[s].x - bombԱsp[z][i].x)  <= 10 and math.abs(djzd[s].y - bombԱsp[z][i].y) <= 10  and djzd[s].ȥж ~= true then
djzd[s]. = true
end
end
end
end
end
if bombԱ[z][2] == 0 then
for i=0,4 do
ֹͣ(i+3)
end
end
if bombԱtime[z] == 80 then
bombԱsp[z][5].op = 255
end
if ֡ ~= true then
bombԱsp[z][5].s:ɫ(ARGB(bombԱsp[z][5].op,255,255,255))
bombԱsp[z][5].s:ʾ_߼(bombԱ[z][0],bombԱ[z][1],0,bombԱsp[z][5].zx,bombԱsp[z][5].zy)
end
if bombԱtime[z] > 80 then
bombԱsp[z][5].op = bombԱsp[z][5].op - 8
bombԱsp[z][5].zx = bombԱsp[z][5].zx + 0.1
bombԱsp[z][5].zy = bombԱsp[z][5].zy + 0.1
if bombԱsp[z][5].op <= 0 then
bombԱˢ[z].o = false
bombԱtime[z] = 0
end
end
end
end
if bombԱˢ[z].j == 2 then
if bombԱˢ[z].n == 1 then 
if bombԱtime[z] == 1 then
SE[16]:_߼(20,false)
bombԱsp[z][1].op = 255
bombԱsp[z][2].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true
djzd[i].a = -0.04
end
end
elseif bombԱtime[z] == 20 then
SE[16]:_߼(22,false)
bombԱsp[z][3].op = 255
bombԱsp[z][4].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true
djzd[i].a = -0.04
end
end
elseif bombԱtime[z] == 40 then
SE[16]:_߼(24,false)
bombԱsp[z][5].op = 255
bombԱsp[z][6].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true
djzd[i].a = -0.04
end
end
elseif bombԱtime[z] == 60 then
SE[16]:_߼(26,false)
bombԱsp[z][7].op = 255
bombԱsp[z][8].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true
djzd[i].a = -0.04
end
end
elseif bombԱtime[z] == 80 then
SE[16]:_߼(30,false)
SE[1]:_߼(40,false)
bombԱsp[z][9].op = 255
bombԱsp[z][10].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true
djzd[i].a = -0.04
end
end
end
if bombԱtime[z] >= 1 and bombԱtime[z] <= 20 then
bombԱsp[z][2].op = bombԱsp[z][2].op - 12.75
bombԱsp[z][2].zx = bombԱsp[z][2].zx + 0.04
bombԱsp[z][2].zy = bombԱsp[z][2].zy + 0.04
elseif bombԱtime[z] >= 20 and bombԱtime[z] <= 40 then
bombԱsp[z][4].op = bombԱsp[z][4].op - 12.75
bombԱsp[z][4].zx = bombԱsp[z][4].zx + 0.04
bombԱsp[z][4].zy = bombԱsp[z][4].zy + 0.04
elseif bombԱtime[z] >= 40 and bombԱtime[z] <= 60 then
bombԱsp[z][6].op = bombԱsp[z][6].op - 12.75
bombԱsp[z][6].zx = bombԱsp[z][6].zx + 0.04
bombԱsp[z][6].zy = bombԱsp[z][6].zy + 0.04
elseif bombԱtime[z] >= 60 and bombԱtime[z] <= 80 then
bombԱsp[z][8].op = bombԱsp[z][8].op - 12.75
bombԱsp[z][8].zx = bombԱsp[z][8].zx + 0.04
bombԱsp[z][8].zy = bombԱsp[z][8].zy + 0.04
elseif bombԱtime[z] >=80 and bombԱtime[z] <= 380 then
bombԱsp[z][1].op = bombԱsp[z][1].op - 300/255
bombԱsp[z][3].op = bombԱsp[z][3].op - 300/255
bombԱsp[z][5].op = bombԱsp[z][5].op - 300/255
bombԱsp[z][7].op = bombԱsp[z][7].op - 300/255
bombԱsp[z][9].op = bombԱsp[z][9].op - 300/255
for i=1,10 do 
if bombԱsp[z][i].op <= 0 then
bombԱsp[z][i].op = 0
end
end
bombԱsp[z][10].op = bombԱsp[z][10].op - 12.75
bombԱsp[z][10].zx = bombԱsp[z][10].zx + 0.08
bombԱsp[z][10].zy = bombԱsp[z][10].zy + 0.08
if bombԱsp[z][10].op <= 0 then
bombԱsp[z][10].op = 0
end
bombԱsp[z][11].op = bombԱsp[z][11].op + 20
bombԱsp[z][11].zx = bombԱsp[z][11].zx + 0.6
bombԱsp[z][11].zy = bombԱsp[z][11].zy + 0.6
if bombԱsp[z][11].op >= 255 then
bombԱsp[z][11].op = 255
end
if bombԱsp[z][11].zx >= 15 then
bombԱsp[z][11].zx = 15
bombԱsp[z][11].zy = 15
end
end
if bombԱtime[z] == 380 or Ա״̬[i] ~= nil then
bombԱˢ[z].o = false
bombԱtime[z] = 0
end
for i=1,11 do
if ֡ ~= true then
bombԱsp[z][i].s:ɫ(ARGB(bombԱsp[z][i].op,255,255,255))
bombԱsp[z][i].s:ʾ_߼(Ziji[z].x,Ziji[z].y,0,bombԱsp[z][i].zx,bombԱsp[z][i].zy)
end
end
end
end
if bombԱˢ[z].j == 3 then
if bombԱˢ[z].n == 1 then 
if bombԱtime[z] <= 200 then
Ů2[z] = true 
end
if bombԱtime[z] == 200 then
SE[1]:_߼(40,false)
 = false
Ů2[z] = false
bombԱˢ[z].o = false
bombԱtime[z] = 0
end
end
end
end
end
end
function Bomb()
bombtime = 0
for i=0,10 do
bombƱ[i] = 0
end
if Ziji[Zijinum].ը > 0 then
JNTBL.zx = 1
JNTBL.zy = 1
JNTBL.op = 255
Ziji[Zijinum].ը = Ziji[Zijinum].ը - 1
 = true
״̬ = false
ֹƶ = false
BOMBʱ = true
BOMB = 
SE[1]:_߼(40,false)
if Ziji[Zijinum].ch == 0 then --
if BOMB == 1 then --
bomb = {x=Ziji[Zijinum].x,y=Ziji[Zijinum].y}
ֹ = true
if ر ~= true then 
bombƱ[0] = Ziji[Zijinum].x
bombƱ[1] = Ziji[Zijinum].y
bombƱ[2] = 0 --⻷뾶
bombƱ[3] = 0 --⻷ת
(3)
(4)
(5)
(3,bombbit[0],{x=0,y=0,w=20,h=20},Ziji[Zijinum].x,Ziji[Zijinum].y,10,10,1,2,80,0,0,0,0,_ƹ,{zx=1.8,zy=1.8},{zx=0.5,zy=0.5},255,0,255,85,255)
(4,bombbit[0],{x=0,y=0,w=20,h=20},Ziji[Zijinum].x,Ziji[Zijinum].y,10,10,1,2,80,0,0,0,0,_ƹ,{zx=1.8,zy=1.8},{zx=0.5,zy=0.5},255,0,170,254,213)
(5,bombbit[0],{x=0,y=0,w=20,h=20},Ziji[Zijinum].x,Ziji[Zijinum].y,10,10,1,2,80,0,0,0,0,_ƹ,{zx=1.8,zy=1.8},{zx=0.5,zy=0.5},255,0,120,170,254)
end
elseif BOMB == 2 then --ħ
bombsprite[0] = nil
bombsprite[0] = {s=D2D_.(bombbit[2],0,0,48,48),x=Ziji[Zijinum].x,y=Ziji[Zijinum].y,zx=0,zy=0,v=1,a=0.2,f=0}
bombsprite[0].s:ĵ(24,24)
bombsprite[0].s:ûģʽ(_ƹ)
bombsprite[0].f = Ziji[Zijinum].ɫ.Ƕ
if ر ~= true then 
(3)
(3,bombbit[3],{x=0,y=0,w=48,h=48},Ziji[Zijinum].x,Ziji[Zijinum].y,24,24,1,1,40,0,0,0,0,_ƹ,{zx=1,zy=1},{zx=1,zy=1},255,0,255,255,255)
end
end
end
if Ziji[Zijinum].ch == 1 then --ħɳ
if BOMB == 1 then --
if ر ~= true then 
(3)
(3,bombbit[6],{x=0,y=0,w=9,h=9},Ziji[Zijinum].x,Ziji[Zijinum].y-15,5,5,1,1,40,:ȡ(0,360),360,3,-0.02,_ƹ,{zx=:ȡС(0.5,1),zy=:ȡС(0.5,1)},{zx=2,zy=2},255,0,255,255,255)
end
ֹ = true
bombsprite[0] = nil
bombsprite[0] = {s=D2D_.(bombbit[4],0,0,200,200),zx=1,zy=0}
bombsprite[0].s:ĵ(104,200)
bombsprite[0].s:ûģʽ(1)
bombsprite[1] = nil
bombsprite[1] = {s=D2D_.(bombbit[5],0,0,174,58),op=0}
bombsprite[1].s:ĵ(86,39)
bombsprite[1].s:ûģʽ(1)
for i=2,7 do 
bombsprite[i] = nil 
bombsprite[i] = {s=D2D_.(bombbit[7],0,0,48,128),y=Ziji[Zijinum].y+(i-2)*128,op=0}
bombsprite[i].s:ĵ(24,128)
bombsprite[i].s:ûģʽ(1)
end
elseif BOMB == 2 then --
bombƱ[0] = Ziji[Zijinum].x
bombƱ[1] = Ziji[Zijinum].y
bombƱ[2] = 400
bombsprite[0] = {s=D2D_.(bombbit[8],0,0,32,32),j=72,x,y,op=0}
bombsprite[0].s:ɫ(ARGB(255,255,255,255))
bombsprite[1] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*2,x,y,op=0}
bombsprite[1].s:ɫ(ARGB(255,255,155,205))
bombsprite[2] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*3,x,y,op=0}
bombsprite[2].s:ɫ(ARGB(255,172,255,255))
bombsprite[3] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*4,x,y,op=0}
bombsprite[3].s:ɫ(ARGB(255,164,255,164))
bombsprite[4] = {s=D2D_.(bombbit[8],0,0,32,32),j=72*5,x,y,op=0}
bombsprite[4].s:ɫ(ARGB(255,255,172,132))
for i=0,4 do
bombsprite[i].s:ĵ(16,16)
bombsprite[i].s:ûģʽ(1)
end
bombsprite[5] = {s=D2D_.(bombbit[9],0,0,100,100),zx=0,zy=0,op=0}
bombsprite[5].s:ûģʽ(1)
bombsprite[5].s:ĵ(50,50)
for i=0,4 do 
bombsprite[i].x = bombƱ[0] + bombƱ[2] * math.cos(Ƕto(bombsprite[i].j))
bombsprite[i].y = bombƱ[1] + bombƱ[2] * math.sin(Ƕto(bombsprite[i].j))
if ر ~= true then
(i+3)
(i+3,bombbit[8],{x=0,y=0,w=32,h=32},bombsprite[i].x,bombsprite[i].y,16,16,1,1,28,:ȡ(0,360),360,0.5,0,_ƹ,{zx=:ȡС(0.5,1),zy=:ȡС(0.5,1)},{zx=1,zy=1},255,0,255,255,255)
end
end
end
end
if Ziji[Zijinum].ch == 2 then --
if BOMB == 1 then --
ֹƶ = true
ֹ = true
for i=1,5 do 
bombsprite[i] = {s=D2D_.(MZ[i],0,0,120,120),zx=1,zy=1,op=0}
bombsprite[i].s:ĵ(60,61)
bombsprite[i].s:ûģʽ(1)
end
for i=6,10 do 
bombsprite[i] = {s=D2D_.(MZ[i-5],0,0,120,120),zx=1,zy=1,op=0}
bombsprite[i].s:ĵ(60,61)
bombsprite[i].s:ûģʽ(1)
end
bombsprite[11] = {s=D2D_.(MZ[6],0,0,120,120),zx=0,zy=0,op=0}
bombsprite[11].s:ĵ(60,60)
bombsprite[11].s:ûģʽ(1)
end
end
if Ziji[Zijinum].ch == 3 then --¶ŵ
if BOMB == 1 then --
bombƱ[0] = Ziji[Zijinum].x 
bombƱ[1] = Ziji[Zijinum].y 
bombsprite[0] = {s=D2D_.(ICE,162,161,94,95),op=0}
bombsprite[0].s:ĵ(94/2,95/2)
bombsprite[0].s:ûģʽ(1)
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i]. ~= true then
if (Ziji[Zijinum].x -djzd[i].x)^2 + (Ziji[Zijinum].y -djzd[i].y)^2 <= 45^2 then
SE[21]:_߼(5,false)
djzd[i]. = true
end
end
end
end
end
else
SE[5]:_߼(20,false)
end
end
function Bombˢ()
if BOMBʱ == true then
bombtime = bombtime + 1
if Ziji[Zijinum].ch == 0 then
if BOMB == 1 then 
bombƱ[2] = bombƱ[2] + 5
bombƱ[3] = bombƱ[3] + 5
if bombƱ[3] >= 360 then
bombƱ[3] = 0
end
if bombƱ[2] >= 80 then
bombƱ[2] = 80
end
local x = bombƱ[0]
local y = bombƱ[1]
ı(3,x+bombƱ[2] * math.cos(Ƕto(bombƱ[3])),y+bombƱ[2] * math.sin(Ƕto(bombƱ[3])))
ı(4,x+bombƱ[2] * math.cos(Ƕto(bombƱ[3]+120)),y+bombƱ[2] * math.sin(Ƕto(bombƱ[3]+120)))
ı(5,x+bombƱ[2] * math.cos(Ƕto(bombƱ[3]+240)),y+bombƱ[2] * math.sin(Ƕto(bombƱ[3]+240)))
for i=1,2000 do 
if djzd[i] ~= nil then
if (bomb.x -djzd[i].x)^2 + (bomb.y -djzd[i].y)^2 <= (bombƱ[2]+20)^2 and djzd[i].~=false and djzd[i].ȥж ~= true then
djzd[i]. = true
end
end
end
if bombtime == 120 then
if BOMB == 1 then
SE[1]:_߼(40,false)
ֹͣ(3)
ֹͣ(4)
ֹͣ(5)
BOMBʱ = false
ֹ = false
bombtime = 0
end
end
elseif BOMB == 2 then
if bombtime <= 20 then
bombsprite[0].zx = bombsprite[0].zx + 0.05
bombsprite[0].zy = bombsprite[0].zy + 0.05
end
bombƱ[0] = bombƱ[0] + 10
if bombsprite[0].zx >= 1 then
bombsprite[0].zx = 1
bombsprite[0].zy = 1
bombtime = bombtime + 1
end
if bombsprite[0].zx <= 0 then
bombsprite[0].zx = 0
bombsprite[0].zy = 0
end
if bombtime > 20 then
bombsprite[0].v = bombsprite[0].v + bombsprite[0].a
bombsprite[0].x = bombsprite[0].x + bombsprite[0].v * math.cos(Ƕto(bombsprite[0].f))
bombsprite[0].y = bombsprite[0].y + bombsprite[0].v * math.sin(Ƕto(bombsprite[0].f))
if (bombsprite[0].x > 660 or bombsprite[0].x < -20) or (bombsprite[0].y > 500 or bombsprite[0].y < -20) or bombsprite[0].zx <= 0 then
ֹͣ(3)
BOMBʱ = false
ֹ = false
bombtime = 0
end
end
for i=1,2000 do 
if djzd[i] ~= nil and djzd[i]. ~= true then
if (bombsprite[0].x -djzd[i].x)^2 + (bombsprite[0].y -djzd[i].y)^2 <= (48)^2 and djzd[i].~=false and djzd[i]. ~= true  and djzd[i].ȥж ~= true then
bombsprite[0].zx = bombsprite[0].zx - 0.005
bombsprite[0].zy = bombsprite[0].zy - 0.005
djzd[i]. = true
end
end
end
if (bombsprite[0].x -BSprites[1].x)^2 + (bombsprite[0].y -BSprites[1].y)^2 <= (48)^2  then
bombsprite[0].v = 1
SE[4]:_߼(16,false)
if bombtime % 2 == 0 then
BOSS.Ѫ = BOSS.Ѫ - Ziji[Zijinum].ɫ.˺ * 2
bombsprite[0].zx = bombsprite[0].zx - 0.015
bombsprite[0].zy = bombsprite[0].zy - 0.015
end
end
if ֡ ~= true then
bombsprite[0].s:ʾ_߼(bombsprite[0].x,bombsprite[0].y,Ƕto(bombƱ[0]),bombsprite[0].zx,bombsprite[0].zy)
end
ı(3,bombsprite[0].x,bombsprite[0].y)
ıת(3,Ƕto(bombƱ[0]))
end
end
if Ziji[Zijinum].ch == 1 then
if BOMB == 1 then
for i=2,7 do 
if bombtime <= 160 and Ի ~= true then
if bombsprite[i].y >= Ziji[Zijinum].y then
bombsprite[i].op = 0
else
bombsprite[i].op = bombsprite[i].op + 20
if bombsprite[i].op >= 255 then
bombsprite[i].op = 255
end
end
else
bombsprite[i].op = bombsprite[i].op - 30
if bombsprite[i].op <= 0 then
bombsprite[i].op = 0
end
end
if ֡ ~= true then
bombsprite[i].s:ɫ(ARGB(bombsprite[i].op,255,255,255))
bombsprite[i].s:ʾ_߼(Ziji[Zijinum].x,bombsprite[i].y,0,1.1,1)
end
bombsprite[i].y = bombsprite[i].y - 5
if bombsprite[i].y <= 0 then
bombsprite[i].y = Ziji[Zijinum].y
end
end
ı(3,Ziji[Zijinum].x,Ziji[Zijinum].y-15)
Ziji[Zijinum].ɫ.ƶٶȱ = 0.5
if bombtime <= 160 and Ի ~= true then
bombsprite[0].zy = bombsprite[0].zy + 0.2
if bombsprite[0].zy >= 5 then
bombsprite[0].zy = 5
end
bombsprite[1].op = bombsprite[1].op + 40
if bombsprite[1].op >= 255 then
bombsprite[1].op = 255
end
end
if bombtime >= 160 or Ի == true then
bombsprite[1].op = bombsprite[1].op - 30
if bombsprite[1].op <= 0 then
bombsprite[1].op = 0
end
bombsprite[0].zx = bombsprite[0].zx - 0.06
if bombsprite[0].zx <= 0 then
bombsprite[0].zx = 0
end
else
for i=1,2000 do 
if djzd[i] ~= nil and djzd[i].ȥж ~= true then
if math.abs(djzd[i].x - Ziji[Zijinum].x*bombsprite[0].zx)  <= 22 and djzd[i].y - Ziji[Zijinum].y <= -20 then
djzd[i]. = true
end
end
end
end
if bombsprite[0].zx <= 0 then
Ziji[Zijinum].ɫ.ƶٶȱ = 1
ֹͣ(3)
bombsprite[0].zx = 0
ֹ = false
BOMBʱ = false
bombtime = 0
end
if ֡ ~= true then
bombsprite[1].s:ɫ(ARGB(bombsprite[1].op,255,255,255))
bombsprite[1].s:ʾ(Ziji[Zijinum].x,Ziji[Zijinum].y-15)
bombsprite[0].s:ʾ_߼(Ziji[Zijinum].x,Ziji[Zijinum].y-8,0,bombsprite[0].zx,bombsprite[0].zy)
end
elseif BOMB == 2 then
bombƱ[2] = bombƱ[2] - 5
if bombƱ[2] > 0 then
for i=0,4 do 
bombsprite[i].x = bombƱ[0] + bombƱ[2] * math.cos(Ƕto(bombsprite[i].j))
bombsprite[i].y = bombƱ[1] + bombƱ[2] * math.sin(Ƕto(bombsprite[i].j))
if ر ~= true then
ı(i+3,bombsprite[i].x,bombsprite[i].y)
end
bombsprite[i].j = bombsprite[i].j + 5
bombsprite[i].s:ʾ_߼(bombsprite[i].x,bombsprite[i].y,Ƕto(bombsprite[i].j),1,1)
for s=1,2000 do 
if djzd[s] ~= nil then
if math.abs(djzd[s].x - bombsprite[i].x)  <= 10 and math.abs(djzd[s].y - bombsprite[i].y) <= 10 
 and djzd[s].ȥж ~= true then
djzd[s]. = true
end
end
end
end
end
if bombƱ[2] == 0 then
for i=0,4 do
ֹͣ(i+3)
end
end
if bombtime == 80 then
bombsprite[5].op = 255
if math.abs(bombƱ[0] - BSprites[1].x) <= 125 and math.abs(bombƱ[1] - BSprites[1].y) <= 125 then
BOSS.Ѫ = BOSS.Ѫ - Ziji[Zijinum].ɫ.˺ * 50
end
end
if ֡ ~= true then
bombsprite[5].s:ɫ(ARGB(bombsprite[5].op,255,255,255))
bombsprite[5].s:ʾ_߼(bombƱ[0],bombƱ[1],0,bombsprite[5].zx,bombsprite[5].zy)
end
if bombtime > 80 then
bombsprite[5].op = bombsprite[5].op - 8
bombsprite[5].zx = bombsprite[5].zx + 0.1
bombsprite[5].zy = bombsprite[5].zy + 0.1
if bombsprite[5].op <= 0 then
BOMBʱ = false
bombtime = 0
end
end
end
end
if Ziji[Zijinum].ch == 2 then
if BOMB == 1 then 
if bombtime == 1 then
SE[16]:_߼(20,false)
bombsprite[1].op = 255
bombsprite[2].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true 
djzd[i].a = -0.04
end
end
elseif bombtime == 20 then
SE[16]:_߼(22,false)
bombsprite[3].op = 255
bombsprite[4].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true 
djzd[i].a = -0.04
end
end
elseif bombtime == 40 then
SE[16]:_߼(24,false)
bombsprite[5].op = 255
bombsprite[6].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true 
djzd[i].a = -0.04
end
end
elseif bombtime == 60 then
SE[16]:_߼(26,false)
bombsprite[7].op = 255
bombsprite[8].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true 
djzd[i].a = -0.04
end
end
elseif bombtime == 80 then
SE[16]:_߼(30,false)
SE[1]:_߼(40,false)
bombsprite[9].op = 255
bombsprite[10].op = 255
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. ~= true and djzd[i].ȥж ~= true then
djzd[i].ȥж = true 
djzd[i].a = -0.04
end
end
end
if bombtime >= 1 and bombtime <= 20 then
bombsprite[2].op = bombsprite[2].op - 12.75
bombsprite[2].zx = bombsprite[2].zx + 0.04
bombsprite[2].zy = bombsprite[2].zy + 0.04
elseif bombtime >= 20 and bombtime <= 40 then
bombsprite[4].op = bombsprite[4].op - 12.75
bombsprite[4].zx = bombsprite[4].zx + 0.04
bombsprite[4].zy = bombsprite[4].zy + 0.04
elseif bombtime >= 40 and bombtime <= 60 then
bombsprite[6].op = bombsprite[6].op - 12.75
bombsprite[6].zx = bombsprite[6].zx + 0.04
bombsprite[6].zy = bombsprite[6].zy + 0.04
elseif bombtime >= 60 and bombtime <= 80 then
bombsprite[8].op = bombsprite[8].op - 12.75
bombsprite[8].zx = bombsprite[8].zx + 0.04
bombsprite[8].zy = bombsprite[8].zy + 0.04
elseif bombtime >=80 and bombtime <= 380 then
bombsprite[1].op = bombsprite[1].op - 300/255
bombsprite[3].op = bombsprite[3].op - 300/255
bombsprite[5].op = bombsprite[5].op - 300/255
bombsprite[7].op = bombsprite[7].op - 300/255
bombsprite[9].op = bombsprite[9].op - 300/255
for i=1,10 do 
if bombsprite[i].op <= 0 then
bombsprite[i].op = 0
ֹƶ = false
ֹ = false
end
end
bombsprite[10].op = bombsprite[10].op - 12.75
bombsprite[10].zx = bombsprite[10].zx + 0.08
bombsprite[10].zy = bombsprite[10].zy + 0.08
if bombsprite[10].op <= 0 then
bombsprite[10].op = 0
end
bombsprite[11].op = bombsprite[11].op + 20
bombsprite[11].zx = bombsprite[11].zx + 0.6
bombsprite[11].zy = bombsprite[11].zy + 0.6
if bombsprite[11].op >= 255 then
bombsprite[11].op = 255
end
if bombsprite[11].zx >= 20 then
bombsprite[11].zx = 20
bombsprite[11].zy = 20
end
end
if bombtime == 380 or Ի == true then
BOMBʱ = false
bombtime = 0
end
for i=1,11 do
if ֡ ~= true then
bombsprite[i].s:ɫ(ARGB(bombsprite[i].op,255,255,255))
bombsprite[i].s:ʾ_߼(Ziji[Zijinum].x,Ziji[Zijinum].y,0,bombsprite[i].zx,bombsprite[i].zy)
end
end
end
end
if Ziji[Zijinum].ch == 3 then
if BOMB == 1 then 
if bombtime <= 200 then
Ů = true 
end
if bombtime == 200 then
SE[1]:_߼(40,false)
 = false
BOMBʱ = false
ֹ = false
Ů = false
bombtime = 0
end
end
end
end
end
qwt = 0 
function Ի()
Իˢ()
Աˢ()
ԱBombˢ()
qwt = qwt + 1
if qwt > 2 then
qwt = 1
end
for i=1,4 do 
if i ~= Zijinum and Ziji[i] ~= nil and Dong[i] ~= nil then
    Dong[i].time = Dong[i].time + 1
  if Dong[i].time == 5 then
    Dong[i].time = 0
    Dong[i].bit = Dong[i].bit + 1
  end
  if Dong[i].bit > 7 then
  if ɫת[i] ~= 0 then
    Dong[i].bit = 4
  else
    Dong[i].bit = 0
  end
  end
  if qwt == 2 then
  ɫת[i] = 0
  if ȡ(¼λx[i] - Ziji[i].x) > 0  then
  ɫת[i] = 1
  ¼λx[i] = Ziji[i].x 
  --Dong[i].bit = 1
  end
  if ȡ(¼λx[i] - Ziji[i].x) < 0 then
  ɫת[i] = 2
  ¼λx[i] = Ziji[i].x 
  --Dong[i].bit = 1
  end
  end
 if Ziji[i].x < 5 then
 Ziji[i].x = 5
 elseif Ziji[i].x > 635 then
 Ziji[i].x = 635
 end
 if Ziji[i].y < 40 then
 Ziji[i].y = 40
 elseif Ziji[i].y > 448 then
 Ziji[i].y = 448
 end
  if Ziji[i].ڷ == true then
  Աʶ[i].op = Աʶ[i].op + 50
  if Աʶ[i].op >= 255 then
  Աʶ[i].op = 255
  end
  Ziji[i].ڷ = false
  end
  Աʶ[i].f = Աʶ[i].f + 30
  if Աʶ[i].f >= 360 then
  Աʶ[i].f = 0
  end
  Աʶ[i].op = Աʶ[i].op - 20
  if Աʶ[i].op <= 0 then
  Աʶ[i].op = 0
  end
  local name = Ziji[i].ɫ..s:ȡ(Ziji[i].ɫ..n)
  if ֡ ~= true then
  if Ziji[i].y >= 428 then
  Ziji[i].ɫ..ys:ʾ(Ziji[i].x-name/2+3,Ziji[i].y-36,Ziji[i].ɫ..n)
  Ziji[i].ɫ..s:ʾ(Ziji[i].x-name/2+2,Ziji[i].y-37,Ziji[i].ɫ..n)
  else
  Ziji[i].ɫ..ys:ʾ(Ziji[i].x-name/2+3,Ziji[i].y+25,Ziji[i].ɫ..n)
  Ziji[i].ɫ..s:ʾ(Ziji[i].x-name/2+2,Ziji[i].y+24,Ziji[i].ɫ..n)
  end
  end
  if ֡ ~= true then
  Ziji[i].ͼ:ʾ(Dong[i].bit*32,ɫת[i]*48,32,48)
  Ziji[i].ͼ:ʾ(Ziji[i].x,Ziji[i].y)
  Աʶ[i].s:ɫ(ARGB(Աʶ[i].op,255,255,255))
  Աʶ[i].s:ʾ_߼(Ziji[i].x+20*math.cos(Ƕto(Ziji[i].ɫ.Ƕ)),Ziji[i].y+20*math.sin(Ƕto(Ziji[i].ɫ.Ƕ)),Ƕto(Աʶ[i].f),1.1,1.1)
  end
end
end
local i=Zijinum
if  == true then
MSprites[1].opacity = 0
MSprites[2].opacity = 0
MSprites[2].zoom_x = 0
MSprites[2].zoom_y = 0
end
 if  Ziji[i] ~= nil and Dong[i] ~= nil and  ֹͣˢԻ ~= true then
  Bombˢ()
  Dong[i].time = Dong[i].time + 1
  if Dong[i].time == 5 then
    Dong[i].time = 0
    Dong[i].bit = Dong[i].bit + 1
  end
  if Dong[i].bit > 7 then
  if ɫת[Zijinum] ~= 0 then
    Dong[i].bit = 4
  else
    Dong[i].bit = 0
  end
  end
 ɫת[i] = 0
if ֡ ~= true then
if :ȡ(37) and CHATINPUT ~= true then
  Dong[i].bit = 1
end
if :ȡ(39) and CHATINPUT ~= true then
  Dong[i].bit = 1
end
if ֹƶ ~= true then
 if :ȡ¼(16)  and CHATINPUT ~= true then -- SHIFT
 if :ȡ¼(37)  and CHATINPUT ~= true then -- LEFT
 ɫת[Zijinum] = 1
 Ziji[Zijinum].x = Ziji[Zijinum].x - ȡ(Ziji[Zijinum].ɫ. * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 if :ȡ¼(38)  and CHATINPUT ~= true then -- UP
 Ziji[Zijinum].y = Ziji[Zijinum].y - ȡ(Ziji[Zijinum].ɫ. * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 if :ȡ¼(39)  and CHATINPUT ~= true then -- RIGHT
 ɫת[Zijinum] = 2
 Ziji[Zijinum].x = Ziji[Zijinum].x + ȡ(Ziji[Zijinum].ɫ. * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 if :ȡ¼(40) and CHATINPUT ~= true then -- DOWN
 Ziji[Zijinum].y = Ziji[Zijinum].y + ȡ(Ziji[Zijinum].ɫ. * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 else
 if :ȡ¼(37) and CHATINPUT ~= true then -- LEFT
 ɫת[Zijinum] = 1
 Ziji[Zijinum].x = Ziji[Zijinum].x - ȡ(Ziji[Zijinum].ɫ.ƶٶ * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 if :ȡ¼(38) and CHATINPUT ~= true then -- UP
 Ziji[Zijinum].y = Ziji[Zijinum].y - ȡ(Ziji[Zijinum].ɫ.ƶٶ * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 if :ȡ¼(39) and CHATINPUT ~= true then -- RIGHT
 ɫת[Zijinum] = 2
 Ziji[Zijinum].x = Ziji[Zijinum].x + ȡ(Ziji[Zijinum].ɫ.ƶٶ * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 if :ȡ¼(40) and CHATINPUT ~= true then -- DOWN
 Ziji[Zijinum].y = Ziji[Zijinum].y + ȡ(Ziji[Zijinum].ɫ.ƶٶ * Ziji[Zijinum].ɫ.ƶٶȱ)
 end
 end
end
 if Ziji[Zijinum].x < 5 then
 Ziji[Zijinum].x = 5
 elseif Ziji[Zijinum].x > 635 then
 Ziji[Zijinum].x = 635
 end
 if Ziji[Zijinum].y < 40 then
 Ziji[Zijinum].y = 40
 elseif Ziji[Zijinum].y > 448 then
 Ziji[Zijinum].y = 448
 end
 if :ȡ(16) and CHATINPUT ~= true then
  MagicSpriteƶ(2,5,Ziji[Zijinum].x,Ziji[Zijinum].y,1,1,0,0)
  MagicSprite(1,10,255)
  MagicSprite(2,10,255)
end
if :ȡ¼(16) or жʾ == true then
  for i=1,2 do 
  MSprites[i].x = Ziji[Zijinum].x
  MSprites[i].y = Ziji[Zijinum].y
  end
  MSprites[2].angle = MSprites[2].angle + Ƕto(2)
else
  MSprites[1].opacity = 0
  MSprites[2].opacity = 0
  MSprites[2].zoom_x = 2
  MSprites[2].zoom_y = 2
end
if :ȡ¼(90) and ֹ ~= true  and CHATINPUT ~= true then   -- Z ӵ
  zda = zda + 1
  if zda == 4 then
  SE[4]:_߼(6,false)
  Իӵ(Zijinum)
  zda = 0
  end
end
  if :ȡ(88) and BOMBʱ ~= true and DECISIONOPEN == true and Ի ~= true  and CHATINPUT ~= true then  -- X 
  Bomb(Ziji[Zijinum].ɫ.[jnlxx])
  if Zijinum == 1 then
  for q = 2,4 do
  if Ա.[q] ~= nil then
  Fasong("I04"..tostring(Zijinum)..tostring(Ziji[Zijinum].ch)..tostring(Ziji[Zijinum].ɫ.[jnlxx]),Ա.[q])
  end
  end
  else
  Fasong("I04"..tostring(Zijinum)..tostring(Ziji[Zijinum].ch)..tostring(Ziji[Zijinum].ɫ.[jnlxx]))
  end
  end
end
  if Ի == true then --е޵ʱ
  deathtime[Zijinum] = deathtime[Zijinum] + 1
  if deathtime[Zijinum] == 10 then
   = false
  end
  if deathtime[Zijinum] == 40 then
  for i=1,16 do
  ParSprite(i)
  end
  end
  if deathtime[Zijinum] == 60 and  ~= true then
  ֹ = false
  ֹƶ = false
  жʾ = false
  end
  if deathtime[Zijinum] == 60 and  == true then
  ʾ("")
  ֹͣˢԻ = true 
  end
  if deathtime[Zijinum] > 60 and deathtime[Zijinum] < 180 and  ~= true then
  wuditime[Zijinum] = wuditime[Zijinum] + 1
  if wuditime[Zijinum] == 4 then
  Ziji[Zijinum].ͼ:ɫ(ARGB(150,255,255,255))
  end
  if wuditime[Zijinum] == 8 then
  Ziji[Zijinum].ͼ:ɫ(ARGB(0,255,255,255))
  wuditime[Zijinum] = 0
  end
  elseif deathtime[Zijinum] == 180 and  ~= true then
  Ziji[Zijinum].ͼ:ɫ(ARGB(255,255,255,255))
  Ի = false
  end
  end
  local name = Ziji[i].ɫ..s:ȡ(Ziji[i].ɫ..n)
  if ֡ ~= true then
  if Ziji[i].y >= 428 then
  Ziji[i].ɫ..ys:ʾ(Ziji[i].x-name/2+3,Ziji[i].y-36,Ziji[i].ɫ..n)
  Ziji[i].ɫ..s:ʾ(Ziji[i].x-name/2+2,Ziji[i].y-37,Ziji[i].ɫ..n)
  else
  Ziji[i].ɫ..ys:ʾ(Ziji[i].x-name/2+3,Ziji[i].y+25,Ziji[i].ɫ..n)
  Ziji[i].ɫ..s:ʾ(Ziji[i].x-name/2+2,Ziji[i].y+24,Ziji[i].ɫ..n)
  end
  Ziji[i].ͼ:ʾ(Dong[i].bit*32,ɫת[i]*48,32,48)
  Ziji[i].ͼ:ʾ(Ziji[i].x,Ziji[i].y)
  end
end
end        ???Hno        h                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                --  BOSS
--===============================================================================
ڿ = 1
time = 0
readytime = 0 
readytime2 = 0 
жС = {}
 = { = false,}
ֹͣʱ = true 
BOSS = {,жΧ,ײ,Ѫ,Ѫ,ʾѪ,,ʱ,ȫѪ}
function boss()
  if  == 1 then
  BOSS. = 1
  BOSS.жΧ = {w=60,h=80}
  BOSS.ײ = {w=32/2,h=20}
  BOSS.Ѫ = 50000
  BOSS.ʾѪ = 50000
  BOSS.Ѫ = 50000
  BOSS. = 1
  BOSS.ȫѪ = 1
  Bossprite(1)
  Bossprite(1,BOSS̬[1],66/2,81/2,320,123,1,1,0,3,0,0)
  bossbjx = 320 --׼
  bossbjy = 133
  Bosspriteþ(1,1,1,66,81)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1,BOSS̬[1],{x=1,y=1,w=66,h=81},BSprites[1].x,BSprites[1].y,66/2,81/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  ۺ(2,BOSS,{x=0,y=0,w=20,h=20},BSprites[1].x,BSprites[1].y+10,10,10,52,1,1,60,1,0,_BrightAdd,{zx=3,zy=3},{zx=0.5,zy=0.5},0,200,255,255,255,1)
  end
  bossħ󴴽(BSprites[1].x,BSprites[1].y)
  -----------------------------------------------BOSSѪ
  Sprite(10,bossxt[1],0,0,8,35,1.8,1,255,3,0,0)
  Sprite(11,bossxt[2],0,0,8,35,1.8,1,255,3,0,0)
  Sprite(10,20,255)
  Sprite(11,30,255)
  Sprite(12,"",0,0,8,40,0,0,0,3,0,0)
  Sprite(12,40,255)
  BOSCENEOPEN = true
  if BOSS. < 11 then 
  ׼ = true
  BOSS = true
  end
  elseif  == 2 then
  BOSS.жΧ = {w=45,h=75}
  BOSS.ײ = {w=32/2,h=18}
  BOSS.Ѫ = 35000
  BOSS.ʾѪ = 35000
  BOSS.Ѫ = 35000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[2],50/2,80/2,xx,xy,1,1,0,3,0,0)
  :ͼƬ(BOSS̬[1])
  Bosspriteþ(1,0,0,50,80)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[2],{x=0,y=0,w=50,h=80},BSprites[1].x,BSprites[1].y,50/2,80/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end
  elseif  == 3 then
  UUS = nil
  :ͼƬ(UUZSZ)
  BOSS.жΧ = {w=50,h=60}
  BOSS.ײ = {w=45/2,h=35/2}
  BOSS.Ѫ = 70000
  BOSS.ʾѪ = 70000
  BOSS.Ѫ = 70000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[3],53/2,64/2,xx,xy,1,1,0,3,0,0)
  :ͼƬ(BOSS̬[2])
  Bosspriteþ(1,7,0,53,64)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[3],{x=7,y=0,w=53,h=64},BSprites[1].x,BSprites[1].y,53/2,64/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end
  elseif  == 4 then
  BOSS.жΧ = {w=70,h=75}
  BOSS.ײ = {w=30/2,h=35/2}
  BOSS.Ѫ = 50000
  BOSS.ʾѪ = 50000
  BOSS.Ѫ = 50000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[4],75/2,80/2,xx,xy,1,1,0,3,0,0)
  :ͼƬ(BOSS̬[3])
  Bosspriteþ(1,3,1,78,81)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[4],{x=3,y=1,w=78,h=81},BSprites[1].x,BSprites[1].y,75/2,80/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end  
  elseif  == 5 then
  BOSS.жΧ = {w=50,h=70}
  BOSS.ײ = {w=25/2,h=45/2}
  BOSS.Ѫ = 45000
  BOSS.ʾѪ = 45000
  BOSS.Ѫ = 45000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[5],53/2,74/2,xx,xy,1,1,0,3,0,0)
  :ͼƬ(BOSS̬[4])
  Bosspriteþ(1,5,6,53,74)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[5],{x=5,y=6,w=53,h=74},BSprites[1].x,BSprites[1].y,53/2,74/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end  
  elseif  == 6 then
  :ͼƬ(SJSPP)
  BOSS.жΧ = {w=0,h=0}
  BOSS.ײ = {w=0,h=0}
  BOSS.Ѫ = 45000
  BOSS.ʾѪ = 45000
  BOSS.Ѫ = 45000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1,"",0,0,xx,xy,1,1,0,3,0,0)
  Bosspriteƶ(1,10,320,-90,1,1,1,0)
  if ر ~= true then
  (1)
  end
  elseif  == 7 then
  :ͼƬ(WHTSX)
  BOSS.жΧ = {w=48,h=60}
  BOSS.ײ = {w=25/2,h=42/2}
  BOSS.Ѫ = 45000
  BOSS.Ѫ = 45000
  BOSS.ʾѪ = 45000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[6],50/2,62/2,xx,xy,1,1,0,3,0,0)
  Bosspriteþ(1,11,1,50,62)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[6],{x=11,y=1,w=50,h=62},BSprites[1].x,BSprites[1].y,50/2,62/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end  
  elseif  == 8 then
  :ͼƬ(WWFMJ)
  BOSS.жΧ = {w=40,h=70}
  BOSS.ײ = {w=25/2,h=65/2}
  BOSS.Ѫ = 50000
  BOSS.Ѫ = 50000
  BOSS.ʾѪ = 50000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[7],44/2+8,77/2,xx,xy,1,1,0,3,0,0)
  :ͼƬ(BOSS̬[6])
  Bosspriteþ(1,2,0,44,77)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[7],{x=2,y=0,w=44,h=77},BSprites[1].x,BSprites[1].y,44/2+8,77/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end
  elseif  == 9 then
  --:ͼƬ(FXTYS)
  BOSS.жΧ = {w=30,h=60}
  BOSS.ײ = {w=25/2,h=55/2}
  BOSS.Ѫ = 40000
  BOSS.Ѫ = 40000
  BOSS.ʾѪ = 40000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[8],21/2,62/2,xx,xy,1,1,0,3,0,0)
  --:ͼƬ(BOSS̬[7])
  Bosspriteþ(1,10,2,31,62)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[8],{x=10,y=2,w=31,h=62},BSprites[1].x,BSprites[1].y,21/2,62/2,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end  
  elseif  == 10 then
  BOSS.жΧ = {w=80,h=100}
  BOSS.ײ = {w=40/2,h=67/2}
  BOSS.Ѫ = 50000
  BOSS.Ѫ = 50000
  BOSS.ʾѪ = 50000
  BOSS. = 1
  BOSS.ȫѪ = 1
  local xx = BSprites[1].x
  local xy = BSprites[1].y
  Bossprite(1)
  Bossprite(1,BOSS̬[9],40,48,xx,xy,1,1,0,3,0,0)
  :ͼƬ(BOSS̬[8])
  Bosspriteþ(1,8,3,83,106)
  Bossprite(1,10,255)
  Bosspriteƶ(1,20,320,123,1,1,1,0)
  BOSS = 0
  if ر ~= true then
  (1)
  (1,BOSS̬[9],{x=8,y=3,w=83,h=106},BSprites[1].x,BSprites[1].y,40,48,1,8,50,90,22,0.1,0.02,_ƹ,{zx=0.9,zy=0.9},{zx=0.9,zy=0.9},255,0,255,255,255)
  end  
  end
end 
function boss()
bossȫˢ()
if boss ~= true then
bossĻ׼()
boss()
boss׼()
bossĻˢ()
bossʱˢ()
if DECISIONOPEN == true then
if BOSSЧ == true then
bossˢ()
end
end
end
end
function bossħ󴴽(x,y)
magicz = {s=D2D_.(BOSSħ,0,0,216,216),x=x,y=y,zx=0,zy=0,zv=0,za=0.0001,j=0,xv=Ƕto(0.01),xa = Ƕto(0.05),op=0}
magicz.s:ĵ(216/2,216/2)
magicz.s:ûģʽ(_ƹ)
end
function boss⻷()
magicg = {s=D2D_.(fkfdbit[0],0,0,200,200),x=BSprites[1].x,y=BSprites[1].y,zx=0,zy=0,zv=0,za=0.0002,j=0,xv=Ƕto(0.01),xa = Ƕto(0.05),op=0}
magicg.s:ĵ(100,100)
magicg.s:ûģʽ(_ƹ)
magicg2 = {s=D2D_.(fkfdbit[0],0,0,200,200),x=BSprites[1].x,y=BSprites[1].y,zx=0,zy=0,zv=0,za=0.0001,j=0,xv=Ƕto(0.01),xa = Ƕto(0.05),op=0}
magicg2.s:ĵ(100,100)
magicg2.s:ûģʽ(_ƹ)
end
function boss⻷()
if magicg ~= nil and magicg2 ~= nil then
magicg.s:()
magicg2.s:()
magicg = nil
magicg2 = nil
end
end
function boss()
if BOSCENEOPEN == true then
if ر ~= true then
ı(1,BSprites[1].x,BSprites[1].y)
ı(2,BSprites[1].x,BSprites[1].y+10)
if bossbjx ~= BSprites[1].x then
bssx = BSprites[1].x - bossbjx
bossbjx = BSprites[1].x
else
bssx = 0
end
if bossbjy ~= BSprites[1].y+10 then
bssy = BSprites[1].y+10 - bossbjy
bossbjy = BSprites[1].y+10
else
bssy = 0
end
for i=1,table.getn() do 
for s=1,200 do  --ˢ
if [[i]].[s] ~= nil and [[i]].[s]. == 1 then
if bssx ~= nil then 
[[i]].[s].x = [[i]].[s].x + bssx
end
if bssy ~= nil then 
[[i]].[s].y = [[i]].[s].y + bssy
end
end
end
end
end
if magicz ~= nil then
  if ֡ ~= true then
  magicz.s:ɫ(ARGB(magicz.op,247,237,255))
  magicz.s:ʾ_߼(magicz.x,magicz.y,magicz.j,magicz.zx,magicz.zy)
  end
  magicz.x = BSprites[1].x
  magicz.y = BSprites[1].y
  magicz.j = magicz.j + magicz.xv
  magicz.xv = magicz.xv + magicz.xa
  magicz.zv = magicz.zv + magicz.za
  magicz.zx = magicz.zx + magicz.zv
  magicz.zy = magicz.zy + magicz.zv
  if magicz.xv > Ƕto(6) then
  magicz.xa = 0
  end
  if magicz.zx < 0.3 then
  magicz.zv = 0.01
  end
  if magicz.zx == 0.3 then
  magicz.za = 0.0001
  end
  if magicz.zx > 0.3 then
  magicz.za = -0.00008
  end
  magicz.op = magicz.op + magicz.zv*250
  if magicz.op >= 200 then
  magicz.op = 200
  end
  if magicz.op <= 0 then
  magicz.op = 0
  end
end
if magicg ~= nil then
  if ֡ ~= true then
  magicg.s:ɫ(ARGB(magicg.op,247,248,255))
  magicg.s:ʾ_߼(magicg.x,magicg.y,magicg.j,magicg.zx,magicg.zy)
  end
  magicg.x = BSprites[1].x
  magicg.y = BSprites[1].y
  magicg.j = magicg.j - magicg.xv
  if magicg.j <= 0 then
  magicg.j = 360
  end
  magicg.xv = magicg.xv + magicg.xa
  if magicg.xv > Ƕto(4) then
  magicg.xa = 0
  end
  magicg.zv = magicg.zv + magicg.za
  magicg.zx = magicg.zx + magicg.zv
  magicg.zy = magicg.zy + magicg.zv
  if magicg.zx < 1 then
  magicg.zv = 0.01
  end
  if magicg.zx == 1 then
  magicg.za = 0.00004
  end
  if magicg.zx > 1 then
  magicg.za = -0.00004
  end
  magicg.op = magicg.op + 20
  if magicg.op >= 150 then
  magicg.op = 150
  end
  if magicg.op <= 0 then
  magicg.op = 0
  end
end
if magicg2 ~= nil then
  if ֡ ~= true then
  magicg2.s:ɫ(ARGB(magicg2.op,255,255,255))
  magicg2.s:ʾ_߼(magicg2.x,magicg2.y,magicg2.j,magicg2.zx,magicg2.zy)
  end
  magicg2.x = BSprites[1].x
  magicg2.y = BSprites[1].y
  magicg2.j = magicg2.j +  magicg2.xv
  if magicg2.j >= 360 then
  magicg2.j = 0
  end
  magicg2.xv = magicg2.xv + magicg2.xa
  if magicg2.xv > Ƕto(5) then
  magicg2.xa = 0
  end
  magicg2.zv = magicg2.zv + magicg2.za
  magicg2.zx = magicg2.zx + magicg2.zv
  magicg2.zy = magicg2.zy + magicg2.zv
  if magicg2.zx >= 1 then
  magicg2.zv = 0
  magicg2.za = 0
  end
  magicg2.op = magicg2.op + 20
  if magicg2.op >= 180 then
  magicg2.op = 180
  end
  if magicg2.op <= 0 then
  magicg2.op = 0
  end
end
end
end
function bossĻ׼()
if READY2 == true then
readytime2 = readytime2 + 1
if readytime2 == 1 then
if  ~= true then
if ʧ == true then
ʾ("ʧ")
else
ʾ("")
end
end
ʧ = false
Spriteƶ(10,100,8,35,1.8,1,0,0)
Spriteƶ(11,100,8,35,1.8,1,0,0)
end
if readytime2 == 100 then
BOSS.Ѫ = BOSS.Ѫ
 = false
fftime = 0
׼ = true
BOSS = true
READY2 = false
readytime2 = 0 
end
end
end
function bossˢ()
if ֹ == false and BOSS.ײ.w > 0 and BOSS.ײ.h > 0 then
if (Ziji[Zijinum].x-BSprites[1].x <= BOSS.ײ.w and Ziji[Zijinum].x-BSprites[1].x >= -BOSS.ײ.w) 
and (Ziji[Zijinum].y-BSprites[1].y <= BOSS.ײ.h and Ziji[Zijinum].y-BSprites[1].y >= -BOSS.ײ.h) and Ի ~= true and Ի ~= true then--жײBOSS
Ի()
end
end
if ȫѪ ~= true then
if Sprites[10].zoom_x <= 0 then --SC
boss()
end
else
if BOSS == true and Sprites[10].zoom_x <= 0 then --ȫѪSC
boss()
end
end
if Sprites[10].zoom_x <= 0 then
Sprites[10].zoom_x = 0
end
local num = 0
for i=1,4 do 
if Ziji[i] ~= nil then
num = num + 1
end
end
if num <= 1 and УѪ ~= true then
BOSS.Ѫ = BOSS.ʾѪ
УѪ = true 
end
if УѪ == true then
BOSS.ʾѪ = BOSS.Ѫ
end
if Ϸ == true or  == true then
BOSS.ʾѪ = 0
end
if BOSS ~= true then
Sprites[10].zoom_x = BOSS.ʾѪ/BOSS.Ѫ * 1.8 --
else
Sprites[10].zoom_x = BOSS.ʾѪ/BOSS.Ѫ * 1.8
Sprites[11].zoom_x = BOSS.ʾѪ/BOSS.Ѫ * 1.8 --
end
end 
function boss()
if BOSS. > 0  then
bossĻ()
if Sprites[10].zoom_x <= 0 then
Sprites[10].zoom_x = 0
BOSSЧ = false
BOSS.Ѫ = 0
jptime = 0
׼ = false
BOSS = false
Sprite(14,20,0)
Sprite(15,25,0)
boss⻷()
end
SE[9]:_߼(30,false)
ֹͣʱ = true
for i=0,10 do
Ʊ[i] = 0
end
for i=1,400 do
if BOSSBARRAGE[i] == true then
BOSSBARRAGE[i] = false
ָ(i)
end
end
elseif BOSS. >= 10 then --BOSSȫ
BOSS. = BOSS. + 1
bossĻ()
BOSS.Ѫ = 0
jptime = 0
Sprite(14,20,0)
Sprite(15,25,0)
boss⻷()
׼ = false
BOSS = false
ֹͣʱ = true
BOSSЧ = false
fftime = 0
for i=0,10 do
Ʊ[i] = 0
end
for i=1,400 do
if BOSSBARRAGE[i] == true then
BOSSBARRAGE[i] = false
ָ(i)
end
end
bossȫ = true 
elseif BOSS. < 10 then --BOSSл
BOSS. = BOSS. + 1
bossĻ()
if Sprites[10].zoom_x <= 0 then
BOSS.Ѫ = 0
jptime = 0
׼ = false
BOSS = false
Sprite(14,20,0)
Sprite(15,25,0)
READY2 = true  --Ļ׼
end
ֹͣʱ = true
BOSSЧ = false
for i=0,10 do
Ʊ[i] = 0
end
for i=1,400 do
if BOSSBARRAGE[i] == true then
BOSSBARRAGE[i] = false
ָ(i)
end
end
bossȫ = true 
end
end
function bossȫˢ()
if bossȫ == true then
jptime = jptime + 1
if BOSS. >= 11 then
if jptime == 1 then
if  ~= true then
if ʧ == true then
ʾ("ʧ")
else
ʾ("")
end
end
end
if jptime <= 120 and jptime % 10 == 0 then
SE[9]:_߼(10,false)
end
if jptime <= 120 then
for i=1,2 do
if BSprites[1] ~= nil then
sa = лӵ(255,255,255,MAGICZ,33,225,63,255,BSprites[1].x,BSprites[1].y,8,8,{w=0,h=0,r=0},0,:ȡ(0,360),:ȡ(4,6),0,1,1,"s")
else
sa = лӵ(255,255,255,MAGICZ,33,225,63,255,320,123,8,8,{w=0,h=0,r=0},0,:ȡ(0,360),:ȡ(4,6),0,1,1,"s")
end
local size =  :ȡС(1,5)
djzd[sa]. = false
djzd[sa].ȥж = true
djzd[sa].fzx = size
djzd[sa].fzy = size
end
end
if jptime == 140 then
for i=1,25 do
if BSprites[1] ~= nil then
sa = лӵ(255,255,255,MAGICZ,33,225,63,255,BSprites[1].x,BSprites[1].y,8,8,{w=0,h=0,r=0},0,:ȡ(0,360),:ȡ(4,5),0,1,1,"s")
else
sa = лӵ(255,255,255,MAGICZ,33,225,63,255,320,123,8,8,{w=0,h=0,r=0},0,:ȡ(0,360),:ȡ(4,5),0,1,1,"s")
end
local size =  :ȡС(1,5)
djzd[sa]. = false
djzd[sa].ȥж = true
djzd[sa].fzx = size
djzd[sa].fzy = size
end
ֹ = true
DECISIONOPEN = false
(1)
(2)
--for i=0,table.getn(Sprites) do
--Sprite(i)
--end
boss = true
bossĻ()
boss⻷()
SE[23]:_߼(15,false)
(50,1,8)
end
if jptime == 141 then
DECISIONOPEN = false
Scene(1,"empty")
Bossprite(1)
BSprites[1] = nil
--for z=1,20 do
--DijiSprite(z)
--end
end
if jptime >= 150 and jptime <= 190 and jptime % 4 == 0 then
if Zijinum == 1 then
for i=2,4 do 
if Ա.[i] ~= nil then
Fasong("I05"..tostring(Zijinum),Ա.[i])
end
end
else
Fasong("I05"..tostring(Zijinum))
end

end
if jptime == 170 then
if BOSS. == 11 then
DECISIONOPEN = false
boss⻷()
Sprite(14)
if  ~= true then
ԱϷ = ԱϷ + 1
Ϸ = true
ϵͳϢ("ڵȴϷ",2)
end
if ȫû == true then 
ʾ("")
end
--Ի({""})
--Sprite(2)
end
end
if jptime == 190 then
bossȫ = false 
end
elseif BOSS. < 11 then
if jptime <= 100 and jptime % 10 == 0 then
local x = :ȡ(320-100,320+100)
local y = :ȡ(123-70,123+70)
(jptime/10,x,y,3)
SE[9]:_߼(15,false)
end
if jptime <= 100 and jptime % 50 == 0 then
local x1 = :ȡ(320-70,320+70)
local y1 = :ȡ(123-50,123+50)
local x2 = :ȡ(320-70,320+70)
local y2 = :ȡ(123-50,123+50)
(11+jptime/50,x1,y1,1)
(15+jptime/50,x2,y2,2)
end
if jptime <= 100 then
for i=1,2 do
local a = лӵ(255,255,255,MAGICZ,33,225,63,255,BSprites[1].x,BSprites[1].y,8,8,{w=0,h=0,r=0},0,:ȡ(0,360),:ȡ(4,6),0,1,1,"s",0,0,false,60)
local size =  :ȡС(1,5)
djzd[a]. = false
djzd[a].ȥж = true
djzd[a].fzx = size
djzd[a].fzy = size
end
end
if jptime == 100 then
for i=1,25 do
local a = лӵ(255,255,255,MAGICZ,33,225,63,255,BSprites[1].x,BSprites[1].y,8,8,{w=0,h=0,r=0},0,:ȡ(0,360),:ȡ(4,5),0,1,1,"s",0,0,false,60)
local size =  :ȡС(1,5)
djzd[a]. = false
djzd[a].ȥж = true
djzd[a].fzx = size
djzd[a].fzy = size
(40,1,8)
bossȫ = false
boss(BOSS.)
Scene(1,BOSS.)
end
end
end
end
end
fftime = 0
function boss׼()
if ׼ == true then 
fftime = fftime + 1
if fftime == 10 then 
Sprite(14)
Sprite(15)
 = false
Bosspriteƶ(2,25,320,123,1,1,1,0)
(1,0,250,250,BSprites[1].x,BSprites[1].y,125,125,1.5,1.5,1,120,ARGB(255,255,255,255),_ƹ,false)
(2,1,400,400,BSprites[1].x+1,BSprites[1].y-6,200,200,2,2,1,20,ARGB(255,255,255,255),_ƹ,false)
MagicSprite(3,fkfdbit[0],100,100,BSprites[1].x,BSprites[1].y,0,0,0,_ƹ,0,0)
MagicSpriteƶ(3,30,BSprites[1].x,BSprites[1].y,3,3,1,30)
MagicSprite(3,70,255)
SE[8]:_߼(60,false)
if BOSS. == 1 then
boss⻷()
SCname = FK[1]
end
for s=2,10 do
if BOSS. == s then
SCname = FK[s]
end
end
Sprite(14,SCname,231,23,636,350,2,2,0,3,0,0)
Spriteþ(14,0,0,231,23)
Spriteƶ(14,25,636,342,1,1,0,0)
Sprite(14,25,255)
end
if fftime == 70 then
Sprite(15,SCname,231,5,636,348,1,1,0,3,0,0)
Spriteþ(15,0,23,231,5)
Sprite(15,20,255)
end
if fftime == 90 then
Spriteƶ(14,30,636,59,1,1,1,0)
Spriteƶ(15,30,636,59+4,1,1,1,0)
end
if fftime == 110 then
MagicSpriteƶ(3,80,BSprites[1].x,BSprites[1].y,1.2,1.2,0,90)
MagicSprite(3,100,0)
׼ = false
BOSSЧ = true
if BOSS. == 1 then
if BOSS. == 1 then
bossʱ(28)
bossĻʼ(1)
ֹͣʱ = false
end
end
if BOSS. == 2 then
if BOSS. == 1 then
bossʱ(30)
bossĻʼ(2)
ֹͣʱ = false
end
end
if BOSS. == 3 then
if BOSS. == 1 then
bossʱ(32)
bossĻʼ(3)
ֹͣʱ = false
end
end
if BOSS. == 4 then
if BOSS. == 1 then
bossʱ(34)
bossĻʼ(4)
ֹͣʱ = false
end
end
if BOSS. == 5 then
if BOSS. == 1 then
bossʱ(36)
bossĻʼ(5)
ֹͣʱ = false
end
end
if BOSS. == 6 then
if BOSS. == 1 then
bossʱ(26)
bossĻʼ(6)
ֹͣʱ = false
end
end
if BOSS. == 7 then
if BOSS. == 1 then
bossʱ(20)
bossĻʼ(7)
ֹͣʱ = false
end
end
if BOSS. == 8 then
if BOSS. == 1 then
bossʱ(30)
bossĻʼ(8)
ֹͣʱ = false
end
end
if BOSS. == 9 then
if BOSS. == 1 then
bossʱ(32)
bossĻʼ(9)
ֹͣʱ = false
end
end
if BOSS. == 10 then
if BOSS. == 1 then
bossʱ(34)
bossĻʼ(10)
ֹͣʱ = false
end
end
BOSS. = BOSS. - 1
end
end
end
function bossʱ(ʼʱ)
BOUNS = 0
ֹͣʱ = false
ʱ = ʼʱ
local time = ָΪַ(tostring(ʼʱ))
BOSS.ʱ = ʼʱ
Sprite(16,Timenumbit,0,0,4,37,0.9,0.9,0,3,0,0)
Spriteþ(16,tonumber(time[1])*24,0,24,24)
Sprite(16,20,255)
Sprite(17,Timenumbit,0,0,16,37,0.9,0.9,0,3,0,0)
Spriteþ(17,tonumber(time[2])*24,0,24,24)
Sprite(17,20,255)
Sprite(18,Timesbit,0,0,32,37+11,0.7,0.7,0,3,0,0)
Sprite(18,20,255)
end
jstime = 0 
jsg = 0
jsb = 0
function bossʱˢ()
if ֹͣʱ ~= true then 
for q=16,18 do
Spriteɫ(q,255,jsg,jsb)
end
jsg = jsg + 4
jsb = jsb + 4
if jsg >= 255 then
jsg = 255
end
if jsb >= 255 then
jsb = 255
end
local time = ָΪַ(tostring(BOSS.ʱ))
jstime = jstime + 1
if jstime == 60 and BOSS.ʱ >= 0 then
if table.getn(time) == 2 then
Spriteþ(16,tonumber(time[1])*24,0,24,24)
Spriteþ(17,tonumber(time[2])*24,0,24,24)
elseif table.getn(time) == 1 then
Spriteþ(16,0,0,24,24)
Spriteþ(17,tonumber(time[1])*24,0,24,24)
end
if BOSS.ʱ <= 10 then
jsg = 255-(10-BOSS.ʱ)*10
jsb = 255-(10-BOSS.ʱ)*10
SE[7]:_߼(30,false)
end
BOSS.ʱ = BOSS.ʱ - 1
if BOSS.ʱ == -1 then
if BOSS ~= true then

else
Sprites[10].zoom_x = 0
Sprites[11].zoom_x = 0
bossˢ()
end
end
jstime = 0
end
else
for i=16,18 do
if Sprites[i] ~= nil then
Sprites[i].opacity = Sprites[i].opacity - 20
if Sprites[i].opacity <= 0 then
Sprites[i].opacity = 0
end
end
end
end
end        ???P?        m        --  BOSSĻ
--===============================================================================
BOSSBARRAGE = {}
Ʊ = {} --ÿĻһף꼰ʱ
for i=0,40 do
Ʊ[i] = 0
end
function ָ()
if  == 1 then 
Bosspriteþ(2,0,0,97,96)
end
end
function bossĻˢ()
---------BOSSĻ---------
µӽ̾()
()
ҹ()
Զ1969()
ʮ()
ǿӰ()
Ҿ()
Ҫʯ޷()
Ť()
岻()
end
function bossĻʼ()
for i=0,30 do
Ʊ[i] = 0
end
BOSSBARRAGE[] = true
if  == 1 then

end

end
function µӽ̾() --1
if BOSSBARRAGE[1] == true then
if Ʊ[0] == 0 then
SE[9]:_߼(10,false)
for i=1,10 do
if i <= 5 then
лӵ(255,255,255,GRAZEBIT,64,95,96,128,BSprites[1].x,BSprites[1].y,16,3,{w=0,h=0,r=3},0,i*180+Ʊ[1],i,0,1,3)
лӵ(255,255,255,GRAZEBIT,131,95,156,128,BSprites[1].x,BSprites[1].y,12,3,{w=0,h=0,r=3},0,i*180-Ʊ[1]-92,i,0,1,3)
elseif i > 5 and i <= 8 then
лӵ(255,255,255,GRAZEBIT,64,95,96,128,BSprites[1].x,BSprites[1].y,16,3,{w=0,h=0,r=3},0,i*180+Ʊ[1],i/1.5,0,1,3)
лӵ(255,255,255,GRAZEBIT,131,95,156,128,BSprites[1].x,BSprites[1].y,12,3,{w=0,h=0,r=3},0,i*180-Ʊ[1]-92,i/1.6,0,1,3)
elseif i > 8 then
лӵ(255,255,255,GRAZEBIT,64,95,96,128,BSprites[1].x,BSprites[1].y,16,3,{w=0,h=0,r=3},0,i*180+Ʊ[1],i/1.6,0,1,3)
лӵ(255,255,255,GRAZEBIT,131,95,156,128,BSprites[1].x,BSprites[1].y,12,3,{w=0,h=0,r=3},0,i*180-Ʊ[1]-92,i/1.8,0,1,3)
end
end
end
if Ʊ[2] == 60 then
Ʊ[3] = Ʊ[3] + 1
if Ʊ[3] == 5 then
Ʊ[3] = 1 
end
if Ʊ[3] == 1 then
Bosspriteƶ(1,10,120,103,1,1,1,0)
end
if Ʊ[3] == 2 then
Bosspriteƶ(1,10,420,143,1,1,1,0)
end
if Ʊ[3] == 3 then
Bosspriteƶ(1,10,260,83,1,1,1,0)
end
if Ʊ[3] == 4 then
Bosspriteƶ(1,10,380,163,1,1,1,0)
end
end
if Ʊ[2] == 120 then
SE[9]:_߼(10,false)
for i=1,25 do
лӵ(255,255,255,GRAZEBIT,1,192,63,255,BSprites[1].x,BSprites[1].y,31,32,{w=0,h=0,r=11},0,i*14.4+Ʊ[1],4,0,1,1)
end
Ʊ[2] = 0
end
Ʊ[0] = Ʊ[0] + 1
Ʊ[2] = Ʊ[2] + 1
if Ʊ[0] == 12 then
Ʊ[1] = Ʊ[1] + 10
Ʊ[0] = 0
end
end
end
function () --2
if BOSSBARRAGE[2] == true then
if Ʊ[2] == 0 then
UUS = {s=D2D_.(UUZSZ,0,0,622,379),v=0,zx=0,op=0}
UUS.s:ĵ(622/2,379/2)
UUS.s:ûģʽ(1)
Ʊ[2] = 1
elseif Ʊ[2] > 0 then
if Ʊ[1] <= 250/2 then 
UUS.v = UUS.v + 0.2
else
UUS.v = UUS.v - 0.2
end
UUS.zx = UUS.zx + 0.04
if UUS.zx >= 1 then
UUS.zx = 1
end
UUS.op = UUS.op + 40
if UUS.op >= 255 then
UUS.op = 255
end
if ֡ ~= true then
UUS.s:ʾ_߼(BSprites[1].x,BSprites[1].y+UUS.v,0,UUS.zx,1)
end
end
if Ʊ[0] == 60 then
Bosspriteƶ(1,60,320,126,1,1,0,0)
Ʊ[0] = -1
end
if Ʊ[1] == 0 then
SE[9]:_߼(10,false)
for i=1,30 do
лӵ(255,255,255,GRAZEBIT,32,63,64,94,BSprites[1].x,BSprites[1].y,16,15,{w=0,h=0,r=9},0,i*12+Ʊ[2],2,0,2,1,"h1",45,0)
end
end
if Ʊ[1] == 25 then
SE[9]:_߼(10,false)
for i=1,30 do
лӵ(255,255,255,GRAZEBIT,160,63,192,94,BSprites[1].x,BSprites[1].y,16,15,{w=0,h=0,r=9},0,i*12+Ʊ[2],2,0,2,1,"h2",-46,0)
end
end
if Ʊ[1] == 40 then
SE[11]:_߼(40,false)
for i=1,2000 do 
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. == "h1" then
for q=1,5 do
лӵ(255,255,255,GRAZEBIT,160,63,192,94,djzd[i].x,djzd[i].y,16,15,{w=0,h=0,r=9},0,djzd[i].d+60,q,0,1,1)
end
end
end
end
if Ʊ[1] == 50 then
SE[9]:_߼(10,false)
for i=1,30 do
лӵ(255,255,255,GRAZEBIT,32,63,64,94,BSprites[1].x,BSprites[1].y,16,15,{w=0,h=0,r=9},0,i*12+Ʊ[2],2,0,2,1,"h3",45,0)
end
end
if Ʊ[1] == 65 then
SE[11]:_߼(40,false)
for i=1,2000 do 
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. == "h2" then
for q=1,5 do
лӵ(255,255,255,GRAZEBIT,32,63,64,94,djzd[i].x,djzd[i].y,16,15,{w=0,h=0,r=9},0,djzd[i].d-60,q,0,1,1)
end
end
end
end
if Ʊ[1] == 75 then
SE[9]:_߼(10,false)
for i=1,30 do
лӵ(255,255,255,GRAZEBIT,160,63,192,94,BSprites[1].x,BSprites[1].y,16,15,{w=0,h=0,r=9},0,i*12+Ʊ[2],2,0,2,1,"h4",-45,0)
end
end
if Ʊ[1] == 90 then
SE[11]:_߼(40,false)
for i=1,2000 do 
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. == "h2" then
for q=1,5 do
лӵ(255,255,255,GRAZEBIT,160,63,192,94,djzd[i].x,djzd[i].y,16,15,{w=0,h=0,r=9},0,djzd[i].d+60,q,0,1,1)
end
end
end
end
if Ʊ[1] == 230 then
Ʊ[2] = Ʊ[2] + 45
Ʊ[1] = -1
end
Ʊ[0] = Ʊ[0] + 1
Ʊ[1] = Ʊ[1] + 1
end
end
function ҹ() --3
if BOSSBARRAGE[3] == true then
Ʊ[0] = Ʊ[0] + 1
Ʊ[1] = Ʊ[1] + 1
Ʊ[7] = Ʊ[7] + 1
if Ʊ[7] == 1 then
Bosspriteƶ(1,70,320,118,1,1,0,0)
elseif Ʊ[7] == 70 then
Bosspriteƶ(1,70,320,123,1,1,0,0)
elseif Ʊ[7] == 140 then
Ʊ[7] = 0
end
if Ʊ[0] == 6 then
SE[9]:_߼(10,false)
лӵ(255,255,255,GRAZEBITS,226,96,237,111,5,:ȡ(32,458),5,5,{w=0,h=0,r=4},0,0,1,0,1,3)
Ʊ[0] = 0
end
if Ʊ[1] >= 100 then
Ʊ[2] = Ʊ[2] + 1
if Ʊ[2] == 6 then
SE[9]:_߼(10,false)
лӵ(255,255,255,GRAZEBITS,98,96,109,111,635,:ȡ(32,458),5,5,{w=0,h=0,r=4},0,180,2,0,1,3)
Ʊ[2] = 0
end
end
if Ʊ[1] >= 200 then
Ʊ[3] = Ʊ[3] + 1
if Ʊ[3] == 25 then
SE[11]:_߼(40,false)
лӵ(255,255,255,GRAZEBIT,8,129,25,159,5,:ȡ(32,458),9,10,{w=0,h=0,r=6},0,0,1.5,0,1,3)
Ʊ[3] = 0
end
end
if Ʊ[1] >= 300 then
Ʊ[4] = Ʊ[4] + 1
if Ʊ[4] == 25 then
SE[11]:_߼(40,false)
лӵ(255,255,255,GRAZEBIT,136,129,152,159,635,:ȡ(32,458),9,10,{w=0,h=0,r=6},0,180,2,0,1,3)
Ʊ[4] = 0
end
end
if Ʊ[1] >= 400 then
Ʊ[5] = Ʊ[5] + 1
if Ʊ[5] == 50 then
SE[11]:_߼(40,false)
лӵ(255,255,255,GRAZEBIT,63,192,129,255,5,:ȡ(32,458),67/2,32,{w=0,h=0,r=11},0,0,1,0,1,0)
Ʊ[5] = 0
end
end
if Ʊ[1] >= 500 then
Ʊ[6] = Ʊ[6] + 1
if Ʊ[6] == 50 then
SE[11]:_߼(40,false)
лӵ(255,255,255,GRAZEBIT,129,192,192,255,635,:ȡ(32,458),67/2,32,{w=0,h=0,r=11},0,180,1,0,1,0)
Ʊ[6] = 0
end
end
end
end
function Զ1969() -- 4
if BOSSBARRAGE[4] == true then
local num = 0
for i=1,4 do
if i ~=Zijinum and Ziji[i] ~= nil then
num = num + 1
end
end
if num == 0 and Ʊ[7] == 10 then
SE[11]:_߼(30,false)
local x = {244,390,50,590}
local y = {123,123,103,103}
for s=1,4 do
local xx = x[s] -  Ziji[Zijinum].x
local yy = y[s] -  Ziji[Zijinum].y
Ʊ[6] = math.atan(yy/xx)
if xx <= 0 then 
лӵ(255,255,255,GRAZEBIT,99,35,125,62,x[s],y[s],27/2,14,{w=0,h=0,r=7},0,Ʊ[6],1,0.06,1,1,"",0,0,true)
else
лӵ(255,255,255,GRAZEBIT,99,35,125,62,x[s],y[s],27/2,14,{w=0,h=0,r=7},0,Ʊ[6]+Ƕto(-180),1,0.06,1,1,"",0,0,true)
end
end
Ʊ[7] = 0
end
if num > 0 and Ʊ[7] == 10 then
SE[11]:_߼(30,false)
local xz = {244,390,50,590}
local yz = {123,123,103,103}
local n = 0
local rz ={}
for i=1,4 do 
if Ziji[i]~= nil then
rz[i] = i
else
rz[i] = 5
end
end
for s=1,4 do
if num == 1 and  == true then
if s ~= Zijinum and Ziji[s] ~= nil then
for q=1,4 do
local x = xz[q]
local y = yz[q]
local xx = x -  Ziji[s].x
local yy = y -  Ziji[s].y
Ʊ[6] = math.atan(yy/xx)
if xx <= 0 then 
лӵ(255,255,255,GRAZEBIT,99,35,125,62,x,y,27/2,14,{w=0,h=0,r=7},0,Ʊ[6],1,0.06,1,1,"",0,0,true)
else
лӵ(255,255,255,GRAZEBIT,99,35,125,62,x,y,27/2,14,{w=0,h=0,r=7},0,Ʊ[6]+Ƕto(-180),1,0.06,1,1,"",0,0,true)
end
end
end
else
if Ziji[rz[s]] ~= nil then
local x = xz[s]
local y = yz[s]
local xx = x -  Ziji[rz[s]].x
local yy = y -  Ziji[rz[s]].y
Ʊ[6] = math.atan(yy/xx)
if xx <= 0 then 
лӵ(255,255,255,GRAZEBIT,99,35,125,62,x,y,27/2,14,{w=0,h=0,r=7},0,Ʊ[6],1,0.06,1,1,"",0,0,true)
else
лӵ(255,255,255,GRAZEBIT,99,35,125,62,x,y,27/2,14,{w=0,h=0,r=7},0,Ʊ[6]+Ƕto(-180),1,0.06,1,1,"",0,0,true)
end
end
end
end
Ʊ[7] = 0
end
Ʊ[1] = Ʊ[1] + 1
Ʊ[3] = Ʊ[3] + 1
Ʊ[7] = Ʊ[7] + 1
if Ʊ[1] == 27 then
Ʊ[2] = - 180
end
if Ʊ[1] == 55 then
Ʊ[2] = 0
Ʊ[1] = 0
end
if Ʊ[3] == 120 then
Ʊ[4] = Ʊ[4] + 1
if Ʊ[4] == 2 then
Ʊ[4] = 0
end
if Ʊ[4] == 1 then
Ʊ[5] = 5
else
Ʊ[5] = 0
end
Ʊ[3] = 0 
end
if Ʊ[3] <= 110 and Ʊ[3] % 19 == 0 then
SE[9]:_߼(10,false)
for i=1,36 do
local x = BSprites[1].x + 10 * math.cos(Ƕto(i*10))
local y = BSprites[1].y + 10 * math.sin(Ƕto(i*10))
лӵ(255,255,255,GRAZEBITS,82,128,93,143,x,y,5,7,{w=0,h=0,r=5},0,i*10+70+Ʊ[2]+Ʊ[5],2,0,1,3)
end
end
end
end
function ʮ() --5
if BOSSBARRAGE[5] == true then
Ʊ[0] = Ʊ[0] + 1
Ʊ[6] = Ʊ[6] + 1
if Ʊ[0] == 1 then
SE[13]:_߼(10,false)
for i=1,4 do
Ʊ[i] = {s=D2D_.(SJSPP,0,0,230,700),zx=0,zy=1,f=i*90+Ʊ[5]}
Ʊ[i].s:ûģʽ(1)
Ʊ[i].s:ĵ(112,60)
end
end
if (math.abs(BSprites[1].x - Ziji[Zijinum].x) < 25*Ʊ[1].zx or math.abs(BSprites[1].y - Ziji[Zijinum].y) < 25*Ʊ[1].zx)
and Ի ~= true and ״̬ ~= true then--же
Ի()
elseif (math.abs(BSprites[1].x - Ziji[Zijinum].x) < 40*Ʊ[1].zx or math.abs(BSprites[1].y - Ziji[Zijinum].y) < 40*Ʊ[1].zx)
and Ի ~= true 
and Ʊ[0] % 5 == 0 then 
  for s = 0,4 do 
  local size = :ȡС(1,2)
  MagicSprite(3+s,Fireflower,4.5,4.5,Ziji[Zijinum].x,Ziji[Zijinum].y,size,size,255,0,0,0)
  MagicSprite(3+s,10,0)
  MagicSpriteƶ(3+s,:ȡ(5,15),Ziji[Zijinum].x+:ȡ(-40,40),Ziji[Zijinum].y+:ȡ(-40,40),size,size,0,0)
  end
  if BOSS == true then
  BOUNS = BOUNS + 1
  end
  Ziji[Zijinum]. = Ziji[Zijinum]. + 1
  SE[3]:_߼(30,false)
end
if Ʊ[0] >= 1 and Ʊ[0] <= 150 then
if Ʊ[0] % 2 == 0 then
SE[9]:_߼(10,false)
if Ʊ[8] % 2 == 0 then
Ʊ[7] = Ʊ[7] - 1.33
else
Ʊ[7] = Ʊ[7] + 1.33
end
for i=1,4 do
лӵ(255,255,255,GRAZEBITS,49,112,62,127,BSprites[1].x,BSprites[1].y,7,8,{w=0,h=0,r=4},0,Ʊ[i].f+Ʊ[7],6,0,1,3)
лӵ(255,255,255,GRAZEBITS,97,112,110,127,BSprites[1].x,BSprites[1].y,7,8,{w=0,h=0,r=4},0,Ʊ[i].f+Ʊ[7]+5,6,0,1,3)
end
end
Ʊ[1].zx = Ʊ[1].zx + 0.05
if Ʊ[1].zx >= 0.8 then
Ʊ[1].zx = 0.8
end
Ʊ[2].zx = Ʊ[1].zx + 0.05
if Ʊ[2].zx >= 0.8 then
Ʊ[2].zx = 0.8
end
Ʊ[3].zx = Ʊ[3].zx + 0.05
if Ʊ[3].zx >= 0.8 then
Ʊ[3].zx = 0.8
end
Ʊ[4].zx = Ʊ[4].zx + 0.05
if Ʊ[4].zx >= 0.8 then
Ʊ[4].zx = 0.8
end
end
if Ʊ[0] >= 150 then
for i=1,4 do
Ʊ[i].zx = Ʊ[i].zx - 0.05
if Ʊ[i].zx <= 0 then
Ʊ[i].zx = 0
end
end
end
if Ʊ[0] == 215 then
Ʊ[8] = Ʊ[8] + 1
if Ʊ[8] == 4 then
Ʊ[8] = 0
end
if Ʊ[9] == 0 then
if Ʊ[8] == 0 then
Bosspriteƶ(1,35,320,123,1,1,0,0)
end
if Ʊ[8] == 1 then
Bosspriteƶ(1,35,210,237,1,1,0,0)
end
if Ʊ[8] == 2 then
Bosspriteƶ(1,35,429,237,1,1,0,0)
end
if Ʊ[8] == 3 then
Bosspriteƶ(1,35,320,360,1,1,0,0)
end
else
if Ʊ[8] == 0 then
Bosspriteƶ(1,35,320,360,1,1,0,0)
end
if Ʊ[8] == 1 then
Bosspriteƶ(1,35,210,237,1,1,0,0)
end
if Ʊ[8] == 2 then
Bosspriteƶ(1,35,429,237,1,1,0,0)
end
if Ʊ[8] == 3 then
Bosspriteƶ(1,35,320,123,1,1,0,0)
end
end
end
if Ʊ[0] >= 250 then
Ʊ[7] = 0
Ʊ[0] = 0
end

end
end
function ǿӰ() --6
if BOSSBARRAGE[6] == true then
Ʊ[0] = Ʊ[0] + 1
if Ʊ[4] == 0 then
Ʊ[1] = Ʊ[1] + 8
elseif Ʊ[4] == 1 then
Ʊ[1] = Ʊ[1] + 7
elseif Ʊ[4] == 2 then
Ʊ[1] = Ʊ[1] + 8
Ʊ[5] = Ʊ[5] + 0.5
elseif Ʊ[4] == 3 then
Ʊ[1] = Ʊ[1] + 7
Ʊ[5] = Ʊ[5] - 1
elseif Ʊ[4] == 4 then
Ʊ[1] = Ʊ[1] + 8
Ʊ[5] = Ʊ[5] + 2
elseif Ʊ[4] == 5 then
Ʊ[1] = Ʊ[1] + 8
Ʊ[5] = Ʊ[5] + 5
elseif Ʊ[4] == 6 then
Ʊ[1] = Ʊ[1] + 8
Ʊ[5] = Ʊ[5] + 3
elseif Ʊ[4] == 7 then
Ʊ[1] = Ʊ[1] + 8
Ʊ[5] = Ʊ[5] + 2
elseif Ʊ[4] == 8 then
Ʊ[1] = Ʊ[1] + 9
elseif Ʊ[4] == 9 then
Ʊ[1] = Ʊ[1] + 9
Ʊ[5] = Ʊ[5] + 4
end
if Ʊ[0] <= 80 then
if Ʊ[0] % 3 == 0 then
SE[9]:_߼(10,false)
end
if Ʊ[4] == 0 then
for i=1,4 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],30+i*100,7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
elseif Ʊ[4] == 1 then
for i=1,6 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,(i-1)*128,Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
elseif Ʊ[4] == 2 then
for i=1,5 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],i*82+Ʊ[5],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
elseif Ʊ[4] == 3 then
for i=1,6 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,(i-1)*128+Ʊ[5],Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
elseif Ʊ[4] == 4 then
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],100+Ʊ[5],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],320+Ʊ[5],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,640-Ʊ[1],100+Ʊ[5],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,640-Ʊ[1],320+Ʊ[5],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
elseif Ʊ[4] == 5 then
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],110,7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],360,7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,116+Ʊ[5],Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,640-116-Ʊ[5],Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
elseif Ʊ[4] == 6 then
for i=0,4 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,i*128+Ʊ[5],Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
for i=0,4 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,i*128+Ʊ[5],480-Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
elseif Ʊ[4] == 7 then
for i=0,3 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],i*100+Ʊ[5],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
for i=0,3 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],480-i*100-Ʊ[5],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
elseif Ʊ[4] == 8 then
for i=0,4 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],i*120,7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
for i=0,5 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,i*128,Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
elseif Ʊ[4] == 9 then
for i=0,5 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,(i-1)*128+Ʊ[5],Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
for i=0,4 do
лӵ(255,255,255,GRAZEBITS,145,112,158,127,i*128+Ʊ[5],480-Ʊ[1],7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],104,7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],232,7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
лӵ(255,255,255,GRAZEBITS,145,112,158,127,Ʊ[1],362,7,8,{w=0,h=0,r=4},0,90,0,0,1,3)
end
end
if Ʊ[0] == 81 then
if Ziji[1]  ~= nil then
Ʊ[2] = Ziji[1].x
Ʊ[3] = Ziji[1].y
else
Ʊ[2] = Ziji[Zijinum].x
Ʊ[3] = Ziji[Zijinum].y
end
SE[15]:_߼(50,false)
end
if Ʊ[0] == 109 then
Bosspriteƶ(1,15,Ʊ[2],Ʊ[3],1,1,0,0)
end
if Ʊ[0] == 125 then
SE[14]:_߼(50,false)
Ʊ[6] = {s=D2D_.(WHTSX,0,0,200,121),op=255}
Ʊ[7] = {s=D2D_.("",0,0,200,121),op=255,zx=1,zy=1}
Ʊ[6].s:ĵ(200/2,121/2)
Ʊ[7].s:ĵ(200/2,121/2)
Ʊ[7].s:ɫ(ARGB(255,255,255,255))
end
if Ʊ[0] == 125 or Ʊ[0] == 126 then
if Ʊ[6].s:ȡΧ():_(Ziji[Zijinum].x,Ziji[Zijinum].y) == true 
and Ի ~= true and ״̬ ~= true then--же
Ի()
end
end
if Ʊ[0] >= 125 and Ʊ[0] <= 161 then
Ʊ[6].op = Ʊ[6].op - 7
Ʊ[7].op = Ʊ[7].op - 25
if Ʊ[7].op <= 0 then
Ʊ[7].op = 0
end
if Ʊ[6].op <= 0 then
Ʊ[6].op = 0
end
Ʊ[7].zx = Ʊ[7].zx + 0.05
Ʊ[7].zy = Ʊ[7].zy + 0.05
if ֡ ~= true then
Ʊ[6].s:ɫ(ARGB(Ʊ[6].op,255,255,255))
Ʊ[7].s:ɫ(ARGB(Ʊ[7].op,255,255,255))
Ʊ[6].s:ʾ(Ʊ[2],Ʊ[3],0,1,1)
Ʊ[7].s:ʾ(Ʊ[2],Ʊ[3],0,Ʊ[7].zx,Ʊ[7].zy)
end
end
if Ʊ[0] == 160 then
Bosspriteƶ(1,60,320,-90,1,1,0,0)
bossĻ()
end
if Ʊ[0] == 161 then
 = false
Ʊ[0] = 0
Ʊ[1] = 0
Ʊ[4] = Ʊ[4] + 1
Ʊ[5] = 0
end
end
end
function Ҿ() --7
if BOSSBARRAGE[7] == true then
Ʊ[0] = Ʊ[0] + 1

if 50 - Ʊ[1] >= 10 then
лӵ(255,255,255,GRAZEBITS,211,64,220,78,:ȡ(BSprites[1].x-50,BSprites[1].x+50),:ȡ(BSprites[1].y-50,BSprites[1].y+50),5,5,{w=0,h=0,r=4},0,:ȡ(85,95),-0.8,0.02,1,3)
лӵ(255,255,255,GRAZEBITS,163,64,172,78,:ȡ(BSprites[1].x-50,BSprites[1].x+50),:ȡ(BSprites[1].y-50,BSprites[1].y+50),5,5,{w=0,h=0,r=4},0,:ȡ(85,95),-0.8,0.04,1,3)
else
Ʊ[31] = Ʊ[31] + 1
if Ʊ[31] == 3 then
Ʊ[31] = 1
end
лӵ(255,255,255,GRAZEBITS,211,64,220,78,:ȡ(0,640),:ȡ(64,164),5,5,{w=0,h=0,r=4},0,:ȡ(85,95),-0.8,0.02,1,3)
лӵ(255,255,255,GRAZEBITS,163,64,172,78,:ȡ(0,640),:ȡ(64,164),5,5,{w=0,h=0,r=4},0,:ȡ(85,95),-0.8,0.04,1,3)
end
if Ʊ[0] == 1 then
if 50 - Ʊ[1] >= 10 then
SE[9]:_߼(15,false)
if Ʊ[2] == 0 then
Bosspriteþ(1,127,70,62,51)
BSprites[1].sprite:ת(false)
Bosspriteƶ(1,45 - Ʊ[1],-200,:ȡ(64,174),1,1,0,0)
else
Bosspriteþ(1,127,70,62,51)
BSprites[1].sprite:ת(true)
Bosspriteƶ(1,45 - Ʊ[1],640+200,:ȡ(64,174),1,1,0,0)
end
else
SE[9]:_߼(10,false)
if Ʊ[2] == 0 then
Ʊ[4+Ʊ[3]] = {s=D2D_.(WWFMJ,0,0,639,64),x=-10,y=:ȡ(64,164),v=46,f=:ȡ(-10,10)}
Ʊ[4+Ʊ[3]].s:ĵ(639,64/2)
Ʊ[4+Ʊ[3]].s:ûģʽ(1)
else
Ʊ[4+Ʊ[3]] = {s=D2D_.(WWFMJ,0,0,639,64),x=650,y=:ȡ(64,164),v=-46,f=:ȡ(-10,10)}
Ʊ[4+Ʊ[3]].s:ĵ(0,64/2)
Ʊ[4+Ʊ[3]].s:ûģʽ(1)
end
Ʊ[3] = Ʊ[3] + 1
if Ʊ[3] == 27 then
Ʊ[3] = 0
end
end
end
for i=4,30 do
if Ʊ[i] ~= 0 then
if ֡ ~= true then
Ʊ[i].x = Ʊ[i].x + Ʊ[i].v * math.cos(Ƕto(Ʊ[i].f))
Ʊ[i].y = Ʊ[i].y + Ʊ[i].v * math.sin(Ƕto(Ʊ[i].f))
Ʊ[i].s:ʾ_߼(Ʊ[i].x,Ʊ[i].y,Ƕto(Ʊ[i].f),1,0.66)
end
end
end
if Ʊ[0] == 50 - Ʊ[1] then
Ʊ[2] = Ʊ[2] + 1
if Ʊ[2] == 2 then
Ʊ[2] = 0
end 
Ʊ[1] = Ʊ[1] + 4
if Ʊ[1] >= 45 then 
Ʊ[1] = 45
end
Ʊ[0] = 0
end
end
end
function Ҫʯ޷() --8
if BOSSBARRAGE[8] == true then
Ʊ[0] = Ʊ[0] + 1
if Ʊ[0] == 1 then
SE[16]:_߼(50,false)
Ʊ[7] = 240 - BSprites[1].y
for i=2,4 do 
Ʊ[i] = {s=D2D_.(FXTYS,0,0,54,48),x=BSprites[1].x,y=BSprites[1].y,op=0}
Ʊ[i].s:ûģʽ(1)
Ʊ[i].s:ĵ(54/2,48/2)
end
end
if Ʊ[0] >= 1 then
Ʊ[5] = Ʊ[5] + 1
if Ʊ[5] >= 95 then
Ʊ[5] = 95
end
Ʊ[6] = Ʊ[6] + 1.5
if Ʊ[6] >= 360 then
Ʊ[6] = 0
end
for i =2,4 do
Ʊ[i].op = Ʊ[i].op + 20
if Ʊ[i].op >= 255 then
Ʊ[i].op = 255
end
Ʊ[i].x = BSprites[1].x + Ʊ[5] * math.cos(Ƕto(Ʊ[6]+(i-2)*120))
Ʊ[i].y = BSprites[1].y + Ʊ[5] * math.sin(Ƕto(Ʊ[6]+(i-2)*120))
if ֡ ~= true then
Ʊ[i].s:ɫ(ARGB(Ʊ[i].op,255,255,255))
Ʊ[i].s:ʾ(Ʊ[i].x,Ʊ[i].y)
end
end
end
BSprites[1].x = 320 + Ʊ[7] * math.cos(Ƕto(-90+Ʊ[8]))
BSprites[1].y = 240 + Ʊ[7] * math.sin(Ƕto(-90+Ʊ[8]))
Ʊ[8] = Ʊ[8] + 0.6
if Ʊ[8] == 360 then
Ʊ[8] = 0
end
if Ʊ[0] % 240 == 0 then
Ʊ[11] = BSprites[1].x
Ʊ[12] = BSprites[1].y
Ʊ[9] = true 
Ʊ[10] = 0
Ʊ[13] = 0
SE[13]:_߼(10,false)
for i = 1,20 do
local a = лӵ(255,255,255,JIGUANG,211,2,220,252,BSprites[1].x,BSprites[1].y,0,5,{w=0,h=0,r=0},0,i*18,0,0,1,1,"j",0,0)
djzd[a]. = false
end
end
if Ʊ[9] == true then
Ʊ[10] = Ʊ[10] + 2.5
end
if Ʊ[10] >= 250 then
Ʊ[10] = 250
Ʊ[13] = Ʊ[13] + 2.5
end
for s = 1,20 do
if ȡǶ(Ziji[Zijinum].x,Ziji[Zijinum].y,Ʊ[11],Ʊ[12]) >= s * 18 -1.5 - 1
and ȡǶ(Ziji[Zijinum].x,Ziji[Zijinum].y,Ʊ[11],Ʊ[12]) <= s * 18 -1.5 + 1
and (Ziji[Zijinum].x - Ʊ[11])^2 + (Ziji[Zijinum].y - Ʊ[12])^2 >= Ʊ[13]^2
and (Ziji[Zijinum].x - Ʊ[11])^2 + (Ziji[Zijinum].y - Ʊ[12])^2 <= (Ʊ[13] + Ʊ[10])^2 
and Ի ~= true and ״̬ ~= true then 
Ի()
elseif ȡǶ(Ziji[Zijinum].x,Ziji[Zijinum].y,Ʊ[11],Ʊ[12]) >= s * 18 -1.5 - 3
and ȡǶ(Ziji[Zijinum].x,Ziji[Zijinum].y,Ʊ[11],Ʊ[12]) <= s * 18 -1.5 + 3
and (Ziji[Zijinum].x - Ʊ[11])^2 + (Ziji[Zijinum].y - Ʊ[12])^2 >= Ʊ[13]^2
and (Ziji[Zijinum].x - Ʊ[11])^2 + (Ziji[Zijinum].y - Ʊ[12])^2 <= (Ʊ[13] + Ʊ[10])^2 
and Ի ~= true 
and Ʊ[0] % 5 == 0 then 
  for s = 0,4 do 
  local size = :ȡС(1,2)
  MagicSprite(3+s,Fireflower,4.5,4.5,Ziji[Zijinum].x,Ziji[Zijinum].y,size,size,255,0,0,0)
  MagicSprite(3+s,10,0)
  MagicSpriteƶ(3+s,:ȡ(5,15),Ziji[Zijinum].x+:ȡ(-40,40),Ziji[Zijinum].y+:ȡ(-40,40),size,size,0,0)
  end
  if BOSS == true then
  BOUNS = BOUNS + 1
  end
  Ziji[Zijinum]. = Ziji[Zijinum]. + 1
  SE[3]:_߼(30,false)
end
end
for i=1,2000 do
if djzd[i] ~= nil and djzd[i]. ~= true and djzd[i]. == "j" then
if djzd[i]. == true then
djzd[i].zx = 1
djzd[i].zy = 0
else
djzd[i].zy = djzd[i].zy + 0.01
if djzd[i].zy >= 1 then
djzd[i].v = -2.5
djzd[i].zy = 1
end
end
end
end
if Ʊ[5] == 95 and Ʊ[0] % 9 == 0 then
Ʊ[14] = Ʊ[14] - 5
if Ʊ[14] <= 0 then
Ʊ[14] = 360 
end
SE[9]:_߼(10,false)
for i=2,3 do
лӵ(255,255,255,MAGICZ,67,144,94,175,Ʊ[i].x,Ʊ[i].y,12,16,{w=0,h=0,r=6},0,Ʊ[14],2,0,1,1)
end
лӵ(255,255,255,MAGICZ,67,144,94,175,Ʊ[4].x,Ʊ[4].y,12,16,{w=0,h=0,r=6},0,360-Ʊ[14],2,0,1,1)
end
end
end
function Ť() --9
if BOSSBARRAGE[9] == true then
Ʊ[0] = Ʊ[0] + 2
Ʊ[2] = Ʊ[2] + 4
if Ʊ[2] >= 360 then
Ʊ[2] = 0 
end
if Ʊ[0] >= 360 then
Ʊ[0] = 0
end
Ʊ[1] = Ʊ[1] + 1
if Ʊ[1] % 360 == 0 then
Bosspriteƶ(1,360,200,123,1,1,0,0)
end
if Ʊ[1] % 720 == 0 then
Bosspriteƶ(1,360,440,123,1,1,0,0)
end
if Ʊ[0] % 6 == 0 then
лӵ(255,255,255,GRAZEBITS,67,64,76,78,0,150+110*math.sin(Ƕto(Ʊ[0])),11/2,8,{w=0,h=0,r=4},0,0,2,0.001,1,1)
лӵ(255,255,255,GRAZEBITS,67,64,76,78,640,350+110*math.sin(Ƕto(Ʊ[0])),11/2,8,{w=0,h=0,r=4},0,0,-2,-0.001,1,1)
end
if Ʊ[0] % 5 == 0 then
SE[9]:_߼(10,false)
for i=1,4 do 
лӵ(255,255,255,GRAZEBITS,115,144,124,159,BSprites[1].x,BSprites[1].y,5,8,{w=0,h=0,r=4},0,i*90+Ʊ[2],2,0.009,1,1)
end
end
end
end
function 岻() --10
if BOSSBARRAGE[10] == true then
Ʊ[7] = Ʊ[7] + 1
if Ʊ[7] == 1 then
Bosspriteƶ(1,70,320,118,1,1,0,0)
elseif Ʊ[7] == 70 then
Bosspriteƶ(1,70,320,123,1,1,0,0)
elseif Ʊ[7] == 140 then
Ʊ[7] = 0
end
Ʊ[0] = Ʊ[0] + 1
if Ʊ[0] == 1 then
SE[13]:_߼(25,false)
SE[17]:_߼(50,false)
for i=1,5 do 
Ʊ[i] = {s=D2D_.(XLCJG,0,0,230,700),zx=0}
Ʊ[i].s:ûģʽ(1)
Ʊ[i].s:ĵ(114,30)
end
end
if Ʊ[0] == 30 then
(120-30,1,5)
end
if Ʊ[0] == 30 then
for i=1,5 do
for s=1,15 do 
лӵ(255,255,255,MAGICZ,2,177,31,208,(i-1)*160,460,13,15,{w=0,h=0,r=6},0,180+s*12+Ʊ[8],1.5,0,1,1)
end
end
end
if Ʊ[0] == 75 then
for i=1,5 do
for s=1,15 do 
лӵ(255,255,255,MAGICZ,2,177,31,208,(i-1)*160,460,13,15,{w=0,h=0,r=6},0,182+s*12-Ʊ[8],1.5,0,1,1)
end
end
end
if Ʊ[0] == 120 then
for i=1,5 do
for s=1,15 do 
лӵ(255,255,255,MAGICZ,2,177,31,208,(i-1)*160,460,13,15,{w=0,h=0,r=6},0,180+s*12+Ʊ[8],1.5,0,1,1)
end
end
end
if Ʊ[0] >= 1 and Ʊ[0] <= 120 then
for i=1,5 do
Ʊ[i].zx = Ʊ[i].zx + 0.02
if Ʊ[i].zx >= 0.7 then
Ʊ[i].zx = 0.7
end
end
end
if Ʊ[0] == 120 then
Ʊ[8] = Ʊ[8] + 2
if Ʊ[8] >= 10 then 
Ʊ[8] = 0
end
end
if Ʊ[0] >= 120 and Ʊ[0] <= 160 then
for i=1,5 do
Ʊ[i].zx = Ʊ[i].zx - 0.02
if Ʊ[i].zx <= 0 then
Ʊ[i].zx = 0
end
end
end

for i=1,5 do
if math.abs((i-1)*160 - Ziji[Zijinum].x) <  28*Ʊ[i].zx and Ի ~= true and ״̬ ~= true then--же
Ի()
elseif math.abs((i-1)*160 - Ziji[Zijinum].x) < 46*Ʊ[i].zx and Ի ~= true and Ʊ[0] % 4 == 0 then 
  for s = 0,4 do 
  local size = :ȡС(1,2)
  MagicSprite(3+s,Fireflower,4.5,4.5,Ziji[Zijinum].x,Ziji[Zijinum].y,size,size,255,0,0,0)
  MagicSprite(3+s,10,0)
  MagicSpriteƶ(3+s,:ȡ(5,15),Ziji[Zijinum].x+:ȡ(-40,40),Ziji[Zijinum].y+:ȡ(-40,40),size,size,0,0)
  end
  if BOSS == true then
  BOUNS = BOUNS + 1
  end
  Ziji[Zijinum]. = Ziji[Zijinum]. + 1
  SE[3]:_߼(30,false)
end
if ֡ ~= true then
Ʊ[i].s:ʾ_߼((i-1)*160,0,0,Ʊ[i].zx,1.5)
end
end
if Ʊ[0] >= 360 then
Ʊ[0] = 0
end
end
end         ???        T        --  (Dat/Magbit)
--===============================================================================
 = {}
 = {}
function (,,w,h,x,y,ox,oy,zx,zy,֡,֡,ɫ͸,,)
  [] = {
  xh = ,
  s=D2D_.([1][1],0,0,w,h),
  bit = ,
  x=x,
  y=y,
  ox=ox,
  oy=oy,
  zx=zx,
  zy=zy,
  f=֡,
  n=֡,
  c=ɫ͸,
  a=1,
  b=0}
  [].s:ĵ(ox,oy)
  [].s:ûģʽ()
  [table.getn()+1] = 
end
function ˢ¶()
for i=1,table.getn() do 
if [[i]] ~= nil then
  if ֡ ~= true then
  [[i]].s:ɫ([[i]].c)
  [[i]].s:ʾ_߼([[i]].x,[[i]].y,0,[[i]].zx,[[i]].zy)
  end
  [[i]].b = [[i]].b + 1
  if [[i]].b == [[i]].f then
  [[i]].a = [[i]].a + 1
  [[i]].b = 0
  [[i]].s:ͼƬ([[[i]].bit][[[i]].a])
  if [[[i]].bit][[[i]].a-1]~= nil and [[i]].xh == true then
  :ͼƬ([[[i]].bit][[[i]].a-1])
  end
  end
  if [[i]].a > [[i]].n then 
  [[i]] = nil
  table.remove(,i)
  end
end
end
end          TP??        &        --  BOMB
--===============================================================================
JNTB = {}
function ()
JNL = true
local num = table.getn(Ziji[Zijinum].ɫ.)
for i=1,num do 
JNTB[i] = {s=D2D_.(JNTBIT[Ziji[Zijinum].ch][Ziji[Zijinum].ɫ.[i]],0,0,38,20),op=0}
JNTB[i].s:ĵ(38/2,20/2)
end
JNTBL = {s=D2D_.(JNTBIT[Ziji[Zijinum].ch][Ziji[Zijinum].ɫ.[1]],0,0,38,20),op=0,zx=1,zy=1}
JNTBL.s:ĵ(38/2,20/2)
JNTBL.s:ûģʽ(1)
if num+1 < table.getn(JNTBIT) then
for i=num+1,table.getn(JNTBIT) do 
:ͼƬ(JNTBIT[Ziji[Zijinum].ch][i])
end
end
end
jnltime = 0
jnlxx = 1
jnll = false
function ˢ()
if JNL == true then
if :ȡ(83)  and CHATINPUT ~= true then
jnlxx = jnlxx + 1
if jnlxx > table.getn(Ziji[Zijinum].ɫ.) then 
jnlxx = 1 
end
JNTBL.s:ͼƬ(JNTBIT[Ziji[Zijinum].ch][Ziji[Zijinum].ɫ.[jnlxx]])
Spriteƶ(8,10,92+40*(jnlxx-1),465,1,1,0,0)
end
for i=1,6 do 
if JNTB[i] ~= nil then
JNTB[i].op = JNTB[i].op + 10
if JNTB[i].op >= 255 then
JNTB[i].op = 255
end
if BOMBʱ == true or  == true then
JNTBL.zx = JNTBL.zx + 0.02
JNTBL.zy = JNTBL.zy + 0.02
if JNTBL.zx >= 3 then
JNTBL.zx = 3
JNTBL.zy = 3
end
JNTB[i].op = JNTB[i].op - 20 
if JNTB[i].op <= 155 then
JNTB[i].op = 155
end
end
if ֡ ~= true then
JNTB[i].s:ɫ(ARGB(JNTB[i].op,255,255,255))
JNTB[i].s:ʾ(92+40*(i-1),466)
end
end
end
JNTBL.op = JNTBL.op - 10 
if JNTBL.op <= 0 then
JNTBL.op = 0
end
if ֡ ~= true then
JNTBL.s:ɫ(ARGB(JNTBL.op,255,255,255))
JNTBL.s:ʾ_߼(95+40*(jnlxx-1),466,0,JNTBL.zx,JNTBL.zy)
end
jnltime = jnltime + 1
if jnltime >= 30 then
Sprite(8,30,100)
end
if jnltime >= 60 then
Sprite(8,30,255)
jnltime = 0
end
end
end          Go  e                    ?             ?  ?3?       ?  ?3?  `A   ?        `A               43?  `A  ?  ?                     m  e  ~                    ?           ?           ?           ?                                 ?  ?                     ??ءo? ?  L        ?        --  
--===============================================================================
chatk = 0
fwait = 0
springs=D2D_.("",12,false,false,false)
chatbox = D2D_.(264,ɫ_,"",14,false,false,false,134,false)
 = ""
ǰ = 0
 = 1
ƶ = 0
ʾ = {}
chatword = {}
wshadow = {}
for i=1,8 do 
chatword[i] = D2D_.("",12,false,false,false)
wshadow[i] = D2D_.("",12,false,false,false)
wshadow[i]:ɫ(ɫ_)
end
function ˢ()
if Sprites[6].y > 480 then
Sprites[6].opacity = 0
else
Sprites[6].opacity = 255
end
if chatk == 1 then
else
Spriteƶ(6,5,323,362+120,1,1,1,0)
end
if ֡ ~= true then
if :ȡ(13) then
chatk = chatk + 1
if chatk == 1 then
Spriteƶ(6,10,323,362,1,1,1,0)
CHATINPUT = true
chatbox:()
elseif chatk == 2 then
ƶ = 0
local fj = ָΪַ(chatbox:ȡı())
for i=1,table.getn(fj) do
if fj[i] == " " then
fj[i] = ""
else
break
end
end
local wc = ""
for i=1,table.getn(fj) do
wc = wc..fj[i]
end
if Ϸʼָ(wc) ~= true then
if wc ~=  "" then
if   ~= wc then 
 = wc
local kuan = wshadow[1]:ȡ("["..Ziji[Zijinum].ɫ..n.."]"..wc)
if Zijinum ~= 1 then
Ϣ("["..Ziji[Zijinum].ɫ..n.."]"..wc,0)
else
for i=2,4 do 
if Ա.[i] ~= nil then
Fasong("L010".."["..Ziji[Zijinum].ɫ..n.."]"..wc,Ա.[i])
end
end
end
if kuan > 310 then
local tab = ָΪַ("["..Ziji[Zijinum].ɫ..n.."]"..wc)
local tab2 = {}
for i=1,table.getn(tab) do
table.insert(tab2,1 ,tab[table.getn(tab)+1-i])
tab[table.getn(tab)+1-i] = ""
kuan = ""
for i=1,table.getn(tab) do
kuan = kuan..tab[i]
end
if wshadow[1]:ȡ(kuan) <= 310 then
break
end
end
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan,t=0}
쵽(kuan..".",{255,255,255})
local kuan2 = ""
for i=1,table.getn(tab2) do
kuan2 = kuan2..tab2[i]
end
local kuan3 = wshadow[1]:ȡ(kuan2)
if kuan3 > 310 then
local tab3 = {}
for i=1,table.getn(tab2) do
table.insert(tab3,1 ,tab2[table.getn(tab2)+1-i])
tab2[table.getn(tab2)+1-i] = ""
kuan2 = ""
for i=1,table.getn(tab2) do
kuan2 = kuan2..tab2[i]
end
if wshadow[1]:ȡ(kuan2) <= 310 then
break
end
end
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan2,t=0}
kuan3 = ""
for i=1,table.getn(tab3) do
kuan3 = kuan3..tab3[i]
end
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan3,t=0}
else
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan2,t=0}
end
else
ǰ = ǰ + 1
ʾ[ǰ] = {w="["..Ziji[Zijinum].ɫ..n.."]"..wc,t=0}
쵽("["..Ziji[Zijinum].ɫ..n.."]"..wc,{255,255,255})
end
else
SE[5]:_߼(20,false)
end
else
SE[5]:_߼(20,false)
 = ""
end
end
CHATINPUT = false
chatk = 0 
end
end
end
if CHATINPUT == true then
chatbox:(:ȡ֡ʱ())
chatbox:ý()
if ֡ ~= true then
chatbox:ʾ(326,459)
end
fwait = fwait + 1
if :ȡ¼(38) then --UP
if fwait >= 5 then
ƶ = ƶ - 1
if ƶ < -(ǰ - 7) then
ƶ = -(ǰ - 7)
end
fwait = 0
end
elseif :ȡ¼(40) then --DOWN
if fwait >= 5 then
ƶ = ƶ + 1
if ƶ > 0 then
ƶ = 0
end
fwait = 0
end
end

end
ˢ()
end
function ϵͳϢ(wc,t,f)
local kuan = wshadow[1]:ȡ(wc)
if kuan > 310 then
local tab = ָΪַ(wc)
local tab2 = {}
for i=1,table.getn(tab) do
table.insert(tab2,1 ,tab[table.getn(tab)+1-i])
tab[table.getn(tab)+1-i] = ""
kuan = ""
for i=1,table.getn(tab) do
kuan = kuan..tab[i]
end
if wshadow[1]:ȡ(kuan) <= 310 then
break
end
end
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan,t=t}
if f == nil then
if t == 0 then --ͨϢ
쵽(kuan..".",{255,255,255})
end
if t == 1 then --ϵͳʾ
쵽(kuan..".",{255,255,128})
end
if t == 2 then --ʱ
쵽(kuan..".",{128,236,255})
end
if t == 3 then --ҽ˳/Ͽ
쵽(kuan..".",{0,255,128})
end
end
local kuan2 = ""
for i=1,table.getn(tab2) do
kuan2 = kuan2..tab2[i]
end
local kuan3 = wshadow[1]:ȡ(kuan2)
if kuan3 > 310 then
local tab3 = {}
for i=1,table.getn(tab2) do
table.insert(tab3,1 ,tab2[table.getn(tab2)+1-i])
tab2[table.getn(tab2)+1-i] = ""
kuan2 = ""
for i=1,table.getn(tab2) do
kuan2 = kuan2..tab2[i]
end
if wshadow[1]:ȡ(kuan2) <= 310 then
break
end
end
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan2,t=t}
kuan3 = ""
for i=1,table.getn(tab3) do
kuan3 = kuan3..tab3[i]
end
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan3,t=t}
else
ǰ = ǰ + 1
ʾ[ǰ] = {w=kuan2,t=t}
end
else
ǰ = ǰ + 1
ʾ[ǰ] = {w=wc,t=t}
if f == nil then
if t == 0 then --ͨϢ
쵽(wc,{255,255,255})
end
if t == 1 then --ϵͳʾ
쵽(wc,{255,255,128})
end
if t == 2 then --ʱ
쵽(wc,{128,236,255})
end
if t == 3 then --ҽ˳/Ͽ
쵽(wc,{0,255,128})
end
end
end
end
function ˢ()
local sx = ǰ

if sx > 0 and sx <= 7 and ֡ ~= true then
for i=1,sx do
if ʾ[i].t == 0 then --ͨϢ
chatword[i]:ɫ(ɫ_)
end
if ʾ[i].t == 1 then --ϵͳʾ
chatword[i]:ɫ(ɫ_)
end
if ʾ[i].t == 2 then --ʱ
chatword[i]:ɫ(ARGB(255,128,236,255))
end
if ʾ[i].t == 3 then --ҽ˳/Ͽ
chatword[i]:ɫ(ARGB(255,0,255,128))
end
if 366+(i-1)*12+Sprites[6].y-362+1 < 480 then
wshadow[i]:ʾ(327+1,366+(i-1)*12+Sprites[6].y-362+1,ʾ[i].w)
chatword[i]:ʾ(327,366+(i-1)*12+Sprites[6].y-362,ʾ[i].w)
end
end
end
if sx > 7 and ֡ ~= true then
for i=1,7 do
if ʾ[sx-7+i+ƶ].t == 0 then --ͨϢ
chatword[i]:ɫ(ɫ_)
end
if ʾ[sx-7+i+ƶ].t == 1 then --ϵͳʾ
chatword[i]:ɫ(ɫ_)
end
if ʾ[sx-7+i+ƶ].t == 2 then --ʱ
chatword[i]:ɫ(ARGB(255,128,236,255))
end
if ʾ[sx-7+i+ƶ].t == 3 then --ҽ˳/Ͽ
chatword[i]:ɫ(ARGB(255,0,255,128))
end
--end
if 366+(i-1)*12+Sprites[6].y-362+1 < 480 then
wshadow[i]:ʾ(327+1,366+(i-1)*12+Sprites[6].y-362+1,ʾ[sx-7+i+ƶ].w)
chatword[i]:ʾ(327,366+(i-1)*12+Sprites[6].y-362,ʾ[sx-7+i+ƶ].w)
end
end
end
end
MESSAGETIP = {}
function 쵽(text,color)
MESSAGETIP[1] = {t=text,c=color,s=D2D_.(UI[9],0,0,332,43),x=638,y=440,op=255}
MESSAGETIP[1].s:ĵ(326,21)
end
function ʱ()
if MESSAGETIP[1] ~= nil then
if ֡ ~= true then
springs:ɫ(ARGB(MESSAGETIP[1].op,MESSAGETIP[1].c[1],MESSAGETIP[1].c[2],MESSAGETIP[1].c[3]))
MESSAGETIP[1].s:ɫ(ARGB(MESSAGETIP[1].op,255,255,255))
MESSAGETIP[1].s:ʾ(MESSAGETIP[1].x,MESSAGETIP[1].y)
springs:ʾ(MESSAGETIP[1].x - 314, MESSAGETIP[1].y - 4,MESSAGETIP[1].t)
end
MESSAGETIP[1].op = MESSAGETIP[1].op - 1.4
if MESSAGETIP[1].op <= 0 or chatk == 1 then
MESSAGETIP[1].op = 0
MESSAGETIP[1] = nil
end
end
end
function Ϣ(w,t)
Fasong("L00"..tostring(t)..w)
end         ?  y  ?                    ?           ?           ?           ?                                 ?  ?                     .  ?  ?                    ?              ?              ?              ?                                    ?  ?                     4  ?  ?                    ?           ?           ?           ?                                 ?  ?                     Z  ?  ?                    ?              ?              ?              ?                                    ?  ?                   
  `Lh              z  p                
 ???? 