name: Call
card_text: All monsters restored with "Monster Reborn" are sent to the Graveyard. "Monster Reborn" also cannot be played as long as this card remains on the field.
external_ids: local CARD_ID_0 = 83764718 --Monster Reborn
  
lua: local CARD_ID_0 = 83764718 --Monster Reborn
  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)
  	--adjust
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
  	e2:SetCode(EVENT_ADJUST)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetOperation(s.adjustop)
  	c:RegisterEffect(e2)
  	--
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_FIELD)
  	e3:SetRange(LOCATION_SZONE)
  	e3:SetCode(EFFECT_CANNOT_SSET)
  	e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e3:SetTargetRange(0, 1)
  	e3:SetTarget(s.target)
  	c:RegisterEffect(e3)
  	local e4 = Effect.CreateEffect(c)
  	e4:SetType(EFFECT_TYPE_FIELD)
  	e4:SetRange(LOCATION_SZONE)
  	e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e4:SetCode(EFFECT_CANNOT_ACTIVATE)
  	e4:SetTargetRange(0, 1)
  	e4:SetValue(s.aclimit)
  	c:RegisterEffect(e4)
  end
  function s.filter(c)
  	local code, code2 = c:GetSpecialSummonInfo(SUMMON_INFO_CODE, SUMMON_INFO_CODE2)
  	return c:GetSummonType() == SUMMON_TYPE_SPECIAL + SUMMON_VALUE_MONSTER_REBORN or code == CARD_ID_0 or code2 == CARD_ID_0
  end
  function s.adjustop(e, tp, eg, ep, ev, re, r, rp)
  	local phase = Duel.GetCurrentPhase()
  	if (phase == PHASE_DAMAGE and not Duel.IsDamageCalculated()) or phase == PHASE_DAMAGE_CAL then
  		return
  	end
  	local g = Duel.GetMatchingGroup(s.filter, 0, LOCATION_MZONE, LOCATION_MZONE, nil)
  	if Duel.SendtoGrave(g, REASON_EFFECT) > 0 then
  		Duel.Readjust()
  	end
  end
  function s.target(e, c)
  	return c:IsCode(CARD_ID_0)
  end
  function s.aclimit(e, re, tp)
  	return re:GetHandler():IsCode(CARD_ID_0)
  end
  
  
source_text: Call
  All monsters restored with "Monster Reborn" are sent to the Graveyard. "Monster Reborn" also cannot be played as long as this card remains on the field.
target_text: -- Call
  local CARD_ID_0 = 83764718 --Monster Reborn
  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)
  	--adjust
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
  	e2:SetCode(EVENT_ADJUST)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetOperation(s.adjustop)
  	c:RegisterEffect(e2)
  	--
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_FIELD)
  	e3:SetRange(LOCATION_SZONE)
  	e3:SetCode(EFFECT_CANNOT_SSET)
  	e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e3:SetTargetRange(0, 1)
  	e3:SetTarget(s.target)
  	c:RegisterEffect(e3)
  	local e4 = Effect.CreateEffect(c)
  	e4:SetType(EFFECT_TYPE_FIELD)
  	e4:SetRange(LOCATION_SZONE)
  	e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e4:SetCode(EFFECT_CANNOT_ACTIVATE)
  	e4:SetTargetRange(0, 1)
  	e4:SetValue(s.aclimit)
  	c:RegisterEffect(e4)
  end
  function s.filter(c)
  	local code, code2 = c:GetSpecialSummonInfo(SUMMON_INFO_CODE, SUMMON_INFO_CODE2)
  	return c:GetSummonType() == SUMMON_TYPE_SPECIAL + SUMMON_VALUE_MONSTER_REBORN or code == CARD_ID_0 or code2 == CARD_ID_0
  end
  function s.adjustop(e, tp, eg, ep, ev, re, r, rp)
  	local phase = Duel.GetCurrentPhase()
  	if (phase == PHASE_DAMAGE and not Duel.IsDamageCalculated()) or phase == PHASE_DAMAGE_CAL then
  		return
  	end
  	local g = Duel.GetMatchingGroup(s.filter, 0, LOCATION_MZONE, LOCATION_MZONE, nil)
  	if Duel.SendtoGrave(g, REASON_EFFECT) > 0 then
  		Duel.Readjust()
  	end
  end
  function s.target(e, c)
  	return c:IsCode(CARD_ID_0)
  end
  function s.aclimit(e, re, tp)
  	return re:GetHandler():IsCode(CARD_ID_0)
  end
  
  