name: Transmigration
card_text: Any cards that would be returned to the Deck from the Graveyard are removed from play instead.
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)
  	--remove
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetTargetRange(LOCATION_GRAVE, LOCATION_GRAVE)
  	e2:SetCode(EFFECT_TO_DECK_REDIRECT)
  	e2:SetValue(LOCATION_REMOVED)
  	c:RegisterEffect(e2)
  end
  
  
source_text: Transmigration
  Any cards that would be returned to the Deck from the Graveyard are removed from play instead.
target_text: -- Transmigration
  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)
  	--remove
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetRange(LOCATION_SZONE)
  	e2:SetTargetRange(LOCATION_GRAVE, LOCATION_GRAVE)
  	e2:SetCode(EFFECT_TO_DECK_REDIRECT)
  	e2:SetValue(LOCATION_REMOVED)
  	c:RegisterEffect(e2)
  end
  
  