function yume.YumeFieldLimitCon(e,tp,eg,ep,ev,re,r,rp)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
local ec=re:GetHandler()
e2:SetCode(EFFECT_CANNOT_SUMMON)
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
e2:SetReset(RESET_PHASE+PHASE_END)
return re:IsActiveType(TYPE_MONSTER) and rp==tp and (not ec:IsSetCard(0x714) and (ec:IsLocation(loc) or loc&LOCATION_ONFIELD==0) or not (ec:IsPreviousSetCard(0x714) or ec:IsLocation(loc)) and loc&LOCATION_ONFIELD~=0)
return c:IsSetCard(0x5714) and c:IsAbleToDeck() and not c:IsPublic()
end
function c71400043.filter3(c)
return c:IsSetCard(0x714) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function c71400043.tg3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c71400043.filter3,tp,LOCATION_DECK,0,1,nil) and Duel.IsExistingMatchingCard(c71400043.filter3a,tp,LOCATION_HAND,0,1,nil) end