Merge pull request #35 from MarkGamed7794/origin/sound-effect-rework

Add some new behavior to sound effects
This commit is contained in:
Ishaan Bhardwaj
2021-10-17 11:42:45 -04:00
committed by GitHub
8 changed files with 86 additions and 46 deletions

View File

@@ -268,7 +268,8 @@ function GameMode:update(inputs, ruleset)
end
if cleared_row_count > 0 then
playSE("erase")
local row_count_names = {"single","double","triple","quad"}
playSE("erase",row_count_names[cleared_row_count] or "quad")
self.lcd = self:getLineClearDelay()
self.last_lcd = self.lcd
self.are = (