diff --git a/parts/player/gameEnv0.lua b/parts/player/gameEnv0.lua index 33df5630..7ae7ee23 100644 --- a/parts/player/gameEnv0.lua +++ b/parts/player/gameEnv0.lua @@ -33,7 +33,7 @@ return{ bone=false, nextCount=6,nextStartPos=1, holdCount=1,infHold=false, - ospin=true, + ospin=true,deepDrop=false, RS="TRS", sequence="bag", freshMethod=NULL, diff --git a/parts/player/player.lua b/parts/player/player.lua index 80d0ebd9..c749cf24 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -1877,6 +1877,16 @@ function Player.act_softDrop(P) P.curY=P.curY-1 P:freshBlock("fresh") P.spinLast=false + elseif P.gameEnv.deepDrop then + local y=P.curY-1 + while P:ifoverlap(P.cur.bk,P.curX,y)and y>0 do + y=y-1 + end + if y>0 then + P.curY=y + P:freshBlock("move") + SFX.play("swipe") + end end end end