name: The
card_text: You can only activate this card while there are 5 face-up Level 2 or lower Normal Monsters on your side of the field. Both players discard all cards in their hands, and destroy all cards on the field except Level 2 or lower Normal Monsters.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetCategory(CATEGORY_DESTROY + CATEGORY_HANDES)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_FREE_CHAIN)
  	e1:SetCondition(s.condition)
  	e1:SetTarget(s.target)
  	e1:SetOperation(s.activate)
  	c:RegisterEffect(e1)
  end
  function s.cfilter(c)
  	return c:IsFaceup() and c:IsType(TYPE_NORMAL) and c:IsLevelBelow(2)
  end
  function s.condition(e, tp, eg, ep, ev, re, r, rp)
  	return Duel.IsExistingMatchingCard(s.cfilter, tp, LOCATION_MZONE, 0, 5, nil)
  end
  function s.dfilter(c)
  	return not (c:IsFaceup() and c:IsType(TYPE_NORMAL) and c:IsLevelBelow(2))
  end
  function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
  	local c = e:GetHandler()
  	if chk == 0 then
  		return Duel.IsExistingMatchingCard(nil, tp, LOCATION_HAND, 0, 1, c)
  			and Duel.GetFieldGroupCount(tp, 0, LOCATION_HAND) > 0
  			and Duel.IsExistingMatchingCard(s.dfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, 1, c)
  	end
  	local g = Duel.GetMatchingGroup(s.dfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, c)
  	Duel.SetOperationInfo(0, CATEGORY_HANDES, nil, 0, PLAYER_ALL, 1)
  	Duel.SetOperationInfo(0, CATEGORY_DESTROY, g, g:GetCount(), 0, 0)
  end
  function s.activate(e, tp, eg, ep, ev, re, r, rp)
  	local g1 = Duel.GetFieldGroup(tp, LOCATION_HAND, LOCATION_HAND)
  	Duel.SendtoGrave(g1, REASON_EFFECT + REASON_DISCARD)
  	local g2 = Duel.GetMatchingGroup(s.dfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, nil)
  	Duel.Destroy(g2, REASON_EFFECT)
  end
  
  
source_text: The
  You can only activate this card while there are 5 face-up Level 2 or lower Normal Monsters on your side of the field. Both players discard all cards in their hands, and destroy all cards on the field except Level 2 or lower Normal Monsters.
target_text: -- The
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetCategory(CATEGORY_DESTROY + CATEGORY_HANDES)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_FREE_CHAIN)
  	e1:SetCondition(s.condition)
  	e1:SetTarget(s.target)
  	e1:SetOperation(s.activate)
  	c:RegisterEffect(e1)
  end
  function s.cfilter(c)
  	return c:IsFaceup() and c:IsType(TYPE_NORMAL) and c:IsLevelBelow(2)
  end
  function s.condition(e, tp, eg, ep, ev, re, r, rp)
  	return Duel.IsExistingMatchingCard(s.cfilter, tp, LOCATION_MZONE, 0, 5, nil)
  end
  function s.dfilter(c)
  	return not (c:IsFaceup() and c:IsType(TYPE_NORMAL) and c:IsLevelBelow(2))
  end
  function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
  	local c = e:GetHandler()
  	if chk == 0 then
  		return Duel.IsExistingMatchingCard(nil, tp, LOCATION_HAND, 0, 1, c)
  			and Duel.GetFieldGroupCount(tp, 0, LOCATION_HAND) > 0
  			and Duel.IsExistingMatchingCard(s.dfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, 1, c)
  	end
  	local g = Duel.GetMatchingGroup(s.dfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, c)
  	Duel.SetOperationInfo(0, CATEGORY_HANDES, nil, 0, PLAYER_ALL, 1)
  	Duel.SetOperationInfo(0, CATEGORY_DESTROY, g, g:GetCount(), 0, 0)
  end
  function s.activate(e, tp, eg, ep, ev, re, r, rp)
  	local g1 = Duel.GetFieldGroup(tp, LOCATION_HAND, LOCATION_HAND)
  	Duel.SendtoGrave(g1, REASON_EFFECT + REASON_DISCARD)
  	local g2 = Duel.GetMatchingGroup(s.dfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, nil)
  	Duel.Destroy(g2, REASON_EFFECT)
  end
  
  