Commit 9ac73e1a authored by GuGu's avatar GuGu

Update c410402.lua

parent e89190e3
Pipeline #42764 passed with stage
in 4 seconds
...@@ -75,13 +75,10 @@ function s.hspop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -75,13 +75,10 @@ function s.hspop(e,tp,eg,ep,ev,re,r,rp,c)
if tc3 then if tc3 then
local seq3=tc3:GetSequence() local seq3=tc3:GetSequence()
local flag1=0 local flag1=0
if seq3>0 and seq3<5 and Duel.CheckLocation(1-tp,LOCATION_MZONE,seq3-1) then flag1=flag1|(1<<(seq3-1)) end if seq3>0 and seq3<5 and Duel.CheckLocation(1-tp,LOCATION_MZONE,seq3-1) then flag1=seq3-1 end
if seq3<4 and Duel.CheckLocation(1-tp,LOCATION_MZONE,seq3+1) then flag1=flag1|(1<<(seq3+1)) end if seq3<4 and Duel.CheckLocation(1-tp,LOCATION_MZONE,seq3+1) then flag1=seq3+1 end
if flag1==0 then return false end if flag1==0 then return false end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOZONE) Duel.MoveSequence(tc3,flag1)
local move2=Duel.SelectDisableField(tp,1,0,LOCATION_MZONE,~(flag1<<16))
local nseq2=math.log(move2,2)-16
Duel.MoveSequence(tc3,nseq2)
end end
end end
function s.hspval(e,c) function s.hspval(e,c)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment