Ryko,
FLIP: Apply these effects (simultaneously).
● You can destroy 1 card on the field.
● Send the top 3 cards of your Deck to the GY.
local s, id, o = GetID()
function s.initial_effect(c)
	--flip
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_DECKDES + CATEGORY_DESTROY)
	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_DECKDES, nil, 0, tp, 3)
end
function s.operation(e, tp, eg, ep, ev, re, r, rp)
	local g = Duel.GetFieldGroup(tp, LOCATION_ONFIELD, LOCATION_ONFIELD)
	if g:GetCount() > 0 and Duel.SelectYesNo(tp, aux.Stringid(id, 1)) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_DESTROY)
		local sg = g:Select(tp, 1, 1, nil)
		Duel.HintSelection(sg)
		Duel.Destroy(sg, REASON_EFFECT)
	end
	Duel.DiscardDeck(tp, 3, REASON_EFFECT)
end


Ryko,
FLIP: Apply these effects (simultaneously).
● You can destroy 1 card on the field.
● Send the top 3 cards of your Deck to the GY.
-- Ryko,
local s, id, o = GetID()
function s.initial_effect(c)
	--flip
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_DECKDES + CATEGORY_DESTROY)
	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_DECKDES, nil, 0, tp, 3)
end
function s.operation(e, tp, eg, ep, ev, re, r, rp)
	local g = Duel.GetFieldGroup(tp, LOCATION_ONFIELD, LOCATION_ONFIELD)
	if g:GetCount() > 0 and Duel.SelectYesNo(tp, aux.Stringid(id, 1)) then
		Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_DESTROY)
		local sg = g:Select(tp, 1, 1, nil)
		Duel.HintSelection(sg)
		Duel.Destroy(sg, REASON_EFFECT)
	end
	Duel.DiscardDeck(tp, 3, REASON_EFFECT)
end

