name: Mystical
card_text: You can substitute this card for any 1 Fusion-Material Monster. When you do this, the other Fusion-Material Monster(s) must be the correct one(s).
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion substitute
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_FUSION_SUBSTITUTE)
  	e1:SetCondition(s.subcon)
  	c:RegisterEffect(e1)
  end
  function s.subcon(e)
  	return e:GetHandler():IsLocation(LOCATION_HAND + LOCATION_MZONE + LOCATION_GRAVE)
  end
  
  
source_text: Mystical
  You can substitute this card for any 1 Fusion-Material Monster. When you do this, the other Fusion-Material Monster(s) must be the correct one(s).
target_text: -- Mystical
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion substitute
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_FUSION_SUBSTITUTE)
  	e1:SetCondition(s.subcon)
  	c:RegisterEffect(e1)
  end
  function s.subcon(e)
  	return e:GetHandler():IsLocation(LOCATION_HAND + LOCATION_MZONE + LOCATION_GRAVE)
  end
  
  