Morphing
FLIP: Both players discard as many cards as possible from their hands, then each player draws 5 cards.
local s, id, o = GetID()
function s.initial_effect(c)
	--flip
	local e1 = Effect.CreateEffect(c)
	e1:SetCategory(CATEGORY_HANDES + CATEGORY_DRAW)
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_FLIP)
	e1:SetTarget(s.target)
	e1:SetOperation(s.operation)
	c:RegisterEffect(e1)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.SetOperationInfo(0, CATEGORY_HANDES, nil, 0, PLAYER_ALL, 0)
	Duel.SetOperationInfo(0, CATEGORY_DRAW, nil, 0, PLAYER_ALL, 5)
end
function s.operation(e, tp, eg, ep, ev, re, r, rp)
	local g = Duel.GetFieldGroup(tp, LOCATION_HAND, LOCATION_HAND)
	if g:GetCount() > 0 then
		Duel.SendtoGrave(g, REASON_DISCARD + REASON_EFFECT)
	end
	Duel.BreakEffect()
	Duel.Draw(tp, 5, REASON_EFFECT)
	Duel.Draw(1 - tp, 5, REASON_EFFECT)
end


Morphing
FLIP: Both players discard as many cards as possible from their hands, then each player draws 5 cards.
-- Morphing
local s, id, o = GetID()
function s.initial_effect(c)
	--flip
	local e1 = Effect.CreateEffect(c)
	e1:SetCategory(CATEGORY_HANDES + CATEGORY_DRAW)
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_FLIP)
	e1:SetTarget(s.target)
	e1:SetOperation(s.operation)
	c:RegisterEffect(e1)
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.SetOperationInfo(0, CATEGORY_HANDES, nil, 0, PLAYER_ALL, 0)
	Duel.SetOperationInfo(0, CATEGORY_DRAW, nil, 0, PLAYER_ALL, 5)
end
function s.operation(e, tp, eg, ep, ev, re, r, rp)
	local g = Duel.GetFieldGroup(tp, LOCATION_HAND, LOCATION_HAND)
	if g:GetCount() > 0 then
		Duel.SendtoGrave(g, REASON_DISCARD + REASON_EFFECT)
	end
	Duel.BreakEffect()
	Duel.Draw(tp, 5, REASON_EFFECT)
	Duel.Draw(1 - tp, 5, REASON_EFFECT)
end

