added points for surviving the roll

how'd we forget such an important feature of this mode
pull/10/head
Kirby703 2022-02-15 21:22:11 -05:00 committed by GitHub
parent c7926b2843
commit 2ddb800882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,11 @@ function PhantomManiaNXGame:advanceOneFrame()
end
return false
elseif self.roll_frames > 3238 then
if self:qualifiesForGMRoll() then
self.roll_points = self.roll_points + 160
else
self.roll_points = self.roll_points + 50
end
switchBGM(nil)
self.completed = true
end