ifDuel.Remove(c,0,REASON_EFFECT+REASON_TEMPORARY)~=0andc:IsLocation(LOCATION_REMOVED)andnotc:IsReason(REASON_REDIRECT)then--and c:GetOriginalCode()==m then
--if e:GetCode()~=EVENT_CHAIN_SOLVING then Debug.Message(c:GetSequence()) end
ifDuel.GetCurrentPhase()==PHASE_STANDBYthen
ifDuel.Remove(c,0,REASON_EFFECT+REASON_TEMPORARY)~=0andc:IsLocation(LOCATION_REMOVED)andnotc:IsReason(REASON_REDIRECT)then--and c:GetOriginalCode()==m then
ifc~=e:GetLabelObject()andlastcthen--and (c:IsControler(1-Duel.GetTurnPlayer()) or not Duel.IsExistingMatchingCard(function(c) return c:IsFaceup() and c:IsType(TYPE_EFFECT) and not c:IsDisabled() end,Duel.GetTurnPlayer(),0,LOCATION_MZONE,1,nil)) then
iflastcthen--c~=e:GetLabelObject() and --and (c:IsControler(1-Duel.GetTurnPlayer()) or not Duel.IsExistingMatchingCard(function(c) return c:IsFaceup() and c:IsType(TYPE_EFFECT) and not c:IsDisabled() end,Duel.GetTurnPlayer(),0,LOCATION_MZONE,1,nil)) then