调整一些tip

整理代码
This commit is contained in:
MrZ626
2021-11-17 10:42:52 +08:00
parent de972a60df
commit 7038f81b46
3 changed files with 13 additions and 14 deletions

View File

@@ -13,7 +13,7 @@ local function task_PC(P)
local base=PCbase[P.modeData.type]
P:pushLineList(base[P.holeRND:random(#base)],P.modeData.symmetry)
end
local function check(P)
local function _check(P)
local f=P.field
if #f>0 then
if #f+P.stat.row%4>4 then
@@ -26,7 +26,6 @@ local function check(P)
P.modeData.type=type
P.modeData.symmetry=symmetry
P:pushNextList(L,symmetry)
P.modeData.counter=P.stat.piece==0 and 20 or 0
P:newTask(task_PC)
local s=P.stat.pc*.25
@@ -46,6 +45,6 @@ return{
mStr(P.stat.pc,63,340)
mText(TEXTOBJ.pc,63,410)
end,
hook_drop=check,
task=check,
hook_drop=_check,
task=_check,--Just run one time at first to start first level
}