整理代码

This commit is contained in:
MrZ626
2020-09-11 22:07:17 +08:00
parent f1ce68b677
commit e57f99364f
3 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ local gc=love.graphics
local int=math.floor
local function score(P)
local MD=P.modeData
local c=#P.clearedRow
if c==0 and MD.point%100==99 then return end
local s=c<3 and c+1 or c==3 and 5 or 7

View File

@@ -183,7 +183,7 @@ local function updateLine(P,dt)
if y>0 then
P.fieldBeneath=max(y-P.gameEnv.pushSpeed,0)
end
local f=P.fieldUp
if not P.alive then
y=0

View File

@@ -1762,6 +1762,7 @@ do--play
function Tmr.play(dt)
local _
local P1=players[1]
game.frame=game.frame+1
stat.time=stat.time+dt
@@ -1775,8 +1776,6 @@ do--play
end
end
local P1=players[1]
--Replay
if game.replaying then
_=game.replaying
@@ -1795,6 +1794,7 @@ do--play
end
game.replaying=_
end
--Counting,include pre-das,directy RETURN,or restart counting
if game.frame<180 then
if game.frame==179 then