mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-25 23:09:03 -06:00
Compare commits
4 Commits
6a465f8441
...
23b42a534e
Author | SHA1 | Date | |
---|---|---|---|
|
23b42a534e | ||
|
9381091110 | ||
deb69fe28d | |||
|
3085b765e5 |
@ -112,7 +112,7 @@ function MarathonA2Game:advanceOneFrame()
|
|||||||
if self.clear then
|
if self.clear then
|
||||||
self.roll_frames = self.roll_frames + 1
|
self.roll_frames = self.roll_frames + 1
|
||||||
if self.roll_frames < 0 then return false end
|
if self.roll_frames < 0 then return false end
|
||||||
if self.roll_frames > 3694 then
|
if self.roll_frames > 3701 then
|
||||||
self.completed = true
|
self.completed = true
|
||||||
if self.grade == 32 then
|
if self.grade == 32 then
|
||||||
self.grade = 33
|
self.grade = 33
|
||||||
@ -365,10 +365,10 @@ function MarathonA2Game:drawScoringInfo()
|
|||||||
love.graphics.setFont(font_3x5_3)
|
love.graphics.setFont(font_3x5_3)
|
||||||
if self.clear then
|
if self.clear then
|
||||||
if self:qualifiesForMRoll() then
|
if self:qualifiesForMRoll() then
|
||||||
if self.lines >= 32 and self.roll_frames > 3694 then love.graphics.setColor(1, 0.5, 0, 1)
|
if self.lines >= 32 and self.roll_frames > 3701 then love.graphics.setColor(1, 0.5, 0, 1)
|
||||||
else love.graphics.setColor(0, 1, 0, 1) end
|
else love.graphics.setColor(0, 1, 0, 1) end
|
||||||
else
|
else
|
||||||
if self.roll_frames > 3694 then love.graphics.setColor(1, 0.5, 0, 1)
|
if self.roll_frames > 3701 then love.graphics.setColor(1, 0.5, 0, 1)
|
||||||
else love.graphics.setColor(0, 1, 0, 1) end
|
else love.graphics.setColor(0, 1, 0, 1) end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user