name: Level
card_text: Change all face-up Level 4 or higher monsters to Defense Position.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_FREE_CHAIN)
  	c:RegisterEffect(e1)
  	--Pos Change
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetCode(EFFECT_SET_POSITION)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetTarget(s.target)
  	e2:SetTargetRange(LOCATION_MZONE, LOCATION_MZONE)
  	e2:SetValue(POS_FACEUP_DEFENSE)
  	c:RegisterEffect(e2)
  end
  function s.target(e, c)
  	return c:IsLevelAbove(4) and c:IsFaceup()
  end
  
  
source_text: Level
  Change all face-up Level 4 or higher monsters to Defense Position.
target_text: -- Level
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_ACTIVATE)
  	e1:SetCode(EVENT_FREE_CHAIN)
  	c:RegisterEffect(e1)
  	--Pos Change
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetCode(EFFECT_SET_POSITION)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetTarget(s.target)
  	e2:SetTargetRange(LOCATION_MZONE, LOCATION_MZONE)
  	e2:SetValue(POS_FACEUP_DEFENSE)
  	c:RegisterEffect(e2)
  end
  function s.target(e, c)
  	return c:IsLevelAbove(4) and c:IsFaceup()
  end
  
  