自定义场地消行按钮可以消除20行以上的部分

移除测试用代码
This commit is contained in:
MrZ626
2021-10-28 14:49:13 +08:00
parent 1ed7ee3952
commit 2a9549b106

View File

@@ -115,10 +115,7 @@ local function _pDraw()
penPath={}
penMode=0
while #F>0 and isEmpty(F[#F])do
rem(F)
end
print(#F)
while #F>0 and isEmpty(F[#F])do rem(F)end
end
function scene.sceneInit()
@@ -201,7 +198,7 @@ function scene.keyDown(key)
elseif key=="l"then
local F=FIELD[page]
local cleared=false
for i=20,1,-1 do
for i=#F,1,-1 do
for j=1,10 do
if F[i][j]<=0 then goto CONTINUE_notFull end
end