name: Big
card_text: FLIP: Look at up to 5 cards from the top of your Deck, then place them on the top of the Deck in any order.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--flip
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_FLIP)
  	e1:SetOperation(s.operation)
  	c:RegisterEffect(e1)
  end
  function s.operation(e, tp, eg, ep, ev, re, r, rp)
  	local ct = math.min(5, Duel.GetFieldGroupCount(tp, LOCATION_DECK, 0))
  	if ct == 0 then
  		return
  	end
  	local t = {}
  	for i = 1, ct do
  		t[i] = i
  	end
  	local ac = 1
  	if ct > 1 then
  		Duel.Hint(HINT_SELECTMSG, tp, aux.Stringid(id, 1))
  		ac = Duel.AnnounceNumber(tp, table.unpack(t))
  	end
  	Duel.SortDecktop(tp, tp, ac)
  end
  
  
source_text: Big
  FLIP: Look at up to 5 cards from the top of your Deck, then place them on the top of the Deck in any order.
target_text: -- Big
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--flip
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_FLIP)
  	e1:SetOperation(s.operation)
  	c:RegisterEffect(e1)
  end
  function s.operation(e, tp, eg, ep, ev, re, r, rp)
  	local ct = math.min(5, Duel.GetFieldGroupCount(tp, LOCATION_DECK, 0))
  	if ct == 0 then
  		return
  	end
  	local t = {}
  	for i = 1, ct do
  		t[i] = i
  	end
  	local ac = 1
  	if ct > 1 then
  		Duel.Hint(HINT_SELECTMSG, tp, aux.Stringid(id, 1))
  		ac = Duel.AnnounceNumber(tp, table.unpack(t))
  	end
  	Duel.SortDecktop(tp, tp, ac)
  end
  
  