Hyper
At the end of the Damage Step, if an opponent's monster that battled this card is not destroyed: Return that opponent's monster to the hand.
local s, id, o = GetID()
function s.initial_effect(c)
	--return hand
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_TOHAND)
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_F)
	e1:SetCode(EVENT_DAMAGE_STEP_END)
	e1:SetCondition(s.retcon)
	e1:SetTarget(s.rettg)
	e1:SetOperation(s.retop)
	c:RegisterEffect(e1)
end
function s.retcon(e, tp, eg, ep, ev, re, r, rp)
	local t = e:GetHandler():GetBattleTarget()
	e:SetLabelObject(t)
	return aux.dsercon(e, tp, eg, ep, ev, re, r, rp) and t and t:IsRelateToBattle()
end
function s.rettg(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.SetOperationInfo(0, CATEGORY_TOHAND, e:GetLabelObject(), 1, 0, 0)
end
function s.retop(e, tp, eg, ep, ev, re, r, rp)
	if e:GetLabelObject():IsRelateToBattle() then
		Duel.SendtoHand(e:GetLabelObject(), nil, REASON_EFFECT)
	end
end


Hyper
At the end of the Damage Step, if an opponent's monster that battled this card is not destroyed: Return that opponent's monster to the hand.
-- Hyper
local s, id, o = GetID()
function s.initial_effect(c)
	--return hand
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_TOHAND)
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_F)
	e1:SetCode(EVENT_DAMAGE_STEP_END)
	e1:SetCondition(s.retcon)
	e1:SetTarget(s.rettg)
	e1:SetOperation(s.retop)
	c:RegisterEffect(e1)
end
function s.retcon(e, tp, eg, ep, ev, re, r, rp)
	local t = e:GetHandler():GetBattleTarget()
	e:SetLabelObject(t)
	return aux.dsercon(e, tp, eg, ep, ev, re, r, rp) and t and t:IsRelateToBattle()
end
function s.rettg(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return true
	end
	Duel.SetOperationInfo(0, CATEGORY_TOHAND, e:GetLabelObject(), 1, 0, 0)
end
function s.retop(e, tp, eg, ep, ev, re, r, rp)
	if e:GetLabelObject():IsRelateToBattle() then
		Duel.SendtoHand(e:GetLabelObject(), nil, REASON_EFFECT)
	end
end

