Compare commits

...

2 Commits

Author SHA1 Message Date
Joe Zeng
769b5043e3
Added a 25,000 grade point requirement to the GM roll.
You need to go a _little_ further than the point grade of 30 to qualify for GM.
2021-07-18 00:25:05 -04:00
Ishaan Bhardwaj
713c62d807 Fixed Death giving GM below 999 2021-07-18 00:13:57 -04:00
2 changed files with 6 additions and 6 deletions

View File

@ -407,11 +407,12 @@ GM-roll requirements
You qualify for the GM roll if you:
- Reach level 2020
- with a grade of 50
- and at least 25,000 grade points
- in less than 13:30.00 total.
]]--
return self.level >= 2020 and self:getTotalGrade() == 50 and self.frames <= frameTime(13,30)
return self.level >= 2020 and self:getTotalGrade() == 50 and self.grade_points >= 25000 and self.frames <= frameTime(13,30)
end
function Marathon2020Game:drawGrid()

View File

@ -97,14 +97,13 @@ end
function SurvivalA2Game:onLineClear(cleared_row_count)
if not self.clear then
local new_level = math.min(self.level + cleared_row_count, 999)
if self.level == 999 or self:hitTorikan(self.level, new_level) then
if new_level == 999 or self:hitTorikan(self.level, new_level) then
self.clear = true
if self.level < 999 then
if new_level < 999 then
self.game_over = true
end
else
self.level = new_level
end
self.level = new_level
end
end
@ -158,7 +157,7 @@ function SurvivalA2Game:drawScoringInfo()
love.graphics.setFont(font_3x5_3)
love.graphics.printf(self.score, text_x, 220, 90, "left")
if self.roll_frames > 2968 then love.graphics.setColor(1, 0.5, 0, 1)
if self.roll_frames > 1800 then love.graphics.setColor(1, 0.5, 0, 1)
elseif self.level >= 999 and self.clear then love.graphics.setColor(0, 1, 0, 1) end
if self:getLetterGrade() ~= "" then love.graphics.printf(self:getLetterGrade(), text_x, 140, 90, "left") end
love.graphics.setColor(1, 1, 1, 1)