name: Number
card_text: 2 Level 1 monsters
  You can only use the effect of "Number 63: Shamoji Soldier" once per turn. You can detach 1 Xyz Material from this card, then activate 1 of these effects;
  ● At the start of your opponent's next Standby Phase, each player draws 1 card.
  ● Each player gains 1000 Life Points.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--xyz summon
  	aux.AddXyzProcedure(c, nil, 1, 2)
  	c:EnableReviveLimit()
  	--
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetType(EFFECT_TYPE_IGNITION)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetCountLimit(1, id)
  	e1:SetCost(s.efcost)
  	e1:SetTarget(s.eftg)
  	e1:SetOperation(s.efop)
  	c:RegisterEffect(e1)
  end
  aux.xyz_number[id] = 63
  function s.efcost(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return e:GetHandler():CheckRemoveOverlayCard(tp, 1, REASON_COST)
  	end
  	e:GetHandler():RemoveOverlayCard(tp, 1, 1, REASON_COST)
  end
  function s.eftg(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return true
  	end
  	local op = Duel.SelectOption(tp, aux.Stringid(id, 1), aux.Stringid(id, 2))
  	e:SetLabel(op)
  	if op == 0 then
  		e:SetCategory(CATEGORY_DRAW)
  	else
  		e:SetCategory(CATEGORY_RECOVER)
  	end
  end
  function s.efop(e, tp, eg, ep, ev, re, r, rp)
  	if e:GetLabel() == 0 then
  		local e1 = Effect.CreateEffect(e:GetHandler())
  		e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  		e1:SetCode(EVENT_PHASE_START + PHASE_STANDBY)
  		e1:SetCountLimit(1)
  		e1:SetCondition(s.drcon)
  		e1:SetOperation(s.drop)
  		e1:SetReset(RESET_PHASE + PHASE_END + RESET_OPPO_TURN)
  		Duel.RegisterEffect(e1, tp)
  	else
  		Duel.Recover(tp, 1000, REASON_EFFECT)
  		Duel.Recover(1 - tp, 1000, REASON_EFFECT)
  	end
  end
  function s.drcon(e, tp, eg, ep, ev, re, r, rp)
  	return Duel.GetTurnPlayer() ~= tp
  end
  function s.drop(e, tp, eg, ep, ev, re, r, rp)
  	Duel.Hint(HINT_CARD, 0, id)
  	Duel.Draw(tp, 1, REASON_EFFECT)
  	Duel.Draw(1 - tp, 1, REASON_EFFECT)
  end
  
  
source_text: Number
  2 Level 1 monsters
  You can only use the effect of "Number 63: Shamoji Soldier" once per turn. You can detach 1 Xyz Material from this card, then activate 1 of these effects;
  ● At the start of your opponent's next Standby Phase, each player draws 1 card.
  ● Each player gains 1000 Life Points.
target_text: -- Number
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--xyz summon
  	aux.AddXyzProcedure(c, nil, 1, 2)
  	c:EnableReviveLimit()
  	--
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetType(EFFECT_TYPE_IGNITION)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetCountLimit(1, id)
  	e1:SetCost(s.efcost)
  	e1:SetTarget(s.eftg)
  	e1:SetOperation(s.efop)
  	c:RegisterEffect(e1)
  end
  aux.xyz_number[id] = 63
  function s.efcost(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return e:GetHandler():CheckRemoveOverlayCard(tp, 1, REASON_COST)
  	end
  	e:GetHandler():RemoveOverlayCard(tp, 1, 1, REASON_COST)
  end
  function s.eftg(e, tp, eg, ep, ev, re, r, rp, chk)
  	if chk == 0 then
  		return true
  	end
  	local op = Duel.SelectOption(tp, aux.Stringid(id, 1), aux.Stringid(id, 2))
  	e:SetLabel(op)
  	if op == 0 then
  		e:SetCategory(CATEGORY_DRAW)
  	else
  		e:SetCategory(CATEGORY_RECOVER)
  	end
  end
  function s.efop(e, tp, eg, ep, ev, re, r, rp)
  	if e:GetLabel() == 0 then
  		local e1 = Effect.CreateEffect(e:GetHandler())
  		e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  		e1:SetCode(EVENT_PHASE_START + PHASE_STANDBY)
  		e1:SetCountLimit(1)
  		e1:SetCondition(s.drcon)
  		e1:SetOperation(s.drop)
  		e1:SetReset(RESET_PHASE + PHASE_END + RESET_OPPO_TURN)
  		Duel.RegisterEffect(e1, tp)
  	else
  		Duel.Recover(tp, 1000, REASON_EFFECT)
  		Duel.Recover(1 - tp, 1000, REASON_EFFECT)
  	end
  end
  function s.drcon(e, tp, eg, ep, ev, re, r, rp)
  	return Duel.GetTurnPlayer() ~= tp
  end
  function s.drop(e, tp, eg, ep, ev, re, r, rp)
  	Duel.Hint(HINT_CARD, 0, id)
  	Duel.Draw(tp, 1, REASON_EFFECT)
  	Duel.Draw(1 - tp, 1, REASON_EFFECT)
  end
  
  